/* kopf-neu.css: Kopf- und Fußleiste von mathezeit.de (Entwurf Claude Design, 14.10.2026).
   Markup aus upload-service/kopfleiste.js (renderKopfNeu/renderFussNeu), Verhalten in kopf-neu.js.
   Alle Klassen mit kz-, weil landing.css allgemeine Regeln für header, footer, nav und h2 setzt. */

:root { --kz-h: 113px; }
/* Sprungmarken landen unter der festen Leiste, nicht dahinter. */
html:has(header.kz) { scroll-padding-top: calc(var(--kz-h) + 24px); }

/* ---------- Kopf ---------- */
header.kz {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; transition: none;
  font-family: 'Instrument Sans', -apple-system, system-ui, sans-serif; color: #1A1A2E;
}
header.kz *, footer.kz-fuss * { box-sizing: border-box; }
/* Alte Seiten rechnen mit einer 72 px hohen festen Leiste. Die neue ist höher (Hinweiszeile). */
body.kz-an { padding-top: calc(var(--kz-h) - 72px); }

.kz-hinweis {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 8px 20px;
  background: #F3EEFF; border-bottom: 1px solid rgba(139,92,246,.14);
  color: #1A1A2E; text-decoration: none; font-size: 14px; line-height: 1.4; text-align: center;
}
.kz-hinweis:hover { background: #EDE5FF; color: #1A1A2E; }
.kz-hinweis[hidden] { display: none; }
.kz-hinweis svg { flex-shrink: 0; }
.kz-hinweis-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kz-hinweis-text b { font-weight: 600; }
.kz-hinweis-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #7C3AED; white-space: nowrap; }
.kz-kurz { display: none; }
@media (max-width: 640px) { .kz-lang { display: none; } .kz-kurz { display: inline; } }

.kz-leiste {
  background: rgba(250,251,252,.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid #E8E8EC;
}
.kz-innen { max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; }

.kz-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 28px; border-radius: 10px; transition: opacity .2s cubic-bezier(.4,0,.2,1); }
.kz-logo:hover { opacity: .75; }
.kz-logo img { height: 38px; width: auto; display: block; }
.kz-logo .kz-zeichen { display: none; }
.kz.kz-m4 .kz-logo .kz-wort { display: none; }
.kz.kz-m4 .kz-logo .kz-zeichen { display: block; }

.kz-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.kz.kz-m2 .kz-nav { display: none; }
.kz-punkt {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; margin: 0;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0;
  color: #5C6370; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s cubic-bezier(.4,0,.2,1), color .15s cubic-bezier(.4,0,.2,1);
}
.kz-punkt:hover, .kz-punkt[aria-expanded="true"] { color: #1A1A2E; }
.kz-punkt[aria-expanded="true"] { background: rgba(26,26,46,.05); }
.kz-punkt svg { opacity: .6; transition: transform .2s cubic-bezier(.4,0,.2,1); }
.kz-punkt[aria-expanded="true"] svg { transform: rotate(180deg); }
.kz-punkt[aria-current="page"] { color: #1A1A2E; }
.kz-punkt[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 2px; border-radius: 2px; background: #8B5CF6; }
.kz-punkt:focus-visible, .kz-knopf:focus-visible, .kz-anmelden:focus-visible { outline: 2px solid #7C3AED; outline-offset: 2px; }

.kz-luecke { flex: 1 1 0; min-width: 8px; }
.kz-aktionen { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
/* Der Länderschalter (mz-region.js) hängt sich in .kz-region ein: sein eigener Glas-Stil, nur kleiner und ohne Namen. */
.kz-region { display: flex; align-items: center; height: 40px; margin-left: 4px; }
.kz-region .mzrg-switch { margin-left: 0; }
.kz-region .mzrg-switch-btn { height: 40px; padding: 0 11px; gap: 6px; border-radius: 12px; }
.kz-region .mzrg-switch-name { display: none; }
.kz-trenner { width: 1px; height: 22px; background: #E2DEEA; margin: 0 4px 0 12px; flex-shrink: 0; }
.kz-anmelden {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px;
  font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; color: #6D28D9;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,242,255,.9));
  border: 1px solid rgba(139,92,246,.22); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(46,38,110,.06);
  transition: border-color .15s cubic-bezier(.4,0,.2,1), box-shadow .15s cubic-bezier(.4,0,.2,1), color .15s;
}
.kz-anmelden:hover { color: #5B21B6; border-color: rgba(139,92,246,.45); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -4px rgba(124,58,237,.25); }
.kz-start {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: 8px; padding: 0 18px; border-radius: 12px;
  font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #9D74FB 0%, #7C3AED 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(76,29,149,.25), 0 8px 18px -8px rgba(124,58,237,.65);
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1), filter .2s;
}
.kz-start:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 4px rgba(76,29,149,.25), 0 12px 24px -10px rgba(124,58,237,.7); }
.kz.kz-m3 .kz-aktionen .kz-start { display: none; }
.kz-burger {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -8px 0 4px;
  border: 0; border-radius: 12px; background: transparent; color: #1A1A2E; cursor: pointer; flex-shrink: 0; padding: 0;
}
.kz-burger:hover { background: rgba(26,26,46,.05); }
.kz.kz-m2 .kz-burger { display: flex; }
.kz-burger .kz-zu { display: none; }
.kz.kz-mobil-offen .kz-burger .kz-auf { display: none; }
.kz.kz-mobil-offen .kz-burger .kz-zu { display: block; }

/* ---------- Aufklappflächen ---------- */
.kz-panel {
  position: absolute; top: calc(var(--kz-h) + 10px); left: 0; padding: 10px; border-radius: 26px;
  background: #fff; border: 1px solid rgba(26,26,46,.08);
  box-shadow: 0 2px 6px -2px rgba(26,26,46,.06), 0 30px 60px -28px rgba(46,38,110,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .16s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1), visibility 0s linear .2s;
  max-width: calc(100vw - 32px);
}
.kz-panel.offen { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .16s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1), visibility 0s; }
.kz.kz-m2 .kz-panel { display: none; }
.kz-panel[data-id="plattform"] { width: 880px; }
.kz-panel[data-id="schulen"] { width: 820px; }
.kz-panel[data-id="fortbildung"] { width: 730px; }

.kz-zweispaltig { display: grid; grid-template-columns: minmax(0,1fr) 248px; gap: 8px; }
.kz-panel[data-id="schulen"] .kz-zweispaltig { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.kz-raster { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; padding: 4px; }
.kz-liste { padding: 4px; }
.kz-eintrag {
  display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 14px;
  text-decoration: none; transition: background .15s cubic-bezier(.4,0,.2,1);
}
.kz-eintrag:hover, .kz-eintrag:focus-visible { background: #F7F5FF; outline: none; }
.kz-ik {
  width: 36px; height: 36px; border-radius: 10px; background: #fff; color: #7C3AED;
  box-shadow: 0 0 0 1px #E8E8EC, 0 1px 2px rgba(26,26,46,.06); display: flex; align-items: center; justify-content: center;
}
.kz-tx { display: flex; flex-direction: column; gap: 2px; }
.kz-t { font-size: 14.5px; font-weight: 600; color: #1A1A2E; line-height: 1.35; }
.kz-d { font-size: 13px; line-height: 1.45; color: #5C6370; text-wrap: pretty; }
.kz-marke { padding: 10px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5C6370; }
.kz-seite { display: flex; flex-direction: column; gap: 8px; }
.kz-karte {
  flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; text-decoration: none; color: #1A1A2E;
  background: linear-gradient(160deg, #F3EEFF 0%, #FAF8FF 55%, #FFF8EB 100%); transition: transform .2s cubic-bezier(.4,0,.2,1);
}
.kz-karte:hover { color: #1A1A2E; transform: translateY(-1px); }
.kz-karte .kz-marke { padding: 0; color: #7C3AED; }
.kz-karte-titel { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.kz-karte-text { font-size: 13.5px; line-height: 1.5; color: #5C6370; text-wrap: pretty; }
.kz-mehr { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #7C3AED; text-decoration: none; }
.kz-zeile {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 14px;
  font-size: 14px; font-weight: 500; color: #1A1A2E; text-decoration: none; box-shadow: 0 0 0 1px #E8E8EC;
}
.kz-zeile:hover { color: #1A1A2E; background: #F8F7F4; }
.kz-grundlagen { display: flex; flex-direction: column; padding: 4px 4px 8px; border-radius: 18px; background: #F8F7F4; }
.kz-grundlage { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 12px; text-decoration: none; }
.kz-grundlage:hover, .kz-grundlage:focus-visible { background: #fff; outline: none; }
.kz-grundlagen .kz-mehr { margin: auto 12px 0; }

.kz-fb-kopf { padding: 16px 16px 10px; }
.kz-fb-kopf .kz-marke { padding: 0; color: #7C3AED; }
.kz-fb-titel { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -.01em; line-height: 1.2; margin-top: 6px; }
.kz-fb-text { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #5C6370; }
.kz-termine { display: flex; flex-direction: column; padding: 0 4px; }
.kz-termin {
  display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px;
  text-decoration: none; color: #1A1A2E; transition: background .15s cubic-bezier(.4,0,.2,1);
}
.kz-termin:hover, .kz-termin:focus-visible { background: #F7F5FF; color: #1A1A2E; outline: none; }
.kz-kal { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E8E8EC; line-height: 1; }
.kz-kal-wt { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #7C3AED; }
.kz-kal-tag { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; margin-top: 3px; color: #1A1A2E; }
.kz-termin-zeit { font-size: 13px; color: #5C6370; font-variant-numeric: tabular-nums; }
.kz-termin-los { font-size: 13.5px; font-weight: 600; color: #7C3AED; }
.kz-fb-fuss { margin-top: 6px; padding: 12px 16px; border-top: 1px solid #F0EFF3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.kz-fb-fuss .kz-mehr { margin: 0; padding: 0; }
.kz-leise { font-size: 13.5px; color: #5C6370; text-decoration: none; }
.kz-leise:hover { color: #1A1A2E; }

/* ---------- Handy-Menü ---------- */
.kz-mobil { position: fixed; top: var(--kz-h); left: 0; right: 0; bottom: 0; background: #FAFBFC; display: none; flex-direction: column; }
.kz.kz-mobil-offen .kz-mobil { display: flex; }
.kz-mobil-rumpf { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.kz-mobil-spalte { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; }
.kz-gruppe { border-bottom: 1px solid #E8E8EC; }
.kz-gruppe-knopf {
  width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0; margin: 0;
  border: 0; background: none; font: inherit; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #1A1A2E; cursor: pointer; text-align: left;
}
.kz-kreis { width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.kz-kreis svg { transition: transform .2s cubic-bezier(.4,0,.2,1); }
.kz-gruppe-knopf[aria-expanded="true"] .kz-kreis { background: #F3EEFF; }
.kz-gruppe-knopf[aria-expanded="true"] .kz-kreis svg { transform: rotate(180deg); }
.kz-gruppe-inhalt { display: flex; flex-direction: column; padding: 0 0 14px; }
.kz-gruppe-inhalt[hidden] { display: none; }
.kz-m-link { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 14px; border-radius: 12px; text-decoration: none; }
.kz-m-link:hover { background: #F3EEFF; }
.kz-m-link .kz-t { font-size: 15.5px; font-weight: 500; }
.kz-gruppe-inhalt .kz-mehr { margin: 8px 14px 0; padding: 0; font-size: 14.5px; }
.kz-m-direkt { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid #E8E8EC; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #1A1A2E; text-decoration: none; }
.kz-m-direkt:hover { color: #7C3AED; }
.kz-mobil-fuss { flex-shrink: 0; padding: 14px 24px calc(20px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #E8E8EC; }
.kz-mobil-fuss > div { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.kz-mobil-start { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 14px; background: #1A1A2E; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.kz-mobil-start:hover { color: #fff; background: #7C3AED; }
.kz-mobil-hinweis { text-align: center; font-size: 13px; color: #5C6370; }
@media (max-width: 640px) { .kz-innen { padding: 0 20px; } }

/* ---------- Fuß ---------- */
footer.kz-fuss { background: #0F172A; color: #CBD5E1; padding: 0; font-family: 'Instrument Sans', -apple-system, system-ui, sans-serif; }
.kz-fuss-innen { max-width: 1180px; margin: 0 auto; padding: 88px 28px 36px; }
.kz-fuss-oben { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.kz-fuss-marke { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.kz-fuss-marke > a { display: inline-flex; align-self: flex-start; border-radius: 10px; }
.kz-fuss-marke img { height: 40px; width: auto; display: block; }
.kz-fuss-satz { margin: 0; font-size: 16px; line-height: 1.6; color: #CBD5E1; text-wrap: pretty; }
.kz-brief { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.kz-brief label { display: flex; flex-direction: column; gap: 4px; }
.kz-brief-titel { font-size: 15px; font-weight: 600; color: #F1F5F9; }
.kz-brief-text { font-size: 13.5px; line-height: 1.5; color: #94A3B8; }
.kz-brief-feld { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 16px; background: #1E293B; border: 1px solid #334155; transition: border-color .2s cubic-bezier(.4,0,.2,1); }
.kz-brief-feld:hover, .kz-brief-feld:focus-within { border-color: #475569; }
.kz-brief-feld input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0; margin: 0; border: 0; background: transparent; color: #F1F5F9; font: inherit; font-size: 15px; outline: none; }
.kz-brief-feld input::placeholder { color: #64748B; }
.kz-brief-feld button { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 12px; border: 0; background: #fff; color: #0F172A; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s; }
.kz-brief-feld button:hover { background: #C4B5FD; }
.kz-brief-fehler { font-size: 13.5px; color: #FCA5A5; }
.kz-brief-ok { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(16,185,129,.12); color: #A7F3D0; font-size: 14px; line-height: 1.5; }
.kz-brief [hidden] { display: none; }
.kz-fuss a.kz-pfeil { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: #C4B5FD; text-decoration: none; }
.kz-fuss a.kz-pfeil:hover { color: #fff; }
.kz-fuss-nav { flex: 3 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px 32px; align-content: start; }
@media (min-width: 1100px) { .kz-fuss-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; } }
@media (max-width: 640px) { .kz-fuss-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
.kz-fuss-nav h2 { margin: 0 0 14px; font-family: 'Instrument Sans', sans-serif; font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; }
.kz-fuss-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kz-fuss-nav a { display: inline-block; padding: 7px 0; font-size: 15px; line-height: 1.45; color: #CBD5E1; text-decoration: none; transition: color .2s; }
.kz-fuss-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.kz-belege { list-style: none; margin: 56px 0 0; padding: 20px 0; border-top: 1px solid #1E293B; border-bottom: 1px solid #1E293B; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.kz-belege li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #CBD5E1; }
.kz-belege svg { flex-shrink: 0; }
.kz-fuss-unten { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.kz-fuss-unten p { margin: 0; font-size: 14px; color: #94A3B8; }
.kz-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.kz-recht { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.kz-recht a { font-size: 14px; color: #94A3B8; text-decoration: none; padding: 6px 0; }
.kz-recht a:hover { color: #fff; }
.kz-sprache { position: relative; display: inline-flex; align-items: center; }
.kz-sprache svg { position: absolute; pointer-events: none; }
.kz-sprache select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 36px; border-radius: 999px; border: 1px solid #334155; background: #0F172A; color: #E2E8F0; font: inherit; font-size: 14px; cursor: pointer; }
.kz-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
footer.kz-fuss :focus-visible { outline: 2px solid #C4B5FD; outline-offset: 2px; }
@media (max-width: 640px) { .kz-fuss-innen { padding: 64px 20px 32px; } }

@media (prefers-reduced-motion: reduce) {
  header.kz *, footer.kz-fuss * { transition: none !important; animation: none !important; }
}

/* ---------- Aufklappflächen, Stand 15.10.: Duoton-Icons, Bilder, Bibliothek ---------- */
.kz-duo { width: 22px; height: 22px; fill: none; stroke: #7C3AED; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kz-duo .f { fill: #E4D8FF; stroke: none; }
.kz-ik { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(160deg, #F6F1FF 0%, #EEE6FF 100%); box-shadow: inset 0 0 0 1px rgba(139,92,246,.12); color: #7C3AED;
  display: flex; align-items: center; justify-content: center; transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s; }
.kz-ik-bild img { width: 30px; height: 30px; display: block; }
.kz-ik-klein { width: 36px; height: 36px; border-radius: 10px; }
.kz-ik-klein .kz-duo { width: 19px; height: 19px; }
.kz-eintrag { grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 11px 12px; }
.kz-eintrag:hover .kz-ik, .kz-eintrag:focus-visible .kz-ik { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(139,92,246,.25), 0 6px 14px -8px rgba(124,58,237,.5); }
.kz-t { display: inline-flex; align-items: center; gap: 6px; }
.kz-pfeilchen { display: inline-flex; color: #7C3AED; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s cubic-bezier(.4,0,.2,1); }
.kz-eintrag:hover .kz-pfeilchen, .kz-eintrag:focus-visible .kz-pfeilchen { opacity: 1; transform: none; }
.kz-eintrag:hover .kz-t { color: #5B21B6; }

.kz-p-raster { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 248px; gap: 6px; }
.kz-spalte { padding: 4px; display: flex; flex-direction: column; }
.kz-spalte .kz-marke { padding: 8px 12px 6px; }
.kz-spalte .kz-zeile { margin: 8px 6px 4px; }
.kz-zeile span { min-width: 0; }

.kz-bibliothek { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: #1A1A2E; background: radial-gradient(120% 90% at 50% 0%, #EDE4FF 0%, #F7F3FF 50%, #FFF7E8 100%);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,.12); transition: box-shadow .2s; }
.kz-bibliothek:hover { color: #1A1A2E; box-shadow: inset 0 0 0 1px rgba(139,92,246,.3); }
.kz-faecher { position: relative; height: 150px; margin: 4px 0 10px; }
.kz-faecher img { position: absolute; top: 6px; left: 50%; width: 92px; height: auto; aspect-ratio: 560 / 784; object-fit: cover; border-radius: 10px;
  box-shadow: 0 10px 24px -12px rgba(46,38,110,.55), 0 0 0 1px rgba(255,255,255,.6); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.kz-faecher img:nth-child(1) { transform: translateX(-118%) rotate(-10deg) translateY(10px); }
.kz-faecher img:nth-child(2) { transform: translateX(-50%); z-index: 2; }
.kz-faecher img:nth-child(3) { transform: translateX(18%) rotate(10deg) translateY(10px); }
.kz-bibliothek:hover .kz-faecher img:nth-child(1) { transform: translateX(-128%) rotate(-13deg) translateY(12px); }
.kz-bibliothek:hover .kz-faecher img:nth-child(2) { transform: translateX(-50%) translateY(-4px); }
.kz-bibliothek:hover .kz-faecher img:nth-child(3) { transform: translateX(28%) rotate(13deg) translateY(12px); }
.kz-bibliothek .kz-marke { padding: 0; color: #7C3AED; }

.kz-p-schulen { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 8px; }
.kz-rollen { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 0 4px 4px; }
.kz-rolle { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; text-decoration: none;
  background: #FBFAFF; box-shadow: inset 0 0 0 1px #EFEAFB; transition: background .15s, box-shadow .2s, transform .2s cubic-bezier(.4,0,.2,1); }
.kz-rolle:hover, .kz-rolle:focus-visible { background: #F6F1FF; box-shadow: inset 0 0 0 1px rgba(139,92,246,.28), 0 10px 22px -16px rgba(124,58,237,.6); transform: translateY(-1px); outline: none; }
.kz-rolle-bild { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(160deg, #F3EEFF, #FFF6E6); display: flex; align-items: center; justify-content: center; }
.kz-rolle-bild img { width: 48px; height: 48px; display: block; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.kz-rolle:hover .kz-rolle-bild img { transform: scale(1.08) rotate(-3deg); }
.kz-grundlagen { padding: 4px 6px 12px; border-radius: 20px; background: #F8F7F4; }
.kz-grundlagen .kz-marke { padding: 8px 10px 6px; }
.kz-grundlage { flex-direction: row; align-items: center; gap: 12px; padding: 9px 10px; }
.kz-grundlage .kz-ik { background: #fff; box-shadow: 0 0 0 1px #ECE9F3; }
.kz-knopf-weich { margin: 10px 10px 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 12px; font-size: 14px; font-weight: 600; color: #6D28D9; text-decoration: none; background: #fff; box-shadow: 0 0 0 1px rgba(139,92,246,.22); }
.kz-knopf-weich:hover { color: #5B21B6; box-shadow: 0 0 0 1px rgba(139,92,246,.45), 0 6px 14px -8px rgba(124,58,237,.45); }

.kz-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kz-chips li { font-size: 12.5px; font-weight: 600; color: #5B21B6; background: #F3EEFF; border-radius: 999px; padding: 4px 10px; }
.kz-fb-kopf { padding: 14px 14px 10px; }

/* ---------- Fortbildung, Stand 15.10. ---------- */
.kz-p-fb { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 10px; }
.kz-termin .kz-t { white-space: nowrap; }
.kz-fb-karte { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; text-decoration: none; color: #1A1A2E;
  background: radial-gradient(130% 100% at 0% 0%, #EDE4FF 0%, #F6F1FF 45%, #FFF6E6 100%); box-shadow: inset 0 0 0 1px rgba(139,92,246,.12); transition: box-shadow .2s; }
.kz-fb-karte:hover { color: #1A1A2E; box-shadow: inset 0 0 0 1px rgba(139,92,246,.3); }
.kz-fb-karte .kz-marke { padding: 0; color: #7C3AED; }
.kz-fb-karte .kz-karte-titel { font-size: 22px; }
.kz-fakten { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(139,92,246,.14); }
.kz-fakten > span { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #3B3A4A; }
.kz-fakten .kz-duo { width: 20px; height: 20px; flex-shrink: 0; }
.kz-fb-rechts { display: flex; flex-direction: column; padding: 6px 6px 4px; min-width: 0; }
.kz-fb-rechts > .kz-marke { padding: 6px 8px 6px; }
.kz-fb-rechts .kz-termine { padding: 0; }
.kz-termin { grid-template-columns: 50px minmax(0,1fr) auto; padding: 9px 8px; }
.kz-termin-leer { grid-template-columns: minmax(0,1fr); }
.kz-termin-los { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #6D28D9; background: #F3EEFF; transition: background .15s, color .15s; }
.kz-termin:hover .kz-termin-los, .kz-termin:focus-visible .kz-termin-los { background: #7C3AED; color: #fff; }
.kz-fb-alle { margin: 6px 8px 0; padding: 0; }
.kz-fb-wege { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #F0EFF3; }
.kz-fb-weg { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; text-decoration: none; background: #F8F7F4; transition: background .15s; }
.kz-fb-weg:hover, .kz-fb-weg:focus-visible { background: #F3EEFF; outline: none; }
.kz-fb-weg .kz-ik { background: #fff; box-shadow: 0 0 0 1px #ECE9F3; }
.kz-fb-weg .kz-t { font-size: 14px; }
.kz-fb-weg .kz-d { font-size: 12.5px; }

/* Fuß, Stand 15.10.: Kontakt in der Markenspalte */
.kz-fuss-kontakt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: #94A3B8; }
.kz-fuss-kontakt a { color: #C4B5FD; font-weight: 600; text-decoration: none; }
.kz-fuss-kontakt a:hover { color: #fff; }
.kz-mail { color: #CBD5E1; user-select: all; }
