:root {
  --orange: #fe9901;
  --orange-dark: #e58800;
  --orange-light: #fff4e6;
  --slate: #2f4f4f;
  --slate-soft: #4a6363;
  --bg: #fffbf7;
  --bg-alt: #fff8f0;
  --bg-card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: rgba(47, 79, 79, 0.12);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(47, 79, 79, 0.1);
  --shadow-lg: 0 20px 50px rgba(254, 153, 1, 0.15);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --header-height: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Header – hell mit Orange-Akzent */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--orange);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--slate);
}
.logo img { height: 52px; width: auto; }
.logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate);
}

.nav { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, opacity 0.2s;
}
.nav a:hover { color: #fff; opacity: 0.95; }

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: var(--slate);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
}

/* Flyer-Diashow – volle Größe, nichts abschneiden */
.flyer-showcase {
  /* padding statt margin – sonst weißer Streifen (Body-Hintergrund) unter dem Header */
  margin-top: 0;
  padding: var(--header-height) 0 3.5rem;
  background: linear-gradient(
    180deg,
    var(--orange) 0%,
    #ffd9a0 35%,
    var(--orange-light) 70%,
    #fff5eb 100%
  );
  overflow: visible;
}

.flyer-slider {
  position: relative;
  max-width: min(920px, 96vw);
  margin: 0 auto;
}

.flyer-viewport {
  position: relative;
  padding: 1rem 3.75rem 0.5rem;
  overflow: visible;
}

/* Alle Slides übereinander – Höhe = höchster Flyer, nichts wird abgeschnitten */
.flyer-track {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  place-items: start center;
}

.flyer-slide {
  grid-area: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    visibility 0.6s;
  pointer-events: none;
  z-index: 1;
  height: 0;
  overflow: hidden;
}

.flyer-slide.active,
.flyer-slide.exit-left,
.flyer-slide.exit-right,
.flyer-slide.from-left,
.flyer-slide.from-right {
  height: auto;
  overflow: visible;
}

.flyer-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 3;
}

.flyer-slide.exit-left {
  opacity: 0;
  transform: scale(0.97) translateX(-28px);
  z-index: 2;
}

.flyer-slide.exit-right {
  opacity: 0;
  transform: scale(0.97) translateX(28px);
  z-index: 2;
}

.flyer-slide.from-right {
  transform: scale(0.98) translateX(36px);
}

.flyer-slide.from-left {
  transform: scale(0.98) translateX(-36px);
}

.flyer-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(500px, 90vw);
  /* Genug Platz für Header + Punkte – Flyer komplett sichtbar */
  max-height: calc(100dvh - var(--header-height) - 6rem);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
  padding-bottom: 0.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Pfeile & Punkte */
.flyer-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--slate);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.flyer-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
}
.flyer-prev { left: 0.5rem; }
.flyer-next { right: 0.5rem; }

.flyer-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0 0 0.5rem;
  list-style: none;
}
.flyer-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--slate);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.flyer-dots button.active,
.flyer-dots button:hover {
  background: var(--slate);
  transform: scale(1.15);
}

/* Intro unter der Diashow */
.hero-intro {
  padding: 3.5rem 0 2rem;
  background: var(--bg);
  text-align: center;
}
.hero-intro .container { max-width: 720px; }
.hero-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(254, 153, 1, 0.35);
}
.hero-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--slate);
}
.hero-intro h1 em {
  font-style: normal;
  color: var(--orange-dark);
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-soft);
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--slate);
  box-shadow: 0 6px 20px rgba(254, 153, 1, 0.45);
}
.btn-outline {
  background: #fff;
  color: var(--slate);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 auto 3rem;
  padding: 0;
}
.stat {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--orange-dark);
  font-family: var(--font-display);
}
.stat span { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 4rem 0; }
section:nth-child(even) { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--slate);
}
.section-head p { color: var(--muted); margin: 0; }

/* Offers */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.offer-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.offer-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offer-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--slate);
}
.offer-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.offer-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(30, 41, 59, 0.75));
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover figcaption { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 41, 59, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--slate);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.video-wrap { aspect-ratio: 16/9; background: #000; }
.video-wrap iframe,
.video-wrap video { width: 100%; height: 100%; border: none; display: block; }
.video-card h3 {
  margin: 0;
  padding: 1rem 1rem 0.25rem;
  font-size: 1rem;
  color: var(--slate);
}
.video-card p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--slate);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--slate);
}
.cta-band p { margin: 0 0 1.5rem; color: var(--slate-soft); }
.cta-band .btn-primary {
  background: var(--slate);
  color: #fff;
}

/* Footer – gleiche Farbe wie Header */
.site-footer {
  background: var(--orange);
  padding: 3rem 0 1.5rem;
  color: var(--slate);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  margin: 0 0 1rem;
  color: var(--slate);
  font-family: var(--font-display);
}
.footer-grid p,
.footer-grid a {
  color: var(--slate-soft);
  text-decoration: none;
  margin: 0 0 0.35rem;
  display: block;
  font-weight: 500;
}
.footer-grid a:hover { color: #fff; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.footer-social svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.footer-map {
  margin-top: 0.75rem;
  max-width: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 79, 79, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 110px;
  border: 0;
}
.footer-map-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 79, 79, 0.15);
  color: var(--slate-soft);
  font-size: 0.85rem;
}

.nav a.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Unterseiten – padding auf Hero, nicht auf main (sonst weißer Streifen) */
.page-main { padding-top: 0; }
.page-hero {
  padding: calc(var(--header-height) + 2rem) 0 2.5rem;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-light) 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--slate);
  margin: 0 0 0.75rem;
}
.page-hero-lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--slate-soft);
  font-size: 1.1rem;
}
.page-hero-cta {
  margin: 1.5rem 0 0;
}

#kontaktformular {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}
.page-content { padding: 3rem 0 4rem; }
.page-content--alt { background: var(--bg-alt); }

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.content-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--slate);
}
.content-card p { margin: 0; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info p { margin: 0 0 0.75rem; color: var(--muted); }
.contact-info a { font-weight: 600; }

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--slate-soft);
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-display);
  color: var(--slate);
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}
.legal-content p, .legal-content li { color: var(--muted); }

.muted-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .flyer-viewport { padding: 1.25rem 2.75rem 0.75rem; }
  .flyer-slide img {
    max-width: min(440px, 90vw);
    max-height: calc(100vh - var(--header-height) - 8rem);
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 640px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--orange);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .flyer-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
  .flyer-viewport { padding: 1rem 2.5rem 0.5rem; }
  .flyer-slide img { max-width: 92vw; }
  .stats { grid-template-columns: 1fr 1fr; }
}
