/*
 * casalix.de — die Handschrift des Hauses.
 * =============================================================================================
 *
 * **Aus einer Feder mit ENTRACON.** CASALIX ist die Software-Marke der ENTRACON
 * Projektservicegesellschaft. Wer beide Seiten nacheinander sieht, soll erkennen, dass sie
 * zusammengehören — ohne dass eine die Kopie der anderen ist. Übernommen ist deshalb das
 * Gerüst, nicht das Motiv:
 *
 *   Farbe       Tiefes Marineblau (#061c30) als Grund, Lindgrün (#d0d859) als **einziger**
 *               Akzent, Markenblau (#176ab2) für Verweise. Werte aus entracon-website.
 *   Schrift     Archivo für Überschriften, Inter für den Text, JetBrains Mono für Kleinteiliges.
 *               Dieselbe Dreiteilung, dieselben Dateien.
 *   Kopf        Meta-Zeile, riesige Überschrift mit der letzten Zeile im Akzent, Trennlinie,
 *               darunter links der Vorspann und rechts die Schaltflächen.
 *   Leiste      Am Fuß des Kopfes die vier Bereiche, durchnummeriert 01–04, mit Pfeil.
 *   Rhythmus    Abschnitte im Wechsel weiß / hellgrau, dazwischen eine dunkle Fläche.
 *
 * **Eigen bleibt, was CASALIX ausmacht.** ENTRACON legt ein Liniennetz aus Dreiecken über die
 * dunklen Flächen — Fachwerk, Rechennetz, Rohrleitung. Hier steht dasselbe Prinzip, aber als
 * **Sternenkarte**: Knoten und Verbindungen, gleiche Machart, anderes Motiv. Die Programme
 * heißen nach Sternen, das Bild kommt also aus der Sache und nicht aus der Vorlage.
 *
 * **Und die Randspalte bleibt.** Acht Wettbewerber angesehen — myneva, GETECO, rocom, i-SOFT,
 * Kilanka, somedo, symdok, BeWoPlaner. Fast niemand nennt einen Paragraphen, niemand stellt ihn
 * neben die Aussage. Genau das ist im Produkt gebaut: Jede Regel nennt ihre Fundstelle. Rechts
 * neben dem Satz steht der Beleg — wie in einem juristischen Kommentar. Das ist der Teil, den
 * kein Wettbewerber kopieren kann, ohne die Software dahinter zu haben.
 *
 * Diese Datei liegt ÜBER branchen.css und ändert nur, was das Haus ausmacht.
 */

/* ============================================================ Schrift */

@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,
                   U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('/assets/fonts/archivo-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,
                   U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
                   U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('/assets/fonts/archivo-latin-800-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,
                   U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('/assets/fonts/archivo-latin-ext-800-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,
                   U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
                   U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ============================================================ Farben des Hauses */

/*
 * **Das Gerüst von ENTRACON, die Farben von CASALIX.**
 *
 * ENTRACON trägt tiefes Marineblau mit Lindgrün. Das Gerüst übernehmen wir, die Farben nicht —
 * CASALIX hat eigene, und sie stehen seit Jahren auf casalix.de:
 *
 *     #2988bc   das Blau — Schaltflächen, Rahmen, Akzente
 *     #007194   das dunkle Petrol — Fußzeile und Flächen
 *     #ed8c72   das Korallrot — dort färbt es die Verweise im Fließtext
 *
 * **Blau führt.** Es trägt die Schaltflächen, die Verweise, die Linien über den Abschnitten.
 *
 * **Und das Rot bekommt genau drei Aufgaben** — mehr wäre keine Nuance mehr, sondern eine zweite
 * Hauptfarbe, und zwei Hauptfarben ergeben keine Handschrift:
 *
 *     1. das hervorgehobene Wort in der großen Überschrift,
 *     2. die Nummerierung 01–04 in der Bereichsleiste und den Verzeichnissen,
 *     3. der Paragraph in der Randspalte — die Stelle, auf die es uns ankommt.
 */
:root {
    /* Der tiefe Grund — er trägt jetzt nur noch zwei Abschnitte, nicht mehr die ganze Seite. */
    --cx-tinte: #04222f;
    --cx-tinte-2: #073446;
    --cx-tinte-3: #0a4a63;

    --cx-marke: #2988bc;        /* das Blau von casalix.de */
    --cx-marke-tief: #007194;   /* das dunkle Petrol */
    --cx-marke-hell: #8ec9e4;
    --cx-marke-blass: #e8f3fa;  /* die freundliche Fläche */
    --cx-marke-hauch: #f4fafd;

    --cx-akzent: #ed8c72;       /* das Korallrot */
    --cx-akzent-stark: #e0765a;
    --cx-akzent-dunkel: #b1543c;
    --cx-akzent-blass: #fdefeb;

    /*
     * **Ein Ton Sonne.** Blau und Koralle allein bleiben kühl-elegant. Für die freundliche
     * Wirkung fehlt ein warmer, heller Ton — er trägt keine Aussagen, sondern Flächen:
     * die Kennzahlen, den Schlussruf, ein paar Kacheln.
     */
    --cx-sonne: #f7c948;
    --cx-sonne-blass: #fff7e2;

    --cx-schwarz: #14181b;
    --cx-papier: #ffffff;
    --cx-papier-2: #f4f8fb;
    --cx-leise: #5b6874;
    --cx-linie: #e1e8ed;

    --cx-hell: rgba(255, 255, 255, .70);
    --cx-heller: rgba(255, 255, 255, .48);
    --cx-linie-dunkel: rgba(255, 255, 255, .16);

    /* Freundlich heißt rund. Kanten sind sachlich, Radien sind einladend. */
    --cx-rund: 22px;
    --cx-rund-klein: 14px;

    --cx-display: 'Archivo', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.br { background: var(--cx-papier); }

/* ============================================================ Typografie */

/*
 * Die Grade und Laufweiten sind dieselben wie bei ENTRACON (`.display--xl`, `--lg`, `--md`),
 * damit beide Auftritte im selben Takt sprechen.
 */
.cx-kopf h1, .cx-pkopf h1, .br-kopf h1,
.br-teil > .br-wrap > h2, .cx-text h2, .cx-ruf h2,
.cx-prog h3, .cx-weg-halt h3, .br-karte h3, .cx-kontakt h3, .cx-andere b, .cx-stern b {
    font-family: var(--cx-display);
    font-weight: 700;
}
.cx-kopf h1 { font-size: clamp(2.9rem, .9rem + 6.2vw, 6.6rem); line-height: .95; letter-spacing: -.038em; }
.cx-pkopf h1, .br-kopf h1 { font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.032em; }
.br-teil > .br-wrap > h2, .cx-text h2, .cx-ruf h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.025em; line-height: 1.1; }
.cx-kopf h1, .cx-pkopf h1, .br-kopf h1, .br-teil > .br-wrap > h2, .cx-text h2, .cx-ruf h2 { text-wrap: balance; }

/* Die letzte Zeile der großen Überschrift trägt den Akzent — wie bei ENTRACON. */
.cx-kopf h1 em, .cx-pkopf h1 em { font-style: normal; color: var(--cx-akzent); }

.cx-lead, .br-lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.28rem); line-height: 1.6; color: var(--text-secondary); }
.cx-nacht .cx-lead { color: var(--cx-hell); }

/* ============================================================ Das Trägerwerk — Sternenkarte */

/*
 * ENTRACON legt ein Liniennetz über dunkle Flächen und schreibt dazu, es mache sie „ohne
 * Fotografie tragfähig". Dasselbe Prinzip, anderes Motiv: Knoten mit Verbindungen, eine
 * Sternenkarte — die Programme heißen nach Sternen.
 *
 * **Sie liegt jetzt auf hellem Grund.** Der dunkle Kopf war ernst und beeindruckend, aber nicht
 * einladend. Auf Weiß mit dünnen blauen Linien und farbigen Knoten wird aus derselben Zeichnung
 * etwas Helles.
 */
.cx-nacht { position: relative; background: var(--cx-tinte); color: #fff; overflow: hidden; isolation: isolate; }
.cx-nacht::before {
    content: ''; position: absolute; inset: -30% -10% auto -10%; height: 110%;
    background: radial-gradient(52% 62% at 68% 4%, rgba(41, 136, 188, .34), transparent 72%);
    pointer-events: none; z-index: -2;
}
.cx-sterne { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }

/* ============================================================ Kopf — hell und farbig */

/*
 * **Licht statt Schleier.**
 *
 * Der Kopf lag lange dunkel: ein Foto über die ganze Fläche, darüber ein Schleier in der
 * Hausfarbe, damit weiße Schrift darauf lesbar blieb. Technisch richtig, im Eindruck falsch —
 * der halbe Bildschirm war grau, und ein Haus, das Menschen begleitet, empfängt niemanden im
 * Dämmerlicht.
 *
 * Jetzt trägt Papier den Kopf, und die Farbe steht dort, wo sie etwas bedeutet: in den vier
 * Zeilen der Überschrift, je eine je Programm.
 */
.cx-kopf {
    position: relative; padding: 84px 0 0; overflow: hidden; isolation: isolate;
    background: var(--cx-papier);
    color: var(--text-primary);
}
/*
 * **Kein Farbverlauf hinter der Schrift.**
 *
 * Zuerst lag der Kopf dunkel unter einem Foto, dann hell unter vier großen Farbfeldern. Beides
 * war falsch, nur anders: Aus vier überlagerten Feldern wird in der Mitte Grau, und was als
 * Atmosphäre gedacht war, sah aus wie ein verlaufener Druck.
 *
 * Die Farbe gehört nicht in den Hintergrund, sondern an die Sache: Jedes Programm trägt sie in
 * seiner Zeile — als Kante, als Nummer, als Name. Der Grund darunter bleibt Papier, mit einem
 * einzigen warmen Hauch oben rechts, damit das Weiß nicht klinisch wirkt.
 */
.cx-augen {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--cx-leise); margin-bottom: 30px;
}
.cx-augen b { color: var(--cx-akzent-dunkel); font-weight: 500; }
.cx-augen::after { content: ''; flex: 0 0 32px; height: 1px; background: var(--cx-linie); order: -1; }

.cx-kopf h1 { margin: 0; color: var(--cx-tinte); max-width: 15ch; }
.cx-kopf h1 em { font-style: normal; color: var(--cx-akzent-stark); }

.cx-kopf-unten {
    margin-top: 34px; padding: 30px 0 0;
    border-top: 1px solid var(--cx-linie);
    display: grid; gap: 40px; align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
}
.cx-kopf-unten .cx-lead { max-width: 52ch; margin: 0; color: var(--text-secondary); }
.cx-kopf-unten .br-tat { gap: 12px; margin-top: 28px; }
@media (max-width: 1000px) { .cx-kopf-unten { grid-template-columns: 1fr; } }

/* ============================================================ Die Bereichsleiste */

/*
 * Vier Programme, durchnummeriert, mit Pfeil — dasselbe Bauteil wie bei ENTRACON, aber hell und
 * in den Farben der Programme. Jede Kachel trägt einen Hauch ihrer eigenen Farbe; beim
 * Überfahren hebt sie sich. Das ist der freundlichste Ort der Seite, weil dort die Entscheidung
 * fällt.
 */
.cx-leiste { background: transparent; border: none; padding-bottom: 12px; }
.cx-leiste-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cx-leiste-teil {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 22px 24px; text-decoration: none;
    color: var(--text-primary); font-size: 16px; font-weight: 650;
    border-radius: var(--cx-rund);
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 9%, #fff);
    border: 1px solid color-mix(in srgb, var(--f, var(--cx-marke)) 22%, transparent);
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.cx-leiste-teil:hover {
    color: var(--text-primary); transform: translateY(-4px);
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 15%, #fff);
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--f, var(--cx-marke)) 55%, transparent);
}
.cx-leiste-teil .idx {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    color: var(--f, var(--cx-marke)); margin-right: 12px;
}
.cx-leiste-teil .pfeil { flex: none; color: var(--f, var(--cx-marke)); transition: transform .22s ease; }
.cx-leiste-teil:hover .pfeil { transform: translateX(5px); }
.cx-leiste-teil .zustand {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cx-leise); display: block; margin-top: 5px; font-weight: 500;
}
@media (prefers-reduced-motion: reduce) { .cx-leiste-teil:hover { transform: none; } }
@media (max-width: 860px) { .cx-leiste-in { grid-template-columns: 1fr; } }

/* ============================================================ Die Randspalte — unser Eigenes */

/*
 * Rechts neben der Aussage steht der Beleg. Auf dem hellen Grund bekommt er eine eigene, weiche
 * Fläche — dann ist er nicht mehr Fußnote, sondern ein Kärtchen, das man gern liest.
 */
.cx-satz { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 52px; align-items: start; }
.cx-belege {
    background: #fff; border: 1px solid var(--cx-linie); border-radius: var(--cx-rund);
    padding: 22px 24px; box-shadow: 0 18px 40px -28px rgba(4, 34, 47, .45);
}
.cx-belege-kopf {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--cx-leise); margin: 0 0 14px;
}
.cx-beleg {
    font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7;
    color: var(--cx-leise); margin: 0;
}
.cx-beleg b { display: block; font-weight: 500; color: var(--cx-akzent-dunkel); margin-bottom: 4px; }
.cx-beleg + .cx-beleg { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cx-linie); }
.cx-nacht .cx-belege { background: rgba(255,255,255,.06); border-color: var(--cx-linie-dunkel); box-shadow: none; }
.cx-nacht .cx-beleg { color: var(--cx-hell); }
.cx-nacht .cx-beleg b { color: var(--cx-akzent); }
.cx-nacht .cx-beleg + .cx-beleg { border-top-color: var(--cx-linie-dunkel); }
@media (max-width: 1000px) {
    .cx-satz { grid-template-columns: 1fr; gap: 30px; }
    .cx-belege { max-width: 52ch; }
}

/* ============================================================ Schaltflächen */

.br-btn {
    background: var(--cx-marke); border-color: var(--cx-marke);
    color: #fff !important; border-radius: 6px; font-weight: 650;
}
.br-btn:hover { background: var(--cx-marke-tief); border-color: var(--cx-marke-tief); transform: translateY(-2px); }
.br-btn-still {
    background: transparent; color: var(--text-primary) !important; border-color: var(--border-strong);
}
.br-btn-still:hover { background: var(--cx-marke-blass); border-color: var(--cx-marke); }
.cx-nacht .br-btn-still { color: #fff !important; border-color: rgba(255,255,255,.3); }
.cx-nacht .br-btn-still:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.cx-nacht .br-tat .br-hin { color: var(--cx-heller); }
@media (prefers-reduced-motion: reduce) { .br-btn:hover { transform: none; } }

/* ============================================================ Kennzahlen */

.cx-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.cx-band > div { border-top: 1px solid var(--cx-linie-dunkel); padding: 22px 30px 0 0; }
.cx-band b {
    display: block; font-family: var(--cx-display); font-size: 44px; font-weight: 800;
    letter-spacing: -.035em; line-height: 1; color: var(--cx-marke-hell); font-variant-numeric: tabular-nums;
}
.cx-band span { display: block; font-size: 14px; line-height: 1.55; color: var(--cx-hell); margin-top: 14px; max-width: 26ch; }

/* ============================================================ Der Weg einer Leistung */

.cx-weg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.cx-weg-halt {
    position: relative; padding: 26px 26px 24px; display: flex; flex-direction: column;
    border-radius: var(--cx-rund); background: #fff;
    border: 1px solid var(--cx-linie);
}
.cx-weg-halt.ist-aus { background: var(--cx-papier-2); border-style: dashed; }
.cx-weg-halt::before { display: none; }
/* Die Nummer als farbiger Kreis — das freundlichste Ordnungszeichen, das es gibt. */
.cx-weg-punkt {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 15%, #fff);
    color: var(--f, var(--cx-marke)); font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    margin-bottom: 16px;
}
.cx-weg-halt.ist-aus .cx-weg-punkt { background: #fff; color: var(--cx-leise); border: 1px dashed var(--cx-linie); }
.cx-weg-nr { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--cx-leise); text-transform: uppercase; }
.cx-weg-halt h3 { font-size: 20px; letter-spacing: -.022em; margin: 8px 0 10px; }
.cx-weg-halt p { flex: 1 1 auto; margin: 0 0 16px; font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); }
.cx-weg-fuss { margin-top: auto; }
.cx-weg-halt a.cx-weg-prog {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 650; margin: 0 10px 6px 0;
    color: var(--f, var(--cx-marke)); text-decoration: none;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 11%, #fff);
    border-radius: 999px; padding: 6px 14px;
    transition: background-color .2s ease;
}
.cx-weg-halt a.cx-weg-prog::before { display: none; }
.cx-weg-halt a.cx-weg-prog:hover { background: color-mix(in srgb, var(--f, var(--cx-marke)) 20%, #fff); }
@media (max-width: 900px) { .cx-weg { grid-template-columns: 1fr; } }

/* ============================================================ Die Programme */

/*
 * **Aus Linien werden Karten.** Haarlinien und Weißraum waren ruhig und teuer — aber nicht
 * einladend. Jede Karte trägt jetzt einen Hauch ihrer Programmfarbe, runde Ecken und einen
 * Schatten, der beim Überfahren wächst. Das ist die freundlichste Form, die es für „hier gibt es
 * vier Dinge zur Auswahl" gibt.
 */
.cx-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .cx-progs { grid-template-columns: 1fr; } }

.cx-prog {
    display: flex; flex-direction: column; gap: 14px;
    padding: 32px 34px 30px; text-decoration: none; color: inherit;
    border-radius: var(--cx-rund);
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--f, var(--cx-marke)) 20%, transparent);
    position: relative; overflow: hidden;
    transition: transform .26s ease, box-shadow .26s ease;
}
.cx-prog::after {
    content: ''; position: absolute; inset: auto -30% -60% 40%; height: 130%;
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--f, var(--cx-marke)) 16%, transparent), transparent 70%);
    pointer-events: none; opacity: 0; transition: opacity .3s ease;
}
.cx-prog:hover {
    color: inherit; transform: translateY(-5px);
    box-shadow: 0 22px 46px -20px color-mix(in srgb, var(--f, var(--cx-marke)) 55%, transparent);
}
.cx-prog:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cx-prog:hover { transform: none; } }

.cx-prog-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cx-prog h3 { font-size: 26px; letter-spacing: -.026em; margin: 0; color: var(--f, var(--cx-marke-tief)); }
.cx-prog .cx-aufgabe { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cx-leise); }
.cx-prog p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--text-secondary); max-width: 46ch; }
.cx-prog ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--text-secondary); }
.cx-prog li { padding-left: 26px; position: relative; line-height: 1.5; }
.cx-prog li::before {
    content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 22%, #fff);
}
.cx-prog li::after {
    content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px;
    border-left: 1.8px solid var(--f, var(--cx-marke)); border-bottom: 1.8px solid var(--f, var(--cx-marke));
    transform: rotate(-45deg);
}
.cx-prog-fuss { margin-top: auto; padding-top: 20px; }
.cx-prog-mehr {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14.5px; font-weight: 650; color: var(--f, var(--cx-marke));
}

.cx-stand {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    white-space: nowrap; color: var(--cx-leise);
    background: rgba(255,255,255,.75); border-radius: 999px; padding: 5px 11px;
}
.cx-stand.ist-fertig { color: #15703f; background: #e6f6ec; }

/* ============================================================ Fundstellen als Liste */

.cx-para-liste { display: grid; gap: 0; }
.cx-para-zeile {
    display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 40px;
    padding: 24px 0; border-top: 1px solid var(--cx-linie);
}
.cx-para-liste > div:last-child { border-bottom: 1px solid var(--cx-linie); }
.cx-para-zeile dt { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--cx-marke); line-height: 1.7; }
.cx-para-zeile dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
@media (max-width: 780px) { .cx-para-zeile { grid-template-columns: 1fr; gap: 10px; } }

/* ============================================================ Produktseiten */

.cx-pkopf { padding: 42px 0 72px; }
.cx-pkopf .cx-pmarke { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
/* **Kein `uppercase` auf dem Produktnamen.** Er heißt „casalix.Sirius" mit kleinem
   Hausnamen; eine Versalsetzung machte daraus wieder „CASALIX.SIRIUS". */
.cx-pkopf .cx-pmarke b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: #fff; }
.cx-pkopf .cx-stern-punkt { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--f, var(--cx-marke-hell)); }
.cx-pkopf h1 { margin: 0 0 22px; color: #fff; max-width: 17ch; }
.cx-pkopf .cx-lead { max-width: 50ch; margin: 0 0 32px; }
.cx-pkopf .br-krumen { color: var(--cx-heller); padding-top: 26px; }
.cx-pkopf .br-krumen a { color: var(--cx-hell); }

.cx-wann { display: block; border-left: 2px solid var(--cx-marke); padding: 2px 0 2px 22px; margin: 0 0 32px; max-width: 56ch; }
.cx-wann-punkt { display: none; }
.cx-wann p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--cx-hell); }
.cx-wann strong {
    display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--cx-marke-hell); margin-bottom: 8px;
}

.cx-andere { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.cx-andere a { display: block; padding: 24px 34px 24px 0; text-decoration: none; color: inherit; border-top: 1px solid var(--cx-linie); }
.cx-andere a:hover { color: inherit; }
.cx-andere b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.cx-andere a:hover b { border-bottom-color: var(--f, var(--cx-marke)); }
.cx-andere span { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ============================================================ Marke, Kopf- und Fußzeile */

.br-marke-log { font-family: var(--cx-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text-primary); text-decoration: none; }
.br-nav { border-bottom: 1px solid var(--cx-linie); background: var(--cx-papier); }
.br-nav-links a.ist-hier { color: var(--text-primary); font-weight: 650; }
.br-fuss { background: var(--cx-tinte); color: var(--cx-hell); }
.br-fuss-marke { font-family: var(--cx-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 14px; }
.br-fuss-klein { font-size: 12.5px; color: var(--cx-heller); line-height: 1.45; display: block; margin-top: 1px; }
.br-fuss ul { gap: 11px; }
.br-fuss h3 { color: var(--cx-marke-hell); }

/* ============================================================ Textseiten */

.cx-text { max-width: 68ch; }
.cx-text h2 { margin: 56px 0 18px; }
.cx-text h2:first-child { margin-top: 0; }
.cx-text h3 { font-family: var(--cx-display); font-size: 20px; font-weight: 700; letter-spacing: -.018em; margin: 34px 0 10px; }
.cx-text p { font-size: 17px; line-height: 1.72; color: var(--text-secondary); margin: 0 0 20px; }
.cx-text p strong, .cx-text li strong { color: var(--text-primary); font-weight: 650; }
.cx-text ul { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 11px; }
.cx-text li { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.cx-text .cx-quelle {
    font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--cx-leise);
    display: block; margin: -8px 0 26px; padding-left: 16px; border-left: 3px solid var(--cx-marke);
}

.cx-inhalt { border-top: 2px solid var(--cx-marke); padding: 24px 0 0; margin-bottom: 52px; }
.cx-inhalt h2 { font-family: var(--font-mono) !important; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cx-leise); margin: 0 0 20px; font-weight: 500; }
.cx-inhalt ol { list-style: none; counter-reset: k; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 40px; }
@media (max-width: 700px) { .cx-inhalt ol { grid-template-columns: 1fr; } }
.cx-inhalt li { counter-increment: k; font-size: 16px; }
.cx-inhalt li::before { content: counter(k, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--cx-akzent-dunkel); margin-right: 14px; }
.cx-inhalt a { color: var(--text-primary); text-decoration: none; }
.cx-inhalt a:hover { color: var(--cx-marke); text-decoration: underline; text-underline-offset: 3px; }
.cx-text h2[id] { scroll-margin-top: 86px; }

/* ============================================================ Kontakt */

.cx-kontakt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (max-width: 720px) { .cx-kontakt { grid-template-columns: 1fr; } }
.cx-kontakt > div { padding: 30px 44px 30px 0; border-top: 1px solid var(--cx-linie); }
.cx-kontakt > div:nth-child(2n) { padding-left: 44px; border-left: 1px solid var(--cx-linie); }
@media (max-width: 720px) { .cx-kontakt > div, .cx-kontakt > div:nth-child(2n) { padding: 26px 0; border-left: none; } }
.cx-kontakt h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 12px; }
.cx-kontakt p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }
.cx-kontakt a { color: var(--cx-marke); font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }

/* ============================================================ Abschluss */

.cx-ruf {
    background: var(--cx-tinte); color: #fff; padding: 60px 56px; position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 44px; align-items: end;
}
.cx-ruf::after {
    content: ''; position: absolute; inset: auto -10% -70% 45%; height: 140%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(41, 136, 188, .26), transparent 70%);
    pointer-events: none;
}
.cx-ruf h2 { color: #fff; margin: 0 0 14px; max-width: 18ch; }
.cx-ruf p { margin: 0; color: var(--cx-hell); font-size: 16.5px; line-height: 1.62; max-width: 50ch; }
.cx-ruf-tat { display: flex; flex-direction: column; gap: 12px; min-width: 220px; position: relative; }
@media (max-width: 820px) { .cx-ruf { grid-template-columns: 1fr; padding: 36px 26px; align-items: start; } }

/* ============================================================ Bildplatzhalter */

.cx-platz { border: none !important; box-shadow: none !important; }
.cx-platz .cx-platz-feld {
    display: grid; place-items: center; gap: 16px; text-align: center;
    min-height: 340px; padding: 52px 32px;
    border: 1px dashed color-mix(in srgb, var(--f, var(--cx-marke)) 34%, transparent);
    background: var(--cx-papier-2);
}
.cx-platz .cx-platz-feld p { margin: 0; max-width: 40ch; font-family: var(--cx-display); font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.018em; color: var(--text-primary); }
.cx-platz figcaption { border: none !important; background: none !important; padding: 14px 0 0 !important; }

/* ============================================================ Abschnitte und Karten */

/* Rhythmus wie bei ENTRACON: py-24 / md:py-32, Wechsel weiß und hellgrau. */
.br-teil { padding: 96px 0; border-top: none; }
.br-teil.br-still { background: var(--cx-papier-2); }
.br-teil > .br-wrap > h2 { margin-bottom: 18px; }
.br-teil .br-unter { font-size: 17.5px; line-height: 1.62; max-width: 58ch; margin-bottom: 48px; color: var(--text-secondary); }
@media (max-width: 700px) { .br-teil { padding: 60px 0; } }

.br-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 44px; }
.br-karte {
    border: none; border-top: 2px solid var(--cx-marke); border-radius: 0;
    background: transparent; box-shadow: none; padding: 24px 0 30px;
}
.br-karte h3 { font-size: 19px; letter-spacing: -.018em; margin-bottom: 12px; }
.br-karte p { font-size: 15.5px; line-height: 1.65; }

.br-kacheln { gap: 0 36px; }
.br-kachel {
    border: none; border-top: 1px solid var(--cx-linie); border-radius: 0;
    background: transparent; box-shadow: none; padding: 18px 0 22px;
}
.br-kachel:hover { transform: none; box-shadow: none; border-top-color: var(--cx-marke); }
.br-kachel b { font-family: var(--cx-display); font-size: 17px; font-weight: 700; letter-spacing: -.015em; }

/* ============================================================ Kleinigkeiten */

.cx-nachsatz { margin-top: 26px !important; margin-bottom: 0 !important; }
.cx-nachsatz a { color: var(--cx-marke); font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.cx-gesichter, .cx-gesichter-satz, .cx-bild { display: none; }

/* ============================================================ Schmale Bildschirme */

@media (max-width: 880px) {
    .br-nav-in { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 10px; }
    .br-nav-links { width: 100%; margin-left: 0; order: 3; gap: 16px; font-size: 14px; flex-wrap: wrap; }
    .br-nav-links .br-btn { margin-left: auto; }
}
@media (max-width: 520px) {
    .br-nav-links { gap: 12px; font-size: 13.5px; }
    .br-nav-links .br-btn { width: 100%; margin-left: 0; text-align: center; }
    .cx-kopf .br-tat { flex-direction: column; align-items: stretch; }
    .cx-kopf .br-tat .br-btn { text-align: center; }
    .br-wrap { padding: 0 18px; }
    .cx-band > div { padding-right: 0; }
    .cx-prog-kopf { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================ Dunkelmodus */

@media (prefers-color-scheme: dark) {
    .br { background: var(--bg-canvas); }
    .br-nav { background: var(--bg-canvas); border-bottom-color: var(--border); }
    .br-teil.br-still { background: var(--bg-surface); }
    .cx-stand.ist-fertig { color: var(--cx-marke-hell); }
}

/* Zwischen Vorspann und Schaltflächen gehört Luft — sonst kleben sie am Absatz. */
.cx-kopf-unten .br-tat { margin-top: 30px; }

/* ============================================================ Freundlicher, zweiter Durchgang */

/*
 * **Die Vorteilskarten bekommen eine Fläche.** Nackte Haarlinien waren sachlich; eine weiche,
 * runde Karte lädt zum Lesen ein. Der farbige Strich oben bleibt — er ordnet die Reihe.
 */
.br-karten { gap: 18px; }
.br-karte {
    border: 1px solid var(--cx-linie); border-radius: var(--cx-rund);
    background: #fff; padding: 26px 28px 24px; position: relative; overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease;
}
.br-karte::before {
    content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 3px;
    border-radius: 0 0 3px 3px; background: var(--cx-marke);
}
.br-karte:nth-child(6n+2)::before { background: var(--cx-akzent); }
.br-karte:nth-child(6n+3)::before { background: var(--cx-sonne); }
.br-karte:nth-child(6n+4)::before { background: #0F766E; }
.br-karte:nth-child(6n+5)::before { background: #7E5BA6; }
.br-karte:nth-child(6n)::before   { background: var(--cx-marke-tief); }
.br-karte:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(4, 34, 47, .38); }
@media (prefers-reduced-motion: reduce) { .br-karte:hover { transform: none; } }

/* Die Kennzahlen wechseln die Farbe — vier Zahlen, vier Töne. */
.cx-band { gap: 30px; }
.cx-band > div:nth-child(1) b { color: var(--cx-marke-hell); }
.cx-band > div:nth-child(2) b { color: var(--cx-sonne); }
.cx-band > div:nth-child(3) b { color: var(--cx-akzent); }
.cx-band > div:nth-child(4) b { color: #7FD9A4; }

/* Die Branchenkacheln: runde Flächen statt Listenstriche. */
.br-kacheln { gap: 14px; }
.br-kachel {
    border: 1px solid var(--cx-linie); border-radius: var(--cx-rund-klein);
    background: #fff; padding: 18px 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.br-kachel:hover {
    transform: translateY(-3px); border-color: var(--cx-marke);
    box-shadow: 0 16px 34px -20px rgba(41, 136, 188, .5);
}
@media (prefers-reduced-motion: reduce) { .br-kachel:hover { transform: none; } }

/* Der Schlussruf: eine große, runde, farbige Fläche statt eines Kastens. */
.cx-ruf {
    border-radius: var(--cx-rund);
    background: linear-gradient(135deg, var(--cx-tinte) 0%, var(--cx-tinte-3) 100%);
}
.cx-ruf::after {
    inset: auto -10% -70% 42%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(237, 140, 114, .28), transparent 70%);
}
.cx-ruf .br-btn { background: var(--cx-sonne); border-color: var(--cx-sonne); color: #3a2c00 !important; }
.cx-ruf .br-btn:hover { background: #ffd76b; border-color: #ffd76b; }

/* Die Fundstellenliste bekommt Luft und einen farbigen Anfang je Zeile. */
.cx-para-zeile { border-top: 1px solid var(--cx-linie); }
.cx-para-zeile dt { color: var(--cx-marke-tief); }

/* Runde Schaltflächen — Kanten wirken amtlich, Rundungen einladend. */
.br-btn { border-radius: 999px; padding-inline: 22px; }

/*
 * **Beim Scrollen aufblenden.** ENTRACON staffelt seine Abschnitte mit `.reveal` und
 * `data-delay`; dasselbe Mittel, damit die Seite lebt statt zu stehen. Wer keine Bewegung will,
 * sieht alles sofort.
 *
 * **Sichtbar ist der Normalfall, unsichtbar die Ausnahme.**
 *
 * Zuerst stand hier `.cx-auf { opacity: 0 }` — und damit war die halbe Seite leer, sobald
 * JavaScript nicht lief: kein Skript, keine Einblendung, kein Inhalt. Dasselbe passierte beim
 * Drucken und bei jedem Bildschirmfoto der ganzen Seite.
 *
 * Deshalb umgekehrt: Der Inhalt steht immer da. Erst wenn das Skript läuft, setzt es die Marke
 * `js-auf` an das Wurzelelement — und **dann** erst wird ausgeblendet, was gleich aufblendet.
 */
html.js-auf .cx-auf { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js-auf .cx-auf.ist-da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js-auf .cx-auf { opacity: 1; transform: none; transition: none; } }
@media print { html.js-auf .cx-auf { opacity: 1; transform: none; } }

/* ============================================================ Das Licht */

/*
 * **Der Hintergrund der Startseite.**
 *
 * Vorher standen hier gezeichnete Gesichter in einem Liniennetz — das sah albern aus, und mit
 * Recht: Comicfiguren tragen keinen Auftritt, der hochwertig wirken soll. Echte Menschen wären
 * das Richtige, aber echte Menschen brauchen echte Fotos und eine Einwilligung.
 *
 * Bis die da sind, trägt Licht die Seite: vier weiche Farbfelder in den Farben der vier
 * Programme, sehr groß, sehr langsam in Bewegung — wie Licht, das durch ein Fenster wandert.
 * Das ist kein Muster und kein Gitter, sondern Atmosphäre. Es sagt nichts Falsches und drängt
 * sich nicht vor die Überschrift.
 */
.cx-licht {
    position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
    filter: blur(70px);
    opacity: .5;
}
.cx-licht::before,
.cx-licht::after {
    content: ''; position: absolute; inset: 0;
    background-repeat: no-repeat;
}
/* Zwei Ebenen, damit sich vier Felder unabhängig voneinander bewegen können. */
.cx-licht::before {
    background-image:
        radial-gradient(34% 42% at 18% 24%, rgba(126, 91, 166, .55), transparent 68%),
        radial-gradient(30% 38% at 82% 18%, rgba(37, 99, 235, .48), transparent 66%);
    animation: cx-licht-a 26s ease-in-out infinite alternate;
}
.cx-licht::after {
    background-image:
        radial-gradient(36% 44% at 74% 76%, rgba(15, 118, 110, .42), transparent 68%),
        radial-gradient(28% 36% at 26% 84%, rgba(237, 140, 114, .45), transparent 66%);
    animation: cx-licht-b 32s ease-in-out infinite alternate;
}
@keyframes cx-licht-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(3%, 2%, 0) scale(1.12); }
}
@keyframes cx-licht-b {
    from { transform: translate3d(0, 0, 0) scale(1.08); }
    to   { transform: translate3d(-3%, -2%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .cx-licht::before, .cx-licht::after { animation: none; }
}

/* ============================================================ Produktseiten aufhellen */

/*
 * **Jedes Programm bekommt sein eigenes Licht.** Der dunkle Kopf war für alle vier derselbe —
 * und damit sagte die Farbe nichts. Jetzt trägt jeder Kopf einen Hauch der Programmfarbe: Wer
 * von Polaris zu Sirius wechselt, sieht den Wechsel, bevor er die Überschrift gelesen hat.
 */
.cx-pkopf {
    background:
        radial-gradient(48% 60% at 86% 4%, color-mix(in srgb, var(--f, var(--cx-marke)) 16%, transparent), transparent 70%),
        radial-gradient(54% 64% at 6% 40%, color-mix(in srgb, var(--f, var(--cx-marke)) 9%, transparent), transparent 68%),
        var(--cx-papier);
    color: var(--text-primary);
}
.cx-pkopf .cx-sterne { opacity: .4; }
.cx-pkopf h1 { color: var(--cx-tinte); }
.cx-pkopf .cx-lead { color: var(--text-secondary); }
.cx-pkopf .br-krumen { color: var(--cx-leise); }
.cx-pkopf .br-krumen a { color: var(--cx-leise); }
.cx-pkopf .cx-pmarke b { color: var(--f, var(--cx-marke-tief)); }
.cx-pkopf .cx-stern-stand {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cx-leise); background: rgba(255,255,255,.8); border-radius: 999px; padding: 5px 11px;
}
.cx-pkopf .cx-stern-stand.ist-fertig { color: #15703f; background: #e6f6ec; }
.cx-pkopf .br-btn { background: var(--f, var(--cx-marke)); border-color: var(--f, var(--cx-marke)); color: #fff !important; }
.cx-pkopf .br-btn:hover { filter: brightness(.9); }
.cx-pkopf .br-btn-still { color: var(--text-primary) !important; border-color: var(--border-strong); background: rgba(255,255,255,.7); }
.cx-pkopf .br-btn-still:hover { background: #fff; border-color: var(--f, var(--cx-marke)); }
.cx-pkopf .br-tat .br-hin { color: var(--cx-leise); }

/* Der offene Hinweis auf hellem Grund. */
.cx-pkopf .cx-wann {
    border-left: 3px solid var(--f, var(--cx-marke));
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 7%, #fff);
    border-radius: 0 var(--cx-rund-klein) var(--cx-rund-klein) 0;
    padding: 18px 22px;
}
.cx-pkopf .cx-wann p { color: var(--text-secondary); }
.cx-pkopf .cx-wann strong { color: var(--f, var(--cx-marke-tief)); }

/* Die anderen Programme am Seitenfuß: ebenfalls Karten. */
.cx-andere { gap: 16px; }
.cx-andere a {
    padding: 22px 24px; border: 1px solid var(--cx-linie); border-radius: var(--cx-rund-klein);
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 5%, #fff);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cx-andere a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px color-mix(in srgb, var(--f, var(--cx-marke)) 55%, transparent); }
.cx-andere b { color: var(--f, var(--cx-marke-tief)); border-bottom: none; }
@media (prefers-reduced-motion: reduce) { .cx-andere a:hover { transform: none; } }

/* Kontaktkarten. */
.cx-kontakt { gap: 18px; }
.cx-kontakt > div,
.cx-kontakt > div:nth-child(2n) {
    border: 1px solid var(--cx-linie); border-radius: var(--cx-rund);
    background: #fff; padding: 28px 30px;
}

/* ============================================================ Produktseiten: Module und Prinzip */

/* Das Versprechen unter dem Vorspann — ein Satz, der hängen bleibt. */
.cx-versprechen {
    font-family: var(--cx-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
    letter-spacing: -.018em; line-height: 1.35; color: var(--f, var(--cx-marke-tief));
    max-width: 34ch; margin: 0 0 30px; padding-left: 18px;
    border-left: 3px solid var(--f, var(--cx-marke));
}

/*
 * **Die Module.** Nummeriert, zweispaltig, mit viel Luft — das ist die Stelle, an der eine
 * Leitung entscheidet, ob das Programm ihre Arbeit kennt. Deshalb steht hier ein Absatz und
 * nicht ein Stichwort.
 */
.cx-module { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cx-module { grid-template-columns: 1fr; } }
.cx-modul {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
    padding: 26px 28px; border-radius: var(--cx-rund);
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 5%, #fff);
    border: 1px solid color-mix(in srgb, var(--f, var(--cx-marke)) 18%, transparent);
}
.cx-modul-nr {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 16%, #fff);
    color: var(--f, var(--cx-marke)); font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.cx-modul h3 { font-family: var(--cx-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 9px; }
.cx-modul p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/*
 * **Das CASALIX-Prinzip.** Links die Zahl, rechts alles, was drinsteckt. Kein Wettbewerber
 * nennt seinen Preis offen — deshalb bekommt dieser Block Platz und Farbe.
 */
.cx-prinzip {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0;
    border-radius: var(--cx-rund); overflow: hidden; border: 1px solid var(--cx-linie);
}
@media (max-width: 860px) { .cx-prinzip { grid-template-columns: 1fr; } }
.cx-prinzip-zahl {
    padding: 40px 40px 38px;
    background: linear-gradient(150deg,
        color-mix(in srgb, var(--f, var(--cx-marke)) 90%, #000) 0%,
        var(--f, var(--cx-marke)) 100%);
    color: #fff;
}
.cx-prinzip-zahl b {
    display: block; font-family: var(--cx-display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
}
.cx-prinzip-zahl span { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.78); }
.cx-prinzip-zahl .br-tat { margin-top: 26px; }
.cx-prinzip-zahl .br-btn { background: #fff; border-color: #fff; color: var(--f, var(--cx-marke)) !important; }
.cx-prinzip-zahl .br-btn:hover { background: #f1f5f8; border-color: #f1f5f8; filter: none; }

.cx-prinzip > div:last-child { padding: 34px 40px; background: #fff; }
.cx-prinzip-kopf {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--cx-leise); margin: 0 0 18px;
}
.cx-prinzip-liste {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px;
}
@media (max-width: 620px) { .cx-prinzip-liste { grid-template-columns: 1fr; } }
.cx-prinzip-liste li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.cx-prinzip-liste li::before {
    content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 18%, #fff);
}
.cx-prinzip-liste li::after {
    content: ''; position: absolute; left: 5px; top: 6px; width: 7px; height: 3.5px;
    border-left: 2px solid var(--f, var(--cx-marke)); border-bottom: 2px solid var(--f, var(--cx-marke));
    transform: rotate(-45deg);
}

/* Die Fragen: runde, weiße Klappen statt eckiger Kästen. */
.br-frage { border: 1px solid var(--cx-linie); border-radius: var(--cx-rund-klein); background: #fff; }
.br-fragen { gap: 10px; }

/* Die Sternenkarte gehört in den Kopf und nicht in den Abschnitt darunter. */
.cx-pkopf { position: relative; overflow: hidden; isolation: isolate; }

/* ============================================================ Software nach vorn */

/*
 * **Die Bühne.** Das Bild der laufenden Anwendung, groß, in einem angedeuteten Fensterrahmen.
 * Es steht direkt unter der Überschrift, weil ein Softwarehaus zuerst seine Software zeigt und
 * nicht seine Haltung.
 */
.cx-buehne {
    margin: 0; border-radius: var(--cx-rund) var(--cx-rund) 0 0; overflow: hidden;
    border: 1px solid var(--cx-linie); border-bottom: none;
    background: #fff; box-shadow: 0 -2px 60px -20px rgba(4, 34, 47, .35);
}
.cx-buehne-leiste {
    display: flex; align-items: center; gap: 7px; padding: 13px 18px;
    background: var(--cx-papier-2); border-bottom: 1px solid var(--cx-linie);
}
.cx-buehne-leiste span { width: 10px; height: 10px; border-radius: 50%; background: var(--cx-linie-stark, #cfd8de); }
.cx-buehne-leiste span:first-child { background: #ed8c72; }
.cx-buehne-leiste span:nth-child(2) { background: #f7c948; }
.cx-buehne-leiste span:nth-child(3) { background: #6fc48b; }
.cx-buehne img { display: block; width: 100%; height: auto; }

/* Unter dem Kopf folgt die Bildfläche — der Abstand sitzt an ihr, nicht hier. */
.cx-kopf { padding-bottom: 0; }
.cx-kopf-unten { padding-bottom: 0; margin-top: 34px; padding-top: 30px; }

/*
 * **Die vier Könner.** Abwechselnd links und rechts, Text neben Bild. Das ist das Herz der
 * Seite: vier Dinge, über die in der Vorführung „Moment mal" gesagt wird.
 */
.cx-koenner { display: grid; gap: 26px; }
.cx-koenner-teil {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0;
    border-radius: var(--cx-rund); overflow: hidden;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 5%, #fff);
    border: 1px solid color-mix(in srgb, var(--f, var(--cx-marke)) 18%, transparent);
}
.cx-koenner-teil.ist-gedreht .cx-koenner-text { order: 2; }
@media (max-width: 900px) {
    .cx-koenner-teil { grid-template-columns: 1fr; }
    .cx-koenner-teil.ist-gedreht .cx-koenner-text { order: 0; }
}
.cx-koenner-text { padding: 40px 42px; align-self: center; }
.cx-koenner-nr {
    display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: .16em; color: var(--f, var(--cx-marke)); margin-bottom: 14px;
}
.cx-koenner-text h3 {
    font-family: var(--cx-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
    font-weight: 700; letter-spacing: -.024em; line-height: 1.15; margin: 0 0 14px;
}
.cx-koenner-text p { margin: 0 0 20px; font-size: 16px; line-height: 1.68; color: var(--text-secondary); }
.cx-koenner-link { font-size: 15px; font-weight: 650; color: var(--f, var(--cx-marke)); text-decoration: none; }
.cx-koenner-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.cx-koenner-bild {
    margin: 0; padding: 34px 34px 0; display: flex; align-items: flex-end; justify-content: center;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 9%, #fff);
    overflow: hidden;
}
.cx-koenner-bild img {
    display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0;
    border: 1px solid rgba(0,0,0,.08); border-bottom: none;
    box-shadow: 0 24px 50px -26px rgba(4, 34, 47, .55);
}
.cx-koenner-bild img.ist-telefon { width: auto; max-width: 62%; border-radius: 22px 22px 0 0; }
.cx-koenner-bild.ist-leer {
    align-items: center; padding: 60px 34px; min-height: 260px;
}
.cx-koenner-bild.ist-leer span {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--f, var(--cx-marke));
    border: 1px dashed color-mix(in srgb, var(--f, var(--cx-marke)) 40%, transparent);
    border-radius: 999px; padding: 9px 18px; background: #fff;
}

/* Das Versprechen auf der Programmkachel. */
.cx-prog-satz {
    font-family: var(--cx-display); font-weight: 700; font-size: 17px; letter-spacing: -.018em;
    line-height: 1.35; color: var(--f, var(--cx-marke-tief)) !important; margin: 4px 0 0 !important;
}

/*
 * **Die Vorschriften, ganz ruhig.** Ein einziger Absatz weit unten. Wer damit anfängt, klingt
 * wie eine Rechtsabteilung; wer es ganz weglässt, wirkt leichtfertig. Also hierhin.
 */
.cx-ruhig {
    border-left: 3px solid var(--cx-marke); padding: 4px 0 4px 26px;
}
.cx-ruhig h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem) !important; margin: 0 0 12px !important; }
.cx-ruhig p { margin: 0 0 16px; font-size: 16px; line-height: 1.68; color: var(--text-secondary); }
.cx-nachsatz-link { font-size: 15px; font-weight: 650; color: var(--cx-marke); text-decoration: none; }
.cx-nachsatz-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Die Meta-Zeile trägt jetzt die Jahreszahl in einer eigenen Klammer. */
.cx-augen > span { display: inline-flex; align-items: center; gap: 6px; }

/* Die Fundstellen im ruhigen Abschnitt bekommen weniger Gewicht. */
.cx-ruhig .cx-para-liste { margin-top: 20px; }
.cx-ruhig .cx-para-zeile { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: 28px; padding: 16px 0; }
.cx-ruhig .cx-para-zeile dd { font-size: 15px; }

/* ============================================================ Die vier Verben */

/*
 * **Die Überschrift ist die Navigation.**
 *
 * Vier Verben untereinander, jedes in der Farbe seines Programms, jedes anklickbar. Wer die
 * Seite öffnet, liest in drei Sekunden, was dieses Haus tut — und kein Programm steht vor den
 * anderen. Die vorige Fassung begann mit einem Dienstplan-Bildschirmfoto; danach hielt man
 * CASALIX für ein Dienstplanhaus mit drei Anhängseln.
 *
 * Der Name des Programms steht klein daneben und wächst beim Überfahren mit. Das Verb sagt, was
 * man tut; der Name sagt, womit. Beides zusammen ist die ganze Erklärung.
 */
/* ============================================================ Kopf: sagen und zeigen
 *
 * **Links steht, was es ist. Rechts steht, wie es aussieht.**
 *
 * Der Kopf hatte drei Fassungen, die alle dasselbe Problem hatten: Sie waren Bilder für eine
 * Behauptung. Ein Foto unter dunklem Schleier, vier Verben als Schaustück, ein Sternbild mit
 * Ring — keine davon zeigte das Programm. Wer eine Software für sein Haus sucht, will sie
 * sehen, bevor er scrollt; alles andere ist Prospekt.
 */
.cx-kopf.ist-zeigen { padding: 72px 0 0; }
.cx-kopf.ist-zeigen .cx-licht {
    inset: -30% -10% auto -10%; height: 96%; z-index: -2; opacity: 1; filter: none;
    background:
        radial-gradient(48% 62% at 96% -6%, color-mix(in srgb, var(--cx-akzent) 18%, transparent), transparent 62%),
        radial-gradient(54% 66% at 4% 4%, var(--cx-marke-hauch), transparent 64%);
}
.cx-kopf.ist-zeigen .cx-licht::before,
.cx-kopf.ist-zeigen .cx-licht::after { content: none; }

.cx-kopf-zwei {
    display: grid; gap: clamp(30px, 4vw, 60px); align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
}
@media (max-width: 1040px) { .cx-kopf-zwei { grid-template-columns: 1fr; } }

/*
 * **Die vier Verben als Satz.**
 *
 * Sie waren zuletzt vier Zeilen über den halben Bildschirm. Als Satz gelesen sagen sie
 * dasselbe, brauchen ein Viertel des Platzes — und lassen daneben Raum für das Programm.
 * Jedes Verb bleibt ein Verweis und trägt seine Farbe; der Rest des Satzes steht in Tinte,
 * damit die Überschrift eine Überschrift bleibt und kein Farbkasten wird.
 */
/*
 * **Die vier Verben — die erste Fassung, in kleiner.**
 *
 * Jedes Verb eine Zeile, daneben der farbige Punkt seines Programms und dessen Name. Sie waren
 * zwischendurch ein Verzeichnis mit Nummern, ein Sternbild auf einem Ring und ein Fließsatz mit
 * Kommas. Keine dieser Fassungen war besser als diese; sie brauchte nur weniger Platz, seit
 * daneben die Bühne steht.
 */
.cx-kopf .cx-verben {
    display: grid; gap: 2px; margin: 0 0 22px; padding: 0;
    max-width: none;
    font-size: 1rem; line-height: 1.4; letter-spacing: normal; font-weight: 400;
}
.cx-verb {
    position: relative;
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding: 3px 0;
    text-decoration: none; color: inherit;
}
.cx-verb-wort {
    font-family: var(--cx-display);
    font-size: clamp(1.85rem, .7rem + 2.3vw, 3.05rem);
    font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
    color: var(--cx-tinte);
    transition: color .22s ease;
}
.cx-verb:hover .cx-verb-wort { color: var(--f, var(--cx-marke)); }

/* Ein runder Punkt statt eines Satzzeichens: Der Schlusspunkt in Archivo 800 ist bei dieser
   Größe ein Quadrat und läse sich farbig gesetzt wie ein Kasten, nicht wie Absicht. */
.cx-verb-punkt {
    width: clamp(9px, .25rem + .45vw, 13px); aspect-ratio: 1; border-radius: 50%;
    background: var(--f, var(--cx-marke)); flex: none;
    align-self: center; margin-left: -6px;
    transition: transform .22s ease;
}
.cx-verb:hover .cx-verb-punkt { transform: scale(1.3); }

.cx-verb-name {
    font-family: var(--font-mono); font-size: clamp(10.5px, .45rem + .3vw, 12px);
    font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--cx-leise);
    opacity: .6; transform: translateX(-4px);
    transition: opacity .22s ease, transform .22s ease, color .22s ease;
    white-space: nowrap;
}
.cx-verb:hover .cx-verb-name { opacity: 1; transform: none; color: var(--f, var(--cx-marke)); }

/* Ein feiner Strich wächst unter dem Verb mit — die einzige Bewegung, die es braucht. */
.cx-verb::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
    background: var(--f, var(--cx-marke)); border-radius: 2px;
    transition: width .3s ease;
}
.cx-verb:hover::after { width: 2.2em; }

/* `polaris.css` zieht unter jedem überfahrenen Verweis einen Strich — hier abbestellt. */
.cx-verb:hover, .cx-verb:focus-visible, .cx-verb:hover span { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
    .cx-verb-name { opacity: 1; transform: none; }
    .cx-verb::after, .cx-verb-punkt { transition: none; }
}
@media (max-width: 640px) {
    .cx-verb { gap: 8px; flex-direction: column; align-items: flex-start; }
    .cx-verb-punkt { display: none; }
}

.cx-kopf .cx-lead { max-width: 48ch; margin: 0 0 14px; }
.cx-lead-klein {
    max-width: 52ch; margin: 0 0 26px;
    font-size: 14.5px; line-height: 1.62; color: var(--cx-leise);
}
.cx-lead-klein b { color: var(--text-primary); font-weight: 650; }

/* ---------- Die Plakette des App Store ----------
 *
 * Dieselbe Bauweise wie auf der POLARIS-Seite, damit die Marken aus einer Feder wirken: die
 * Apfelmarke, darüber klein „Laden im", darunter groß „App Store", alles auf Schwarz. Der Satz
 * daneben nennt beim Namen, welches der vier Programme gemeint ist — „unsere Apps" im Plural
 * wäre bequem und falsch.
 */
.cx-store { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.cx-store-badge {
    display: inline-flex; align-items: center; gap: 11px; flex: none;
    padding: 10px 18px; border-radius: 12px; background: #000;
    box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .6);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cx-store-badge:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(15, 23, 42, .7); }
/* Die Plakette bestimmt ihre Schriftfarbe selbst: `.br a` vererbt sonst die Textfarbe, und dann
   steht dunkle Schrift auf schwarzem Grund — die Plakette sähe aus wie ein leerer Kasten. */
.br a.cx-store-badge, .br a.cx-store-badge:visited,
.br a.cx-store-badge:hover { color: #fff; text-decoration: none; }
.cx-store-badge svg { width: 24px; height: 24px; flex: none; }
.cx-store-badge b {
    display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .02em;
    opacity: .82; line-height: 1.2;
}
.cx-store-badge > span > span {
    display: block; font-size: 16px; font-weight: 600; line-height: 1.2; margin-top: 1px;
}
.cx-store-note { font-size: 13px; line-height: 1.5; color: var(--cx-leise); max-width: 34ch; }
.cx-store-note b { color: var(--text-primary); font-weight: 650; }

/* ---------- Die Bühne: Bildschirm und Handy ----------
 *
 * Dasselbe Verfahren wie auf der POLARIS-Seite, damit die Marken aus einer Feder wirken: ein
 * Fenster mit Leiste, davor das Telefon, darunter ein weicher blauer Schatten in drei Lagen.
 */
/*
 * `.cx-buehne` gibt es auf dieser Seite schon — der Fensterrahmen der Produktseiten, mit
 * `overflow: hidden`. Unter demselben Namen schnitt er dem Telefon die linke und die untere
 * Kante ab. Deshalb `cx-schau`: Ein Klassenname gehört einer Sache.
 */
.cx-schau { position: relative; padding-left: 30px; overflow: visible; }
.cx-fenster {
    position: relative;
    border-radius: 14px; overflow: hidden; background: var(--cx-papier);
    border: 1px solid rgba(15, 42, 86, .10);
    box-shadow:
        0 2px 6px -2px rgba(15, 42, 86, .12),
        0 26px 54px -22px rgba(15, 42, 86, .30),
        0 70px 130px -55px color-mix(in srgb, var(--cx-marke) 55%, transparent);
}
/*
 * **Der Plan hört nicht auf, er wird nur nicht weiter gezeigt.**
 *
 * Die Aufnahme endet mitten in einer Zeile — sie ist ein Ausschnitt aus einem Plan, der weiter
 * geht. Hart abgeschnitten sah das nach einem Fehler aus, als wäre das Bild zu klein geraten.
 * Ein weicher Auslauf nach unten sagt stattdessen das Richtige: Da kommt noch mehr.
 */
.cx-fenster::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--cx-papier) 92%);
}
.cx-fenster-bar {
    display: flex; align-items: center; gap: 7px; padding: 10px 14px;
    background: #F1F5F9; border-bottom: 1px solid rgba(15, 42, 86, .09);
}
.cx-fenster-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(15, 42, 86, .18); display: block; }
.cx-fenster-bar span {
    margin-left: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: .06em; color: var(--cx-leise);
}
.cx-fenster img { display: block; width: 100%; height: auto; }

/*
 * **Das Telefon steht vor dem Bildschirm, aber nicht auf ihm.**
 *
 * Zuerst lag es mitten auf der Aufnahme und verdeckte die halbe Seitenleiste des Plans — zwei
 * Bilder, die sich gegenseitig unlesbar machten. Jetzt ragt es zu drei Vierteln nach links
 * heraus und berührt den Bildschirm nur mit seiner Kante. Beide bleiben ganz zu sehen.
 */
.cx-schau-phone {
    position: absolute; left: -34px; bottom: -34px; width: 15%; min-width: 104px; max-width: 130px;
    border-radius: 20px; padding: 5px;
    background: linear-gradient(160deg, #38455C, #0B1222);
    box-shadow: 0 22px 44px -16px rgba(2, 8, 23, .5), 0 0 0 1px rgba(255, 255, 255, .10);
}
.cx-schau-phone img { display: block; width: 100%; height: auto; border-radius: 15px; }

/*
 * **Unter der Bühne steht, was zu sehen ist — und was nicht.**
 *
 * Eine Startseite, die mit einem Dienstplan beginnt, hat CASALIX schon einmal den Ruf
 * eingebracht, ein Dienstplanhaus mit drei Anhängseln zu sein. Die Aufnahme bleibt trotzdem:
 * Ein Programm, das man sehen kann, überzeugt mehr als drei, die man sich vorstellen soll.
 * Aber die Bildunterschrift sagt es dazu, statt es der Vermutung zu überlassen.
 */
.cx-schau-fuss {
    /* Die Zeile weicht dem Telefon nach rechts aus, statt darunter zu rutschen: Das Gerät ragt
       unten links über den Bildschirm hinaus, und ein reiner Abstand nach oben müsste diese
       Überlappung raten. Der Einzug ist so breit wie das Telefon. */
    margin: 54px 0 0; padding-left: 116px;
    font-size: 13px; line-height: 1.55; color: var(--cx-leise); max-width: 56ch;
}
.cx-schau-fuss b { color: var(--text-primary); font-weight: 650; }

@media (max-width: 1040px) {
    .cx-schau { padding-left: 0; }
    .cx-schau-phone { position: static; width: 150px; margin: -34px auto 0; }
    .cx-schau-fuss { padding-left: 0; text-align: center; margin: 22px auto 0; }
}

/* ---------- Die Stichworte ----------
 *
 * Wer auf einer Startseite steht, sucht sein eigenes Wort. Findet er „Fachleistungsstunden",
 * liest er weiter; findet er es nicht, hilft ihm der schönste Satz nichts.
 */
.cx-stichworte {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: clamp(34px, 4vw, 56px) 0 0; padding: 0 0 clamp(30px, 3.4vw, 46px); list-style: none;
}
.cx-stichworte li {
    padding: 7px 14px 6px; border-radius: 999px;
    border: 1px solid var(--cx-linie); background: var(--cx-papier);
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
}

/* ============================================================ Die Kette */

/*
 * **Der Weg einer Leistung, als eine Linie.** Vier Halte, vier Programme — der Beweis dafür,
 * dass keines davon ein Anhängsel ist.
 */
.cx-kette {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0; margin: 0 0 56px; position: relative;
}
.cx-kette::before {
    content: ''; position: absolute; left: 6%; right: 6%; top: 7px; height: 1px;
    background: var(--cx-linie-dunkel);
}
.cx-kette-halt {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-decoration: none; color: inherit; padding: 0 8px; position: relative;
}
/*
 * **Auch hier die helle Fassung.** Die Kette steht auf der Nachtfläche; die Programmfarben für
 * hellen Grund kommen dort nicht durch — Sirius-Violett und Antares-Rot wirkten wie graue
 * Punkte. `--fh` ist dieselbe Farbe, aufgehellt, und macht die vier Halte unterscheidbar.
 */
.cx-kette-punkt {
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--fh, var(--cx-marke-hell));
    box-shadow: 0 0 0 5px var(--cx-tinte), 0 0 22px color-mix(in srgb, var(--fh, #fff) 70%, transparent);
    transition: transform .22s ease;
}
.cx-kette-halt:hover .cx-kette-punkt { transform: scale(1.25); }
.cx-kette-halt b {
    font-family: var(--cx-display); font-size: clamp(15px, .8rem + .5vw, 19px);
    font-weight: 700; letter-spacing: -.015em; color: #fff; margin-top: 10px;
}
/* Der Name trägt die Farbe seines Programms — sonst sind die vier Halte nur vier graue Wörter. */
.cx-kette-halt span {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--fh, var(--cx-heller));
    transition: color .22s ease;
}
.cx-kette-halt:hover b { color: var(--fh, #fff); }
@media (prefers-reduced-motion: reduce) { .cx-kette-halt:hover .cx-kette-punkt { transform: none; } }
@media (max-width: 700px) {
    .cx-kette { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
    .cx-kette::before { display: none; }
}

/* Die Nummer auf der Programmkachel — gleiche Ordnung wie in der Kette. */
.cx-prog-nr {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: .16em; color: var(--f, var(--cx-marke));
}
.cx-prog h3 { margin-top: 4px; }

/* Das Motto der Marke — einmal, ganz zum Schluss. */
.cx-ruf-motto {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--cx-akzent) !important; margin: 0 0 14px !important;
}

/*
 * **Das Bündel.** „Wer die Dokumentation nutzt, hat Dienstplan und Abrechnung dabei." Das ist
 * das stärkste Angebot des Hauses — es bekommt eine eigene Zeile mit einem Haken davor, damit
 * es nicht im Fließtext untergeht.
 */
.cx-buendel {
    position: relative; margin: 2px 0 0 !important; padding-left: 26px;
    font-size: 14.5px; line-height: 1.5; font-weight: 600;
    color: var(--f, var(--cx-marke)) !important;
}
.cx-buendel::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
    background: color-mix(in srgb, var(--f, var(--cx-marke)) 20%, #fff);
}
.cx-buendel::after {
    content: ''; position: absolute; left: 5px; top: 7px; width: 7px; height: 3.5px;
    border-left: 2px solid var(--f, var(--cx-marke)); border-bottom: 2px solid var(--f, var(--cx-marke));
    transform: rotate(-45deg);
}

/* Im Kopf einer Produktseite steht das Bündel größer — dort trifft man die Entscheidung. */
.cx-buendel-gross {
    font-size: 16px !important; padding-left: 30px; margin: 0 0 30px !important;
    max-width: 46ch;
}
.cx-buendel-gross::before { width: 21px; height: 21px; top: 1px; }
.cx-buendel-gross::after { left: 6px; top: 8px; width: 8px; height: 4px; }

/* ============================================================ Das Zeichen */

/*
 * **Zeichen und Schriftzug nebeneinander.** Das rote Quadrat mit dem Reiter trägt die Marke;
 * der Schriftzug daneben steht in der Hausschrift, damit beides aus einer Feder wirkt. Auf dem
 * Telefon bleibt nur das Zeichen — dort zählt jeder Punkt.
 */
.br-marke-log { display: inline-flex; align-items: center; gap: 11px; }
.br-marke-zeichen { width: 26px; height: auto; display: block; flex: none; }
.br-fuss-marke { display: flex; align-items: center; gap: 11px; }
.br-fuss-marke .br-marke-zeichen { width: 26px; }

@media (max-width: 420px) {
    .br-marke-log span { display: none; }
    .br-marke-zeichen { width: 30px; }
}

/* ============================================================ Die Menschenkarte */

/*
 * **Der Hintergrund der Startseite.**
 *
 * Diese Software ist für Menschen und für Teams — ein abstraktes Liniennetz sagt das nicht, es
 * sagt „Technik". Also sind die Knoten Gesichter: gezeichnete Avatare aus der laufenden
 * Anwendung, in Gruppen zusammenstehend, durch Linien verbunden. Eine Gruppe ist ein Team, eine
 * Linie ist die Zusammenarbeit.
 *
 * **Der Text muss trotzdem lesbar bleiben.** Deshalb liegt alles hinter dem Inhalt, ist deutlich
 * zurückgenommen und wird zur Mitte hin ausgeblendet — dort steht die Überschrift. Die Gesichter
 * stehen an den Rändern.
 */
.cx-menschen {
    position: absolute; inset: 0; z-index: -1; overflow: hidden;
    pointer-events: none;
    /* Zur Mitte hin ausblenden, damit die Überschrift freien Grund hat. */
    /* Der Textbereich links wird ausgespart; die Gesichter stehen an den Rändern. */
    -webkit-mask-image: linear-gradient(90deg, #000 0 9%, transparent 15% 68%, #000 76% 100%);
            mask-image: linear-gradient(90deg, #000 0 9%, transparent 15% 68%, #000 76% 100%);
}
.cx-menschen-netz { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-menschen-netz line { stroke: rgba(41, 136, 188, .26); stroke-width: 1; }

.cx-mensch {
    position: absolute; height: auto; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 10px 30px -12px rgba(4, 34, 47, .38);
    opacity: .92;
}

/*
 * **Ein sehr langsames Atmen.** Die Gruppen heben und senken sich um wenige Punkte, jede in
 * ihrem eigenen Takt. Man sieht es nicht, wenn man hinschaut — man merkt nur, dass die Seite
 * lebt. Wer keine Bewegung will, bekommt keine.
 */
@keyframes cx-atmen {
    0%, 100% { transform: translate(-50%, -50%); }
    50%      { transform: translate(-50%, calc(-50% - 9px)); }
}
.cx-mensch { animation: cx-atmen 9s ease-in-out infinite; }
.cx-mensch-1, .cx-mensch-5, .cx-mensch-9  { animation-duration: 11s; animation-delay: -3s; }
.cx-mensch-2, .cx-mensch-6, .cx-mensch-10 { animation-duration: 13s; animation-delay: -6s; }
.cx-mensch-3, .cx-mensch-7, .cx-mensch-11 { animation-duration: 10s; animation-delay: -1.5s; }
.cx-mensch-4, .cx-mensch-8, .cx-mensch-12 { animation-duration: 12s; animation-delay: -4.5s; }
@media (prefers-reduced-motion: reduce) { .cx-mensch { animation: none; } }

/* Auf schmalen Bildschirmen ist kein Platz für Ränder — dann tragen wenige Gesichter das Bild. */
@media (max-width: 820px) {
    .cx-mensch { opacity: .55; }
    .cx-mensch-2, .cx-mensch-5, .cx-mensch-8, .cx-mensch-10, .cx-mensch-13 { display: none; }
    .cx-menschen { -webkit-mask-image: radial-gradient(96% 54% at 42% 36%, transparent 12%, #000 66%);
                           mask-image: radial-gradient(96% 54% at 42% 36%, transparent 12%, #000 66%); }
}

/* ============================================================ Der Kopf mit Foto */

/*
 * **Zwei Schleier über dem Foto.**
 *
 * Ein Foto allein trägt keine Überschrift: Auf hellen Stellen verschwindet weiße Schrift, auf
 * dunklen die dunkle. Zwei übereinanderliegende Verläufe in der Hausfarbe machen jedes Motiv
 * berechenbar — von links satt, nach rechts offen, unten wieder satt. Dasselbe Verfahren
 * benutzt die ENTRACON-Seite; die Marken sollen aus einer Feder wirken.
 */
/* ============================================================ Der Farbsatz eines Kopfes
 *
 * **Ein Rezept, vier Küchen.** Der Kopf der Startseite hat vier Zutaten: einen Grundton hinter
 * dem Foto, ein kühles Licht oben rechts, einen Sonnenschein unten links und einen warmen
 * Schein darunter. Jede Produktseite bekommt denselben Aufbau mit ihren eigenen Farben — so
 * sieht man beim Wechsel von Sirius zu Antares sofort, dass man woanders ist, ohne dass die
 * Seiten auseinanderfallen.
 *
 * Der Satz des Hauses steht hier als Vorgabe; `.f-…` überschreibt nur das kühle Licht, denn das
 * ist die Farbe des Programms. Grundton und die beiden warmen Lichter bleiben gleich — sie sind
 * das, was alle Seiten verbindet.
 */
.cx-pkopf.ist-foto {
    --kopf-grund: var(--cx-tinte);
    --kopf-licht: var(--cx-marke);
    --kopf-sonne: var(--cx-sonne);
    --kopf-warm: var(--cx-akzent);
    background: var(--kopf-grund); color: #fff;
}
/* Auf einer Produktseite tritt die Programmfarbe an die Stelle des Hausblaus. */
.cx-pkopf.ist-foto.f-sirius   { --kopf-licht: #7E5BA6; }
.cx-pkopf.ist-foto.f-polaris  { --kopf-licht: #2563EB; }
.cx-pkopf.ist-foto.f-clientra { --kopf-licht: #0F766E; }
.cx-pkopf.ist-foto.f-antares  { --kopf-licht: #B91C1C; }
/*
 * **Das Foto darf hell bleiben.** Der Schleier hat lange auch den Kontrast der kleinen Namen
 * tragen müssen und war deshalb sehr dunkel — die ganze Seite wirkte streng. Seit die Namen
 * ihren eigenen Träger haben, muss er das nicht mehr; er hält nur noch die weiße Überschrift
 * lesbar. Ein Hauch mehr Helligkeit und Farbe im Bild selbst nimmt den Rest an Strenge weg.
 */
/* Auf den Produktseiten liegt das Foto weiterhin hinter dem Kopf. */
.cx-pkopf.ist-foto .cx-hero-bild {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
    filter: brightness(1.14) saturate(1.12);
}
.cx-pkopf.ist-foto .cx-hero-schleier {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(100deg,
            color-mix(in srgb, var(--kopf-grund) 78%, transparent) 0%,
            color-mix(in srgb, var(--kopf-grund) 48%, transparent) 42%,
            color-mix(in srgb, var(--kopf-grund) 16%, transparent) 68%,
            transparent 88%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--kopf-grund) 26%, transparent) 0%,
            transparent 42%,
            color-mix(in srgb, var(--kopf-grund) 52%, transparent) 100%);
}
/*
 * Zwei Lichter darüber: Markenblau oben rechts, ein warmer Schein unten links. Das Blau macht
 * aus dem Foto ein CASALIX-Foto, das Warme nimmt ihm die Kühle. Beides sehr leise — man soll es
 * nicht sehen, sondern nur merken, dass der Kopf freundlich wirkt.
 */
.cx-pkopf.ist-foto .cx-hero-tiefe {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(58% 70% at 78% 22%, color-mix(in srgb, var(--kopf-licht) 22%, transparent), transparent 72%),
        radial-gradient(66% 66% at 10% 86%, color-mix(in srgb, var(--kopf-sonne) 18%, transparent), transparent 70%),
        radial-gradient(52% 52% at 34% 108%, color-mix(in srgb, var(--kopf-warm) 24%, transparent), transparent 70%);
    mix-blend-mode: screen;
}

/* Gemessen: bei .55 fiel die Zeile auf 4,4 zu 1, seit der Kopf heller ist. */
.cx-pkopf.ist-foto .cx-augen { color: rgba(255,255,255,.72); }
.cx-pkopf.ist-foto .cx-augen::after { background: rgba(255,255,255,.25); }
.cx-pkopf.ist-foto .cx-augen b { color: var(--kopf-warm); }
/*
 * **Auf dem Foto gilt die helle Farbe.** Die Programmfarben sind für weißen Grund gemischt; auf
 * dem dunklen Kopf kommt Sirius-Violett auf 2,3 zu 1 — man sieht, dass da Farbe ist, aber nicht
 * welche. `--fh` ist dieselbe Farbe aufgehellt und liegt zwischen 5 und 8 zu 1.
 *
 * **Und die Farbe zeigt sich sofort, nicht erst beim Überfahren.** Vier Farben, die man nur
 * findet, wenn man mit der Maus darüberfährt, gibt es für den, der die Seite auf dem Telefon
 * ansieht, gar nicht. Name und Punkt tragen die Farbe im Ruhezustand; das Verb bleibt weiß,
 * damit die Überschrift eine Überschrift bleibt und kein Farbkasten wird.
 */
.cx-pkopf.ist-foto .cx-lead { color: rgba(255,255,255,.82); }
.cx-pkopf.ist-foto .cx-lead b { color: #fff; }
.cx-pkopf.ist-foto .br-btn-still {
    background: rgba(255,255,255,.06); color: #fff !important; border-color: rgba(255,255,255,.32);
}
.cx-pkopf.ist-foto .br-btn-still:hover { background: rgba(255,255,255,.14); border-color: #fff; }


/* ============================================================ Der Bildstreifen
 *
 * Eine Stelle zum Durchatmen auf den langen Textseiten. Bewusst ruhig: kein Schleier, keine
 * Schrift im Bild — das Foto steht für sich, die Zeile darunter ordnet es ein.
 */
.cx-bandfoto { margin: 0 0 var(--cx-luft, 56px); }
.cx-bandfoto img {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: var(--cx-rund); border: 1px solid var(--cx-linie);
}
.cx-bandfoto figcaption {
    margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary, #7b8b95);
}
@media (max-width: 760px) { .cx-bandfoto img { aspect-ratio: 3 / 2; } }


/* ============================================================ Produktkopf auf dem Foto
 *
 * Dieselben Bausteine wie oben, nur für die Teile, die es allein auf der Produktseite gibt:
 * Krumenpfad, Marke, Stand, Versprechen und der Hinweis auf das Bündel.
 */
.cx-pkopf.ist-foto {
    padding: 104px 0 76px;
    position: relative; overflow: hidden; isolation: isolate;
}
@media (max-width: 860px) { .cx-pkopf.ist-foto { padding: 64px 0 56px; } }
.cx-pkopf.ist-foto h1 { color: #fff; }
.cx-pkopf.ist-foto .br-krumen { color: rgba(255,255,255,.6); padding-top: 0; }
.cx-pkopf.ist-foto .br-krumen a { color: rgba(255,255,255,.8); }
.cx-pkopf.ist-foto .br-krumen a:hover { color: #fff; }
.cx-pkopf.ist-foto .cx-pmarke b { color: #fff; }
.cx-pkopf.ist-foto .cx-stern-punkt {
    background: var(--fh, var(--cx-marke-hell));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--fh, var(--cx-marke-hell)) 20%, transparent);
}
/* Der Stand („Im Browser", „Als Programm im Haus") als Chip — wie die Namen im Kopf der Startseite. */
.cx-pkopf.ist-foto .cx-stern-stand {
    color: var(--fh, var(--cx-marke-hell));
    background: rgba(4, 34, 47, .78);
    border: 1px solid color-mix(in srgb, var(--fh, var(--cx-marke-hell)) 38%, transparent);
    backdrop-filter: blur(6px);
}
.cx-pkopf.ist-foto .cx-stern-stand.ist-fertig {
    color: #8ff0bb; background: rgba(4, 34, 47, .78); border-color: rgba(143, 240, 187, .4);
}
.cx-pkopf.ist-foto .cx-versprechen {
    color: var(--fh, var(--cx-marke-hell));
    border-left-color: var(--fh, var(--cx-marke-hell));
}
.cx-pkopf.ist-foto .cx-buendel { color: var(--fh, var(--cx-marke-hell)) !important; }
.cx-pkopf.ist-foto .cx-buendel::before {
    background: color-mix(in srgb, var(--fh, var(--cx-marke-hell)) 26%, transparent);
}
.cx-pkopf.ist-foto .cx-buendel::after {
    border-left-color: var(--fh, var(--cx-marke-hell));
    border-bottom-color: var(--fh, var(--cx-marke-hell));
}
.cx-pkopf.ist-foto .br-btn {
    background: var(--fh, var(--cx-marke-hell));
    border-color: var(--fh, var(--cx-marke-hell));
    color: var(--cx-tinte) !important;
}
.cx-pkopf.ist-foto .br-btn:hover { filter: brightness(1.08); }
.cx-pkopf.ist-foto .br-tat .br-hin { color: rgba(255,255,255,.72); }

/*
 * **Der Kopf einer Produktseite braucht mehr Schleier als der der Startseite.**
 * Dort liegt ein ruhiges Motiv mit einer freien Wand; hier liegen Dokumente, Handschrift,
 * Diagramme — Text darauf wird unlesbar, obwohl die Messung an einzelnen Stellen passt. Der
 * Verlauf hält deshalb die linke Hälfte, in der die Schrift steht, deutlich dichter und gibt
 * die rechte ganz frei. Freundlich bleibt es, weil das Motiv rechts unangetastet bleibt.
 */
.cx-pkopf.ist-foto .cx-hero-schleier {
    background:
        linear-gradient(100deg,
            color-mix(in srgb, var(--kopf-grund) 92%, transparent) 0%,
            color-mix(in srgb, var(--kopf-grund) 82%, transparent) 34%,
            color-mix(in srgb, var(--kopf-grund) 44%, transparent) 62%,
            transparent 88%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--kopf-grund) 34%, transparent) 0%,
            transparent 44%,
            color-mix(in srgb, var(--kopf-grund) 46%, transparent) 100%);
}

/*
 * **Auf schmalen Geräten deckt der Schleier die ganze Breite.**
 * Der schräge Verlauf ist für eine Textspalte links und ein freies Motiv rechts gedacht. Auf
 * dem Telefon steht der Text über die volle Breite und lief dadurch in die helle Bildhälfte —
 * gemessen fiel das Versprechen dort unter 3 zu 1. Deshalb hier ein senkrechter Verlauf, der
 * oben etwas Motiv stehen lässt und nach unten dicht wird, wo die Schrift steht.
 */
@media (max-width: 860px) {
    .cx-pkopf.ist-foto .cx-hero-schleier {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--kopf-grund) 52%, transparent) 0%,
            color-mix(in srgb, var(--kopf-grund) 74%, transparent) 26%,
            color-mix(in srgb, var(--kopf-grund) 90%, transparent) 58%,
            color-mix(in srgb, var(--kopf-grund) 94%, transparent) 100%);
    }
}


/*
 * **Kein Unterstrich beim Überfahren.**
 * `polaris.css` bringt `a:hover { text-decoration: underline }` mit — eine Elementregel, die
 * schwerer wiegt als jede Klasse hier. Auf Karten, Kacheln und Kopfzeilen zog sie einen Strich
 * quer durch Überschrift und Beischrift. Diese Datei wird nach `polaris.css` geladen und hebt
 * das für die Werbeseiten auf; wo ein Strich hingehört — im Fließtext, im Inhaltsverzeichnis,
 * bei Kontaktangaben — steht er in der jeweiligen Regel ausdrücklich.
 */
.br a:hover { text-decoration: none; }
.br .cx-text a:hover,
.br .cx-inhalt a:hover,
.br .cx-koenner-link:hover,
.br .cx-nachsatz-link:hover { text-decoration: underline; text-underline-offset: 3px; }
