/* achewald.de (Die Wächterinnen vom Achewald) – ein Stylesheet, keine Fremdquellen, Schriften lokal (SIL OFL, siehe /assets/fonts/OFL.txt) */

/* Schriften seit Runde 7 (Georg 20.10.2026): Grandstander (Überschriften) + Nunito (Text), je eine variable Datei für alle Stärken */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("/assets/fonts/grandstander.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --nacht: #14213d;      /* Nachthimmel vom Cover */
  --nacht-2: #22365c;
  --gold: #f0c45c;       /* Titel-Gold */
  --creme: #fbf5e6;      /* Seitenhintergrund (Papier) */
  --papier: #fffdf7;     /* Karten */
  --tinte: #2b1d10;      /* Fließtext */
  --tinte-2: #5b4630;    /* Nebentext */
  --fuchs: #a8430f;      /* Kupfer (dunkel): Links, Akzente auf hellem Grund, Kontrast 5,6:1 (seit 21.10.: Achewald-Cover) */
  --kupfer-hell: #f59a4e; /* Kupfer wie der Untertitel auf dem Cover: Untertitel auf Nachtblau, Kontrast 5,5–7,3:1 */
  --moos: #3d5a22;
  --rand: #e3d4b2;
  --schatten: 0 1px 2px rgba(43, 29, 16, .08), 0 6px 18px rgba(43, 29, 16, .08);
  --radius: 14px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;          /* 17 px Nunito (wirkt so groß wie die frühere 19-px-Buchschrift), gut lesbar für Kinder */
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fuchs); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main :focus-visible { outline-color: var(--fuchs); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: clamp(2.1rem, 8vw, 3.4rem); font-weight: 700; letter-spacing: .01em; }
h2 { font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: clamp(1.6rem, 5.5vw, 2.25rem); font-weight: 700; color: var(--nacht); }
h3 { font-weight: 800; font-size: 1.3rem; color: var(--nacht); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
strong { font-weight: 800; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 var(--gutter); }
.schmal { max-width: 44rem; }

/* Sprunglink */
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--nacht); padding: .6em 1em; z-index: 10; font-weight: 800; }
.skip:focus { left: var(--gutter); top: .5rem; }

/* Kopf */
.kopf { background: var(--nacht); color: var(--creme); }
.kopf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.marke { display: flex; align-items: center; gap: .55rem; color: var(--gold); text-decoration: none; font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.1; min-height: 44px; }
.marke img { width: 30px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav li + li { margin-top: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-radius: 999px; color: var(--creme); text-decoration: none; font-weight: 800; font-size: 1.02rem; }
.nav a:hover { background: var(--nacht-2); }
.nav a[aria-current="page"] { background: var(--gold); color: var(--nacht); }

/* Bühne (dunkler Kopfbereich der Seiten) */
.buehne { background: linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 100%); color: var(--creme); padding: 1.5rem 0 2.5rem; }
.buehne h1 { color: var(--gold); margin-bottom: .2em; }
.buehne .unter { font-size: 1.35rem; font-weight: 800; margin: 0 0 .6em; }
.buehne p { color: #f3ead6; }
.buehne a:not(.knopf) { color: var(--gold); }
.buehne-raster { display: grid; gap: 1.5rem; align-items: center; }
.cover { width: min(64vw, 22rem); margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 34px rgba(0, 0, 0, .45); }
.kicker { display: inline-block; font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nacht); background: var(--gold); border-radius: 999px; padding: .1em .8em; margin-bottom: .8rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.knopf { display: inline-flex; align-items: center; gap: .4em; min-height: 48px; padding: .55rem 1.15rem; border-radius: 999px; font-weight: 800; text-decoration: none; background: var(--gold); color: var(--nacht); border: 2px solid var(--gold); }
.knopf:hover { background: #f6d585; }
.knopf.zweit { background: transparent; color: var(--gold); }
.knopf.zweit:hover { background: rgba(240, 196, 92, .12); }
main .knopf { background: var(--fuchs); border-color: var(--fuchs); color: #fff; }
main .knopf:hover { background: #7f2f09; }

/* Abschnitte */
.abschnitt { padding: 2.6rem 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--rand); }
.abschnitt.hell { background: var(--papier); }
.lead { font-size: 1.28rem; }
.klein { font-size: 1rem; color: var(--tinte-2); }
.zentriert { text-align: center; }
.trenner { width: 110px; margin: 0 auto 1.4rem; opacity: .85; }
.trenner.breit { width: 160px; }   /* querformatige Vignette (Umschlag „Post von Elli“) */

/* Karten */
.karten { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.karten > li + li { margin-top: 0; }
.karte { background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--schatten); }
.karte h3 { margin-bottom: .3em; }
.karte p:last-child { margin-bottom: 0; }
.weg { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; height: 100%; }
.weg img { width: 64px; flex: none; }
.weg h3 { color: var(--fuchs); text-decoration: underline; text-underline-offset: .18em; }
.weg:hover h3 { text-decoration-thickness: .14em; }
.preis { font-size: 1.6rem; font-weight: 800; color: var(--nacht); margin: .1em 0 .2em; }
.marke-bald { display: inline-block; background: #e9f0dc; color: var(--moos); border: 1px solid #c9d8ad; border-radius: 999px; padding: .05em .7em; font-weight: 800; font-size: .95rem; }

/* Bilder mit Unterschrift */
figure { margin: 1.2rem 0; }
figure img { width: 100%; }
figcaption { font-size: 1rem; color: var(--tinte-2); margin-top: .45rem; }
.rahmen { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: .4rem; box-shadow: var(--schatten); }
.rahmen img { border-radius: 6px; }
.galerie { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.2rem 0; padding: 0; list-style: none; }
.galerie li + li { margin-top: 0; }
.galerie figure { margin: 0; }
.paar { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Schritte auf /entstehung */
.schritte { counter-reset: schritt; }
.schritt { position: relative; }
.schritt h2::before { counter-increment: schritt; content: counter(schritt); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-right: .55rem; border-radius: 50%; background: var(--fuchs); color: #fff; font-family: "Nunito", "Segoe UI", Arial, sans-serif; font-size: 1.15rem; font-weight: 800; vertical-align: .2em; }
.inhalt-liste { columns: 1; }
.prompt { background: #fff; border-left: 5px solid var(--gold); border-radius: 0 10px 10px 0; padding: .8rem 1rem; margin: 1rem 0; box-shadow: var(--schatten); }
.prompt .en { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92rem; line-height: 1.5; color: #3a2c1c; margin: 0 0 .4rem; }
.prompt .de { margin: 0; }
.tipp { background: #eef3e4; border: 1px solid #cddbb4; border-radius: var(--radius); padding: 1rem 1.1rem; }
.tipp p:last-child { margin-bottom: 0; }
.eltern { background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.2rem 1.3rem; }

/* Aufklappen (Spoiler, Auflösung) */
details { background: #fff6e3; border: 2px dashed #d8b46a; border-radius: var(--radius); margin: 1rem 0; }
details[open] { border-style: solid; background: var(--papier); }
summary { cursor: pointer; padding: .8rem 1rem; font-weight: 800; color: var(--nacht); min-height: 48px; list-style-position: inside; }
summary:hover { color: var(--fuchs); }
details > div { padding: 0 1rem 1rem; }

/* Figuren */
.figur { display: grid; gap: 1.2rem; }
.figur + .figur { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--rand); }
.steckbrief { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .9rem; margin: .8rem 0 0; font-size: 1.05rem; }
.steckbrief dt { font-weight: 800; color: var(--nacht); }
.steckbrief dd { margin: 0; }
.mentoren { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.mentoren > li + li { margin-top: 0; }
.mentor img { width: 160px; margin: 0 auto .6rem; border-radius: 50%; border: 3px solid var(--rand); background: #fff; }
.mentor h3 { text-align: center; }
.anmerkung { font-style: italic; color: var(--tinte-2); }

/* Mitmachen */
.mail { font-weight: 800; word-break: break-word; }
.hinweis-eltern { font-size: 1.02rem; background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1rem 1.1rem; margin-top: 1rem; }
.hinweis-eltern p:last-child { margin-bottom: 0; }

/* Rechtstexte */
.recht h2 { font-family: "Nunito", "Segoe UI", Arial, sans-serif; font-weight: 800; font-size: 1.4rem; margin-top: 1.8rem; }
.recht h3 { font-size: 1.15rem; margin-top: 1.2rem; }
.recht p, .recht li { font-size: 1.05rem; }
.anschrift { font-style: normal; }

/* Fuß */
.fuss { background: var(--nacht); color: #e9dfc8; padding: 2rem 0 2.4rem; font-size: 1rem; }
.fuss a { color: var(--gold); }
.fuss ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.fuss li + li { margin-top: 0; }
.fuss a { display: inline-block; padding: .35rem 0; }
.fuss .pfoten { width: 90px; margin-bottom: 1rem; }
.fuss p { margin: 0 0 .4rem; }

/* Breitere Bildschirme */
@media (min-width: 40rem) {
  .karten.drei, .karten.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mentoren { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inhalt-liste { columns: 2; }
}
@media (min-width: 52rem) {
  body { font-size: 1.125rem; }
  .buehne { padding: 2.5rem 0 3.5rem; }
  .buehne-raster { grid-template-columns: 22rem 1fr; gap: 3rem; }
  .buehne-raster.text-links { grid-template-columns: 1fr 18rem; }
  .cover { margin: 0; }
  .karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mentoren { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figur { grid-template-columns: 1fr 1fr; align-items: start; }
  .zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .marke { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .kopf, .fuss, .skip, .knoepfe { display: none; }
  body { background: #fff; }
  .buehne { background: none; color: #000; }
  .buehne h1 { color: #000; }
}

/* Knöpfe auf dunklem Grund: Gold statt Fuchsrot (Kontrast zur Fläche) */
.buehne .knopf { background: var(--gold); border-color: var(--gold); color: var(--nacht); }
.buehne .knopf:hover { background: #f6d585; }
.buehne .knopf.zweit { background: transparent; color: var(--gold); }
.buehne .knopf.zweit:hover { background: rgba(240, 196, 92, .12); }

/* ------------------------------------------------------------------ Quiz und Bild-Baukasten (/quiz) */
[hidden] { display: none !important; }
button.knopf, .link-knopf, .antwort, .figur-knopf { font: inherit; cursor: pointer; }
button.knopf { font-weight: 800; }
main .knopf.zweit-hell { background: transparent; color: var(--fuchs); border-color: var(--fuchs); }
main .knopf.zweit-hell:hover { background: #fbeee4; }
.q-karte { background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.2rem 1.1rem 1.3rem; box-shadow: var(--schatten); }
.q-karte h2:focus, .baukasten h2:focus { outline: none; }
.fortschritt { font-weight: 800; color: var(--tinte-2); font-size: 1rem; margin: 0 0 .35rem; }
.balken { height: 10px; background: #efe4c9; border-radius: 999px; overflow: hidden; margin-bottom: 1.1rem; }
.balken span { display: block; height: 100%; width: 0; background: var(--moos); border-radius: 999px; transition: width .25s; }
.antworten { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; grid-template-columns: 1fr; }
.antworten li + li { margin-top: 0; }
.antwort { width: 100%; min-height: 64px; display: flex; align-items: center; gap: .8rem; text-align: left; padding: .7rem 1rem; background: #fff; color: var(--tinte); border: 2px solid var(--rand); border-radius: var(--radius); font-weight: 800; font-size: 1.12rem; line-height: 1.3; box-shadow: var(--schatten); }
.antwort:hover { border-color: var(--fuchs); background: #fffaf0; }
.antwort:active { transform: translateY(1px); }
.antwort .emoji { font-size: 2rem; line-height: 1; flex: none; width: 2.4rem; text-align: center; }
.link-knopf { background: none; border: 0; padding: .6rem 0; min-height: 44px; color: var(--fuchs); text-decoration: underline; text-underline-offset: .18em; font-size: 1.02rem; }
.figuren-raster { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figuren-raster li + li { margin-top: 0; }
.figur-knopf { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .5rem; background: var(--papier); border: 2px solid var(--rand); border-radius: var(--radius); color: var(--nacht); font-weight: 800; font-size: 1.1rem; box-shadow: var(--schatten); }
.figur-knopf:hover { border-color: var(--fuchs); }
.figur-knopf img { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
#q-ergebnis-titel { font-size: clamp(1.8rem, 7vw, 2.6rem); color: var(--fuchs); }
.ergebnis-raster { display: grid; gap: 1rem; }
/* Ergebnis: freigestelltes Tier ohne Kachel, mit weichem Schatten und hellem Lichthof */
.tier-platz { max-width: 22rem; width: 100%; margin: 0 auto; padding: .6rem .4rem 1rem; background: radial-gradient(ellipse at 50% 60%, rgba(240, 196, 92, .22), rgba(240, 196, 92, 0) 68%); }
.tier-platz img { display: block; width: 100%; height: auto; max-height: 22rem; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(59, 42, 26, .28)); }
.baukasten { margin-top: 2rem; }
.baukasten-raster { display: grid; gap: 1.2rem; }
.vorschau { position: sticky; top: .5rem; z-index: 1; background: var(--creme); padding: .3rem 0; }
.vorschau canvas { display: block; width: auto; height: auto; max-width: min(100%, 30rem); max-height: 42vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 6px 22px rgba(43, 29, 16, .25); background: #e9e1cf; }
.regler fieldset { border: 1px solid var(--rand); border-radius: var(--radius); background: var(--papier); margin: 0 0 .9rem; padding: .6rem .8rem .8rem; }
.regler legend { font-weight: 800; color: var(--nacht); padding: 0 .3rem; }
.wahl-liste { display: flex; flex-wrap: wrap; gap: .45rem; }
.wahl { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .3rem .85rem; border: 2px solid var(--rand); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; font-size: 1.02rem; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wahl:has(input:checked) { border-color: var(--fuchs); background: #fbeee4; color: var(--fuchs); box-shadow: inset 0 0 0 1px var(--fuchs); }
.wahl:has(input:checked)::after { content: "✓"; font-weight: 800; }
.wahl:has(input:focus-visible) { outline: 3px solid var(--fuchs); outline-offset: 2px; }
.muster { display: inline-block; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); font-style: normal; }
.figuren-wahl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.wahl-figur { flex-direction: column; border-radius: 12px; padding: .35rem .1rem; gap: .15rem; font-size: .8rem; justify-content: center; min-width: 0; }
.wahl-figur img { width: 100%; max-width: 56px; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.wahl-figur:has(input:checked)::after { content: none; }
.feld { margin: 0 0 .9rem; }
.feld label { display: block; font-weight: 800; color: var(--nacht); margin-bottom: .3rem; }
.feld input { width: 100%; max-width: 22rem; min-height: 48px; font: inherit; padding: .4rem .8rem; border: 2px solid #b9a682; border-radius: 10px; background: #fff; color: var(--tinte); }
.feld input:focus-visible { outline: 3px solid var(--fuchs); outline-offset: 2px; }
.feld .klein { margin: .35rem 0 0; }
.haken { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .4rem; font-weight: 800; cursor: pointer; }
.haken input { width: 1.3rem; height: 1.3rem; accent-color: var(--fuchs); }
@media (min-width: 30rem) {
  .antworten { grid-template-columns: 1fr 1fr; }
  .figuren-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 44rem) { .figuren-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 52rem) {
  .quiz .wrap.schmal { max-width: 60rem; }
  .ergebnis-raster { grid-template-columns: 20rem 1fr; align-items: start; }
  .baukasten-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .vorschau { top: 1rem; }
  .vorschau canvas { max-height: 80vh; }
}
@media (prefers-reduced-motion: reduce) { .balken span { transition: none; } }

/* ------------------------------------------------------------------ Änderungsrunde 1 (19.10.): Bücher, Autorenbild, WhatsApp-Link */
.karte h4 { font-weight: 800; font-size: 1.2rem; color: var(--nacht); margin: 0 0 .3em; }
.band { display: grid; gap: 1.5rem; align-items: start; }
.band .cover { width: min(64vw, 20rem); }
.ausgaben-titel { margin-top: 2rem; }
.autorenbild { max-width: 26rem; margin: 0 auto 1.4rem; }
.wa-link { display: inline-flex !important; align-items: center; gap: .4rem; }
.wa-icon { flex: none; }
.knopf .wa-icon { margin-left: -.15rem; }
.fuss .klein-fuss { font-size: .92rem; color: #cfc3a8; max-width: 44rem; margin-bottom: 1rem; }
@media (min-width: 52rem) {
  .band { grid-template-columns: 20rem 1fr; gap: 3rem; }
  .band .cover { margin: 0; }
}

/* Navigation am Handy (seit 19.10. spät, 7 Punkte): „Start“ übernimmt das Logo, die übrigen 6 als ordentliches 3×2-Raster */
@media (max-width: 39.99rem) {
  .nav { width: 100%; }
  .nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .nav .nav-start { display: none; }
  .nav li { display: flex; }
  .nav a { flex: 1; justify-content: center; padding: 0 .3rem; font-size: 1rem; background: var(--nacht-2); }
  .nav a[aria-current="page"] { background: var(--gold); }
}
@media (min-width: 40rem) and (max-width: 51.99rem) {
  .nav a { padding: 0 .55rem; }
}
/* Ungerade Kartenzahl im 2er-Raster: letzte Karte über die ganze Breite */
@media (min-width: 40rem) {
  .karten.zwei > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Termine */
.karten.termine { grid-template-columns: 1fr; }
.termin .termin-wann { font-weight: 800; color: var(--fuchs); margin: 0 0 .2em; }
.termin h3 { margin: 0 0 .2em; }
.termin .termin-ort { color: var(--tinte-2); }
.termin .termin-links { font-size: 1rem; }
.termine.vorbei .termin { box-shadow: none; opacity: .85; }
.leer { background: var(--papier); border: 1px dashed var(--rand); border-radius: var(--radius); padding: 1.2rem 1.2rem .4rem; text-align: center; margin: 1rem 0 1.2rem; }
.leer .trenner { width: 80px; margin-bottom: .8rem; }

/* Blocksatz für Fließtext (Georg, 20.10.: wie im Buch und auf dem Umschlag). Ohne automatische Silbentrennung
   (Georg, 20.10.: „dann werden die Lücken zwischen den Wörtern halt größer“).
   Nicht für Überschriften, Knöpfe, Listen, Karten, Quiz, Steckbriefe, Bildunterschriften, zentrierte Bereiche. */
main p { text-align: justify; }
main :is(.karte, .q-karte, li, figcaption, .leer, .zentriert, .prompt, .knoepfe, .steckbrief, .quiz, .termin) p,
main p:is(.preis, .fortschritt, .unter, .kicker, .en) { text-align: inherit; }
/* Sehr schmale Bildschirme (unter 360 px, oder große Schrift eingestellt): linksbündig, sonst entstehen Löcher */
@media (max-width: 22.49rem) {
  main p { text-align: left; }
}

/* ------------------------------------------------------------------ Änderungsrunde 5 (20.10.): Startseite */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Siegel „Ausgedacht von Elisabeth (10) und ihrem Papa“ rechts neben dem Cover (überdeckt nur den Rand, nie Titel oder Namen) */
.cover-platz { display: flex; align-items: center; justify-content: center; margin: .4rem auto 0; }
.cover-platz .cover { width: min(56vw, 20rem); margin: 0; flex: none; }
.siegel { position: relative; z-index: 1; flex: none; margin-left: -1.1rem; width: 7.4rem; height: 7.4rem; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .05rem;
  background: radial-gradient(circle at 35% 30%, #f8dc8f, var(--gold) 60%, #d9a73a); color: var(--nacht);
  border: 3px solid var(--creme); box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(0, 0, 0, .45);
  transform: rotate(8deg); line-height: 1.1; padding: .4rem; }
.siegel span { font-size: .8rem; font-weight: 800; }
.siegel strong { font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: 1.12rem; font-weight: 700; color: #7f2f09; }
/* Erscheinungstermin (nicht klickbar) bzw. Amazon-Knopf (zweizeilig) */
.buehne .erscheint { margin: 1.1rem 0 0; }
.erscheint span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem; border-radius: 999px; border: 2px dashed var(--gold); color: var(--gold); font-weight: 800; }
.knopf-amazon { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.25; margin-top: 1.2rem; padding-top: .6rem; padding-bottom: .6rem; border-radius: 22px; }
.knopf-amazon .knopf-zeile2 { font-weight: 500; font-size: .95rem; }
/* Zitat Elisabeth */
.zitat { margin: 0 0 1.2rem; text-align: center; }
.zitat blockquote { margin: 0; position: relative; padding: 1.6rem .4rem .2rem; }
.zitat blockquote::before { content: "“"; position: absolute; top: -.9rem; left: 50%; transform: translateX(-50%); font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: 5rem; line-height: 1; color: var(--gold); }
.zitat blockquote p { font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: clamp(1.45rem, 5.4vw, 2rem); line-height: 1.3; color: var(--nacht); margin: 0 0 .6rem; text-wrap: balance; }
.zitat figcaption { font-size: 1rem; font-style: italic; }
/* Skizze neben Endbild */
.skizze-paar { margin-top: 1rem; }
.skizze-paar figure { margin: 0; }
.skizze-paar figcaption { text-align: center; }
/* WhatsApp-Liste */
.kanal-liste { margin-bottom: 1rem; }
main :is(.zitat, .erscheint) p, main p.erscheint { text-align: inherit; }
@media (min-width: 52rem) {
  .buehne-raster.mit-siegel { grid-template-columns: auto 1fr; }
  .cover-platz .cover { width: 20rem; }
  .siegel { width: 8.4rem; height: 8.4rem; margin-left: -1.6rem; }
  .siegel span { font-size: .9rem; }
  .siegel strong { font-size: 1.25rem; }
}
@media (max-width: 22.49rem) {
  .siegel { width: 6.4rem; height: 6.4rem; margin-left: -1rem; }
  .siegel span { font-size: .72rem; }
  .siegel strong { font-size: 1rem; }
}
/* Abstand Hinweistexte unter Knöpfen und Kästen */
.tipp + .klein, .knoepfe + p.klein { margin-top: .8rem; }
/* Dunkler Kopfbereich (Bühne) linksbündig statt Blocksatz: kurze Einleitungen, sonst große Wortlücken (Tim, 20.10.) */
main .buehne p { text-align: left; }

/* ------------------------------------------------------------------ Änderungsrunde 6 (20.10.) */
/* WhatsApp-Knöpfe: überall gleich, mittig, WhatsApp-Grün mit dunkler Schrift (Kontrast ca. 8:1) */
.wa-knoepfe { justify-content: center; margin: 1.6rem 0 1.5rem; }
main .knopf.knopf-wa, .knopf.knopf-wa { background: #25d366; border-color: #25d366; color: #062a12; box-shadow: 0 2px 8px rgba(6, 42, 18, .18); }
main .knopf.knopf-wa:hover, .knopf.knopf-wa:hover { background: #1fbe5b; border-color: #1fbe5b; }
.knopf-wa .wa-icon { color: #062a12; }
.fuss .wa-link .wa-icon { color: #25d366; }
/* kleiner Hinweis unter dem Knopf (Link zu WhatsApp): überall gleich klein */
main p.wa-hinweis { font-size: .85rem; line-height: 1.5; color: var(--tinte-2); text-align: left; margin: .9rem 0 0; }
.fuss .klein-fuss { font-size: .85rem; }
.tipp-zeile { background: #eef3e4; border-radius: 10px; padding: .6rem .9rem; }

/* Termine: ruhiger Leerzustand */
.leer { background: var(--papier); border: 1px solid var(--rand); border-style: solid; border-radius: var(--radius); padding: 1.5rem 1.2rem 1.1rem; text-align: center; margin: 1rem 0 0; box-shadow: none; }
.leer .leer-bild { width: 72px; margin: 0 auto .8rem; opacity: .8; }
main .leer p { color: var(--tinte-2); font-size: 1.05rem; max-width: 30rem; margin: 0 auto .6rem; }
main .leer p.leer-titel { font-family: "Grandstander", "Trebuchet MS", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--nacht); line-height: 1.3; margin-bottom: .5rem; }

/* Spoiler-Bilder: weißer Bildgrund verschmilzt mit dem Papier des Kastens */
.spoiler-bild img { mix-blend-mode: multiply; }

/* Leseprobe */
.lesetext { max-width: 36rem; margin: 0 auto; font-size: 1.15rem; line-height: 1.75; }
.lesetext p { margin: 0 0 .85em; }
.kapitelbild { max-width: 22rem; margin: 0 auto 1.6rem; }
.kapitelbild img { mix-blend-mode: multiply; }
main .lesetext p.kapitel-nr { text-align: center; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-2); font-size: .95rem; margin-bottom: .2rem; }
.lesetext h2 { text-align: center; margin-bottom: 1.2em; }
main .lesetext p.lese-ende { text-align: center; font-size: 1.6rem; color: var(--tinte-2); letter-spacing: .3em; }
.weiterlesen { max-width: 36rem; margin: 2rem auto 0; padding: 1.5rem 1.2rem; text-align: center; background: var(--papier); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); }
main .weiterlesen p { text-align: center; }
.weiterlesen .knoepfe { justify-content: center; }
.erscheint-hell { margin: 0; }
.erscheint-hell span { display: inline-flex; align-items: center; min-height: 48px; padding: .4rem 1.1rem; border-radius: 999px; border: 2px dashed var(--fuchs); color: var(--fuchs); font-weight: 800; }

/* Tier-Generator: Übersicht mit drei Wegen, Schritt-Anzeige, Leiste oben */
.q-leiste { margin: -.4rem 0 .6rem; }
.q-leiste .link-knopf { font-weight: 800; }
.wege { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .8rem; }
.wege li + li { margin-top: 0; }
.weg-knopf { width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left; padding: .9rem 1rem; background: #fff; color: var(--tinte); border: 2px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); font: inherit; cursor: pointer; min-height: 88px; }
.weg-knopf:hover { border-color: var(--fuchs); background: #fffaf0; }
.weg-knopf img { width: 56px; flex: none; }
.weg-knopf strong { display: block; font-family: "Grandstander", "Trebuchet MS", sans-serif; font-size: 1.35rem; color: var(--fuchs); line-height: 1.2; }
.weg-knopf span span { display: block; font-size: 1rem; color: var(--tinte-2); line-height: 1.35; margin-top: .15rem; }
.schritt-balken { height: 8px; background: #efe4c9; border-radius: 999px; overflow: hidden; margin: 0 0 1rem; }
.schritt-balken span { display: block; height: 100%; background: var(--fuchs); border-radius: 999px; transition: width .25s; }
.figur-knopf small { font-size: .85rem; font-weight: 500; color: var(--tinte-2); }
.baukasten.q-karte { margin-top: 0; }
.schritt-knoepfe { align-items: center; }
.schritt-knoepfe .link-knopf { order: -1; margin-right: auto; }
#q-baukasten[data-schritt="2"] .wahl-hg, #q-baukasten[data-schritt="3"] .wahl { font-size: 1.08rem; }
@media (prefers-reduced-motion: reduce) { .schritt-balken span { transition: none; } }
@media (min-width: 40rem) { .wege { grid-template-columns: repeat(3, minmax(0, 1fr)); } .weg-knopf { flex-direction: column; text-align: center; align-items: center; } }
/* Menüpunkt „Tier-Generator“ bricht am Handy zweizeilig um: mittig und eng */
.nav a { text-align: center; line-height: 1.15; }

/* ------------------------------------------------------------------ Runde 7: /links (Linktree-Ersatz) */
.links-seite { padding-top: 1.6rem; }
.links-seite .wrap { max-width: 30rem; }
.links-kopf { text-align: center; }
.links-cover { width: 9rem; margin: 0 auto 1rem; border-radius: 6px; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.links-kopf h1 { font-family: "Grandstander", "Trebuchet MS", sans-serif; color: var(--nacht); font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: .3rem; }
main .links-kopf p { text-align: center; color: var(--tinte-2); margin-bottom: 1.4rem; }
.links-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.links-liste li + li { margin-top: 0; }
.link-gross { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; padding: .7rem 1rem; text-align: center; text-decoration: none; background: var(--papier); color: var(--nacht); border: 2px solid var(--rand); border-radius: 18px; box-shadow: var(--schatten); }
.link-gross:hover { border-color: var(--fuchs); background: #fffaf0; }
.link-gross strong { font-size: 1.15rem; font-weight: 800; color: var(--fuchs); }
.link-gross span { font-size: .95rem; color: var(--tinte-2); line-height: 1.3; }
.link-gross.haupt { background: var(--fuchs); border-color: var(--fuchs); }
.link-gross.haupt strong, .link-gross.haupt span { color: #fff; }
.link-gross.haupt:hover { background: #7f2f09; }
.link-gross.knopf-wa { flex-direction: row; gap: .7rem; background: #25d366; border-color: #25d366; color: #062a12; }
.link-gross.knopf-wa:hover { background: #1fbe5b; }
.link-gross.knopf-wa .wa-text { display: flex; flex-direction: column; align-items: center; }
.link-gross.knopf-wa strong, .link-gross.knopf-wa span { color: #062a12; }
main p.links-hinweis { text-align: center; margin-top: .8rem; }
.links-zwischen { font-size: 1.3rem; text-align: center; margin: 1.6rem 0 .6rem; }
.links-social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.links-social li + li { margin-top: 0; }
.link-klein { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1rem; border: 2px solid var(--rand); border-radius: 999px; background: #fff; font-weight: 800; text-decoration: none; }
main p.links-start { text-align: center; margin-top: 1.6rem; }

/* ------------------------------------------------------------------ Runde 8 (20.10.) */
/* Startseite „Entdecken“: Inhalt oben ausrichten (Überschriften nebeneinanderliegender Karten auf einer Höhe) */
.weg { align-items: flex-start; }
.weg img { margin-top: .15rem; }
/* Tier-Generator-Übersicht: drei gleich große Kästen, Inhalt oben */
.wege { grid-auto-rows: 1fr; }
.wege li { display: flex; }
.weg-knopf { height: 100%; align-items: flex-start; justify-content: flex-start; }
@media (min-width: 40rem) { .weg-knopf { align-items: center; } }
.weg-knopf img { height: 56px; object-fit: contain; }

/* ------------------------------------------------------------------ 21.10.: „Die Wächterinnen vom Achewald“ – Nachtblau, Gold, Kupfer */
.buehne .unter { color: var(--kupfer-hell); }
main .knopf:hover { background: #87360c; }
.link-gross.haupt:hover { background: #87360c; }
.ohne-umbruch { white-space: nowrap; }

/* Tier-Generator Schritt 5: Teilen/Speichern direkt unter der Vorschau (21.10.) */
.karte-aktionen { text-align: center; }
.karte-aktionen .knoepfe { justify-content: center; margin-top: .7rem; }
.karte-aktionen .knopf-teilen { font-size: 1.15rem; padding-left: 1.6rem; padding-right: 1.6rem; }
.karte-aktionen .klein { margin: .3rem 0 0; min-height: 0; }
#q-baukasten[data-schritt="5"] .vorschau canvas { max-height: 46vh; }
@media (max-width: 51.99rem) { #q-baukasten[data-schritt="5"] .vorschau { position: static; } }
