@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(schrift/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(schrift/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(schrift/inter-700.woff2) format("woff2"); }

@font-face { font-family: "Noto Sans Arabic"; font-weight: 400; font-display: swap; src: url(schrift/noto-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 600; font-display: swap; src: url(schrift/noto-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 700; font-display: swap; src: url(schrift/noto-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --gruen: #008639; --gruen-dunkel: #006E2F; --gruen-tief: #0B3D21; --gruen-hell: #E8F3EC; --schwarz: #14171A; --text: #2A2F33; --grau: #6B7378;
  --linie: #E1E5E7; --flaeche: #F3F5F4; --weiss: #fff; --rot: #C62828; --rot-hell: #FDECEC; --gelb: #B26A00; --gelb-hell: #FFF4DC;
  --radius: 14px; --breite: 1120px; --schatten: 0 1px 2px rgba(20,23,26,.05), 0 6px 20px rgba(20,23,26,.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 Inter, "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--flaeche); }
a { color: var(--gruen); text-decoration: none; }
h1, h2, h3 { color: var(--schwarz); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
small { color: var(--grau); font-size: 13px; display: block; font-weight: 400; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Leiste */
.leiste { position: sticky; top: 0; z-index: 20; background: var(--weiss); border-bottom: 1px solid var(--linie); display: flex; align-items: center; gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--breite)) / 2)); padding-top: env(safe-area-inset-top); min-height: 68px; }
.marke { display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; color: var(--schwarz); white-space: nowrap; }
.logo { height: 21px; width: auto; display: block; }
.logo.wort { height: auto; display: flex; flex-direction: column; line-height: 1; }
.logo.wort b { font-size: 21px; font-weight: 700; letter-spacing: .08em; color: var(--gruen); }
.logo.wort small { font-size: 7.5px; letter-spacing: .21em; color: var(--grau); margin-top: 4px; font-weight: 600; }
.logo.hell { height: 30px; align-self: flex-start; }
.logo.wort.hell { filter: none; height: auto; }
.logo.wort.hell b { color: #fff; font-size: 28px; } .logo.wort.hell small { color: rgba(255,255,255,.8); font-size: 9.5px; }
.logo.nur-mobil { display: none; }
.produkt { font-size: 10.5px; font-weight: 600; color: var(--grau); letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
nav.haupt { display: flex; gap: 2px; margin-inline-start: auto; }
nav.haupt a { padding: 9px 14px; color: var(--text); font-weight: 600; font-size: 15px; border-radius: 9px; white-space: nowrap; }
nav.haupt a:hover { background: var(--flaeche); }
nav.haupt a.an { color: var(--gruen); background: var(--gruen-hell); }
.rechts { display: flex; align-items: center; gap: 14px; }
.ich { display: flex; align-items: center; gap: 9px; color: var(--schwarz); font-weight: 600; font-size: 14px; padding: 4px 12px 4px 4px; border-radius: 99px; border: 1px solid var(--linie); }
.ich.an { border-color: var(--gruen); }
.kreis { width: 32px; height: 32px; border-radius: 50%; background: var(--gruen); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .03em; flex: 0 0 auto; }
.kreis.gross { width: 72px; height: 72px; font-size: 25px; }
.aus, .hilfe { font-size: 14px; font-weight: 600; color: var(--grau); }
.hilfe:hover, .hilfe.an { color: var(--gruen); }
.kontakt { display: flex; align-items: center; gap: 24px; }
.kontakt img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.kontakt .kreis.gross { width: 132px; height: 132px; font-size: 44px; }
.kontakt div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.kontakt h2 { margin: 0 0 4px; font-size: 24px; }
.kontakt .knopf { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.kontaktbild { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.kontaktbild img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
input[type=file] { padding: 10px 14px !important; font-size: 14px !important; }
.aus:hover { color: var(--rot); }
nav.unten { display: none; }

main { max-width: var(--breite); margin: 0 auto; padding: 32px 24px calc(64px + env(safe-area-inset-bottom)); }
main.schmal { max-width: 780px; }

/* Karten */
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; box-shadow: var(--schatten); }
.karte h2 { margin-bottom: 14px; }
.karte p { margin: 0 0 16px; }
.start { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.start > div:first-child { flex: 1; min-width: 0; }
.start h2 { margin-bottom: 4px; }
.kennung { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gruen); margin-bottom: 6px; }
.klein { font-size: 14px; color: var(--grau); }
.mitte { text-align: center; }
.teil { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--grau); margin: 34px 0 12px; }
.pfad { margin: 0 0 14px; font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; }
.pfad a + a::before { content: "/"; color: var(--linie); margin-inline-end: 6px; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; margin: 0 0 20px; }
.zwei-spalten.breit-schmal { grid-template-columns: 1.6fr 1fr; }
.zwei-spalten > * { min-width: 0; }
.zwei-spalten > .karte, .zwei-spalten > section > :last-child { margin-bottom: 0; }
.zwei-spalten > section > .teil:first-child { margin-top: 14px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--gruen); color: #fff;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; text-align: center; transition: background .12s; }
.knopf:hover { background: var(--gruen-dunkel); }
.knopf.hell { background: var(--weiss); color: var(--schwarz); border: 1px solid var(--linie); }
.knopf.hell:hover { background: var(--flaeche); }
.knopf.weiss { background: #fff; color: var(--gruen-tief); }
.knopf.weiss:hover { background: var(--gruen-hell); }
.knopf.rot { background: var(--rot); }
.knopf.rot:hover { background: #A91F1F; }
.knopf.gross { min-height: 54px; padding: 0 28px; font-size: 17px; }
.knopf:disabled { opacity: .45; cursor: default; }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.fussleiste { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.frage { text-align: center; padding: 44px 28px; margin-top: 8vh; }
.frage h1 { font-size: 24px; margin-bottom: 26px; }
.frage p { color: var(--grau); margin: -12px 0 26px; }
.frage .knoepfe { justify-content: center; }

/* Held */
.held { display: flex; align-items: center; gap: 28px; background: linear-gradient(120deg, var(--gruen-tief), var(--gruen) 85%); color: #fff; border-radius: 18px; padding: 30px 32px; margin: 0 0 20px; box-shadow: var(--schatten); }
.held-text { flex: 1; min-width: 0; }
.held h1 { color: #fff; font-size: 27px; margin: 0 0 8px; }
.held .kennung { color: rgba(255,255,255,.75); }
.held .klein { color: rgba(255,255,255,.8); }
.ring { width: 112px; height: 112px; flex: 0 0 auto; }
.ring circle { fill: none; stroke-width: 9; }
.ring .spur { stroke: var(--linie); }
.ring .wert { stroke: var(--gruen); stroke-linecap: round; }
.ring text { font-size: 25px; font-weight: 700; fill: var(--schwarz); }
.ring.hell .spur { stroke: rgba(255,255,255,.22); } .ring.hell .wert { stroke: #fff; } .ring.hell text { fill: #fff; }
.ring.klein { width: 78px; height: 78px; }
.seitenkopf { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.seitenkopf h1 { margin: 0; }

/* Balken, Stapel, Marken */
.balken { height: 7px; background: var(--linie); border-radius: 99px; overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--gruen); border-radius: 99px; }
.stapel { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--linie); margin-top: 8px; gap: 2px; }
.stapel i { display: block; min-width: 0; }
.s-sicher { background: var(--gruen); } .s-unsicher { background: #E0A423; } .s-fehler { background: var(--rot); } .s-neu { background: #CBD1D4; }
.held .stapel { background: rgba(255,255,255,.2); height: 10px; margin-top: 12px; max-width: 420px; }
.held .s-sicher { background: #fff; } .held .s-neu { background: rgba(255,255,255,.25); }
.marke.gut, .marke.warn, .marke.schlecht, .marke.neutral { display: inline-flex; flex-direction: row; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.marke.gut { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.marke.warn { background: var(--gelb-hell); color: var(--gelb); }
.marke.schlecht { background: var(--rot-hell); color: var(--rot); }
.marke.neutral { background: var(--flaeche); color: var(--grau); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; gap: 10px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; color: var(--text); box-shadow: var(--schatten); transition: border-color .12s, transform .12s; min-height: 150px; }
.kachel:hover { border-color: var(--gruen); transform: translateY(-1px); }
.kachel .nr { width: 34px; height: 34px; border-radius: 9px; background: var(--flaeche); color: var(--grau); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.kachel.fertig .nr { background: var(--gruen); color: #fff; }
.kachel .t { font-weight: 600; color: var(--schwarz); line-height: 1.3; flex: 1; }
.kachel .fuss { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--grau); gap: 8px; }

/* Zahlen */
.zahlen { display: grid; gap: 14px; margin: 0 0 20px; }
.zahlen.drei { grid-template-columns: repeat(3, 1fr); } .zahlen.vier { grid-template-columns: repeat(4, 1fr); } .zahlen.sechs { grid-template-columns: repeat(6, 1fr); }
.zahlen > div { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--schatten); min-width: 0; }
.zahlen b { display: block; font-size: 27px; line-height: 1.15; color: var(--schwarz); font-variant-numeric: tabular-nums; }
.zahlen span { font-size: 13px; color: var(--grau); line-height: 1.3; display: block; margin-top: 3px; }
.z-fehler b { color: var(--rot); } .z-unsicher b { color: var(--gelb); } .z-sicher b { color: var(--gruen); }
.fakten { display: flex; gap: 30px; margin: 0 0 20px; }
.fakten b { display: block; font-size: 26px; line-height: 1.1; }
.fakten span { font-size: 13px; opacity: .8; }

/* Listen */
.liste { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; margin: 0 0 20px; box-shadow: var(--schatten); }
.reihe { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border: 0; border-top: 1px solid var(--linie); color: var(--text); width: 100%; background: none; text-align: start; cursor: pointer; }
div.reihe { cursor: default; }
.reihe:first-child, .liste > input + .reihe, .liste > input:first-child + input + .reihe { border-top: 0; }
a.reihe:hover, button.reihe:hover { background: #FAFBFA; }
.reihe .nr { flex: 0 0 44px; font-weight: 700; color: var(--gruen); font-variant-numeric: tabular-nums; }
.reihe .t { flex: 1; min-width: 0; font-weight: 600; color: var(--schwarz); line-height: 1.35; }
.reihe .t .balken { margin-top: 8px; }
.reihe .wert { font-size: 14px; color: var(--grau); white-space: nowrap; font-variant-numeric: tabular-nums; }
.reihe .wert.stark { font-size: 17px; font-weight: 700; color: var(--schwarz); }
.reihe .wert.klein { min-width: 46px; text-align: end; }
.knopfartig { border: 1px solid var(--linie); border-radius: 9px; padding: 6px 14px; font-weight: 600; color: var(--schwarz) !important; }
.punkt { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--linie); flex: 0 0 auto; }
.reihe.fertig .punkt { background: var(--gruen); border-color: var(--gruen); }
.liste.eng .reihe { padding: 11px 16px; font-size: 15px; }
.schritt { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--grau); }
.schritt .balken { flex: 1; }
.zwischen > h1 { font-size: 24px; }

/* Bereit zur Prüfung */
.bereit { border-inline-start: 5px solid var(--linie); }
.bereit.gut { border-inline-start-color: var(--gruen); } .bereit.warn { border-inline-start-color: #E0A423; } .bereit.schlecht { border-inline-start-color: var(--rot); }
.bereit-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bereit-kopf h2 { margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--linie); font-size: 15px; }
.checks .t { flex: 1; font-weight: 600; color: var(--schwarz); }
.checks .wert { font-size: 14px; color: var(--grau); font-variant-numeric: tabular-nums; }
.checks .haken { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--linie); flex: 0 0 auto; position: relative; }
.checks .ja .haken { background: var(--gruen); border-color: var(--gruen); }
.checks .ja .haken::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.termin { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--linie); }
.termin span { display: block; font-size: 13px; color: var(--grau); }
.termin b { color: var(--schwarz); font-size: 16px; }

/* Prüfung */
.karte.auswahl.gruen { background: linear-gradient(140deg, var(--gruen-tief), var(--gruen)); color: #fff; border: 0; }
.karte.auswahl { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 26px; cursor: default; }
.karte.auswahl p { flex: 1; }
.karte.auswahl.gruen h2 { color: #fff; } .karte.auswahl.gruen .kennung { color: rgba(255,255,255,.75); }
.proben { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buch */
.buecher { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.buch { display: flex; gap: 18px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; box-shadow: var(--schatten); }
.buch.mein { border-color: var(--gruen); grid-column: 1 / -1; }
.umschlag { flex: 0 0 104px; }
.buch.mein .umschlag { flex-basis: 150px; }
.umschlag img { width: 100%; height: auto; display: block; border-radius: 5px; border: 1px solid var(--linie); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.buch-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.buch-text h2 { font-size: 18px; }
.buch-text .knoepfe { margin-top: auto; padding-top: 14px; }
.buch:not(.mein) .knopf { min-height: 42px; padding: 0 16px; font-size: 15px; }
.buch .knoepfe { flex-wrap: nowrap; }
.umschlag img { aspect-ratio: 210 / 297; object-fit: cover; }

/* Konto */
.profil { display: flex; align-items: center; gap: 20px; margin: 4px 0 22px; }
.profil h1 { margin: 0 0 4px; }
.wahl-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wahl-karte { position: relative; margin: 0; }
.wahl-karte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl-karte span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--linie); border-radius: 11px; font-weight: 600; color: var(--schwarz); font-size: 15px; }
.wahl-karte input:checked + span { border-color: var(--gruen); background: var(--gruen-hell); color: var(--gruen-dunkel); }
.wahl-karte input:focus-visible + span { outline: 2px solid var(--gruen); outline-offset: 2px; }

/* Formulare */
label { display: block; font-size: 14px; font-weight: 600; color: var(--schwarz); margin-bottom: 14px; }
input:not([type=checkbox]):not([type=radio]), select { display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid #C9CFD2; border-radius: 10px; background: var(--weiss); font-size: 16px; font-weight: 400; }
input:focus, select:focus, .knopf:focus-visible, .opt:focus-visible { outline: 2px solid var(--gruen); outline-offset: 1px; }
.felder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.felder.zwei { grid-template-columns: 1fr 1fr; }
label.haken { display: flex; align-items: center; gap: 10px; font-weight: 400; align-self: end; min-height: 48px; }
label.haken input { width: 20px; height: 20px; accent-color: var(--gruen); margin: 0; }
.fehler, .ok { padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; margin: 0 0 16px; }
.fehler { background: var(--rot-hell); color: var(--rot); } .ok { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.leer { color: var(--grau); font-size: 14px; text-align: center; padding: 14px; margin: 0; }

/* Anmelden: grüne Fläche, weißes Logo, Karte mit dem Formular */
body.gast { background: linear-gradient(165deg, var(--gruen) 0%, var(--gruen-dunkel) 100%) fixed; }
.gast main { max-width: none; padding: 0; }
.tor { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }
.tor-kopf { display: inline-flex; flex-direction: column; align-items: stretch; gap: 9px; }
.tor-kopf .logo { height: 40px; align-self: auto; }
.tor-kopf .unterzeile { color: rgba(255,255,255,.88); font-size: 15px; }
.tor form.karte { width: 100%; max-width: 410px; margin: 0; padding: 32px 30px; border: 0; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.tor h2 { font-size: 26px; margin-bottom: 22px; }
.tor .knopf { width: 100%; margin-top: 8px; }
.tor .neben { display: block; text-align: center; margin-top: 18px; font-size: 14px; font-weight: 600; }

/* Lektion */
.lektion { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px 34px; }
.lektion h1 { font-size: 26px; }
.lektion p { margin: 0 0 14px; }
.lektion ul, .lektion ol { margin: 0 0 16px; padding-inline-start: 22px; }
.lektion li { margin-bottom: 6px; }
.lektion li::marker { color: var(--gruen); font-weight: 700; }
.lektion strong, .lektion b { color: var(--schwarz); font-weight: 600; }
.lernziele, aside.merke, aside.achtung { border-inline-start: 4px solid var(--gruen); background: var(--gruen-hell); padding: 16px 18px; margin: 0 0 22px; border-radius: 0 8px 8px 0; }
aside.achtung { border-color: var(--rot); background: var(--rot-hell); }
.lernziele .kopf, aside .kopf { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen); margin-bottom: 6px; }
aside.achtung .kopf { color: var(--rot); }
.lernziele ul, aside p { margin: 0; }
.lektion table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.lektion th { text-align: start; background: var(--gruen); color: #fff; font-weight: 600; padding: 9px 12px; }
.lektion td { padding: 9px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.lektion figure { margin: 22px 0; text-align: center; }
.lektion figure img, .lektion figure svg { max-width: 100%; height: auto; border-radius: 6px; }
.lektion figure svg { width: 100%; max-height: 460px; }
.lektion figure.grafik:not(.breit):not(.mittel) svg { max-width: 260px; }
.lektion figure.mittel svg { max-width: 560px; }
.lektion figcaption { font-size: 13px; color: var(--grau); margin-top: 8px; }
.bildlegende { display: flex; justify-content: space-around; gap: 12px; font-size: 14px; margin-top: 8px; }
.bildlegende b { color: var(--gruen); margin-inline-end: 4px; }
.symbole { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 16px 10px; margin: 8px 0 22px; }
.symbole .sym { text-align: center; font-size: 12.5px; line-height: 1.3; color: var(--schwarz); overflow-wrap: anywhere; hyphens: auto; min-width: 0; }
.symbole .sym img { width: 64px; height: 64px; display: block; margin: 0 auto 6px; }
.symbole.gross .sym img { width: 80px; height: 80px; }
img.inline-sym { width: 40px; height: 40px; vertical-align: middle; margin: 0 6px; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 16px; }
.zweispaltig svg { max-width: 100%; height: auto; }
.zusammen li { margin-bottom: 10px; }
.zwischen { margin-top: 26px; }
.zwischen h2 { margin-bottom: 14px; }

/* Test */
.tkopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.zaehler { font-size: 14px; font-weight: 600; color: var(--grau); }
.uhr { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--schwarz); }
.uhr.knapp { color: var(--rot); }
.vca-test > .balken { margin-bottom: 16px; }
.fkarte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; }
.ftext { font-size: 19px; font-weight: 600; color: var(--schwarz); line-height: 1.4; margin-bottom: 18px; }
.ftext img.inline-sym { width: 72px; height: 72px; display: inline-block; margin: 10px 10px 0 0; }
.optionen { display: grid; gap: 10px; }
.opt { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: start; padding: 14px 16px; min-height: 56px; background: var(--weiss);
  border: 2px solid var(--linie); border-radius: 10px; cursor: pointer; line-height: 1.4; }
.opt b { flex: 0 0 30px; height: 30px; border-radius: 6px; background: var(--flaeche); color: var(--grau); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.opt span { padding-top: 3px; }
.opt:hover:not(:disabled) { border-color: var(--grau); }
.opt.an { border-color: var(--gruen); background: var(--gruen-hell); }
.opt.an b { background: var(--gruen); color: #fff; }
.opt:disabled { cursor: default; color: var(--text); }
.opt.soll { border-color: var(--gruen); background: var(--gruen-hell); }
.opt.soll b { background: var(--gruen); color: #fff; }
.opt.fehl { border-color: var(--rot); background: var(--rot-hell); }
.opt.fehl b { background: var(--rot); color: #fff; }
.opt.folge { position: relative; }
.opt em.korrektur { margin-inline-start: auto; font-style: normal; font-weight: 700; color: var(--gruen); flex: 0 0 auto; padding-top: 3px; }
.aussage, .zuordnung { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--linie); }
.aussage:first-child, .zuordnung:first-child { border-top: 0; padding-top: 0; }
.atext, .ltext { flex: 1; min-width: 0; }
.ltext { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--schwarz); }
.ltext b { color: var(--gruen); }
.ltext img.inline-sym { width: 56px; height: 56px; margin: 0; }
.paar { display: flex; gap: 6px; flex: 0 0 auto; }
.wahl { min-height: 44px; min-width: 76px; padding: 0 12px; border: 2px solid var(--linie); border-radius: 8px; background: var(--weiss); cursor: pointer; font-size: 15px; font-weight: 600; }
.wahl.an { border-color: var(--gruen); background: var(--gruen-hell); color: var(--gruen); }
.wahl.soll { border-color: var(--gruen); background: var(--gruen); color: #fff; }
.wahl.fehl { border-color: var(--rot); background: var(--rot-hell); color: var(--rot); }
.wahl:disabled { cursor: default; }
.zuordnung select { flex: 0 1 52%; margin: 0; }
.zuordnung.soll select { border-color: var(--gruen); background: var(--gruen-hell); }
.zuordnung.fehl { flex-wrap: wrap; }
.zuordnung.fehl select { border-color: var(--rot); background: var(--rot-hell); }
.zuordnung .korrektur { flex: 1 0 100%; order: 3; color: var(--gruen); font-weight: 600; font-size: 15px; text-align: end; }
.rueck { margin-top: 14px; font-weight: 700; min-height: 26px; }
.rueck.gut { color: var(--gruen); } .rueck.halb { color: var(--gelb); } .rueck.schlecht { color: var(--rot); }
.tfuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.tfuss .sicher { margin-inline-end: auto; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin: 14px 0; }
.feldnr { min-height: 48px; border: 2px solid var(--linie); border-radius: 8px; background: var(--weiss); font-weight: 700; cursor: pointer; color: var(--grau); }
.feldnr.an { background: var(--gruen-hell); border-color: var(--gruen); color: var(--gruen); }
.offen { color: var(--grau); font-size: 14px; margin: 0 0 8px; }
.gross { font-size: 18px; margin-bottom: 12px; }
.gross b { font-size: 44px; line-height: 1; color: var(--schwarz); }
.fkarte.ende .gross { font-size: 44px; font-weight: 700; color: var(--schwarz); }

/* Ergebnis */
.ergebnis { border-top: 5px solid var(--gruen); }
.ergebnis.schlecht { border-top-color: var(--rot); }
.ergebnis h1 { margin-bottom: 10px; }
.ergebnis.gut h1 { color: var(--gruen); } .ergebnis.schlecht h1 { color: var(--rot); }
.ergebnis small { margin-top: 10px; }
.auswertung details { background: var(--weiss); border: 1px solid var(--linie); border-inline-start: 4px solid var(--gruen); border-radius: 8px; margin-bottom: 8px; }
.auswertung details.schlecht { border-inline-start-color: var(--rot); }
.auswertung details.halb { border-inline-start-color: var(--gelb); }
.auswertung summary { display: flex; gap: 14px; padding: 12px 16px; cursor: pointer; list-style: none; align-items: flex-start; }
.auswertung summary::-webkit-details-marker { display: none; }
.auswertung summary .nr { flex: 0 0 28px; font-weight: 700; color: var(--grau); }
.auswertung summary .t { flex: 1; font-weight: 600; color: var(--schwarz); }
.auswertung summary .t img { width: 40px; height: 40px; vertical-align: middle; }
.auswertung summary .wert { font-weight: 700; font-variant-numeric: tabular-nums; }
.auswertung .gut summary .wert { color: var(--gruen); } .auswertung .schlecht summary .wert { color: var(--rot); } .auswertung .halb summary .wert { color: var(--gelb); }
.auswertung .feld, .auswertung .links { margin: 0 16px 12px 58px; font-size: 15px; }
.auswertung .links { padding-inline-start: 20px; }
.auswertung .links img { width: 40px; height: 40px; vertical-align: middle; }
.auswertung .feld span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.auswertung .feld p { margin: 2px 0 0; }
.auswertung .feld.richtig p { color: var(--gruen); font-weight: 600; }


.tknopf { border: 1px solid var(--linie); background: var(--weiss); border-radius: 99px; padding: 5px 14px; font-size: 13.5px; font-weight: 600; color: var(--schwarz); cursor: pointer; white-space: nowrap; }
.tknopf:hover { border-color: var(--grau); }
.tknopf.an { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.tkopf { align-items: center; gap: 12px; }
.tkopf .zaehler { margin-inline-end: auto; }
.meldezeile { margin: 4px 0 10px; }
.fenster { position: fixed; inset: 0; z-index: 100; background: rgba(20,23,26,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fenster .karte { width: 100%; max-width: 460px; margin: 0; max-height: 100%; overflow-y: auto; }
.fenster .gruende { display: grid; gap: 8px; margin-bottom: 16px; }
.fenster .wahl-karte span { justify-content: flex-start; padding: 0 16px; font-weight: 600; }
.fenster textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 14px; border: 1px solid #C9CFD2; border-radius: 10px; font: inherit; font-weight: 400; resize: vertical; }
.fenster .knoepfe { justify-content: flex-end; }
.frage.links { text-align: start; }
.frage.links .knoepfe { justify-content: space-between; margin-top: 8px; }

.hilfeliste { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hilfeliste .karte { margin: 0; } .hilfeliste p { margin: 0; color: var(--text); }
.kontakt { margin-bottom: 16px; }
.intro { align-items: flex-end; padding-bottom: calc(90px + env(safe-area-inset-bottom)); background: rgba(20,23,26,.6); }
.intro .karte { max-width: 520px; padding: 26px; }
.intro .karte p { font-size: 17px; line-height: 1.5; margin: 0 0 22px; }
.intro .knoepfe { justify-content: space-between; }
.intro .punkte { display: flex; gap: 6px; margin-bottom: 16px; }
.intro .punkte i { width: 22px; height: 4px; border-radius: 2px; background: var(--linie); }
.intro .punkte i.an { background: var(--gruen); }
.zeig { position: relative; z-index: 101; background: #fff !important; color: var(--gruen) !important; border-radius: 9px; box-shadow: 0 0 0 3px var(--gruen), 0 0 0 9px rgba(0,134,57,.3); animation: zeig 1.2s ease-in-out infinite; }
nav.unten:has(.zeig), .leiste:has(.zeig) { z-index: 101; }
@keyframes zeig { 50% { box-shadow: 0 0 0 3px var(--gruen), 0 0 0 15px rgba(0,134,57,0); } }
@media (min-width: 761px) { .intro { align-items: center; padding-bottom: 16px; } }
@media (max-width: 760px) { .hilfeliste { grid-template-columns: 1fr; } }

/* Verwaltung */
.liste.flach { border: 0; box-shadow: none; margin: 0; border-radius: 0; }
.liste.flach .reihe { padding-inline: 0; }
.mailbild { border: 1px solid var(--linie); border-radius: 10px; margin-top: 12px; overflow: hidden; }
.mailbild h1 { letter-spacing: 0; }
.mailbild a { pointer-events: none; }
p.filter { margin: 0 0 16px; }
a.knopfartig.an { background: var(--gruen); border-color: var(--gruen); color: #fff !important; }
.reiter { overflow-x: auto; white-space: nowrap; }
.reiter { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 1px solid var(--linie); }
.reiter a { padding: 10px 16px; font-weight: 600; color: var(--grau); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.reiter a.an { color: var(--gruen); border-color: var(--gruen); }
.kopfzeile { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; flex-wrap: wrap; }
.kopfzeile input { margin: 0; flex: 0 1 240px; min-height: 44px !important; }
.filter { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.filter button { border: 1px solid var(--linie); background: var(--weiss); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text); }
.filter button.an { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.tabelle { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow-x: auto; margin: 0 0 20px; box-shadow: var(--schatten); }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle th { text-align: start; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--grau); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--linie); white-space: nowrap; background: #FAFBFA; }
.tabelle th[data-s] { cursor: pointer; }
.tabelle th[data-r=auf]::after { content: " ↑"; } .tabelle th[data-r=ab]::after { content: " ↓"; }
.tabelle td { padding: 12px 14px; border-top: 1px solid var(--linie); vertical-align: middle; }
.tabelle tbody tr:first-child td { border-top: 0; }
.tabelle td a { font-weight: 600; }
.tabelle td p { margin: 0; }
.mit-balken { display: block; min-width: 86px; font-variant-numeric: tabular-nums; }
.mit-balken .balken { margin-top: 5px; height: 5px; }
.saeulen, .verlauf { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-bottom: 22px; position: relative; }
.saeulen > div, .verlauf > a { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; min-width: 0; }
.saeulen i, .verlauf i { display: block; background: var(--gruen); border-radius: 5px 5px 0 0; min-height: 3px; }
.saeulen span, .verlauf span { position: absolute; bottom: -21px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--grau); font-variant-numeric: tabular-nums; }
.verlauf > a { max-width: 44px; }
.verlauf .schlecht i { background: var(--rot); }
.verlauf::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(22px + (100% - 22px) * 0.645); border-top: 2px dashed var(--grau); opacity: .5; }
.kurzliste a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--linie); color: var(--schwarz); font-weight: 600; font-size: 15px; }
.kurzliste a:first-child { border-top: 0; }
.zugang { border-color: var(--gruen); background: var(--gruen-hell); }
.zugang dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.zugang dt { color: var(--grau); font-size: 14px; }
.zugang dd { margin: 0; font-weight: 700; color: var(--schwarz); font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }

@media (max-width: 980px) {
  .zahlen.sechs { grid-template-columns: repeat(3, 1fr); }
  .felder { grid-template-columns: 1fr 1fr; }
  .ich .name { display: none; }
  .ich { padding: 3px; }
  .leiste { gap: 14px; }
  nav.haupt a { padding: 9px 10px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .leiste { min-height: 56px; padding-inline: 16px; }
  .leiste .logo { height: 18px; } .logo.wort b { font-size: 18px; }
  nav.haupt, .aus { display: none; }
  .rechts { margin-inline-start: auto; }
  /* Menü im Browser: zweite Zeile unter der Leiste. Als App auf dem Startbildschirm: unten (siehe weiter unten). */
  .leiste { border-bottom: 0; }
  nav.unten { display: flex; position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 19; background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 0 6px; }
  .ansicht ~ nav.unten { top: calc(95px + env(safe-area-inset-top)); }
  nav.unten a { flex: 1; min-width: 0; text-align: center; padding: 9px 2px 8px; font-size: 13.5px; font-weight: 600; color: var(--grau); border-bottom: 3px solid transparent; white-space: nowrap; }
  nav.unten a.an { color: var(--gruen); border-color: var(--gruen); }
  nav.unten .zeig { box-shadow: inset 0 0 0 3px var(--gruen); border-radius: 9px; border-color: transparent; animation: zeig-innen 1.2s ease-in-out infinite; }
  main { padding: 18px 14px 34px; }
  h1 { font-size: 24px; }
  .start, .held { flex-direction: column; align-items: stretch; }
  .held { padding: 22px 20px; gap: 16px; text-align: start; border-radius: 16px; }
  .held .ring { width: 88px; height: 88px; }
  .held h1 { font-size: 22px; }
  .zwei-spalten, .zwei-spalten.breit-schmal, .felder, .felder.zwei { grid-template-columns: 1fr; }
  .zahlen.vier, .zahlen.sechs { grid-template-columns: 1fr 1fr; }
  .zahlen > div { padding: 13px 14px; } .zahlen b { font-size: 23px; }
  .kontakt { flex-direction: column; text-align: center; } .kontakt div { align-items: stretch; width: 100%; }
  .rechts { gap: 12px; }
  .kacheln { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kachel { padding: 14px; min-height: 132px; } .kachel .t { font-size: 15px; }
  .kachel .fuss { flex-direction: column; align-items: flex-start; }
  .karte { padding: 18px 16px; }
  .lektion { padding: 20px 18px; }
  .lektion table { display: block; overflow-x: auto; }
  .reihe { gap: 12px; padding: 13px 14px; }
  .reihe .nr { flex-basis: 34px; }
  .reihe .wert.klein, .knopfartig { display: none; }
  .fkarte { padding: 18px 16px; }
  .ftext { font-size: 18px; }
  .aussage { flex-direction: column; align-items: stretch; }
  .paar .wahl { flex: 1; }
  .zuordnung { flex-direction: column; align-items: stretch; }
  .zuordnung select { flex: none; }
  .tfuss .knopf, .fussleiste .knopf { padding: 0 14px; flex: 1; }
  .tfuss span:empty, .fussleiste span:empty { display: none; }
  .fakten { gap: 22px; }
  .auswertung .feld, .auswertung .links { margin-inline-start: 16px; }
  .buecher { grid-template-columns: 1fr; }
  .buch .umschlag, .buch.mein .umschlag { flex-basis: 92px; }
  .buch .knoepfe .knopf { flex: 1; min-height: 44px; padding: 0 12px; font-size: 15px; }
  .profil { gap: 14px; } .kreis.gross { width: 56px; height: 56px; font-size: 20px; }
  .kopfzeile input { flex: 1 1 100%; }
  .kopfzeile .knopf { width: 100%; }
  .karten-mobil table, .karten-mobil tbody, .karten-mobil tr, .karten-mobil td { display: block; }
  .karten-mobil thead { display: none; }
  .karten-mobil tr { padding: 12px 14px; border-top: 1px solid var(--linie); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .karten-mobil tbody tr:first-child { border-top: 0; }
  .karten-mobil td { padding: 0; border: 0; font-size: 14px; }
  .karten-mobil td:first-child { grid-column: 1 / -1; font-size: 16px; }
  .karten-mobil td:not(:first-child)::before { content: attr(data-l); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--grau); font-weight: 700; }
  .karten-mobil td:empty { display: none; }
  .saeulen, .verlauf { gap: 3px; height: 120px; }
  .saeulen > div:nth-child(odd) span { display: none; }
}
@media (max-width: 380px) { .kacheln { grid-template-columns: 1fr; } .kachel { min-height: 0; } }

/* Schreibrichtung rechts nach links (Arabisch). Das meiste läuft über logische Eigenschaften (inline-start/-end). */
[dir=rtl] * { letter-spacing: 0 !important; }
[dir=rtl] body { line-height: 1.7; }
[dir=rtl] .checks .ja .haken::after { left: 6px; }
[dir=rtl] .lektion svg, [dir=rtl] .saeulen, [dir=rtl] .verlauf { direction: ltr; }
[dir=rtl] .tabelle th, [dir=rtl] .lektion th { text-align: right; }
[dir=rtl] .ring text { direction: ltr; }

/* Zugangsblatt */
.blattknopf { margin: 16px 0 0; }
.blattrahmen { overflow-x: auto; padding-bottom: 8px; }
.blatt { width: 210mm; height: 294mm; overflow: hidden; margin: 0 auto; background: #fff; color: #14171A; box-shadow: var(--schatten); display: flex; flex-direction: column; font-size: 12.5pt; line-height: 1.5; }
.blatt * { letter-spacing: 0; }
.blatt header { background: #008639; padding: 14mm 18mm 11mm; display: flex; flex-direction: column; gap: 3mm; align-items: flex-start; }
.blatt header img { height: 9mm; width: auto; }
.blatt header span { color: #CDEBD9; font-size: 10pt; font-weight: 600; text-transform: uppercase; }
.blatt-innen { padding: 14mm 18mm 0; flex: 1; }
.blatt h1 { font-size: 24pt; margin: 0 0 5mm; }
.blatt p.gross { font-size: 13pt; margin: 0 0 9mm; }
.blatt-zugang { display: flex; justify-content: space-between; align-items: center; gap: 10mm; background: #E8F3EC; border-radius: 4mm; padding: 9mm 10mm; margin-bottom: 10mm; }
.blatt-zugang .daten { display: flex; flex-direction: column; min-width: 0; }
.blatt-zugang span { font-size: 10pt; color: #6B7378; margin-top: 3mm; }
.blatt-zugang span:first-child { margin-top: 0; }
.blatt-zugang b { font: 700 19pt ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.blatt-zugang .adresse { font-size: 13pt; font-weight: 700; color: #008639; margin-top: 6mm; }
.blatt .qr { flex: 0 0 44mm; width: 44mm; height: 44mm; background: #fff; padding: 3mm; border-radius: 2mm; }
.blatt .qr svg { width: 100%; height: 100%; display: block; }
.blatt-schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.blatt-schritte li { counter-increment: s; position: relative; padding-inline-start: 14mm; margin-bottom: 6mm; font-size: 11.5pt; }
.blatt-schritte li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 9mm; height: 9mm; border-radius: 50%; background: #008639; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.blatt-schritte b { display: block; font-size: 13pt; }
.blatt-kontakt { border-top: 1px solid #E1E5E7; padding-top: 6mm; margin-top: 4mm; display: flex; flex-direction: column; font-size: 11.5pt; }
.blatt-kontakt span { font-size: 10pt; color: #6B7378; } .blatt-kontakt em { font-style: normal; }
.blatt footer { padding: 6mm 18mm 9mm; font-size: 9pt; color: #6B7378; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff !important; padding: 0 !important; }
  .leiste, nav.unten, .nicht-drucken, .fenster { display: none !important; }
  main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .blattrahmen { overflow: visible; padding: 0; }
  .blatt { box-shadow: none; margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Kursname unter dem Logo: so breit wie das Logo */
.unterzeile { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; color: var(--grau); line-height: 1; letter-spacing: 0 !important; }
.unterzeile i { font-style: normal; }
.unterzeile.ganz { justify-content: flex-start; font-size: 12px; }
.blatt header .blattlogo { display: inline-flex; flex-direction: column; align-items: stretch; gap: 3mm; }
.blatt header .unterzeile { color: #CDEBD9; font-size: 10pt; }
@media (max-width: 760px) { .unterzeile { font-size: 9px; } }

.profil > div { flex: 1; min-width: 0; }
.profil .knopf { flex: 0 0 auto; }
@media (max-width: 760px) { .profil { flex-wrap: wrap; } .profil .knopf { width: 100%; } }

/* Version 1.6 */
.zahlen.fuenf { grid-template-columns: repeat(5, 1fr); }
.ansicht { position: sticky; top: 0; z-index: 25; background: var(--schwarz); color: #fff; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.ansicht a { color: var(--schwarz); background: #fff; border-radius: 99px; padding: 4px 14px; }
.ansicht + .leiste { top: 41px; }
.profil-knoepfe { display: flex; gap: 10px; flex: 0 0 auto !important; flex-wrap: wrap; }
.profil h1 .marke { vertical-align: middle; margin-inline-start: 8px; }
.tknopf.merk.an { background: #E0A423; border-color: #E0A423; color: #fff; }
.feldnr.merk { border-color: #E0A423; box-shadow: inset 0 -5px 0 #E0A423; }
.kopfzeile.oben { margin-top: 0; }
.kopfzeile.oben input { flex: 1 1 320px; max-width: 420px; }
.begriffe td { vertical-align: top; overflow-wrap: anywhere; }
.begriffe td:first-child { font-weight: 600; color: var(--schwarz); }
.begriffe td[lang] { color: var(--text); }
.hilfe-raster { display: grid; grid-template-columns: 330px 1fr; gap: 20px; align-items: start; }
.hilfe-raster.ohne { grid-template-columns: 1fr; }
.hilfe-raster.ohne .hilfeliste { grid-template-columns: repeat(3, 1fr); }
.hilfe-raster .kontakt { flex-direction: column; text-align: center; margin: 0; position: sticky; top: 92px; padding: 30px 24px; }
.hilfe-raster .kontakt div { align-items: stretch; width: 100%; }
@media (max-width: 980px) {
  .zahlen.fuenf { grid-template-columns: repeat(3, 1fr); }
  .hilfe-raster { grid-template-columns: 1fr; } .hilfe-raster .kontakt { position: static; }
  .hilfe-raster.ohne .hilfeliste { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .zahlen.fuenf { grid-template-columns: 1fr 1fr; }
  .hilfe-raster.ohne .hilfeliste { grid-template-columns: 1fr; }
  .profil-knoepfe { width: 100%; } .profil-knoepfe form, .profil-knoepfe .knopf { flex: 1; width: 100%; }
  .tor { justify-content: flex-start; padding-top: 12vh; }
  .tor-kopf .logo { height: 32px; } .tor-kopf .unterzeile { font-size: 12px; }
  .tor form.karte { padding: 26px 20px; }
  .ansicht + .leiste { top: 39px; }
}

@keyframes zeig-innen { 50% { background: var(--gruen-hell); } }
@media (max-width: 760px) and (display-mode: standalone) {
  body.innen { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .leiste { border-bottom: 1px solid var(--linie); }
  nav.unten { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 30; border-bottom: 0; border-top: 1px solid var(--linie); padding: 0 4px env(safe-area-inset-bottom); }
  .ansicht ~ nav.unten { top: auto; }
  nav.unten a { padding: 12px 2px 11px; font-size: 12.5px; border-bottom: 0; border-top: 3px solid transparent; margin-top: -1px; }
  nav.unten .zeig { border-color: transparent; }
}
@media (max-width: 760px) and (not (display-mode: standalone)) { .intro { padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }

.held .serie { flex: 0 0 auto; text-align: center; padding: 10px 18px; border-radius: 14px; background: rgba(255,255,255,.14); }
.held .serie b { display: block; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.held .serie span { font-size: 12.5px; color: rgba(255,255,255,.85); white-space: nowrap; }
@media (max-width: 760px) { .held .serie { display: flex; align-items: baseline; gap: 8px; justify-content: flex-start; padding: 8px 14px; text-align: start; } .held .serie b { font-size: 22px; } }

/* Einführungsvideo */
.hilfevideo { grid-row: span 3; padding: 14px; display: flex; justify-content: center; align-items: center; background: var(--gruen-hell); }
.hilfevideo video { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 720 / 1560; object-fit: cover; border-radius: 12px; background: #000; }
.intro .karte video { display: block; height: 42vh; max-height: 420px; aspect-ratio: 720 / 1560; margin: 0 auto 16px; border-radius: 12px; background: #000; }
@media (max-width: 760px) { .hilfevideo { grid-row: auto; } .hilfevideo video { max-width: 240px; } }
