/* ── Kompakter (30.09.2026): gleicher Inhalt, weniger Leerlauf ── */
.abschnitt { padding-block: clamp(40px, 5.5vw, 76px); }
.held .innen { padding-block: clamp(36px, 6vw, 84px); }
.kopf { margin-bottom: clamp(20px, 3vw, 36px); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
.einleitung { margin-top: 14px; }
.knopfreihe { margin-top: 24px; }
.karte--flach { padding: 22px 22px; }
.karte-inhalt { padding: 18px 20px 20px; }
.schritte > li { padding: 22px 22px 24px; }
.schritte > li::before { font-size: 2.1rem; margin-bottom: 10px; }
.haken { gap: 8px; margin-top: 16px; }
.faq summary { padding: 16px 40px 16px 0; }
.module summary { padding: 16px 4px; }
.aufruf .innen { padding-block: clamp(36px, 5vw, 64px); }

@media (max-width: 759px) {
  body { font-size: 15.5px; }
  .abschnitt { padding-block: 36px; }
  .held .innen { padding-block: 28px 32px; }
  h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .einleitung { font-size: 1rem; line-height: 1.6; }
  .held-liste { margin-top: 20px; padding-top: 16px; gap: 6px 16px; }

  /* Karten-Reihen: wischen statt untereinander stapeln */
  .raster--3, .raster--4, .raster.wisch {
    display: grid; grid-auto-flow: column; grid-template-columns: none !important;
    grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand);
    scrollbar-width: thin;
  }
  .raster--3 > *, .raster--4 > *, .raster.wisch > * { scroll-snap-align: start; }
  .wisch-hinweis { display: flex; }

  /* Kleine Infokarten zweispaltig */
  .raster--2:has(> .karte--flach:only-child) { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: 1fr 1fr !important; }
  .fakten > div { padding: 14px 14px 12px; }
  .fakten b { font-size: 1.15rem; }
  .siegel > div { padding: 14px; }

  /* Fotos in Textabschnitten flacher */
  .foto img, .foto--hoch img { aspect-ratio: 16 / 10; }
  .zwei > figure.foto { order: 2; }

  /* Schritte als kompakte Liste */
  .schritte > li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 4px; }
  .schritte > li::before { grid-row: span 2; font-size: 1.6rem; margin: 0; }
  .schritte h3 { margin: 0 0 4px; }

  /* Module/FAQ enger */
  .module .modul-inhalt { padding-bottom: 14px; }
  .leiste4 > div { padding: 14px 14px; }
  .leiste4 p { font-size: .82rem; }
}
.wisch-hinweis { display: none; align-items: center; gap: 6px; margin: -6px 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.abschnitt--dunkel .wisch-hinweis { color: rgba(255,255,255,.7); }

/* ── Gerätetest-Korrekturen (30.09.2026) ── */
/* 1) Kopfzeile passt auf jede Breite */
.kopfzeile .innen { gap: 14px; }
@media (min-width: 1100px) and (max-width: 1379px) { .kopf-aktion .anmelden { display: none; } .navi a, .navi button { padding: 10px 8px; font-size: .84rem; } }
@media (max-width: 359px) { .kopfzeile .innen { gap: 8px; } .kopfzeile .logo img { height: 24px; } .menue-knopf, .stil-knopf { width: 42px; height: 42px; } }

/* 2) Kursliste (Fokus) nie breiter als der Bildschirm */
.fokus { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .fokus { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.fokus-liste a { grid-template-columns: 26px 56px minmax(0, 1fr) 16px; gap: 12px; padding: 14px 16px; }
.fokus-liste img { width: 56px; height: 56px; }
.fokus-haupt { min-width: 0; }
@media (max-width: 380px) { .fokus-liste a { grid-template-columns: 48px minmax(0, 1fr) 14px; } .fokus-liste small { display: none; } .fokus-liste img { width: 48px; height: 48px; } }

/* 3) Mindest-Schriftgröße 12 px */
.marke, .held-liste, .fakten span, .siegel span, .karte-bild .etikett, .etikett, .foerder, .karte-inhalt .daten, .daten, .sim-kopf small, .sim-live, .sim-reiter button, .sim-rumpf small, .sim-fuss, .leise, small, th, .wisch-hinweis, .seitennavi a, .unter-kopf, .personen span, .module summary em, .fusszeile h4 { font-size: max(12px, 1em * 0.75) !important; }
.sim-reiter button { font-size: 12px !important; letter-spacing: .06em; }

/* 4) Tippflächen mindestens 44 px */
.pfeil-link { min-height: 44px; }
.fuss-unten nav a, .fusszeile ul a { display: inline-flex; align-items: center; min-height: 44px; }
.fusszeile ul { gap: 0; }
.kopfzeile .logo { display: flex; align-items: center; min-height: 48px; }
.fusszeile .logo-hell { display: inline-flex; align-items: center; min-height: 48px; }
.sim-reiter button { min-height: 44px; }
.krumen a { display: inline-flex; align-items: center; min-height: 44px; }
.krumen { padding-block: 0; }
.krumen ol { align-items: center; }
.krumen li { display: inline-flex; align-items: center; min-height: 44px; }

/* 5) Einstieg: überall nichts über das Hauptfoto legen */
.collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-height: 0; align-items: center; }
.collage .foto-gross { grid-column: 1 / -1; width: 100%; aspect-ratio: 3 / 2; }
.collage .foto-klein { position: static; width: 100%; aspect-ratio: 16 / 10; border: 0; box-shadow: 2px 2px 0 var(--schatten-farbe); }
.collage .schild { position: static; margin: 0; max-width: none; }
.collage .bildschirm { grid-column: 1 / -1; width: 100% !important; }
.collage--team .schild { grid-column: 1 / -1; justify-self: start; }
html.nacht .held--dunkel .collage .foto-klein { box-shadow: 0 0 12px var(--leucht), 0 0 36px var(--leucht-weit); }
.fusszeile ul a, .fuss-unten nav a { min-width: 44px; }
.fuer b { font-size: 12px !important; }
@media (max-width: 359px) {
  body { overflow-wrap: anywhere; hyphens: auto; }
  .kasten { padding: 16px 14px; }
  :root { --rand: 14px; }
}
/* Safari/WebKit: Wisch-Reihen und Unternavigation nie über den Rand */
.seitennavi { overflow: hidden; max-width: 100vw; }
.seitennavi .innen { max-width: 100%; }
main { overflow-x: clip; }
.fusszeile .fuss-titel { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; font-weight: 700; }
.leiste4 h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-top: 6px; }
@media (max-width: 759px) { .leiste4 h2 { font-size: 1rem; } }

/* Handy-Einstieg mit Teamfoto: Bild zuerst, randlos, Überschrift läuft ins Bild */
@media (max-width: 899px) {
  .held .zwei:has(.collage--team) { display: flex; flex-direction: column; gap: 0; }
  .held .zwei:has(.collage--team) > .collage--team { order: -1; display: block; margin: -28px calc(-1 * var(--rand)) 0; position: relative; }
  .held .collage--team .foto-gross { width: 100%; aspect-ratio: 4 / 3.4; object-position: center 12%; box-shadow: none; }
  .held .collage--team::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, var(--nacht)); pointer-events: none; }
  html:not(.nacht) .held .collage--team::after { background: linear-gradient(180deg, rgba(7,26,54,0), #071a36); }
  .held .collage--team .schild { display: none; }
  .held .zwei:has(.collage--team) > div:not(.collage) { position: relative; z-index: 1; margin-top: -64px; }
  .held .zwei:has(.collage--team) .marke { display: none; }
  .held .zwei:has(.collage--team) h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
  .held .zwei:has(.collage--team) .einleitung { font-size: .98rem; }
  .held .zwei:has(.collage--team) .knopfreihe { margin-top: 20px; gap: 12px; }
  .held .zwei:has(.collage--team) .knopfreihe .knopf { width: 100%; }
}
@media (max-width: 899px) { html.nacht .held--dunkel .collage--team .foto-gross { box-shadow: none !important; } }

/* ── Schnellwahl unter dem Einstieg (Vorschau 30.09.) ── */
.schnellwahl { background: var(--hell); border-bottom: 1px solid var(--linie); }
.schnellwahl .innen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-block: 20px; }
.schnellwahl a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 14px; color: #fff; text-decoration: none; overflow: hidden; background: var(--nacht); box-shadow: 2px 2px 0 var(--schatten-farbe); transition: transform 120ms, box-shadow 120ms; }
.schnellwahl a:hover { color: #fff; transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--schatten-farbe); }
.schnellwahl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.schnellwahl a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,54,.05), rgba(7,26,54,.9)); }
.schnellwahl b, .schnellwahl span { position: relative; z-index: 1; }
.schnellwahl b { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.schnellwahl span { font-size: 12px; color: rgba(255,255,255,.9); margin-top: 2px; }
.schnellwahl .schnellwahl-test { background: var(--blau); }
.schnellwahl .schnellwahl-test img { opacity: .35; }
@media (max-width: 759px) { .schnellwahl .innen { grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 14px; } .schnellwahl a { min-height: 104px; padding: 12px; } }
html.nacht .schnellwahl { background: #04060b; border-color: rgba(255,255,255,.1); }
html.nacht .schnellwahl a { border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 10px var(--leucht), 0 0 26px var(--leucht-weit); }

/* ── Handy-Menü mit Karten (Vorschau 30.09.) ── */
.schublade { padding-top: 14px; }
.schublade nav { display: block; }
.sm-titel { margin: 18px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.sm-titel a { color: #fff; text-decoration: none; font-size: 1.05rem; letter-spacing: 0; text-transform: none; display: inline-flex; min-height: 44px; align-items: center; gap: 6px; }
.sm-kurse { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--rand)); padding: 0 var(--rand) 8px; }
.sm-kurs, .sm-kachel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 10px; color: #fff; text-decoration: none; overflow: hidden; background: #071a36; border: 1px solid rgba(255,255,255,.18); scroll-snap-align: start; }
.sm-kurs img, .sm-kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.sm-kurs::after, .sm-kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(4,10,24,.92)); }
.sm-kurs b, .sm-kurs span, .sm-kachel b, .sm-kachel span { position: relative; z-index: 1; }
.sm-kurs b, .sm-kachel b { font-size: .95rem; font-weight: 800; line-height: 1.2; }
.sm-kurs span, .sm-kachel span { font-size: 12px; color: rgba(255,255,255,.7); }
.sm-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-kachel { min-height: 96px; }
.sm-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.sm-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.9); font-weight: 600; text-decoration: none; }
.sm-knoepfe { display: grid; gap: 10px; margin-top: 16px; }
.sm-knoepfe .knopf { width: 100%; margin: 0; }

.dozent-platzhalter { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--blau-tief), var(--nacht)); color: #fff; font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; letter-spacing: .04em; box-shadow: 2px 2px 0 var(--schatten-farbe); }
.team-karten { margin-top: 24px; }
/* Schild: Text bricht sauber um, nie über den Rand */
.collage .schild { min-width: 0; }
.collage .schild > div { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.collage .schild b { line-height: 1.25; }
.collage .schild span { line-height: 1.4; }
@media (max-width: 899px) {
  .collage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; }
  .collage .schild { padding: 12px; gap: 10px; }
  .collage .schild i { width: 34px; height: 34px; }
  .collage .schild b { font-size: .92rem; }
  .collage .schild span { font-size: 12px; }
}
/* Grafiken (Motive mit Schrift) nie beschneiden */
img[src*="/azav-"], img[src*="/flughafen-"], img.bild--weiss { object-fit: contain !important; background: #fff; }
.fakten a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.karte b, .karte h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px), (max-height: 480px) { .fakten b a, .fakten b { font-size: clamp(.95rem, 4.4vw, 1.15rem); } .karte b { overflow-wrap: anywhere; } }
.fakten a { display: inline-flex; align-items: center; min-height: 44px; }
/* Seite im Fenster des Chat-Assistenten: ohne Kopf, Fuß und Brotkrumen */
html.eingebettet .kopfzeile, html.eingebettet .fusszeile, html.eingebettet .krumen, html.eingebettet .springe, html.eingebettet .seitennavi, html.eingebettet .schublade { display: none !important; }
html.eingebettet .held .innen { padding-block: 28px 32px; }
/* Bewertung im Einstieg */
.sterne { color: #f5a623; letter-spacing: 1px; }
a.schild { text-decoration: none; color: var(--tinte); }
a.schild:hover { color: var(--tinte); transform: translate(-1px,-1px); }
.schild--bewertung i { width: auto !important; min-width: 52px; padding: 0 8px; font-size: 1.05rem; }
.schild--bewertung b { display: flex; align-items: center; gap: 6px; }
.held-liste .held-bewertung a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.held-liste .held-bewertung::before { display: none; }
@media (min-width: 900px) { .held-liste .held-bewertung { display: none; } }
html.nacht a.schild { color: #fff; }

/* Förder-Check-Teaser (Startseite) */
.check-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin: 0 0 40px; padding: clamp(22px, 4vw, 36px); background: var(--blau); color: #fff; text-decoration: none; box-shadow: 2px 2px 0 var(--schatten-farbe); transition: transform 120ms, box-shadow 120ms; min-width: 0; }
.check-teaser:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--schatten-farbe); }
.check-teaser-marke { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #aec4e9; }
.check-teaser h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; margin: 8px 0 10px; }
.check-teaser p { color: rgba(255,255,255,.9); margin: 0 0 20px; max-width: 46ch; }
.check-teaser .knopf { pointer-events: none; }
.check-teaser-fragen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.check-teaser-fragen li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: .95rem; }
.check-teaser-fragen li:nth-child(3) { background: #fff; color: var(--tinte); box-shadow: 2px 2px 0 var(--schatten-farbe); }
.check-teaser-fragen i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; background: rgba(255,255,255,.18); }
.check-teaser-fragen li:nth-child(3) i { background: var(--blau); color: #fff; }
@media (max-width: 760px) { .check-teaser { grid-template-columns: 1fr; } .check-teaser-fragen li:nth-child(n+4) { display: none; } }
html.nacht .check-teaser { background: linear-gradient(135deg, #071a36, #004aad 60%, #1f2d57); box-shadow: 2px 2px 0 var(--schatten-farbe), 0 0 40px rgba(0,74,173,.25); }
html.nacht .check-teaser-fragen li:nth-child(3) { background: #071a36; color: #fff; box-shadow: 2px 2px 0 var(--schatten-farbe); }
