/* =================================================================
   Zaubersterne Stockstadt – Stylesheet
   Datensparsam: keine externen Schriften, keine Google-Dienste,
   keine Tracker. Alles selbst gehostet / systemnah.
   ================================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --c-bg: #fffbf4;
  --c-bg-alt: #fff2e0;
  --c-bg-deep: #2b2350;
  --c-surface: #ffffff;
  --c-ink: #2b2a4c;
  --c-ink-soft: #5d5b7d;
  --c-line: #efe7da;

  --c-primary: #7c5ce0;
  --c-primary-dark: #5b3fb8;
  --c-secondary: #ffc83d;
  --c-secondary-dark: #f4a916;
  --c-sky: #45c4f5;
  --c-coral: #ff7e9d;
  --c-mint: #4fce9f;
  --c-sun: #ff9f45;

  /* Schrift – ausschließlich Systemschriften */
  --font-head: "Trebuchet MS", "Segoe UI", "Verdana", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Form */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  /* Schatten */
  --sh-sm: 0 4px 14px rgba(43, 35, 80, .08);
  --sh: 0 14px 38px rgba(43, 35, 80, .12);
  --sh-lg: 0 26px 60px rgba(43, 35, 80, .18);
  --sh-violet: 0 16px 34px rgba(124, 92, 224, .32);

  /* Maße */
  --maxw: 1160px;
  --nav-h: 78px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: clamp(16px, 1.05vw + 14px, 18px);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--c-ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip-Link für Tastatur/Screenreader */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--c-primary); color: #fff; padding: .8em 1.2em;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--alt { background: var(--c-bg-alt); }
.section--deep {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(255, 159, 69, .12) 0%, transparent 60%),
    linear-gradient(135deg, #efe7ff 0%, #ffe8f1 52%, #fff3e1 100%);
  color: var(--c-ink);
}
.section--deep h2, .section--deep h3 { color: var(--c-ink); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--c-ink-soft); }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }

/* Augenbraue / Kicker */
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--c-primary);
  background: rgba(124, 92, 224, .1);
  padding: .45em 1em; border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
/* .section--deep nutzt jetzt den hellen Standard-Kicker */

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--c-primary);
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  padding: .85em 1.7em; border-radius: var(--r-pill);
  background: var(--bg); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--sh-violet);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-3px) scale(1.02); text-decoration: none; box-shadow: 0 22px 44px rgba(124, 92, 224, .42); }
.btn:active { transform: translateY(-1px); }
.btn--secondary { --bg: var(--c-secondary); color: #5a3d00; box-shadow: 0 16px 34px rgba(255, 200, 61, .42); }
.btn--secondary:hover { box-shadow: 0 22px 44px rgba(255, 200, 61, .5); }
.btn--ghost {
  background: transparent; color: var(--c-primary-dark);
  box-shadow: inset 0 0 0 2.5px rgba(124, 92, 224, .35);
}
.btn--ghost:hover { background: rgba(124, 92, 224, .08); box-shadow: inset 0 0 0 2.5px var(--c-primary); }
.btn--white { background: #fff; color: var(--c-primary-dark); box-shadow: var(--sh); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled {
  background: rgba(255, 251, 244, .9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: var(--sh-sm);
  height: 66px;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand__star { width: 42px; height: 42px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand__star { transform: rotate(72deg) scale(1.08); }
.brand__name { font-size: 1.28rem; line-height: 1; color: var(--c-ink); }
.brand__name b { color: var(--c-primary); }
.brand__name span { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-ink-soft); margin-top: 3px; }

/* Desktop-Menü */
.nav__menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 700; color: var(--c-ink);
  padding: .55em .9em; border-radius: var(--r-pill); position: relative;
  transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--c-primary-dark); background: rgba(124, 92, 224, .09); text-decoration: none; }
.nav__menu a.is-active { color: var(--c-primary-dark); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 6px; height: 6px; background: var(--c-secondary); border-radius: 50%;
}
.nav__cta { margin-left: .4rem; }

/* Hamburger */
.nav__toggle {
  display: none; width: 48px; height: 48px; border: none; cursor: pointer;
  background: rgba(124, 92, 224, .1); border-radius: 14px; padding: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2.6px; border-radius: 3px;
  background: var(--c-primary-dark); margin-inline: auto; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after { transform: translateY(4.4px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1.6px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background:
    radial-gradient(900px 600px at 12% 12%, rgba(124, 92, 224, .16) 0%, transparent 55%),
    radial-gradient(1000px 700px at 92% 0%, rgba(255, 159, 69, .18) 0%, transparent 52%),
    linear-gradient(165deg, #d8edff 0%, #ebdfff 36%, #ffe3ef 68%, #fff5e6 100%);
  color: var(--c-ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding-block: 4rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(124, 92, 224, .22);
  color: var(--c-primary-dark);
  padding: .5em 1.1em; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .03em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 1.4rem;
}
.hero h1 { color: var(--c-ink); }
.hero h1 .glow { color: var(--c-primary); text-shadow: 0 2px 20px rgba(124, 92, 224, .25); }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--c-ink-soft); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }

/* Bild-Collage rechts */
.hero__media { position: relative; }
.hero__photo {
  position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #ffd98a, #ff9aa8);
  transform: rotate(2deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; background: #fff; color: var(--c-ink);
  border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: var(--sh);
  display: flex; align-items: center; gap: .7rem; font-weight: 700; font-family: var(--font-head);
}
.hero__badge small { display: block; font-weight: 600; font-family: var(--font-body); color: var(--c-ink-soft); font-size: .76rem; }
.hero__badge--1 { left: -26px; top: 18%; animation: floaty 6s ease-in-out infinite; }
.hero__badge--2 { right: -22px; bottom: 14%; animation: floaty 7s ease-in-out infinite reverse; }
.hero__badge .emoji { font-size: 1.6rem; line-height: 1; }

/* Welle unten */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(48px, 7vw, 110px); display: block; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 3; color: var(--c-ink-soft); font-size: .8rem; font-family: var(--font-head);
  letter-spacing: .12em; text-transform: uppercase; display: grid; justify-items: center; gap: .4rem;
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(43, 42, 76, .35); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: var(--c-primary); border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s infinite; }

@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ================================================================
   KARTEN / GRIDS
   ================================================================ */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--c-surface); border-radius: var(--r-lg); padding: 2rem;
  box-shadow: var(--sh-sm); border: 1px solid var(--c-line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh); }
.card__icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.9rem; margin-bottom: 1.1rem; color: #fff;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--c-ink-soft); }

/* Farbvarianten */
.bg-violet { background: linear-gradient(135deg, #8a6bf0, #6442c4); }
.bg-gold   { background: linear-gradient(135deg, #ffd35e, #f4a916); color: #5a3d00 !important; }
.bg-sky    { background: linear-gradient(135deg, #5fd0f7, #2aa9e0); }
.bg-coral  { background: linear-gradient(135deg, #ff96b1, #f4607f); }
.bg-mint   { background: linear-gradient(135deg, #6bdcb0, #34b487); }
.bg-sun    { background: linear-gradient(135deg, #ffb56b, #ff8a2b); }

/* Karte mit oberem Farbstreifen */
.card--top { border-top: 6px solid var(--c-primary); }

/* Feature mit Bild */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh);
  aspect-ratio: 5 / 4; position: relative;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.feature__list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature__list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-mint);
  color: #fff; display: grid; place-items: center; font-size: .85rem; margin-top: 2px; font-weight: 700;
}

/* Bild-Platzhalter (bis echte Bilder via Flux nachgeliefert werden).
   Das <img> ist bereits im Quelltext verlinkt; sobald die Datei existiert,
   blendet JS sie sanft ein und versteckt das Platzhalter-Label. */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #8a6bf0 0%, #ff7e9d 100%);
}
.ph > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; opacity: 0; transition: opacity .6s var(--ease);
}
.ph.has-img > img { opacity: 1; }
.ph::after {
  content: "🌟 " attr(data-ph);
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 700; color: rgba(255, 255, 255, .95);
  background: linear-gradient(135deg, rgba(124, 92, 224, .35), rgba(255, 126, 157, .35));
  padding: 1.2rem; font-size: .92rem; letter-spacing: .02em; line-height: 1.4;
  opacity: 1; transition: opacity .4s;
}
.ph.has-img::after { opacity: 0; pointer-events: none; }

/* ================================================================
   ZAHLEN / COUNTER
   ================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--c-primary); }
.stat__label { margin-top: .4rem; font-weight: 600; color: var(--c-ink-soft); }

/* ================================================================
   TAGESABLAUF (Timeline)
   ================================================================ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 4px;
  background: linear-gradient(var(--c-secondary), var(--c-coral), var(--c-sky)); border-radius: 4px;
}
.tl-item { position: relative; padding: 0 0 1.7rem 4.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 8px; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh-sm); display: grid; place-items: center; font-size: 1.3rem;
  border: 3px solid var(--c-secondary); z-index: 1;
}
.tl-time { font-family: var(--font-head); font-weight: 700; color: var(--c-primary-dark); }
.tl-item h3 { margin: .1rem 0 .25rem; font-size: 1.2rem; }
.tl-item p { margin: 0; color: var(--c-ink-soft); }

/* ================================================================
   TESTIMONIALS (Slider)
   ================================================================ */
.quotes { position: relative; max-width: 820px; margin-inline: auto; }
.quote-track { position: relative; min-height: 230px; }
.quote {
  position: absolute; inset: 0; opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none;
  background: var(--c-surface); border-radius: var(--r-lg); padding: 2.4rem; box-shadow: var(--sh);
  text-align: center;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote p { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-family: var(--font-head); color: var(--c-ink); }
.quote .stars { color: var(--c-secondary); font-size: 1.2rem; letter-spacing: .15em; margin-bottom: .8rem; }
.quote__who { color: var(--c-ink-soft); font-weight: 700; margin-top: .8rem; }
.quote-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.quote-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(124, 92, 224, .25); cursor: pointer; padding: 0; transition: transform .2s, background .2s; }
.quote-dots button.is-active { background: var(--c-primary); transform: scale(1.3); }

/* ================================================================
   GALERIE + LIGHTBOX
   ================================================================ */
.gallery { columns: 3; column-gap: 1.2rem; }
.gallery__item {
  break-inside: avoid; margin-bottom: 1.2rem; border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-sm); cursor: zoom-in; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery__item:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--sh); }
.gallery__item img { width: 100%; }
.gallery__item .ph { aspect-ratio: 4/3; }
.gallery__item:nth-child(3n+1) .ph { aspect-ratio: 3/4; }

.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(20, 15, 45, .9);
  display: none; place-items: center; padding: 5vw;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--r); box-shadow: var(--sh-lg); }
.lightbox__cap { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--font-head); }
.lightbox__close, .lightbox__nav button {
  position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: none;
  width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav button:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav .next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ================================================================
   FAQ (Accordion)
   ================================================================ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 1rem; }
.faq__item { background: var(--c-surface); border-radius: var(--r); box-shadow: var(--sh-sm); border: 1px solid var(--c-line); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--c-ink);
  padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(124, 92, 224, .12); color: var(--c-primary-dark); display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q .plus { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 1.4rem 1.3rem; color: var(--c-ink-soft); }

/* ================================================================
   CTA-Banner
   ================================================================ */
.cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-coral));
  border-radius: var(--r-lg); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--sh);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .92); }
.cta .btn-row { justify-content: center; margin-top: 1.6rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: linear-gradient(180deg, #f5efff 0%, #efe6ff 100%); color: var(--c-ink-soft); padding-top: 4rem; position: relative; border-top: 1px solid var(--c-line); }
.site-footer a { color: var(--c-primary-dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--c-ink); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .brand__name { color: var(--c-ink); }
.site-footer .brand__name span { color: var(--c-ink-soft); }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; }

.no-track {
  background: rgba(124, 92, 224, .07); border: 1px dashed rgba(124, 92, 224, .3);
  border-radius: var(--r); padding: 1.1rem 1.3rem; margin-top: 1.2rem;
  font-size: .92rem; color: var(--c-ink-soft); display: flex; gap: .7rem; align-items: center;
}
.no-track .emoji { font-size: 1.4rem; }

.site-footer__bar {
  border-top: 1px solid var(--c-line); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .88rem; color: var(--c-ink-soft);
}
.site-footer__bar nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ================================================================
   BACK TO TOP / SPARKLE
   ================================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--c-primary); color: #fff; font-size: 1.4rem; box-shadow: var(--sh-violet);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-primary-dark); transform: translateY(-3px); }

.spark {
  position: fixed; z-index: 2000; pointer-events: none; font-size: 14px;
  will-change: transform, opacity; animation: sparkfade .9s ease-out forwards;
}
@keyframes sparkfade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 28px)) scale(.2) rotate(120deg); }
}

/* ================================================================
   SCROLL-REVEAL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* schwebende Deko-Sterne */
.deco { position: absolute; pointer-events: none; opacity: .8; z-index: 0; }
.spin { animation: spin 22s linear infinite; }
.bob { animation: floaty 8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   LEGAL / PROSE (Impressum, Datenschutz)
   ================================================================ */
.page-head {
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(255, 159, 69, .16) 0%, transparent 55%),
    linear-gradient(160deg, #ebdfff 0%, #ffe3ef 55%, #fff5e6 100%);
  color: var(--c-ink); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.page-head h1 { color: var(--c-ink); margin-bottom: .3rem; }
.page-head p { color: var(--c-ink-soft); margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--c-ink-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--c-primary-dark); }

.prose { max-width: 78ch; margin-inline: auto; }
.prose h2 { margin-top: 2.4rem; font-size: 1.5rem; padding-top: 1.2rem; border-top: 2px solid var(--c-line); }
.prose h2:first-of-type { border-top: none; padding-top: 0; }
.prose h3 { margin-top: 1.6rem; font-size: 1.15rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .box {
  background: var(--c-bg-alt); border-radius: var(--r); padding: 1.3rem 1.5rem; margin: 1.4rem 0;
  border-left: 5px solid var(--c-secondary);
}
.prose .box--info { background: rgba(69, 196, 245, .1); border-left-color: var(--c-sky); }
.prose address { font-style: normal; line-height: 1.8; }
.prose .todo {
  background: #fff4d6; border: 1px dashed var(--c-secondary-dark); border-radius: var(--r-sm);
  padding: .2em .55em; font-size: .92em; color: #7a5600; font-weight: 600;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__media { width: min(360px, 100%); margin: 1rem auto 0; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--c-surface); flex-direction: column; align-items: stretch;
    padding: calc(var(--nav-h) + 1rem) 1.4rem 2rem; gap: .3rem;
    transform: translateX(105%); transition: transform .35s var(--ease);
    box-shadow: var(--sh-lg); overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: none; }
  .nav__menu a { padding: .9em 1em; border-radius: var(--r-sm); font-size: 1.1rem; }
  .nav__menu a:hover { background: var(--c-bg-alt); }
  .nav__cta { margin: .6rem 0 0; justify-content: center; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(20, 15, 45, .5); z-index: 999;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}

@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 1; }
  .hero__badge--1 { left: 0; }
  .hero__badge--2 { right: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* ================================================================
   BARRIEREFREIHEIT: Bewegung reduzieren
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
