/* ==========================================================================
   DevilsMadness Design System
   Tokens verbindlich aus 00 Kontext/Branding.md
   Signature-Motiv: Festivalbaendchen (diagonale Streifen)
   ========================================================================== */

/* --- Schriften, selbst gehostet (kein Google-CDN, DSGVO) ----------------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --bg: #16181a;
  --panel: #1f2225;
  --panel-2: #26292d;
  --line: #34383d;
  --ink: #f2efe9;
  --ink-dim: #a8a49b;
  --lime: #c6f432;
  --lime-deep: #a7d31f;
  --orange: #f27430;
  --orange-deep: #d05d20;
  --petrol: #2a8f8f;
  --on-lime: #101204;

  --font-display: 'Anton', Impact, sans-serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  /* Eine Radius-Skala, konsequent durchgezogen */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-nav: 20;
  --z-modal: 60;
  --z-toast: 70;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;                     /* native Widgets im dunklen Modus */
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Kein 300-ms-Verzoegerung beim Tippen, kein grauer Blitz auf Android */
a, button, label, input, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(198, 244, 50, 0.18);
}

/* Zahlen springen beim Hochzaehlen nicht in der Breite */
.dial__val, .stat__v, .counter, .counter-small { font-variant-numeric: tabular-nums; }

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
  scroll-margin-top: 88px;               /* Sprungziele nicht unter der Leiste */
}

/* --- Layout-Helfer ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.stack > * + * { margin-top: var(--gap, 1rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--on-lime); font-weight: 700;
  padding: 10px 18px; border-radius: var(--r-sm); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   SIGNATURE: Das Festivalbaendchen
   ========================================================================== */
.band {
  --band-a: var(--lime);
  --band-b: var(--lime-deep);
  background: repeating-linear-gradient(
    -45deg,
    var(--band-a) 0 7px,
    var(--band-b) 7px 14px
  );
}
.band--orange { --band-a: var(--orange); --band-b: var(--orange-deep); }
.band--petrol { --band-a: var(--petrol); --band-b: #1f6d6d; }
.band--dead   { --band-a: #3a3f45; --band-b: #2f343a; }

/* Baendchen im Hero: liegende Streifen mit Verschluss-Punkt */
.wristband {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px 13px 46px;
  border-radius: var(--r-pill);
  color: var(--on-lime);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
              0 10px 26px rgba(0, 0, 0, 0.36);
  text-align: left;
}
/* Der Verschluss-Knopf, wie am echten Baendchen */
.wristband::before {
  content: '';
  position: absolute;
  left: 17px; top: 50%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
}
.wristband--dead { color: var(--ink-dim); }
.wristband__meta {
  margin-left: auto;
  font-weight: 500;
  font-size: 0.76rem;
  opacity: 0.82;
  white-space: nowrap;
}

/* ==========================================================================
   Kopfzeile
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: 68px;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  display: flex; align-items: center;
  background: rgba(22, 24, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 20px; width: 100%; }
.logo {
  font-family: var(--font-display);
  font-size: 1.32rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo b { color: var(--lime); font-weight: 400; }
.nav__spacer { flex: 1; }
.nav__link {
  color: var(--ink-dim); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.18s;
  white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;   /* Touch-Ziel */
}
.nav__link:hover { color: var(--ink); }
/* Auf schmalen Geraeten bleibt nur Logo und Hauptaktion stehen */
@media (max-width: 620px) { .nav__link--sub { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--r-md);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), filter 0.16s, background 0.16s, border-color 0.16s;
}
.btn--primary { background: var(--lime); color: var(--on-lime); }
.btn--primary:hover { filter: brightness(1.09); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(0.985); }
.btn--ghost {
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-sans); font-weight: 500;
  text-transform: none; letter-spacing: 0;
  font-size: 0.92rem; padding: 13px 20px;
}
.btn--ghost:hover { border-color: var(--petrol); }
.btn--ghost:active { transform: scale(0.985); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; }

/* ==========================================================================
   HERO, asymmetrischer Split
   ========================================================================== */
.hero { padding-top: clamp(36px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  /* Textspalte breit genug, damit die Zeile "Nie wieder ohne Panzertape"
     auf dem Desktop nicht umbricht. Zusammen mit der Groesse unten ergibt
     das genau zwei Zeilen. */
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; }
}
.hero__eyebrow {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--petrol); font-weight: 700; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  max-width: 44ch;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Baendchen-Stapel */
.bandstack { display: grid; gap: 11px; }
.bandstack__label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-dim); font-weight: 700; margin-bottom: 4px;
}
.bandstack .wristband { transform-origin: left center; }

/* ==========================================================================
   Abschnitts-Koepfe
   ========================================================================== */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 62ch; }
.sec-head h2 { font-size: clamp(1.75rem, 4.2vw, 2.7rem); margin-bottom: 12px; }
.sec-head p { color: var(--ink-dim); max-width: 60ch; }

/* ==========================================================================
   Zwei Listen, asymmetrischer Split mit echter Vorschau
   ========================================================================== */
.lists { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .lists { grid-template-columns: 1.12fr 0.88fr; } }

.listcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.listcard__top { height: 7px; }
.listcard__body { padding: 22px 22px 26px; }
.listcard h3 {
  font-size: 1.22rem; margin-bottom: 5px;
}
.listcard__who {
  font-size: 0.8rem; color: var(--ink-dim); margin-bottom: 18px;
}
.listcard--personal h3 { color: var(--lime); }
.listcard--camp h3 { color: var(--orange); }

.preview { display: grid; gap: 11px; }
.preview__row { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; }
.preview__box {
  flex: none; width: 17px; height: 17px; margin-top: 3px;
  border: 1.5px solid var(--line); border-radius: 4px; background: var(--panel-2);
}
.preview__qty { font-weight: 700; }
.listcard--personal .preview__qty { color: var(--lime); }
.listcard--camp .preview__qty { color: var(--orange); }
.preview__why { display: block; font-size: 0.79rem; color: var(--ink-dim); margin-top: 2px; }

/* ==========================================================================
   Die Rechnung, interaktiv
   ========================================================================== */
.calc {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  padding: clamp(22px, 3.4vw, 38px);
}
.calc__controls {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px);
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dial { display: flex; align-items: center; gap: 13px; }
.dial__label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--ink-dim); font-weight: 700;
}
.dial__btn {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center;
  transition: border-color 0.16s, transform 0.12s;
}
.dial__btn:hover { border-color: var(--lime); }
.dial__btn:active { transform: scale(0.92); }
.dial__val {
  font-family: var(--font-display); font-size: 2.1rem;
  min-width: 2.1ch; text-align: center;
}

.calc__out { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .calc__out { grid-template-columns: repeat(3, 1fr); } }
.stat__k {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--ink-dim); font-weight: 700; margin-bottom: 7px;
}
.stat__v {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  color: var(--lime); line-height: 1.05;
}
.stat--camp .stat__v { color: var(--orange); }
.stat__note { font-size: 0.79rem; color: var(--ink-dim); margin-top: 5px; }

/* ==========================================================================
   Festival-Wissen, horizontaler Scroll
   ========================================================================== */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; margin-inline: -20px; padding-inline: 20px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: 31%; } }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

.fcard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.fcard__name { font-family: var(--font-display); font-size: 1.28rem; text-transform: uppercase; }
.fcard__status { font-size: 0.78rem; font-weight: 700; }
.fcard__status--live { color: var(--orange); }
.fcard__status--up { color: var(--lime); }
.fcard__status--past { color: var(--ink-dim); font-style: italic; font-weight: 500; }
.fcard__fact { font-size: 0.86rem; color: var(--ink-dim); display: flex; gap: 9px; }
.fcard__fact span:first-child { flex: none; }

/* ==========================================================================
   Ersttaeter vs Veteran
   ========================================================================== */
.versus { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .versus { grid-template-columns: 1fr 1fr; } }
.vcol { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vcol__head {
  padding: 15px 20px; font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.04em;
}
.vcol--first .vcol__head { background: rgba(42, 143, 143, 0.16); color: var(--petrol); }
.vcol--vet .vcol__head { background: rgba(198, 244, 50, 0.12); color: var(--lime); }
.vcol__body { padding: 6px 20px 20px; }
.vitem { padding: 15px 0; border-bottom: 1px solid var(--line); }
.vitem:last-child { border-bottom: 0; }
.vitem__n { font-weight: 700; font-size: 0.93rem; margin-bottom: 3px; }
.vitem__t { font-size: 0.86rem; color: var(--ink-dim); }

/* ==========================================================================
   Fusszeile
   ========================================================================== */
.foot { border-top: 1px solid var(--line); padding-block: 44px 34px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: flex-start; }
.foot__brand { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.foot__tag { color: var(--ink-dim); font-size: 0.84rem; margin-top: 5px; }
.foot__col { display: grid; gap: 9px; align-content: start; }
.foot__h {
  font-size: 0.71rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--ink-dim); font-weight: 700;
}
.foot__link {
  font-size: 0.89rem; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 44px;   /* Touch-Ziel */
}
.foot__link:hover { color: var(--lime); }
.foot__col { gap: 0; }
.foot__bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.75rem; color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: 0.09em;
}

/* ==========================================================================
   GENERATOR
   ========================================================================== */
.gen { max-width: 760px; margin-inline: auto; padding: 26px 20px 90px; }

/* Fortschritt als Baendchen-Segmente */
.progress { display: flex; gap: 6px; margin-bottom: 30px; }
.progress__seg {
  flex: 1; height: 11px; border-radius: var(--r-pill);
  background: var(--panel-2); border: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.progress__seg--done { border-color: var(--lime); }
.progress__seg--now { border-color: var(--orange); }

.qhead { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--petrol); font-weight: 700; margin-bottom: 9px; }
.qtitle { font-size: clamp(1.5rem, 5vw, 2.15rem); margin-bottom: 9px; }
.qsub { color: var(--ink-dim); margin-bottom: 24px; max-width: 48ch; }

.opts { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 620px) { .opts--two { grid-template-columns: 1fr 1fr; } }
.opt {
  text-align: left; width: 100%;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 15px 17px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.16s, background 0.16s, transform 0.12s;
}
.opt:hover { border-color: var(--petrol); }
.opt:active { transform: scale(0.99); }
.opt[aria-pressed='true'], .opt.is-sel { border-color: var(--lime); background: var(--panel-2); }
.opt__l { font-weight: 700; }
.opt__d { font-size: 0.83rem; color: var(--ink-dim); }
.opt__s { font-size: 0.79rem; font-weight: 700; }
.opt__s--live { color: var(--orange); }
.opt__s--up { color: var(--lime); }
.opt__s--past { color: var(--ink-dim); font-weight: 500; font-style: italic; }
.opt__check { color: var(--lime); }

.followup {
  border-left: 3px solid var(--petrol); background: var(--panel);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 18px; margin: 16px 0;
}
.followup__q { font-weight: 700; font-size: 0.95rem; margin-bottom: 11px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border-radius: var(--r-pill); padding: 9px 17px;
  border: 1px solid var(--line); background: var(--panel-2);
  font-size: 0.88rem; transition: border-color 0.16s, background 0.16s;
}
.pill:hover { border-color: var(--petrol); }
.pill.is-sel { border-color: var(--lime); background: rgba(198, 244, 50, 0.11); font-weight: 700; }

.navrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.backlink { color: var(--ink-dim); font-size: 0.9rem; padding: 8px 0; }
.backlink:hover { color: var(--ink); }

/* --- Ergebnis ----------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 5px 14px;
  font-size: 0.81rem; color: var(--ink-dim);
}
.chip b { color: var(--ink); }

.infobox {
  border: 1px solid var(--petrol); background: rgba(42, 143, 143, 0.09);
  border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 14px; font-size: 0.92rem;
}
.infobox h4 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--petrol); margin-bottom: 10px;
}
.inforow { display: flex; gap: 10px; margin-bottom: 7px; align-items: flex-start; }
.inforow span:first-child { flex: none; }
.infobox__stand { font-size: 0.75rem; color: var(--ink-dim); font-style: italic; margin-top: 9px; }

.notebox {
  border: 1px solid var(--orange); background: rgba(242, 116, 48, 0.09);
  border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 22px; font-size: 0.92rem;
}
.notebox b { color: var(--orange); }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab {
  flex: 1; padding: 13px 10px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--panel); color: var(--ink-dim);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.94rem; transition: border-color 0.16s, background 0.16s, color 0.16s;
}
.tab.is-sel { background: var(--panel-2); color: var(--ink); }
.tab--personal.is-sel { border-color: var(--lime); }
.tab--camp.is-sel { border-color: var(--orange); }

.counter { font-size: 0.86rem; color: var(--ink-dim); margin-bottom: 16px; }
.counter b { color: var(--lime); }

.cat { margin-bottom: 26px; }
.cat__h {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--petrol); border-bottom: 1px solid var(--line);
  padding-bottom: 7px; margin-bottom: 11px;
}
.cat--sig .cat__h { color: var(--lime); }
.cat__note { font-size: 0.83rem; color: var(--ink-dim); margin-bottom: 12px; }

.item { display: flex; gap: 12px; align-items: flex-start; padding: 7px 4px; border-radius: var(--r-sm); cursor: pointer; }
.item:hover { background: var(--panel); }
.item input {
  flex: none; width: 19px; height: 19px; margin-top: 3px;
  accent-color: var(--lime); cursor: pointer;
}
.item__n { font-weight: 500; }
.item__q { font-weight: 700; color: var(--lime); }
.list--camp .item__q { color: var(--orange); }
.item__w { display: block; font-size: 0.81rem; color: var(--ink-dim); margin-top: 1px; }
.item input:checked ~ .item__txt .item__n,
.item input:checked ~ .item__txt .item__q { text-decoration: line-through; opacity: 0.45; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.sharednote {
  border: 1px solid var(--lime); background: rgba(198, 244, 50, 0.08);
  border-radius: var(--r-md); padding: 15px 18px; margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 0.92rem;
}

/* --- Modal -------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center; padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  overscroll-behavior: contain;          /* Scrollen greift nicht auf die Seite durch */
}
.modal[hidden] { display: none; }
.modal__box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; width: 100%; max-width: 480px;
}
.modal__box h3 { font-size: 1.42rem; margin-bottom: 5px; }
.modal__sub { color: var(--ink-dim); font-size: 0.88rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--ink-dim); }
.field textarea, .field input[type='text'] {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 13px; font-size: 0.92rem;
  outline: none; transition: border-color 0.16s, box-shadow 0.16s; resize: vertical;
}
/* outline entfernt, aber vollwertig ersetzt: farbiger Rand plus Ring */
.field textarea:focus-visible, .field input[type='text']:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.32);
}
.field textarea:focus, .field input[type='text']:focus { border-color: var(--lime); }
.field textarea::placeholder, .field input::placeholder { color: #8e8a82; }
.counter-small { font-size: 0.72rem; color: var(--ink-dim); text-align: right; margin-top: 4px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.formerror { color: var(--orange); font-size: 0.84rem; margin-top: 8px; }

/* --- Toast -------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: var(--z-toast); background: var(--lime); color: var(--on-lime);
  font-weight: 700; padding: 13px 24px; border-radius: var(--r-md);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast[hidden] { display: none; }
.toast--bad { background: var(--orange); color: #1a0d04; }

/* --- Rechtstexte -------------------------------------------------------- */
.prose { max-width: 68ch; margin-inline: auto; padding: 40px 20px 80px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 22px; }
.prose h2 { font-size: 1.25rem; margin-top: 34px; margin-bottom: 11px; color: var(--lime); }
.prose p, .prose li { color: var(--ink-dim); margin-bottom: 12px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--lime); }
.todo {
  border: 1px dashed var(--orange); background: rgba(242, 116, 48, 0.08);
  border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 18px;
  color: var(--ink); font-size: 0.9rem;
}
.todo b { color: var(--orange); }

/* ==========================================================================
   Bewegung. Jede Animation hat einen Grund:
   Hero-Baendchen = Reihenfolge der Saison, Schritt-Wechsel = Ortswechsel.
   ========================================================================== */
@keyframes dm-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes dm-band {
  from { opacity: 0; transform: translateX(-22px) scaleX(0.94); }
  to { opacity: 1; transform: none; }
}
.anim-in { animation: dm-in 0.3s var(--ease) both; }
.bandstack .wristband { animation: dm-band 0.5s var(--ease) both; }
.bandstack .wristband:nth-child(1) { animation-delay: 0.05s; }
.bandstack .wristband:nth-child(2) { animation-delay: 0.12s; }
.bandstack .wristband:nth-child(3) { animation-delay: 0.19s; }
.bandstack .wristband:nth-child(4) { animation-delay: 0.26s; }
.bandstack .wristband:nth-child(5) { animation-delay: 0.33s; }
.bandstack .wristband:nth-child(6) { animation-delay: 0.4s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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