/*
 * casalix.de — das Haus.
 *
 * Eine Gestaltung mit dem Flyer: Weiß, Tinte, ein Rot für den Faden, eine Farbe je Programm.
 * Der rote Faden ist das Erkennungszeichen — er läuft auf dem Papier über alle sechs Seiten und
 * hier über die Seite. Alles andere bleibt ruhig, damit er auffällt.
 *
 * Keine Stilangaben am Element (CSP): Farben je Programm kommen über Klassen (.p-sirius …),
 * die Landesfarben über eine erzeugte Klasse im <style nonce> des Rahmens.
 */

@font-face { font-family: 'Archivo'; font-weight: 700; font-display: swap; src: url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 800; font-display: swap; src: url('/assets/fonts/archivo-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 800; font-display: swap; src: url('/assets/fonts/archivo-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Caveat'; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/caveat-latin-wght-normal.woff2') format('woff2'); }

:root {
    --papier: #FFFFFF;
    --flaeche: #F5F7F9;
    --flaeche-2: #EEF1F4;
    --tinte: #16202C;
    --text: #45515E;
    --leise: #66717E;
    --linie: #E2E6EB;
    --rot: #C8202A;
    --rot-tief: #A3141C;
    --zettel: #FFE45C;
    --grau-satz: #8A95A3;
    --warm: #FBF7F2;

    --sirius: #1F72AA;
    --clientra: #138273;
    --polaris: #5B57C9;
    --antares: #B4344F;

    --breite: 1240px;
    --rand: clamp(20px, 4vw, 40px);
    --kopf: 72px;
    --r-gross: 28px;
    --r: 16px;
    --r-klein: 10px;
    --schatten-fenster: 0 1px 0 rgba(22, 32, 44, .04), 0 24px 60px -24px rgba(22, 32, 44, .28), 0 2px 6px rgba(22, 32, 44, .06);
    --schrift: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --anzeige: 'Archivo', 'Inter', system-ui, sans-serif;
    --hand: 'Caveat', 'Segoe Print', cursive;
}

.p-sirius { --f: var(--sirius); --f-hell: #E6F0F7; }
.p-clientra { --f: var(--clientra); --f-hell: #E3F2F0; }
.p-polaris { --f: var(--polaris); --f-hell: #ECEBF8; }
.p-antares { --f: var(--antares); --f-hell: #F7E8EC; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); }
body {
    margin: 0; background: var(--papier); color: var(--text);
    font: 400 17px/1.6 var(--schrift); font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 6px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

/* ── Schrift ─────────────────────────────────────────────────────────────── */
h1, h2, h3, .anzeige { font-family: var(--anzeige); color: var(--tinte); font-weight: 800; margin: 0; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(36px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; letter-spacing: -.02em; }
.zweiter { color: var(--grau-satz); display: block; }
.p-sirius .zweiter, .p-clientra .zweiter, .p-polaris .zweiter, .p-antares .zweiter { color: var(--f); }
.vorspann { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text); max-width: 38em; margin: 22px 0 0; }
.vorspann b { color: var(--tinte); font-weight: 600; }
.hand { font-family: var(--hand); font-weight: 600; color: var(--rot); line-height: 1.05; }
.marke { font-family: var(--anzeige); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.marke span { color: #8A95A3; font-weight: 700; }
.marke b { color: var(--f, var(--rot)); font-weight: 800; letter-spacing: .01em; }
.rolle { font-size: 14px; font-weight: 600; color: var(--f, var(--text)); letter-spacing: .01em; margin-top: 4px; }

/* ── Knöpfe ──────────────────────────────────────────────────────────────── */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
    font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
    background: var(--rot); color: #fff; transition: background .15s, transform .15s;
}
.knopf:hover { background: var(--rot-tief); }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf.zweit { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf.zweit:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); background: transparent; }
.knopf.hell { background: #fff; color: var(--rot); }
.knopf.hell:hover { background: #FFF1F1; }
.verweis { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--f, var(--tinte)); text-decoration: none; }
.verweis svg { width: 18px; height: 18px; transition: transform .2s; }
.verweis:hover svg { transform: translateX(3px); }
.verweis:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Kopf ────────────────────────────────────────────────────────────────── */
.kopf {
    position: sticky; top: 0; z-index: 50; height: var(--kopf);
    background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.kopf.gerollt { border-bottom-color: var(--linie); }
.kopf-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { width: 38px; height: 36px; }
.logo span { font-family: var(--anzeige); font-weight: 700; font-size: 23px; letter-spacing: .06em; color: var(--rot); }
.menue { display: flex; gap: 4px; align-items: center; margin-left: 12px; }
.menue > a, .menue > div > button {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: none;
    font-size: 15px; font-weight: 500; color: var(--tinte); text-decoration: none; cursor: pointer;
}
.menue > a:hover, .menue > div > button:hover, .menue > div.offen > button { background: var(--flaeche); }
.menue > div > button svg { width: 14px; height: 14px; transition: transform .2s; }
.menue > div.offen > button svg { transform: rotate(180deg); }
.menue > div { position: relative; }
.klappe {
    position: absolute; top: calc(100% + 10px); left: -12px; width: 640px; padding: 12px; display: none;
    grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border-radius: 20px;
    box-shadow: 0 30px 70px -20px rgba(22, 32, 44, .35), 0 0 0 1px var(--linie);
}
.offen > .klappe { display: grid; animation: klappe .18s ease-out; }
@keyframes klappe { from { opacity: 0; transform: translateY(-6px); } }
.klappe a { display: flex; gap: 14px; padding: 14px; border-radius: 14px; text-decoration: none; }
.klappe a:hover { background: var(--flaeche); }
.klappe .punkt { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--f-hell); display: grid; place-items: center; }
.klappe .punkt img { width: 28px; height: 28px; }
.klappe strong { display: block; color: var(--tinte); font-size: 15px; }
.klappe small { display: block; color: var(--leise); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.klappe .fuss { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 6px; margin-top: 6px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--leise); }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.kopf-tel { font-weight: 600; font-size: 15px; color: var(--tinte); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.kopf-tel svg { width: 17px; height: 17px; color: var(--rot); }
.kopf .knopf { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--flaeche); border-radius: 50%; cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.schublade { display: none; }

@media (max-width: 1330px) {
    .kopf-tel { display: none; }
}
.menue > a, .menue > div > button { white-space: nowrap; }
@media (max-width: 920px) {
    .menue, .kopf .knopf { display: none; }
    .burger { display: grid; }
    .schublade.offen {
        display: block; position: fixed; inset: var(--kopf) 0 0 0; z-index: 49; background: #fff; overflow-y: auto;
        padding: 12px var(--rand) 40px; animation: klappe .18s ease-out;
    }
    .schublade a { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 17px; }
    .schublade a small { display: block; font-weight: 400; color: var(--leise); font-size: 14px; }
    .schublade .punkt { flex: none; display: grid; } .schublade .punkt img { width: 24px; height: 24px; }
    .schublade .knopf { width: 100%; margin-top: 24px; color: #fff; border: 0; justify-content: center; }
    .schublade .knopf.zweit { color: var(--tinte); margin-top: 12px; }
}

/* ── Der rote Faden ──────────────────────────────────────────────────────── */
.faden { width: 100%; height: clamp(70px, 9vw, 130px); overflow: visible; pointer-events: none; }
.faden path { fill: none; stroke: var(--rot); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.js .faden path { stroke-dasharray: var(--laenge, 3000); stroke-dashoffset: var(--rest, 3000); }
.faden-notiz { position: relative; }
.faden-notiz .hand { position: absolute; font-size: clamp(22px, 2.2vw, 30px); white-space: nowrap; }

/* ── Bühne (Kopf der Startseite) ─────────────────────────────────────────── */
.buehne { position: relative; padding: clamp(36px, 6vw, 80px) 0 0; }
.buehne-in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.fuer { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--tinte); margin-bottom: 26px; }
.fuer .streif { flex: none; }
.streif { display: inline-block; width: 6px; height: 34px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(22, 32, 44, .1); background: linear-gradient(var(--lf, var(--rot) 0 100%)); }
.streif.quer { width: 34px; height: 6px; background: linear-gradient(90deg, var(--lf, var(--rot) 0 100%)); }
.streif.alle { --lf: var(--sirius) 0 25%, var(--clientra) 0 50%, var(--polaris) 0 75%, var(--antares) 0; }
.handeln { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.vertrag {
    display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linie); max-width: 34em;
}
.vertrag .streif { height: 42px; margin-top: 2px; }
.vertrag strong { display: block; font-family: var(--anzeige); color: var(--tinte); font-size: 17px; letter-spacing: -.01em; }
.vertrag span { display: block; font-size: 14px; color: var(--leise); line-height: 1.5; }
.vertrag button { border: 0; background: none; padding: 0; color: var(--tinte); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.komposition { position: relative; aspect-ratio: 1.02; min-height: 0; }
.komposition .fenster.haupt { position: absolute; top: 3%; left: 6%; width: 150%; max-width: none; }
.komposition .telefon { position: absolute; left: -4%; bottom: -2%; width: 31%; z-index: 2; }
.komposition .karte-antares { position: absolute; left: 50%; bottom: -6%; width: 48%; z-index: 2; }
.komposition .bubble { position: absolute; left: 44%; top: -2%; z-index: 2; }
.buehne { overflow-x: clip; }

/* Fensterrahmen um echte Aufnahmen */
.fenster { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--schatten-fenster); border: 1px solid rgba(22, 32, 44, .08); }
.fenster-leiste { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #F6F7F9; border-bottom: 1px solid var(--linie); }
.fenster-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #DADFE5; }
.fenster-leiste span { margin: 0 auto; font-size: 12px; color: var(--leise); font-weight: 500; padding-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fenster img { width: 100%; }

/* Nachgezeichnetes Telefon (CLIENTRA) */
.telefon { background: #10161E; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -20px rgba(22, 32, 44, .45); }
.telefon .schirm { background: #F4F7F7; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 16; display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.35; color: var(--tinte); }
.t-status { display: flex; justify-content: space-between; padding: 9px 16px 4px; font-weight: 600; font-size: 9.5px; }
.t-kopf { padding: 6px 12px 8px; display: flex; justify-content: space-between; align-items: center; }
.t-kopf b { font-family: var(--anzeige); font-size: 14px; letter-spacing: -.01em; }
.t-offline { display: inline-flex; align-items: center; gap: 4px; background: #FFF4D6; color: #8A5A00; border-radius: 99px; padding: 2px 7px; font-size: 8.5px; font-weight: 600; }
.t-offline i { width: 5px; height: 5px; border-radius: 50%; background: #E3A008; }
.t-karte { margin: 0 9px 7px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgba(22, 32, 44, .06); }
.t-person { display: flex; gap: 8px; align-items: center; }
.t-person img { width: 26px; height: 26px; border-radius: 50%; background: #E2F3F1; }
.t-person b { display: block; font-size: 11px; }
.t-person small { color: var(--leise); font-size: 9px; }
.t-uhr { font-family: var(--anzeige); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--clientra); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.t-klein { color: var(--leise); font-size: 9px; }
.t-ziel { display: flex; gap: 6px; align-items: flex-start; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--linie); }
.t-ziel em { flex: none; font-style: normal; background: #E2F3F1; color: var(--clientra); font-weight: 700; font-size: 8.5px; border-radius: 5px; padding: 1px 4px; }
.t-balken { height: 5px; border-radius: 3px; background: #E5EAEE; margin-top: 6px; overflow: hidden; }
.t-balken i { display: block; height: 100%; width: 75%; background: var(--clientra); border-radius: 3px; }
.t-unterschrift { margin: 0 9px; background: #fff; border-radius: 14px; padding: 8px 10px 10px; }
.t-unterschrift svg { width: 100%; height: 34px; }
.t-unterschrift path { fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; }
.t-knopf { margin: 8px 9px 0; background: var(--clientra); color: #fff; text-align: center; border-radius: 11px; padding: 8px; font-weight: 600; font-size: 10.5px; }

/* Nachgezeichnete Abrechnung (ANTARES) */
.abrechnung { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--schatten-fenster); border: 1px solid rgba(22, 32, 44, .08); font-size: 12px; color: var(--tinte); }
.ab-kopf { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.ab-kopf b { font-family: var(--anzeige); font-size: 14px; }
.ab-kopf small { display: block; color: var(--leise); font-size: 10.5px; font-weight: 500; }
.ab-marke { font-size: 10px; font-weight: 700; color: var(--antares); background: #FBE9E9; padding: 3px 8px; border-radius: 99px; }
.ab-zeile { display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #F0F2F5; }
.ab-zeile small { display: block; color: var(--leise); font-size: 10px; }
.ab-zeile .betrag { font-variant-numeric: tabular-nums; font-weight: 600; }
.ab-haken { width: 18px; height: 18px; border-radius: 50%; background: #E8F5EE; display: grid; place-items: center; }
.ab-haken svg { width: 11px; height: 11px; color: #15803D; }
.ab-fuss { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: #FBFCFD; }
.ab-fuss b { font-family: var(--anzeige); font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ab-fuss span { font-size: 10.5px; color: #15803D; font-weight: 600; }

.bubble { background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 16px 40px -14px rgba(22, 32, 44, .3); display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--tinte); }
.bubble .punkt { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #E7EFFE; }
.bubble .punkt img { width: 18px; height: 18px; }
.bubble b { display: block; font-size: 12.5px; }
.bubble small { color: var(--leise); font-size: 11px; }

/* Auftritt der Bühne: ein einziger, abgestimmter Moment beim Laden */
.js .auftritt > * { opacity: 0; transform: translateY(18px); }
.js .auftritt.da > * { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .auftritt.da > :nth-child(2) { transition-delay: .25s; }
.js .auftritt.da > :nth-child(3) { transition-delay: .5s; }
.js .auftritt.da > :nth-child(4) { transition-delay: .8s; }
.js .auftritt.da > :nth-child(5) { transition-delay: 1.05s; }
.js .ab-zeile .ab-haken { transform: scale(0); }
.js .auftritt.da .ab-zeile .ab-haken { transform: scale(1); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.js .auftritt.da .ab-zeile:nth-of-type(2) .ab-haken { transition-delay: 1.6s; }
.js .auftritt.da .ab-zeile:nth-of-type(3) .ab-haken { transition-delay: 1.9s; }
.js .auftritt.da .ab-zeile:nth-of-type(4) .ab-haken { transition-delay: 2.2s; }
.js .auftritt.da .ab-zeile:nth-of-type(5) .ab-haken { transition-delay: 2.5s; }
.js .t-unterschrift path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.js .auftritt.da .t-unterschrift path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-in-out 1.4s; }

/* ── Leiste mit Tatsachen ────────────────────────────────────────────────── */
.tatsachen { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin-top: 8px; }
.tatsachen div { padding: 22px 20px 20px; border-left: 1px solid var(--linie); }
.tatsachen div:first-child { border-left: 0; padding-left: 0; }
.tatsachen strong { display: block; font-family: var(--anzeige); font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: var(--tinte); letter-spacing: -.03em; }
.tatsachen span { display: block; font-size: 14px; color: var(--leise); margin-top: 6px; line-height: 1.4; }

/* ── Abschnitte ──────────────────────────────────────────────────────────── */
.abschnitt { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.abschnitt.grau { background: var(--flaeche); }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.abschnitt-kopf p { margin: 0; font-size: 18px; max-width: 32em; }
.abschnitt-kopf .hand { font-size: 28px; display: block; margin-bottom: 10px; }

/* ── Die ganze Kette ─────────────────────────────────────────────────────── */
.kette { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kette-schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.kette-schritt { position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--linie); min-height: 34vh; display: flex; flex-direction: column; justify-content: center; }
.kette-schritt:last-child { border-bottom: 1px solid var(--linie); }
.kette-schritt::before {
    counter-increment: schritt; content: counter(schritt); position: absolute; left: 0; top: 50%; translate: 0 -50%;
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--anzeige); font-weight: 800; font-size: 17px; color: var(--leise); background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie);
    transition: background .3s, color .3s, box-shadow .3s;
}
.kette-schritt.aktiv::before { background: var(--f, var(--tinte)); color: #fff; box-shadow: none; }
.kette-schritt h3 { transition: color .3s; }
.kette-schritt:not(.aktiv) h3 { color: #8A95A3; }
.kette-schritt p { margin: 8px 0 0; font-size: 16px; }
.kette-schritt .paragraf { font-size: 13px; font-weight: 600; color: var(--f, var(--rot)); margin-top: 10px; }
.kette-schritt .programm { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--f, var(--leise)); }
.kette-bild { position: sticky; top: calc(var(--kopf) + 6vh); }
.kette-bild .rahmen { position: relative; aspect-ratio: 1.55; }
.kette-bild figure { margin: 0; position: absolute; inset: 0; opacity: 0; transform: scale(.98); transition: opacity .5s, transform .5s; }
.kette-bild figure.aktiv { opacity: 1; transform: none; }
.kette-bild figure .fenster { height: 100%; display: flex; flex-direction: column; }
.kette-bild figure .fenster img { flex: 1; min-height: 0; object-fit: cover; object-position: top left; }
.kette-bild figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 16px); font-size: 14px; color: var(--leise); }
.kette-bild .nachweis, .kette-bild .abrechnung { height: 100%; }

/* Nachgezeichneter Leistungsnachweis */
.nachweis { background: #fff; border-radius: 14px; box-shadow: var(--schatten-fenster); border: 1px solid rgba(22, 32, 44, .08); padding: clamp(18px, 3vw, 36px); font-size: 13px; color: var(--tinte); overflow: hidden; display: flex; flex-direction: column; }
.nachweis header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--tinte); }
.nachweis header b { font-family: var(--anzeige); font-size: 18px; display: block; }
.nachweis header small { color: var(--leise); }
.nachweis table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.nachweis th { text-align: left; font-size: 11px; color: var(--leise); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--linie); }
.nachweis td { padding: 8px 6px; border-bottom: 1px solid #F0F2F5; }
.nachweis td:last-child, .nachweis th:last-child { text-align: right; }
.nachweis .art { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 6px; }
.nachweis .q { background: #E3F1FA; color: var(--sirius); }
.nachweis .a { background: #F1F3F5; color: var(--text); }
.nachweis footer { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.nachweis footer svg { width: 120px; height: 34px; }
.nachweis footer path { fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; }

/* ── Programme ───────────────────────────────────────────────────────────── */
.programm-kapitel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding: clamp(56px, 7vw, 100px) 0; }
.programm-kapitel + .programm-kapitel { border-top: 1px solid var(--linie); }
.programm-kapitel.links .kapitel-bild { order: -1; }
.programm-kapitel .marke { font-size: clamp(30px, 3.2vw, 42px); display: block; }
.programm-kapitel h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 22px; letter-spacing: -.03em; }
.programm-kapitel p { margin: 16px 0 0; }
.haken-liste { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.haken-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.haken-liste li::before { content: ''; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--f, var(--tinte)); -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
.haken-liste b { color: var(--tinte); font-weight: 600; }
.kapitel-bild { position: relative; }
.kapitel-bild .fenster { width: 112%; }
.programm-kapitel.links .kapitel-bild .fenster { margin-left: -12%; }
.kapitel-bild .zusatz { position: absolute; }
.kapitel-bild .spruch { position: absolute; font-size: clamp(22px, 2.2vw, 30px); }
.kapitel-buehne-clientra { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--f-hell); border-radius: var(--r-gross); padding: clamp(28px, 4vw, 56px); }
.kapitel-buehne-clientra .telefon { max-width: 260px; justify-self: center; }
.kapitel-buehne-antares { background: var(--f-hell); border-radius: var(--r-gross); padding: clamp(24px, 4vw, 56px); }

/* ── Länder ──────────────────────────────────────────────────────────────── */
.laender { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kachelkarte { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(6, auto); gap: 8px; max-width: 460px; }
.kachelkarte button {
    aspect-ratio: 1; border: 0; border-radius: 14px; background: #fff; cursor: pointer; position: relative;
    font-family: var(--anzeige); font-weight: 800; font-size: clamp(14px, 1.4vw, 18px); color: var(--tinte); letter-spacing: -.01em;
    box-shadow: inset 0 0 0 1.5px var(--linie); transition: box-shadow .15s, transform .15s, background .15s;
    display: grid; place-items: center;
}
/* Lage auf der Kachelkarte (Spalte-Zeile aus Laender::raster) */
.k-0-0 { grid-column: 1; grid-row: 1; } .k-0-1 { grid-column: 1; grid-row: 2; } .k-0-2 { grid-column: 1; grid-row: 3; } .k-0-3 { grid-column: 1; grid-row: 4; } .k-0-4 { grid-column: 1; grid-row: 5; } .k-0-5 { grid-column: 1; grid-row: 6; } .k-1-0 { grid-column: 2; grid-row: 1; } .k-1-1 { grid-column: 2; grid-row: 2; } .k-1-2 { grid-column: 2; grid-row: 3; } .k-1-3 { grid-column: 2; grid-row: 4; } .k-1-4 { grid-column: 2; grid-row: 5; } .k-1-5 { grid-column: 2; grid-row: 6; } .k-2-0 { grid-column: 3; grid-row: 1; } .k-2-1 { grid-column: 3; grid-row: 2; } .k-2-2 { grid-column: 3; grid-row: 3; } .k-2-3 { grid-column: 3; grid-row: 4; } .k-2-4 { grid-column: 3; grid-row: 5; } .k-2-5 { grid-column: 3; grid-row: 6; } .k-3-0 { grid-column: 4; grid-row: 1; } .k-3-1 { grid-column: 4; grid-row: 2; } .k-3-2 { grid-column: 4; grid-row: 3; } .k-3-3 { grid-column: 4; grid-row: 4; } .k-3-4 { grid-column: 4; grid-row: 5; } .k-3-5 { grid-column: 4; grid-row: 6; } .k-4-0 { grid-column: 5; grid-row: 1; } .k-4-1 { grid-column: 5; grid-row: 2; } .k-4-2 { grid-column: 5; grid-row: 3; } .k-4-3 { grid-column: 5; grid-row: 4; } .k-4-4 { grid-column: 5; grid-row: 5; } .k-4-5 { grid-column: 5; grid-row: 6; }
.kachelkarte button:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); transform: translateY(-2px); }
.kachelkarte button[aria-pressed='true'] { background: var(--tinte); color: #fff; box-shadow: none; }
.kachelkarte button .streif.quer { position: absolute; bottom: 9px; left: 50%; translate: -50% 0; width: 22px; height: 4px; }
.land-tafel { background: #fff; border-radius: var(--r-gross); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 0 0 1px var(--linie); }
.land-tafel h3 { font-size: clamp(26px, 2.6vw, 34px); display: flex; align-items: center; gap: 14px; }
.land-tafel dl { margin: 22px 0 0; display: grid; grid-template-columns: minmax(0, 13em) 1fr; }
.land-tafel dt, .land-tafel dd { padding: 13px 0; border-top: 1px solid var(--linie); margin: 0; font-size: 15.5px; }
.land-tafel dt { color: var(--leise); }
.land-tafel dd { color: var(--tinte); font-weight: 600; }
.land-tafel .hinweis { font-size: 12.5px; color: var(--leise); margin: 18px 0 0; line-height: 1.5; }
.land-tafel .verweis { margin-top: 22px; }

/* ── Gesetz ──────────────────────────────────────────────────────────────── */
.gesetz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.gesetz div { display: grid; grid-template-columns: 9.5em 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--linie); }
.gesetz strong { font-family: var(--anzeige); color: var(--tinte); font-size: 16px; letter-spacing: -.01em; }
.gesetz p { margin: 0; font-size: 15.5px; }
.gesetz p b { color: var(--tinte); font-weight: 600; }

/* ── Preis ───────────────────────────────────────────────────────────────── */
.preis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.preis-zahl { white-space: nowrap; font-family: var(--anzeige); font-weight: 800; color: var(--tinte); font-size: clamp(52px, 7vw, 100px); line-height: .9; letter-spacing: -.05em; margin-top: 18px; }
.preis-zahl small { font-size: .26em; color: var(--tinte); letter-spacing: -.01em; margin-left: .2em; }
.zettel {
    position: relative; background: var(--zettel); padding: 34px 32px 30px; rotate: 2.5deg; max-width: 360px; justify-self: center;
    box-shadow: 0 2px 0 #E8CC3D, 0 30px 40px -24px rgba(22, 32, 44, .45); font-family: var(--hand); color: #7A1016;
}
.zettel::before { content: ''; position: absolute; top: -14px; left: 50%; translate: -50% 0; width: 110px; height: 30px; background: rgba(255, 255, 255, .55); rotate: -3deg; }
.zettel p { margin: 0; font-size: 34px; line-height: 1.05; font-weight: 600; }
.zettel .gross { font-size: 72px; font-weight: 700; color: var(--rot); line-height: 1; margin: 6px 0; }
.inklusive { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.inklusive li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--tinte); }
.inklusive li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: #15803D; -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
:root { --haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm4.6 8.9l-6 6.5a1.3 1.3 0 0 1-1.9 0l-3-3a1.3 1.3 0 1 1 1.8-1.8l2.1 2 5.1-5.5a1.3 1.3 0 0 1 1.9 1.8z' fill='%23000'/%3E%3C/svg%3E"); }

/* ── Einführung ──────────────────────────────────────────────────────────── */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; counter-reset: s; }
.schritte li { border-top: 2px solid var(--linie); padding-top: 22px; }
.schritte li::before { counter-increment: s; content: counter(s); font-family: var(--anzeige); font-weight: 800; font-size: 44px; color: var(--tinte); line-height: 1; display: block; margin-bottom: 18px; }
.schritte p { margin: 8px 0 0; font-size: 16px; }

/* ── Fragen ──────────────────────────────────────────────────────────────── */
.fragen { max-width: 880px; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--anzeige); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); color: var(--tinte); letter-spacing: -.01em; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; translate: 0 -50%; background: linear-gradient(var(--tinte), var(--tinte)) center / 14px 2px no-repeat, linear-gradient(var(--tinte), var(--tinte)) center / 2px 14px no-repeat; transition: rotate .2s; }
.fragen details[open] summary::after { rotate: 45deg; }
.fragen details p { margin: -6px 0 24px; max-width: 46em; }

/* ── Schluss: Gespräch statt Werbeband ───────────────────────────────────── */
.schluss { background: var(--warm); border-radius: var(--r-gross); padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(80px, 9vw, 130px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.schluss-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.schluss p { font-size: 18px; margin: 16px 0 0; max-width: 30em; }
.schluss .tel { font-family: var(--anzeige); font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); color: var(--tinte); text-decoration: none; letter-spacing: -.02em; display: block; margin-top: 26px; }
.schluss .tel-zusatz { font-size: 14px; color: var(--leise); margin: 2px 0 20px; }
.schluss .faden { position: absolute; left: 0; right: 0; bottom: 8px; }
.schluss > div, .schluss > img { position: relative; z-index: 1; }

/* ── Fuß ─────────────────────────────────────────────────────────────────── */
.fuss { padding: clamp(56px, 7vw, 96px) 0 40px; border-top: 1px solid var(--linie); margin-top: clamp(72px, 9vw, 120px); font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.fuss h4 { font-family: var(--anzeige); font-size: 15px; color: var(--tinte); margin: 0 0 14px; letter-spacing: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss a { text-decoration: none; color: var(--text); }
.fuss a:hover { color: var(--rot); text-decoration: underline; text-underline-offset: 3px; }
.fuss address { font-style: normal; line-height: 1.7; margin-top: 16px; }
.fuss-laender { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 14px; }
.fuss-laender span { color: var(--tinte); font-weight: 600; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; font-size: 13px; color: var(--leise); }
.fuss-unten nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ── Länderwahl (Dialog) ─────────────────────────────────────────────────── */
.landwahl { border: 0; border-radius: 24px; padding: 28px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 40px 80px -20px rgba(22, 32, 44, .45); color: var(--text); }
.landwahl::backdrop { background: rgba(22, 32, 44, .45); backdrop-filter: blur(3px); }
.landwahl h2 { font-size: 26px; }
.landwahl .liste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 18px 0 0; }
.landwahl a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--tinte); font-weight: 500; font-size: 15px; }
.landwahl a:hover, .landwahl a[aria-current='true'] { background: var(--flaeche); }
.landwahl a .streif { height: 22px; width: 5px; }
.landwahl form { margin: 0; }
.landwahl .zu { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--flaeche); cursor: pointer; display: grid; place-items: center; }
.landwahl .zu svg { width: 18px; height: 18px; }

/* ── Einblenden beim Scrollen: nur für große Bilder, sonst bleibt es ruhig ──── */
.js .zeigen { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .zeigen.da { opacity: 1; transform: none; }

/* ── Schmal ──────────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .buehne-in, .kette, .laender, .preis, .programm-kapitel, .schluss, .abschnitt-kopf { grid-template-columns: minmax(0, 1fr); }
    .programm-kapitel.links .kapitel-bild { order: 0; }
    .kapitel-bild .fenster, .programm-kapitel.links .kapitel-bild .fenster { width: 100%; margin-left: 0; }
    .komposition { margin: 10px 4% 0 6%; }
    .kette-bild { display: none; }
    .kette-schritt { min-height: 0; }
    .kette-schritt .kette-klein { display: block; margin-top: 18px; }
    .tatsachen { grid-template-columns: repeat(3, 1fr); }
    .tatsachen div:nth-child(4) { border-left: 0; padding-left: 0; }
    .tatsachen div:nth-child(n+4) { border-top: 1px solid var(--linie); }
    .gesetz { grid-template-columns: minmax(0, 1fr); }
    .fuss-raster { grid-template-columns: 1fr 1fr; }
    .fuss-raster > :first-child { grid-column: 1 / -1; }
    .kachelkarte { max-width: 400px; }
}
.kette-klein { display: none; }
.kette-klein .fenster, .kette-klein .nachweis, .kette-klein .abrechnung { max-height: 360px; }
@media (max-width: 640px) {
    body { font-size: 16px; }
    .tatsachen { grid-template-columns: 1fr 1fr; }
    .tatsachen div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--linie); }
    .tatsachen div:nth-child(-n+2) { border-top: 0; }
    .schritte { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .inklusive { grid-template-columns: minmax(0, 1fr); }
    .kapitel-buehne-clientra { grid-template-columns: minmax(0, 1fr); }
    .land-tafel dl { grid-template-columns: minmax(0, 1fr); }
    .land-tafel dt { border-top: 1px solid var(--linie); padding-bottom: 0; }
    .land-tafel dd { border-top: 0; padding-top: 2px; }
    .gesetz div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .handeln .knopf { width: 100%; }
    .komposition { aspect-ratio: 1.15; margin-top: 28px; }
    .komposition .fenster.haupt { width: 165%; top: 0; left: 18%; }
    .komposition .telefon { width: 44%; left: 0; bottom: 0; }
    .komposition .karte-antares, .komposition .bubble { display: none; }
    .tatsachen div:last-child { grid-column: 1 / -1; }
    .kette-schritt { padding: 28px 0; }
    .kette-schritt::before { position: static; translate: none; margin-bottom: 14px; width: 36px; height: 36px; font-size: 15px; }
    .kette-schritt:not(.aktiv) h3 { color: var(--tinte); }
    .landwahl .liste { grid-template-columns: minmax(0, 1fr); }
    .fuss-raster { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .auftritt > *, .js .zeigen { opacity: 1 !important; transform: none !important; transition: none !important; }
    .js .faden path, .js .t-unterschrift path { stroke-dashoffset: 0 !important; transition: none !important; }
    .js .ab-zeile .ab-haken { transform: none !important; }
    .kette-bild figure { transition: none; }
}

/* CLIENTRA-Bühne: Telefon und Bewilligung nebeneinander */
.bewilligung { background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: 0 20px 44px -22px rgba(22, 32, 44, .35); font-size: 14px; color: var(--tinte); }
.bewilligung b { font-family: var(--anzeige); font-size: 16px; display: block; }
.bewilligung small { color: var(--leise); display: block; margin-top: 2px; }
.bw-zeile { margin-top: 16px; }
.bw-zeile span { display: flex; justify-content: space-between; font-size: 13px; color: var(--text); }
.bw-zeile span strong { color: var(--tinte); font-variant-numeric: tabular-nums; }
.bw-balken { height: 8px; border-radius: 4px; background: #E5EAEE; margin-top: 6px; overflow: hidden; }
.bw-balken i { display: block; height: 100%; border-radius: 4px; background: var(--clientra); }
.bw-balken i.b-1 { width: 33%; } .bw-balken i.b-2 { width: 88%; background: #D97706; }
.bw-warnung { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FFF4D6; color: #8A5A00; font-size: 12.5px; line-height: 1.45; }
.kapitel-buehne-clientra .hand { font-size: clamp(22px, 2vw, 28px); margin: 22px 0 0; }
.kapitel-buehne-clientra { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }

/* ── Unterseiten ─────────────────────────────────────────────────────────── */
.krumen { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--leise); margin-bottom: 26px; }
.krumen a { text-decoration: none; color: var(--leise); }
.krumen a:hover { color: var(--rot); }
.seitenkopf { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.seitenkopf h1 { font-size: clamp(38px, 4.6vw, 66px); }
.seitenkopf .marke { font-size: clamp(28px, 2.8vw, 38px); display: block; margin-bottom: 4px; }
.seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.seitenkopf-bild { position: relative; }
.seitenkopf-bild .fenster { width: 118%; max-width: none; }
.seitenkopf-bild.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--f-hell); border-radius: var(--r-gross); padding: clamp(24px, 3vw, 44px); }
.seitenkopf-bild.duo .telefon { max-width: 270px; justify-self: center; }
.seitenkopf-bild.einzeln { background: var(--f-hell); border-radius: var(--r-gross); padding: clamp(24px, 3vw, 44px); }
.spruch-zeile { font-size: clamp(24px, 2.4vw, 32px); margin-top: 26px; }
.zwei-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.zwei-spalten.haken-liste { margin: 0; gap: 16px 56px; }

.modul { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--linie); }
.modul.umgekehrt { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.modul.umgekehrt .modul-bild { order: -1; }
.modul h3 { font-size: clamp(26px, 2.6vw, 34px); }
.modul p { margin: 14px 0 0; font-size: 17px; max-width: 34em; }
.modul-bild.flaeche { background: var(--f-hell); border-radius: var(--r-gross); padding: clamp(24px, 3vw, 44px); display: grid; place-items: center; }
.modul-bild.flaeche .telefon { max-width: 260px; width: 100%; }
.modul-bild.flaeche > * { width: 100%; }
.modul-bild.flaeche > .telefon { width: auto; }
.textmodule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--linie); }
.textmodule h3 { font-size: 21px; }
.textmodule p { margin: 10px 0 0; font-size: 16px; }

.verbund { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verbund a { display: block; text-decoration: none; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--linie); transition: box-shadow .15s, transform .15s; }
.verbund a:hover { box-shadow: inset 0 0 0 1.5px var(--f); transform: translateY(-2px); }
.verbund .marke { font-size: 22px; display: block; }
.verbund small { display: block; color: var(--leise); font-size: 14px; margin-top: 6px; }

/* Lesetext (BTHG, Über uns, Nachhaltigkeit, Rechtliches) */
.lesen { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(32px, 6vw, 96px); align-items: start; }
.inhalt-nav { position: sticky; top: calc(var(--kopf) + 24px); font-size: 14.5px; }
.inhalt-nav strong { display: block; color: var(--tinte); font-family: var(--anzeige); margin-bottom: 10px; }
.inhalt-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 2px solid var(--linie); }
.inhalt-nav a { display: block; padding-left: 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--text); }
.inhalt-nav a:hover { color: var(--rot); border-left-color: var(--rot); }
.lesetext { font-size: 18px; line-height: 1.7; }
.lesetext h2 { font-size: clamp(28px, 3vw, 38px); margin: 64px 0 18px; scroll-margin-top: calc(var(--kopf) + 20px); }
.lesetext h2:first-child { margin-top: 0; }
.lesetext h3 { font-size: 21px; margin: 32px 0 10px; }
.lesetext p { margin: 0 0 18px; }
.lesetext b, .lesetext strong { color: var(--tinte); font-weight: 600; }
.lesetext ul { padding: 0; list-style: none; margin: 0 0 22px; display: grid; gap: 12px; }
.lesetext ul li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.lesetext ul li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte); margin: 11px 0 0 7px; }
.lesetext a { color: #1F5FA8; text-underline-offset: 3px; }
.fundstelle { display: inline-flex; gap: 10px; align-items: baseline; font-size: 14.5px; font-weight: 600; color: #1F3A57; background: #EEF3F8; border-radius: 10px; padding: 8px 14px; margin: 4px 0 22px; line-height: 1.45; }
.merksatz { font-family: var(--anzeige); font-weight: 800; color: var(--tinte); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.02em; border-left: 4px solid var(--rot); padding-left: 22px; margin: 32px 0; }
.hinweis-klein { font-size: 14px; color: var(--leise); }
.recht h2 { font-size: 24px; margin-top: 40px; }

/* Kontakt */
.wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wege > div { padding: 28px; border-radius: var(--r-gross); background: #fff; box-shadow: inset 0 0 0 1px var(--linie); display: flex; flex-direction: column; }
.wege h3 { font-size: 22px; }
.wege p { margin: 10px 0 0; font-size: 16px; }
.wege .gross { font-family: var(--anzeige); font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); color: var(--tinte); text-decoration: none; margin-top: auto; padding-top: 22px; letter-spacing: -.02em; }
.wege .gross:hover { color: var(--rot); }
.wege .erstes { background: var(--rot); box-shadow: none; color: rgba(255, 255, 255, .88); }
.wege .erstes h3, .wege .erstes .gross { color: #fff; }

@media (max-width: 1000px) {
    .seitenkopf-raster, .modul, .lesen { grid-template-columns: minmax(0, 1fr); }
    .seitenkopf-bild .fenster { width: 100%; }
    .modul.umgekehrt { grid-template-columns: minmax(0, 1fr); }
    .modul.umgekehrt .modul-bild { order: 0; }
    .textmodule, .verbund, .wege { grid-template-columns: minmax(0, 1fr); }
    .inhalt-nav { position: static; }
    .zwei-spalten, .zwei-spalten.haken-liste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .seitenkopf-bild.duo { grid-template-columns: minmax(0, 1fr); }
}
.telefon .schirm.schirm-bild { aspect-ratio: auto; }
.telefon .schirm.schirm-bild img { width: 100%; }

/* ANTARES: Prüfung und offene Posten (nachgezeichnet) */
.pr-zeile { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #F0F2F5; align-items: start; }
.pr-zeile i { width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; }
.pr-zeile.ok i { background: #E8F5EE; box-shadow: inset 0 0 0 5px #E8F5EE, inset 0 0 0 9px #15803D; }
.pr-zeile.warn { background: #FFFBEB; }
.pr-zeile.warn i { background: #F59E0B; }
.pr-zeile small { display: block; color: var(--leise); font-size: 10.5px; }
.pr-hinweis { color: #8A5A00 !important; }
.pr-knopf { font-family: var(--schrift) !important; font-size: 11.5px !important; background: #E5E7EB; color: var(--leise); padding: 6px 12px; border-radius: 8px; }
.po-zeile { display: grid; grid-template-columns: 72px 1fr 70px; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #F0F2F5; }
.po-balken { height: 8px; border-radius: 4px; background: #F1F3F5; overflow: hidden; }
.po-balken i { display: block; height: 100%; border-radius: 4px; background: #15803D; }
.po-balken i.po-0 { width: 0; } .po-balken i.po-62 { width: 62%; background: #D97706; } .po-balken i.po-100 { width: 100%; }
.po-zeile small { font-size: 10.5px; font-weight: 600; text-align: right; }
.po-bezahlt { color: #15803D; } .po-teilweise { color: #B45309; } .po-gestellt { color: var(--leise); }
.po-aus { color: var(--antares) !important; }

/* Preis: Bezugsgröße und das ambulante Angebot */
.preis-je { font-size: 17px; font-weight: 600; color: var(--tinte); margin-top: 8px; }
.preis-zahl small { display: none; }
.preis-ambulant { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: 22px 24px; border-radius: var(--r); background: var(--f-hell); }
.preis-ambulant strong { display: block; font-family: var(--anzeige); color: var(--tinte); font-size: 18px; }
.preis-ambulant span { display: block; font-size: 15px; margin-top: 4px; }
.preis-ambulant-zahl { font-family: var(--anzeige); font-weight: 800; color: var(--f); font-size: 40px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; text-align: right; }
.preis-ambulant-zahl small { display: block; font-family: var(--schrift); font-size: 12.5px; font-weight: 600; color: var(--text); letter-spacing: 0; margin-top: 6px; }
@media (max-width: 640px) { .preis-ambulant { flex-direction: column; align-items: flex-start; } .preis-ambulant-zahl { text-align: left; } }

/* CLIENTRA-Bühne: bei wenig Platz untereinander statt gequetscht */
.kapitel-bild, .duo-huelle { container-type: inline-size; }
.bw-zeile span { gap: 12px; }
.bw-zeile span strong { white-space: nowrap; }
@container (max-width: 620px) {
    .kapitel-buehne-clientra, .seitenkopf-bild.duo { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; }
    .kapitel-buehne-clientra > div, .seitenkopf-bild.duo > .bewilligung { width: 100%; max-width: 420px; }
    .kapitel-buehne-clientra .telefon { max-width: 240px; }
}


/* ── Länderkürzel statt Landesfarben (ein grün-weiß-roter Streifen sah nach Italien aus) ── */
.plakette { display: inline-grid; place-items: center; flex: none; min-width: 38px; height: 26px; padding: 0 7px; border-radius: 7px; background: var(--tinte); color: #fff; font: 800 12px/1 var(--anzeige); letter-spacing: .03em; }
.vertrag .plakette { margin-top: 1px; }
.land-tafel h3 .plakette { height: 30px; min-width: 46px; font-size: 13px; }
.landwahl a .plakette { min-width: 40px; height: 24px; font-size: 11px; background: var(--flaeche-2); color: var(--tinte); }

/* ── Menschen ─────────────────────────────────────────────────────────────── */
.komposition.mit-menschen { aspect-ratio: .98; }
.komposition .foto-buehne { position: absolute; top: 0; right: 0; width: 80%; height: 92%; object-fit: cover; border-radius: 32px; }
.komposition.mit-menschen .telefon { left: 0; bottom: 0; width: 31%; }
.komposition.mit-menschen .karte-antares { left: auto; right: -5%; bottom: 3%; width: 50%; }
.komposition.mit-menschen .bubble { left: 4%; top: 7%; right: auto; }

.faden-notiz .slogan { position: absolute; left: 6%; top: 8px; margin: 0; font-size: clamp(24px, 2.5vw, 34px); transform: rotate(-2deg); }

.menschen { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 18px; align-items: end; }
.menschen figure { margin: 0; position: relative; }
.menschen img { width: 100%; border-radius: 26px; object-fit: cover; }
.menschen figure:nth-child(1) img, .menschen figure:nth-child(3) img { aspect-ratio: 4 / 5; }
.menschen figure:nth-child(2) img { aspect-ratio: 4 / 3; }
.menschen figure:nth-child(2) { align-self: center; }
.menschen figcaption { font-family: var(--hand); font-weight: 600; color: var(--rot); font-size: clamp(20px, 1.8vw, 26px); margin-top: 10px; line-height: 1.1; }

.mit-foto { position: relative; padding-bottom: 14%; }
.mit-foto-bild { width: 80%; margin-left: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.mit-foto-ueber { position: absolute; left: 0; bottom: 0; width: 66%; }
.mit-foto.ueber-karte .mit-foto-ueber { width: 52%; }
.mit-foto.ueber-karte .mit-foto-ueber .telefon { width: 58%; }
.programm-kapitel.links .mit-foto-bild, .mit-foto.links .mit-foto-bild { margin-left: 0; margin-right: auto; }
.programm-kapitel.links .mit-foto-ueber, .mit-foto.links .mit-foto-ueber { left: auto; right: 0; }
.kapitel-bild .mit-foto .fenster { width: 100%; }

@media (max-width: 1000px) {
    .schluss { grid-template-columns: minmax(0, 1fr); }
    .menschen { grid-template-columns: 1fr 1fr; }
    .menschen figure:nth-child(2) { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
    .komposition.mit-menschen { aspect-ratio: .9; }
    .komposition .foto-buehne { width: 86%; height: 88%; }
    .komposition.mit-menschen .telefon { width: 40%; }
    .faden-notiz .slogan { position: static; display: block; margin-bottom: -16px; }
    .mit-foto-ueber, .mit-foto.ueber-karte .mit-foto-ueber { width: 78%; }
}
.kapitel-spruch { font-size: clamp(22px, 2vw, 28px); margin: 18px 0 0; text-align: right; }
.programm-kapitel.links .kapitel-spruch { text-align: left; }

/* Bühne: eine Szene — das Foto und der Einsatz derselben Person im Telefon */
.szene { position: relative; padding: 0 0 6% 0; }
.szene-foto { width: 88%; margin-left: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 32px; }
.szene .szene-telefon { position: absolute; left: 0; bottom: 0; width: 34%; }
@media (max-width: 640px) {
    .szene-foto { width: 100%; }
    .szene .szene-telefon { width: 42%; left: -2%; bottom: -4%; }
}

/* ── Ein Klick, drei Programme ───────────────────────────────────────────── */
.probe { display: grid; grid-template-columns: minmax(0, 1.25fr) 56px minmax(0, 1fr) 56px minmax(0, .8fr); align-items: center; }
.probe-feld { background: #fff; border-radius: 20px; box-shadow: 0 1px 0 rgba(22, 32, 44, .04), 0 18px 40px -24px rgba(22, 32, 44, .3); padding: 18px; align-self: stretch; display: flex; flex-direction: column; }
.probe-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.probe-kopf .marke { font-size: 17px; }
.probe-kopf b { font-family: var(--anzeige); color: var(--tinte); font-size: 17px; }
.probe-kopf small { color: var(--leise); font-size: 12.5px; }
.probe-zeile { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; margin-bottom: 6px; }
.probe-tage span { font-size: 11.5px; font-weight: 600; color: var(--leise); text-align: center; }
.probe-person { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--tinte); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.probe-person img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.probe-zelle { aspect-ratio: 1; border: 1.5px dashed #C9D2DC; background: #FAFBFC; border-radius: 10px; color: var(--sirius); font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .12s, background .2s; }
.probe-zelle:hover { background: #E3F1FA; border-color: var(--sirius); transform: translateY(-1px); }
.probe-zelle.belegt { border: 0; background: #16A34A; color: #fff; cursor: default; font-size: 14px; }
.probe-zelle.neu { animation: probe-tipp .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes probe-tipp { from { transform: scale(.6); } }
/* Echte SIRIUS-Aufnahme; Tippflächen genau über den roten Symbolen (Mittelpunkte in % der Aufnahme 798 × 545) */
.probe-bild { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--linie); }
.probe-bild img { display: block; width: 100%; height: auto; }
.probe-bild .probe-zelle { position: absolute; width: 5.6%; aspect-ratio: 1; translate: -50% -50%; padding: 0; border: 0; border-radius: 22%; background: transparent; cursor: pointer; transition: background .2s, box-shadow .2s; }
.probe-bild .probe-zelle:not(.belegt) { animation: pz-puls 2.4s ease-in-out infinite; }
.probe-bild .probe-zelle:hover, .probe-bild .probe-zelle:focus-visible { box-shadow: 0 0 0 2px var(--sirius); transform: none; background: transparent; }
.probe-bild .probe-zelle.belegt { cursor: default; animation: none; background: #E8F5EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; box-shadow: 0 0 0 1px #B7DDC3; }
.probe-bild .probe-zelle.neu { animation: probe-tipp .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pz-puls { 50% { box-shadow: 0 0 0 3px rgba(220, 38, 38, .25); } }
.pz-1 { left: 77.94%; top: 14.5%; } .pz-2 { left: 77.94%; top: 32.66%; } .pz-3 { left: 77.94%; top: 86.42%; }
.pz-4 { left: 90.73%; top: 86.42%; } .pz-5 { left: 77.94%; top: 95.6%; }
@media (prefers-reduced-motion: reduce) { .probe-bild .probe-zelle { animation: none !important; } }
.probe-tipp { font-size: 13.5px; color: var(--leise); margin: auto 0 0; padding-top: 8px; }
.probe-faden { width: 100%; height: 40px; overflow: visible; }
.probe-faden path { fill: none; stroke: var(--rot); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 6 0; }
.probe.fliesst .probe-faden path { animation: probe-fluss .9s ease-out; }
@keyframes probe-fluss { 0% { stroke-dasharray: 0 400; } 100% { stroke-dasharray: 400 0; } }
.probe-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 260px; overflow: hidden; }
.probe-liste li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 9px 11px; border-radius: 11px; background: var(--flaeche); font-size: 12.5px; }
.probe-liste li span { font-weight: 600; color: var(--tinte); }
.probe-liste li small { grid-column: 1; color: var(--leise); font-size: 11.5px; }
.probe-liste li em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 3px 7px; }
.probe-liste li.neu { animation: probe-rein .5s ease-out; background: #FFF8E1; }
@keyframes probe-rein { from { opacity: 0; transform: translateY(-8px); } }
.art-qualifiziert { background: #E3F1FA; color: var(--sirius); }
.art-allgemein, .art-kompensatorisch, .art-unterstützend, .art-einfach { background: #EEF0F3; color: var(--text); }
.probe-zahl { margin-top: 6px; }
.probe-zahl span { display: block; font-family: var(--anzeige); font-weight: 800; color: var(--tinte); font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.probe-zahl.gross span { font-size: clamp(30px, 3vw, 40px); color: var(--antares); }
.probe-zahl small { display: block; font-size: 12px; color: var(--leise); }
.probe-ok { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: #15803D; }
@media (max-width: 1000px) {
    .probe { grid-template-columns: minmax(0, 1fr); }
    .probe-faden { height: 34px; width: 60px; justify-self: center; transform: rotate(90deg); }
}

/* ── Preisrechner ────────────────────────────────────────────────────────── */
.rechner { position: relative; background: #fff; border-radius: var(--r-gross); padding: clamp(24px, 3vw, 40px); box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -36px rgba(22, 32, 44, .35); }
.rechner h3 { font-size: 24px; margin-bottom: 18px; max-width: 70%; }
.rechner .zettel.klein { position: absolute; right: -14px; top: -34px; padding: 14px 16px 12px; max-width: 150px; rotate: 4deg; }
.zettel.klein p { font-size: 20px; }
.zettel.klein .gross { font-size: 36px; margin: 2px 0; }
.rechner-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.rechner-wahl label { cursor: pointer; display: flex; }
.rechner-wahl input { position: absolute; opacity: 0; }
.rechner-wahl input + span { display: block; flex: 1; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 700; color: var(--tinte); font-size: 15px; transition: box-shadow .15s, background .15s; }
.rechner-wahl small { display: block; font-weight: 400; color: var(--leise); font-size: 12.5px; margin-top: 2px; }
.tarif-preis { display: block; margin-top: 6px; font-family: var(--anzeige); font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--tinte); }
.tarif-preis em { display: block; margin-top: 1px; font-style: normal; font-family: var(--text-schrift, inherit); font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--leise); }
.tarif-programme { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--linie); display: grid; gap: 6px; }
.tarif-programme > span { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.tarif-programme img { flex: none; }
.tarif-programme small { display: inline; margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.rechner-wahl input:checked + span { box-shadow: inset 0 0 0 2px var(--tinte); background: var(--flaeche); }
.rechner-wahl input:focus-visible + span { outline: 3px solid var(--rot); outline-offset: 2px; }
.rechner-zahl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--tinte); font-size: 15px; }
.rechner-zahl output { font-family: var(--anzeige); font-size: 28px; font-weight: 800; }
.rechner input[type=range] { width: 100%; margin: 12px 0 22px; accent-color: var(--tinte); height: 28px; }
.rechner-ergebnis { border-top: 1px solid var(--linie); padding-top: 18px; }
.rechner-ergebnis strong { display: block; font-family: var(--anzeige); font-size: clamp(40px, 4.4vw, 58px); color: var(--tinte); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rechner-ergebnis > span { display: block; font-size: 14px; color: var(--leise); margin-top: 8px; }
.rechner-hinweis { font-size: 13.5px; color: var(--leise); margin: 16px 0 0; }
.rechner[data-art='ambulant'] .rechner-hinweis { color: var(--clientra); font-weight: 600; }
@media (max-width: 640px) { .rechner-wahl { grid-template-columns: 1fr; } .rechner .zettel.klein { display: none; } .rechner h3 { max-width: none; } }

/* ── Hauptakt: Gesamtplan einlesen ───────────────────────────────────────── */
.hauptakt { padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(180deg, #fff 0%, var(--flaeche) 100%); }
.hauptakt-kopf { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.hauptakt-kopf h2 { font-size: clamp(36px, 5.4vw, 72px); }
.hauptakt-kopf p { font-size: 19px; margin: 16px auto 0; max-width: 34em; }
.einlesen { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(80px, .35fr) minmax(0, 1.1fr); align-items: center; gap: 0; }
.ein-bogen { perspective: 1200px; }
.ein-blatt { position: relative; background: #fff; border-radius: 6px; aspect-ratio: 1 / 1.3; padding: 8% 9%; box-shadow: 0 30px 60px -30px rgba(22, 32, 44, .4), 0 0 0 1px rgba(22, 32, 44, .06); overflow: hidden; transform: rotate(-3deg); }
.ein-kopf { border-bottom: 2px solid var(--tinte); padding-bottom: 10px; margin-bottom: 18px; }
.ein-kopf b { display: block; font-family: var(--anzeige); color: var(--tinte); font-size: clamp(18px, 1.8vw, 24px); }
.ein-kopf span { font-size: 12px; color: var(--leise); }
.ein-felder { display: grid; gap: 11px; }
.ein-felder i { display: block; height: 9px; border-radius: 3px; background: #E8ECF0; }
.ein-felder i.w40 { width: 40%; } .ein-felder i.w50 { width: 50%; } .ein-felder i.w55 { width: 55%; } .ein-felder i.w60 { width: 60%; }
.ein-felder i.w70 { width: 70%; } .ein-felder i.w75 { width: 75%; } .ein-felder i.w80 { width: 80%; } .ein-felder i.w85 { width: 85%; }
.ein-ziel { font-family: var(--hand); font-size: clamp(18px, 1.7vw, 23px); color: #1E3A8A; line-height: 1.15; padding: 2px 4px; margin: 2px -4px; border-radius: 3px; background: linear-gradient(transparent 0, transparent 100%) no-repeat; }
.ein-scan { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, rgba(3, 105, 161, 0) 0%, rgba(3, 105, 161, .16) 70%, rgba(3, 105, 161, .55) 100%); border-bottom: 2px solid var(--sirius); opacity: 0; }
.ein-faden { width: 100%; height: 120px; overflow: visible; }
.ein-faden path { fill: none; stroke: var(--rot); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ein-sirius { background: #fff; border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 30px 60px -30px rgba(22, 32, 44, .35), 0 0 0 1px rgba(22, 32, 44, .05); }
.ein-sirius-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.ein-sirius-kopf .marke { font-size: 20px; }
.ein-sirius-kopf small { color: var(--leise); font-size: 13px; }
.ein-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ein-karten li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; background: #F2F8FC; box-shadow: inset 0 0 0 1.5px #CFE6F4; }
.ein-bereich { font-size: 12px; font-weight: 700; color: var(--sirius); }
.ein-karten p { grid-column: 1; margin: 0; color: var(--tinte); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.ein-kontingent { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ein-haken { grid-column: 2; grid-row: 2; justify-self: end; width: 24px; height: 24px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ein-ergebnis { margin-top: 16px; font-size: 15px; color: var(--text); }
.ein-ergebnis b { color: var(--tinte); }
.ein-nochmal { position: absolute; right: 0; bottom: -46px; border: 0; background: none; color: var(--tinte); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Ablauf: nur mit Skript versteckt, sonst steht das Endbild da */
.js .einlesen .ein-blatt { opacity: 0; transform: translateX(-40px) rotate(-8deg); }
.js .einlesen .ein-karten li, .js .einlesen .ein-ergebnis { opacity: 0; transform: translateX(-30px) scale(.96); }
.js .einlesen .ein-faden path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.einlesen.laeuft .ein-blatt { animation: ein-blatt .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.einlesen.laeuft .ein-scan { animation: ein-scan 2.4s ease-in-out .8s forwards; }
.einlesen.laeuft .ein-ziel.z1 { animation: ein-mark .4s ease-out 1.35s forwards; }
.einlesen.laeuft .ein-ziel.z2 { animation: ein-mark .4s ease-out 1.95s forwards; }
.einlesen.laeuft .ein-ziel.z3 { animation: ein-mark .4s ease-out 2.55s forwards; }
.einlesen.laeuft .ein-faden path { animation: ein-faden 1.4s ease-in-out 1.4s forwards; }
.einlesen.laeuft .ein-karten .k1 { animation: ein-karte .6s cubic-bezier(.2, .9, .3, 1.2) 1.9s forwards; }
.einlesen.laeuft .ein-karten .k2 { animation: ein-karte .6s cubic-bezier(.2, .9, .3, 1.2) 2.5s forwards; }
.einlesen.laeuft .ein-karten .k3 { animation: ein-karte .6s cubic-bezier(.2, .9, .3, 1.2) 3.1s forwards; }
.einlesen.laeuft .ein-ergebnis { animation: ein-karte .6s ease-out 3.8s forwards; }
.einlesen.laeuft .ein-haken { animation: ein-haken .4s cubic-bezier(.3, 1.6, .5, 1) both; }
.einlesen.laeuft .k1 .ein-haken { animation-delay: 2.5s; } .einlesen.laeuft .k2 .ein-haken { animation-delay: 3.1s; } .einlesen.laeuft .k3 .ein-haken { animation-delay: 3.7s; }
@keyframes ein-blatt { to { opacity: 1; transform: rotate(-3deg); } }
@keyframes ein-scan { 0% { opacity: 1; top: -70px; } 90% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
@keyframes ein-mark { to { background: linear-gradient(rgba(255, 228, 92, .85), rgba(255, 228, 92, .85)); box-shadow: 0 0 0 2px #F5C518; } }
@keyframes ein-faden { to { stroke-dashoffset: 0; } }
@keyframes ein-karte { to { opacity: 1; transform: none; } }
@keyframes ein-haken { from { transform: scale(0); } to { transform: scale(1); } }
.ein-ziel { transition: none; }
.einlesen:not(.laeuft) .ein-ziel { box-shadow: none; }
html:not(.js) .ein-ziel, .einlesen.fertig .ein-ziel { background: rgba(255, 228, 92, .85); box-shadow: 0 0 0 2px #F5C518; }

@media (max-width: 1000px) {
    .einlesen { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ein-bogen { max-width: 420px; justify-self: center; width: 100%; }
    .ein-faden { height: 80px; width: 120px; justify-self: center; transform: rotate(90deg); }
    .ein-nochmal { position: static; justify-self: center; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .einlesen .ein-blatt, .js .einlesen .ein-karten li, .js .einlesen .ein-ergebnis { opacity: 1 !important; transform: none !important; animation: none !important; }
    .js .einlesen .ein-faden path { stroke-dashoffset: 0 !important; animation: none !important; }
    .ein-ziel { background: rgba(255, 228, 92, .85) !important; }
    .ein-scan { display: none; }
}


/* ── POLARIS plant selbst ────────────────────────────────────────────────── */
.autoplan { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ap-fenster { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(22, 32, 44, .35), 0 0 0 1px rgba(22, 32, 44, .05); }
.ap-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ap-kopf .marke { font-size: 19px; }
.ap-knopf { background: var(--polaris); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.ap-raster { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(7, minmax(0, 1fr)); gap: 5px; }
.ap-tag { font-size: 11.5px; font-weight: 600; color: var(--leise); text-align: center; }
.ap-name { font-size: 12.5px; font-weight: 600; color: var(--tinte); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; }
.ap-name i { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--polaris); background: #E7EFFE; border-radius: 4px; padding: 1px 4px; }
.ap-zelle { height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.d-F { background: #FEF3C7; color: #92400E; } .d-S { background: #DBEAFE; color: #1E40AF; } .d-N { background: #E0E7FF; color: #3730A3; } .d-frei { background: #F5F7F9; }
.ap-pruefung { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ap-pruefung li { display: block; position: relative; padding-left: 40px; font-size: 16px; line-height: 1.5; color: var(--text); }
.ap-pruefung li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ap-pruefung b { color: var(--tinte); }
.js .autoplan .ap-zelle { opacity: 0; transform: scale(.6); }
.js .autoplan .ap-pruefung li { opacity: 0; transform: translateX(-16px); }
.autoplan.laeuft .ap-knopf { animation: ap-druck .5s ease-out .2s; }
@keyframes ap-druck { 50% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(37, 99, 235, .25); } }
.autoplan.laeuft .ap-zelle { animation: ap-zelle .35s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.autoplan.laeuft .ap-pruefung li { animation: ein-karte .5s ease-out forwards; }
@keyframes ap-zelle { to { opacity: 1; transform: none; } }
.autoplan.laeuft .n0 { animation-delay: 0.60s; }
.autoplan.laeuft .n1 { animation-delay: 0.88s; }
.autoplan.laeuft .n2 { animation-delay: 1.16s; }
.autoplan.laeuft .n3 { animation-delay: 1.44s; }
.autoplan.laeuft .n4 { animation-delay: 1.72s; }
.autoplan.laeuft .n5 { animation-delay: 2.00s; }
.autoplan.laeuft .n6 { animation-delay: 2.28s; }
.autoplan.laeuft .n7 { animation-delay: 0.65s; }
.autoplan.laeuft .n8 { animation-delay: 0.93s; }
.autoplan.laeuft .n9 { animation-delay: 1.21s; }
.autoplan.laeuft .n10 { animation-delay: 1.49s; }
.autoplan.laeuft .n11 { animation-delay: 1.77s; }
.autoplan.laeuft .n12 { animation-delay: 2.05s; }
.autoplan.laeuft .n13 { animation-delay: 2.33s; }
.autoplan.laeuft .n14 { animation-delay: 0.70s; }
.autoplan.laeuft .n15 { animation-delay: 0.98s; }
.autoplan.laeuft .n16 { animation-delay: 1.26s; }
.autoplan.laeuft .n17 { animation-delay: 1.54s; }
.autoplan.laeuft .n18 { animation-delay: 1.82s; }
.autoplan.laeuft .n19 { animation-delay: 2.10s; }
.autoplan.laeuft .n20 { animation-delay: 2.38s; }
.autoplan.laeuft .n21 { animation-delay: 0.75s; }
.autoplan.laeuft .n22 { animation-delay: 1.03s; }
.autoplan.laeuft .n23 { animation-delay: 1.31s; }
.autoplan.laeuft .n24 { animation-delay: 1.59s; }
.autoplan.laeuft .n25 { animation-delay: 1.87s; }
.autoplan.laeuft .n26 { animation-delay: 2.15s; }
.autoplan.laeuft .n27 { animation-delay: 2.43s; }
.autoplan.laeuft .n28 { animation-delay: 0.80s; }
.autoplan.laeuft .n29 { animation-delay: 1.08s; }
.autoplan.laeuft .n30 { animation-delay: 1.36s; }
.autoplan.laeuft .n31 { animation-delay: 1.64s; }
.autoplan.laeuft .n32 { animation-delay: 1.92s; }
.autoplan.laeuft .n33 { animation-delay: 2.20s; }
.autoplan.laeuft .n34 { animation-delay: 2.48s; }
.autoplan.laeuft .n35 { animation-delay: 0.85s; }
.autoplan.laeuft .n36 { animation-delay: 1.13s; }
.autoplan.laeuft .n37 { animation-delay: 1.41s; }
.autoplan.laeuft .n38 { animation-delay: 1.69s; }
.autoplan.laeuft .n39 { animation-delay: 1.97s; }
.autoplan.laeuft .n40 { animation-delay: 2.25s; }
.autoplan.laeuft .n41 { animation-delay: 2.53s; }
.autoplan.laeuft .p1 { animation-delay: 3.15s; }
.autoplan.laeuft .p2 { animation-delay: 3.50s; }
.autoplan.laeuft .p3 { animation-delay: 3.85s; }
.autoplan.laeuft .p4 { animation-delay: 4.20s; }
.autoplan.laeuft .p5 { animation-delay: 4.55s; }
@media (max-width: 1000px) { .autoplan { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .js .autoplan .ap-zelle, .js .autoplan .ap-pruefung li { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* ── Länder: Farben angedeutet, einladend ────────────────────────────────── */
.karte-huelle { position: relative; }
.karte-einladung { position: absolute; z-index: 2; pointer-events: none; left: 64%; top: 70%; font-size: clamp(22px, 2vw, 28px); display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0; margin: 0; max-width: 40%; line-height: 1.05; }
.karte-einladung svg { width: 54px; height: 40px; flex: none; transform: rotate(180deg) translateX(30px); }
.kachelkarte button { background: color-mix(in srgb, var(--la, var(--tinte)) 10%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--la, var(--tinte)) 28%, #fff); color: color-mix(in srgb, var(--la, var(--tinte)) 80%, var(--tinte)); }
.kachelkarte button:hover { box-shadow: inset 0 0 0 2px var(--la), 0 12px 24px -12px color-mix(in srgb, var(--la) 60%, transparent); transform: translateY(-3px); background: color-mix(in srgb, var(--la) 16%, #fff); }
.kachelkarte button[aria-pressed='true'] { background: var(--la); color: #fff; box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--la) 80%, transparent); }
.kachelkarte:not(.beruehrt) button[aria-pressed='true'] { animation: kachel-puls 2.2s ease-in-out infinite; }
@keyframes kachel-puls { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--la) 18%, transparent), 0 14px 28px -12px color-mix(in srgb, var(--la) 80%, transparent); } }
.plakette.la, .stapel .plakette { background: var(--la, var(--tinte)); }
#laender { background: linear-gradient(180deg, #F3F8F5 0%, #fff 70%); overflow-x: clip; }

/* Der Stapel der Leistungsnachweise */
.land-rechts { display: grid; gap: 18px; }
.stapel { position: relative; padding: 18px 18px 0 0; }
.stapel-blatt { background: #fff; border-radius: 10px; box-shadow: 0 1px 0 rgba(22, 32, 44, .05), 0 18px 40px -22px rgba(22, 32, 44, .35); }
.stapel-blatt.hinten { position: absolute; inset: 18px 18px auto 0; height: 92%; padding: 22px 26px; color: var(--leise); font-size: 13px; }
.stapel-blatt.hinten b { display: block; color: #9AA4AF; font-family: var(--anzeige); font-size: 16px; }
.stapel-blatt.h1 { transform: rotate(3deg) translate(14px, -8px); }
.stapel-blatt.h2 { transform: rotate(6deg) translate(26px, -14px); opacity: .8; }
.stapel-blatt.vorn { position: relative; padding: clamp(20px, 2.6vw, 30px); border-top: 5px solid var(--la, var(--tinte)); font-size: 13.5px; color: var(--tinte); }
.stapel-blatt.vorn.neu { animation: blatt-neu .45s cubic-bezier(.2, .8, .3, 1.1); }
@keyframes blatt-neu { from { transform: translateY(-14px) rotate(-1.5deg); opacity: .4; } }
.stapel header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.stapel header b { display: block; font-family: var(--anzeige); font-size: 19px; }
.stapel header small { color: var(--leise); font-size: 12.5px; }
.stapel dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0 10px; padding: 10px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.stapel dt { color: var(--leise); font-size: 12.5px; }
.stapel dd { margin: 0; font-weight: 600; font-size: 13.5px; }
.stapel table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stapel td { padding: 7px 4px; border-bottom: 1px solid #F0F2F5; }
.stapel td:last-child { text-align: right; }
.stapel .art { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 6px; }
.stapel .q { background: #E3F1FA; color: var(--sirius); } .stapel .a { background: #F1F3F5; color: var(--text); }
.stapel .t { background: color-mix(in srgb, var(--la, var(--tinte)) 10%, #fff); color: color-mix(in srgb, var(--la, var(--tinte)) 80%, #000); white-space: nowrap; }
.stapel th { padding: 0 4px 6px; text-align: left; font-size: 11.5px; font-weight: 600; color: var(--leise); border-bottom: 1px solid var(--linie); }
.stapel th:last-child { text-align: right; }
.stapel .smiley { width: 22px; height: 22px; fill: none; stroke: #2E8B57; stroke-width: 1.6; stroke-linecap: round; vertical-align: middle; }
.stapel .smiley circle + circle, .stapel .smiley circle:nth-child(3) { fill: #2E8B57; stroke: none; }
.handzeichen { font-family: var(--hand); font-weight: 600; font-size: 19px; line-height: 1; color: #1D3F91; display: inline-block; transform: rotate(-5deg); }
.blatt-notiz { margin: 14px 0 0; font-size: 12.5px; color: var(--leise); }
.stapel-blatt[hidden] { display: none; }
.unterschriften { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.unterschriften div { border-top: 1px solid var(--tinte); padding-top: 2px; position: relative; }
.handschrift { position: absolute; left: 6px; bottom: calc(100% - 6px); font-family: var(--hand); font-weight: 600; font-size: 30px; color: #1D3F91; transform: rotate(-4deg); white-space: nowrap; }
.unterschriften small { font-size: 11.5px; color: var(--leise); }
.unterschriften { padding-top: 26px; }
@media (max-width: 640px) { .karte-einladung { position: static; max-width: none; margin-bottom: 10px; } .karte-einladung svg { display: none; } }

/* Farben angedeutet: leichte Töne statt Grau */
.abschnitt.grau { background: #F4F8FB; }
#ausprobieren { background: linear-gradient(180deg, #F2F7FC 0%, #FBF8F3 100%); }
.hauptakt { background: linear-gradient(180deg, #fff 0%, #EEF6FB 100%); }
#polaris-plant { background: linear-gradient(180deg, #F1F5FF 0%, #fff 100%); }
.zweiter { color: #D1666B; }

/* ── Der Moment und seine Dokumentation (Schieber mit dem roten Faden) ────── */
.vergleich { --teil: 56%; position: relative; aspect-ratio: 4 / 3.1; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--f-hell, var(--flaeche)); box-shadow: 0 30px 60px -36px rgba(22, 32, 44, .45); touch-action: pan-y; }
.vg-programm { position: absolute; inset: 0; display: grid; place-items: center; padding: 7% 6%; background: radial-gradient(circle at 70% 30%, #fff 0%, var(--f-hell, var(--flaeche)) 70%); }
.vergleich.mit-fenster .vg-programm { padding: 6% 0 6% 10%; place-items: center start; }
.vergleich.mit-fenster .vg-programm .fenster { width: 135%; max-width: none; }
.vergleich.mit-karte .vg-programm > * { max-width: 92%; }
.vergleich.mit-karte .vg-programm > .telefon { width: 46%; max-width: 230px; }
.vg-foto { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--teil)) 0 0); z-index: 1; }
.vg-bild { width: 100%; height: 100%; object-fit: cover; }
.vg-faden { position: absolute; top: 0; bottom: 0; left: var(--teil); width: 24px; translate: -50% 0; z-index: 2; pointer-events: none; }
.vg-faden > svg { width: 100%; height: 100%; overflow: visible; }
.vg-faden path { fill: none; stroke: var(--rot); stroke-width: 3; vector-effect: non-scaling-stroke; }
.vg-knoten { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--rot); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--rot), 0 10px 24px -8px rgba(22, 32, 44, .5); }
.vg-knoten svg { width: 22px; height: 22px; }
.vg-regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.vg-regler:focus-visible + * , .vergleich:has(.vg-regler:focus-visible) .vg-knoten { box-shadow: 0 0 0 3px var(--rot), 0 0 0 7px rgba(200, 32, 42, .3); }
.vg-etikett { position: absolute; bottom: 14px; z-index: 2; font-size: clamp(18px, 1.7vw, 24px); padding: 2px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); pointer-events: none; transition: opacity .2s; }
.vg-etikett.links { left: 14px; }
.vg-etikett.rechts { right: 14px; }
.vergleich.wenig-foto .vg-etikett.links, .vergleich.viel-foto .vg-etikett.rechts { opacity: 0; }
.vergleich.schwingt { transition: --teil 0s; }
@property --teil { syntax: '<percentage>'; inherits: true; initial-value: 56%; }
.vergleich.schwingt { animation: vg-schwung 2.4s ease-in-out .3s; }
@keyframes vg-schwung { 0% { --teil: 56%; } 30% { --teil: 22%; } 65% { --teil: 82%; } 100% { --teil: 56%; } }
@media (prefers-reduced-motion: reduce) { .vergleich.schwingt { animation: none; } }

/* ── Abstände: Themen dichter zusammen ───────────────────────────────────── */
.abschnitt { padding: clamp(56px, 7vw, 96px) 0; }
.hauptakt { padding: clamp(56px, 7vw, 96px) 0; }
.programm-kapitel { padding: clamp(36px, 4.5vw, 64px) 0; }
.abschnitt-kopf { margin-bottom: clamp(28px, 3.5vw, 48px); }
.hauptakt-kopf { margin-bottom: clamp(28px, 3.5vw, 48px); }
.fuss { margin-top: clamp(56px, 7vw, 96px); }
.seitenkopf { padding: clamp(28px, 4.5vw, 64px) 0 clamp(16px, 2vw, 28px); }
.modul { padding: clamp(28px, 3.5vw, 52px) 0; }
.programm-kapitel.links { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.vergleich.mit-karte .vg-programm { place-items: center end; padding-right: 7%; }
.vergleich.mit-karte .vg-programm > .abrechnung, .vergleich.mit-karte .vg-programm > .nachweis { width: 52%; font-size: 11px; }
@media (max-width: 1000px) { .programm-kapitel.links { grid-template-columns: minmax(0, 1fr); } }

/* Bereiche */
.bereiche { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.bereich { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--linie); }
.bereich h3 { font-size: 22px; margin-bottom: 10px; }
.bereich ul { list-style: none; margin: 0; padding: 0; }
.bereich li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linie); font-weight: 600; color: var(--tinte); font-size: 15.5px; }
.bereich-programme { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.bereich-programme a { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-decoration: none; color: var(--f); background: var(--f-hell); padding: 4px 8px; border-radius: 99px; }
.bereich-programme a:hover { background: var(--f); color: #fff; }
@media (max-width: 800px) { .bereiche { grid-template-columns: 1fr; } .bereich li { flex-direction: column; align-items: flex-start; } .bereich-programme { justify-content: flex-start; } }

/* ── Auf jedem Gerät ─────────────────────────────────────────────────────── */
.geraete { position: relative; height: clamp(300px, 36vw, 470px); margin: 0 auto; max-width: 1060px; }
.g-laptop { position: absolute; left: 12%; top: 0; width: 64%; }
.g-laptop-schirm { background: #10161E; border-radius: 16px 16px 4px 4px; padding: 10px; aspect-ratio: 16 / 10; overflow: hidden; }
.g-laptop-schirm img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 6px; }
.g-laptop-fuss { height: 14px; margin: 0 -6%; background: linear-gradient(#D7DCE2, #B9C0C8); border-radius: 0 0 14px 14px; }
.g-tablet { position: absolute; left: 0; bottom: 0; width: 34%; background: #10161E; border-radius: 22px; padding: 10px; box-shadow: 0 30px 50px -30px rgba(22, 32, 44, .55); }
.g-tablet-schirm { aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: #fff; }
.g-tablet-schirm img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.g-iphone { position: absolute; right: 13%; bottom: 0; width: 17%; z-index: 2; }
.g-android { position: absolute; right: 0; bottom: 6%; width: 15%; }
.telefon.android { border-radius: 22px; padding: 6px; }
.telefon.android .schirm { border-radius: 17px; }
.geraete-liste { list-style: none; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1060px; }
.geraete-liste li { background: #fff; border-radius: 99px; padding: 10px 18px; font-size: 14.5px; color: var(--text); box-shadow: 0 0 0 1px var(--linie); }
.geraete-liste b { color: var(--tinte); }
#geraete { background: linear-gradient(180deg, #fff 0%, #F6F2FB 100%); }
@media (max-width: 700px) { .geraete { height: 78vw; } .g-iphone { width: 26%; right: 6%; } .g-android { display: none; } .g-tablet { width: 46%; } .g-laptop { left: 6%; width: 88%; } }
.bereich-grundlage { font-size: 12.5px; font-weight: 700; color: var(--leise); letter-spacing: .02em; margin: -4px 0 10px; }
.bereich li > span:first-child small { display: block; font-size: 12px; font-weight: 600; color: #1F5FA8; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Rechtsband und Grundlage je Programm */
.rechtsband { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 18px 0 6px; }
.rechtsband span { font-size: 13px; color: var(--leise); margin-right: 4px; }
.rechtsband b { font-size: 12.5px; font-weight: 700; color: #1F3A57; background: #EEF3F8; border-radius: 8px; padding: 6px 10px; letter-spacing: .02em; }
.grundlage { margin: 14px 0 12px; font-size: 13px; font-weight: 600; color: #1F5FA8; }
.grundlage::before { content: '§'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #EEF3F8; color: #1F3A57; font-weight: 800; margin-right: 8px; }

/* ── Funktionsumfang auf den Programmseiten ──────────────────────────────── */
.umfang-abschnitt { background: linear-gradient(180deg, var(--f-hell, #F4F8FB) 0%, #fff 60%); }
.umfang { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.umfang-nav { position: sticky; top: calc(var(--kopf) + 24px); }
.umfang-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.umfang-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 15px; }
.umfang-nav a:hover, .umfang-nav a.aktiv { background: #fff; box-shadow: 0 0 0 1px var(--linie); color: var(--f); }
.umfang-nav small { font-size: 12px; font-weight: 700; color: var(--f); background: var(--f-hell); border-radius: 99px; padding: 2px 8px; }
.thema { padding: 8px 0 clamp(32px, 4vw, 52px); scroll-margin-top: calc(var(--kopf) + 20px); }
.thema + .thema { border-top: 1px solid var(--linie); padding-top: clamp(28px, 3.5vw, 44px); }
.thema h3 { font-size: clamp(24px, 2.4vw, 32px); }
.thema-einleitung { margin: 8px 0 22px; font-size: 17px; }
.funktionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.funktion { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--linie); display: flex; flex-direction: column; }
.funktion h4 { margin: 0; font-family: var(--anzeige); font-size: 17px; color: var(--tinte); letter-spacing: -.01em; }
.funktion p { margin: 6px 0 12px; font-size: 15px; line-height: 1.55; }
.fn-paragraf { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 700; color: #1F3A57; background: #EEF3F8; border-radius: 7px; padding: 4px 9px; }
@media (max-width: 1000px) { .umfang { grid-template-columns: minmax(0, 1fr); } .umfang-nav { position: static; } .umfang-nav ol { display: flex; flex-wrap: wrap; } }
@media (max-width: 640px) { .funktionen { grid-template-columns: minmax(0, 1fr); } }
/* Hauptakt, Schritt 3: die Ziele landen in der Dokumentation */
.ein-doku { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px #BBF7D0; position: relative; }
.ein-doku::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--rot); }
.ein-doku-kopf { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: #15803D; margin-bottom: 10px; }
.ein-doku-kopf small { color: var(--leise); font-weight: 500; }
.ein-doku-zeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ein-marke { width: 38px; height: 38px; border-radius: 10px; background: #16A34A; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ein-eintrag { font-size: 13px; color: var(--tinte); margin-left: 6px; }
.ein-eintrag b { color: #15803D; font-weight: 700; margin-left: 4px; }
.js .einlesen .ein-doku, .js .einlesen .ein-marke, .js .einlesen .ein-eintrag { opacity: 0; transform: translateY(10px); }
.einlesen.laeuft .ein-doku { animation: ein-karte .5s ease-out 4.3s forwards; }
.einlesen.laeuft .ein-marke { animation: ap-zelle .35s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.einlesen.laeuft .m1 { animation-delay: 4.7s; } .einlesen.laeuft .m2 { animation-delay: 4.9s; } .einlesen.laeuft .m3 { animation-delay: 5.1s; }
.einlesen.laeuft .ein-eintrag { animation: ein-karte .5s ease-out 5.5s forwards; }
@media (prefers-reduced-motion: reduce) { .js .einlesen .ein-doku, .js .einlesen .ein-marke, .js .einlesen .ein-eintrag { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* ── Freundlicher: Rot nur noch für Logo und Faden ───────────────────────── */
:root { --akzent: #1F6FB2; --akzent-tief: #17578D; }
.zweiter { color: var(--akzent); }
.knopf { background: var(--akzent); }
.knopf:hover { background: var(--akzent-tief); }
.knopf.hell { color: var(--akzent); }
.plakette { background: color-mix(in srgb, var(--la, var(--akzent)) 14%, #fff); color: color-mix(in srgb, var(--la, var(--akzent)) 85%, #000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--la, var(--akzent)) 35%, #fff); }
.kopf-tel svg { color: var(--akzent); }
.faden-notiz { margin-top: 36px; }
:focus-visible { outline-color: var(--akzent); }
.vertrag span.plakette { display: inline-grid; font-size: 12px; color: color-mix(in srgb, var(--la, var(--akzent)) 85%, #000); }
/* Hauptakt: alle 16 Bögen */
.ein-laender { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.ein-laender-titel { width: 100%; text-align: center; font-weight: 700; color: var(--tinte); font-size: 15px; margin-bottom: 4px; }
.ein-land { display: inline-flex; gap: 6px; align-items: center; padding: 6px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--text); background: color-mix(in srgb, var(--la) 8%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--la) 25%, #fff); transition: transform .15s, box-shadow .15s; }
.ein-land b { font-family: var(--anzeige); font-size: 11px; color: color-mix(in srgb, var(--la) 85%, #000); }
.ein-land:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--la); }
.ein-land.aktiv { background: var(--la); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--la) 70%, transparent); }
.ein-land.aktiv b { color: #fff; }
.ein-nochmal { bottom: auto; top: calc(100% + 14px); }
.bereiche-zeile { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px !important; color: var(--text); max-width: none !important; margin-top: 4px !important; }
.bereiche-zeile b { color: var(--tinte); margin-left: 8px; }
.bereiche-zeile b:first-child { margin-left: 0; }
.bereiche-zeile span { font-size: 11.5px; font-weight: 700; color: #1F3A57; background: #EEF3F8; border-radius: 6px; padding: 3px 7px; }
.js .faden-notiz .slogan { opacity: 0; transform: rotate(-2deg) translateY(8px); clip-path: inset(0 100% 0 0); transition: opacity .3s, transform .6s, clip-path 1.4s cubic-bezier(.4, 0, .2, 1); }
.js .faden-notiz.faden-da .slogan { opacity: 1; transform: rotate(-2deg); clip-path: inset(0 0 0 0); transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .js .faden-notiz .slogan { opacity: 1; clip-path: none; transform: rotate(-2deg); } }

/* Browserzeile über jeder Aufnahme */
.browser { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: #EEF1F5; border-bottom: 1px solid #DDE3EA; }
.browser-punkte { display: flex; gap: 6px; flex: none; }
.browser-punkte i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-punkte i:nth-child(2) { background: #FEBC2E; } .browser-punkte i:nth-child(3) { background: #28C840; }
.browser-adresse { flex: 1; max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 7px; height: 25px; padding: 0 12px; background: #fff; border-radius: 8px; font-size: 12.5px; color: #4B5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 0 0 0 1px #E2E6EB; }
.browser-adresse svg { width: 12px; height: 12px; color: #16A34A; flex: none; }
.browser-titel { flex: none; font-size: 12px; color: var(--leise); font-weight: 600; }
@media (max-width: 700px) { .browser-titel { display: none; } }

/* Diaschau aus echten Aufnahmen */
.schau { max-width: 1100px; margin: 0 auto; }
.schau-fenster { box-shadow: 0 50px 90px -40px rgba(31, 60, 110, .45), 0 0 0 1px rgba(22, 32, 44, .06); border-radius: 16px; }
.schau-bilder { position: relative; aspect-ratio: 1.6; background: #F6F8FA; }
.schau-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .7s ease, transform 1.2s ease; }
.schau-bilder img.aktiv { opacity: 1; transform: none; }
.schau-schritte { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.schau-schritte button { position: relative; width: 100%; text-align: left; border: 0; background: rgba(255, 255, 255, .7); border-radius: 16px; padding: 16px 18px 18px; cursor: pointer; box-shadow: 0 0 0 1px var(--linie); overflow: hidden; display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; transition: background .2s, box-shadow .2s; }
.schau-schritte button[aria-current='true'] { background: #fff; box-shadow: 0 0 0 1.5px var(--polaris), 0 18px 40px -18px color-mix(in srgb, var(--polaris) 60%, transparent); transform: translateY(-3px); }
.schau-nr { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--f-hell, #ECEBF8); transition: background .3s, color .3s; color: var(--polaris); font-family: var(--anzeige); font-weight: 800; display: grid; place-items: center; }
.schau-schritte b { color: var(--tinte); font-size: 15.5px; }
.schau-schritte small { color: var(--text); font-size: 13.5px; line-height: 1.45; }
.schau-zeit { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--polaris); }
.schau-schritte button[aria-current='true'] .schau-zeit { animation: schau-zeit 6s linear forwards; }
.schau.angehalten .schau-zeit { animation: none !important; width: 0; }
@keyframes schau-zeit { to { width: 100%; } }
@media (max-width: 800px) { .schau-schritte { grid-template-columns: 1fr; } }

/* ── Lebendiger Hintergrund ──────────────────────────────────────────────────
   Weiche, ruhende Farbflächen in den Programmfarben, sonst nichts.
   Abschnitte sind durchscheinend, Karten wie Glas. */
body { background: #FBFCFE; }
body::before, body::after { content: ''; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none; }
body::before {
    background:
        radial-gradient(38vmax 30vmax at 12% 18%, rgba(3, 105, 161, .13), transparent 70%),
        radial-gradient(34vmax 28vmax at 88% 22%, rgba(37, 99, 235, .10), transparent 70%),
        radial-gradient(40vmax 30vmax at 78% 82%, rgba(15, 118, 110, .11), transparent 70%),
        radial-gradient(30vmax 26vmax at 20% 88%, rgba(245, 158, 11, .08), transparent 70%);
}
body::after { display: none; }
@media print { body::before { display: none; } }
@keyframes aurora {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(3vmax, -2vmax, 0) rotate(8deg) scale(1.06); }
    100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(-6deg) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
.abschnitt.grau, .hauptakt, #ausprobieren, #polaris-plant, #laender, #geraete, .umfang-abschnitt { background: transparent; }
.abschnitt.grau { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 20%, rgba(255,255,255,.55) 80%, rgba(255,255,255,0) 100%); }
.kopf { background: rgba(251, 252, 254, .72); }
.karte, .bereich, .funktion, .probe-feld, .ein-sirius, .rechner, .stapel-blatt.vorn, .schau-schritte button, .land-tafel { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.funktion, .bereich, .schau-schritte button { background: rgba(255, 255, 255, .78); }
.programm-kapitel + .programm-kapitel { border-top-color: rgba(22, 32, 44, .06); }
.schluss { background: rgba(251, 247, 242, .85); backdrop-filter: blur(12px); }
/* Schieber: das Programmfenster ganz zeigen, mit Adresszeile */
.vergleich.mit-fenster .vg-programm { padding: 7% 5% 7% 5%; place-items: center; }
.vergleich.mit-fenster .vg-programm .fenster { width: 100%; }
.stapel .plakette, .plakette.la { background: color-mix(in srgb, var(--la, var(--akzent)) 14%, #fff); color: color-mix(in srgb, var(--la, var(--akzent)) 85%, #000); }

/* ── CLIENTRA: Einsatz als Geschichte ────────────────────────────────────── */
.cl-szene { position: relative; padding: 0 0 8% 0; }
.cl-foto { width: 82%; margin-left: auto; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 30px; }
.cl-telefon { position: absolute; left: 2%; bottom: 0; width: 34%; animation: schweben 6s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-10px); } }
.cl-meldungen { position: absolute; right: -2%; top: 10%; display: grid; gap: 10px; width: 54%; }
.cl-meldung { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(22,32,44,.45); font-size: 13px; color: var(--text); }
.cl-meldung b { display: block; color: var(--tinte); font-size: 14px; }
.cl-meldung i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; }
.cl-meldung i.gelb { background: #F59E0B; } .cl-meldung i.gruen { background: #16A34A; } .cl-meldung i.blau { background: var(--akzent); }
.js .cl-meldung { opacity: 0; transform: translateX(24px) scale(.95); }
.cl-szene.laeuft .cl-meldung { animation: ein-karte .55s cubic-bezier(.2,.9,.3,1.2) forwards; }
.cl-szene.laeuft .m1 { animation-delay: .5s; } .cl-szene.laeuft .m2 { animation-delay: 1.8s; } .cl-szene.laeuft .m3 { animation-delay: 3.1s; }

/* ── POLARIS: Fenster im Raum ────────────────────────────────────────────── */
.kippen { perspective: 1400px; padding: 4% 2%; }
.kippen-flaeche { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ky, -9deg)) rotateX(var(--kx, 5deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.kippen-flaeche .fenster { box-shadow: 0 60px 90px -40px rgba(31,60,110,.5); }
.kippen-chip { position: absolute; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 24px 40px -20px rgba(22,32,44,.5); font-size: 12.5px; color: var(--text); transform: translateZ(70px); }
.kippen-chip b { display: block; color: var(--tinte); font-size: 14px; }
.kippen-chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: #E7EFFE; color: var(--polaris); }
.kippen-chip.c1 { left: -6%; bottom: 12%; } .kippen-chip.c1 i { background: #16A34A; color: #fff; border-radius: 50%; }
.kippen-chip.c2 { right: -5%; top: 10%; transform: translateZ(110px); }
@media (prefers-reduced-motion: reduce) { .kippen-flaeche { transition: none; } }

/* ── ANTARES: Fächer ─────────────────────────────────────────────────────── */
.faecher { position: relative; aspect-ratio: 1.25; }
.faecher-blatt { position: absolute; left: 6%; top: 6%; width: 86%; transition: transform 1s cubic-bezier(.2,.8,.2,1); transform-origin: 20% 100%; }
.faecher-blatt.vorn { z-index: 3; }
.faecher-blatt.hinten1 { z-index: 2; } .faecher-blatt.hinten2 { z-index: 1; width: 70%; left: 24%; }
.faecher-blatt .nachweis { font-size: 11px; }
.faecher.laeuft .hinten1 { transform: rotate(-7deg) translate(-6%, -4%); }
.faecher.laeuft .hinten2 { transform: rotate(6deg) translate(10%, -10%); }
.faecher.laeuft .vorn { transform: translateY(8%); }
.faecher-betrag { position: absolute; z-index: 4; right: -2%; bottom: -2%; padding: 14px 20px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -20px rgba(185,28,28,.45); }
.faecher-betrag small { display: block; font-size: 12px; color: #15803D; font-weight: 700; }
.faecher-betrag b { font-family: var(--anzeige); font-size: clamp(26px, 2.6vw, 36px); color: var(--tinte); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (max-width: 640px) { .cl-meldungen { position: static; width: 100%; margin-top: 16px; } .kippen-chip { display: none; } }
.schau-schritte li { display: flex; } .schau-schritte button { height: 100%; align-content: start; }
.kippen-chip.c2 { right: 3%; top: 6%; }
.faecher-blatt { left: 12%; width: 80%; }
.faecher-blatt.hinten2 { left: 26%; width: 66%; }
.faecher.laeuft .hinten1 { transform: rotate(-5deg) translate(-3%, -4%); }
#programme { overflow-x: clip; }
/* SEO: die H1 nennt das Suchwort, der große Satz bleibt der Blickfang */
h1.fuer { font: 600 15px/1.4 var(--schrift); letter-spacing: 0; color: var(--tinte); }
.buehne-titel { font-family: var(--anzeige); color: var(--tinte); font-weight: 800; font-size: clamp(36px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
h1.fuer { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.ratgeber-programm { margin: 48px 0; padding: 24px 26px; border-radius: 20px; background: var(--f-hell); }
.ratgeber-programm .marke { font-size: 24px; display: block; }
.ratgeber-programm p { margin: 8px 0 12px; font-size: 16px; }
.ratgeber-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ratgeber-liste a { display: block; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px var(--linie); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ratgeber-liste a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--f, var(--akzent)), 0 20px 40px -24px rgba(22,32,44,.35); }
.ratgeber-liste h2 { font-size: 22px; letter-spacing: -.02em; }
.ratgeber-liste p { margin: 8px 0 14px; font-size: 15.5px; color: var(--text); }
@media (max-width: 800px) { .ratgeber-liste { grid-template-columns: minmax(0, 1fr); } }
.schau-schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1000px) { .schau-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .schau-schritte { grid-template-columns: minmax(0, 1fr); } }
/* Adresszeile unscharf: zeigt „Web-Software, verschlüsselt“, verrät keine Adresse */
.adresse-text { filter: blur(3.2px); opacity: .75; user-select: none; }
.browser-adresse em { font-style: normal; font-size: 11px; font-weight: 700; color: #15803D; margin-left: auto; flex: none; }

/* ── Sicherheit und Datenschutz ──────────────────────────────────────────── */
#sicherheit { background: linear-gradient(180deg, rgba(14, 42, 71, .96), rgba(16, 52, 84, .96)); color: #C9D7E6; }
#sicherheit h2, #sicherheit h3 { color: #fff; }
#sicherheit .hauptakt-kopf p { color: #B7C8DA; }
#sicherheit .zweiter { color: #7CC4FF; }
.sicher { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sicher-schild { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.sicher-schild svg { width: 62%; position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.sicher-schild .s1 { fill: rgba(124, 196, 255, .12); stroke: #7CC4FF; stroke-width: 3; }
.sicher-schild .s2 { fill: none; stroke: #4ADE80; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: haken-zeichnen 1.2s ease-out .6s forwards; }
@keyframes haken-zeichnen { to { stroke-dashoffset: 0; } }
.sicher-ringe i { position: absolute; inset: 18%; border-radius: 50%; border: 1px solid rgba(124, 196, 255, .35); animation: ring 4s ease-out infinite; }
.sicher-ringe i:nth-child(2) { animation-delay: 1.3s; } .sicher-ringe i:nth-child(3) { animation-delay: 2.6s; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.sicher-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sicher-punkt { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; }
.sicher-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(124, 196, 255, .14); color: #7CC4FF; display: grid; place-items: center; margin-bottom: 12px; }
.sicher-ico svg { width: 22px; height: 22px; }
.sicher-punkt h3 { font-size: 17px; letter-spacing: -.01em; }
.sicher-punkt p { margin: 6px 0 12px; font-size: 14.5px; line-height: 1.55; color: #C9D7E6; }
.sicher-punkt .fn-paragraf { margin-top: auto; background: rgba(124, 196, 255, .14); color: #CFE6FF; }
#sicherheit .verweis { color: #7CC4FF; }
.sicher-weiter { text-align: center; margin-top: 30px; }
@media (max-width: 1000px) { .sicher { grid-template-columns: minmax(0, 1fr); } .sicher-schild { max-width: 220px; margin: 0 auto; } .sicher-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sicher-raster { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sicher-schild .s2 { stroke-dashoffset: 0; animation: none; } .sicher-ringe i { animation: none; opacity: 0; } }
.kopf-tel { white-space: nowrap; } .menue { gap: 0; } .menue > a, .menue > div > button { padding: 0 12px; }

/* ── Neuigkeiten ─────────────────────────────────────────────────────────── */
.neuigkeiten-liste { display: grid; gap: 14px; max-width: 900px; }
.neuigkeit { display: block; padding: 24px 26px; border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px var(--linie); text-decoration: none; border-left: 4px solid var(--f, var(--akzent)); transition: transform .15s, box-shadow .15s; }
.neuigkeit:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--linie), 0 18px 40px -24px rgba(22,32,44,.35); }
.neuigkeit h2 { font-size: 22px; margin-top: 8px; }
.neuigkeit p { margin: 6px 0 0; color: var(--text); }
.ng-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--leise); }
.ng-meta .marke { font-size: 14px; }
.ng-art { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #E0EDFB; color: var(--akzent); }
.ng-neu, .ng-version { } .ng-verbessert { background: #DCFCE7; color: #15803D; } .ng-behoben { background: #FEF3C7; color: #92400E; } .ng-sicherheit { background: #E0E7FF; color: #3730A3; }
.ng-version { font-size: 12px; font-weight: 700; color: var(--tinte); }
.neu-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .neu-teaser { grid-template-columns: minmax(0, 1fr); } }

/* ── Selbsterklärend ─────────────────────────────────────────────────────── */
.einfach { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.einfach-punkte { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.einfach-punkt { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.einfach-ico { width: 42px; height: 42px; border-radius: 12px; background: #E8F3EC; color: #15803D; display: grid; place-items: center; }
.einfach-ico svg { width: 22px; height: 22px; }
.einfach-punkt h3 { font-size: 17px; }
.einfach-punkt p { margin: 4px 0 0; font-size: 15px; }
.hilfe-attrappe { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 40px 70px -40px rgba(22,32,44,.45), 0 0 0 1px rgba(22,32,44,.05); max-width: 400px; margin: 0 auto; rotate: -1.5deg; }
.ha-kopf { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--linie); margin-bottom: 10px; }
.ha-kopf b { font-family: var(--anzeige); font-size: 17px; color: var(--tinte); }
.ha-kopf span { font-size: 12px; color: var(--leise); }
.ha-eintrag { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 9px 0; }
.ha-eintrag i { width: 26px; height: 26px; border-radius: 8px; }
.ha-eintrag i.gruen { background: #16A34A; } .ha-eintrag i.rot { background: #fff; box-shadow: inset 0 0 0 2.5px #DC2626; } .ha-eintrag i.blau { background: #EDE9FE; box-shadow: inset 0 0 0 2px #7C3AED; } .ha-eintrag i.gelb { background: #FEF3C7; box-shadow: inset 0 0 0 2px #D97706; }
.ha-eintrag b { display: block; font-size: 14px; color: var(--tinte); }
.ha-eintrag small { font-size: 12.5px; color: var(--leise); }
.ha-frage { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #F2F8FC; color: var(--akzent); font-weight: 600; font-size: 13.5px; display: flex; justify-content: space-between; }
#einfach { background: linear-gradient(180deg, #fff 0%, #F1F8F4 100%); }
@media (max-width: 1000px) { .einfach { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .einfach-punkte { grid-template-columns: minmax(0, 1fr); } }

/* ── Lexikon ─────────────────────────────────────────────────────────────── */
.abc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.abc a { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px var(--linie); font-family: var(--anzeige); font-weight: 800; color: var(--tinte); text-decoration: none; }
.abc a:hover { box-shadow: 0 0 0 1.5px var(--akzent); color: var(--akzent); }
.lex-gruppe + .lex-gruppe { margin-top: 48px; }
.lex-gruppe > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.lex-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lex-liste a { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px var(--linie); text-decoration: none; transition: box-shadow .15s; }
.lex-liste a:hover { box-shadow: 0 0 0 1.5px var(--akzent), 0 16px 32px -22px rgba(22,32,44,.35); }
.lex-liste h3 { font-size: 18px; color: var(--tinte); letter-spacing: -.01em; margin: 0; }
.lex-liste p { margin: 0; font-size: 15px; color: var(--text); line-height: 1.5; }
.lex-liste small { margin-top: auto; font-size: 13px; font-weight: 600; color: #1F3A57; }
.lex-abc { columns: 4 220px; column-gap: 32px; margin-top: 18px; }
.lex-abc div { break-inside: avoid; margin-bottom: 18px; scroll-margin-top: calc(var(--kopf) + 20px); }
.lex-abc b { font-family: var(--anzeige); font-size: 22px; color: var(--tinte); }
.lex-abc ul { list-style: none; margin: 4px 0 0; padding: 0; }
.lex-abc li { padding: 3px 0; font-size: 15px; }
.lex-auch { margin: 10px 0 0; color: var(--leise, #6B7785); font-size: 15px; }
.lex-kurz { padding: 22px 24px 8px; border-radius: 18px; background: #EEF3F8; margin-bottom: 28px; }
.lex-kurz strong { display: block; font-family: var(--anzeige); color: var(--tinte); margin-bottom: 6px; }
.lex-kurz p { font-size: 18px; line-height: 1.55; color: var(--tinte); }
.lex-kurz .fundstelle { background: #fff; }
.lex-tabelle { overflow-x: auto; margin: 10px 0 28px; }
.lex-tabelle table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lex-tabelle th { text-align: left; font-size: 13px; color: var(--leise, #6B7785); padding: 8px 10px; border-bottom: 1px solid var(--linie); }
.lex-tabelle td { padding: 9px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.lex-verwandt { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.lex-verwandt a { display: inline-block; padding: 7px 14px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--linie); text-decoration: none; font-size: 15px; }
.lex-ratgeber { font-weight: 600; }
.inhalt-nav a[aria-current='page'] { color: var(--akzent); border-left-color: var(--akzent); font-weight: 600; }
@media (max-width: 1000px) { .lex-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lex-liste { grid-template-columns: minmax(0, 1fr); } }

/* ── Preisseite ──────────────────────────────────────────────────────────── */
.preis-beispiele { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.preis-beispiele > div { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px var(--linie); }
.preis-beispiele h3 { font-size: 17px; margin: 0 0 12px; color: var(--tinte); }
.preis-beispiele b { display: block; font-family: var(--anzeige); font-size: 34px; color: var(--tinte); letter-spacing: -.02em; }
.preis-beispiele span { font-size: 14px; color: var(--text); }
.lesen-schmal { max-width: 52rem; }
@media (max-width: 800px) { .preis-beispiele { grid-template-columns: minmax(0, 1fr); } }
/* Programmseite: Suchbegriff als erste Zeile der Überschrift */
/* Dieselbe Klasse wie die Rollenkarten (.rolle weiter unten): deren Kartenstil hier ausdrücklich abschalten. */
.auftritt h1 .rolle { display: block; position: static; grid-row: auto; padding: 0; background: none; border-radius: 0; box-shadow: none; overflow: visible; font-family: var(--schrift); font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: .005em; margin: 6px 0 12px; }
.auftritt h1 .rolle::before { content: none; }
.rolle-zusatz { font-size: 14px; color: var(--leise); margin: -4px 0 14px; }

/* ── Länderseite: was in diesem Land gilt ────────────────────────────────── */
.land-fakten { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 28px 0 30px; }
.land-fakten > div { padding: 18px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px var(--linie), inset 0 3px 0 color-mix(in srgb, var(--la, var(--akzent)) 55%, #fff); }
.land-fakten dt { font-size: 13px; color: var(--leise); margin-bottom: 6px; }
.land-fakten dd { margin: 0; font-weight: 700; color: var(--tinte); line-height: 1.35; }
.land-fakten dd a { color: inherit; text-decoration: none; }
.land-fakten dd a:hover { color: var(--akzent); }
.land-fakten small { display: block; font-weight: 600; font-size: 12.5px; color: #1F3A57; margin-top: 8px; }
.land-text { max-width: 50rem; }
.land-nachbarn { font-size: 14px; line-height: 1.7; color: var(--leise); margin: 0; }
.land-nachbarn a { color: var(--text); }
@media (max-width: 1000px) { .land-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .land-fakten { grid-template-columns: minmax(0, 1fr); } }

/* Spruch mit Mauszeiger: „… wird ein Klick.“ */
.spruch-zeile .klick { display: inline-block; width: 1.15em; height: 1.15em; margin-left: .15em; vertical-align: -.2em; }
.spruch-zeile .klick-wort { white-space: nowrap; }

/* casalix.COSMOS — wie auf dem Flyer: das O ist das Sonnensystem */
.cosmos { display: inline-block; font-family: var(--anzeige); line-height: 1; white-space: nowrap; }
.cosmos i { font-style: normal; font-weight: 700; color: #9AA4AF; }
.cosmos b { font-weight: 800; letter-spacing: .05em; color: var(--tinte); }
.cosmos .o-zeichen { display: inline-block; width: 1.32em; height: 1.32em; vertical-align: -.33em; margin: 0 .03em; color: var(--tinte); }
.buehne-cosmos { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 18px; }
.ohne-umbruch { white-space: nowrap; }
@media (max-width: 420px) { .ohne-umbruch { white-space: normal; } }

/* POLARIS plant selbst: in jedem Schritt ein kleines Schauspiel */
.schau-schritte button { transition: background .2s, box-shadow .3s, transform .3s; }
.schau-schritte button[aria-current='true'] .schau-nr { background: var(--polaris); color: #fff; }
.magie { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 30px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--linie); }
.mp { font-style: normal; font-size: 11px; font-weight: 600; color: var(--leise); background: #F3F4F8; border-radius: 99px; padding: 3px 8px 3px 7px; display: inline-flex; align-items: center; gap: 4px; transition: background .3s, color .3s; }
.mp::before { content: ''; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C9CFDA; transition: background .3s, box-shadow .3s; }
[aria-current='true'] .mp { animation: mp-haken .35s ease-out forwards; }
[aria-current='true'] .mp::before { animation: mp-punkt .35s ease-out forwards; }
[aria-current='true'] .mp1, [aria-current='true'] .mp1::before { animation-delay: .7s; }
[aria-current='true'] .mp2, [aria-current='true'] .mp2::before { animation-delay: 1.4s; }
[aria-current='true'] .mp3, [aria-current='true'] .mp3::before { animation-delay: 2.1s; }
[aria-current='true'] .mp4, [aria-current='true'] .mp4::before { animation-delay: 2.8s; }
[aria-current='true'] .mp0, [aria-current='true'] .mp0::before { animation-delay: .1s; }
@keyframes mp-haken { to { background: #E8F5EC; color: #15803D; } }
@keyframes mp-punkt { to { background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.6 5.2l1.6 1.6 3.2-3.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: none; } }
.mz { display: inline-flex; align-items: baseline; gap: 5px; margin-right: 14px; }
.mz strong { font-family: var(--anzeige); font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--polaris); font-variant-numeric: tabular-nums; line-height: 1; }
.mz span { font-size: 12px; font-weight: 600; color: var(--leise); }
.mz.ok strong { color: #16A34A; }
.md { font-style: normal; width: 22px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; opacity: .25; transform: scale(.7); }
.md-f { background: #FEF3C7; color: #92400E; } .md-s { background: #CFFAFE; color: #0E7490; } .md-n { background: #E5E7EB; color: #374151; }
[aria-current='true'] .md { animation: md-ein .3s cubic-bezier(.3, 1.6, .5, 1) forwards; }
[aria-current='true'] .d0 { animation-delay: 0.15s; }
[aria-current='true'] .d1 { animation-delay: 0.33s; }
[aria-current='true'] .d2 { animation-delay: 0.51s; }
[aria-current='true'] .d3 { animation-delay: 0.69s; }
[aria-current='true'] .d4 { animation-delay: 0.87s; }
[aria-current='true'] .d5 { animation-delay: 1.05s; }
[aria-current='true'] .d6 { animation-delay: 1.23s; }
[aria-current='true'] .d7 { animation-delay: 1.41s; }
[aria-current='true'] .d8 { animation-delay: 1.59s; }
[aria-current='true'] .d9 { animation-delay: 1.77s; }
[aria-current='true'] .d10 { animation-delay: 1.95s; }
[aria-current='true'] .d11 { animation-delay: 2.13s; }
[aria-current='true'] .d12 { animation-delay: 2.31s; }
[aria-current='true'] .d13 { animation-delay: 2.49s; }
@keyframes md-ein { to { opacity: 1; transform: none; } }
.ms { width: 34px; height: 20px; border-radius: 99px; background: #D5D9E2; position: relative; flex: none; }
.ms i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.mu { position: relative; display: inline-grid; margin-left: 8px; }
.mu b { grid-area: 1 / 1; font-size: 13px; font-weight: 800; color: #92400E; background: #FEF3C7; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.mu b + b { opacity: 0; transform: translateY(6px); }
[aria-current='true'] .ms { animation: ms-an .3s ease forwards .8s; }
[aria-current='true'] .ms i { animation: ms-knopf .3s ease forwards .8s; }
[aria-current='true'] .mu b:first-child { animation: mu-weg .3s ease forwards 1s; }
[aria-current='true'] .mu b + b { animation: mu-her .4s ease forwards 1.1s; }
@keyframes ms-an { to { background: var(--polaris); } }
@keyframes ms-knopf { to { transform: translateX(14px); } }
@keyframes mu-weg { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mu-her { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .magie *, .magie *::before { animation: none !important; }
    .md { opacity: 1; transform: none; } .mu b:first-child { opacity: 0; } .mu b + b { opacity: 1; transform: none; }
}
.schau-schritte button { grid-template-rows: auto 1fr auto; align-content: stretch; }
.schau-schritte small { align-self: start; }
.magie { align-self: end; }

/* ── Programmseiten: lebendiger, leicht verspielt ─────────────────────────── */
.seitenkopf-programm { position: relative; overflow-x: clip; isolation: isolate; }
/* Ein Hauch Sternenhimmel in der Programmfarbe */
.seitenkopf-programm::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(520px 340px at 12% 8%, color-mix(in srgb, var(--f) 13%, transparent), transparent 70%),
        radial-gradient(420px 300px at 88% 70%, color-mix(in srgb, var(--f) 9%, transparent), transparent 70%),
        radial-gradient(circle at 22% 70%, color-mix(in srgb, var(--f) 55%, transparent) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 46% 14%, color-mix(in srgb, var(--f) 45%, transparent) 0 1.2px, transparent 2px),
        radial-gradient(circle at 60% 88%, color-mix(in srgb, var(--f) 40%, transparent) 0 1.8px, transparent 2.8px),
        radial-gradient(circle at 93% 18%, color-mix(in srgb, var(--f) 50%, transparent) 0 1.4px, transparent 2.4px),
        radial-gradient(circle at 6% 40%, color-mix(in srgb, var(--f) 40%, transparent) 0 1.2px, transparent 2px); }
.kopf-marke { display: inline-flex !important; align-items: center; gap: 12px; }
.kopf-zeichen { width: 1.35em; height: 1.35em; flex: none; animation: zeichen-schweben 6s ease-in-out infinite; filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--f) 35%, transparent)); }
@keyframes zeichen-schweben { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-6deg); } }

/* Das Wichtigste: vier Karten statt einer Liste */
.punkte-karten { gap: 14px !important; }
.punkte-karten li { position: relative; background: #fff; border: 1.5px solid var(--linie); border-radius: 18px; padding: 17px 19px 17px 17px; box-shadow: 0 12px 28px -22px color-mix(in srgb, var(--f) 70%, transparent); grid-template-columns: 34px 1fr; gap: 14px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.punkte-karten li::before { width: 34px; height: 34px; margin: 0; background: var(--f-hell); -webkit-mask: none; mask: none; border-radius: 11px; }
.punkte-karten li::after { content: ''; position: absolute; left: 25px; top: 25px; width: 20px; height: 20px; background: var(--f); -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
.punkte-karten li:nth-child(odd) { transform: rotate(-.4deg); } .punkte-karten li:nth-child(even) { transform: rotate(.4deg); }
/* Der farbige Rand ist ein echter Rand, kein Schatten: so bleibt er bei jeder Karte stehen, auch wenn sie sich beim Darüberfahren gerade stellt. */
.punkte-karten li:hover { transform: translateY(-3px) rotate(0); border-color: var(--f); box-shadow: 0 18px 34px -20px color-mix(in srgb, var(--f) 70%, transparent); }

/* Module ohne Bild: Karten mit Symbol */
.textmodule { gap: 16px; border-top: 0; }
.textmodule > div { position: relative; background: #fff; border-radius: 20px; padding: 24px 24px 26px; box-shadow: 0 0 0 1px var(--linie); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.textmodule > div::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--f-hell); transition: transform .4s; z-index: 0; }
.textmodule > div > * { position: relative; z-index: 1; }
.textmodule > div:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--f), 0 22px 40px -26px color-mix(in srgb, var(--f) 70%, transparent); }
.textmodule > div:hover::after { transform: scale(1.35); }
.fn-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--f); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 20px -10px var(--f); transition: transform .3s; }
.fn-symbol svg { width: 24px; height: 24px; }
.textmodule > div:hover .fn-symbol { transform: rotate(-8deg) scale(1.06); }

/* Alles, was … kann: Themen farbig, Funktionen mit Akzent */
.umfang-nav a.aktiv { background: var(--f); color: #fff; box-shadow: 0 10px 22px -12px var(--f); }
.umfang-nav a.aktiv small { background: rgba(255, 255, 255, .25); color: #fff; }
.thema h3 { display: flex; align-items: center; gap: 12px; }
.thema-zahl { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; background: var(--f-hell); color: var(--f); font-size: 17px; letter-spacing: 0; }
.funktion { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.funktion::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--f); opacity: .55; transition: opacity .2s, top .2s, bottom .2s; }
.funktion:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--f) 45%, var(--linie)), 0 14px 28px -20px color-mix(in srgb, var(--f) 70%, transparent); }
.funktion:hover::before { opacity: 1; top: 0; bottom: 0; }
.fn-paragraf { background: var(--f-hell) !important; color: var(--f) !important; }

/* Im Verbund: mit Zeichen */
.verbund a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; }
.verbund a img { grid-row: span 2; transition: transform .3s; }
.verbund a:hover img { transform: rotate(-10deg) scale(1.08); }

/* Gebaut entlang des Gesetzes: Fundstellen als Plaketten */
.gesetz strong { justify-self: start; align-self: start; background: var(--f-hell); color: var(--f); border-radius: 10px; padding: 4px 10px; font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { .kopf-zeichen { animation: none; } .punkte-karten li { transform: none; } }
.thema-zeichen { width: 30px; height: 30px; flex: none; }
.kopf-marke > b { margin-left: -12px; }

/* ── Programmseiten: kleine Spielereien ─────────────────────────────────── */
.zeichen-knopf { position: relative; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.zeichen-knopf:hover .kopf-zeichen { animation-play-state: paused; transform: scale(1.12) rotate(-12deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.zeichen-knopf.dreht .kopf-zeichen { animation: zeichen-dreh .8s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes zeichen-dreh { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(200deg); } 100% { transform: scale(1) rotate(360deg); } }
.funke { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; pointer-events: none; background: var(--f);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: funke .85s cubic-bezier(.2, .7, .3, 1) forwards; }
.funke:nth-child(3n) { background: #F2B632; }
@keyframes funke { 0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(180deg); opacity: 0; } }
.seitenkopf-programm::before { transform: translate(var(--mx, 0), var(--my, 0)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }

/* Das aktive Thema trägt das Programmzeichen */
.umfang-nav a { position: relative; }
.umfang-nav a.aktiv::before { content: ''; position: absolute; left: -30px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: center / contain no-repeat; animation: nav-zeichen .45s cubic-bezier(.3, 1.6, .5, 1); }
.p-sirius .umfang-nav a.aktiv::before { background-image: url(/assets/img/zeichen/sirius.svg); }
.p-clientra .umfang-nav a.aktiv::before { background-image: url(/assets/img/zeichen/clientra.svg); }
.p-polaris .umfang-nav a.aktiv::before { background-image: url(/assets/img/zeichen/polaris.svg); }
.p-antares .umfang-nav a.aktiv::before { background-image: url(/assets/img/zeichen/antares.svg); }
@keyframes nav-zeichen { from { transform: translateX(-10px) scale(.3) rotate(-90deg); opacity: 0; } }
@media (max-width: 1000px) { .umfang-nav a.aktiv::before { display: none; } }
.hochzaehlen { color: var(--f); font-variant-numeric: tabular-nums; }

/* Karten erscheinen nacheinander, die Haken springen hinein */
.js .punkte-karten.zeigen li, .js .textmodule.zeigen > div { opacity: 0; translate: 0 18px; }
.js .punkte-karten.zeigen.da li, .js .textmodule.zeigen.da > div { animation: karte-hinein .55s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.js .punkte-karten.zeigen li::after { scale: 0; }
.js .punkte-karten.zeigen.da li::after { animation: haken-hinein .45s cubic-bezier(.3, 1.8, .5, 1) forwards; }
.js .textmodule.zeigen .fn-symbol { scale: .4; rotate: -40deg; }
.js .textmodule.zeigen.da .fn-symbol { animation: symbol-hinein .6s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.js .zeigen.da > :nth-child(1), .js .zeigen.da > :nth-child(1)::after, .js .zeigen.da > :nth-child(1) .fn-symbol { animation-delay: 0.00s; }
.js .zeigen.da > :nth-child(2), .js .zeigen.da > :nth-child(2)::after, .js .zeigen.da > :nth-child(2) .fn-symbol { animation-delay: 0.12s; }
.js .zeigen.da > :nth-child(3), .js .zeigen.da > :nth-child(3)::after, .js .zeigen.da > :nth-child(3) .fn-symbol { animation-delay: 0.24s; }
.js .zeigen.da > :nth-child(4), .js .zeigen.da > :nth-child(4)::after, .js .zeigen.da > :nth-child(4) .fn-symbol { animation-delay: 0.36s; }
.js .zeigen.da > :nth-child(5), .js .zeigen.da > :nth-child(5)::after, .js .zeigen.da > :nth-child(5) .fn-symbol { animation-delay: 0.48s; }
.js .zeigen.da > :nth-child(6), .js .zeigen.da > :nth-child(6)::after, .js .zeigen.da > :nth-child(6) .fn-symbol { animation-delay: 0.60s; }
.js .zeigen.da > :nth-child(7), .js .zeigen.da > :nth-child(7)::after, .js .zeigen.da > :nth-child(7) .fn-symbol { animation-delay: 0.72s; }
.js .zeigen.da > :nth-child(8), .js .zeigen.da > :nth-child(8)::after, .js .zeigen.da > :nth-child(8) .fn-symbol { animation-delay: 0.84s; }
@keyframes karte-hinein { to { opacity: 1; translate: 0 0; } }
@keyframes haken-hinein { to { scale: 1; } }
@keyframes symbol-hinein { to { scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) {
    .js .punkte-karten.zeigen li, .js .textmodule.zeigen > div { opacity: 1; translate: none; animation: none !important; }
    .js .punkte-karten.zeigen li::after, .js .textmodule.zeigen .fn-symbol { scale: 1; rotate: 0deg; animation: none !important; }
}

/* Die neun Lebensbereiche (Farben aus dem SIRIUS-Symbolsystem) */
.lb-d1 { --lb: #6861B6; --lb-hell: #EFF0FF; }
.lb-d2 { --lb: #1174B4; --lb-hell: #E2F5FF; }
.lb-d3 { --lb: #0C7D87; --lb-hell: #DCF8FB; }
.lb-d4 { --lb: #0F825E; --lb-hell: #E0F9ED; }
.lb-d5 { --lb: #5D7B0F; --lb-hell: #EDF6E0; }
.lb-d6 { --lb: #8C6802; --lb-hell: #FBF1DC; }
.lb-d7 { --lb: #AA5224; --lb-hell: #FFECE2; }
.lb-d8 { --lb: #AA4964; --lb-hell: #FFEAEF; }
.lb-d9 { --lb: #945198; --lb-hell: #FDEBFD; }
.lb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.lb-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lb-kachel { position: relative; border: 0; cursor: pointer; text-align: left; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 0 0 1px var(--linie); display: grid; gap: 8px; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s, background .2s; font: inherit; }
.lb-kachel b { font-family: var(--anzeige); font-size: 15px; color: var(--tinte); letter-spacing: -.01em; }
.lb-kachel small { position: absolute; right: 10px; top: 10px; font-size: 10.5px; font-weight: 700; color: var(--lb); background: var(--lb-hell); border-radius: 6px; padding: 1px 6px; }
.lb-kachel:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--lb), 0 14px 26px -18px var(--lb); }
.lb-kachel[aria-selected='true'] { background: var(--lb-hell); box-shadow: 0 0 0 2px var(--lb), 0 16px 30px -18px var(--lb); }
.lb-kachel[aria-selected='true'] .lb-symbol { animation: lb-huepf .5s cubic-bezier(.3, 1.8, .5, 1); }
.lb-symbol { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--lb); background: var(--lb-hell); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lb) 18%, transparent); }
.lb-kachel[aria-selected='true'] .lb-symbol { background: #fff; }
.lb-symbol svg { width: 26px; height: 26px; }
.lb-symbol.gross { width: 54px; height: 54px; border-radius: 16px; flex: none; } .lb-symbol.gross svg { width: 32px; height: 32px; }
@keyframes lb-huepf { 40% { transform: scale(1.18) rotate(-8deg); } }
.lb-eintrag { background: #fff; border-radius: 24px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -40px rgba(22, 32, 44, .35); }
.lb-feld header { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--linie); }
.lb-feld header b { display: block; font-family: var(--anzeige); font-size: 19px; color: var(--tinte); letter-spacing: -.01em; }
.lb-feld header small { display: block; font-size: 14px; color: var(--leise); margin-top: 2px; }
.lb-feld.neu { animation: lb-feld .4s ease-out; }
@keyframes lb-feld { from { opacity: 0; transform: translateY(8px); } }
.lb-frage { margin: 18px 0 10px; font-size: 13px; font-weight: 700; color: var(--leise); }
.lb-pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-pille { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--tinte); background: #F4F6F9; border-radius: 99px; padding: 7px 13px; transition: background .2s, color .2s, transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.lb-pille:hover { background: var(--lb-hell); }
.lb-pille[aria-pressed='true'] { background: var(--lb); color: #fff; transform: scale(1.04); }
.lb-pille[aria-pressed='true']::before { content: '✓ '; font-weight: 800; }
.lb-mehr { align-self: center; font-size: 13px; color: var(--leise); padding: 0 4px; }
.lb-wie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: #F4F6F9; border-radius: 14px; padding: 5px; }
.lb-wie button { border: 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); background: none; border-radius: 10px; padding: 9px 6px; transition: background .2s, color .2s, box-shadow .2s; }
.lb-wie button[aria-checked='true'] { background: #fff; color: var(--tinte); box-shadow: 0 2px 8px rgba(22, 32, 44, .12); }
.lb-ergebnis { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #F7F8FA; border: 1.5px dashed var(--linie); transition: background .3s, border-color .3s; }
.lb-ergebnis b { display: block; color: var(--leise); font-size: 15px; }
.lb-ergebnis small { display: block; color: var(--leise); font-size: 13px; margin-top: 2px; }
.lb-haken { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px #CBD2DC; transition: background .3s, box-shadow .3s; }
.lb-ergebnis.fertig { background: #EEF8F1; border-color: #9AD4AE; border-style: solid; }
.lb-ergebnis.fertig b { color: var(--tinte); }
.lb-ergebnis.fertig small { color: #15803D; font-weight: 600; }
.lb-ergebnis.fertig .lb-haken { background: #16A34A var(--haken-weiss, none) center / 16px no-repeat; box-shadow: none; }
.lb-ergebnis.fertig .lb-haken::after { content: '✓'; display: grid; place-items: center; height: 100%; color: #fff; font-weight: 800; }
.lb-ergebnis.puls { animation: lb-puls .5s ease-out; }
@keyframes lb-puls { 40% { transform: scale(1.02); } }
@media (max-width: 900px) { .lb { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .lb-kachel { padding: 10px; } .lb-kachel b { font-size: 13px; } .lb-wie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .lb-kachel, .lb-pille { transition: none; } .lb-feld.neu, .lb-ergebnis.puls, .lb-kachel[aria-selected='true'] .lb-symbol { animation: none; } }

/* Piktogramm je Thema */
.thema-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; color: #fff; background: var(--f); box-shadow: 0 10px 20px -10px var(--f); }
.thema-symbol svg { width: 24px; height: 24px; }
.thema.neu-im-blick .thema-symbol, .thema h3:hover .thema-symbol { animation: lb-huepf .5s cubic-bezier(.3, 1.8, .5, 1); }
.umfang-nav a { justify-content: flex-start; }
.umfang-nav .nav-text { flex: 1; }
.nav-symbol { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none; color: var(--f); background: var(--f-hell); transition: background .2s, color .2s; }
.nav-symbol svg { width: 16px; height: 16px; }
.umfang-nav a.aktiv .nav-symbol { background: rgba(255, 255, 255, .22); color: #fff; }
.umfang-nav a.aktiv::before { display: none; }

/* SIRIUS: Vitalwerte mit Kurve */
.vitalwerte { background: #fff; border-radius: 22px; padding: clamp(16px, 2vw, 24px); box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -40px rgba(22, 32, 44, .4); }
.vitalwerte header { display: flex; align-items: center; gap: 12px; }
.vitalwerte header b { display: block; font-family: var(--anzeige); font-size: 16px; color: var(--tinte); }
.vitalwerte header small { display: block; font-size: 12.5px; color: var(--leise); }
.vw-person { border-radius: 50%; background: var(--f-hell); }
.vw-plan { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--f); background: var(--f-hell); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.vw-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.vw-wert { background: #F6F8FA; border-radius: 14px; padding: 10px 12px; }
.vw-wert small { display: block; font-size: 11.5px; color: var(--leise); font-weight: 600; }
.vw-wert b { font-family: var(--anzeige); font-size: 20px; color: var(--tinte); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vw-wert i { font-style: normal; font-size: 11.5px; color: var(--leise); margin-left: 3px; }
.vw-diagramm { position: relative; background: #FBFCFD; border-radius: 16px; padding: 12px 12px 10px; box-shadow: inset 0 0 0 1px var(--linie); }
.vw-kurve { display: block; width: 100%; height: auto; overflow: visible; }
.vw-band { fill: color-mix(in srgb, #16A34A 9%, transparent); }
.vw-achse text { font-size: 7.5px; fill: #9AA4AF; font-family: var(--schrift, sans-serif); }
.vw-achse path { stroke: #EDF0F4; stroke-width: .6; }
.vw-linie { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vw-linie.sys { stroke: var(--f); } .vw-linie.dia { stroke: color-mix(in srgb, var(--f) 45%, #fff); }
.vw-ausreisser { fill: #DC2626; stroke: #fff; stroke-width: 1.5; }
.vw-ring { fill: none; stroke: #DC2626; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: vw-ring 1.8s ease-out infinite; }
@keyframes vw-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.vw-hinweis { position: absolute; right: 14px; top: 10px; font-size: 11.5px; font-weight: 700; color: #B91C1C; background: #FEECEC; border-radius: 8px; padding: 3px 8px; }
.vw-legende { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 11.5px; color: var(--leise); }
.vw-legende span::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--f); }
.vw-legende .dia::before { background: color-mix(in srgb, var(--f) 45%, #fff); }
.vw-legende .band::before { height: 8px; background: color-mix(in srgb, #16A34A 18%, transparent); }
.js .vw-diagramm .vw-linie { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .vw-diagramm.da .vw-linie { animation: vw-zeichnen 1.8s ease-out forwards; }
.js .vw-diagramm.da .vw-linie.dia { animation-delay: .3s; }
.js .vw-diagramm .vw-ausreisser, .js .vw-diagramm .vw-ring, .js .vw-diagramm .vw-hinweis { opacity: 0; }
.js .vw-diagramm.da .vw-ausreisser, .js .vw-diagramm.da .vw-hinweis { animation: vw-auf .4s ease-out 1.6s forwards; }
.js .vw-diagramm.da .vw-ring { animation: vw-ring 1.8s ease-out 2s infinite; }
@keyframes vw-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes vw-auf { to { opacity: 1; } }
@media (max-width: 520px) { .vw-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vw-plan { display: none; } .vw-hinweis { position: static; display: inline-block; margin-bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .js .vw-diagramm .vw-linie { stroke-dashoffset: 0; animation: none; } .js .vw-diagramm .vw-ausreisser, .js .vw-diagramm .vw-hinweis { opacity: 1; animation: none; } .vw-ring { display: none; } }

/* Funktionsumfang: jedes Thema mit eigenem Kopf, die erste Funktion als Glanzstück */
.thema-kopf { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 30px) clamp(18px, 2.2vw, 26px); margin-bottom: 16px;
    background: radial-gradient(120% 140% at 0% 0%, #fff 0%, var(--f-hell) 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--f) 14%, transparent); }
.thema-kopf .thema-einleitung { margin: 8px 0 0; max-width: 34em; position: relative; }
.thema-kopf h3 { position: relative; }
.thema-wasserzeichen { position: absolute; right: -18px; bottom: -34px; width: 170px; height: 170px; color: var(--f); opacity: .1; transform: rotate(-12deg); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.thema-wasserzeichen svg { width: 100%; height: 100%; stroke-width: 1.4; }
.thema:hover .thema-wasserzeichen { transform: rotate(0deg) scale(1.06); opacity: .16; }
.funktion { padding-right: 52px; }
.fn-marke { position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--f); background: var(--f-hell); opacity: .7; transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.fn-marke svg { width: 16px; height: 16px; }
.funktion:hover .fn-marke { opacity: 1; transform: rotate(-10deg) scale(1.1); background: var(--f); color: #fff; }
.funktion.hervor { grid-column: 1 / -1; padding: 22px 64px 22px 24px; color: #fff; background: linear-gradient(135deg, var(--f) 0%, color-mix(in srgb, var(--f) 70%, #0B1530) 100%) !important; box-shadow: 0 22px 40px -26px var(--f); }
.funktion.hervor::before { display: none; }
.funktion.hervor h4 { color: #fff; font-size: 19px; }
.funktion.hervor p { color: rgba(255, 255, 255, .86); font-size: 15.5px; max-width: 46em; }
.funktion.hervor .fn-paragraf { background: rgba(255, 255, 255, .16) !important; color: #fff !important; }
.funktion.hervor .fn-marke { width: 40px; height: 40px; border-radius: 12px; right: 20px; top: 20px; background: rgba(255, 255, 255, .16); color: #fff; opacity: 1; }
.funktion.hervor .fn-marke svg { width: 22px; height: 22px; }
.funktion.hervor::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); pointer-events: none; }
.thema h3 .thema-symbol { width: 40px; height: 40px; }
@media (prefers-reduced-motion: reduce) { .thema-wasserzeichen, .fn-marke { transition: none; } }

/* Funktionen: jede mit eigenem Piktogramm (wie bei rapidFOX: Strichsymbol in getönter Kachel) */
.funktion { padding: 18px 20px 18px 74px !important; }
.fn-pikto { position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--f); background: var(--f-hell); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--f) 14%, transparent); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.fn-pikto svg { width: 22px; height: 22px; }
.funktion::before { display: none; }
.funktion:hover .fn-pikto { transform: rotate(-8deg) scale(1.08); background: var(--f); color: #fff; }
.funktion.hervor { padding: 24px 28px 24px 92px !important; }
.funktion.hervor .fn-pikto { width: 52px; height: 52px; left: 22px; top: 22px; border-radius: 16px; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.funktion.hervor .fn-pikto svg { width: 28px; height: 28px; }
@media (max-width: 480px) { .funktion { padding-left: 66px !important; } .fn-pikto { left: 14px; width: 38px; height: 38px; } }

/* Rot nur noch für Logo und roten Faden: Handschrift in Stiftblau, Haken grün oder in Programmfarbe */
.hand, .menschen figcaption { color: #1E3A8A; }
.zettel .gross { color: #1E3A8A; }
.wege .erstes { background: var(--akzent); }
.kette-schritt .paragraf { color: var(--f, var(--akzent)); }
.marke b { color: var(--f, var(--akzent)); }
.kopf-tel svg { color: var(--akzent); }
.krumen a:hover, .fuss a:hover, .wege .gross:hover { color: var(--akzent); }
.inhalt-nav a:hover { color: var(--akzent); border-left-color: var(--akzent); }
:focus-visible { outline-color: var(--akzent); }
.spruch-zeile { color: var(--f, #1E3A8A); }

/* Der Spruch am Faden als eingenähtes Stoffetikett (wie auf dem Flyer): der Faden läuft darunter durch,
   zwei rote Nähte halten es fest. Erscheint, wenn der Faden gezeichnet ist. */
.faden-notiz .etikett { position: absolute; left: 7%; top: 58.3%; z-index: 2; margin: 0; display: grid; grid-template-columns: 26px auto 26px; align-items: center; padding: 14px 0;
    background: repeating-linear-gradient(90deg, rgba(24,35,58,.025) 0 2px, transparent 2px 4px), repeating-linear-gradient(0deg, rgba(24,35,58,.02) 0 2px, transparent 2px 4px), #FCFBF8;
    box-shadow: 0 1px 2px rgba(22,32,44,.2), 0 10px 22px -8px rgba(22,32,44,.38); transform: translateY(-50%) rotate(-1.5deg); }
.faden-notiz .etikett::before, .faden-notiz .etikett::after { content: ''; position: absolute; top: 0; bottom: 0; width: 9px; background: linear-gradient(90deg, rgba(24,35,58,.1), rgba(24,35,58,0)); }
.faden-notiz .etikett::before { left: 0; } .faden-notiz .etikett::after { right: 0; transform: scaleX(-1); }
.etikett .naht { justify-self: center; width: 3px; height: calc(100% + 6px); min-height: 50px; border-radius: 2px; background: repeating-linear-gradient(180deg, var(--rot) 0 7px, transparent 7px 11px); }
.etikett .et-text { text-align: center; padding: 0 6px; line-height: 1.12; }
.etikett .et-text b { display: block; font-family: var(--anzeige); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; color: var(--tinte); }
.etikett .et-text span { display: block; font-family: var(--anzeige); font-weight: 800; font-size: clamp(14px, 1.15vw, 16px); letter-spacing: -.01em; color: var(--akzent); margin-top: 2px; }
.js .faden-notiz .etikett { opacity: 0; clip-path: none; transform: translateY(-50%) rotate(-6deg) scale(.92); transition: opacity .35s, transform .7s cubic-bezier(.3, 1.5, .5, 1); }
.js .faden-notiz.faden-da .etikett { opacity: 1; transform: translateY(-50%) rotate(-1.5deg); transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .js .faden-notiz .etikett { opacity: 1; transform: translateY(-50%) rotate(-1.5deg); transition: none; } }
@media (max-width: 640px) {
    .faden-notiz:has(.etikett) { margin-top: 48px; margin-bottom: 28px; }
    .faden-notiz .etikett { padding: 10px 0; grid-template-columns: 20px auto 20px; }
    .etikett .et-text { white-space: nowrap; }
    .etikett .et-text b { font-size: 18px; } .etikett .et-text span { font-size: 13px; }
    .faden-notiz .etikett, .js .faden-notiz.faden-da .etikett { left: 50%; transform: translate(-50%, -50%) rotate(-1.5deg); }
    .js .faden-notiz .etikett { transform: translate(-50%, -50%) rotate(-6deg) scale(.92); }
    @media (prefers-reduced-motion: reduce) { .js .faden-notiz .etikett { transform: translate(-50%, -50%) rotate(-1.5deg); } }
}

/* ── Titelbild wie auf dem Flyer: drei versetzte Streifen aus einem Foto, darauf der Preiszettel ──
   Maße vom Flyer übernommen (101 × 119 mm). Die Streifen rechnen in Containermaßen, damit jedes
   Stück genau den Bildausschnitt zeigt, der an seiner Stelle liegt. */
.titelbild { position: relative; width: min(100%, 540px); aspect-ratio: 101 / 104; margin-left: auto; container-type: size; }
.tb-streifen { position: absolute; bottom: 0; overflow: hidden; border-radius: 3px; background: var(--flaeche-2); }
.tb-streifen.s1 { --x: 0cqw; --y: 5cqh; left: 0; width: 23.5%; top: 5%; }
.tb-streifen.s2 { --x: 24.6cqw; --y: 0cqh; left: 24.6%; width: 24%; top: 0; }
.tb-streifen.s3 { --x: 49.7cqw; --y: 8.4cqh; left: 49.7%; width: 50.3%; top: 8.4%; }
.tb-streifen img { position: absolute; width: 157cqw; max-width: none; height: auto; left: calc(-1 * (var(--x) + 40.8cqw)); top: calc(-1 * var(--y)); }
/* Derselbe Zettel wie vorn auf dem Flyer (Vorlage .postit): Maße dort in mm auf 101 mm Breite, hier in cqw. */
.tb-zettel { position: absolute; right: 3cqw; top: 52cqh; width: 32.7cqw; aspect-ratio: 1; rotate: 5deg; padding: 4.8cqw 3.2cqw 2.6cqw 3.8cqw; border-bottom-right-radius: 1.2cqw 2.4cqw;
    background: linear-gradient(180deg, rgba(255,255,255,.28) 0, rgba(255,255,255,0) 7cqw), linear-gradient(0deg, rgba(160,120,0,.10) 0, rgba(160,120,0,0) 6cqw), linear-gradient(170deg, #FFF48C 0%, #FFEC6E 45%, #FADF57 100%);
    font-family: var(--hand); font-weight: 700; color: #1B2A3A; box-shadow: 0 .25cqw .5cqw rgba(25, 30, 40, .22), 0 3cqw 3cqw -1.5cqw rgba(25, 30, 40, .38); }
.tb-zettel::before { content: ''; position: absolute; top: -2.4cqw; left: 10cqw; width: 15cqw; height: 5cqw; rotate: -4deg; background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(244,244,236,.5)); box-shadow: 0 .2cqw .4cqw rgba(25,30,40,.12); clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 88% 0, 92% 9%, 96% 0, 100% 8%, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 12% 100%, 8% 91%, 4% 100%, 0 92%); }
.tb-zettel p { margin: 0; }
.tb-zettel .z1 { font-size: 4.02cqw; line-height: .92; }
.tb-zettel .z1 u { text-decoration: underline; text-decoration-color: #1E3A8A; text-decoration-thickness: .6cqw; text-underline-offset: .6cqw; }
.tb-zettel .z3 { font-size: 9.8cqw; line-height: 1; margin-top: .6cqw; padding-left: 5cqw; color: #1E3A8A; }
.tb-zettel .z4 { font-size: 3.32cqw; line-height: .95; padding-left: 8cqw; }
.tb-zettel .z5 { font-size: 3.32cqw; line-height: .95; margin-top: 1.5cqw; }
@media (max-width: 1000px) { .titelbild { margin: 8px auto 0; width: min(100%, 460px); } }
.flyer-gruss { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--akzent) 22%, transparent), 0 8px 20px -12px rgba(22, 32, 44, .35); font-size: 14px; font-weight: 600; color: var(--tinte); }
.flyer-gruss svg { width: 22px; height: 22px; padding: 3px; border-radius: 6px; color: #fff; background: var(--akzent); }
.vertrag .vertrag-haken { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; color: #fff; background: #16A34A; }
.vertrag .vertrag-haken svg { width: 17px; height: 17px; }

/* ── Programmseiten: Himmel und Umlaufbahn ──────────────────────────────── */
/* Der Hintergrund der ganzen Seite trägt die Programmfarbe */
body:has(.p-sirius), body:has(.p-clientra), body:has(.p-polaris), body:has(.p-antares) { background: #FAFBFE; }
body:has(> main .p-sirius)::before, body:has(.p-sirius .seitenkopf-programm)::before { --pf: #1F72AA; }
body:has(.p-clientra .seitenkopf-programm)::before { --pf: #138273; }
body:has(.p-polaris .seitenkopf-programm)::before { --pf: #4F6BE0; }
body:has(.p-antares .seitenkopf-programm)::before { --pf: #B4344F; }
body:has(.seitenkopf-programm)::before {
    background:
        radial-gradient(42vmax 32vmax at 10% 12%, color-mix(in srgb, var(--pf) 16%, transparent), transparent 70%),
        radial-gradient(36vmax 30vmax at 90% 30%, color-mix(in srgb, var(--pf) 11%, transparent), transparent 70%),
        radial-gradient(40vmax 30vmax at 75% 85%, color-mix(in srgb, var(--pf) 10%, transparent), transparent 70%),
        radial-gradient(30vmax 26vmax at 18% 80%, rgba(242, 182, 50, .07), transparent 70%);
}
.himmel-bahn { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.himmel-bahn svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.himmel-bahn ellipse { fill: none; stroke: color-mix(in srgb, var(--f) 22%, transparent); stroke-width: 1.4; }
.himmel-bahn .hb-nah { stroke-dasharray: 2 9; stroke-linecap: round; stroke-width: 2; stroke: color-mix(in srgb, var(--f) 30%, transparent); }
.himmel-bahn .hb-mond { fill: var(--f); opacity: .55; }
.gross-planet { position: absolute; right: max(2vw, calc(50% - 760px)); top: 18px; width: clamp(120px, 15vw, 230px); height: auto;
    filter: drop-shadow(0 26px 40px color-mix(in srgb, var(--f) 30%, transparent)); animation: zeichen-schweben 9s ease-in-out infinite; }
.seitenkopf-programm .seitenkopf-bild { z-index: 1; }
@media (max-width: 1000px) { .gross-planet { display: none; } }
@media (prefers-reduced-motion: reduce) { .himmel-bahn .hb-mond { display: none; } .gross-planet { animation: none; } }

/* Getönte Abschnitte in der Programmfarbe statt Grau */
.p-sirius .abschnitt.grau, .p-clientra .abschnitt.grau, .p-polaris .abschnitt.grau, .p-antares .abschnitt.grau {
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--f) 7%, #fff 40%) 14%, color-mix(in srgb, var(--f) 7%, #fff 40%) 86%, transparent 100%); }

/* Im Verbund: Nachthimmel, COSMOS hält die Planeten auf der Bahn */
.abschnitt.nacht { color: #DCE6F5; isolation: isolate; overflow: hidden;
    background:
        radial-gradient(circle at 14% 22%, rgba(255,255,255,.7) 0 1px, transparent 1.6px),
        radial-gradient(circle at 38% 78%, rgba(255,255,255,.5) 0 1px, transparent 1.6px),
        radial-gradient(circle at 63% 12%, rgba(255,255,255,.6) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 86% 64%, rgba(255,255,255,.5) 0 1px, transparent 1.6px),
        radial-gradient(circle at 92% 18%, rgba(255,255,255,.45) 0 .8px, transparent 1.4px),
        radial-gradient(circle at 6% 88%, rgba(255,255,255,.45) 0 .8px, transparent 1.4px),
        radial-gradient(60% 80% at 80% 50%, color-mix(in srgb, var(--f) 45%, transparent), transparent 70%),
        linear-gradient(135deg, #0B1F4D 0%, #10295E 55%, #0C2150 100%); }
.abschnitt.nacht h2 { color: #fff; }
.abschnitt.nacht h2 .zweiter { color: color-mix(in srgb, var(--f) 35%, #fff); }
.abschnitt.nacht .abschnitt-kopf p { color: #B9C6DC; }
.abschnitt-kopf.einspaltig { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.verbund-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.abschnitt.nacht .verbund { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.abschnitt.nacht .verbund a { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.abschnitt.nacht .verbund a:hover { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--f) 60%, #fff); }
.abschnitt.nacht .verbund .marke > span { color: #8FA0BC; }
.abschnitt.nacht .verbund .marke b { color: color-mix(in srgb, var(--f) 40%, #fff); }
.abschnitt.nacht .verbund small { color: #AEBBD2; }
.umlauf { display: grid; place-items: center; }
.umlauf-buehne { position: relative; width: 520px; height: 320px; }
.umlauf-buehne svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ub-bahn { fill: none; stroke: rgba(170, 196, 240, .45); stroke-width: 1.4; }
.ub-bahn.weit { stroke: rgba(170, 196, 240, .16); stroke-dasharray: 2 8; stroke-linecap: round; }
.ub-mitte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; }
.ub-sonne { width: 74px; height: 74px; border-radius: 50%;
    background: radial-gradient(circle at 36% 30%, #E4EEFE 0%, #6FA3EE 40%, #2C68B0 100%);
    box-shadow: 0 0 0 10px rgba(111, 163, 238, .10), 0 0 60px 18px rgba(111, 163, 238, .35); }
.ub-name { font-family: var(--anzeige); font-weight: 800; letter-spacing: .05em; color: #fff; font-size: 15px; white-space: nowrap; }
.ub-name i { font-style: normal; font-weight: 700; color: #8FA0BC; letter-spacing: 0; }
.ub-planet { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px;
    offset-path: path('M 36.8 215.6 A 230 95 -14 1 1 483.2 104.4 A 230 95 -14 1 1 36.8 215.6'); offset-rotate: 0deg; offset-anchor: 50% 50%;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); animation: umlauf 64s linear infinite; }
.ub-planet { margin: 0; }
.ub-planet[data-o="0"] { offset-distance: 8%; animation-delay: -5.12s; }
.ub-planet[data-o="1"] { offset-distance: 33%; animation-delay: -21.12s; }
.ub-planet[data-o="2"] { offset-distance: 58%; animation-delay: -37.12s; }
.ub-planet[data-o="3"] { offset-distance: 83%; animation-delay: -53.12s; }
.ub-planet.dieser { width: 78px; height: 78px; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--f) 70%, transparent)) drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
@keyframes umlauf { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .ub-planet { animation: none; } }
@media (max-width: 1000px) {
    .verbund-raster { grid-template-columns: minmax(0, 1fr); }
    .umlauf { order: -1; overflow: hidden; }
}
@media (max-width: 600px) { .umlauf-buehne { transform: scale(.66); margin: -54px -88px; } }

/* ── Programmseiten: Wer was davon hat ─────────────────────────────────── */
.rollen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rolle { position: relative; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); border-radius: 24px; padding: 26px 26px 24px; box-shadow: 0 0 0 1px var(--linie), 0 24px 48px -36px color-mix(in srgb, var(--f) 80%, transparent); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.rolle::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--f), color-mix(in srgb, var(--f) 35%, #fff)); }
.rolle header { display: flex; align-items: center; gap: 12px; }
.rolle h3 { font-size: 21px; margin: 0; }
.rolle-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--f-hell); color: var(--f); flex: none; }
.rolle-symbol svg { width: 25px; height: 25px; }
.rolle p { margin: 0; font-size: 16px; line-height: 1.5; }
.rolle p small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 3px; }
.rolle-bisher { color: var(--leise); padding: 12px 14px; background: #F3F5F8; border-radius: 14px; }
.rolle-bisher small { color: #8A95A5; }
.rolle-jetzt { position: relative; color: var(--tinte); font-weight: 600; padding: 14px 14px 14px 16px; background: color-mix(in srgb, var(--f) 9%, #fff); border-radius: 14px; box-shadow: inset 3px 0 0 var(--f); }
.rolle-jetzt small { color: var(--f); }
.rolle-bisher + .rolle-jetzt::before { content: ''; position: absolute; left: 50%; top: -15px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v12M6 12l6 6 6-6'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: 0 0 0 4px #fff; }
.rolle ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; }
.rolle li { position: relative; padding-left: 26px; font-size: 15px; color: var(--tinte); font-weight: 500; }
.rolle li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--f); -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
@media (max-width: 1000px) { .rollen { grid-template-columns: minmax(0, 1fr); } }

/* Module: wer profitiert, und Bilder zum Vergrößern */
.fuer-plakette { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--f); background: var(--f-hell); border-radius: 99px; padding: 4px 12px 4px 10px; margin-bottom: 14px; }
.fuer-plakette::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--f); }
.textmodule .fuer-plakette { margin: 0 0 10px; display: flex; width: max-content; }
.p-sirius .modul, .p-clientra .modul, .p-polaris .modul, .p-antares .modul { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); border-top: 0; }
.p-sirius .modul.umgekehrt, .p-clientra .modul.umgekehrt, .p-polaris .modul.umgekehrt, .p-antares .modul.umgekehrt { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.modul h3 { font-size: clamp(28px, 2.9vw, 40px); }
.buehne-bild { position: relative; padding: clamp(18px, 2.6vw, 38px); border-radius: 28px; isolation: isolate;
    background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--f) 22%, #fff), color-mix(in srgb, var(--f) 6%, #fff) 70%); }
.buehne-bild::after { content: ''; position: absolute; z-index: -1; inset: 8% -4% 8% -4%; border: 1.5px solid color-mix(in srgb, var(--f) 22%, transparent); border-radius: 50%; transform: rotate(-12deg); pointer-events: none; }
.bild-gross { display: block; position: relative; width: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; text-align: left; border-radius: 14px; }
.bild-gross .fenster { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.bild-gross:hover .fenster { transform: translateY(-4px) scale(1.012); }
.bild-gross .lupe { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.bild-gross .lupe svg { width: 18px; height: 18px; }
.bild-gross:hover .lupe, .bild-gross:focus-visible .lupe { opacity: 1; transform: none; }
@media (hover: none) { .bild-gross .lupe { opacity: 1; transform: none; } }
.bild-gross:focus-visible { outline: 3px solid var(--f); outline-offset: 6px; }
.bildblick { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1680px); max-height: 94vh; overflow: visible; }
.bildblick::backdrop { background: rgba(10, 18, 36, .82); backdrop-filter: blur(4px); }
.bildblick img { display: block; max-width: min(96vw, 1680px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); background: #fff; }
.bildblick p { color: #DCE6F5; text-align: center; margin: 12px 0 0; font-size: 15px; }
.bildblick button { position: absolute; right: -6px; top: -48px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--tinte); font-size: 22px; line-height: 1; cursor: pointer; }
.bildblick[open] img { animation: bildblick-auf .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes bildblick-auf { from { opacity: 0; transform: scale(.96); } }
@media (max-width: 1000px) { .p-sirius .modul, .p-clientra .modul, .p-polaris .modul, .p-antares .modul, .p-sirius .modul.umgekehrt, .p-clientra .modul.umgekehrt, .p-polaris .modul.umgekehrt, .p-antares .modul.umgekehrt { grid-template-columns: minmax(0, 1fr); } .buehne-bild::after { display: none; } }

/* Alles, was … kann: zuerst drei, der Rest auf Wunsch */
html.js .funktion.weitere { display: none; }
html.js .thema.offen .funktion.weitere { display: flex; animation: bildblick-auf .3s ease-out; }
.mehr-zeigen { margin-top: 14px; border: 0; background: none; color: var(--f); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 8px 2px; display: inline-flex; align-items: center; gap: 6px; }
.mehr-zeigen::after { content: ''; width: 9px; height: 9px; border-right: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.thema.offen .mehr-zeigen::after { transform: rotate(-135deg) translate(-2px, -2px); }
html:not(.js) .mehr-zeigen { display: none; }
@media (min-width: 1001px) and (max-width: 1240px) { .umlauf-buehne { transform: scale(.78); margin: -35px -57px; } }
.abschnitt.nacht { overflow-x: clip; }

/* ── November 2026: neue Inhalte im bewährten Rahmen ───────────────────────── */
/* Die Umlaufbahn im Programmkopf läuft nur hinter der Bildseite aus, nie durch den Text. */
.himmel-bahn { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 48%, #000 66%); mask-image: linear-gradient(90deg, transparent 0, transparent 48%, #000 66%); }
.stand-plakette { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: #FBF4E4; border: 1px solid #E5C98F; color: #7A5410; font: 600 12.5px/1.2 var(--schrift); letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.stand-plakette::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #B7791F; }
.stand-plakette.klein { margin-left: 6px; padding: 2px 8px; font-size: 11px; }
.stand-satz { font-size: 14px; line-height: 1.55; color: var(--leise); margin: 16px 0 0; max-width: 52ch; }
.stand-satz a { color: inherit; }
.neue-oberflaeche { min-width: 0; }
.seitenkopf-bild.neue-oberflaeche { width: 112%; }
.seitenkopf-bild.neue-oberflaeche .telefon-rahmen { position: absolute; left: -7%; bottom: -12%; width: 22%; }
.modul-bild.neue-oberflaeche .telefon-rahmen { max-width: 300px; margin-inline: auto; }
@media (max-width: 1000px) { .seitenkopf-bild.neue-oberflaeche { width: 100%; } .seitenkopf-bild.neue-oberflaeche .telefon-rahmen { left: auto; right: 2%; width: 26%; } }

/* Formular, Brotkrumen und Listen für Kontakt, Danke und 404 (November 2026) */
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--leise); }
.brotkrumen li + li::before { content: '›'; margin-right: 8px; }
.brotkrumen a { color: inherit; text-decoration: none; }
.brotkrumen a:hover { color: var(--tinte); }
.kicker { font: 700 13px/1.2 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--rot); margin: 0 0 14px; }
.leise { color: var(--leise); }
.text-verweis { color: var(--tinte); text-decoration: underline; text-underline-offset: 3px; }
.abschnitt.eng { padding-top: clamp(24px, 3vw, 40px); }
.liste-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.liste-raster > a { display: block; padding: 22px 24px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--papier); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.liste-raster > a:hover { border-color: var(--tinte); box-shadow: 0 10px 30px -18px rgba(22, 32, 44, .35); transform: translateY(-2px); }
.liste-raster h3 { margin: 0 0 6px; font-size: 18px; color: var(--tinte); }
.liste-raster p { margin: 0; font-size: 15px; }
.buehne-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.formular { display: grid; gap: 18px; }
.formular .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld label, .feld .bez { display: block; font: 600 14.5px/1.3 var(--schrift); color: var(--tinte); margin-bottom: 8px; }
.feld label small, .feld .bez small { font-weight: 500; color: var(--leise); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-klein); border: 1px solid #CBD3DC; background: #fff; font: 400 16px/1.4 var(--schrift); color: var(--tinte); transition: border-color .2s, box-shadow .2s; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: #1F6FB2; box-shadow: 0 0 0 3px rgba(31, 111, 178, .15); }
.feld .fehler { color: var(--rot-tief); font-size: 13.5px; margin-top: 6px; }
.feld-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.feld-wahl label { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid #CBD3DC; font-weight: 500; cursor: pointer; background: #fff; }
.feld-wahl input { width: auto; min-height: 0; accent-color: #1F6FB2; }
.feld-wahl label:has(input:checked) { border-color: #1F6FB2; background: #EEF5FB; }
.einwilligung { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; line-height: 1.5; }
.einwilligung input { width: 18px; height: 18px; margin-top: 2px; accent-color: #1F6FB2; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 16px 18px; border-radius: var(--r-klein); border: 1px solid #F0C2C0; background: #FCEEEE; color: var(--rot-tief); }
@media (max-width: 680px) { .formular .zwei { grid-template-columns: 1fr; } }

/* Funktionskacheln (Startseite, /funktionen) */
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 12px; }
.kacheln a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; height: 100%; padding: 14px 16px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--linie); text-decoration: none; color: var(--tinte); transition: border-color .2s, transform .2s, box-shadow .2s; }
.kacheln a:hover { border-color: var(--f); transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(22, 32, 44, .35); }
.kachel-zeichen { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--f-hell); color: var(--f); }
.kachel-zeichen svg { width: 22px; height: 22px; stroke-width: 1.8; }
.kachel-wort { font: 700 15px/1.25 var(--schrift); min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.kacheln small { font: 600 11px/1.3 var(--schrift); letter-spacing: .06em; color: var(--leise); }
.funktionsliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 36px; }
.fl-thema h3 { font-size: 17px; margin: 0 0 10px; }
.fl-thema h3 a { display: flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; }
.fl-thema h3 a:hover { color: var(--f); }
.fl-thema h3 svg { width: 22px; height: 22px; color: var(--f); flex: none; }
.fl-thema ul { margin: 0; padding: 0 0 0 32px; font-size: 15px; line-height: 1.55; color: var(--text); }
.fl-thema li { margin: 3px 0; }
.kacheln-weiter { margin-top: 26px; text-align: center; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vorteile li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 24px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--linie); box-shadow: 0 10px 30px -24px rgba(22, 32, 44, .4); }
.vorteile svg { grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: #EAF2FA; color: #1F6FB2; stroke-width: 1.8; }
.vorteile b { font: 800 17px/1.3 var(--anzeige); color: var(--tinte); margin: 2px 0 6px; }
.vorteile span { font-size: 15px; line-height: 1.55; color: var(--text); }
.umzug { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.umzug h2 { margin-bottom: 14px; }
.umzug p { margin-bottom: 24px; }
.umzug-schritte { list-style: none; margin: 0; padding: 0; counter-reset: u; display: grid; gap: 12px; }
.umzug-schritte li { counter-increment: u; position: relative; padding: 18px 20px 18px 64px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--linie); font-size: 15.5px; line-height: 1.55; }
.umzug-schritte li::before { content: counter(u); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rot); color: #fff; font: 800 15px/1 var(--anzeige); }
.umzug-schritte b { color: var(--tinte); }
@media (max-width: 900px) { .vorteile { grid-template-columns: 1fr; } .umzug { grid-template-columns: 1fr; } }
.umfang-suche { position: relative; display: block; max-width: 560px; margin: 0 auto 28px; }
.umfang-suche svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--leise); }
.umfang-suche input { width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid #CBD3DC; background: #fff; font: 400 16px/1 var(--schrift); color: var(--tinte); box-shadow: 0 8px 24px -18px rgba(22, 32, 44, .35); }
.umfang-suche input:focus { outline: none; border-color: var(--f); box-shadow: 0 0 0 3px var(--f-hell); }
.umfang-leer { text-align: center; color: var(--leise); margin: 0 0 24px; }
html.js .umfang.suche .funktion.weitere { display: flex; }
.umfang .funktion[hidden], .umfang .thema[hidden], .umfang-nav li[hidden] { display: none !important; }
.umfang.suche .mehr-zeigen { display: none; }
html, body { overflow-x: clip; }
/* Das echte Logo (CASALIX-Logo_veredelt, Flyer) — nie nachzeichnen. */
.logo img.logo-bild { width: auto; height: 58px; }
.logo img.logo-bild.gross { height: 96px; }
@media (max-width: 700px) { .logo img.logo-bild { height: 50px; } }

/* Geräte (teile/geraete): echte Seitenverhältnisse, nachgebaute Oberflächen darin */
.geraete-neu { position: relative; max-width: 1060px; margin: 0 auto; aspect-ratio: 1060 / 560; }
.gn-laptop { position: absolute; left: 13%; top: 0; width: 70%; }
.gn-laptop-deckel { background: #1A1F25; border-radius: 18px 18px 0 0; padding: 2.4% 2.4% 3.2%; box-shadow: inset 0 0 0 1px #3A424C; position: relative; }
.gn-laptop-deckel::before { content: ''; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #3A424C; transform: translateX(-50%); }
.gn-laptop-schirm { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #fff; }
.gn-laptop-tastatur { display: block; width: 112%; max-width: none; margin: -1px -6% 0; height: auto; filter: drop-shadow(0 26px 30px rgba(22, 32, 44, .28)); }
.gn-tablet { position: absolute; left: 0; bottom: 4%; width: 33%; background: #1A1F25; border-radius: 6% / 8%; padding: 2.4%; box-shadow: 0 30px 50px -26px rgba(22, 32, 44, .55), inset 0 0 0 1px #3A424C; z-index: 2; }
.gn-tablet-schirm { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3% / 4%; background: #fff; }
.gn-telefon { position: absolute; right: 4%; bottom: 0; width: 15%; z-index: 3; }
.gn-telefon .telefon-rahmen { width: 100%; }
/* Im Gerät braucht die Oberfläche keinen eigenen Fensterschatten und keine Rundung */
.im-geraet .bild-mit-unterschrift { margin: 0; height: 100%; }
.im-geraet .bs { border: 0; border-radius: 0; box-shadow: none; height: 100%; }
.im-geraet .bs-leiste { display: none; }
.im-geraet .ui { min-height: 100%; }
@media (max-width: 700px) {
    .geraete-neu { aspect-ratio: 390 / 330; }
    .gn-laptop { left: 4%; width: 92%; }
    .gn-tablet { width: 44%; bottom: 0; }
    .gn-telefon { width: 22%; right: 2%; }
}

/* ── Startseite in Kapiteln (November 2026) ─────────────────────────────── */
.kapitelleiste { position: sticky; top: var(--kopf); z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kapitelleiste-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.kapitelleiste-in::-webkit-scrollbar { display: none; }
.kapitelleiste a { flex: none; padding: 7px 14px; border-radius: 999px; font: 600 14px/1 var(--schrift); color: var(--text); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.kapitelleiste a:hover { background: var(--flaeche); color: var(--tinte); }
.kapitelleiste a.aktiv { background: var(--tinte); color: #fff; }
.kapitel-band { background: linear-gradient(90deg, var(--f-hell, #EEF1F4), #fff 70%); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: clamp(28px, 4vw, 44px) 0; scroll-margin-top: calc(var(--kopf) + 56px); }
.kapitel-band.neutral { background: linear-gradient(90deg, #F5F7F9, #fff 70%); }
.kapitel-band-in { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.kapitel-zeichen { display: flex; flex: none; }
.kapitel-zeichen img { width: clamp(44px, 5vw, 64px); height: auto; }
.kapitel-zeichen img + img { margin-left: -12px; }
.kapitel-nr { display: inline-block; font: 700 12.5px/1 var(--schrift); letter-spacing: .1em; text-transform: uppercase; color: var(--f, var(--rot)); margin-bottom: 8px; }
.kapitel-band.neutral .kapitel-nr { color: var(--rot); }
.kapitel-titel { font-size: clamp(24px, 2.6vw, 34px) !important; line-height: 1.15; margin: 0 0 6px; }
.kapitel-titel .stand-plakette { font-size: 12.5px; }
.kapitel-band p { margin: 0; color: var(--text); font-size: 16.5px; max-width: 70ch; }
.kapitel-abschnitt { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); }
.kapitel-abschnitt + .hauptakt, .kapitel-abschnitt + .abschnitt { padding-top: clamp(24px, 3vw, 48px); }
.programm-kapitel.solo { margin: 0; }
.programm-karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(36px, 4vw, 56px); }
.programm-karte { display: grid; justify-items: start; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--linie); border-top: 4px solid var(--f); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.programm-karte:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(22, 32, 44, .45); }
.programm-karte img { width: 48px; height: 48px; }
.programm-karte .pk-rolle { font-size: 15px; line-height: 1.45; }
.kacheln-titel { font-size: 18px; margin: 0 0 16px; color: var(--tinte); }
@media (max-width: 900px) { .programm-karten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .programm-karten { grid-template-columns: 1fr; } .kapitel-band-in { align-items: flex-start; } }
.programm-kapitel.solo { padding: 0; }

/* ── Funktionsumfang, ruhig (November 2026) ─────────────────────────────── */
.fu { background: linear-gradient(180deg, #F7F9FB 0, #fff 420px); }
.fu-kopf { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); }
.fu-kopf h2 { margin: 0 0 12px; }
.fu-kopf > p { margin: 0 auto 26px; color: var(--text); font-size: 17.5px; }
.fu-suche { position: relative; display: block; max-width: 560px; margin: 0 auto; }
.fu-suche svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--leise); }
.fu-suche input { width: 100%; height: 54px; padding: 0 20px 0 50px; border-radius: 999px; border: 1px solid #CBD3DC; background: #fff; font: 400 16px/1 var(--schrift); color: var(--tinte); box-shadow: 0 10px 28px -20px rgba(22, 32, 44, .4); }
.fu-suche input:focus { outline: none; border-color: var(--f); box-shadow: 0 0 0 4px var(--f-hell); }
.fu-leer { margin: 18px 0 0; color: var(--leise); }
.fu-raster { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fu-nav { position: sticky; top: calc(var(--kopf) + 24px); display: grid; gap: 2px; }
.fu-nav a { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); font: 600 14.5px/1.3 var(--schrift); position: relative; transition: background .2s, color .2s; }
.fu-nav a:hover { background: var(--flaeche); color: var(--tinte); }
.fu-nav a.aktiv { background: var(--f-hell); color: var(--tinte); }
.fu-nav a.aktiv::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--f); }
.fu-nav a[hidden] { display: none; }
.fu-nav-zeichen { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--f-hell); color: var(--f); }
.fu-nav-zeichen svg { width: 17px; height: 17px; stroke-width: 1.8; }
.fu-nav small { font: 600 12px/1 var(--schrift); color: var(--leise); }
.fu-thema { scroll-margin-top: calc(var(--kopf) + 70px); padding-bottom: clamp(36px, 4vw, 52px); }
.fu-thema[hidden] { display: none; }
.fu-thema-kopf { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.fu-zeichen { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--f); color: #fff; box-shadow: 0 10px 22px -12px var(--f); }
.fu-zeichen svg { width: 26px; height: 26px; stroke-width: 1.7; }
.fu-thema-kopf h3 { margin: 0; font-size: clamp(22px, 2vw, 27px); letter-spacing: -.02em; }
.fu-thema-kopf p { margin: 4px 0 0; color: var(--text); font-size: 16px; }
.fu-karte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--linie); border-radius: 18px; box-shadow: 0 14px 34px -28px rgba(22, 32, 44, .45); overflow: hidden; }
.fu-funktion { position: relative; padding: 20px 22px 20px 52px; border-bottom: 1px solid var(--linie); }
.fu-funktion:nth-child(odd) { border-right: 1px solid var(--linie); }
.fu-funktion::before { content: ''; position: absolute; left: 22px; top: 23px; width: 18px; height: 18px; border-radius: 50%; background: var(--f-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.fu-funktion h4 { margin: 0; font: 700 16px/1.35 var(--schrift); color: var(--tinte); }
.fu-funktion p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.fu-recht { display: inline-block; margin-top: 10px; font: 600 12px/1 var(--schrift); color: var(--leise); background: var(--flaeche); border-radius: 6px; padding: 5px 8px; }
.fu-funktion[hidden] { display: none; }
html.js .fu-funktion.weiter { display: none; }
html.js .fu-thema.offen .fu-funktion.weiter, html.js .fu-raster.suche .fu-funktion.weiter:not([hidden]) { display: block; }
.fu-mehr { margin-top: 14px; border: 0; background: none; padding: 6px 0; font: 700 15px/1 var(--schrift); color: var(--f); cursor: pointer; }
.fu-mehr:hover { text-decoration: underline; text-underline-offset: 3px; }
.fu-raster.suche .fu-mehr { display: none; }
@media (max-width: 1000px) { .fu-raster { grid-template-columns: 1fr; } .fu-nav { display: none; } }
@media (max-width: 680px) { .fu-karte { grid-template-columns: 1fr; } .fu-funktion:nth-child(odd) { border-right: 0; } }
.fu-karte > .fu-funktion { margin-bottom: -1px; }

/* Überblick: Programme mit ihren Aufgaben (teile/uebersicht) */
.uebersicht { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.ue-karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: 22px; padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 18px 40px -32px rgba(22, 32, 44, .5); position: relative; overflow: hidden; }
.ue-karte::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--f); }
.ue-kopf { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; margin-bottom: 20px; }
.ue-kopf img { width: 52px; height: 52px; }
.ue-kopf h3 { margin: 0; font: 800 24px/1.1 var(--anzeige); letter-spacing: .01em; color: var(--f); }
.ue-kopf h3 span { color: #8A95A3; font-weight: 700; }
.ue-kopf p { margin: 4px 0 0; font-size: 15px; color: var(--text); }
.ue-aufgaben { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.ue-aufgaben a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; color: var(--tinte); font: 600 15px/1.3 var(--schrift); transition: background .2s; }
.ue-aufgaben a:hover { background: var(--f-hell); }
.ue-zeichen { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--f-hell); color: var(--f); }
.ue-zeichen svg { width: 19px; height: 19px; stroke-width: 1.8; }
.ue-weiter { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 15px/1 var(--schrift); color: var(--f); text-decoration: none; }
.ue-weiter svg { width: 16px; height: 16px; transition: transform .2s; }
.ue-weiter:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .uebersicht { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ue-aufgaben { grid-template-columns: 1fr; } .ue-kopf { grid-template-columns: 44px 1fr; } .ue-kopf .stand-plakette { grid-column: 1 / -1; justify-self: start; } }
.kopf { background: rgba(251, 252, 254, .96); }
.kapitelleiste { background: rgba(255, 255, 255, .97); }
.kopf, .kopf.gerollt { background: #FBFCFE !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ══ Echte Bildschirmfotos (01.11.2026) ═════════════════════════════════════════════════════
   Vorbild polaris-dienstplan.de: Foto im schlichten Fensterrahmen, das Telefon im dunklen Rahmen,
   ein Tipp vergrößert. Ersetzt gezeichnete Geräte und nachgebaute Oberflächen, wo es Fotos gibt. */
.schirm { display: block; position: relative; width: 100%; margin: 0; padding: 0; font: inherit; color: inherit; text-align: left; background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -28px rgba(15, 23, 42, .42); }
.schirm-leiste { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: #F1F5F9; border-bottom: 1px solid #E2E8F0; }
.schirm-leiste i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; flex: none; }
.schirm-leiste span { margin-left: 8px; min-width: 0; font: 600 11.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schirm img, .schirm-handy img, .schirm-tablet img { display: block; width: 100%; height: auto; }
.schirm-handy, .schirm-tablet { display: block; position: relative; margin: 0; border: 0; font: inherit; background: linear-gradient(160deg, #2B3648, #0F172A); box-shadow: 0 26px 56px -22px rgba(15, 23, 42, .55); }
.schirm-handy { padding: 7px; border-radius: 32px; }
.schirm-handy img { border-radius: 26px; }
.schirm-tablet { padding: 5px; border-radius: 17px; }
.schirm-tablet img { border-radius: 12px; }
.zoombar { cursor: zoom-in; transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.zoombar:hover { transform: translateY(-3px); }
.zoombar:focus-visible { outline: 3px solid var(--akzent); outline-offset: 4px; }
.schirm-lupe { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--tinte); box-shadow: 0 6px 16px -6px rgba(15, 23, 42, .45); opacity: 0; transition: opacity .2s ease; }
.schirm-lupe svg { width: 18px; height: 18px; }
.zoombar:hover .schirm-lupe, .zoombar:focus-visible .schirm-lupe { opacity: 1; }
.schirm-handy .schirm-lupe { right: 15px; bottom: 15px; }
@media (hover: none) { .schirm-lupe { opacity: .92; width: 30px; height: 30px; } }

/* Bühne der Programmseite: Fenster, davor das Telefon */
.seitenkopf-bild.schirm-buehne { width: 112%; padding-bottom: 5%; }
.schirm-buehne-telefon { position: absolute; left: -9%; bottom: -7%; width: 22%; z-index: 2; }
@media (max-width: 1000px) {
    .seitenkopf-bild.schirm-buehne { width: 100%; }
    .schirm-buehne-telefon { left: auto; right: -1%; width: 24%; }
}
@media (max-width: 560px) { .schirm-buehne-telefon { width: 30%; bottom: -12%; } .seitenkopf-bild.schirm-buehne { padding-bottom: 12%; } }

/* Rundgang */
.modul-bild > .schirm-handy { max-width: 290px; margin-inline: auto; }

/* Funktionsumfang als Kacheln (01.11.2026): Bild oben, Thema darunter, ein Tipp öffnet den Lichtkasten */
.fu-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.fu-kachel { display: flex; flex-direction: column; margin: 0; padding: 0; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px -28px rgba(22, 32, 44, .45); scroll-margin-top: calc(var(--kopf, 72px) + 24px); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, border-color .25s ease; }
button.fu-kachel { cursor: pointer; }
.fu-kachel[hidden] { display: none; }
button.fu-kachel:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--f) 35%, var(--linie)); box-shadow: 0 26px 48px -30px rgba(22, 32, 44, .55); }
button.fu-kachel:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.fu-kachel-bild { position: relative; display: block; height: 0; padding-bottom: 58%; overflow: hidden; background: linear-gradient(160deg, var(--f-hell), color-mix(in srgb, var(--f-hell) 40%, #fff)); pointer-events: none; }
.fu-kachel-bild > .schirm, .fu-kachel-bild > .schirm-handy, .fu-kachel-bild > .neue-oberflaeche { position: absolute; left: 7%; right: 7%; top: 9%; box-shadow: 0 18px 38px -22px rgba(15, 23, 42, .5); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.fu-kachel-bild > .schirm { border-radius: 10px; }
.fu-kachel-bild > .schirm .schirm-leiste { padding: 6px 10px; gap: 5px; }
.fu-kachel-bild > .schirm .schirm-leiste i { width: 7px; height: 7px; }
.fu-kachel-bild > .schirm .schirm-leiste span { font-size: 10px; }
/* Die Klasse „telefon“ meint hier nur die Art des Bildes, nicht den Telefonrahmen: dessen runde Ecken und Schatten gehören nicht an die Bildfläche der Karte. */
.fu-kachel-bild.telefon { border-radius: 0; box-shadow: none; }
.fu-kachel-bild.telefon > .schirm-handy { left: 50%; right: auto; width: 40%; transform: translateX(-50%); padding: 5px; border-radius: 24px; }
.fu-kachel-bild.telefon > .schirm-handy img { border-radius: 20px; }
.fu-kachel-bild > .neue-oberflaeche { display: block; border-radius: 10px; overflow: hidden; }
button.fu-kachel:hover .fu-kachel-bild > .schirm, button.fu-kachel:hover .fu-kachel-bild > .neue-oberflaeche { transform: translateY(-6px); }
button.fu-kachel:hover .fu-kachel-bild.telefon > .schirm-handy { transform: translate(-50%, -6px); }
.fu-kachel-text { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; border-top: 1px solid var(--linie); }
.fu-kachel-kopf { display: flex; align-items: center; gap: 12px; }
.fu-kachel-kopf .fu-zeichen { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.fu-kachel-kopf .fu-zeichen svg { width: 20px; height: 20px; }
.fu-kachel-titel { font: 700 18px/1.25 var(--anzeige); color: var(--tinte); letter-spacing: -.01em; }
.fu-kachel-lead { display: block; margin: 10px 0 14px; font-size: 15px; line-height: 1.5; color: var(--text); }
.fu-kachel-fuss { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font: 600 13.5px/1 var(--schrift); color: var(--leise); }
.fu-kachel-auf { display: inline-flex; align-items: center; gap: 6px; color: var(--akzent); }
.fu-kachel-auf svg { width: 15px; height: 15px; transition: transform .2s ease; }
button.fu-kachel:hover .fu-kachel-auf svg { transform: translateX(3px); }
@media (max-width: 1100px) { .fu-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fu-kacheln { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fu-kachel, .fu-kachel-bild > * { transition: none; } }

/* Lichtkasten (Vorbild polaris-dienstplan.de) */
.lk { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .24s ease; }
.lk.auf { opacity: 1; }
.lk[hidden] { display: none; }
.lk-grund { position: absolute; inset: 0; background: rgba(15, 23, 42, .58); -webkit-backdrop-filter: blur(8px) saturate(118%); backdrop-filter: blur(8px) saturate(118%); }
html.lk-fest, html.lk-fest body { overflow: hidden; }
.lk-karte { position: relative; width: min(1180px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(15, 23, 42, .6); transform: translateY(14px) scale(.985); transition: transform .28s cubic-bezier(.22, 1, .36, 1); overscroll-behavior: contain; }
.lk.auf .lk-karte { transform: none; }
.lk-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .94); color: #475569; box-shadow: 0 2px 10px -3px rgba(15, 23, 42, .3); }
.lk-x:hover { background: #fff; color: var(--tinte); }
.lk-x svg { width: 19px; height: 19px; }
.lk-blatt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); min-height: min(600px, 80vh); }
.lk-blatt[hidden] { display: none; }
.lk-buehne { position: relative; display: grid; place-items: center; padding: clamp(22px, 3vw, 40px); background: linear-gradient(155deg, var(--f-hell, #EEF2F7), #F8FAFC); border-right: 1px solid #E2E8F0; }
.lk-buehne > * { width: 100%; }
.lk-buehne.lk-hoch > * { width: min(100%, 330px); }
.lk-buehne .schirm-handy { width: min(100%, 300px); }
.lk-entwurf { width: 100%; }
.lk-text { padding: 40px 38px 28px; display: flex; flex-direction: column; min-width: 0; }
.lk-kicker { font: 700 12px/1.2 var(--schrift); letter-spacing: .14em; text-transform: uppercase; color: var(--f, var(--akzent)); }
.lk-h { margin: 10px 0 0; font-family: var(--anzeige); font-size: clamp(23px, 2.2vw, 29px); line-height: 1.2; letter-spacing: -.02em; color: var(--tinte); padding-right: 36px; }
.lk-lead { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.lk-text ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lk-text li { display: flex; gap: 10px; align-items: flex-start; }
.lk-text li > svg { width: 17px; height: 17px; color: #1E7B4F; flex: none; margin-top: 3px; }
.lk-text li b { display: block; font-size: 15px; color: var(--tinte); }
.lk-text li small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text); }
.lk-recht { margin-top: 22px; padding-top: 16px; border-top: 1px dashed #E2E8F0; font-size: 13px; line-height: 1.6; color: #64748B; }
.lk-recht b { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--akzent); }
.lk-fuss { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 10px; }
.lk-vorfuehrung { margin-left: auto; }
.lk-pfeil { width: 36px; height: 36px; border: 0; border-radius: 10px; display: grid; place-items: center; flex: none; cursor: pointer; background: #F1F5F9; color: #475569; transition: background .18s ease, color .18s ease; }
.lk-pfeil:hover { background: #E0EAF5; color: var(--akzent); }
.lk-pfeil svg { width: 14px; height: 14px; }
.lk-zaehler { font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #94A3B8; }
.knopf.klein { padding: 10px 18px; font-size: 14.5px; }
/* Nur ein Bild groß (Tipp auf ein Foto) */
.lk-karte.nur-bild { width: min(1500px, 100%); background: transparent; box-shadow: none; overflow: visible; }
.lk-karte.nur-bild .lk-einzel { display: grid; place-items: center; }
.lk-karte.nur-bild .lk-einzel img { display: block; max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); background: #fff; }
.lk-karte.nur-bild .lk-einzel.telefon img { border-radius: 30px; border: 7px solid #1B2433; }
.lk-karte.nur-bild .lk-x { top: -8px; right: -8px; }
@media (max-width: 900px) {
    .lk { padding: 10px; }
    .lk-blatt { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .lk-buehne { border-right: 0; border-bottom: 1px solid #E2E8F0; }
    .lk-text { padding: 24px 20px 20px; }
    .lk-karte.nur-bild .lk-x { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .lk, .lk-karte, .zoombar { transition: none; } .lk-karte { transform: none; } }

/* Geräte: drei echte Ansichten nebeneinander, unten bündig */
.geraete-schau { display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 2.6vw, 38px); margin-top: clamp(28px, 4vw, 48px); }
.geraete-schau figure { margin: 0; min-width: 0; }
.gs-fenster { flex: 2.15 1 0; }
.gs-tablet { flex: 1.5 1 0; }
.gs-telefon { flex: .62 1 0; min-width: 180px; }
.geraete-schau figcaption { margin-top: 16px; min-height: 96px; }
.geraete-schau figcaption b { display: block; font-size: 15.5px; color: var(--tinte); }
.geraete-schau figcaption span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
@media (max-width: 900px) {
    .geraete-schau { flex-wrap: wrap; align-items: flex-start; }
    .gs-fenster { flex: 1 1 100%; }
    .gs-tablet { flex: 1 1 55%; }
    .gs-telefon { flex: 0 1 34%; }
    .geraete-schau figcaption { min-height: 0; }
}

/* Programmseite: „Das gibt es so nur bei …“ (01.11.2026) */
.einzig { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.einzig li { position: relative; background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 24px 22px 22px; box-shadow: 0 16px 36px -30px rgba(22, 32, 44, .5); overflow: hidden; }
.einzig li::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--f); }
.einzig-nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--f); color: #fff; font: 800 18px/1 var(--anzeige); box-shadow: 0 10px 20px -12px var(--f); margin-bottom: 16px; }
.einzig h3 { margin: 0 0 8px; font: 700 18.5px/1.3 var(--anzeige); color: var(--tinte); letter-spacing: -.01em; }
.einzig p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
@media (max-width: 1100px) { .einzig { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .einzig { grid-template-columns: minmax(0, 1fr); } }

/* Startseite: automatisches Einlesen hervorheben (01.11.2026) */
.einlesen-marke { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 16px 7px 12px; border-radius: 99px; background: #E8F1FA; color: #1F5F99; font: 700 13.5px/1 var(--schrift); letter-spacing: .02em; }
.einlesen-marke::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #2B74B8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E") center / 11px no-repeat; }
.einlesen-punkte { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.einlesen-punkte li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; background: #fff; border: 1px solid var(--linie); border-radius: 99px; font: 600 15px/1.2 var(--schrift); color: var(--tinte); box-shadow: 0 8px 20px -16px rgba(22, 32, 44, .5); }
.einlesen-punkte li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #E3F3EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177245' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Titelbild der Startseite: Foto, davor SIRIUS auf dem Tablet, darauf der Preiszettel (01.11.2026) */
.titelbild:has(.tb-foto) { aspect-ratio: 100 / 92; }
.tb-foto { position: absolute; top: 0; right: 0; width: 90cqw; height: 78cqh; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .55); }
.tb-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.tb-tablet { position: absolute; left: 0; bottom: 0; width: 60cqw; padding: 1cqw; border-radius: 3.2cqw; box-shadow: 0 34px 60px -26px rgba(15, 23, 42, .6); }
.tb-tablet img { border-radius: 2.3cqw; }

.lk-buehne.lk-ohne-bild { min-height: 320px; }
.lk-buehne.lk-ohne-bild > .lk-zeichen { width: 120px; }
.lk-zeichen { width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; background: var(--f); color: #fff; box-shadow: 0 24px 44px -20px var(--f); }
.lk-zeichen svg { width: 60px; height: 60px; stroke-width: 1.5; }

/* ── Titelbild wie im Flyer, aber groß ── */
@media (min-width: 1001px) {
    .buehne-in { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
    .titelbild { width: min(100%, 640px); }
}

/* ── Freundlicher Grund: warmes Weiß mit weichen Flächen in Apricot, Honig und Salbei ── */
body, body:has(.p-sirius), body:has(.p-clientra), body:has(.p-polaris), body:has(.p-antares) { background: #FFFBF4; }
body::before {
    background:
        radial-gradient(46vmax 34vmax at 8% 10%, rgba(251, 176, 96, .30), transparent 70%),
        radial-gradient(40vmax 32vmax at 94% 6%, rgba(250, 150, 130, .20), transparent 70%),
        radial-gradient(46vmax 34vmax at 86% 78%, rgba(122, 190, 150, .26), transparent 70%),
        radial-gradient(38vmax 30vmax at 12% 88%, rgba(250, 206, 92, .26), transparent 70%);
}
.kopf { background: rgba(255, 251, 244, .82); }
.kapitel-band { background: linear-gradient(90deg, var(--f-hell, #FBEBD3), rgba(255, 255, 255, .35) 70%); }
.hauptakt { background: transparent; }

/* ── Sicherheit: Überschrift linksbündig über den Kästchen (rechte Spalte von .sicher) ── */
#sicherheit .hauptakt-kopf { --spalt: clamp(28px, 4vw, 64px); max-width: none; margin-left: calc((100% - var(--spalt)) * .25 + var(--spalt)); margin-right: 0; text-align: left; }
#sicherheit .hauptakt-kopf p { margin-left: 0; }

/* ── Siegel im Titelbild: so lange gibt es CASALIX ── */

/* ── Rollenkarten: Bisher, Mit … und Haken stehen in allen Karten auf gleicher Höhe ── */
@media (min-width: 1001px) {
    .rolle { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; }
}

/* ── Verbund: alle vier Programme, das eigene hervorgehoben ── */
.verbund a.dieser { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .13); }

/* ── Lichtkasten mit Menü (Vorbild POLARIS): Themenliste, große Ansicht, Text ohne Seitenlauf ── */
.lk-menue { display: flex; gap: 4px; background: #F7F9FB; }
.lk-menue-kopf { font: 700 12px/1.2 var(--schrift); letter-spacing: .14em; color: var(--f, var(--akzent)); }
.lk-menue button { flex: none; border: 0; border-radius: 10px; background: none; padding: 9px 12px; font: 600 14px/1.3 var(--schrift); color: var(--text); text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.lk-menue button:hover { background: #EAF0F6; }
.lk-menue button[aria-current] { background: var(--akzent); color: #fff; }
.lk-karte.nur-bild .lk-menue { display: none; }
@media (min-width: 1001px) {
    .lk-karte:not(.nur-bild) { display: grid; grid-template-columns: 224px minmax(0, 1fr); width: min(1480px, 100%); height: min(88vh, 860px); max-height: none; overflow: hidden; }
    .lk-menue { flex-direction: column; grid-column: 1; grid-row: 1; padding: 26px 14px; overflow: auto; border-right: 1px solid #E2E8F0; }
    .lk-menue-kopf { padding: 0 12px 10px; }
    .lk-blatt { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .85fr); height: 100%; min-height: 0; overflow: hidden; }
    .lk-buehne { overflow: auto; }
    .lk-text { overflow: auto; }
    .lk-fuss { position: sticky; bottom: -28px; margin-bottom: -28px; padding-bottom: 20px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%); }
}
@media (max-width: 1000px) {
    .lk-menue { position: sticky; top: 0; z-index: 2; align-items: center; padding: 10px 60px 10px 12px; overflow-x: auto; border-bottom: 1px solid #E2E8F0; }
    .lk-menue-kopf { display: none; }
    .lk-menue button { white-space: nowrap; }
}

/* ── Kapitel wie die Innenseite des Flyers: 01–04, Wortmarke, Zeile in Programmfarbe, Kernsatz, Haken, Handschrift ── */
.kapitel-band .kapitel-titel .marke { font-size: 1.15em; }
.kapitel-unter { margin: 2px 0 0 !important; font: 700 13px/1.35 var(--schrift) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--f) !important; }
.kapitel-abschnitt:has(.p-sirius), .kapitel-abschnitt:has(.p-clientra), .kapitel-abschnitt:has(.p-polaris), .kapitel-abschnitt:has(.p-antares) { position: relative; }
.kapitel-abschnitt:has(.p-sirius) { background: linear-gradient(180deg, #E6F0F7cc, transparent 70%); }
.kapitel-abschnitt:has(.p-clientra) { background: linear-gradient(180deg, #E3F2F0cc, transparent 70%); }
.kapitel-abschnitt:has(.p-polaris) { background: linear-gradient(180deg, #ECEBF8cc, transparent 70%); }
.kapitel-abschnitt:has(.p-antares) { background: linear-gradient(180deg, #F7E8ECcc, transparent 70%); }
.programm-kapitel h3 { margin-top: 0; }
.kapitel-punkte { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.kapitel-punkte li { position: relative; padding-left: 25px; font-size: 15px; font-weight: 600; color: var(--tinte); }
.kapitel-punkte li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--f); -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
.programm-kapitel .kapitel-spruch { text-align: left; width: auto; margin: 20px 0 0 !important; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.1; color: var(--f); }
body:has(.p-polaris .seitenkopf-programm)::before { --pf: #5B57C9; }
@media (max-width: 520px) { .kapitel-punkte { grid-template-columns: minmax(0, 1fr); } }

/* Flüssiges Scrollen (03.11.2026): Unschärfe hinter Flächen muss die Grafikkarte bei jedem Bild neu
   rechnen, sichtbar ist sie auf dem ruhigen Grund nicht. Gemessen: 64 % weniger Grafiklast beim Scrollen.
   Nur Lichtkasten und Dialoge behalten sie, dort steht die Seite still. */
.kopf, .kapitelleiste, .karte, .bereich, .funktion, .probe-feld, .ein-sirius, .rechner, .stapel-blatt, .schau-schritte button, .land-tafel,
.schluss, .cl-meldung, .rolle, .abschnitt.nacht .verbund a { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.kapitelleiste { background: rgba(255, 255, 255, .98); }
/* Was gerade nicht im Blick ist, ruht (haus.js setzt .ruht). */
.ruht *, .ruht *::before, .ruht *::after { animation-play-state: paused !important; }

/* Branchen: Karten führen auf ihre Seite, die ganze Karte ist anklickbar. */
.branchen-karten li { position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.branchen-karten li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--akzent), 0 16px 32px -22px rgba(22, 32, 44, .35); }
.branchen-karten b a { color: inherit; text-decoration: none; }
.branchen-karten b a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.branchen-karten img { grid-row: span 2; width: 48px; height: 48px; }
.branche-leistungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px 24px; }
@media (max-width: 900px) { .vorteile.branchen-karten { grid-template-columns: 1fr; } }
.vorteile.branchen-karten.zwei-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .vorteile.branchen-karten.zwei-spalten { grid-template-columns: 1fr; } }
.branche-leistungen { list-style: none; padding: 0; margin: 0; }
.branche-leistungen li { padding: 14px 18px; border-radius: 12px; background: var(--papier); border: 1px solid var(--linie); }
.branche-leistungen li::before { display: none; }
.branche-fragen { max-width: 780px; }
.branche-fragen h3 { margin: 26px 0 6px; }
.branche-fragen p { margin: 0 0 8px; }
.branche-fragen .knopf { margin-top: 20px; }

/* Hilfe-Beispiel: die Originalzeichen aus SIRIUS. Ziel = Symbol der Zielverfolgung, Kontingent = „aufholbar“-Zeichen der Zielleiste. */
.ha-eintrag i.ziel, .ha-eintrag i.kontingent { display: grid; place-items: center; background: none; box-shadow: none; }
.ha-eintrag i.ziel { color: #1F72AA; }
.ha-eintrag i.kontingent { border-radius: 50%; background: #D97706; color: #fff; padding: 4px; }
.ha-eintrag i svg { display: block; width: 100%; height: 100%; }

/* Branchenseiten: kräftiger Kopf mit Fenster und Telefon, volles Farbband, Programme in ihren Farben. */
.branche-kopf { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(90% 120% at 85% 10%, var(--f-hell), transparent 70%), linear-gradient(180deg, var(--f-hell), transparent 85%); overflow-x: clip; }
.branche-kopf-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(18px, 3vw, 36px); }
.branche-kopf h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.branche .zweiter { color: var(--f); display: inline; }
.branche-kopf .vorspann { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); }
.branche-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.branche .knopf:not(.zweit) { background: var(--f); }
.branche-buehne { position: relative; padding-bottom: 6%; padding-left: 7%; }
.branche-telefon { position: absolute; left: 0; bottom: 0; width: 22%; z-index: 2; }
.branche-band { background: linear-gradient(120deg, var(--f), color-mix(in srgb, var(--f) 72%, #0F172A)); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.branche-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; }
.branche-band .branche-leistungen { margin-top: 28px; }
.branche-band .branche-leistungen li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.branche-band .branche-leistungen li::before { content: ''; display: block; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.branche-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: clamp(32px, 4vw, 48px) 0 0; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(255, 255, 255, .28); }
.branche-zahlen dt { font: 800 clamp(36px, 4.4vw, 60px)/1 var(--anzeige); letter-spacing: -.03em; color: #fff; }
.branche-zahlen dd { margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-size: 15px; }
.branche-thema { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.branche .verweis { display: inline-flex; margin-top: 18px; color: var(--f); }
.branche-programme li { border-top: 4px solid var(--f); }
.branche-programme img { width: 56px; height: 56px; }
.branche-programme b a { color: var(--f); }
.branche-alltag svg { background: var(--f-hell); color: var(--f); }
@media (max-width: 1000px) { .branche-kopf-in { grid-template-columns: 1fr; } .branche-zahlen { grid-template-columns: 1fr; gap: 16px; } }
.branche-kopf-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.branche-kopf h1 { font-size: clamp(34px, 3.9vw, 50px); hyphens: auto; }
.branche .programm-kapitel { padding: clamp(44px, 5.5vw, 80px) 0; }
.branche .programm-kapitel + .programm-kapitel { border-top: 1px solid var(--linie); }
.branche .verweis { align-items: center; gap: 10px; }
.branche .verweis svg { width: 18px; height: 18px; flex: none; }
.branche-programme b a { font-size: 19px; }
.kopf-tel svg { flex: none; width: 18px; height: 18px; }
.kopf-tel { white-space: nowrap; }

/* Telefon um echte Fotos: wie .telefon-rahmen, Maße in cqi bezogen auf die Breite des Telefons. */
.schirm-handy { container-type: inline-size; padding: 0; border-radius: 15.5% / 7.4%; background: linear-gradient(135deg, #5B5F66 0%, #2A2D32 18%, #17191D 50%, #2A2D32 82%, #62666D 100%); }
.handy-flaeche { display: block; position: relative; margin: 3cqi; border-radius: 12.5cqi; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5cqi #050608; }
.handy-flaeche::before { content: ''; position: absolute; z-index: 3; top: 2.6cqi; left: 50%; width: 29cqi; height: 8.2cqi; transform: translateX(-50%); border-radius: 99px; background: #050608; }
.handy-flaeche.mit-rand { padding: 13cqi 0 7cqi; }
.schirm-handy .handy-flaeche img { border-radius: 0; }
.schirm-handy { container-type: normal; }
.handy-huelle { display: block; container-type: inline-size; }

/* Menü: Beim Darüberfahren kippt der Planet, ein kleiner Mond zieht einmal um ihn herum. */
.klappe .punkt { position: relative; overflow: hidden; transition: background-color .25s ease; }
.klappe .punkt img { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.klappe .punkt::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--f); opacity: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .klappe a:hover .punkt img, .klappe a:focus-visible .punkt img { transform: rotate(-16deg) scale(1.16); }
    .klappe a:hover .punkt::after, .klappe a:focus-visible .punkt::after { opacity: 1; animation: mond-kreis 1.6s linear infinite; }
}
@keyframes mond-kreis { from { transform: rotate(0deg) translateX(16px) scale(1); } 50% { transform: rotate(180deg) translateX(16px) scale(.7); } to { transform: rotate(360deg) translateX(16px) scale(1); } }
.schirm-handy { width: 100%; }

/* ── Siegel „25 Jahre Erfahrung“ auf dem Titelbild: rund und rot, feiner Ring, ruhiger Glanz ── */
.tb-siegel { position: absolute; top: -1.5cqh; left: -3.5cqw; z-index: 2; display: grid; place-content: center; justify-items: center; width: 15cqw; aspect-ratio: 1; border-radius: 50%; rotate: -6deg; text-align: center; color: #fff;
    background: radial-gradient(circle at 34% 26%, #E2404A 0, var(--rot) 46%, var(--rot-tief) 100%);
    box-shadow: inset 0 0 0 .4cqw var(--rot-tief), inset 0 0 0 .85cqw #fff, 0 .3cqw .7cqw rgba(90, 15, 20, .3), 0 2.2cqw 3.4cqw -1.4cqw rgba(90, 15, 20, .55); }
.tb-siegel b { font: 800 5.6cqw/.95 var(--anzeige); letter-spacing: -.035em; }
.tb-siegel span { margin-top: .35cqw; font: 700 1.42cqw/1.12 var(--schrift); letter-spacing: .02em; }
@media (max-width: 1000px) { .tb-siegel { width: 19cqw; left: -1.5cqw; } .tb-siegel b { font-size: 7cqw; } .tb-siegel span { font-size: 1.85cqw; } }

/* ── Fotoband mit Slogan (Startseite) ── */
.foto-band { position: relative; display: flex; align-items: center; min-height: 520px; overflow: hidden; color: #fff; }
.foto-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.foto-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 27, 48, .86) 0, rgba(13, 27, 48, .62) 38%, rgba(13, 27, 48, 0) 68%); }
.foto-band .wrap { position: relative; z-index: 2; width: 100%; }
.foto-band h2 { margin: 0 0 14px; color: #fff; font: 800 clamp(38px, 4.4vw, 60px)/1.05 var(--anzeige); letter-spacing: -.03em; }
.foto-band-weiter { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.foto-band-weiter svg { width: 18px; height: 18px; }
.foto-band p { max-width: 460px; margin: 0; font-size: 19px; line-height: 1.5; color: #fff; }
@media (max-width: 1000px) { .foto-band { min-height: 420px; } .foto-band::before { background: linear-gradient(90deg, rgba(13, 27, 48, .84) 0, rgba(13, 27, 48, .55) 70%, rgba(13, 27, 48, .3) 100%); } }

/* ── Breites Foto mit Slogan unter dem Band „Warum CASALIX“ ── */
.foto-breit { position: relative; margin-top: 34px; margin-bottom: 10px; }
.foto-breit-in { position: relative; overflow: hidden; border-radius: 18px; }
.foto-breit-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 27, 48, .78) 0, rgba(13, 27, 48, 0) 46%); }
.foto-breit img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 40%; }
.foto-breit p { position: absolute; z-index: 1; left: 34px; right: 24px; bottom: 22px; margin: 0; color: #fff; font: 800 clamp(26px, 3vw, 42px)/1.08 var(--anzeige); letter-spacing: -.025em; }
@media (max-width: 1000px) { .foto-breit img { aspect-ratio: 3 / 2; } .foto-breit p { left: 18px; bottom: 14px; } }

/* ── Programmseiten: die drei Sätze links, das Foto rechts ── */
.kern-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.kern-zwei .abschnitt-kopf { display: block; margin-bottom: 26px; }
.kern-zwei .abschnitt-kopf .hand { display: block; margin-top: 14px; }
.kern-zwei .punkte-karten { display: grid; grid-template-columns: minmax(0, 1fr); }
.kern-foto { position: relative; min-height: 420px; margin: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .55); }
.kern-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-sirius .kern-foto img { object-position: 38% 45%; }
.p-clientra .kern-foto img { object-position: 62% 40%; }
.p-polaris .kern-foto img { object-position: 55% 60%; }
.p-antares .kern-foto img { object-position: 50% 34%; }
@media (max-width: 1000px) { .kern-zwei { grid-template-columns: minmax(0, 1fr); } .kern-foto { min-height: 0; aspect-ratio: 3 / 2; } }
.kern-zwei .abschnitt-kopf .spruch-zeile { margin: 16px 0 0; max-width: none; font-size: clamp(30px, 2.7vw, 38px); font-weight: 600; line-height: 1.08; text-align: left; white-space: nowrap; }
@media (max-width: 520px) { .kern-zwei .abschnitt-kopf .spruch-zeile { font-size: 27px; white-space: normal; } }

/* Rufnummer im Kopf: mehr Luft zwischen den Ziffern und zum Symbol */
.kopf-tel { flex: none; gap: 9px; letter-spacing: .015em; word-spacing: .08em; font-variant-numeric: tabular-nums; }
.kopf-rechts { flex: none; gap: 22px; }
/* Rufnummer mittig zwischen Menü und Knopf: links und rechts gleich viel Luft */
@media (min-width: 1331px) { .kopf-rechts { flex: 1; gap: 0; margin-left: -28px; justify-content: flex-end; } .kopf-tel { margin-inline: auto; } }
.kopf .knopf { flex: none; }
@media (min-width: 1001px) { .kopf-in { gap: 18px; } .menue { margin-left: 4px; min-width: 0; } .menue > a, .menue > div > button { padding: 0 10px; } }

/* Wortlaut des Rahmenvertrags auf der Länderseite */
.land-wortlaut-titel { margin: 40px 0 16px; font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--anzeige); letter-spacing: -.02em; color: var(--tinte); }
.land-wortlaut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0 0 28px; padding: 0; }
.land-wortlaut li { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--linie); }
.land-wortlaut small { font-size: 12.5px; font-weight: 700; color: var(--akzent); }
.land-wortlaut b { color: var(--tinte); font-size: 16px; line-height: 1.35; }
.land-wortlaut span { color: var(--text); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .land-wortlaut { grid-template-columns: minmax(0, 1fr); } }

/* Kontaktangaben mit kleinem Bildzeichen (x-symbol) */
.k-sym { display: inline-block; flex: none; width: 1em; height: 1em; margin-right: .45em; vertical-align: -.14em; color: var(--akzent); }
.k-zeile { display: flex; align-items: flex-start; margin-top: 4px; }
.k-zeile .k-sym { margin-top: .22em; }
.tel .k-sym { width: .82em; height: .82em; vertical-align: -.06em; }
.land-mass { margin: 0 0 22px; padding: 16px 20px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--linie); color: var(--text); }
.land-mass b { color: var(--tinte); }

/* Oben sofort klar: Es geht um Software */
.buehne-software { margin: 16px 0 0; font: 700 clamp(20px, 1.75vw, 25px)/1.25 var(--anzeige); letter-spacing: -.015em; color: var(--tinte); text-wrap: balance; }

/* Aktion bis 31.12.2026: schmal ganz oben, ohne Scrollen sichtbar */
.aktion-band { background: linear-gradient(100deg, #B5121B, #8E0D14); color: #fff; padding: 10px 0; }
.aktion-band-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.aktion-siegel { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #B5121B; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); transform: rotate(-7deg); }
.aktion-siegel b { font: 800 19px/1 var(--anzeige); letter-spacing: -.02em; white-space: nowrap; }
.aktion-dach { margin: 0 0 1px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFD9DB; }
.aktion-satz { margin: 0; color: #fff; font-size: 16px; line-height: 1.35; }
.aktion-satz b { font: 800 18px/1.2 var(--anzeige); color: #fff; }
.aktion-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: #fff; color: #8E0D14; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.aktion-knopf:hover { background: #FFE9EA; }
@media (max-width: 760px) {
    .aktion-band-in { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
    .aktion-siegel { width: 50px; height: 50px; } .aktion-siegel b { font-size: 16px; }
    .aktion-satz { font-size: 14px; } .aktion-satz b { font-size: 16px; display: block; }
    .aktion-knopf { grid-column: 1 / -1; width: 100%; min-height: 44px; }
}
/* Rabattcode im Preisrechner */
.rechner-code { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); }
.rechner-code label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--tinte); }
.rechner-code div { display: flex; gap: 8px; }
.rechner-code input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--linie); border-radius: 12px; font: 600 16px var(--anzeige, Inter); letter-spacing: .03em; text-transform: uppercase; color: var(--tinte); background: #fff; }
.rechner-code .knopf { min-height: 46px; padding: 0 16px; font-size: 15px; }
.rechner-code-meldung { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; color: #B5121B; font-weight: 500; }
.rechner-code.gueltig .rechner-code-meldung { color: #15803D; }
.rechner-code.gueltig input { border-color: #15803D; }
[data-rechner-vorher] { display: block; font-size: 16px; color: var(--leise); }
[data-rechner-vorher][hidden] { display: none; }

/* ══ iPad-Aufnahmen im schmalen Tablet-Rahmen, Telefone mit eigener Statusleiste (06.11.2026) ══ */
.schirm-tablet { width: 100%; text-align: left; color: inherit; }
.handy-flaeche.eigene-insel::before { display: none; }
.fu-kachel-bild > .schirm-tablet { position: absolute; left: 7%; right: 7%; top: 9%; padding: 4px; border-radius: 13px; box-shadow: 0 18px 38px -22px rgba(15, 23, 42, .5); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.fu-kachel-bild > .schirm-tablet img { border-radius: 9px; }
button.fu-kachel:hover .fu-kachel-bild > .schirm-tablet { transform: translateY(-6px); }
.lk-buehne .schirm-tablet { padding: 7px; border-radius: 22px; }
.lk-buehne .schirm-tablet img { border-radius: 15px; }

/* ══ Schaufenster der Programmseiten (06.11.2026, teile/schaufenster, haus.js) ══════════════════
   Links die Kapitel als Reiter (Nummer, Stichwort, Zustand, Balken als Uhr), rechts die Bühne mit
   übereinanderliegenden Bildern, die weich überblenden. */
.schaufenster { padding-top: clamp(56px, 6vw, 96px); }
.sf { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); grid-template-rows: auto 1fr; gap: 14px clamp(28px, 4vw, 60px); align-items: start; }
.sf-reiter { grid-column: 1; grid-row: 1; position: relative; display: flex; flex-direction: column; gap: 6px; }
.sf-tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; width: 100%; margin: 0; padding: 14px 16px 16px; text-align: left; font: inherit; color: inherit; cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: 16px; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.sf-tab:hover { background: color-mix(in srgb, var(--f-hell) 55%, transparent); }
.sf-tab.aktiv { background: #fff; border-color: var(--linie); box-shadow: 0 16px 34px -26px rgba(22, 32, 44, .5); }
.sf-tab:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.sf-nr { grid-row: 1 / span 2; padding-top: 3px; font: 600 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--leise); letter-spacing: .04em; transition: color .3s ease; }
.sf-tab.aktiv .sf-nr { color: var(--f); }
.sf-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sf-kopf b { font: 700 17.5px/1.25 var(--anzeige); color: var(--tinte); letter-spacing: -.01em; }
.sf-kopf small { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--f-hell); color: var(--f); font: 600 12.5px/1.3 var(--schrift); }
.sf-satz { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1); }
.sf-satz > span { min-height: 0; overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--text); }
.sf-tab.aktiv .sf-satz { grid-template-rows: 1fr; }
.sf-tab.aktiv .sf-satz > span { padding-top: 6px; }
.sf-lauf { grid-column: 2; display: block; height: 3px; margin-top: 12px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--f) 14%, transparent); opacity: 0; transition: opacity .3s ease; }
.sf-lauf i { display: block; width: 100%; height: 100%; background: var(--f); transform: scaleX(0); transform-origin: left center; }
.sf.laeuft .sf-tab.aktiv .sf-lauf { opacity: 1; }
.sf.laeuft .sf-tab.aktiv .sf-lauf i { animation: sf-lauf 7s linear forwards; }
.sf.pausiert .sf-tab.aktiv .sf-lauf i { animation-play-state: paused; }
@keyframes sf-lauf { to { transform: scaleX(1); } }
.sf-halt { grid-column: 1; grid-row: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0 16px; padding: 7px 14px 7px 10px; border: 1px solid var(--linie); border-radius: 99px; background: #fff; color: var(--text); font: 600 13.5px/1 var(--schrift); cursor: pointer; }
.sf-halt[hidden] { display: none; }
.sf-halt:hover { color: var(--tinte); border-color: color-mix(in srgb, var(--f) 40%, var(--linie)); }
.sf-halt:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.sf-halt svg { width: 15px; height: 15px; color: var(--f); }
.sf-halt .sf-halt-weiter, .sf-halt.steht .sf-halt-pause { display: none; }
.sf-halt.steht .sf-halt-weiter { display: block; }

.sf-buehne { grid-column: 2; grid-row: 1 / span 2; position: relative; aspect-ratio: 100 / 74; }
.sf-sirius .sf-buehne { aspect-ratio: 100 / 70; }
.sf-bild { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.992); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .7s; }
.sf-bild.aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.sf-gross, .sf-klein { position: absolute; }
.sf-klein { z-index: 2; transform: translateY(18px); transition: transform 1s cubic-bezier(.22, 1, .36, 1) .1s; }
.sf-bild.aktiv .sf-klein { transform: none; }
/* CLIENTRA: das iPad rechts oben, davor links unten versetzt das iPhone */
.sf-clientra .sf-gross { top: 0; right: 0; width: 85%; }
.sf-clientra .sf-klein { left: 0; bottom: 0; width: 22%; }
.sf-clientra .sf-bild.allein .sf-gross { right: 0; width: 100%; }
.sf .schirm-tablet { padding: 9px; border-radius: 26px; }
.sf .schirm-tablet img { border-radius: 18px; }
/* SIRIUS: das Browserfenster links oben, davor rechts unten das Telefon */
.sf-sirius .sf-gross { top: 0; left: 0; width: 88%; }
.sf-sirius .sf-klein { right: 0; bottom: 0; width: 19.5%; }
.sf-sirius .sf-bild.allein .sf-gross { left: 4%; width: 92%; top: 4%; }

@media (max-width: 1000px) {
    .sf { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 18px; }
    .sf-buehne { grid-column: 1; grid-row: 1; }
    .sf-reiter { grid-column: 1; grid-row: 2; flex-direction: row; gap: 10px; margin-inline: -16px; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .sf-reiter::-webkit-scrollbar { display: none; }
    .sf-tab { flex: 0 0 min(78%, 340px); scroll-snap-align: start; background: #fff; border-color: var(--linie); }
    .sf-satz { grid-template-rows: 1fr; }
    .sf-satz > span { padding-top: 6px; }
    .sf-halt { grid-column: 1; grid-row: 3; margin-left: 0; }
}
@media (max-width: 560px) {
    .sf-clientra .sf-buehne { aspect-ratio: 100 / 84; }
    .sf-clientra .sf-gross { width: 88%; }
    .sf-clientra .sf-klein { width: 27%; }
    .sf-sirius .sf-buehne { aspect-ratio: 100 / 80; }
    .sf-sirius .sf-klein { width: 25%; }
    .sf .schirm-tablet { padding: 5px; border-radius: 16px; }
    .sf .schirm-tablet img { border-radius: 11px; }
    .sf .schirm-lupe { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-bild, .sf-bild.aktiv, .sf-klein, .sf-satz, .sf-tab { transition: none; }
    .sf-bild { transform: none; }
}

/* Startseite CLIENTRA: iPad, davor versetzt das iPhone (06.11.2026) */
.geraete-duo { position: relative; padding: 0 0 12% 10%; }
.gd-klein { position: absolute; left: 0; bottom: 0; width: 24%; z-index: 2; }
.geraete-duo .schirm-tablet { padding: 7px; border-radius: 22px; }
.geraete-duo .schirm-tablet img { border-radius: 15px; }

/* ══ Kurze Programmseiten (07.11.2026, SIRIUS und CLIENTRA) ═════════════════════════════════════ */
/* Kopfmenü: die Bereiche des Schaufensters unter dem Programm */
.klappe-programm { display: flex; flex-direction: column; min-width: 0; }
.klappe .klappe-bereiche { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: -4px 0 8px; padding: 0 12px 0 68px; }
.klappe .klappe-bereiche a { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--f-hell); color: var(--f); font-size: 13px; font-weight: 600; line-height: 1.3; }
.klappe .klappe-bereiche a:hover, .klappe .klappe-bereiche a:focus-visible { background: var(--f); color: #fff; }
.schublade-bereiche { display: none; }
@media (max-width: 920px) {
    .schublade-bereiche { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 4px 0 14px 42px; border-bottom: 1px solid var(--linie); }
    .schublade .schublade-bereiche a { display: inline-block; padding: 6px 12px; border: 0; border-radius: 99px; background: var(--f-hell); color: var(--f); font-size: 14.5px; font-weight: 600; }
    .schublade a.p-sirius, .schublade a.p-clientra { border-bottom: 0; }
}
/* Sprungziele unter dem festen Kopf */
.sf-tab, .fu-kachel, .fu-auch-knopf { scroll-margin-top: calc(var(--kopf, 72px) + 24px); }
/* Kurz gesagt: drei Karten in einer Reihe */
.einzig.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kurz-abschnitt .abschnitt-kopf { align-items: center; }
.kurz-abschnitt .spruch-zeile { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: var(--f); }
@media (max-width: 1100px) { .einzig.drei { grid-template-columns: minmax(0, 1fr); } }
/* Weitere Themen als Knöpfe, Verbund als eine Zeile */
.fu-auch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 0; font-size: 15px; color: var(--text); }
.fu-auch > span { font-weight: 600; color: var(--tinte); margin-right: 4px; }
.fu-auch-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid var(--linie); border-radius: 99px; background: #fff; font: 600 14.5px/1.2 var(--schrift); color: var(--tinte); cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.fu-auch-knopf svg { width: 17px; height: 17px; color: var(--f); }
.fu-auch-knopf:hover { border-color: color-mix(in srgb, var(--f) 45%, var(--linie)); transform: translateY(-1px); }
.fu-auch-knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.cosmos-zeile { display: flex; align-items: center; gap: 14px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 16px 20px; background: #fff; border: 1px solid var(--linie); border-radius: 16px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.cosmos-zeile img { flex: none; }
.cosmos-zeile b { color: var(--tinte); }
.cosmos-zeile a { color: var(--akzent); font-weight: 600; }
/* Startseite: SIRIUS und CLIENTRA gestrafft, drei Punkte untereinander (07.11.2026) */
.kapitel-punkte.drei { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.kapitel-punkte.drei li { font-size: 17px; }

/* Flüssig II (24.11.2026)
   1. Länderkacheln zitterten: Die Kachel hob sich beim Zeigen um 3 px, stand die Maus am unteren
      Rand, rutschte sie unter dem Zeiger weg, verlor das Zeigen, fiel zurück — immer wieder.
      ::after verlängert die Trefferfläche nach unten, so bleibt das Zeigen stabil.
   2. Schatten und Puls werden nicht mehr in jedem Bild neu gemalt: Sie liegen fest auf ::before,
      bewegt wird nur noch die Deckkraft (das erledigt die Grafikkarte).
   3. Der Farbgrund hinter der Seite liegt auf eigener Ebene und wird beim Scrollen nie neu gemalt. */
body::before { will-change: transform; transform: translateZ(0); contain: strict; }
.kachelkarte button { transition: transform .15s ease, background-color .15s ease; will-change: transform; }
.kachelkarte button::after { content: ''; position: absolute; inset: 0 0 -6px 0; border-radius: inherit; }
.kachelkarte button::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .15s ease;
    box-shadow: inset 0 0 0 2px var(--la), 0 12px 24px -12px color-mix(in srgb, var(--la) 60%, transparent); }
.kachelkarte button:not([aria-pressed='true']):hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--la, var(--tinte)) 28%, #fff); }
.kachelkarte button:not([aria-pressed='true']):hover::before { opacity: 1; }
.kachelkarte:not(.beruehrt) button[aria-pressed='true'] { animation: none; }
.kachelkarte:not(.beruehrt) button[aria-pressed='true']::before { box-shadow: 0 0 0 8px color-mix(in srgb, var(--la) 18%, transparent); transition: none; animation: kachel-ring 2.2s ease-in-out infinite; }
@keyframes kachel-ring { 50% { opacity: 1; } }
/* Der rote Puls auf den freien Zellen im Mitmach-Bild: ebenfalls nur noch Deckkraft. */
.probe-bild .probe-zelle:not(.belegt) { animation: none; }
.probe-bild .probe-zelle:not(.belegt)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 3px rgba(220, 38, 38, .25); opacity: 0; animation: kachel-ring 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .kachelkarte button::before, .probe-bild .probe-zelle::after { animation: none !important; } }
/* 4. Diaschau „POLARIS plant selbst“ (kurz vor ANTARES): Der Zeitbalken wuchs über width, das ließ die
      Seite in jedem Bild neu setzen — sechs Sekunden, immer wieder. Jetzt wie im Schaufenster über scaleX. */
.schau-zeit { width: 100%; transform: scaleX(0); transform-origin: left center; }
@keyframes schau-zeit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.schau.angehalten .schau-zeit { width: 100%; transform: scaleX(0); }

/* Preisdeckel „Nur ambulant“ (24.11.2026, teile/preisdeckel): Balken steigen bis 100 Personen, dann fest. */
.deckel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-gross); background: #fff; box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -40px rgba(22, 32, 44, .3); }
.deckel h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 6px 0 12px; }
.deckel h3 em { color: var(--clientra); }
.deckel-text > p:not(.kicker) { font-size: 15.5px; line-height: 1.6; color: var(--text); margin: 0; }
.deckel-fakten { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.deckel-fakten li { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--clientra) 7%, #fff); }
.deckel-fakten b { display: block; font-family: var(--anzeige); font-size: 24px; color: var(--tinte); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.deckel-fakten span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--leise); margin-top: 3px; }
.deckel-bild { margin: 0; }
.deckel-bild svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.deckel-grund { stroke: var(--linie); stroke-width: 1.5; }
.deckel-linie { stroke: var(--clientra); stroke-width: 2; stroke-dasharray: 6 6; }
.deckel-marke { fill: var(--clientra); font-size: 15px; font-weight: 700; }
.deckel-saeule rect { fill: color-mix(in srgb, var(--clientra) 38%, #fff); transition: fill .2s ease; }
.deckel-saeule.fest rect { fill: var(--clientra); }
.deckel-saeule.an rect { fill: var(--tinte); }
.deckel-wert { fill: var(--tinte); font-size: 14px; font-weight: 700; }
.deckel-anzahl { fill: var(--tinte); font-size: 15px; font-weight: 700; }
.deckel-je { fill: var(--leise); font-size: 13.5px; }
.deckel-saeule.fest .deckel-je { fill: var(--clientra); font-weight: 700; }
.deckel-achse { fill: var(--leise); font-size: 12.5px; }
@media (max-width: 900px) { .deckel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .deckel-fakten { grid-template-columns: minmax(0, 1fr); } }

/* ── Stempeluhr: das Telefon liest den Code ein (01.12.2026) ──────────────────
   Eine Zeichnung über dem echten Bildschirmfoto: Das Telefon schiebt sich ins Bild, der Lesestrich
   fährt zweimal über den Sucher, dann erscheint der Haken. Läuft einmal, wenn der Abschnitt
   sichtbar wird, und noch einmal beim Darüberfahren. */
.mit-stempel-handy { position: relative; }
.stempel-handy { position: absolute; right: 7%; bottom: -9%; width: 19%; aspect-ratio: 9 / 18.5; padding: 1.1%; border-radius: 15% / 7.5%; background: #10161E; box-shadow: 0 26px 44px -18px rgba(15, 23, 42, .6); transform: rotate(9deg); z-index: 3; pointer-events: none; }
.stempel-handy::before { content: ''; position: absolute; left: 50%; top: 3.2%; width: 30%; height: 3.4%; margin-left: -15%; border-radius: 99px; background: #10161E; z-index: 2; }
.sh-schirm { position: absolute; inset: 3.6% 5.5%; border-radius: 12% / 6%; overflow: hidden; background: linear-gradient(165deg, #2B2F8F 0%, #3A2C86 55%, #6B2A63 100%); display: grid; place-items: center; }
.sh-sucher { position: absolute; left: 16%; right: 16%; top: 30%; aspect-ratio: 1; border-radius: 12%;
    background: linear-gradient(#fff, #fff) 0 0 / 28% 3px no-repeat, linear-gradient(#fff, #fff) 0 0 / 3px 28% no-repeat, linear-gradient(#fff, #fff) 100% 0 / 28% 3px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 3px 28% no-repeat,
                linear-gradient(#fff, #fff) 0 100% / 28% 3px no-repeat, linear-gradient(#fff, #fff) 0 100% / 3px 28% no-repeat, linear-gradient(#fff, #fff) 100% 100% / 28% 3px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 3px 28% no-repeat; }
.sh-strich { position: absolute; left: 20%; right: 20%; top: 33%; height: 2px; border-radius: 2px; background: #7DE3B4; box-shadow: 0 0 10px 2px rgba(125, 227, 180, .7); opacity: 0; }
.sh-ok { position: absolute; left: 50%; top: 30%; width: 46%; aspect-ratio: 1; margin-left: -23%; margin-top: 11%; border-radius: 50%; background: #16A34A; display: grid; place-items: center; transform: scale(0); }
.sh-ok svg { width: 58%; height: 58%; }
.sh-ok path { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (prefers-reduced-motion: no-preference) {
    .js .stempel-handy { opacity: 0; transform: translate(34%, 42%) rotate(24deg); }
    .js .modul-bild.da .stempel-handy, .js .sf-bild.aktiv .stempel-handy { opacity: 1; transform: rotate(9deg); transition: opacity .3s .5s, transform .9s cubic-bezier(.3, 1.35, .45, 1) .5s; }
    .modul-bild.da .sh-strich, .sf-bild.aktiv .sh-strich { animation: sh-lesen 1.1s ease-in-out 1.5s 2 alternate; }
    .modul-bild.da .sh-sucher, .sf-bild.aktiv .sh-sucher { animation: sh-weg .3s ease 3.7s forwards; }
    .modul-bild.da .sh-ok, .sf-bild.aktiv .sh-ok { animation: sh-da .5s cubic-bezier(.3, 1.6, .5, 1) 3.8s forwards; }
    .modul-bild.da .sh-ok path, .sf-bild.aktiv .sh-ok path { animation: sh-haken .35s ease-out 4.1s forwards; }
    .modul-bild.da:hover .sh-strich, .modul-bild.da:hover .sh-sucher, .modul-bild.da:hover .sh-ok, .modul-bild.da:hover .sh-ok path { animation-name: none; }
    @keyframes sh-lesen { 0% { opacity: 1; top: 33%; } 100% { opacity: 1; top: 60%; } }
    @keyframes sh-weg { to { opacity: 0; } }
    @keyframes sh-da { to { transform: scale(1); } }
    @keyframes sh-haken { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { .sh-ok { transform: scale(1); } .sh-ok path { stroke-dashoffset: 0; } .sh-sucher { opacity: 0; } }
@media (max-width: 700px) { .stempel-handy { width: 24%; bottom: -6%; } }
.sf-satz strong { display: block; margin-bottom: 4px; font: 800 17px/1.25 var(--anzeige); letter-spacing: -.01em; color: var(--tinte); }

/* ── Schaufenster mit mehr Schwung (01.12.2026) ───────────────────────────────
   Hinter dem Bild ein weiches Leuchten in der Programmfarbe, das langsam wandert. Beim Wechsel
   schwenkt das neue Bild von der Seite herein, das alte kippt nach hinten weg. Der aktive Reiter trägt
   einen Farbstreifen. Die Geräte stehen still, wenn man sich darüber bewegt (kein Neigen zur Maus).
   Alles nur, wenn der Mensch Bewegung zulässt. */
.sf-buehne { perspective: 1600px; }
.sf-buehne::before { content: ''; position: absolute; inset: -6% -4% 2% -4%; z-index: 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side at 32% 38%, color-mix(in srgb, var(--f) 30%, transparent), transparent 70%), radial-gradient(closest-side at 74% 66%, color-mix(in srgb, var(--f) 20%, #FFE45C 14%), transparent 68%);
    filter: blur(34px); opacity: .75; }
.sf-bild { z-index: 1; }
.sf-tab.aktiv { border-color: color-mix(in srgb, var(--f) 26%, var(--linie)); box-shadow: 0 22px 40px -28px color-mix(in srgb, var(--f) 70%, rgba(22, 32, 44, .6)); }
.sf-tab::before { content: ''; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--f); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.3, 1.4, .45, 1); }
.sf-tab.aktiv::before { transform: scaleY(1); }
.sf-tab.aktiv .sf-kopf b { color: var(--f); }
@media (prefers-reduced-motion: no-preference) {
    .sf-buehne::before { animation: sf-leuchten 14s ease-in-out infinite alternate; }
    @keyframes sf-leuchten { to { transform: translate(3%, -3%) scale(1.08) rotate(8deg); } }
    .sf-bild { transform: translateX(-7%) rotateY(18deg) scale(.9); transform-origin: 0 50%; filter: blur(6px); transition: opacity .45s ease, transform .7s cubic-bezier(.5, 0, .7, .4), filter .45s ease, visibility 0s linear .7s; }
    .sf-bild.aktiv { transform: none; filter: none; animation: sf-herein .95s cubic-bezier(.2, .9, .25, 1.12) both; transition: opacity .5s ease, filter .5s ease, visibility 0s; }
    @keyframes sf-herein { from { opacity: 0; transform: translateX(9%) rotateY(-16deg) scale(.92); filter: blur(8px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; } }
    .sf-tab { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .35s cubic-bezier(.3, 1.4, .45, 1); }
    .sf-tab:hover { transform: translateX(4px); }
    .sf-tab.aktiv { transform: translateX(6px); }
}
@media (max-width: 1000px) { .sf-buehne::before { display: none; } .sf-tab.aktiv, .sf-tab:hover { transform: none; } }

/* ── Bildschirmfotos veredelt (01.12.2026) ────────────────────────────────────
   Nur die Fassung wird feiner, das Foto selbst bleibt unberührt: Fensterleiste mit farbigen Punkten,
   Schatten in mehreren Lagen mit einem Hauch Programmfarbe, feine Lichtkante, beim Darüberfahren
   hebt sich das Bild und ein Lichtstreif zieht einmal darüber. Telefon und Tablet mit Glaskante. */
.schirm { border: 1px solid rgba(15, 23, 42, .1); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 22px -12px rgba(15, 23, 42, .22), 0 44px 80px -44px color-mix(in srgb, var(--f, #1F72AA) 60%, rgba(15, 23, 42, .55)); }
.schirm-leiste { padding: 10px 14px; background: linear-gradient(180deg, #FCFDFE, #EEF2F7); border-bottom: 1px solid rgba(15, 23, 42, .08); box-shadow: inset 0 1px 0 #fff; }
.schirm-leiste i { width: 10px; height: 10px; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.schirm-leiste i:nth-child(1) { background: #FF6159; }
.schirm-leiste i:nth-child(2) { background: #FFBD2E; }
.schirm-leiste i:nth-child(3) { background: #28C941; }
.schirm-leiste span { font: 600 12px/1.3 var(--schrift); letter-spacing: .01em; color: #5B6675; }
.schirm::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%); transform: translateX(-130%); }
.schirm-handy { box-shadow: 0 2px 4px rgba(15, 23, 42, .12), 0 22px 36px -18px rgba(15, 23, 42, .45), 0 50px 70px -40px color-mix(in srgb, var(--f, #1F72AA) 55%, rgba(15, 23, 42, .6)); }
.handy-flaeche { box-shadow: 0 0 0 .5cqi #050608, inset 0 0 0 .3cqi rgba(255, 255, 255, .08); }
.handy-flaeche::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(128deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, 0) 26%); }
.schirm-tablet { background: linear-gradient(135deg, #5B5F66 0%, #2A2D32 18%, #17191D 50%, #2A2D32 82%, #62666D 100%); box-shadow: 0 2px 4px rgba(15, 23, 42, .1), 0 20px 34px -18px rgba(15, 23, 42, .4), 0 50px 80px -44px color-mix(in srgb, var(--f, #138273) 55%, rgba(15, 23, 42, .6)); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .zoombar { transition: transform .45s cubic-bezier(.2, .9, .3, 1.15), box-shadow .45s ease; }
    .zoombar:hover { transform: translateY(-6px) scale(1.008); }
    .schirm.zoombar:hover { box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 30px -14px rgba(15, 23, 42, .26), 0 60px 100px -46px color-mix(in srgb, var(--f, #1F72AA) 70%, rgba(15, 23, 42, .6)); }
    .schirm.zoombar:hover::after { transform: translateX(130%); transition: transform .9s cubic-bezier(.3, 0, .2, 1); }
}

/* ── Lenas Weg als Linie (01.12.2026): statt des roten Fadens auf den Unterseiten ─────────── */
.lena-linie { position: relative; height: 104px; margin: 22px 76px 0; --halt: .78; }
.lena-linie.ll-h1 { --halt: .2; } .lena-linie.ll-h2 { --halt: .4; } .lena-linie.ll-h3 { --halt: .6; } .lena-linie.ll-h4 { --halt: .8; }
.ll-weg { position: absolute; left: -22px; right: -24px; top: 72px; height: 3px; background: radial-gradient(circle, color-mix(in srgb, var(--rot) 45%, #fff) 1.4px, transparent 1.6px) 0 50% / 9px 3px repeat-x; }
.ll-weg i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--halt) * (100% - 46px) + 22px); background: var(--rot); border-radius: 2px; transform-origin: 0 50%; }
.ll-weg b { position: absolute; top: -10px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--leise); box-shadow: inset 0 0 0 2px #D5DBE3; font: 800 12px/1 var(--anzeige); }
.ll-weg .ll-p1 { left: calc(.2 * (100% - 46px) + 22px); } .ll-weg .ll-p2 { left: calc(.4 * (100% - 46px) + 22px); } .ll-weg .ll-p3 { left: calc(.6 * (100% - 46px) + 22px); } .ll-weg .ll-p4 { left: calc(.8 * (100% - 46px) + 22px); }
.ll-weg b.war, .ll-weg b.hier { background: var(--rot); color: #fff; box-shadow: none; }
.ll-weg b.hier { box-shadow: 0 0 0 5px color-mix(in srgb, var(--rot) 16%, #fff); }
.ll-ort { position: absolute; top: 52px; width: 60px; display: grid; justify-items: center; color: var(--tinte); }
.ll-ort svg { width: 36px; height: 36px; background: var(--ll-grund, transparent); }
.ll-ort em { font-family: var(--hand); font-style: normal; font-weight: 700; font-size: 16px; line-height: 1.2; margin-top: -4px; color: #1E3A8A; }
.ll-start { left: -78px; } .ll-ziel { right: -78px; }
.ll-bus { position: absolute; top: 3px; left: calc(var(--halt) * 100%); width: 72px; margin-left: -36px; display: block; text-decoration: none; z-index: 2; }
.ll-bus .lena-bus { display: block; width: 72px; height: auto; overflow: visible; }
.ll-bus .lb-arm { transform-box: view-box; transform-origin: 42.3px 9.7px; }
.ll-bus .lb-rad { transform-box: fill-box; transform-origin: 50% 50%; }
.ll-schild { position: absolute; left: 60px; top: -8px; padding: 3px 11px 5px; border-radius: 14px 14px 14px 3px; background: #FFE45C; color: #1E3A8A; font-family: var(--hand); font-weight: 700; font-size: 19px; line-height: 1.1; white-space: nowrap; transform: rotate(-3deg); transform-origin: 0 100%; transition: transform .35s cubic-bezier(.3, 1.5, .45, 1); }
.lena-linie.ll-h4 .ll-schild, .lena-linie:not([class*="ll-h"]) .ll-schild { left: auto; right: 60px; border-radius: 14px 14px 3px 14px; transform-origin: 100% 100%; transform: rotate(3deg); }
.ll-bus:hover .ll-schild { transform: rotate(0) scale(1.06); }
.ll-bus:focus-visible { outline: 3px solid var(--rot); outline-offset: 6px; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) {
    .ll-bus .lb-arm { animation: ll-winken 3.4s ease-in-out infinite; }
    @keyframes ll-winken { 0%, 62%, 100% { transform: rotate(0); } 68% { transform: rotate(20deg); } 74% { transform: rotate(-12deg); } 80% { transform: rotate(20deg); } 86% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } }
    /* Der Bus fährt von zu Hause an seine Stelle, sobald die Linie sichtbar wird. */
    .js .lena-linie.zeigen .ll-bus { left: 0; }
    .js .lena-linie.zeigen .ll-weg i { transform: scaleX(0); }
    .js .lena-linie.zeigen .ll-schild { opacity: 0; }
    .js .lena-linie.zeigen.da .ll-bus { left: calc(var(--halt) * 100%); transition: left 2.4s cubic-bezier(.3, .1, .2, 1) .3s; }
    .js .lena-linie.zeigen.da .ll-weg i { transform: none; transition: transform 2.4s cubic-bezier(.3, .1, .2, 1) .3s; }
    .js .lena-linie.zeigen.da .ll-schild { opacity: 1; transition: opacity .3s 2.7s, transform .35s cubic-bezier(.3, 1.5, .45, 1); }
    .js .lena-linie.zeigen.da .lb-rad { animation: ll-rad .5s linear 5 .3s; }
    .js .lena-linie.zeigen.da .lb-wagen { animation: ll-hoppeln .32s ease-in-out 7 .3s; }
    @keyframes ll-rad { to { transform: rotate(360deg); } }
    @keyframes ll-hoppeln { 50% { transform: translateY(-.35px) rotate(-.6deg); } }
}
@media (max-width: 760px) { .lena-linie { margin: 8px 58px 0; } .ll-start { left: -62px; } .ll-ziel { right: -62px; } .ll-schild { font-size: 16px; } }

/* Unauffälliger Weg, ein falsch erkanntes Land zu ändern (01.12.2026). */
.fuss-ort { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.fuss-ort:hover { opacity: 1; }

/* ── Programme-Menü als breite Tafel (01.12.2026) ─────────────────────────────
   Vier Programme nebeneinander als Lenas vier Stationen, oben ihre Linie. Jede Spalte: großes Zeichen,
   Name, Aufgabe, Kernsatz aus dem Flyer, darunter die Bereiche als Liste. */
.menue > div[data-klappe] { position: static; }
.mega { position: fixed; left: 50%; top: calc(var(--kopf) + 8px); z-index: 60; width: min(1180px, calc(100vw - 40px)); max-height: calc(100vh - var(--kopf) - 24px); overflow-y: auto; padding: 22px 22px 18px; display: none;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border-radius: 28px; box-shadow: 0 0 0 1px rgba(22, 32, 44, .08), 0 2px 6px rgba(22, 32, 44, .05), 0 40px 90px -30px rgba(22, 32, 44, .45); transform: translateX(-50%); }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.offen > .mega { display: block; }
.mega-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 2px 8px 18px; }
.mega-titel { font: 800 20px/1 var(--anzeige); letter-spacing: -.02em; color: var(--tinte); white-space: nowrap; }
.mega-titel em { font-style: normal; color: #2C68B0; }
.mega-weg { height: 3px; background: radial-gradient(circle, color-mix(in srgb, var(--rot) 45%, #fff) 1.4px, transparent 1.6px) 0 50% / 9px 3px repeat-x; position: relative; }
.mega-weg i { position: absolute; inset: 0; background: var(--rot); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); }
.mega-lena { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hand); font-weight: 700; font-size: 23px; line-height: 1; color: var(--rot); text-decoration: none; white-space: nowrap; }
.mega-lena svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.3, 1.5, .45, 1); }
.mega-lena:hover svg { transform: translateX(5px); }
.mega-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-spalte { display: flex; flex-direction: column; border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--f) 9%, #fff) 0%, color-mix(in srgb, var(--f) 3%, #fff) 46%, #fff 100%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--f) 14%, #fff); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease; }
/* Die Karte bleibt beim Darüberfahren stehen und hebt sich nicht ab (Wunsch 01.12.2026): nur der Rand zeigt, wo man ist. */
.mega-spalte:hover, .mega-spalte:focus-within { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--f) 55%, #fff); }
.mega-karte { position: relative; display: grid; gap: 0; padding: 20px 18px 14px; text-decoration: none; border-radius: 20px 20px 0 0; }
.mega-nr { position: absolute; right: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--rot); color: #fff; font: 800 13px/1 var(--anzeige); }
.mega-karte img { width: 48px; height: 48px; margin-bottom: 14px; filter: drop-shadow(0 8px 12px color-mix(in srgb, var(--f) 45%, transparent)); transition: transform .6s cubic-bezier(.3, 1.5, .45, 1); }
.mega-spalte:hover .mega-karte img { transform: rotate(-16deg) scale(1.14); }
.mega-karte strong { font: 800 21px/1 var(--anzeige); letter-spacing: .04em; color: var(--f); }
.mega-karte strong i { font-style: normal; font-weight: 700; letter-spacing: 0; color: #9AA4AF; }
.mega-karte small { margin-top: 8px; font: 700 11px/1.35 var(--schrift); letter-spacing: .09em; text-transform: uppercase; color: var(--f); min-height: 4.05em; }
.mega-satz { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--text); min-height: 4.35em; }
.mega-auf { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--f); }
.mega-auf svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.3, 1.5, .45, 1); }
.mega-karte:hover .mega-auf svg { transform: translateX(4px); }
.mega-bereiche { list-style: none; margin: 0 10px 10px; padding: 8px 0 0; border-top: 1px solid color-mix(in srgb, var(--f) 16%, #fff); display: grid; grid-template-columns: 1fr; gap: 0; }
.mega-bereiche a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--tinte); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.mega-bereiche a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--f); flex: none; transition: transform .25s cubic-bezier(.3, 1.6, .45, 1); }
.mega-bereiche a:hover, .mega-bereiche a:focus-visible { background: color-mix(in srgb, var(--f) 12%, #fff); color: var(--f); }
.mega-bereiche a:hover::before { transform: scale(1.8); }
.mega-fuss { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; margin-top: 16px; padding: 14px 8px 0; border-top: 1px solid var(--linie); font-size: 14px; color: var(--leise); }
.mega-fuss > a:first-child { font-weight: 600; color: var(--tinte); text-decoration: none; }
.mega-fuss > a:first-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-fuss .knopf { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
@media (prefers-reduced-motion: no-preference) {
    .offen > .mega { animation: mega-auf .32s cubic-bezier(.2, .9, .3, 1.1) both; }
    @keyframes mega-auf { from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.985); } to { opacity: 1; transform: translateX(-50%); } }
    .offen > .mega .mega-spalte { animation: mega-spalte .5s cubic-bezier(.2, .9, .3, 1.15) both; }
    .offen > .mega .mega-spalte:nth-child(2) { animation-delay: .06s; } .offen > .mega .mega-spalte:nth-child(3) { animation-delay: .12s; } .offen > .mega .mega-spalte:nth-child(4) { animation-delay: .18s; }
    @keyframes mega-spalte { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
    .offen > .mega .mega-weg i { transform: none; transition: transform 1s cubic-bezier(.3, .1, .2, 1) .15s; }
}
@media (prefers-reduced-motion: reduce) { .mega-weg i { transform: none; } }

/* Adresse im Fußbereich (01.12.2026): alle Zeilen beginnen an derselben Kante, die Zeichen stehen davor. */
.fuss address { padding-left: 1.45em; }
.fuss address .k-zeile { margin-left: -1.45em; }

/* Fuß-Überschriften sind h3 (saubere Reihenfolge der Überschriften), sehen aber aus wie zuvor. */
.fuss h3.fuss-h { font-family: var(--anzeige); font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--tinte); margin: 0 0 14px; letter-spacing: 0; text-wrap: initial; }

/* SIRIUS: Verweise auf die Seiten je Bogen */
.bogen-verweise { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 18px; padding-bottom: 6px; font-size: 14.5px; color: var(--leise); }
.bogen-verweise a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); color: var(--tinte); font-weight: 600; text-decoration: none; transition: box-shadow .2s, color .2s; }
.bogen-verweise a:hover { box-shadow: inset 0 0 0 1.5px var(--sirius); color: var(--sirius); }
