:root {
  --bg: #f8f3ec;
  --surface: #ffffff;
  --text: #1f1a17;
  --muted: #5f5550;
  --accent: #d6462d;
  --accent-2: #f2a431;
  --accent-dark: #862919;
  --dark: #2b170f;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(43, 23, 15, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, #ffe5d2 0, transparent 38%),
    radial-gradient(circle at 93% 86%, #ffe7b8 0, transparent 34%),
    var(--bg);
}

.container {
  width: min(1080px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  background: linear-gradient(135deg, #2b170f, #4e2518 46%, #6f2f1d);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem;
  backdrop-filter: blur(2px);
}

.eyebrow {
  margin: 0;
  color: #ffd9a8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1 {
  margin: 10px 0 12px;
  line-height: 1.2;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.intro { margin: 0 0 22px; max-width: 58ch; color: #fff4ec; }

nav { display: flex; flex-wrap: wrap; gap: 14px; }

nav a {
  color: #2a120b;
  background: linear-gradient(135deg, var(--accent-2), #ffcc72);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

nav a:hover { transform: translateY(-2px); filter: brightness(1.05); }


.image-slot {
  margin: 0 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #f3e9dd;
  border: 1px solid #ecd8c3;
}

.image-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header .image-slot {
  max-width: 620px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.site-header .image-slot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card .image-slot {
  margin: -24px -24px 1rem;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid #ecd8c3;
}

.card .image-slot img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#kontakt .image-slot {
  max-width: 760px;
}

#kontakt .image-slot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-slot figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: #fff;
}

section { padding: clamp(2.8rem, 7vw, 4.2rem) 0; }

h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #f0d7be;
  box-shadow: var(--shadow);
}

.card h3 { margin-top: 0; color: var(--accent-dark); }

.highlight {
  background: linear-gradient(160deg, #fff7ee, #fff1df);
  border: 1px solid #f5d7bc;
  border-radius: var(--radius);
  padding-inline: 1.2rem;
  box-shadow: var(--shadow);
}

.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  text-decoration: none;
  font-weight: 700;
}

.cta:hover { filter: brightness(1.08); }

a { color: var(--accent-dark); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background: var(--dark);
  color: #ddd;
  text-align: center;
  padding: 18px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(1080px, calc(100% - 2rem)); }
  nav a { width: 100%; text-align: center; }
}
