/* style-v2.css · Startseite v2 (11.11.2026)
   Aussehen der Cover-Reihe: grünes und gelbes Band, runde Schrift, dicke dunkle Kontur wie auf einer Ausmalseite. */

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin.woff2') format('woff2');
}

:root {
    --papier: #FFFDF7;
    --creme: #FFF4DC;
    --tinte: #2A2018;
    --text: #4A3B2E;
    --gruen: #2F8F3F;
    --gruen-d: #1E6A2B;
    --gelb: #F9C846;
    --rot: #C63A22;
    --blau: #2F7FD1;
    --kontur: 2.5px solid var(--tinte);
    --rund: 14px;
    --titel: 'Quicksand', 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--papier);
    color: var(--text);
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titel); color: var(--tinte); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

.innen { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.innen.schmal { max-width: 760px; }
.abschnitt { padding: 4rem 0; }
.abschnitt.creme { background: var(--creme); border-block: var(--kontur); }
.abschnitt h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1.6rem; }
.vorzeile { font-family: var(--titel); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--gruen-d); margin-bottom: .35rem; }
.marker { background: linear-gradient(transparent 58%, var(--gelb) 58%, var(--gelb) 93%, transparent 93%); padding: 0 .12em; margin: 0 -.12em; }

.sprung { position: absolute; left: -9999px; top: 0; background: var(--tinte); color: #fff; padding: .6rem 1rem; z-index: 100; }
.sprung:focus { left: .5rem; top: .5rem; }

/* Knöpfe */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--titel); font-weight: 700; font-size: 1.05rem; text-decoration: none;
    background: var(--gruen-d); color: #fff;
    border: var(--kontur); border-radius: 999px; padding: .8rem 1.5rem;
    box-shadow: 4px 4px 0 var(--tinte);
    transition: transform .12s ease, box-shadow .12s ease;
}
.knopf:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--tinte); }
.knopf.hell { background: #fff; color: var(--tinte); }
.knopf.klein { font-size: .92rem; padding: .45rem 1rem; box-shadow: 3px 3px 0 var(--tinte); }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--gruen-d); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.text-link:hover { color: var(--tinte); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: var(--kontur); }
.kopf-innen { max-width: 1160px; margin: 0 auto; padding: .6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wortmarke { font-family: var(--titel); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; color: var(--tinte); text-decoration: none; white-space: nowrap; margin: 0; }
.wortmarke .b1 { color: var(--gruen); } .wortmarke .b2 { color: #D99A00; } .wortmarke .b3 { color: var(--rot); } .wortmarke .b4 { color: var(--blau); }
.wortmarke.hell { color: #fff; }
.wortmarke.hell .b2 { color: var(--gelb); } .wortmarke.hell .b1 { color: #6FD07F; } .wortmarke.hell .b3 { color: #FF8B73; } .wortmarke.hell .b4 { color: #7DB8F5; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a:not(.knopf) { font-weight: 700; font-size: .98rem; text-decoration: none; color: var(--tinte); padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav-links a:not(.knopf):hover { border-bottom-color: var(--gelb); }
.menue-knopf { display: none; width: 46px; height: 46px; background: #fff; border: var(--kontur); border-radius: 12px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menue-knopf span { display: block; width: 22px; height: 3px; background: var(--tinte); border-radius: 2px; }

/* Hero */
.hero { padding: 3.5rem 0 4rem; overflow: hidden; }
.hero-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 1.1rem; }
.hero-satz { font-size: 1.15rem; max-width: 30em; margin-bottom: 1.8rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; }
.faecher { position: relative; display: flex; justify-content: center; align-items: center; padding: 1.5rem 0; }
.faecher::before { content: ''; position: absolute; width: min(78%, 400px); aspect-ratio: 1; border-radius: 50%; background: var(--gelb); border: var(--kontur); }
.faecher a { position: relative; display: block; width: 40%; margin: 0 -6%; transition: transform .18s ease; }
.faecher img { width: 100%; border: var(--kontur); border-radius: 8px; box-shadow: 6px 6px 0 var(--tinte); background: #fff; }
.faecher .f-links { transform: rotate(-9deg) translateY(14px); }
.faecher .f-rechts { transform: rotate(9deg) translateY(14px); }
.faecher .f-mitte { width: 46%; z-index: 2; }
.faecher .f-links:hover { transform: rotate(-9deg) translateY(4px); }
.faecher .f-rechts:hover { transform: rotate(9deg) translateY(4px); }
.faecher .f-mitte:hover { transform: translateY(-8px); }

/* Bänder */
.band.gelb { background: var(--gelb); border-block: var(--kontur); }
.fakten { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; font-size: .98rem; padding-top: .9rem; padding-bottom: .9rem; font-family: var(--titel); font-weight: 700; color: var(--tinte); }
.fakten li { display: flex; align-items: center; gap: .55rem; }
.fakten li::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; border: 2px solid var(--tinte); flex: none; }
.band.gruen { background: var(--gruen-d); border-block: var(--kontur); color: #fff; }
.band.gruen h2 { color: #fff; }
.band.gruen .vorzeile { color: var(--gelb); }

/* Buchkarten */
.buch {
    position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--tinte);
    background: #fff; border: var(--kontur); border-radius: var(--rund); overflow: hidden;
    transition: transform .12s ease, box-shadow .12s ease;
}
.buch:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--tinte); }
.buch-bild { position: relative; display: block; aspect-ratio: 233 / 330; background: #fff; border-bottom: var(--kontur); }
.buch-bild picture { position: absolute; inset: 0; display: block; }
.buch-bild img { width: 100%; height: 100%; object-fit: contain; }
.marke { position: absolute; bottom: -.75rem; left: .7rem; z-index: 1; background: var(--rot); color: #fff; font-family: var(--titel); font-weight: 700; font-size: .78rem; line-height: 1; padding: .32rem .6rem; border: 2px solid var(--tinte); border-radius: 999px; transform: rotate(-4deg); }
.buch-info { display: flex; flex-direction: column; gap: .5rem; padding: .7rem .8rem .8rem; flex: 1; }
.buch h3 { font-size: .95rem; line-height: 1.25; }
.buch-text { font-size: .92rem; line-height: 1.45; color: var(--text); }
.buch-fuss { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: auto; }
.alter { font-size: .74rem; font-weight: 700; background: var(--creme); border: 1.5px solid var(--tinte); border-radius: 999px; padding: .08rem .5rem; white-space: nowrap; }
.zu { display: inline-flex; align-items: center; gap: .25rem; font-size: .82rem; font-weight: 700; color: var(--gruen-d); white-space: nowrap; }
.buch.gross h3 { font-size: 1.15rem; }
.buch.gross .buch-info { padding: 1rem 1.1rem 1.1rem; }
.buch-bild:has(.marke) + .buch-info { padding-top: 1.15rem; }

.reihe { display: grid; gap: 1.4rem; }
.reihe.drei { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.reihe.vier { grid-template-columns: repeat(4, 1fr); }
.regal { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 1.1rem; }

/* Weihnachten */
.tafeln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tafel { display: flex; gap: 1rem; align-items: flex-start; background: #fff; color: var(--text); border: var(--kontur); border-radius: var(--rund); padding: 1rem; box-shadow: 5px 5px 0 var(--tinte); }
.tafel-bild { flex: 0 0 96px; }
.tafel-bild img { width: 96px; border: 2px solid var(--tinte); border-radius: 6px; background: #fff; }
.tafel h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.tafel p { font-size: .94rem; line-height: 1.45; margin-bottom: .55rem; }
.tafel .text-link { font-size: .92rem; margin-right: .8rem; }

/* Filter */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.filter-tab { font-family: var(--titel); font-weight: 700; font-size: .92rem; color: var(--tinte); background: #fff; border: 2px solid var(--tinte); border-radius: 999px; padding: .42rem .95rem; cursor: pointer; white-space: nowrap; }
.filter-tab:hover { background: var(--gelb); }
.filter-tab.active { background: var(--tinte); color: #fff; }
.zaehler { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.regal.gekuerzt .buch:nth-child(n+13) { display: none; }
.mehr-zeile { text-align: center; margin-top: 1.4rem; }
.mehr-zeile[hidden] { display: none; }
.affiliate-hint { font-size: .85rem; margin-top: 1.6rem; max-width: 60em; }

/* Quiz */
.quiz-subtitle { margin: -1rem 0 1.4rem; }
.quiz-card { background: #fff; border: var(--kontur); border-radius: var(--rund); padding: 1.6rem; box-shadow: 6px 6px 0 var(--gelb), 6px 6px 0 2.5px var(--tinte); }
.quiz-step-indicator { font-size: .85rem; font-weight: 700; color: var(--gruen-d); margin-bottom: .3rem; }
.quiz-question { font-family: var(--titel); font-weight: 700; font-size: 1.3rem; color: var(--tinte); margin-bottom: 1.1rem; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quiz-option { font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--tinte); text-align: center; background: var(--creme); border: 2px solid var(--tinte); border-radius: 12px; padding: .9rem .6rem; cursor: pointer; }
.quiz-option:hover { background: var(--gelb); }
.quiz-result { display: none; text-align: center; }
.quiz-result h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.quiz-result-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.quiz-result-book { display: block; text-decoration: none; color: var(--tinte); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.quiz-result-book img { width: 100%; border: 2px solid var(--tinte); border-radius: 8px; margin-bottom: .4rem; background: #fff; }
.quiz-result-all { font-weight: 700; color: var(--gruen-d); }
.quiz-restart { margin-top: .8rem; font-family: inherit; font-weight: 700; font-size: .92rem; background: #fff; color: var(--tinte); border: 2px solid var(--tinte); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }

/* So sind die Bücher gemacht */
.gruende { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grund { background: #fff; border: var(--kontur); border-radius: var(--rund); padding: 1.2rem 1.2rem 1.3rem; border-top-width: 12px; }
.grund.g1 { border-top-color: var(--gruen); } .grund.g2 { border-top-color: var(--rot); } .grund.g3 { border-top-color: var(--blau); }
.grund h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.ki-hinweis { margin-top: 1.4rem; font-size: .96rem; max-width: 52em; }

/* Ratgeber */
.artikel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.artikel a { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; background: #fff; border: var(--kontur); border-radius: var(--rund); padding: 1.2rem; transition: transform .12s ease, box-shadow .12s ease; }
.artikel a:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--tinte); }
.artikel h3 { font-size: 1.12rem; }
.artikel p { font-size: .95rem; flex: 1; }

/* Download-Seite (12.11.2026) */
.nav-links a[aria-current="page"]:not(.knopf) { border-bottom-color: var(--gelb); }
.hero.unterseite { padding: 3rem 0 3.2rem; }
.hero.unterseite h1 { max-width: 16em; }
.hero.unterseite .hero-satz { max-width: 38em; }
.blaetter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 980px; }
.buch.blatt .buch-bild { aspect-ratio: 4 / 5; }
.buch.blatt h3 { font-size: 1.1rem; }
.blatt-buch { font-size: .88rem; color: var(--text); margin-top: -.3rem; }
.buch.blatt .zu { font-size: .9rem; background: var(--gelb); color: var(--tinte); border: 2px solid var(--tinte); border-radius: 999px; padding: .22rem .7rem; }
.buch.blatt:hover .zu { background: var(--gruen-d); color: #fff; }
.blatt-hinweis { margin-top: 1.6rem; font-weight: 700; color: var(--tinte); }
.mehr-alle { margin-top: 1.8rem; }
.band.gruen .affiliate-hint { color: #E3F1E5; }
.band.gruen .affiliate-hint a { color: #fff; }
@media (max-width: 700px) {
    .hero.unterseite { padding: 2rem 0 2.2rem; }
    .blaetter { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .buch.blatt h3 { font-size: .95rem; }
    .buch.blatt .buch-fuss { flex-direction: column; align-items: flex-start; }
    .blatt-buch { font-size: .8rem; }
}

/* Fuß */
.fuss { background: var(--tinte); color: #E9DFD2; padding: 3rem 0 1.5rem; font-size: .95rem; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.fuss-titel { font-family: var(--titel); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.fuss li { margin-bottom: .3rem; }
.fuss a { color: #E9DFD2; text-decoration: none; }
.fuss a:hover { color: var(--gelb); text-decoration: underline; }
.fuss-unten { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; }

/* Tablet */
@media (max-width: 980px) {
    .tafeln { grid-template-columns: 1fr; max-width: 560px; }
    .reihe.vier { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
    .fuss-raster { grid-template-columns: 1fr 1fr; }
    .menue-knopf { display: flex; }
    .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--papier); border-bottom: var(--kontur); padding: .4rem 1.25rem 1rem; }
    .nav-links.open { display: flex; }
    .nav-links a:not(.knopf) { display: block; padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(42, 32, 24, .15); }
    .nav-links .knopf { margin-top: .9rem; width: 100%; }
}

/* Handy */
@media (max-width: 700px) {
    body { font-size: 1rem; }
    .innen { padding: 0 1rem; }
    .abschnitt { padding: 2.8rem 0; }
    .hero { padding: 2rem 0 2.4rem; }
    .hero-raster { grid-template-columns: 1fr; gap: 1.6rem; }
    .hero-satz { font-size: 1.05rem; margin-bottom: 1.4rem; }
    .knoepfe .knopf { flex: 1 1 100%; }
    .faecher { max-width: 380px; margin: 0 auto; width: 100%; }
    .fakten { justify-content: flex-start; gap: .3rem 1.2rem; font-size: .92rem; }
    .reihe.drei { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin: 0 -1rem; padding: 0 1rem .8rem; max-width: none; }
    .reihe.drei .buch { flex: 0 0 66%; scroll-snap-align: center; }
    .reihe.vier { gap: .7rem; max-width: none; }
    .regal { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .buch h3 { font-size: .88rem; }
    .buch-info { padding: .55rem .6rem .65rem; }
    .zu { font-size: .78rem; }
    .filter-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1rem .8rem; padding: 0 1rem .4rem; }
    .gruende, .artikel { grid-template-columns: 1fr; gap: .9rem; }
    .quiz-card { padding: 1.1rem; }
    .quiz-options { grid-template-columns: 1fr; }
    .fuss-raster { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
