/* =========================================================================
   Branchenseiten — /dienstplanung und /dienstplanung/<branche>

   Eigene Datei, damit weder die Anwendung noch die Startseite ein Zeichen
   davon mitschleppt. Grundlage sind die AUREON-Tokens (tokens.css); die
   Schriften kommen aus polaris.css, das hier ebenfalls geladen wird.

   Haltung: ruhig, dicht, lesbar. Eine Seite, die eine Pflegedienstleitung
   zwischen zwei Übergaben überfliegt, darf nicht schreien — sie muss in
   zehn Sekunden beweisen, dass wir dieses Gewerbe kennen.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

body.br {
    margin: 0;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.br-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.br-eng { max-width: 760px; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.022em; text-wrap: balance; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }

/* ---------------------------------------------------------------- Kopfleiste */
.br-nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.br-nav-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.br-nav img { height: 26px; width: auto; }
.br-nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.br-nav-links a { color: var(--text-secondary); text-decoration: none; }
.br-nav-links a:hover { color: var(--text-primary); }
.br-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 20px; border-radius: var(--r-input);
    background: var(--brand); color: #fff !important; font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1px solid var(--brand); white-space: nowrap;
    transition: background .15s ease, transform .15s ease;
}
.br-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.br-btn-still { background: transparent; color: var(--text-primary) !important; border-color: var(--border-strong); }
.br-btn-still:hover { background: var(--n-100); }
@media (prefers-reduced-motion: reduce) { .br-btn:hover { transform: none; } }

/* ---------------------------------------------------------------- Brotkrumen */
.br-krumen { font-size: 13.5px; color: var(--text-muted); padding: 22px 0 0; }
.br-krumen a { color: var(--text-secondary); text-decoration: none; }
.br-krumen a:hover { text-decoration: underline; }
.br-krumen span { margin: 0 7px; }

/* ---------------------------------------------------------------- Kopf */
.br-kopf { padding: 30px 0 56px; }
.br-marke {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
    background: var(--blue-50); border-radius: var(--r-pill); padding: 6px 14px;
    margin-bottom: 22px;
}
.br-kopf h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; line-height: 1.08; margin-bottom: 20px; }
.br-lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.6; color: var(--text-secondary); max-width: 62ch; margin: 0 0 30px; }
.br-tat { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.br-tat .br-hin { font-size: 14px; color: var(--text-muted); }

/* ---------------------------------------------------------------- Alltag */
.br-alltag { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
    background: var(--border); border: 1px solid var(--border); border-radius: var(--r-card);
    overflow: hidden; margin: 40px 0 0; }
.br-alltag > div { background: var(--bg-surface); padding: 22px 24px; font-size: 15.5px; line-height: 1.55; }
.br-alltag .br-nr { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
    color: var(--text-muted); display: block; margin-bottom: 8px; }

/* ---------------------------------------------------------------- Abschnitte */
.br-teil { padding: 64px 0; border-top: 1px solid var(--border); }
.br-teil.br-still { background: var(--bg-canvas); }
.br-teil > .br-wrap > h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.18; margin-bottom: 14px; }
.br-teil .br-unter { font-size: 17px; color: var(--text-secondary); max-width: 66ch; margin: 0 0 34px; }

/* ---------------------------------------------------------------- Schmerzpunkte */
.br-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.br-karte {
    background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-card);
    padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.br-karte h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.br-karte p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--text-secondary); }

/* ---------------------------------------------------------------- Recht */
.br-recht { display: grid; gap: 14px; }
.br-para {
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 8px 28px;
    background: var(--bg-surface); border: 1px solid var(--border);
    border-left: 3px solid var(--brand); border-radius: var(--r-input);
    padding: 20px 24px;
}
.br-para dt { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--brand); line-height: 1.5; }
.br-para dd { margin: 0; font-size: 15.5px; line-height: 1.6; }
.br-para dd b { display: block; font-weight: 600; margin-bottom: 4px; }
.br-para dd span { color: var(--text-secondary); }
@media (max-width: 780px) { .br-para { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Bild */
.br-bild { margin-top: 34px; border: 1px solid var(--border); border-radius: var(--r-card);
    overflow: hidden; box-shadow: var(--shadow-card); background: var(--bg-canvas); }
.br-bild img { display: block; width: 100%; height: auto; }
.br-bild figcaption { padding: 14px 22px; font-size: 14px; color: var(--text-secondary); border-top: 1px solid var(--border); background: var(--bg-surface); }

/* ---------------------------------------------------------------- Fragen */
.br-fragen { display: grid; gap: 12px; max-width: 860px; }
.br-frage { border: 1px solid var(--border); border-radius: var(--r-input); background: var(--bg-surface); overflow: hidden; }
.br-frage > summary {
    cursor: pointer; list-style: none; padding: 20px 24px;
    font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 14px;
}
.br-frage > summary::-webkit-details-marker { display: none; }
.br-frage > summary::after {
    content: ""; margin-left: auto; flex: none; width: 9px; height: 9px;
    border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg); transition: transform .15s ease;
}
.br-frage[open] > summary::after { transform: rotate(-135deg); }
.br-frage > div { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .br-frage > summary::after { transition: none; } }

/* ---------------------------------------------------------------- Preis */
.br-preis {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    color: #fff; border-radius: var(--r-modal); padding: 40px 44px;
}
.br-preis h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.br-preis p { margin: 0; color: rgba(255,255,255,.82); font-size: 16.5px; line-height: 1.6; max-width: 54ch; }
.br-preis .br-zahl { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; }
.br-preis .br-zahl small { display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); margin-top: 8px; letter-spacing: 0; }
.br-preis .br-btn { background: #fff; color: var(--blue-700) !important; border-color: #fff; }
.br-preis .br-btn:hover { background: var(--blue-50); }
.br-preis-tat { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 220px; }
@media (max-width: 820px) { .br-preis { grid-template-columns: 1fr; padding: 32px 26px; } }

/* ---------------------------------------------------------------- Verwandte / Alle */
.br-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.br-kachel {
    display: block; text-decoration: none; color: inherit;
    background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-input);
    padding: 20px 22px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.br-kachel:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-card); color: inherit; }
.br-kachel b { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 5px; }
.br-kachel span { font-size: 14px; color: var(--text-secondary); line-height: 1.5; display: block; }
@media (prefers-reduced-motion: reduce) { .br-kachel:hover { transform: none; } }

.br-gruppe { margin-bottom: 44px; }
.br-gruppe > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.br-gruppe > p { margin: 0 0 20px; color: var(--text-secondary); font-size: 15.5px; }

/* ---------------------------------------------------------------- Suchwörter */
.br-woerter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.br-woerter span {
    font-size: 13px; color: var(--text-secondary); background: var(--bg-canvas);
    border: 1px solid var(--border); border-radius: var(--r-pill); padding: 5px 13px;
}

/* ---------------------------------------------------------------- Fuß */
.br-fuss { background: var(--n-900); color: var(--n-300); padding: 56px 0 34px; margin-top: 0; }
.br-fuss a { color: var(--n-300); text-decoration: none; }
.br-fuss a:hover { color: #fff; text-decoration: underline; }
.br-fuss img { height: 26px; margin-bottom: 14px; }
.br-fuss-in { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 34px; }
.br-fuss h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--n-500); margin-bottom: 12px; font-family: var(--font-mono); font-weight: 500; }
.br-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.br-fuss-claim { font-size: 14.5px; line-height: 1.6; max-width: 40ch; color: var(--n-400); }
.br-fuss-unten { border-top: 1px solid var(--n-800); margin-top: 34px; padding-top: 20px;
    display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--n-500); }

@media (max-width: 640px) {
    body.br { font-size: 16px; }
    .br-nav-links a:not(.br-btn) { display: none; }
    .br-teil { padding: 46px 0; }
}

/* =========================================================================
   Selbstanmeldung — /registrieren

   Ein Bildschirm, keine Strecke: links das Formular, rechts der Grund. Wer
   sich anmelden will, hat sich entschieden; jeder weitere Schritt kostet.
   ========================================================================= */

.reg-kopf { padding-bottom: 72px; }
.reg-spalten { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 940px) { .reg-spalten { grid-template-columns: 1fr; gap: 40px; } }

.reg-form h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.reg-form .br-lead { font-size: 17px; margin-bottom: 30px; }

/* Bestätigung nach dem Absenden der Testanfrage (18.10.2026). */
.reg-danke { border: 1px solid #A7F3D0; background: #ECFDF5; color: #065F46; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; line-height: 1.55; }
.reg-danke b { display: block; margin-bottom: 4px; }
.reg-fehler { border: 1px solid var(--rot, #A6301F); background: #FEF2F2; color: #991B1B;
    border-radius: var(--r-input); padding: 16px 18px; margin-bottom: 24px; font-size: 15px; }
.reg-fehler b { display: block; margin-bottom: 6px; }
.reg-fehler ul { margin: 0; padding-left: 20px; }

.reg-block { margin-bottom: 30px; }
.reg-block > h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }

.reg-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 620px) { .reg-zeile { grid-template-columns: 1fr; } }
.reg-feld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.reg-feld.reg-breit { grid-column: 1 / -1; }
.reg-feld > span { font-size: 14.5px; font-weight: 600; }
.reg-feld > span em { font-style: normal; font-weight: 500; color: var(--text-muted); font-size: 13px; }
.reg-feld > small { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; }

.reg-input {
    width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15.5px;
    border: 1px solid var(--border-strong); border-radius: var(--r-input);
    background: var(--bg-surface); color: var(--text-primary);
}
select.reg-input { height: 46px; padding-right: 34px; }
.reg-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }

.reg-haken { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55;
    padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-input);
    background: var(--bg-canvas); margin-bottom: 22px; }
.reg-haken input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

.reg-los { height: 52px; font-size: 16.5px; padding: 0 30px; }
.reg-klein { margin: 16px 0 0; font-size: 14px; color: var(--text-secondary); }

/* --------------------------------------------------------------- Rechte Spalte */
.reg-warum { position: sticky; top: 90px; }
.reg-warum > h2 { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.reg-schritte { list-style: none; counter-reset: schritt; margin: 0 0 26px; padding: 0; }
.reg-schritte li { counter-increment: schritt; position: relative; padding-left: 44px; margin-bottom: 20px;
    font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.reg-schritte li::before {
    content: counter(schritt); position: absolute; left: 0; top: -1px;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue-50); color: var(--brand); font-weight: 700; font-size: 14px;
}
.reg-schritte b { display: block; color: var(--text-primary); font-weight: 600; margin-bottom: 3px; }

.reg-kasten { border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px 22px;
    background: var(--bg-canvas); }
.reg-kasten b { display: block; font-size: 15px; margin-bottom: 8px; }
.reg-kasten p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.reg-kasten p:last-child { margin-bottom: 0; }
@media (max-width: 940px) { .reg-warum { position: static; } }

/* ---------------------------------------------------------------- Ratgeber und Preise (17.09.2026) */
.br-kacheln-gross .br-kachel b { font-size: 17px; }
.br-rat-hinweis { margin: 28px 0 0; font-size: 14px; color: var(--text-muted); }

/* Ein Artikel: schmale Lesebreite, damit Zeilen lesbar bleiben. */
.br-artikel { max-width: 800px; padding-bottom: 56px; }
.br-artikel .br-kopf { padding-left: 0; padding-right: 0; }
.br-rat-inhalt { margin: 8px 0 36px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-canvas); }
.br-rat-inhalt b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.br-rat-inhalt ol { margin: 0; padding-left: 20px; columns: 2 260px; column-gap: 28px; }
.br-rat-inhalt li { margin: 3px 0; break-inside: avoid; }
.br-rat-inhalt a { text-decoration: none; }
.br-rat-inhalt a:hover { text-decoration: underline; }
.br-rat-teil { margin: 0 0 34px; scroll-margin-top: 90px; }
.br-rat-teil h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.22; margin: 0 0 12px; }
.br-rat-teil p { margin: 0 0 14px; max-width: 70ch; }
.br-rat-teil ul { margin: 0 0 14px; padding-left: 22px; }
.br-rat-teil li { margin: 6px 0; }
.br-rat-polaris { padding: 22px 24px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--bg-surface)), var(--bg-surface) 70%); }
.br-rat-polaris .br-tat { margin: 16px 0 0; }
.br-rat-quellen { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--brand);
    background: var(--bg-canvas); border-radius: 0 12px 12px 0; font-size: 15px; }
.br-rat-quellen b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.br-rat-quellen small { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* Rechenbeispiele der Preisseite */
.br-preis-h { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin: 40px 0 14px; }
.br-rat-tabelle { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); }
.br-rat-tabelle table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.br-rat-tabelle th, .br-rat-tabelle td { padding: 12px 18px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.br-rat-tabelle th:first-child { text-align: left; }
.br-rat-tabelle thead th { font-size: 13px; color: var(--text-muted); font-weight: 600; background: var(--bg-canvas); }
.br-rat-tabelle tbody tr:last-child > * { border-bottom: 0; }
.br-rat-tabelle small { color: var(--text-muted); font-size: 12px; }
/* Tabelle mit Text statt Zahlen (Ratgeber, 30.09.2026): links ausgerichtet, Zellen dürfen umbrechen. */
.br-rat-tabelle-text { margin: 18px 0 6px; }
.br-rat-tabelle-text th, .br-rat-tabelle-text td { text-align: left; white-space: normal; vertical-align: top; line-height: 1.45; }
.br-rat-tabelle-text tbody th { font-weight: 600; }
/* Der eigene Abschnitt einer Branchenseite (30.09.2026): Lesetext mit Merkpunkten daneben. */
.br-vertieft-text { max-width: 72ch; font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.br-vertieft-text p + p { margin-top: 14px; }
.br-vertieft-punkte { margin: 26px 0 0; padding: 18px 22px 18px 40px; border: 1px solid var(--border); border-radius: 16px;
    background: var(--bg-surface); max-width: 72ch; font-size: 15px; line-height: 1.5; }
.br-vertieft-punkte li + li { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════════════════
   Hauptmenü mit Kategorien (22.09.2026)

   Vorher: sechs Wörter in einer Reihe, auf dem Telefon unsichtbar. Jetzt drei Klappen mit
   Symbolen und ein Menü für kleine Geräte. Geöffnet wird mit Zeigen oder Klicken; die Klappe
   bleibt offen, solange der Zeiger darin ist, und schließt mit Escape.
   ═══════════════════════════════════════════════════════════════════════════════════════ */
.br-menue { gap: 4px; }

/* **Die schlichten Links tragen dieselbe Fläche wie die Klappen.**
   Vorher waren „Preise“ und „Anmelden“ nackte Wörter zwischen Knöpfen mit Polster: Der Abstand
   von 4 px, der zwischen zwei Klappen richtig ist, ließ die beiden Wörter zu einem verschmelzen
   („Preise Anmelden“). Mit demselben Polster sitzen alle Einträge im gleichen Raster. */
.br-menue > a:not(.br-btn) {
    padding: 8px 12px; border-radius: 10px;
    font-size: 14.5px; font-weight: 500; color: var(--text-secondary); text-decoration: none;
    transition: background .13s ease, color .13s ease;
}
.br-menue > a:not(.br-btn):hover { color: var(--text-primary); background: var(--bg-canvas); }
.br-menue > a.ist-hier { color: var(--brand); background: var(--blue-50); }
/* Die Handlung steht für sich — ein Atemzug trennt sie vom Nachschlagen. */
.br-menue > .br-btn { margin-left: 8px; }

.br-klappe { position: relative; }
.br-klappe-knopf {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 12px; border: 0; border-radius: 10px; background: none;
    font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-secondary);
    cursor: pointer; transition: background .13s ease, color .13s ease;
}
.br-klappe-knopf svg { width: 14px; height: 14px; transition: transform .18s ease; opacity: .7; }
.br-klappe-knopf:hover, .br-klappe-knopf.ist-hier { color: var(--text-primary); background: var(--bg-canvas); }
.br-klappe.ist-offen .br-klappe-knopf { color: var(--brand); background: var(--blue-50); }
.br-klappe.ist-offen .br-klappe-knopf svg { transform: rotate(180deg); }
.br-klappe-knopf:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.br-mega {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -6px);
    min-width: 560px; padding: 18px; border-radius: 18px;
    background: var(--bg-surface); border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .13), 0 2px 8px rgba(15, 23, 42, .05);
    max-width: min(760px, calc(100vw - 32px));
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

/* **Die Brücke über die Lücke.**
   Zwischen Knopf und Klappe liegen 10 px Luft. Ohne diese Brücke verlässt der Zeiger auf dem
   Weg nach unten das Menü, und es klappt ihm vor der Nase zu — man kam nie an den ersten
   Eintrag. Der Streifen ist unsichtbar, liegt genau in der Lücke und ist etwas breiter als die
   Klappe, damit auch ein schräger Weg trägt. */
.br-mega::before {
    content: ''; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px;
}
.br-klappe.ist-offen .br-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

.br-mega-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.br-mega-raster a {
    display: flex; align-items: flex-start; gap: 11px; padding: 11px 12px;
    border-radius: 12px; text-decoration: none; transition: background .12s ease;
}
.br-mega-raster a:hover { background: var(--bg-canvas); }
.br-mega-ico {
    flex: none; display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 10px; background: var(--blue-50); color: var(--brand);
}
.br-mega-ico svg { width: 17px; height: 17px; }
.br-mega-raster b { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); letter-spacing: -.01em; }
.br-mega-raster i { display: block; margin-top: 2px; font-size: 12.5px; font-style: normal; line-height: 1.45; color: var(--text-muted); }

/* **Vier Spalten brauchen Platz.**
   In 560 px gequetscht brach jeder zweite Name um („Ambulante / Pflege“, „Werkstätten /
   (WfbM)“), und die Liste sah aus wie ein Textumbruch, nicht wie ein Menü. Die Spalten sind
   jetzt so breit, dass die Namen in eine Zeile passen; die Klappe bleibt trotzdem schmaler als
   das Fenster. */
.br-mega-breit { min-width: 730px; }
/* Zwischen Burger-Menü (unter 900 px) und breitem Schirm wird es eng: Vier Spalten neben dem
   Logo laufen rechts aus dem Fenster. Dann stehen die Gruppen zu zweit untereinander. */
@media (max-width: 1240px) {
    .br-mega-breit { min-width: 0; width: 520px; }
    .br-mega-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
    .br-mega-titel { min-height: 0; margin-top: 6px; }
}
.br-mega-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 16px; }
.br-mega-titel {
    /* Feste Höhe für drei Zeilen: „Dienstleistung, Technik und Industrie“ ist dreizeilig, die
       anderen sind zweizeilig — ohne gemeinsame Höhe beginnt jede Spalte woanders, und die
       Liste sieht aus, als wäre sie verrutscht. */
    display: block; margin: 0 0 8px; padding: 0 8px; min-height: 42px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted);
}
.br-mega-klein {
    display: block; padding: 6px 8px; border-radius: 8px;
    font-size: 13.5px; line-height: 1.35; color: var(--text-secondary); text-decoration: none;
    transition: background .12s ease, color .12s ease;
}
.br-mega-klein:hover { background: var(--bg-canvas); color: var(--text-primary); }

.br-mega-fuss { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.br-mega-fuss a { font-size: 13.5px; font-weight: 600; color: var(--brand); text-decoration: none; }
.br-mega-fuss a:hover { text-decoration: underline; }

/* Der Knopf für kleine Geräte — auf großen unsichtbar. */
.br-burger { display: none; flex-direction: column; gap: 4px; margin-left: auto; padding: 10px;
    border: 0; background: none; cursor: pointer; }
.br-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text-primary);
    transition: transform .18s ease, opacity .18s ease; }
.br-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.br-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.br-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .br-burger { display: flex; }
    .br-menue {
        position: fixed; inset: 66px 0 0; z-index: 39; margin: 0; padding: 18px 20px 40px;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--bg-surface); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    .br-menue.ist-auf { transform: none; opacity: 1; visibility: visible; }
    .br-menue > a:not(.br-btn) { display: block; padding: 13px 12px; font-size: 16px; border-radius: 10px; }
    .br-klappe-knopf { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16px; }
    .br-mega {
        position: static; transform: none; min-width: 0; padding: 4px 0 10px;
        border: 0; box-shadow: none; background: none;
        display: none; opacity: 1; visibility: visible; pointer-events: auto;
    }
    .br-klappe.ist-offen .br-mega { display: block; transform: none; }
    .br-mega-raster, .br-mega-spalten { grid-template-columns: 1fr; gap: 2px; }
    .br-btn { margin-top: 14px; width: 100%; }
}

/* ── Schnittstellen-Seite (22.09.2026) ───────────────────────────────────────────── */
/* ── Schnittstellen ───────────────────────────────────────────────────────────────
       Karten in Gruppen. Der Stand steht als Marke oben rechts — er ist die wichtigste
       Auskunft der Seite und darf nicht im Fließtext untergehen. */
    .sn-kopf { max-width: 68ch; }
    .sn-fragen-h { margin:48px 0 14px; }

    .sn-gruppe { margin:44px 0 0; }
    .sn-gruppe-kopf { display:flex; align-items:center; gap:13px; margin:0 0 6px; }
    .sn-gruppe-ico { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:12px;
        background:var(--blue-50); color:var(--brand); }
    .sn-gruppe-ico svg { width:21px; height:21px; }
    .sn-gruppe h2 { margin:0; font-size:21px; letter-spacing:-.01em; }
    .sn-gruppe-satz { margin:0 0 18px 53px; font-size:14px; color:var(--text-secondary); max-width:64ch; }

    .sn-raster { display:grid; grid-template-columns:repeat(auto-fill, minmax(310px, 1fr)); gap:14px; }
    .sn-karte { position:relative; display:flex; flex-direction:column; gap:7px; padding:17px 18px 18px;
        border:1px solid var(--border); border-radius:16px; background:var(--bg-surface);
        transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
    .sn-karte:hover { border-color:var(--brand); box-shadow:0 8px 24px rgba(15,23,42,.07); transform:translateY(-2px); }
    .sn-karte-kopf { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
    .sn-karte b { font-size:15px; font-weight:650; letter-spacing:-.01em; }
    .sn-karte p { margin:0; font-size:13.2px; line-height:1.55; color:var(--text-secondary); }
    .sn-richtung { display:inline-flex; align-items:center; gap:5px; margin-top:2px;
        font-size:11.5px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }

    .sn-stand { flex:none; padding:3px 10px; border-radius:var(--r-pill); font-size:11.5px; font-weight:700; white-space:nowrap; }
    .sn-stand.ist-fertig { background:var(--success-bg); color:var(--success, #059669); }
    .sn-stand.ist-arbeit { background:var(--warning-bg); color:#B45309; }
    .sn-stand.ist-geplant { background:var(--bg-canvas); color:var(--text-muted); }

    .sn-hinweis { margin:44px 0 0; padding:20px 22px; border-radius:16px; background:var(--bg-canvas);
        border:1px solid var(--border); font-size:14px; line-height:1.6; color:var(--text-secondary); }
    .sn-hinweis b { color:var(--text-primary); }
    .sn-marken { margin:26px 0 0; font-size:12.5px; line-height:1.6; color:var(--text-muted); }

    @media (max-width:640px) {
        .sn-gruppe-satz { margin-left:0; }
        .sn-raster { grid-template-columns:1fr; }
    }

/* ═══════════════════════════════════════════════════════════════════════════════════════
   Lexikon (22.09.2026)

   Die Übersicht ist eine Liste, keine Werbefläche: Begriff fett, Erklärung darunter, mehr
   nicht. Wer den Begriff schon kennt, liest die Kurzfassung und muss gar nicht klicken.
   ═══════════════════════════════════════════════════════════════════════════════════════ */
.lx-abc { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 30px; padding:12px 14px;
  border:1px solid var(--border); border-radius:14px; background:var(--bg-surface); position:sticky; top:76px; z-index:10; }
.lx-abc a, .lx-abc span { display:grid; place-items:center; width:30px; height:30px; border-radius:8px;
  font-size:13.5px; font-weight:700; text-decoration:none; }
.lx-abc a { color:var(--brand); background:var(--blue-50); }
.lx-abc a:hover { background:var(--brand); color:#fff; }
.lx-abc span { color:var(--text-muted); opacity:.45; }

.lx-gruppe { margin:0 0 36px; scroll-margin-top:130px; }
.lx-buchstabe { margin:0 0 12px; font-size:26px; letter-spacing:-.02em; color:var(--brand); }
.lx-raster { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:12px; }
.lx-karte { display:block; padding:15px 16px; border:1px solid var(--border); border-radius:14px;
  background:var(--bg-surface); text-decoration:none;
  transition:border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.lx-karte:hover { border-color:var(--brand); box-shadow:0 8px 22px rgba(15,23,42,.07); transform:translateY(-2px); }
.lx-karte b { display:block; font-size:15px; font-weight:650; color:var(--text-primary); letter-spacing:-.01em; }
.lx-karte span { display:block; margin-top:4px; font-size:13px; line-height:1.5; color:var(--text-secondary); }

.lx-artikel { max-width:74ch; }
.lx-artikel h1 { margin:0 0 10px; }
.lx-artikel h2 { margin:30px 0 10px; font-size:19px; }
.lx-artikel p { font-size:15.5px; line-height:1.7; color:var(--text-secondary); margin:0 0 14px; }
.lx-kurz { font-size:18px !important; line-height:1.6 !important; color:var(--text-primary) !important;
  padding:16px 18px; border-left:3px solid var(--brand); border-radius:0 12px 12px 0; background:var(--blue-50); }
.lx-recht ul { margin:0; padding-left:20px; }
.lx-recht li { margin:0 0 7px; font-size:14.5px; line-height:1.6; color:var(--text-secondary); }
.lx-polaris { padding:18px 20px; border-radius:14px; background:var(--bg-canvas); border:1px solid var(--border); }
.lx-polaris h2 { margin:0 0 8px; font-size:16px; }
.lx-polaris p { margin:0; }
.lx-chips { display:flex; flex-wrap:wrap; gap:8px; }
.lx-chips a { padding:6px 13px; border-radius:var(--r-pill); background:var(--bg-canvas);
  border:1px solid var(--border); font-size:13.5px; color:var(--text-secondary); text-decoration:none; }
.lx-chips a:hover { border-color:var(--brand); color:var(--brand); }
.lx-fuss { display:flex; flex-wrap:wrap; gap:10px; margin:34px 0 0; }
.lx-stand { margin:26px 0 0; font-size:12.5px !important; color:var(--text-muted) !important; }

@media (max-width:640px) {
  .lx-abc { position:static; }
  .lx-raster { grid-template-columns:1fr; }
}
