/* ==========================================================
   SCHOOL BATTLE – Stylesheet
   Farben & Abstände zentral hier oben anpassen.
   ========================================================== */
:root {
  --bg: #0a0910;
  --bg-2: #13111c;
  --card: #17151f;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f2fa;
  --muted: #a39fb5;
  --accent: #b79cff;        /* Lila aus dem Logo-Banner */
  --accent-2: #ff5fa8;      /* Pink für Verläufe */
  --accent-ink: #120d22;
  --radius: 18px;
  --max: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; margin: 14px 0 18px; }
h3 { font-size: 22px; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; margin: 0; }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 60%, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--b); background: var(--b); color: var(--accent-ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(183, 156, 255, .7); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--text); box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 9, 16, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .35s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .04em; }
.brand img {
  height: 64px; width: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
  transition: height .35s var(--ease), transform .35s var(--ease);
}
.header.is-scrolled .brand img { height: 50px; }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand__mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
}
.brand__mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav .btn { padding: 11px 18px; font-size: 15px; color: var(--accent-ink); margin-left: 8px; }
.nav .btn:hover { background: var(--accent); }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  overflow: hidden; isolation: isolate; padding: 120px 0 90px;
}
.hero__bg {
  position: absolute; inset: -5%; z-index: -3;
  background: center / cover no-repeat;
  filter: saturate(1.1) brightness(.5);
  transform: scale(1.08);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 50% 40%, transparent, rgba(10,9,16,.75) 75%),
    linear-gradient(to bottom, rgba(10,9,16,.4), transparent 30%, var(--bg) 98%);
}
/* Bühnen-Scheinwerfer */
.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.beam {
  position: absolute; top: -20%; width: 34vw; height: 140%;
  background: linear-gradient(to bottom, rgba(183,156,255,.55), transparent 75%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(14px); opacity: .55; transform-origin: 50% 0;
}
.beam--1 { left: 2%;  animation: sweep 9s ease-in-out infinite alternate; }
.beam--2 { right: 2%; animation: sweep 11s ease-in-out infinite alternate-reverse; background: linear-gradient(to bottom, rgba(255,95,168,.45), transparent 75%); }
.beam--3 { left: 33%; animation: sweep 13s ease-in-out infinite alternate; opacity: .35; }
@keyframes sweep { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(183,156,255,.14); border: 1px solid rgba(183,156,255,.4); color: var(--accent);
  backdrop-filter: blur(6px);
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(183,156,255,0); } 100% { box-shadow: 0 0 0 0 rgba(183,156,255,0); } }

.hero__title {
  font-size: clamp(64px, 15vw, 190px); font-weight: 900; line-height: .86; letter-spacing: -.045em;
  margin: 26px 0 22px; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .14s; }
.hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
@keyframes rise { to { transform: translateY(0); } }

/* Großes Logo im Startbereich */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__logo { margin: 26px auto 22px; line-height: 0; }
.hero__logo picture { display: inline-block; animation: logoIn 1.3s var(--ease) both; }
.hero__logo img {
  width: min(80vw, 470px, calc(46svh * 1.22)); height: auto; margin-inline: auto;
  filter: drop-shadow(0 0 28px rgba(183,156,255,.30)) drop-shadow(0 18px 30px rgba(0,0,0,.5));
  animation: beat 2.4s ease-in-out 1.5s infinite;
}
@keyframes logoIn {
  from { opacity: 0; transform: scale(.72) rotate(-4deg); filter: blur(14px); }
  60%  { opacity: 1; filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes beat {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(183,156,255,.25)) drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
  12%      { transform: scale(1.035); filter: drop-shadow(0 0 46px rgba(183,156,255,.6)) drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
  24%      { transform: scale(1); }
}

/* Header-Logo auf der Startseite erst zeigen, wenn das große Logo weggescrollt ist */
.home .header .brand { opacity: 0; transform: translateY(-8px) scale(.9); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.home .header.show-brand .brand, .home .header.is-open .brand { opacity: 1; transform: none; pointer-events: auto; }

.hero__sub strong { color: var(--text); font-weight: 800; }
.hero__sub { font-size: clamp(18px, 2vw, 22px); color: #d6d1e6; max-width: 640px; margin: 0 auto 34px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeup .9s var(--ease) forwards; }
.d1 { animation-delay: .5s; } .d2 { animation-delay: .65s; } .d3 { animation-delay: .8s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--text); border-radius: 4px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Laufband ---------- */
.marquee {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding: 20px 0; user-select: none;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-size: clamp(22px, 3vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
  padding-right: 42px; display: inline-flex; align-items: center; gap: 42px; white-space: nowrap;
}
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: .7em; }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ablauf ---------- */
.section-head { display: grid; gap: 4px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(183,156,255,.45); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 16px; top: 6px; font-size: 76px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1);
}
.step__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(183,156,255,.12); color: var(--accent);
}
.step__icon svg { width: 26px; height: 26px; }
.step p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.step--final { background: linear-gradient(150deg, rgba(183,156,255,.22), rgba(255,95,168,.14)); border-color: rgba(183,156,255,.4); isolation: isolate; }
.step--final::after {
  content: ""; position: absolute; z-index: -1; right: -34px; bottom: -30px; width: 190px; height: 156px;
  background: url(../img/logo-hell.png) center / contain no-repeat;
  opacity: .1; transform: rotate(-12deg); transition: opacity .5s, transform .6s var(--ease);
}
.step--final:hover::after { opacity: .2; transform: rotate(-5deg) scale(1.06); }

/* Equalizer (Lautstärke-Test) */
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 4px; background: currentColor; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s; } .eq i:nth-child(2) { animation-delay: -.5s; }
.eq i:nth-child(3) { animation-delay: -.1s; } .eq i:nth-child(4) { animation-delay: -.7s; } .eq i:nth-child(5) { animation-delay: -.35s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }

/* ---------- Feature-Blöcke (Bühne / Vibe) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 130px); }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature__media:hover img { transform: scale(1.05); }
.feature__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.feature__tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px;
  background: rgba(10,9,16,.7); backdrop-filter: blur(8px); border: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; background: rgba(255,255,255,.03); }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 26px; background: var(--bg-2); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; border-radius: 14px; }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.gallery button:hover img { transform: scale(1.07); filter: saturate(1.15); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(5,4,8,.92); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; border-radius: 12px; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); color: var(--text); font-size: 22px; cursor: pointer;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }

/* ---------- Mutti-Zettel ---------- */
.mz {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 60px); border-radius: 28px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(183,156,255,.25), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(255,95,168,.16), transparent 60%),
    var(--card);
  border: 1px solid rgba(183,156,255,.28);
}
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: #d9d5e8; }
.checklist li::before {
  content: "✓"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 14px;
}
.paper {
  position: relative; aspect-ratio: 1 / 1.414; max-width: 340px; margin-inline: auto; width: 100%;
  background: #fff; color: #222; border-radius: 10px; padding: 26px 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.05);
  transform: rotate(4deg); transition: transform .6s var(--ease);
  animation: float 6s ease-in-out infinite;
}
.mz:hover .paper { transform: rotate(0deg) scale(1.03); }
@keyframes float { 50% { translate: 0 -10px; } }
.paper__logo { width: 66px; height: auto; margin-bottom: 12px; }
.paper h4 { margin: 0 0 4px; font-size: 15px; }
.paper small { color: #777; font-size: 10px; }
.paper .ln { height: 8px; border-radius: 4px; background: #eceaf3; margin: 14px 0; }
.paper .ln.s { width: 60%; } .paper .ln.m { width: 82%; }
.paper .sig { display: flex; gap: 16px; position: absolute; left: 24px; right: 24px; bottom: 30px; }
.paper .sig div { flex: 1; border-top: 1.5px solid #bbb; padding-top: 6px; font-size: 9px; color: #888; }
.paper__stamp {
  position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 6px; font-size: 10px; font-weight: 800;
  background: var(--accent); color: var(--accent-ink); letter-spacing: .1em;
}
.pdf-meta { color: var(--muted); font-size: 14px; margin-left: 4px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 19px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] .answer { grid-template-rows: 1fr; }
.faq .answer > div { overflow: hidden; color: var(--muted); }
.faq .answer p { margin: 0 0 24px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); }
.contact__links { display: grid; gap: 12px; margin-top: 30px; }
.contact__link {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .3s, transform .3s var(--ease);
}
.contact__link:hover { border-color: rgba(183,156,255,.5); transform: translateX(4px); }
.contact__link svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.contact__link small { display: block; color: var(--muted); font-size: 13px; }
.contact__link strong { font-size: 17px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 38px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: #d6d1e6; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: var(--text); font: 16px var(--font);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field select option { background: var(--bg-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(183,156,255,.06);
  box-shadow: 0 0 0 4px rgba(183,156,255,.15);
}
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: 15px; font-weight: 600; }
.form__status.ok { color: #7ef0b2; } .form__status.err { color: #ff8a9b; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

.success { grid-column: 1 / -1; text-align: center; padding: 40px 10px; display: none; }
.form.is-done > :not(.success) { display: none; }
.form.is-done .success { display: block; animation: fadeup .7s var(--ease) forwards; }
.success__icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.success__icon svg { width: 36px; height: 36px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 30px 0 46px; }
.footer__brand img { width: 180px; height: auto; transition: transform .5s var(--ease); filter: drop-shadow(0 0 30px rgba(183,156,255,.25)); }
.footer__brand a:hover img { transform: rotate(-5deg) scale(1.06); }
.footer__brand p { margin: 0; font-size: 16px; line-height: 1.5; }
.footer__brand strong { color: var(--text); }
.footer__brand + .footer__inner { border-top: 1px solid var(--line); padding-top: 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--text); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Rechtstexte (Unterseiten) ---------- */
.legal { padding: 140px 0 90px; max-width: 760px; }
.legal h1 { font-size: clamp(38px, 6vw, 58px); font-weight: 900; margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #cfcade; }
.legal .todo { background: rgba(255, 196, 0, .14); border: 1px dashed rgba(255,196,0,.6); padding: 2px 6px; border-radius: 4px; color: #ffd75e; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .feature, .mz, .faq-grid, .contact { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .header__inner, .header.is-scrolled .header__inner { height: 68px; }
  .brand img, .header.is-scrolled .brand img { height: 50px; }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 24px; background: rgba(10,9,16,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .header.is-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .header.is-open { background: rgba(10,9,16,.97); }
  .header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .burger span:nth-child(2) { opacity: 0; }
  .header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .hero__title .outline { -webkit-text-stroke-width: 1.5px; }
  .lightbox__nav { top: auto; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-up, .hero__title .line > span { opacity: 1; transform: none; }
}
