/* beprint lernen – Gestaltung Stufe 1 (André, 10.11.2026)
   Farben aus dem Logo: Dunkel-Petrol #22343B, Schieferblau #537989, Orange #F39200 (nur Akzent).
   Kontraste geprüft: Petrol auf Weiß 12,9:1 · Schiefer-dunkel #4A6B79 auf Weiß 5,7:1, auf Petrol-hell 4,95:1 ·
   Orange auf Petrol 5,5:1 · Petrol auf Orange 5,5:1. Orange nie als Textfarbe auf Hell. */
@font-face { font-family: "Figtree"; src: url("../schrift/figtree-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../schrift/figtree-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../schrift/figtree-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --petrol: #22343b;
  --petrol-2: #2d4650;
  --schiefer: #537989;
  --schiefer-text: #4a6b79;
  --petrol-hell: #e8f0f2;
  --petrol-hauch: #f3f7f8;
  --orange: #f39200;
  --orange-dunkel: #8a5200;
  --orange-hell: #fdf3e3;
  --grund: #f5f8f9;
  --flaeche: #ffffff;
  --text: #22343b;
  --text-leise: #56676e;
  --linie: #dde6e9;
  --schatten: 0 1px 2px rgba(34, 52, 59, .05), 0 4px 14px rgba(34, 52, 59, .06);
  --r-gross: 18px;
  --r: 12px;
  --r-klein: 8px;
  --breite: 1320px;
  --kopf-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 17px/1.55 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img, video { max-width: 100%; display: block; }
a { color: var(--schiefer-text); text-underline-offset: .18em; }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .45em; color: var(--petrol); letter-spacing: -.012em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.35rem); font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprungmarke { position: absolute; left: -999px; top: 8px; background: var(--petrol); color: #fff; padding: 10px 16px; z-index: 60; border-radius: var(--r-klein); }
.sprungmarke:focus { left: 8px; color: #fff; }
.leise { color: var(--text-leise); font-weight: 400; }
.klein { font-size: .9rem; }
.ik { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ik-klein { width: 1.05em; height: 1.05em; }
.breite { max-width: var(--breite); margin: 0 auto; padding: 0 32px; }
[hidden] { display: none !important; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.15em; border-radius: 10px;
  background: var(--petrol); color: #fff; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1.5px solid var(--petrol); cursor: pointer; line-height: 1.2;
}
.knopf:hover { background: var(--petrol-2); border-color: var(--petrol-2); color: #fff; }
.knopf-rand { background: var(--flaeche); color: var(--petrol); }
.knopf-rand:hover { background: var(--petrol-hell); color: var(--petrol); border-color: var(--petrol); }
.knopf-leise, .knopf-text { background: none; border: 0; padding: 0; font: inherit; color: var(--schiefer-text); text-decoration: underline; cursor: pointer; }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1em; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 0 32px; height: var(--kopf-h); display: flex; align-items: center; gap: 24px; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--petrol); white-space: nowrap; }
.marke img { height: 30px; width: auto; }
.marke span:not(.nur-sr) { font-size: 1.32rem; font-weight: 400; color: var(--schiefer-text); letter-spacing: -.01em; }
.marke:hover span { color: var(--petrol); }
.hauptnav { display: flex; gap: 4px; margin: 0 auto; }
.hauptnav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  color: var(--petrol); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative;
}
.hauptnav a:hover { background: var(--petrol-hauch); }
.hauptnav a[aria-current="page"] { background: var(--petrol-hell); }
.hauptnav a[aria-current="page"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); }
.kopfsuche { position: relative; width: 260px; flex: none; }
.kopfsuche input {
  width: 100%; height: 44px; border: 1.5px solid var(--linie); border-radius: 999px; padding: 0 16px 0 42px;
  font: inherit; font-size: .96rem; color: var(--text); background: var(--petrol-hauch);
}
.kopfsuche input::placeholder { color: var(--text-leise); }
.kopfsuche input:focus { border-color: var(--schiefer); background: #fff; outline: 3px solid var(--petrol); outline-offset: 1px; }
.kopfsuche-lupe { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-leise); pointer-events: none; }
.kopfsuche-knopf { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; color: var(--petrol); border: 1.5px solid var(--linie); }
.kopfsuche-knopf .ik { width: 22px; height: 22px; }
.sprachen { display: flex; gap: 2px; font-size: .88rem; font-weight: 600; }
.sprachen a, .sprachen span { padding: 6px 8px; border-radius: 6px; color: var(--text-leise); text-decoration: none; }
.sprachen [aria-current] { color: var(--petrol); background: var(--petrol-hell); }
.sprachen a:hover { color: var(--petrol); }

/* Vorschläge im Kopf */
.suchergebnis {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(460px, 92vw); max-height: 70vh; overflow: auto;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r); box-shadow: 0 12px 34px rgba(34, 52, 59, .18); padding: 6px; z-index: 40;
}
.se-kopf { font-size: .82rem; color: var(--text-leise); padding: 6px 10px; }
.se-leer { padding: 10px; color: var(--text-leise); }
.suchergebnis a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-klein); color: var(--text); text-decoration: none; }
.suchergebnis a[aria-selected="true"], .suchergebnis a:hover { background: var(--petrol-hell); }
.se-bild { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; flex: none; background: var(--petrol-hell); }
.se-bild-bald { display: grid; place-items: center; font-size: .66rem; color: var(--text-leise); text-align: center; }
.se-titel, .se-unter, .se-st, .se-snip { display: block; }
.se-titel { font-weight: 600; line-height: 1.3; }
.se-unter { font-size: .9rem; color: var(--text-leise); }
.se-st { font-size: .8rem; color: var(--text-leise); }
.se-snip { font-size: .88rem; color: var(--text-leise); margin-top: 4px; }
.suchergebnis .se-alle { justify-content: center; font-weight: 600; color: var(--schiefer-text); border-top: 1px solid var(--linie); border-radius: 0 0 var(--r-klein) var(--r-klein); margin-top: 4px; }
mark { background: var(--orange-hell); color: inherit; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 2px; }

/* ---------- Startseite: Held ---------- */
.held { background: var(--petrol); color: #fff; position: relative; overflow-x: clip; overflow-y: visible; z-index: 5; }
.held::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 85% 30%, rgba(83, 121, 137, .55), transparent 60%), linear-gradient(100deg, var(--petrol) 40%, var(--petrol-2));
}
.held-innen { position: relative; max-width: var(--breite); margin: 0 auto; padding: 56px 32px 60px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.held-ueber { color: var(--orange); font-weight: 600; font-size: 1rem; margin-bottom: .6em; }
.held h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); letter-spacing: -.025em; margin-bottom: .35em; }
.held-satz { font-size: 1.16rem; line-height: 1.5; color: #e3ecef; max-width: 34em; }
.held-suche, .seiten-suche { position: relative; display: flex; align-items: center; background: #fff; border-radius: 999px; max-width: 640px; margin-top: 28px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.held-suche input, .seiten-suche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--text); padding: 12px 12px 12px 46px; border-radius: 999px; }
.held-suche input::placeholder, .seiten-suche input::placeholder { color: var(--text-leise); }
.held-suche input:focus-visible, .seiten-suche input:focus-visible { outline: none; }
.held-suche:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.held-lupe { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-leise); width: 22px; height: 22px; pointer-events: none; }
.held-suche button, .seiten-suche button { flex: none; border: 0; border-radius: 999px; background: var(--petrol); color: #fff; font: inherit; font-weight: 600; padding: 12px 22px; cursor: pointer; }
.held-suche button:hover, .seiten-suche button:hover { background: var(--petrol-2); }
.held-suche button:focus-visible { outline: 3px solid var(--orange); }
.held-video { display: block; color: #fff; text-decoration: none; justify-self: end; width: 100%; max-width: 520px; }
.held-bild { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); transform: rotate(-1.2deg); transition: transform .25s ease; }
.held-video:hover .held-bild { transform: rotate(0); }
.held-bild img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.held-play { position: absolute; left: 18px; bottom: 18px; width: 68px; height: 68px; border-radius: 50%; background: var(--orange); color: var(--petrol); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.held-play .ik { width: 34px; height: 34px; margin-left: 4px; }
.held-unter { display: block; margin-top: 18px; font-size: .95rem; color: #e3ecef; }
.held-dauer { color: #fff; font-weight: 600; white-space: nowrap; }
.held-video:hover .held-unter { color: #fff; text-decoration: underline; }
.held-video:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }

/* ---------- Startseite: Einstiege und Tafeln ---------- */
.einstiege ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.einstieg {
  height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 18px;
  padding: 26px 26px 24px; border-radius: var(--r-gross); border: 1px solid var(--linie); background: var(--flaeche); box-shadow: var(--schatten);
}
.einstieg-neu { background: var(--petrol-hell); border-color: #cfdde2; }
.einstieg-neues { background: var(--orange-hell); border-color: #f4dfbd; }
.einstieg-ik { grid-row: 1 / span 3; width: 44px; height: 44px; color: var(--schiefer); stroke-width: 1.6; }
.einstieg-neues .einstieg-ik { color: var(--orange-dunkel); }
.einstieg h2 { font-size: 1.28rem; margin: 2px 0 .35em; }
.einstieg p { color: #3d5059; margin-bottom: 18px; }
.einstieg .knopf { justify-self: start; align-self: end; }
.start-spalten { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tafel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 20px 22px 22px; margin-bottom: 22px; box-shadow: var(--schatten); }
.tafel-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tafel-kopf h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.32rem; }
.tafel-kopf a { font-weight: 600; font-size: .95rem; }
.tafel-ik { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--petrol-hell); color: var(--schiefer-text); }

/* Lernpfad-Karte (Startseite) */
.pfad-liste { list-style: none; display: grid; gap: 12px; }
.pfad-karte { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 12px; border: 1px solid var(--linie); border-radius: var(--r); text-decoration: none; color: var(--text); }
.pfad-karte:hover { border-color: var(--schiefer); background: var(--petrol-hauch); color: var(--text); }
.pfad-karte .karte-text { padding: 4px 4px 4px 0; }

/* Vorschaubild */
.vorschau { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--petrol-hell); }
.vorschau img { width: 100%; height: 100%; object-fit: cover; }
.dauer { position: absolute; right: 8px; bottom: 8px; background: rgba(34, 52, 59, .9); color: #fff; font-size: .8rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.vorschau-bald { display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: var(--schiefer-text); font-size: .9rem; font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--petrol-hell) 0 12px, var(--petrol-hauch) 12px 24px); }
.vorschau-bald .ik { width: 28px; height: 28px; }

/* Karten */
.karten { list-style: none; display: grid; gap: 16px; }
.karten-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karten-raster { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.karte { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); text-decoration: none; color: var(--text); padding: 10px; }
.karte:hover { border-color: var(--schiefer); color: var(--text); }
.karte:hover .karte-titel { text-decoration: underline; text-decoration-color: var(--schiefer); }
.karte .karte-text { padding: 12px 4px 4px; }
.karte-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.karte-titel { font-weight: 600; line-height: 1.3; color: var(--petrol); font-size: 1.02rem; }
.karte-kurz { font-size: .93rem; color: var(--text-leise); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte-meta { font-size: .85rem; color: var(--text-leise); margin-top: auto; padding-top: 6px; }
.karte-nr { font-size: .85rem; color: var(--schiefer-text); font-weight: 600; }
.marke-bald { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--orange-dunkel); background: var(--orange-hell); border: 1px solid #f1d6a8; padding: 1px 8px; border-radius: 999px; }
.karte-bald .karte-titel { color: #3d5059; }
.karten-liste { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); counter-reset: none; }

/* Themen-Kacheln */
.themen-raster { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thema-kachel {
  height: 100%; min-height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 16px 10px; border: 1px solid var(--linie); border-radius: var(--r); text-decoration: none; color: var(--petrol); background: var(--flaeche);
}
.thema-kachel:hover { border-color: var(--schiefer); background: var(--petrol-hauch); color: var(--petrol); }
.thema-ik { width: 34px; height: 34px; color: var(--schiefer); stroke-width: 1.6; }
.thema-name { font-weight: 600; line-height: 1.25; }
.thema-zahl { font-size: .82rem; color: var(--text-leise); }
.themen-raster-gross { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.thema-kachel-gross { align-items: flex-start; justify-content: flex-start; text-align: left; padding: 22px; box-shadow: var(--schatten); }
.thema-kachel-gross .thema-name { font-size: 1.15rem; }
.thema-kurz { font-size: .93rem; color: var(--text-leise); }
.thema-kachel-gross .thema-zahl { margin-top: auto; }

/* ---------- Unterseiten mit Leiste ---------- */
.mit-leiste { display: grid; grid-template-columns: 264px minmax(0, 1fr); max-width: 1480px; margin: 0 auto; min-height: calc(100vh - var(--kopf-h)); }
.leiste { background: var(--flaeche); border-right: 1px solid var(--linie); }
.leiste-inhalt { position: sticky; top: var(--kopf-h); max-height: calc(100vh - var(--kopf-h)); overflow-y: auto; padding: 22px 16px 32px; }
.leiste-kopf { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 700; color: var(--petrol); margin: 20px 10px 6px; }
.leiste-kopf:first-child { margin-top: 4px; }
.leiste-kopf .ik { color: var(--schiefer); }
.leiste ul { list-style: none; }
.leiste li a { display: block; padding: 7px 12px 7px 40px; border-radius: var(--r-klein); color: #34474f; text-decoration: none; font-size: .95rem; position: relative; }
.leiste li a:hover { background: var(--petrol-hauch); color: var(--petrol); }
.leiste li a[aria-current="page"] { background: var(--petrol-hell); color: var(--petrol); font-weight: 600; }
.leiste li a[aria-current="page"]::before { content: ""; position: absolute; left: 22px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--orange); }
.leiste-schalter { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border: 0; background: var(--flaeche); font: inherit; font-weight: 600; color: var(--petrol); cursor: pointer; }
.haupt { padding: 28px 40px 56px; min-width: 0; }
.krume ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--text-leise); margin-bottom: 18px; }
.krume li + li::before { content: "/"; margin: 0 8px; color: #9aabb2; }
.seitenkopf { max-width: 52em; margin-bottom: 28px; }
.seitenkopf-text { font-size: 1.1rem; color: #3d5059; }
.ueber { font-size: .9rem; font-weight: 600; color: var(--schiefer-text); margin-bottom: .4em; }
.meta { font-size: .92rem; color: var(--text-leise); }
.seitenkopf-thema { display: flex; gap: 20px; align-items: flex-start; }
.seitenkopf-ik { width: 56px; height: 56px; padding: 11px; border-radius: 14px; background: var(--petrol-hell); color: var(--schiefer-text); stroke-width: 1.5; }
.hinweis { background: var(--petrol-hauch); border: 1px solid var(--linie); border-radius: var(--r); padding: 14px 18px; color: #3d5059; }
.klein-titel { font-size: 1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--petrol); text-decoration: none; font-size: .92rem; font-weight: 600; }
.chips a:hover { border-color: var(--schiefer); background: var(--petrol-hauch); }
.andere { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie); }
.leer-zustand { text-align: center; max-width: 34em; margin: 24px auto; padding: 36px 24px; background: var(--flaeche); border: 1px dashed #c3d2d8; border-radius: var(--r-gross); }
.leer-zustand .aktionen, .leer-zustand .chips { justify-content: center; }
.leer-ik { width: 44px; height: 44px; color: var(--schiefer); margin: 0 auto 10px; }

/* Lernpfade-Übersicht */
.lp-liste { list-style: none; display: grid; gap: 22px; }
.lp-eintrag { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; padding: 22px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); }
.lp-eintrag h2 { font-size: 1.5rem; }
.lp-eintrag h2 a { color: var(--petrol); text-decoration: none; }
.lp-eintrag h2 a:hover { text-decoration: underline; }
.lp-etappen { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; counter-reset: et; margin-top: 6px; }
.lp-etappen li { counter-increment: et; }
.lp-etappen a { display: inline-block; font-size: .88rem; padding: 4px 10px; border-radius: 999px; background: var(--petrol-hauch); border: 1px solid var(--linie); text-decoration: none; color: #34474f; }
.lp-etappen a::before { content: counter(et) ". "; color: var(--schiefer-text); font-weight: 600; }
.lp-etappen a:hover { border-color: var(--schiefer); }

/* Lernpfad-Seite */
.fahrplan { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 18px 20px; margin-bottom: 32px; }
.fahrplan ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.fahrplan a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: var(--r-klein); text-decoration: none; color: var(--petrol); }
.fahrplan a:hover { background: var(--petrol-hauch); }
.fahrplan a > span:last-child { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; }
.fahrplan .leise { font-size: .84rem; }
.fp-nr { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.etappe { margin-bottom: 44px; }
.etappe-kopf { max-width: 52em; margin-bottom: 16px; padding-top: 8px; border-top: 3px solid var(--petrol-hell); }
.etappe-kopf h2 { font-size: 1.45rem; }
.etappe-ziel { color: #3d5059; }
.schritte { list-style: none; display: grid; gap: 12px; }
.schritt { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); }
.schritt-bild { display: block; }
.schritt h3 { margin-bottom: .25em; }
.schritt h3 a { color: var(--petrol); text-decoration: none; }
.schritt h3 a:hover { text-decoration: underline; }
.schritt-kurz { color: var(--text-leise); font-size: .95rem; margin-bottom: .6em; }
.schritt .ueber { margin-bottom: .2em; }
details > summary { cursor: pointer; font-weight: 600; color: var(--schiefer-text); }
details > summary:hover { color: var(--petrol); }
.aufgabe { border-top: 1px solid var(--linie); padding-top: 8px; }
.aufgabe[open] { padding-bottom: 4px; }
.handgriffe { padding-left: 1.3em; margin: .4em 0 .8em; }
.handgriffe li { margin-bottom: .3em; }
.pruefpunkt { background: var(--petrol-hauch); border-left: 3px solid var(--schiefer); padding: 10px 14px; border-radius: 0 var(--r-klein) var(--r-klein) 0; }
.pruefpunkt h4 { font-size: .95rem; margin-bottom: .2em; }
.pruefpunkt p { margin: 0; }
/* Notizen fürs Live-Gespräch und Reparier-Aufgabe (Bausteine aus bauen.js) */
.vorbereitung, .reparieren { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 22px; margin-top: 16px; }
.reparieren { background: var(--orange-hell); border-color: #f1d6a8; }
.reparieren .ueberzeile { font-size: .9rem; font-weight: 600; color: var(--orange-dunkel); margin-bottom: .3em; }
.symptom { font-size: 1.05rem; }
.gruende { padding-left: 1.3em; }
.gruende li { margin-bottom: .4em; }
.notiz { margin-bottom: 18px; }
.notiz textarea { width: 100%; font: inherit; font-size: .98rem; padding: 10px 12px; border: 1.5px solid var(--linie); border-radius: var(--r-klein); resize: vertical; color: var(--text); }
.notiz textarea:focus { border-color: var(--schiefer); }
.notiz-beispiele { padding-left: 1.2em; margin-bottom: 8px; }
.notiz-druck { display: none; white-space: pre-wrap; }
.notiz-aktionen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notizfeld { min-height: 120px; border: 1px dashed #aab9bf; border-radius: var(--r-klein); padding: 8px; margin: 10px 0; }

/* ---------- Videoseite ---------- */
.video-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.video-kopf h1 { margin-bottom: .2em; }
.untertitel { color: var(--text-leise); font-size: 1.05rem; }
.spieler { margin: 14px 0 0; border-radius: var(--r-gross); overflow: hidden; background: #0f1a1e; box-shadow: var(--schatten); }
.spieler video { width: 100%; aspect-ratio: 16 / 9; background: #0f1a1e; }
.spieler-bald { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; color: var(--petrol); padding: 24px;
  background: repeating-linear-gradient(135deg, var(--petrol-hell) 0 16px, var(--petrol-hauch) 16px 32px); }
.spieler-bald .bald-titel { font-size: 1.35rem; font-weight: 700; margin-bottom: .2em; }
.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 26px; }
.weiter a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); text-decoration: none; min-width: 0; }
.weiter-zurueck { border: 1.5px solid var(--linie); background: var(--flaeche); color: var(--petrol); }
.weiter-zurueck:hover { border-color: var(--schiefer); color: var(--petrol); }
.weiter-vor { justify-content: flex-end; text-align: right; background: var(--petrol); color: #fff; border: 1.5px solid var(--petrol); }
.weiter-vor:hover { background: var(--petrol-2); color: #fff; }
.weiter a > span { display: flex; flex-direction: column; min-width: 0; }
.weiter-label { font-size: .82rem; opacity: .85; }
.weiter-vor .weiter-label { color: #f6c37a; opacity: 1; }
.weiter-titel { font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.weiter-ende { background: var(--petrol-hell); border-radius: var(--r); padding: 12px 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.ende-text { margin: 0; font-size: .92rem; }
.video-text { max-width: 46em; }
.video-kurz { font-size: 1.12rem; color: #33464e; }
.darum { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 18px 22px; margin: 20px 0; }
.darum h2 { font-size: 1.1rem; }
.darum ul { padding-left: 1.2em; }
.darum li { margin-bottom: .35em; }
.darum li::marker { color: var(--orange); }
.transkript { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 14px 22px; margin: 20px 0; }
.cues { list-style: none; margin-top: 10px; max-height: 420px; overflow-y: auto; }
.cues li { display: flex; gap: 12px; padding: 5px 6px; border-radius: 6px; font-size: .95rem; }
.cues li.jetzt { background: var(--orange-hell); }
.zeitmarke { flex: none; font: inherit; font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--schiefer-text); background: var(--petrol-hauch); border: 1px solid var(--linie); border-radius: 6px; padding: 1px 7px; height: max-content; cursor: pointer; }
span.zeitmarke { cursor: default; }
.auch-in { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .92rem; margin-top: 18px; }
.auch-in > span { color: var(--text-leise); }
.auch-in a { padding: 4px 12px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); text-decoration: none; color: var(--petrol); font-weight: 600; }
.auch-in a:hover { border-color: var(--schiefer); }
.video-seite { position: sticky; top: calc(var(--kopf-h) + 16px); }
.playlist { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 18px 16px; box-shadow: var(--schatten); }
.playlist .ueber { margin: 0 6px .2em; }
.playlist h2 { font-size: 1.15rem; margin: 0 6px .2em; }
.playlist h2 a { color: var(--petrol); text-decoration: none; }
.playlist h2 a:hover { text-decoration: underline; }
.playlist > .leise { margin: 0 6px 10px; }
.pl-liste { list-style: none; max-height: calc(100vh - var(--kopf-h) - 220px); min-height: 200px; overflow-y: auto; }
.pl-liste a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 8px; border-radius: var(--r-klein); text-decoration: none; color: #34474f; font-size: .93rem; line-height: 1.3; border-bottom: 1px solid #edf2f4; }
.pl-liste a:hover { background: var(--petrol-hauch); color: var(--petrol); }
.pl-liste .aktuell a { background: var(--petrol-hell); color: var(--petrol); font-weight: 600; border-bottom-color: transparent; }
.pl-nr { width: 24px; height: 24px; border-radius: 50%; background: var(--petrol-hauch); border: 1px solid var(--linie); display: grid; place-items: center; font-size: .75rem; font-weight: 600; }
.aktuell .pl-nr { background: var(--orange); border-color: var(--orange); color: var(--petrol); }
.pl-dauer { font-size: .8rem; color: var(--text-leise); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.pl-aufgabe { margin: 12px 6px 0; font-size: .92rem; font-weight: 600; }

/* ---------- Suche, Alle Videos, Neu ---------- */
.seiten-suche { margin: 0 0 14px; box-shadow: none; border: 1.5px solid var(--linie); max-width: 760px; }
.seiten-suche:focus-within { border-color: var(--schiefer); outline: 3px solid var(--petrol); outline-offset: 2px; }
.treffer-zahl { font-size: .9rem; color: var(--text-leise); min-height: 1.4em; }
.treffer-liste { list-style: none; display: grid; gap: 10px; max-width: 900px; }
.treffer-eintrag { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 12px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); text-decoration: none; color: var(--text); }
.treffer-eintrag:hover { border-color: var(--schiefer); color: var(--text); }
.treffer-eintrag .se-bild { width: 100%; }
.treffer-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.filterleiste { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; padding: 14px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); margin-bottom: 10px; font-size: .95rem; }
.filterleiste label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--petrol); }
.filterleiste select { font: inherit; font-weight: 400; padding: 7px 10px; border: 1.5px solid var(--linie); border-radius: var(--r-klein); background: #fff; color: var(--text); max-width: 100%; }
.filterleiste input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--petrol); }
.zeilen { list-style: none; display: grid; gap: 8px; }
.zeile { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); text-decoration: none; color: var(--text); }
.zeile:hover { border-color: var(--schiefer); color: var(--text); }
.zeile .vorschau { border-radius: 8px; }
.zeile .vorschau .dauer, .zeile .vorschau-bald span { display: none; }
.zeile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zeile-meta { font-size: .85rem; color: var(--text-leise); }
.zeile-dauer { font-size: .88rem; color: var(--text-leise); font-variant-numeric: tabular-nums; padding-right: 8px; }
.zeitabschnitt { margin-bottom: 36px; }
.datum-titel { font-size: 1.2rem; padding-bottom: 8px; border-bottom: 1px solid var(--linie); margin-bottom: 16px; }

/* ---------- Druckblatt ---------- */
.druck-schritte { list-style: none; display: grid; gap: 14px; max-width: 52em; }
.druck-schritt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); padding: 14px 18px; }
.druck-schritt h3 { display: flex; gap: 10px; align-items: center; }
.kasten { flex: none; display: inline-block; width: 16px; height: 16px; border: 1.5px solid var(--petrol); border-radius: 3px; }
.druck-handgriffe { list-style: none; display: grid; gap: 6px; }
.druck-handgriffe li { display: flex; gap: 10px; align-items: baseline; }

/* ---------- Fuß ---------- */
.fuss { background: var(--petrol); color: #d5e1e5; margin-top: 0; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: .92rem; }
.fuss p { margin: 0; }
.fuss-marke { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; }
.fuss-marke img { height: 27px; width: auto; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 18px; }
.fuss a { color: #fff; }
.fuss :focus-visible { outline-color: var(--orange); }
.haupt-start { padding-bottom: 40px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1240px) {
  .video-raster { grid-template-columns: minmax(0, 1fr); }
  .video-seite { position: static; }
  .pl-liste { max-height: 420px; }
  .karten-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .kopfsuche { width: 200px; }
  .hauptnav a { padding: 10px 12px; }
  .start-spalten { grid-template-columns: minmax(0, 1fr); }
  .einstiege ul { grid-template-columns: minmax(0, 1fr); }
  .einstieg { grid-template-rows: auto auto auto; }
  .held-innen { gap: 36px; }
}
@media (max-width: 960px) {
  .kopfsuche { display: none; }
  .kopfsuche-knopf { display: inline-flex; }
  .mit-leiste { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .leiste { border-right: 0; border-bottom: 1px solid var(--linie); }
  .leiste-inhalt { position: static; max-height: none; padding-top: 4px; }
  .leiste-inhalt.zu { display: none; }
  .leiste-inhalt:not(.zu) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 16px; }
  .leiste-inhalt:not(.zu) > h2 { grid-column: 1 / -1; }
  .haupt { padding: 22px 24px 48px; }
  .held-innen { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 44px; }
  .held-video { justify-self: start; max-width: 460px; }
  .lp-eintrag { grid-template-columns: minmax(0, 1fr); }
  .lp-bild { max-width: 420px; }
}
@media (max-width: 760px) {
  :root { --kopf-h: 112px; }
  body { font-size: 16px; }
  .breite { padding: 0 16px; }
  .kopf-innen { flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 8px 12px; }
  .marke { margin-right: auto; }
  .marke img { height: 26px; }
  .marke span:not(.nur-sr) { font-size: 1.15rem; }
  .hauptnav { order: 5; width: calc(100% + 32px); margin: 0 -16px; padding: 0 8px; justify-content: space-between; border-top: 1px solid var(--linie); }
  .hauptnav a { flex: 1; flex-direction: column; gap: 2px; padding: 8px 4px 9px; font-size: .8rem; border-radius: 0; text-align: center; }
  .hauptnav a[aria-current="page"] { background: none; }
  .hauptnav a[aria-current="page"]::after { bottom: 0; left: 20%; right: 20%; }
  .hauptnav .ik { width: 20px; height: 20px; }
  .held-innen { padding: 32px 16px 36px; }
  .held-satz { font-size: 1.04rem; }
  .held-suche button { padding: 12px 16px; }
  .held-suche input { padding-left: 40px; font-size: 1rem; }
  .held-lupe { left: 16px; }
  .held-bild { transform: none; border-width: 4px; }
  .held-play { width: 52px; height: 52px; left: 12px; bottom: 12px; }
  .einstiege ul { margin: 22px 0; gap: 14px; }
  .einstieg { padding: 20px; column-gap: 14px; }
  .einstieg-ik { width: 36px; height: 36px; }
  .tafel { padding: 16px; }
  .pfad-karte { grid-template-columns: minmax(0, 1fr); }
  .pfad-karte .karte-text { padding: 0 4px 4px; }
  .themen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .karten-vier, .karten-raster, .karten-liste { grid-template-columns: minmax(0, 1fr); }
  .haupt { padding: 18px 16px 40px; }
  .seitenkopf-thema { gap: 14px; }
  .seitenkopf-ik { width: 44px; height: 44px; padding: 8px; }
  .schritt { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .weiter { grid-template-columns: minmax(0, 1fr); }
  .weiter-zurueck { order: 2; }
  .treffer-eintrag { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .zeile { grid-template-columns: 88px minmax(0, 1fr); }
  .zeile-dauer { display: none; }
  .lp-eintrag { padding: 16px; gap: 16px; }
  .fuss-innen { padding: 24px 16px; }
}
@media (max-width: 400px) {
  .themen-raster:not(.themen-raster-gross) .thema-kachel { min-height: 110px; padding: 12px 6px; }
  .held-suche button { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .held-bild { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .leiste, .fuss, .krume, .druck-aus, .sprungmarke, .weiter, .video-seite, .aktionen { display: none !important; }
  .mit-leiste { display: block; }
  .haupt { padding: 0; }
  body { background: #fff; font-size: 11pt; }
  .druck-schritt, .schritt, .vorbereitung, .reparieren { break-inside: avoid; border-color: #999; }
  details:not([open]) > :not(summary) { display: block; }
  .notiz textarea { display: none; }
  .notiz-druck { display: block; min-height: 3em; border: 1px solid #999; padding: 6px; }
  body.druck-notizen .haupt > :not(.etappe), body.druck-notizen .etappe > :not(.vorbereitung) { display: none !important; }
}

/* Vorschläge unter der großen Suche (10.11.2026) */
.held-suche { position: relative; }
.held-ergebnis { left: 0; right: 0; width: auto; top: calc(100% + 8px); text-align: left; color: var(--text); z-index: 20; }

/* ---------- Konten (Stufe 2): Platz im Kopf, Mein Verlauf, Datenschutz ---------- */
.kopf-konto { color: var(--petrol); flex: none; }
.kopf-konto .konto-knopf { border-color: var(--linie); min-height: 44px; }
.kopf-konto .konto-knopf:hover { border-color: var(--schiefer); background: var(--petrol-hauch); }
.haupt-start .konto-seite { padding-bottom: 48px; min-height: calc(100vh - var(--kopf-h) - 220px); }
.haupt-start .rechtstext { padding-bottom: 56px; }
.haupt-start > .breite > .krume { padding-top: 20px; }
.rechtstext { max-width: 46em; }
.rechtstext h1 { margin-top: .2em; }
.rechtstext h2 { font-size: 1.25rem; margin-top: 1.8em; }
.rechtstext-stand { color: var(--text-leise); }
.rechtstext ul { padding-left: 1.3em; }
@media (max-width: 760px) {
  .kopf-konto .konto-knopf { padding: .35rem .8rem; font-size: .9rem; }
  .kopf-konto .konto-knopf-an { padding: .3rem; }
}
/* Schmale Telefone: Ist „Anmelden“ sichtbar, weicht das Wort neben dem Logo, damit der Kopf einzeilig bleibt. */
@media (max-width: 400px) {
  .kopf-innen:has(.kopf-konto .konto-knopf:not(.konto-knopf-an)) .marke span:not(.nur-sr) { display: none; }
}

/* Aktionsseiten (aktionen.json, André 23.11.2026): Überschrift, zwei Sätze, Video */
.aktion-haupt { max-width: 1080px; margin: 0 auto; padding: 40px 40px 56px; }
.aktion-kopf { max-width: 46em; }
.aktion-kopf h1 { margin: .15em 0 .35em; }
.aktion-etikett { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 6px; background: var(--orange, #F39200); color: #22343B; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.aktion-etikett:empty { display: none; }
.aktion-fakten { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 18px 0 0; color: #3d5059; }
.aktion-fakten li::before { content: "✓"; color: #F39200; font-weight: 700; margin-right: 8px; }
.aktion-kontakt { margin: 22px 0 0; font-size: 1.05rem; }
.aktion-weiter { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.aktion-teil { margin: 32px 0 0; }
.aktion-teil h2 { margin: 0 0 4px; font-size: 1.3rem; }
.aktion-teil h2 a { color: inherit; text-decoration: none; }
.aktion-teil h2 a:hover { text-decoration: underline; }
@media (max-width: 700px) { .aktion-haupt { padding: 24px 16px 40px; } }
