/*
 * Die Startseite von Zwinka - dieselben Farben, Schriften und Formen wie die App (DESIGN.md).
 *
 * Warm ist, was andere dir gegeben haben; kuehl ist, was du selbst tust. Auch hier: Knoepfe und
 * Links kuehl, Geschenke und Raenge warm.
 */
:root {
    /* warmes Creme wie der helle Teil der Startseite (15.10.2026) - kein graues Weiss */
    --ground: #FFF8EC;
    --card: #FFFFFF;
    --line: #E6E6E2;
    --ink: #17292D;
    --honey: #E8A31E;
    --teal: #0E9B72;
    --on-warm: #2E1D00;
    --on-cool: #FFFFFF;
    --ink-2: color-mix(in srgb, var(--ink) 68%, var(--ground));
    --ink-3: color-mix(in srgb, var(--ink) 45%, var(--ground));
    --card-2: color-mix(in srgb, var(--card) 94%, var(--ink));
    --line-2: color-mix(in srgb, var(--line) 70%, var(--ink));
    --teal-dark: color-mix(in srgb, var(--teal) 78%, #000000);
    --teal-soft: color-mix(in srgb, var(--teal) 12%, var(--card));
    --honey-soft: color-mix(in srgb, var(--honey) 13%, var(--card));
    --honey-deep: color-mix(in srgb, var(--honey) 75%, var(--ink));
    --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --width: 1080px;
}

* { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-dark); }
img, svg { display: block; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--teal); }
.brand svg { width: 26px; height: 26px; }
/* Zeilenhoehe 1 wie in der App - sonst haengt das Zwinkern ueber dem i an der hohen Zeile und sitzt zu weit oben */
.brand .name { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.brand .name b { color: var(--honey); font-weight: 800; }
/* das Zwinkern ueber dem i - wie in der App: ein Bogen in Honig, wo sonst der Punkt saesse */
.brand .i { position: relative; display: inline-block; }
.brand .wink { position: absolute; left: 50%; top: 0.035em; width: 0.3em; height: 0.18em; transform: translateX(-50%); overflow: visible; }
.brand .wink path { fill: none; stroke: var(--honey); stroke-width: 3; stroke-linecap: round; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform 0.12s ease-out, box-shadow 0.12s ease-out; }
.btn.primary { background: var(--teal); color: var(--on-cool); box-shadow: 0 6px 18px color-mix(in srgb, var(--teal) 28%, transparent); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.nav .btn { padding: 8px 18px; color: inherit; }
.nav .btn.primary { color: var(--on-cool); }

/* ---------- Buehne ---------- */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.eyebrow span { padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h1 em { font-style: normal; color: var(--teal); }
.lead { margin: 18px 0 0; font-size: 19px; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.small-print { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }

/*
 * ---------- Die Bühne vor dem Start (13.10.2026) ----------
 *
 * Die Startseite ist, solange die Testphase läuft, ein Vorgeschmack: Slimy lugt aus einer Kiste,
 * dahinter liegt schräg ein Spiel, das noch verschwommen ist. Flach getönt wie die App, ohne
 * Farbverläufe; was sich bewegt, bewegt sich langsam und hört bei reduzierter Bewegung auf.
 */
.soon { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-deep); font-size: 13.5px; font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--honey); animation: soon-pulse 2.4s ease-in-out infinite; }
@keyframes soon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--honey) 55%, transparent); }
    60% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--honey) 0%, transparent); }
}

/* der Zugangscode: Feld und Knopf in einer Zeile, auf dem Telefon untereinander */
.code { margin-top: 28px; max-width: 470px; }
.code-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1 1 auto; min-width: 0; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.code-row input::placeholder { color: var(--ink-3); font-weight: 500; }
.code-row input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.code-row .btn { border: 0; cursor: pointer; font-family: inherit; }

.stage { position: relative; min-height: 440px; }

/* hinten: ein Spielfenster, schräg und verschwommen - man sieht, DASS gespielt wird, nicht was */
.peek-game { position: absolute; top: 10px; right: 0; width: 72%; padding: 14px 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(23, 41, 45, 0.08); transform: rotate(4deg); filter: blur(2.4px); }
.game-head { display: flex; align-items: center; gap: 6px; }
.game-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.game-title { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--teal-dark); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.tiles span { aspect-ratio: 1; border-radius: 12px; background: var(--teal); }
.tiles span:nth-child(3n + 2) { background: color-mix(in srgb, var(--teal) 78%, var(--card)); }
.tiles .open { background: var(--honey-soft) !important; position: relative; }
.tiles .open::after { content: ''; position: absolute; inset: 26%; border-radius: 50%; background: #E45B5B; }
.tiles .star::after { border-radius: 3px; background: var(--honey); transform: rotate(45deg); inset: 30%; }

/* der Zettel auf dem Spiel - scharf, als einziges in der hinteren Ebene */
.secret { position: absolute; top: 4px; right: 18%; z-index: 2; padding: 6px 12px; border-radius: 6px; background: #FFF3B8; color: var(--on-warm); font-size: 13px; font-weight: 800; transform: rotate(-6deg); box-shadow: 0 6px 14px rgba(23, 41, 45, 0.12); }

/* vorn: die Kiste, aus der Slimy lugt */
.box { position: absolute; left: 4%; bottom: 0; width: 64%; z-index: 1; }
.slimy { position: relative; z-index: 0; display: block; width: 66%; margin: 0 auto -12%; overflow: visible; }
.slimy .blob { transform-origin: 105px 181px; animation: slimy-wobble 3.6s ease-in-out infinite; }
.slimy .eyes { transform-origin: 105px 124px; animation: slimy-blink 5.2s ease-in-out infinite; }
@keyframes slimy-wobble {
    0%, 100% { transform: scale(1, 1); }
    45% { transform: scale(1.03, 0.97); }
    70% { transform: scale(0.98, 1.025); }
}
@keyframes slimy-blink {
    0%, 92%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}
.crate { position: relative; z-index: 1; height: 150px; border: 3px solid #4B4853; border-radius: 10px 10px 16px 16px; background: #E3B57F; box-shadow: 0 18px 36px rgba(23, 41, 45, 0.12); }
.crate::before { content: ''; position: absolute; left: -10px; right: -10px; top: -14px; height: 22px; border: 3px solid #4B4853; border-radius: 8px; background: #EBC18E; }
.tape { position: absolute; left: 50%; top: -14px; bottom: 0; width: 34px; transform: translateX(-50%); background: color-mix(in srgb, #FFF3E2 70%, transparent); border-left: 2px dashed color-mix(in srgb, #4B4853 25%, transparent); border-right: 2px dashed color-mix(in srgb, #4B4853 25%, transparent); }
.label { position: absolute; right: 9%; bottom: 22px; padding: 6px 10px; border-radius: 6px; background: #FFFFFF; border: 2px solid #4B4853; font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1.15; color: #4B4853; transform: rotate(3deg); }

/* die Kachel, die noch nichts verrät */
.feature .mark.slime { background: color-mix(in srgb, #6FAFD8 16%, var(--card)); }
.hidden-one { position: relative; overflow: hidden; border-style: dashed; }
.hidden-one .blurred { filter: blur(5px); opacity: 0.7; user-select: none; }
.hidden-one .lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--teal-dark); font-weight: 800; text-align: center; padding: 16px; }
.hidden-one .lock svg { width: 26px; height: 26px; }

/* ---------- Abschnitte ---------- */
section { padding: 56px 0; }
h2 { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.section-lead { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.feature .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.feature .mark svg { width: 24px; height: 24px; }
.feature .mark.cool { background: var(--teal-soft); }
.feature .mark.warm { background: var(--honey-soft); }
.feature h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.feature p { margin: 6px 0 0; color: var(--ink-2); }

.rules { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.rules ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.rules .number { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; font-size: 14px; }
.rules b { display: block; }
.rules span { color: var(--ink-2); font-size: 15px; }

.band { margin: 24px 0 64px; background: var(--teal); color: var(--on-cool); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { color: inherit; }
.band p { margin: 8px 0 0; opacity: 0.9; }
.band .btn { background: var(--honey); color: var(--on-warm); }

/*
 * ---------- Textseiten (13.10.2026) ----------
 *
 * Alle Seiten ausser der Startseite haben denselben Aufbau: oben ein getoenter Kopf mit Brotkrumen,
 * Titel und einem Satz, darunter der Text - bei langen Seiten mit einem Inhaltsverzeichnis daneben
 * (auf dem Telefon als Reihe von Sprungmarken obendrueber). Kopf- und Fusszeile sind auf allen
 * Seiten wortgleich: wer eine Seite dazunimmt, nimmt sie in beide auf, auf JEDER Seite.
 */
.page-head { padding: 44px 0 40px; background: var(--teal-soft); border-bottom: 1px solid color-mix(in srgb, var(--teal) 16%, var(--card)); }
.page-head.warm { background: var(--honey-soft); border-bottom-color: color-mix(in srgb, var(--honey) 24%, var(--card)); }
.page-head .wrap { max-width: 860px; }
.page-head h1 { font-size: clamp(34px, 5vw, 50px); }
.page-head .lead { margin-top: 12px; font-size: 18px; }
.page-head .notice { margin-top: 18px; background: var(--card); border: 1px dashed var(--honey); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--teal-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head.warm .crumbs a { color: var(--honey-deep); }

.doc { max-width: 860px; padding-top: 36px; padding-bottom: 72px; }
.doc.with-toc { max-width: var(--width); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc b { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 600; line-height: 1.3; }
.toc a:hover { color: var(--teal-dark); border-left-color: var(--teal); }

.prose { min-width: 0; max-width: 720px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 24px; margin: 40px 0 0; scroll-margin-top: 88px; }
.prose h3 { margin: 22px 0 0; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 10px 0 0; }
.prose ul, .prose ol { margin: 10px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose b, .prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose .group { margin-top: 44px; }
.prose .group:first-child { margin-top: 0; }
.prose .group > h2 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.prose .group > h2 .mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); flex: 0 0 auto; }
.prose .group > h2 .mark.warm { background: var(--honey-soft); }
.prose .group > h2 .mark svg { width: 20px; height: 20px; }

/* Aufklapper (Fragen) */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-top: 10px; scroll-margin-top: 88px; }
details:hover { border-color: var(--line-2); }
details[open] { padding-bottom: 18px; border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }
summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; }
details[open] summary::after { content: '–'; }
summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
details p { margin: 0; }
details p + p, details p + ul, details ul + p { margin-top: 8px; }

.todo { background: var(--honey-soft); border: 1px dashed var(--honey); border-radius: 8px; padding: 1px 7px; color: var(--honey-deep); font-weight: 600; }
.notice { background: var(--honey-soft); border-radius: var(--radius); padding: 14px 18px; color: var(--ink-2); margin-top: 18px; }
.callout { margin-top: 18px; padding: 16px 20px; border-radius: var(--radius); background: var(--teal-soft); color: var(--ink-2); }
.callout.warm { background: var(--honey-soft); }
.callout b { color: var(--ink); }
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }
.version { margin-top: 32px; font-size: 13.5px; color: var(--ink-3); }

/* die Grundsaetze, ausfuehrlich: Nummer, Satz, Beispiele */
.guidelines { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.guidelines > li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 !important; }
.guidelines .number { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--on-cool); font-weight: 800; }
.guidelines b { display: block; font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.guidelines span { display: block; margin-top: 2px; color: var(--ink-2); }
.examples { margin: 8px 0 0 !important; padding-left: 18px !important; font-size: 15px; color: var(--ink-2); }
.examples li + li { margin-top: 2px; }

/* die Stufen der Moderation - eine Leiter, die von links nach rechts schaerfer wird */
.ladder { list-style: none; margin: 16px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.ladder li { margin: 0 !important; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 14.5px; }
.ladder li b { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; }
.ladder li:nth-child(1) { border-top: 4px solid color-mix(in srgb, var(--honey) 45%, var(--card)); }
.ladder li:nth-child(2) { border-top: 4px solid color-mix(in srgb, var(--honey) 70%, var(--card)); }
.ladder li:nth-child(3) { border-top: 4px solid var(--honey); }
.ladder li:nth-child(4) { border-top: 4px solid #E45B5B; }

/* nummerierte Schritte (So geht's) */
.walk { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; counter-reset: walk; }
.walk > li { position: relative; margin: 0 !important; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.walk > li::before { counter-increment: walk; content: counter(walk); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-family: var(--display); font-size: 24px; font-weight: 800; }
.walk > li.warm::before { background: var(--honey-soft); color: var(--honey-deep); }
.walk h3 { margin: 4px 0 0 !important; font-size: 20px !important; color: var(--ink); }
.walk p { margin: 6px 0 0 !important; }
.walk .tag { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-deep); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0; vertical-align: 3px; }

/* Preise: je Buendel Betrag, Muenzen und Kurs - nebeneinander, damit man vergleicht, ohne zu rechnen */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.price { padding: 18px 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.price .euro { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.price .coins { margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--honey-deep); }
.price .rate { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.price .first { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-deep); font-size: 12.5px; font-weight: 700; }
.plans { grid-template-columns: repeat(2, 1fr); }
.perks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.perks li { margin: 0 !important; padding: 10px 14px 10px 38px; position: relative; border-radius: 12px; background: var(--teal-soft); color: var(--ink) !important; font-weight: 600; font-size: 15px; }
.perks li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 12px; height: 7px; border-left: 2.5px solid var(--teal-dark); border-bottom: 2.5px solid var(--teal-dark); transform: translateY(-70%) rotate(-45deg); }

/* ---------- Hilfe-Center ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color 0.12s ease-out, transform 0.12s ease-out; }
.topic:hover { border-color: var(--teal); transform: translateY(-2px); }
.topic:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.topic .mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); margin-bottom: 6px; }
.topic .mark.warm { background: var(--honey-soft); }
.topic .mark svg { width: 24px; height: 24px; }
.topic b { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.topic span { color: var(--ink-2); font-size: 15px; }
.topic .go { margin-top: auto; padding-top: 8px; color: var(--teal-dark); font-weight: 700; font-size: 14px; }

.popular { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.popular a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.popular a::after { content: '→'; color: var(--teal-dark); font-weight: 800; }
.popular a:hover { border-color: var(--teal); }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.contact > div { padding: 18px 20px; border-radius: 18px; background: var(--teal-soft); }
.contact > div.warm { background: var(--honey-soft); }
.contact b { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }
.contact p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

.hub h2 { margin-top: 0; }
.hub section { padding: 0; margin-top: 52px; }
.hub section:first-child { margin-top: 0; }
.hub .section-lead { margin-bottom: 18px; }

/* ---------- Fuss ---------- */
/*
 * Kontakt & Meldestelle (17.10.2026, DSA Art. 11, 12, 16) - Praefix `mf-` fuer das Meldeformular.
 * Das Formular steht auf einer weissen Karte mit Linie wie die anderen Kacheln; getoent sind nur
 * die Kontaktkacheln (kuehl), der Hinweis zur anonymen Meldung (warm) und die Bestaetigung (kuehl).
 * Keine grauen Flaechen, keine Verlaeufe.
 */
.mf-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.mf-contact > div { padding: 14px 16px; border-radius: var(--radius); background: var(--teal-soft); color: var(--ink-2); font-size: 15px; }
.mf-contact b { display: block; margin-bottom: 2px; font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--ink); }
.mf-form { margin-top: 18px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 16px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mf-field label { font-weight: 700; color: var(--ink); font-size: 15px; }
.mf-need { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-deep); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.mf-need.mf-free { background: var(--teal-soft); color: var(--teal-dark); }
.mf-field input, .mf-field select, .mf-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; }
.mf-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus, .mf-check input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.mf-hint { margin: 0 !important; font-size: 13.5px; color: var(--ink-3) !important; }
.mf-count { text-align: right; }
.mf-count.mf-short { color: var(--honey-deep) !important; }
.mf-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mf-anon { margin: -6px 0 0 !important; padding: 12px 16px; border-radius: 12px; background: var(--honey-soft); font-size: 14.5px; }
.mf-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mf-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--ink); font-weight: 600; }
.mf-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.mf-error { margin: 0 !important; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, #E45B5B 12%, var(--card)); color: #9B2C2C !important; font-weight: 600; }
.mf-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mf-send .btn { border: 0; cursor: pointer; font-family: inherit; }
.mf-send .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.mf-done { margin-top: 18px; padding: 20px 22px; border-radius: 18px; background: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--card)); }
.mf-done:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.mf-done b { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--ink); }
.mf-done p { margin: 6px 0 0; }
.mf-form[hidden], .mf-done[hidden], .mf-anon[hidden], .mf-error[hidden], .mf-done p[hidden] { display: none; }

.foot { margin-top: 0; border-top: 1px solid #EFE4CC; padding: 54px 0 36px; color: var(--ink-3); font-size: 14px; background: var(--ground); }
.foot .cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.foot .about p { margin: 10px 0 0; max-width: 26em; color: var(--ink-2); }
.foot h4 { margin: 0 0 10px; font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--honey-deep); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--teal-dark); }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #E8DFCC; font-weight: 600; color: var(--ink); }

@media (max-width: 860px) {
    .hero .wrap, .rules { grid-template-columns: 1fr; }
    .stage { min-height: 400px; max-width: 460px; width: 100%; margin: 0 auto; }
    .features { grid-template-columns: 1fr; }
    .nav { gap: 16px; }
    .nav .hide-small { display: none; }
    .band { padding: 28px; }
    .doc.with-toc { grid-template-columns: 1fr; gap: 0; }
    .toc { position: static; margin-bottom: 8px; }
    .toc ol { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
    .toc a { margin: 0; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13.5px; }
    .toc a:hover { border-color: var(--teal); }
    .topics { grid-template-columns: repeat(2, 1fr); }
    .contact { grid-template-columns: 1fr; }
    .ladder { grid-template-columns: repeat(2, 1fr); }
    .foot .cols { grid-template-columns: repeat(3, 1fr); }
    .foot .about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    /* nur seitlich - oben und unten haben manche .wrap-Bloecke (.doc) eigene Abstaende */
    .wrap { padding-left: 16px; padding-right: 16px; }
    .code-row { flex-direction: column; }
    .stage { min-height: 360px; }
    .crate { height: 120px; }
    .topics, .popular, .prices, .plans, .perks { grid-template-columns: 1fr; }
    .walk > li { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
    .mf-contact, .mf-pair { grid-template-columns: 1fr; }
    .mf-form { padding: 18px 16px; }
    .walk > li::before { width: 42px; height: 42px; font-size: 20px; border-radius: 13px; }
    .page-head { padding: 32px 0 28px; }
    .page-head .lead { font-size: 17px; }
    .foot .cols { grid-template-columns: 1fr 1fr; }
    .nav .btn { padding: 7px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .btn, .topic { transition: none; }
    .pulse, .slimy .blob, .slimy .eyes { animation: none; }
}

/* Links im Band auf dem kuehlen Grund - weiss und unterstrichen, sonst verschwinden sie */
.band p a { color: inherit; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--teal-dark); }

/* Abschnitte im Text erben nicht den grossen Abstand der Startseite */
.prose section { padding: 0; }
.prose .popular { padding: 0; margin-top: 14px; }
.prose .popular li { margin: 0; }
/* bei Seiten mit Inhaltsverzeichnis steht der Kopf ueber der Textspalte, nicht ueber dem Verzeichnis */
.page-head.wide .wrap { max-width: var(--width); padding-left: calc(20px + 268px); }
@media (max-width: 860px) {
    .page-head.wide .wrap { padding-left: 20px; }
}
@media (max-width: 560px) {
    .page-head.wide .wrap { padding-left: 16px; }
}

/* ---------- Voranmeldung (14.10.2026) ---------- */

/*
 * Was nur während der Voranmeldung steht (`.only-prelaunch`) und was nur ohne sie
 * (`.only-teaser`). Den Schalter setzt vorab.js an <html>, sobald der Server sagt, dass sie läuft -
 * ohne Antwort bleibt die Seite der Testphase stehen.
 */
html:not(.prelaunch) .only-prelaunch { display: none !important; }
html.prelaunch .only-teaser { display: none !important; }

.prelaunch-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; max-width: 470px; }
.prelaunch-cta .small-print { flex-basis: 100%; margin-top: 4px; }
.btn.big { padding: 14px 28px; font-size: 17px; }

/* während der Voranmeldung tritt das Code-Feld einen Schritt zurück */
html.prelaunch .code { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
html.prelaunch .code-label { font-size: 14px; color: var(--ink-2); }

.perks-section { background: var(--honey-soft); border-top: 1px solid color-mix(in srgb, var(--honey) 24%, var(--card)); border-bottom: 1px solid color-mix(in srgb, var(--honey) 24%, var(--card)); }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 22px; }
.perk .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.perk .mark svg { width: 24px; height: 24px; }
.perk .mark.cool { background: var(--teal-soft); }
.perk .mark.warm { background: var(--honey-soft); }
.perk h3 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.perk p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.perk p b { color: var(--ink); }
.perks-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 900px) {
    .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .perks { grid-template-columns: minmax(0, 1fr); }
    .prelaunch-cta .btn { flex: 1 1 auto; }
}

/*
 * Am Telefon (15.10.2026, Mobil-Pruefung): Eingaben mit sechzehn Pixeln - darunter zoomt Safari
 * beim Antippen hinein -, und kleine Links bekommen eine Flaeche, die ein Finger trifft, ohne
 * dass sich am Bild etwas verschiebt.
 */
@media (max-width: 860px) {
    .code-row input { font-size: 16px; }
}
@media (max-width: 560px) {
    .nav a:not(.btn):not(.hide-small) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
    .toc a { display: inline-flex; align-items: center; min-height: 36px; }
    .foot ul { gap: 4px; }
    .foot li a { display: inline-flex; align-items: center; min-height: 34px; }
}

/* Ueber zwinka (16.10.2026): die Unterschrift unter dem Text - in Handschrift, wie eine Notiz */
@font-face { font-family: 'Caveat'; src: url('fonts/caveat-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
.prose .sign-off { margin-top: 28px; font-family: 'Caveat', cursive; font-size: 32px; font-weight: 600; color: var(--teal-dark, #0B795A); }
