/* EmsiBuddy Website
   Layout-Idee: ein Schulheft. Karopapier als Bühne, Lineatur unter den Überschriften,
   eine Ameisenstraße als Trenner. Farben und Radien kommen aus constants/emsi.ts. */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Bold.otf") format("opentype"); font-weight: 700 900; font-display: swap; }

:root {
  /* Flächen */
  --bg: #F3FBF7;
  --band: #D5EFE3;
  --surface: #FFFFFF;
  --line: #CFDDE0;
  --grid: rgba(14, 116, 144, 0.10);
  /* Schrift */
  --ink: #10222B;
  --ink-2: #3D525C;
  --ink-3: #5A6D76;
  /* Marke */
  --accent: #0E7490;
  --brand-b: #0E7490;
  --accent-text: #0B6079;
  --accent-deep: #0A4A5C;
  --accent-soft: #E0F2FE;
  --on-accent: #FFFFFF;
  --ant: #8A4B2A;
  --honey: #F0B03A;
  --honey-deep: #B8791A;
  /* Rückmeldung im Rätsel */
  --good: #1E8A4C;
  --warn: #C96F0C;
  --bad: #C2413B;
  /* Bühne: bleibt in beiden Modi hell, damit Emsis Konturen lesbar sind */
  --stage: #D5EFE3;
  --stage-2: #F0FDF9;
  --stage-border: #8BBFA8;
  --stage-ink: #10222B;
  --stage-ink-2: #3D525C;
  --farbe-ink: #3A6B56;

  --font-display: "Bricolage Grotesque", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --wrap: 1120px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --shadow: 0 1px 2px rgba(16, 34, 43, .06), 0 10px 28px -14px rgba(16, 34, 43, .22);
}

/* Die sechs Farben, die sich Kinder in der App aussuchen */
:root[data-farbe="blue"]     { --bg: #F0F9FF; --band: #CFE4F7; --stage: #C6DEF5; --stage-2: #F0F9FF; --stage-border: #7BA9D4; --farbe-ink: #2F5578; }
:root[data-farbe="sun"]      { --bg: #FFFCF0; --band: #F8ECC6; --stage: #F5E6B8; --stage-2: #FFFBEB; --stage-border: #E0C978; --farbe-ink: #7A5C14; }
:root[data-farbe="cherry"]   { --bg: #FFF7FB; --band: #F6DCE9; --stage: #F3D4E4; --stage-2: #FFF5FB; --stage-border: #E0A8C4; --farbe-ink: #8A4568; }
:root[data-farbe="coral"]    { --bg: #FFF7F5; --band: #F6DAD6; --stage: #F3D2CE; --stage-2: #FFF5F2; --stage-border: #E0A8A4; --farbe-ink: #8F4242; }
:root[data-farbe="lavender"] { --bg: #FBF7FF; --band: #E8DDFB; --stage: #E1D4FB; --stage-2: #FAF5FF; --stage-border: #C4B5FD; --farbe-ink: #6B21A8; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1A21; --band: #12262F; --surface: #15282F; --line: #2A434E; --grid: rgba(120, 200, 220, 0.09);
    --ink: #EAF3F5; --ink-2: #B9C9CF; --ink-3: #93A6AD;
    --accent: #0E7490; --brand-b: #22D3EE; --accent-text: #6CCBE2; --accent-deep: #073848; --accent-soft: #123843;
    --good: #4CC27E; --warn: #F0A04B; --bad: #F0817B; --farbe-ink: #9FD8C0;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1A21; --band: #12262F; --surface: #15282F; --line: #2A434E; --grid: rgba(120, 200, 220, 0.09);
  --ink: #EAF3F5; --ink-2: #B9C9CF; --ink-3: #93A6AD;
  --accent: #0E7490; --brand-b: #22D3EE; --accent-text: #6CCBE2; --accent-deep: #073848; --accent-soft: #123843;
  --good: #4CC27E; --warn: #F0A04B; --bad: #F0817B; --farbe-ink: #9FD8C0;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* Lese-Schrift (OpenDyslexic), wie in der App zuschaltbar */
:root[data-schrift="lese"] { --font-display: "OpenDyslexic", "Nunito", sans-serif; --font-body: "OpenDyslexic", "Nunito", sans-serif; }
:root[data-schrift="lese"] body { font-size: 16px; line-height: 1.75; letter-spacing: .01em; }
:root[data-schrift="lese"] h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); letter-spacing: 0; }
:root[data-schrift="lese"] h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.62; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s ease;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.3rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); line-height: 1.08; font-weight: 800; letter-spacing: -.028em; }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 800; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Raster ─────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--band { background: var(--band); }
.sec--tight { padding-block: clamp(36px, 5vw, 56px); }
.stack > * + * { margin-top: 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.measure { max-width: 42em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* Abschnittskopf: Etikett mit Ameisenstraße */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--farbe-ink);
}
.eyebrow::before {
  content: ""; width: 44px; height: 6px; flex: none;
  background: radial-gradient(circle, currentColor 2.2px, transparent 2.6px) 0 50% / 11px 6px repeat-x;
}
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 46em; }

/* Lineatur: Wort im Titel steht auf Heftlinien */
.lin {
  background-image: linear-gradient(var(--honey), var(--honey));
  background-size: 100% .16em; background-position: 0 92%; background-repeat: no-repeat;
  padding-inline: .06em;
}

/* ── Knöpfe (fühlbar, wie in der App) ──────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-lg);
  font: 800 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  border: 0; border-bottom: 4px solid var(--accent-deep);
  transition: transform .08s ease, border-bottom-width .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(3px); border-bottom-width: 1px; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-bottom-width: 4px; }
.btn--sm { min-height: 48px; padding: 0 18px; font-size: .95rem; border-radius: var(--r-md); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 800; }
.textlink::after { content: " →"; }

/* ── Kopfzeile ──────────────────────────────────────────── */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 1.4rem/1 "Nunito", var(--font-body); letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand__b { color: var(--brand-b); }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 11px; white-space: nowrap; border-radius: var(--r-sm); font-weight: 700; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--band); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--honey); border-radius: 0; }
.iconbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 800 .92rem/1 var(--font-body); cursor: pointer; }
.iconbtn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
.prefs { position: relative; }
.prefs__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 20px; display: grid; gap: 18px;
}
.prefs__panel h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.prefs__panel p { font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.prefs__label { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sw-b); background: var(--sw); cursor: pointer; padding: 0; position: relative; }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--accent-text); }
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.switch input { appearance: none; flex: none; width: 48px; height: 28px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; margin: 2px 0 0; transition: background-color .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(20px); }
.switch b { display: block; font-weight: 800; }
.switch span span { display: block; font-size: .88rem; color: var(--ink-3); line-height: 1.4; }

/* ── Karopapier-Bühne ──────────────────────────────────── */
.karo {
  background-color: var(--stage-2);
  background-image: linear-gradient(rgba(14,116,144,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(14,116,144,.11) 1px, transparent 1px);
  background-size: 22px 22px; background-position: -1px -1px;
  border: 2px solid var(--stage-border); border-radius: var(--r-xl); color: var(--stage-ink);
}
.karo h3, .karo h4 { color: var(--stage-ink); }
.karo .muted { color: var(--stage-ink-2); }

/* ── Startbild ──────────────────────────────────────────── */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__note { font-size: .92rem; color: var(--ink-3); }
.hero-stage { position: relative; padding: 26px 26px 22px; }
.hero-stage__emsi { width: min(64%, 270px); margin: 30px auto 6px; filter: drop-shadow(0 14px 12px rgba(60, 30, 10, .16)); }
.bubble {
  position: absolute; top: 22px; right: 22px; max-width: 13em; background: #fff; color: var(--stage-ink);
  border: 2px solid var(--stage-ink); border-radius: 20px 20px 20px 6px; padding: 10px 16px; font-weight: 800; line-height: 1.3;
}
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 5.2em 1fr; align-items: center; gap: 12px; font-weight: 800; font-size: .92rem; }
.meter__track { height: 16px; border-radius: 99px; background: #fff; border: 2px solid var(--stage-ink); overflow: hidden; }
.meter__fill { height: 100%; width: var(--v, 0%); border-radius: 99px 0 0 99px; background: var(--accent); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.meter--futter .meter__fill { background: var(--honey); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

.oneline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; padding: 22px 0; border-block: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.oneline b { font: 800 1.9rem/1 var(--font-display); letter-spacing: -.03em; }
.oneline span { color: var(--ink-2); flex: 1 1 16em; }
.oneline i { font-style: normal; font-weight: 800; color: var(--accent-text); }
.oneline:hover i { transform: translateX(3px); }
/* Faktenzeile */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); list-style: none; }
.facts li { padding: 22px 20px 22px 0; }
.facts li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.facts b { display: block; font: 800 1.9rem/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 6px; font-size: .93rem; color: var(--ink-2); line-height: 1.4; }

/* ── Rollentausch ───────────────────────────────────────── */
.swap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.swap__col { border-radius: var(--r-lg); padding: 24px; border: 2px dashed var(--line); display: grid; gap: 14px; align-content: start; }
.swap__col--emsi { border: 2px solid var(--accent); background: var(--surface); }
.swap__tag { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.swap__col--emsi .swap__tag { color: var(--accent-text); }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 0; font-weight: 800; list-style: none; }
.flow li { display: inline-flex; align-items: center; }
.flow li + li::before { content: "→"; color: var(--ink-3); padding-inline: 10px; }
.flow span { padding: 7px 14px; border-radius: 99px; background: var(--band); border: 1px solid var(--line); }
.swap__col--emsi .flow li:first-child span { background: var(--accent); color: var(--on-accent); }

/* ── Missionen ──────────────────────────────────────────── */
.missions { display: grid; gap: 18px; }
.mission { display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(0, .82fr); gap: clamp(18px, 3vw, 36px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); }
.mission__art { background: var(--stage); border-radius: var(--r-lg); aspect-ratio: 1; display: grid; place-items: center; padding: 14px; }
.mission__art img { max-height: 100%; width: auto; }
.mission__body { display: grid; gap: 10px; }
.mission__kicker { font-size: .84rem; font-weight: 800; color: var(--ink-3); letter-spacing: .02em; }
.mission__why { border-left: 3px solid var(--honey); padding-left: 16px; font-size: .95rem; color: var(--ink-2); }
.mission__why b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.steps { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.steps li { counter-increment: s; font-size: .88rem; font-weight: 700; padding: 5px 12px 5px 6px; border-radius: 99px; background: var(--band); display: inline-flex; align-items: center; gap: 7px; }
.steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: .78rem; font-weight: 800; }
.opts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; display: grid; gap: 2px; align-content: start; }
.opts b { font-weight: 800; }
.opts span { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 640px) { .opts { grid-template-columns: minmax(0, 1fr); } }

/* ── Kacheln: Alltagsprobleme ──────────────────────────── */
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.carousel__count { font-size: .9rem; font-weight: 700; color: var(--ink-3); }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { width: 48px; padding: 0; justify-content: center; border-radius: 50%; }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.tiles { list-style: none; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; padding: 4px 4px 18px; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.tiles > .tile { flex: 0 0 min(340px, 84%); scroll-snap-align: start; }
.tile { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.tile__quote { background: var(--stage); color: var(--stage-ink); padding: 24px 24px 22px; min-height: 5.6em; display: flex; align-items: flex-end; font: 700 1.32rem/1.2 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.tile__body { padding: 20px 24px 24px; display: grid; gap: 8px; align-content: start; }
.tile__tag { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.tile__body p { color: var(--ink-2); font-size: .97rem; }
:root[data-ruhe="1"] .tiles { scroll-behavior: auto; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; padding: 4px 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plain-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }

.mtabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.mtab { display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: var(--r-lg); border: 2px solid transparent; border-bottom-width: 4px; background: color-mix(in srgb, var(--surface) 55%, transparent); color: var(--ink); font: 800 .95rem/1.2 var(--font-body); cursor: pointer; text-align: center; }
.mtab img { height: 62px; width: auto; }
.mtab:hover { background: var(--surface); }
.mtab[aria-selected="true"] { background: var(--surface); border-color: var(--accent); }
@media (max-width: 760px) { .mtabs { display: flex; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; } .mtab { flex: 0 0 116px; } .mtab img { height: 48px; } }

/* ── Emsi wächst ────────────────────────────────────────── */
.grow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.message { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 48px); }
.message__big { font: 800 clamp(2rem, 4.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.035em; color: var(--stage-ink); text-wrap: balance; }
.message__body { display: grid; gap: 12px; color: var(--stage-ink-2); }
@media (max-width: 760px) { .message { grid-template-columns: minmax(0, 1fr); } }
.pflege { padding: 24px; display: grid; gap: 16px; }
.pflege__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pflege__level { font: 800 1.05rem/1 var(--font-display); }
.pflege__coins { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pflege__coins img { width: 24px; }
.pflege__figure { height: 230px; display: grid; place-items: center; }
.pflege__figure img { max-height: 220px; width: auto; filter: drop-shadow(0 10px 8px rgba(60,30,10,.16)); }
.pflege__figure img.pop { animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { 0% { transform: scale(.7); opacity: .2; } }
.pflege__msg { min-height: 2.9em; font-weight: 700; text-align: center; color: var(--stage-ink-2); }
.pflege__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pflege .btn--ghost { background: #fff; color: var(--stage-ink); border-color: var(--stage-ink); }
.pfad { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
.pfad li { text-align: center; font-size: .8rem; font-weight: 800; line-height: 1.25; position: relative; padding-top: 14px; }
.pfad li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--line); }
.pfad li[data-state="done"]::before { background: var(--accent); }
.pfad li[data-state="now"]::before { background: var(--honey); }
.pfad small { display: block; font-weight: 600; color: var(--ink-3); font-size: .76rem; font-variant-numeric: tabular-nums; }
.reasons { display: grid; gap: 22px; list-style: none; }
.reasons li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }

.reasons .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--stage); padding: 9px; }
.reasons .ico img { width: 100%; max-height: 100%; object-fit: contain; }
.reasons .ico--bars { align-content: center; justify-items: stretch; gap: 6px; padding: 12px 9px; }
.reasons .ico--bars i { display: block; width: 100%; height: 9px; border-radius: 99px; border: 2px solid var(--stage-ink); background: linear-gradient(90deg, var(--accent) 70%, #fff 70%); }
.reasons .ico--bars i + i { background: linear-gradient(90deg, var(--honey) 45%, #fff 45%); }
.reasons p { color: var(--ink-2); margin-top: 4px; }

/* ── Pause: Atmen + Rätsel ─────────────────────────────── */
.pause { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 20px; align-items: stretch; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; align-content: start; }
.breath { display: grid; place-items: center; height: 230px; }
.breath__ring { width: 200px; height: 200px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; }
.breath__dot { width: 180px; height: 180px; border-radius: 50%; background: var(--stage); border: 2px solid var(--stage-border); color: var(--stage-ink); display: grid; place-items: center; text-align: center; font-weight: 800; padding: 16px; transform: scale(.72); transition: transform 4s ease-in-out; }
.breath__dot span { transition: transform 4s ease-in-out; transform: scale(1.3); display: block; font-size: .86rem; line-height: 1.25; }
.breath[data-phase="ein"] .breath__dot, .breath[data-phase="halten"] .breath__dot { transform: scale(1); }
.breath[data-phase="ein"] .breath__dot span, .breath[data-phase="halten"] .breath__dot span { transform: scale(1.15); }
.breath[data-phase="aus"] .breath__dot, .breath[data-phase="aus"] .breath__dot span { transition-duration: 6s; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.moods li { padding: 6px 14px; border-radius: 99px; background: var(--band); font-weight: 800; font-size: .9rem; }

.game { display: grid; gap: 14px; }
.game__rows { display: grid; gap: 8px; }
.game__row { display: grid; grid-template-columns: repeat(5, 44px) 1fr; gap: 6px; align-items: center; }
.slot { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; font-size: 1.35rem; line-height: 1; padding: 0; color: inherit; font-family: inherit; }
button.slot { cursor: pointer; border-style: dashed; border-color: var(--ink-3); }
button.slot[data-sel="1"] { border-style: solid; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
button.slot[data-fix="1"] { border-style: solid; border-color: var(--good); }
.fb { display: flex; gap: 4px; padding-left: 8px; }
.fb i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 800 .72rem/1 var(--font-body); font-style: normal; color: #fff; }
.fb .g { background: var(--good); } .fb .o { background: var(--warn); } .fb .r { background: var(--bad); }
:root[data-theme="dark"] .fb i { color: #0C1A21; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fb i { color: #0C1A21; } }
.palette { display: flex; flex-wrap: wrap; gap: 6px; }
.palette button { width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line); border-bottom-width: 4px; background: var(--surface); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0; }
.palette button:active { transform: translateY(2px); border-bottom-width: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; font-weight: 700; color: var(--ink-2); list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.game__status { font-weight: 800; min-height: 1.6em; }

.train { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.train__head { display: grid; gap: 12px; }
.train__head p { color: var(--ink-2); }
.train__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.train__lbl { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.train__list { list-style: none; display: grid; }
.train__list li { padding: 13px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.train__list b { font: 700 1.05rem/1.25 var(--font-display); }
.train__list span { font-size: .94rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 960px) { .train { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .train__cols { grid-template-columns: minmax(0, 1fr); } }

/* ── „Nicht bei uns“-Liste ─────────────────────────────── */
.nolist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; border-top: 1px solid var(--line); }
.nolist li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.nolist b { font: 700 1.14rem/1.25 var(--font-display); text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.nolist span { color: var(--ink-2); font-size: .96rem; }

/* ── Türen (Zielgruppen) ───────────────────────────────── */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.door:hover { transform: translateY(-3px); border-color: var(--accent-text); }
.door p { color: var(--ink-2); font-size: .97rem; }
.door .textlink { color: var(--accent-text); margin-top: 6px; }

/* ── Inhaltsseiten ─────────────────────────────────────── */
.page-hero { padding-block: clamp(40px, 6vw, 84px) clamp(28px, 4vw, 48px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: end; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.page-hero__copy { display: grid; gap: 18px; }
.page-hero__art { padding: 18px; display: grid; place-items: center; aspect-ratio: 1; }
.page-hero__art img { max-height: 170px; width: auto; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: .92rem; text-decoration: none; color: var(--ink); }
.toc a:hover { border-color: var(--accent-text); }

.principle { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); padding-block: clamp(32px, 4.5vw, 52px); border-top: 1px solid var(--line); align-items: start; }
.principle__head { display: grid; gap: 12px; position: sticky; top: 92px; }
.principle__body { display: grid; gap: 16px; color: var(--ink-2); }
.principle__body h4 { color: var(--ink); margin-top: 6px; }
.principle__body ul { padding-left: 1.2em; display: grid; gap: 8px; }
.inapp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 8px; color: var(--ink-2); }
.inapp > b { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.inapp ul { padding-left: 1.2em; display: grid; gap: 6px; }
.source { font-size: .86rem; color: var(--ink-3); }

/* Leitner-Schaubild */
.leitner { padding: 22px; display: grid; gap: 14px; }
.leitner__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.leitner__box { background: #fff; border: 2px solid var(--stage-ink); border-radius: 14px; padding: 12px 8px; text-align: center; }
.leitner__box b { display: block; font: 800 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.leitner__box span { font-size: .78rem; font-weight: 700; color: var(--stage-ink-2); }
.leitner__cap { font-size: .9rem; font-weight: 700; color: var(--stage-ink-2); }
.leitner__lbl { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

/* Tabelle Hürde → Antwort */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
tbody th { font-weight: 800; width: 34%; }
td { color: var(--ink-2); }
.nd-group { display: grid; gap: 14px; margin-top: 36px; }
.nd-group:first-of-type { margin-top: 0; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 28px 26px; display: grid; gap: 18px; align-content: start; }
.price--fav { border: 2px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.price__badge { position: absolute; top: -14px; left: 24px; background: var(--honey); color: #2A1B00; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 99px; }
.price__top { display: grid; gap: 4px; }
.price__top h3 { font-size: 1.5rem; }
.price__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price__main b { font: 800 clamp(2.4rem, 5vw, 3.1rem)/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price__main span { color: var(--ink-2); font-weight: 700; }
.price__alt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 700; }
.price__alt b { font: 800 1.35rem/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }

/* Ablauf */
.timeline { list-style: none; counter-reset: t; display: grid; gap: 0; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.timeline li::before { content: counter(t); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 800 1.05rem/1 var(--font-display); z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 6px; background: radial-gradient(circle, var(--ink-3) 2.2px, transparent 2.6px) 50% 0 / 6px 11px repeat-y; }
.timeline p { color: var(--ink-2); margin-top: 4px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deflist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-weight: 800; }
.deflist dd { margin: 0; color: var(--ink-2); }


details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 1.1rem/1.3 var(--font-display); min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 500 1.6rem/1 var(--font-body); color: var(--accent-text); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; display: grid; gap: 10px; }

/* ── Arbeitsblatt → Checkliste ─────────────────────────── */
.sheet2list { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; padding: clamp(18px, 3vw, 30px); }
.sheet2list__arrow { font: 800 1.8rem/1 var(--font-display); color: var(--accent); }
.paper { background: #fff; color: var(--stage-ink); border: 2px solid var(--stage-ink); border-radius: 6px 6px 6px 22px; padding: 16px 16px 20px; box-shadow: 5px 5px 0 rgba(16, 34, 43, .12); transform: rotate(-1.5deg); display: grid; gap: 8px; align-content: start; }
.paper p { font-size: .84rem; line-height: 1.5; color: var(--stage-ink-2); }
.paper__title { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--stage-ink-2); border-bottom: 2px solid #E3ECEE; padding-bottom: 6px; }
.paper--list { transform: rotate(1.2deg); border-radius: 18px; border-color: var(--accent); }
.paper--list ol { list-style: none; display: grid; gap: 8px; counter-reset: p; }
.paper--list li { counter-increment: p; display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; font-weight: 800; font-size: .9rem; line-height: 1.25; }
.paper--list li::before { content: ""; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--stage-ink); background: #fff; }
.paper--list li.done::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--accent); }
.paper--list li.done { text-decoration: line-through; text-decoration-color: var(--stage-ink-2); color: var(--stage-ink-2); }
@media (max-width: 520px) { .sheet2list { grid-template-columns: minmax(0, 1fr); justify-items: stretch; } .sheet2list__arrow { transform: rotate(90deg); justify-self: center; } }

/* Karten mit Bild, Emsis Weg, Beispiel-Eintrag, Über uns */
.plain-card__art { width: 96px; height: 96px; border-radius: var(--r-lg); background: var(--stage); display: grid; place-items: center; padding: 10px; margin-bottom: 6px; }
.plain-card__art img { max-height: 100%; width: auto; }
.evo-strip { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; padding: clamp(18px, 3vw, 30px) clamp(14px, 3vw, 30px) 18px; }
.evo-strip li { display: grid; gap: 8px; justify-items: center; align-content: end; font-size: .8rem; font-weight: 800; text-align: center; color: var(--stage-ink); }
.evo-strip img { max-height: 132px; width: auto; }
.evo-strip li:nth-child(-n+3) img { max-height: 84px; }
.entry-demo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.entry { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; grid-template-columns: 76px 1fr; gap: 18px; box-shadow: var(--shadow); }
.entry__logo { width: 76px; height: 76px; border-radius: 20px; background: var(--stage); border: 2px solid var(--stage-border); color: var(--stage-ink); display: grid; place-items: center; font: 800 1.5rem/1 var(--font-display); }
.entry__body { display: grid; gap: 6px; align-content: start; }
.entry__body p { color: var(--ink-2); font-size: .95rem; }
.entry__url { font-weight: 800; color: var(--accent-text); font-size: .92rem; }
.entry__flag { position: absolute; top: -13px; right: 22px; background: var(--honey); color: #2A1B00; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.rolelist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.rolelist li { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.rolelist b { font: 700 1.05rem/1.25 var(--font-display); }
.rolelist span { color: var(--ink-2); font-size: .93rem; }
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.about__art { padding: 26px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.about__art img { max-height: 240px; width: auto; }
.about__art b { font: 800 1.2rem/1.2 var(--font-display); }
.about__text { display: grid; gap: 18px; font-size: 1.08rem; max-width: 36em; }
.about__text .big { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.3 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.sign { font: 700 1.3rem/1 var(--font-display); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .entry-demo, .about { grid-template-columns: minmax(0, 1fr); } .about__art { max-width: 300px; } .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .evo-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; } .evo-strip img { max-height: 96px; } .entry { grid-template-columns: minmax(0, 1fr); } }

/* ── Kennzeichnung „Zum Ausprobieren“ ───────────────────── */
.try { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--honey); color: #2A1B00; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px 5px 9px; border-radius: 99px; }
.try svg { width: 16px; height: 16px; }

/* ── Emsi als roter Faden an den Abschnittsköpfen ───────── */
.has-guide { position: relative; padding-right: 150px; }
.guide { position: absolute; right: 8px; bottom: 0; height: 128px; width: auto; filter: drop-shadow(0 8px 6px rgba(60, 30, 10, .14)); }
.sec-head.has-guide { max-width: none; }
.sec-head.has-guide > :not(.guide) { max-width: 46rem; }
@media (max-width: 760px) {
  .has-guide { padding-right: 0; }
  .has-guide .eyebrow { padding-right: 84px; min-height: 40px; }
  .guide { height: 72px; top: -22px; bottom: auto; right: 0; }
}

/* ── Mittesten: Kopfzeile und Leiste auf dem Handy ───────── */
.top__cta { min-height: 44px; }
.mcta { display: none; }
@media (max-width: 1100px) {
  .top__cta { display: none; }
  .mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); font-weight: 800; font-size: .95rem; }
  .mcta .btn { flex: none; }
}

/* ── Formular ───────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > legend { font-weight: 800; }
.field .hint { font-size: .88rem; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-md); border: 2px solid var(--line);
  background: var(--bg); color: var(--ink); font: 600 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line); background: var(--bg); font-weight: 800; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 26px; height: 26px; margin: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form__status { font-weight: 800; }
.form__status[data-art="fehler"] { color: var(--bad); }
.form-done { padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; justify-items: start; }
.form-done img { width: 130px; }
@media (max-width: 960px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ── Rechtstexte ───────────────────────────────────────── */
.legal { display: grid; gap: 14px; }
.legal > * { max-width: 46rem; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 26px; letter-spacing: -.02em; }
.legal h3 { font-size: 1.1rem; margin-top: 12px; }
.legal p, .legal li, .legal td { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal address { font-style: normal; color: var(--ink); font-weight: 700; line-height: 1.6; }
.legal .tbl-wrap { margin-block: 4px; }
.legal td, .legal th { padding: 12px 14px; font-size: .93rem; }
.legal .notice p { color: var(--ink-2); }
.legal .notice strong { color: var(--warn); }

.notice { border: 2px dashed var(--warn); border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 8px; }
.notice b { color: var(--warn); }

/* ── Abschluss + Fußzeile ──────────────────────────────── */
.cta { padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cta__copy { display: grid; gap: 14px; }
.cta p { color: var(--stage-ink-2); max-width: 36em; }
.cta img { width: 170px; }
.mail { font-weight: 800; user-select: all; }
.foot { border-top: 1px solid var(--line); padding-block: 44px 32px; margin-top: clamp(40px, 6vw, 72px); }
main > .sec:last-child { padding-bottom: 0; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font: 800 .8rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 2px; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot__about p { color: var(--ink-2); font-size: .95rem; max-width: 26em; margin-top: 12px; }
.foot__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ── Ruhemodus & weniger Bewegung ──────────────────────── */
:root[data-ruhe="1"] *, :root[data-ruhe="1"] *::before, :root[data-ruhe="1"] *::after { animation: none !important; transition: none !important; }
:root[data-ruhe="1"] html, :root[data-ruhe="1"] { scroll-behavior: auto; }
:root[data-ruhe="1"] .door:hover { transform: none; }
:root[data-ruhe="1"] .breath__dot, :root[data-ruhe="1"] .breath__dot span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .breath__dot, .breath__dot span { transform: none; }
}

/* ── Schmal ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter-r) 16px var(--gutter-l); gap: 0; }
  .nav[data-open="1"] { display: flex; }
  .nav a { min-height: 52px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--honey); }
  }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter-r) 16px var(--gutter-l); gap: 0; }
  .nav[data-open="1"] { display: flex; }
  .nav a { min-height: 52px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--honey); }
    .hero__grid, .grow, .pause, .principle, .two, .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .principle__head { position: static; }
  .page-hero__art { display: none; }
  .mission { grid-template-columns: 110px minmax(0, 1fr); }
  .mission__why { grid-column: 1 / -1; }
  .doors, .three { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  p, li, dd, td, th { hyphens: auto; overflow-wrap: break-word; }
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
  .lead, .hero__note, .tile p, .paper p { hyphens: manual; }
  .paper, .paper--list { transform: none; }
  .top__in { min-height: 58px; gap: 8px; }
  .brand { font-size: 1.25rem; gap: 8px; } .brand img { width: 34px; height: 34px; }
  .iconbtn { min-height: 44px; padding: 0 12px; }
  .sec { padding-block: 48px; } .hero { padding-block: 24px 40px; }
  .hero__copy { gap: 18px; } .hero .btn-row .btn { flex: 1 1 100%; }
  .facts li { padding: 16px 12px 16px 0; } .facts li + li { padding-left: 12px; } .facts b { font-size: 1.45rem; }
  .price { padding: 28px 20px 22px; }
  .swap, .pair, .prices, .nolist, .cta { grid-template-columns: minmax(0, 1fr); }
  .cta img { width: 120px; }
  .mission { grid-template-columns: minmax(0, 1fr); }
  .mission__art { width: 120px; }
  .pfad { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; }
  .deflist > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bubble { position: static; display: inline-block; margin-bottom: 4px; }
  .hero-stage__emsi { margin-top: 12px; }
  .game__row { grid-template-columns: repeat(5, 40px) 1fr; gap: 4px; }
  .slot { width: 40px; height: 40px; font-size: 1.2rem; }
  .fb { padding-left: 4px; gap: 2px; } .fb i { width: 17px; height: 17px; font-size: .6rem; border-radius: 5px; }
  .palette button { width: 44px; height: 44px; }
  .foot__grid { grid-template-columns: 1fr; }
  .leitner__row { gap: 5px; } .leitner__box { padding: 10px 2px; }
}
