/* bonus.css - Bonusmaterial kkgt.de, Neugestaltung 23.11.2026 im Stil der Neuauflage.
   Königsblau wie die Cover (#0d5a9e), Bandfarben als Akzent, Lato. Kein Schwarz-Gelb als Markenfarbe.
   Ersetzt auf bonusmaterial.php die alten base/layout/components/dropdown/responsive.css (die bleiben für Altseiten liegen). */

:root {
    --blau: #0d5a9e;
    --blau-dunkel: #0a467c;
    --blau-tief: #072f55;
    --blau-hell: #e8f0f9;
    --text: #1b2430;
    --grau: #5b6675;
    --linie: #dfe6ef;
    --flaeche: #f4f7fb;
    --weiss: #ffffff;
    --radius: 16px;
    --schatten: 0 1px 2px rgba(7, 47, 85, 0.06), 0 8px 24px rgba(7, 47, 85, 0.08);
    --schatten-hoch: 0 2px 4px rgba(7, 47, 85, 0.08), 0 18px 40px rgba(7, 47, 85, 0.16);
    --breite: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body.bk {
    margin: 0;
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--weiss);
    overflow-x: hidden;
}
.bk img { max-width: 100%; display: block; }
.bk a { color: var(--blau); }
.bk h1, .bk h2, .bk h3 { line-height: 1.15; margin: 0; }
.bk :focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Kopfleiste ---------- */
.bk-leiste { background: var(--blau-tief); color: #fff; }
.bk-leiste-innen { max-width: var(--breite); margin: 0 auto; padding: 0.7rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bk-marke { display: flex; align-items: baseline; gap: 0.7rem; color: #fff !important; text-decoration: none; }
.bk-marke-kurz { font-weight: 900; letter-spacing: 0.12em; font-size: 1.05rem; }
.bk-marke-lang { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.bk-leiste-nav { display: flex; gap: 1.4rem; align-items: center; }
.bk-leiste-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.92rem; font-weight: 700; }
.bk-leiste-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.bk-leiste-zurueck { background: rgba(255, 255, 255, 0.12); padding: 0.35rem 0.9rem; border-radius: 999px; }

/* ---------- Kopfbereich wie das Cover: Blau oben, Foto, Bandfarben-Leiste ---------- */
.bk-held { background: var(--blau); color: #fff; position: relative; }
.bk-held-innen { max-width: var(--breite); margin: 0 auto; padding: 3rem 1.25rem 3.25rem; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.bk-dach { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin: 0 0 1rem; opacity: 0.85; }
.bk-dach-blau { color: var(--blau); opacity: 1; }
.bk-held h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 1.1rem; }
.bk-held-lead { font-size: 1.12rem; line-height: 1.6; margin: 0 0 1.5rem; max-width: 34em; color: rgba(255, 255, 255, 0.92); }
.bk-fakten { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bk-fakten li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.92rem; }
.bk-fakten strong { font-weight: 900; margin-right: 0.15rem; }
.bk-held-knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bk-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.bk-knopf:hover { transform: translateY(-1px); }
.bk-knopf-hell { background: #fff; color: var(--blau) !important; }
.bk-knopf-rand { border: 2px solid rgba(255, 255, 255, 0.7); color: #fff !important; }
.bk-knopf-rand:hover { background: rgba(255, 255, 255, 0.1); }
.bk-held-bild { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); aspect-ratio: 3 / 2; background: var(--blau-dunkel); }
.bk-held-bild img { width: 100%; height: 100%; object-fit: cover; }
.bk-bandleiste { display: flex; height: 8px; }
.bk-bandleiste span { flex: 1; }

/* ---------- Sprungleiste (zugleich Farblegende der Bereiche) ---------- */
.bk-sprungleiste { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.bk-sprungleiste-innen { max-width: var(--breite); margin: 0 auto; padding: 0.6rem 1.25rem; display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; }
.bk-sprungleiste-innen::-webkit-scrollbar { display: none; }
.bk-sprungleiste a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.9rem; font-weight: 700; color: var(--text); text-decoration: none; border: 1px solid var(--linie); background: #fff; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.bk-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--p); flex: 0 0 auto; }
.bk-sprungleiste a:hover { border-color: var(--p); }
.bk-sprungleiste a.is-aktiv { background: var(--p); border-color: var(--p); color: #fff; }
.bk-sprungleiste a.is-aktiv .bk-punkt { background: #fff; }

.bk-inhalt { display: block; }

/* ---------- Aus deinem Buch ---------- */
.bk-buchblock { max-width: var(--breite); margin: 0 auto; padding: 3.5rem 1.25rem 1rem; }
.bk-buchblock-kopf { max-width: 46em; margin-bottom: 1.6rem; }
.bk-buchblock-kopf h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--blau-tief); margin-bottom: 0.6rem; }
.bk-buchblock-kopf p { margin: 0; color: var(--grau); }
.bk-buchblock-kopf .bk-dach { margin-bottom: 0.6rem; }
.bk-schnell { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.bk-schnell-kachel { position: relative; display: block; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff !important; aspect-ratio: 4 / 5; background: var(--k); box-shadow: var(--schatten); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.bk-schnell-kachel img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; object-position: left bottom; } /* links unten bleibt das KI-Kennzeichen sichtbar */
.bk-schnell-kachel span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; position: absolute; left: 0; right: 0; bottom: 0; min-height: 38%; display: flex; align-items: center; padding: 0.7rem 0.85rem; font-weight: 900; font-size: 1rem; line-height: 1.2; background: var(--k); }
.bk-schnell-kachel::after { content: ''; position: absolute; left: 0; right: 0; top: 62%; height: 4px; background: rgba(255, 255, 255, 0.35); }
.bk-schnell-kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.bk-schritte { list-style: none; counter-reset: schritt; margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; background: var(--flaeche); border-radius: var(--radius); }
.bk-schritte li { counter-increment: schritt; position: relative; padding-left: 2.8rem; color: var(--grau); font-size: 0.95rem; line-height: 1.5; }
.bk-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.bk-schritte strong { display: block; color: var(--text); font-size: 1rem; }

/* ---------- Themenbereiche ---------- */
.bk-bereich { max-width: var(--breite); margin: 0 auto; padding: 3.25rem 1.25rem 0.5rem; }
.bk-bereich-kopf { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.5rem; padding-bottom: 1.1rem; border-bottom: 3px solid var(--b); }
.bk-bereich-nr { flex: 0 0 auto; font-weight: 900; font-size: 1rem; color: #fff; background: var(--b); width: 3rem; height: 3rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; letter-spacing: 0.04em; }
.bk-bereich-kopf h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 900; color: var(--blau-tief); margin-bottom: 0.35rem; }
.bk-bereich-kopf p { margin: 0; color: var(--grau); max-width: 52em; }
.bk-bereich-kopf p.bk-bereich-zahl { margin-top: 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--b2); letter-spacing: 0.02em; }

.bk-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bk-karte { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text) !important; box-shadow: var(--schatten); border: 1px solid var(--linie); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.bk-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); border-color: var(--k); }
.bk-karte-bild { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--flaeche); border-bottom: 4px solid var(--k); }
.bk-karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.bk-art { position: absolute; top: 0.7rem; right: 0.7rem; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 6px; }
.bk-art.is-werkzeug { background: var(--k); color: #fff; }
.bk-art.is-wissen { background: rgba(255, 255, 255, 0.94); color: var(--k2); }
.bk-karte-text { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 1.15rem 1.15rem; flex: 1; }
.bk-karte-titel { font-weight: 900; font-size: 1.15rem; line-height: 1.25; color: var(--blau-tief); }
.bk-karte-satz { color: var(--grau); font-size: 0.95rem; line-height: 1.5; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.15rem; }
.bk-tags span { font-size: 0.75rem; font-weight: 700; color: var(--k2); background: color-mix(in srgb, var(--k) 10%, #fff); border-radius: 999px; padding: 0.18rem 0.6rem; }
.bk-karte-los { margin-top: auto; padding-top: 0.5rem; font-weight: 900; font-size: 0.9rem; color: var(--k2); }
.bk-karte:hover .bk-karte-los span { margin-left: 0.25rem; }

/* Gesundheitshinweis unter dem Gesundheitsbereich */
.bk-bereich .kkgt-health-note { margin-top: 1.5rem; }

/* ---------- Band-Finder ---------- */
.band-finder { background: var(--flaeche); margin-top: 4rem; padding: 3.5rem 1.25rem; border-top: 1px solid var(--linie); }
.band-finder-inner { max-width: calc(var(--breite) - 2.5rem); margin: 0 auto; }
.band-finder .bk-dach { margin-bottom: 0.6rem; }
.band-finder-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--blau-tief); margin-bottom: 0.6rem !important; }
.band-finder-lead { color: var(--grau); max-width: 46em; margin: 0 0 1.4rem; }
.band-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.band-chip { --band: var(--blau); font: inherit; font-weight: 900; font-size: 0.95rem; min-width: 3.4rem; min-height: 44px; padding: 0.4rem 0.8rem; border-radius: 10px; cursor: pointer; background: #fff; color: var(--text); border: 2px solid var(--linie); border-bottom: 4px solid var(--band); transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.band-chip:hover { transform: translateY(-1px); }
.band-chip.is-active { background: var(--blau); color: #fff; border-color: var(--blau); border-bottom-color: var(--band); }
.band-results { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); border: 1px solid var(--linie); overflow: hidden; }
.band-card { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; padding: 1.75rem; border-top: 6px solid var(--band); }
.band-card[hidden] { display: none; }
.band-cover img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 28px rgba(7, 47, 85, 0.25); }
.band-schild { display: inline-block; background: var(--band); color: #fff; font-weight: 900; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 4px; text-shadow: 0 0 2px rgba(0, 0, 0, 0.45); }
.band-name { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; color: var(--blau-tief); margin: 0.7rem 0 0.2rem !important; }
.band-unter { margin: 0 0 0.8rem; color: var(--grau); font-weight: 700; }
.band-kurz { margin: 0 0 0.8rem; }
.band-punkte { margin: 0 0 1.2rem; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.band-punkte li { position: relative; padding-left: 1.3rem; color: var(--grau); font-size: 0.95rem; line-height: 1.45; }
.band-punkte li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; background: var(--band); }
.band-kauf { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.7rem; }
.band-buy { display: inline-flex; align-items: center; min-height: 46px; padding: 0.65rem 1.3rem; border-radius: 999px; font-weight: 900; text-decoration: none; background: var(--blau); color: #fff !important; }
.band-buy:hover { background: var(--blau-dunkel); }
.band-buy-zweit { background: #fff; color: var(--blau) !important; border: 2px solid var(--blau); }
.band-buy-zweit:hover { background: var(--blau-hell); }
.band-buy.is-disabled { border-color: var(--linie); color: var(--grau) !important; background: var(--flaeche); cursor: default; }
.band-meta { font-size: 0.85rem; color: var(--grau); margin: 0; }
.band-finder-foot { margin: 1.2rem 0 0; font-weight: 900; }
.band-finder-foot a { text-decoration: none; }

/* ---------- Übersicht aller Infomodule (aus modul-navigation.php) ---------- */
.bk .kkgt-modnav { max-width: var(--breite); margin: 3.5rem auto 3.5rem; padding: 0 1.25rem; }
.bk .kkgt-modnav a strong { color: var(--blau-tief); }

/* Hinweis zur Nutzung (aus disclaimer.php) an die Inhaltsbreite angleichen */
.bk .usage-disclaimer-inner { max-width: calc(var(--breite) - 2.5rem); }

/* ---------- Fenster für Module ---------- */
.bk-fenster { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(7, 27, 48, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 2vh 2vw; }
.bk-fenster.open { display: flex; }
.bk-fenster-box { background: #fff; border-radius: 16px; width: 100%; max-width: 1040px; height: 96vh; margin: auto; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.bk-fenster-kopf { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem 0.75rem 1.3rem; color: #fff; background: var(--blau); border-bottom: 6px solid var(--blau-tief); }
.bk-fenster-titel { flex: 1; font-weight: 900; font-size: 1.1rem; }
.bk-fenster-neu { color: #fff !important; font-size: 0.85rem; font-weight: 700; opacity: 0.85; }
.bk-fenster-zu { background: rgba(255, 255, 255, 0.2); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.bk-fenster-zu:hover { background: rgba(255, 255, 255, 0.35); }
.bk-fenster-frame { border: none; width: 100%; flex: 1; background: #fff; }

/* ---------- Fußzeile ---------- */
.bk-fuss { background: var(--blau-tief); color: rgba(255, 255, 255, 0.82); padding: 3rem 1.25rem 1.5rem; font-size: 0.92rem; }
.bk-fuss-innen { max-width: calc(var(--breite) - 2.5rem); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.bk-fuss p { margin: 0 0 0.5rem; }
.bk-fuss a { color: #fff; }
.bk-fuss-marke { font-weight: 900; color: #fff; font-size: 1.1rem; }
.bk-fuss-kopf { font-weight: 900; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.bk-zeigen { font: inherit; color: #fff; background: none; border: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bk-fuss-zeile { max-width: calc(var(--breite) - 2.5rem); margin: 2rem auto 0 !important; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
    .bk-schnell { grid-template-columns: repeat(3, 1fr); }
    .bk-schnell-kachel { aspect-ratio: 16 / 10; }
    .bk-schnell-kachel img { height: 66%; }
    .bk-schnell-kachel::after { top: 66%; }
    .bk-schnell-kachel span { min-height: 34%; }
    .bk-raster { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
    .bk-held-innen { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.25rem 2.25rem; }
    .bk-held-bild { order: -1; }
    .bk-leiste-nav a:not(.bk-leiste-zurueck) { display: none; }
    .bk-schritte { grid-template-columns: 1fr; }
    .bk-fuss-innen { grid-template-columns: 1fr; gap: 1.2rem; }
    .band-card { grid-template-columns: 150px 1fr; gap: 1.25rem; padding: 1.25rem; }
}

/* ---------- Handy ---------- */
@media (max-width: 759px) {
    body.bk { font-size: 16px; }
    .bk-leiste-innen { padding: 0.6rem 1rem; }
    .bk-marke-lang { display: none; }
    .bk-held-innen { padding: 1.25rem 1rem 1.75rem; }
    .bk-held-bild { border-radius: 10px; }
    .bk-held-lead { font-size: 1.02rem; }
    .bk-held-knoepfe { flex-direction: column; }
    .bk-knopf { width: 100%; }
    .bk-sprungleiste-innen { padding: 0.5rem 1rem; }
    .bk-buchblock, .bk-bereich { padding-left: 1rem; padding-right: 1rem; }
    .bk-buchblock { padding-top: 2.25rem; }
    .bk-bereich { padding-top: 2.5rem; }
    .bk-schnell { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
    .bk-schnell-kachel { aspect-ratio: 4 / 3; }
    .bk-schnell-kachel span { font-size: 0.92rem; padding: 0.5rem 0.65rem; }
    .bk-schritte { padding: 1rem; }
    /* Karten am Handy kompakt: Bild links, Text rechts */
    .bk-raster { grid-template-columns: 1fr; gap: 0.75rem; }
    .bk-karte { flex-direction: row; border-radius: 12px; }
    .bk-karte-bild { flex: 0 0 34%; aspect-ratio: auto; min-height: 118px; border-bottom: none; border-right: 4px solid var(--k); }
    .bk-karte-bild img { object-position: left bottom; }
    .bk-art { top: 0.45rem; right: auto; left: 0.45rem; font-size: 0.62rem; padding: 0.2rem 0.45rem; }
    .bk-karte-text { padding: 0.75rem 0.85rem; gap: 0.3rem; }
    .bk-karte-titel { font-size: 1.02rem; }
    .bk-karte-satz { font-size: 0.88rem; }
    .bk-tags { display: none; }
    .bk-karte-los { font-size: 0.85rem; padding-top: 0.2rem; }
    .bk-bereich-kopf { gap: 0.8rem; }
    .bk-bereich-nr { width: 2.5rem; height: 2.5rem; font-size: 0.9rem; border-radius: 10px; }
    .band-finder { padding: 2.5rem 1rem; margin-top: 3rem; }
    .band-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1rem 1.2rem; padding: 0 1rem 0.3rem; scrollbar-width: none; }
    .band-chips::-webkit-scrollbar { display: none; }
    .band-chip { flex: 0 0 auto; }
    .band-card { grid-template-columns: 1fr; }
    .band-cover { max-width: 170px; }
    .band-buy { width: 100%; justify-content: center; }
    .bk .kkgt-modnav { padding: 0 1rem; }
    .bk-fenster { padding: 0; }
    .bk-fenster-box { height: 100%; border-radius: 0; }
}

@media print {
    .bk-leiste, .bk-sprungleiste, .bk-fenster, .band-finder, .bk-fuss, .bk-held-knoepfe { display: none !important; }
    .bk-held { background: #fff; color: #000; }
    .bk-karte { box-shadow: none; break-inside: avoid; }
}

/* Bereich »Nur aus der Reihe« (23.11.2026): vier große Karten, 2 x 2 */
#aus-der-reihe .bk-raster { grid-template-columns: repeat(2, 1fr); }
#aus-der-reihe .bk-bereich-nr { font-size: 0.82rem; letter-spacing: 0.06em; }
#aus-der-reihe .bk-bereich-kopf p:not(.bk-bereich-zahl) { color: var(--text); }
@media (max-width: 759px) { #aus-der-reihe .bk-raster { grid-template-columns: 1fr; } }
