/* Kennst mi? – Gestaltungsbausteine laut Konzept: Papier, Tinte, Tanne, Preiselbeere, Honig. */
@font-face { font-family: Inter; src: url(/schriften/inter.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/schriften/fraunces-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --papier: #FBF6EE; --tinte: #201A14; --grau: #5F564C; --linie: #E6DCCB;
  --tanne: #1F5C4A; --tanne-hell: #E3EFE9; --beere: #C2334D; --beere-hell: #F8E1E5; --honig: #F2B441; --honig-hell: #FBEFD3; --weiss: #FFFFFF;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--papier); color: var(--tinte); font: 400 1rem/1.5 var(--sans); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 30rem; margin: 0 auto; padding: 1.25rem 1.25rem 1rem; }
main { flex: 1; display: flex; flex-direction: column; }
#buehne { display: flex; flex-direction: column; flex: 1; }
a { color: var(--tanne); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
h1:focus { outline: none; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.unsichtbar { position: absolute; left: -9999px; }
svg.strich { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.leiste { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; min-height: 2rem; }
.kopf-links { display: flex; flex-direction: column; }
/* Werbehinweis oben auf jedem Bildschirm, damit er ohne Scrollen sichtbar ist */
.mit-werbung { font-size: .85rem; font-weight: 600; color: var(--tinte); }
.marke { font: 700 1.2rem var(--serif); color: var(--tanne); text-decoration: none; }
.pille { font-size: .8rem; font-weight: 600; color: var(--grau); background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: .25rem .65rem; }

.fuss { margin-top: 1.75rem; border-top: 1px solid var(--linie); padding-top: .65rem; text-align: center; font-size: .8rem; line-height: 1.55; color: var(--grau); }
.fuss b { color: var(--tinte); }
.fuss a { color: var(--grau); }
.fuss p + p { margin-top: .3rem; }

/* Fragen */
.fortschritt { display: flex; gap: 5px; margin-bottom: 1.4rem; }
.fortschritt i { flex: 1; height: 5px; border-radius: 3px; background: var(--linie); }
.fortschritt i.voll { background: var(--tanne); }
.fortschritt i.jetzt { background: var(--honig); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--beere); margin-bottom: .5rem; }
.frage { font-size: 1.7rem; margin-bottom: 1.2rem; }
.raster { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.raster.n2, .raster.n3 { grid-template-columns: 1fr; }
.antwort { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 18px; padding: .85rem .75rem; min-height: 7.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; text-align: left; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.antwort svg { width: 2rem; height: 2rem; color: var(--tanne); flex: none; }
.antwort:hover { border-color: var(--tanne); }
.antwort.gewaehlt { border: 2px solid var(--tanne); background: var(--tanne-hell); }
.raster.n2 .antwort, .raster.n3 .antwort, .raster.n10 .antwort { flex-direction: row; justify-content: flex-start; align-items: center; min-height: 3.5rem; }
.raster.n10 .antwort { padding: .6rem .65rem; font-size: .9rem; }
.raster.n10 .antwort svg { width: 1.6rem; height: 1.6rem; }
.hinweis { font-size: .875rem; color: var(--grau); margin-top: 1rem; line-height: 1.45; }
.hinweis.mitte { text-align: center; margin-top: .65rem; }
.wege { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.25rem; margin-top: .9rem; text-align: center; }
.leise, .zweit { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: .5rem .15rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
.leise { font-size: .875rem; color: var(--grau); }
.zweit { font-weight: 600; font-size: .95rem; color: var(--tanne); }

/* Knöpfe und Felder */
.knopf { display: block; width: 100%; background: var(--tanne); color: #fff; font-weight: 700; font-size: 1rem; text-align: center; text-decoration: none; border: 0; border-radius: 14px; padding: .85rem .75rem; min-height: 3rem; margin-top: 1rem; }
.knopf.beere { background: var(--beere); }
.knopf.gross { font-size: 1.1rem; padding: 1rem; border-radius: 16px; }
.feld, textarea { width: 100%; font: inherit; color: var(--tinte); background: var(--weiss); border: 1.5px solid var(--grau); border-radius: 14px; padding: .8rem .9rem; }
.feld { font-size: 1.2rem; font-weight: 600; }
.meldung { font-size: .9rem; font-weight: 600; color: var(--beere); margin-top: .5rem; min-height: 1.3rem; text-align: center; }
.meldung.gut { color: var(--tanne); }

/* Auflösung */
.ergebnis { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.ergebnis h1 { font-size: 1.4rem; }
.ergebnis p { font-size: .875rem; color: var(--grau); line-height: 1.4; margin-top: .3rem; }
.ring { width: 5rem; height: 5rem; flex: none; }
.ring-grund, .ring-wert { fill: none; stroke-width: 8; }
.ring-grund { stroke: var(--linie); }
.ring-wert { stroke: var(--tanne); stroke-linecap: round; }
.ring-zahl { font: 700 19px var(--serif); fill: var(--tinte); }
.steckbrief { background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; padding: .8rem 1rem; margin-bottom: 1rem; }
.typ { display: flex; gap: .75rem; align-items: center; padding-bottom: .65rem; border-bottom: 1px solid var(--linie); margin-bottom: .6rem; }
.typ-zeichen { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--tanne); color: #fff; display: grid; place-items: center; flex: none; }
.typ-zeichen svg { width: 1.6rem; height: 1.6rem; }
.typ small { display: block; font-size: .75rem; color: var(--grau); }
.typ strong { font: 700 1.2rem/1.2 var(--serif); }
.steckbrief ul, .tipps { list-style: none; display: grid; gap: .45rem; }
.steckbrief li, .tipps li { font-size: .9rem; display: flex; gap: .6rem; align-items: flex-start; }
.punkt { width: 1.25rem; height: 1.25rem; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-top: .1rem; }
.punkt.ja { background: var(--tanne-hell); color: var(--tanne); }
.punkt.nein { background: var(--beere-hell); color: var(--beere); }
.vergleich { border: 1px solid var(--linie); border-radius: 18px; padding: .2rem 1rem; margin-bottom: 1.25rem; background: var(--weiss); }
.vergleich summary { font-weight: 600; font-size: .95rem; cursor: pointer; padding: .65rem 0; min-height: 2.75rem; }
.vergleich .tipps { padding-bottom: .8rem; }
.tipps b { display: block; font-weight: 600; }
.tipps small { display: block; color: var(--grau); font-size: .8rem; }

.abschnitt { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .3rem; }
.abschnitt h2 { font-size: 1.2rem; }
/* „Anzeige" in Fließtextgröße und voller Farbe, nie grau auf grau */
.anzeige { font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tinte); border: 1.5px solid var(--tinte); border-radius: 5px; padding: .1rem .5rem; flex: none; }
.offen { font-size: .85rem; line-height: 1.45; color: var(--grau); margin-bottom: .7rem; }
.chips { display: flex; gap: .5rem; margin-bottom: .75rem; flex-wrap: wrap; }
.chip { font-size: .875rem; font-weight: 600; padding: .5rem .9rem; min-height: 2.75rem; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--weiss); color: var(--grau); }
.chip.aktiv { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.idee { background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; padding: .85rem .9rem .8rem; display: grid; grid-template-columns: 3.25rem 1fr; gap: .65rem .75rem; margin-bottom: .75rem; }
.idee .bild { width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--honig-hell); color: #7A5200; display: grid; place-items: center; }
.idee .bild svg { width: 1.75rem; height: 1.75rem; }
.schild { display: inline-block; font-size: 1rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--tinte); margin-bottom: .15rem; }
.idee strong { font-size: 1rem; line-height: 1.25; display: block; }
.idee p { font-size: .85rem; color: var(--grau); line-height: 1.4; margin-top: .2rem; }
.idee .knopf { grid-column: 1 / -1; margin-top: 0; }
.partner { grid-column: 1 / -1; text-align: center; font-size: .8rem; color: var(--grau); }
.ideen > .partner { margin-top: .25rem; }
.weiter { margin-top: 1.5rem; background: var(--honig-hell); border-radius: 18px; padding: 1.1rem 1rem; text-align: center; }
.weiter h2 { font-size: 1.3rem; }
.weiter p { font-size: .9rem; margin-top: .4rem; }
.weiter .nachricht { margin-top: .75rem; text-align: left; }

/* Weitertragen */
.karte { background: var(--tanne); color: #fff; border-radius: 24px; padding: 1.1rem 1.4rem 1.2rem; text-align: center; margin: 0 .5rem 1rem; }
.k-marke { font: 700 1rem var(--serif); color: var(--honig); }
.k-bild { width: 3.75rem; height: 3.75rem; border-radius: 50%; background: rgba(255,255,255,.13); margin: .6rem auto .5rem; display: grid; place-items: center; }
.k-bild svg { width: 2.25rem; height: 2.25rem; }
.karte h1 { font-size: 1.7rem; line-height: 1.15; margin-bottom: .5rem; }
.karte p { font-size: .95rem; line-height: 1.4; }
.nachricht { background: var(--weiss); border: 1px solid var(--linie); border-radius: 16px 16px 16px 4px; padding: .65rem .85rem .75rem; }
.nachricht label { display: block; font-size: .8rem; color: var(--grau); margin-bottom: .3rem; }
.nachricht textarea { border-width: 1px; border-color: var(--linie); border-radius: 10px; padding: .5rem .6rem; font-size: .95rem; line-height: 1.4; resize: vertical; }
.vorschau { margin-top: .5rem; border: 1px solid var(--linie); border-radius: 10px; padding: .45rem .65rem; font-size: .8rem; line-height: 1.4; color: var(--grau); background: var(--papier); }
.vorschau b { color: var(--tinte); display: block; }
.vorschau i { display: block; font-style: normal; }

/* Startseite */
.held h1 { font-size: 2.1rem; margin: .5rem 0 .75rem; }
.held p { font-size: 1.05rem; }
.schritte { list-style: none; display: grid; gap: .75rem; margin: 1.75rem 0 0; counter-reset: s; }
.schritte li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; padding: .8rem 1rem .8rem 3.4rem; position: relative; font-size: .95rem; counter-increment: s; }
.schritte li::before { content: counter(s); position: absolute; left: 1rem; top: .8rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--tanne); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.schritte b { display: block; }
.kasten { background: var(--tanne-hell); border-radius: 18px; padding: .9rem 1rem; margin-top: 1.25rem; font-size: .95rem; }
.kasten.honig { background: var(--honig-hell); }
.kasten h2 { font-size: 1.1rem; margin-bottom: .3rem; }
.kasten .wege { margin-top: .3rem; justify-content: flex-start; }

/* Textseiten */
.text h1 { font-size: 1.7rem; margin-bottom: .9rem; }
.text h2 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.text p, .text ul, .text ol, .text dl { margin-bottom: .75rem; font-size: .95rem; }
.text ul, .text ol { padding-left: 1.25rem; }
.text li { margin-bottom: .3rem; }
.text dt { font-weight: 600; font-size: .85rem; color: var(--grau); margin-top: .6rem; }
.text dd { margin: 0; }
.text address { font-style: normal; margin-bottom: .75rem; }
.stand { font-size: .85rem; color: var(--grau); }

/* Konfetti ab 75 %, nur ohne „Bewegung reduzieren" */
.konfetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.konfetti i { position: absolute; top: -1rem; width: .5rem; height: .85rem; border-radius: 2px; animation: fall 2s linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (min-width: 34rem) { body { padding-top: 2rem; } }
