/* Backoffice Potsdam Royals – Designsystem des Grundsystems (Design-Referenz „Royals Light“, wie das Signatur-Modul).
   Seitenrahmen: kern_kopf()/kern_fuss() in kern/layout.php. Module können diese Klassen (bo-…) mitbenutzen. */

/* Titelschrift Nunito Sans wie die Website (SIL Open Font License, fonts/OFL.txt), selbst gehostet; andere Zeichen zeigt Arial. */
@font-face{ font-family:"Nunito Sans"; font-style:normal; font-weight:200 1000; font-display:swap; src:url("fonts/nunito-sans-latin-wght.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; }

/* ===== Tokens (Namen wie im Theme, assets/css/tokens.css; der Signatur-Editor nutzt dieselben) ===== */
:root{
  --royals-red:#e3001b; --warm-red:#c90000; --white:#fff; --black:#000; --dark-grey:#161616;
  --light-grey:#666; --paper:#f7f7f7; --line:#e3e3e3; --mist:#b3b3b3; --field:#767676; --yellow:#f8b334;
  --green-text:#1a7a34;
  --ok-bg:#e9f5ec; --ok-line:#bfe0c7; --krit-bg:#fdecea; --krit-line:#f3c2bd; --mittel-bg:#fff4e0; --mittel-line:#f1d9a8; --mittel-text:#8a5a00; /* Plaketten (bo-status) */
  --radius-sm:3px; --radius-md:6px; --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
  --shadow-md:0 2px 4px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.12);
  --rule-weight:6px; --rule-length:64px;
  --font-title:"Nunito Sans", Arial, Helvetica, sans-serif;
  --weight-title:800; /* Titelschrift etwas kräftiger als auf der Website (700): Nunito Sans wirkt bei 700 schmal */
  --font-text:Arial, Helvetica, sans-serif;
  --max:1240px; --gutter:32px; --header-h:80px;
}
@media (min-width:1600px){ :root{ --max:1400px; --gutter:40px; } }
@media (max-width:760px){ :root{ --gutter:20px; --header-h:68px; } }

/* ===== Grundlagen ===== */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--header-h) + 16px); }
body{ margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--white); color:var(--black); font-family:var(--font-text); font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
img{ max-width:100%; }
button,input,select,textarea{ font:inherit; color:inherit; }
:where(b,strong){ font-weight:var(--weight-title); } /* Fettes in Nunito Sans wie die Titel; Arial bleibt Bold */
a{ color:var(--warm-red); }
:focus-visible{ outline:3px solid var(--black); outline-offset:3px; }
:where(.bo-header,.bo-footer) :focus-visible{ outline-color:var(--white); }
.bo-sr{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.bo-skip{ position:absolute; left:16px; top:-80px; z-index:100; background:var(--black); color:var(--white); padding:12px 18px; font-weight:var(--weight-title); text-decoration:none; }
.bo-skip:focus{ top:16px; }
.bo-wrap{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter); }
code{ font-size:.88em; background:var(--paper); padding:1px 6px; border-radius:var(--radius-sm); overflow-wrap:anywhere; }

/* ===== Kopfleiste ===== */
.bo-header{ position:sticky; top:0; z-index:50; background:var(--black); color:var(--white); border-bottom:4px solid var(--royals-red); }
.bo-header__inner{ display:flex; align-items:center; gap:20px; min-height:var(--header-h); }
.bo-header__logo{ display:block; flex:none; }
.bo-header__logo img{ display:block; height:48px; width:auto; }
.bo-header__title{ white-space:nowrap; margin:0; padding-left:20px; border-left:1px solid rgba(255,255,255,.2); font-family:var(--font-title); font-size:15px; line-height:20px; font-weight:var(--weight-title); letter-spacing:.06em; text-transform:uppercase; }
.bo-header__nav{ margin-left:auto; display:flex; align-items:center; gap:24px; }
.bo-header__nav :is(a,button){ position:relative; margin:0; padding:6px 0; border:0; background:none; cursor:pointer; color:var(--white); text-decoration:none; font-family:var(--font-title); font-size:15px; font-weight:var(--weight-title); letter-spacing:.06em; text-transform:uppercase; line-height:inherit; }
.bo-header__nav :is(a,button)::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--royals-red); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.bo-header__nav :is(a,button):hover::after,.bo-header__nav [aria-current="page"]::after{ transform:scaleX(1); }
.bo-header__user{ color:var(--mist); font-size:13px; max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:1000px){ .bo-header__user{ display:none; } }
@media (max-width:760px){
  .bo-header__logo img{ height:38px; }
  .bo-header__title{ padding-left:14px; font-size:13px; }
  .bo-header__nav{ gap:16px; }
  .bo-header__nav :is(a,button){ font-size:13px; padding-block:12px; } /* Tippfläche 44 px */
  .bo-header__nav :is(a,button)::after{ bottom:6px; }
  .bo-header__nav .is-wide{ display:none; }
}
@media (max-width:520px){ .bo-header__title{ display:none; } } /* schmal: Logo reicht, Platz für Verwaltung und Abmelden */
@media (max-width:420px){ .bo-header__inner{ gap:12px; } .bo-header__logo img{ height:32px; } .bo-header__title{ padding-left:12px; font-size:12px; letter-spacing:.04em; } .bo-header__nav :is(a,button){ font-size:12px; } }

/* ===== Seitenkopf (kompakt: im Werkzeug beginnt der Inhalt früh) ===== */
.bo-pagehead{ background:var(--paper); padding:34px 0 30px; }
.bo-eyebrow{ margin:0 0 10px; font-family:var(--font-title); font-size:13px; line-height:16px; font-weight:var(--weight-title); letter-spacing:.12em; text-transform:uppercase; color:var(--light-grey); }
/* Pfad über dem Titel (Verwaltung): wie die Eyebrow, aber anklickbar */
.bo-pfad a{ color:inherit; text-decoration:none; }
.bo-pfad a:hover{ color:var(--black); text-decoration:underline; text-underline-offset:3px; }
.bo-pfad__trenner{ margin:0 .5em; }
.bo-title{ margin:0; font-family:var(--font-title); font-weight:var(--weight-title); font-size:clamp(30px,3.6vw,44px); line-height:1.05; text-transform:uppercase; letter-spacing:.01em; text-wrap:balance; }
.bo-pagehead--gruss .bo-title{ text-transform:none; letter-spacing:0; } /* Startseite: Begrüßung statt Seitentitel */
.bo-rule{ display:block; width:var(--rule-length); height:var(--rule-weight); margin:14px 0 0; background:var(--royals-red); }
.bo-lead{ max-width:60ch; margin:12px 0 0; font-size:17px; line-height:1.6; color:var(--light-grey); }
@media (max-width:760px){ .bo-pagehead{ padding:28px 0 26px; } .bo-title{ font-size:clamp(28px,8vw,34px); hyphens:auto; overflow-wrap:break-word; } .bo-lead{ font-size:16px; } .bo-eyebrow{ font-size:11px; } }

/* ===== Seitenmenü der Verwaltung (Baum) ===== */
.bo-layout{ flex:1 0 auto; display:grid; grid-template-columns:270px minmax(0,1fr); gap:40px; align-items:start; padding-top:40px; padding-bottom:96px; }
.bo-layout > .bo-main{ padding:0; min-width:0; }
.bo-side{ position:sticky; top:calc(var(--header-h) + 24px); max-height:calc(100vh - var(--header-h) - 48px); overflow:auto; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); padding:16px 10px 12px; }
.bo-side__titel{ margin:0 10px 8px; font-family:var(--font-title); font-size:12px; font-weight:var(--weight-title); letter-spacing:.12em; text-transform:uppercase; color:var(--light-grey); }
/* Auf dem Desktop ist das Menü immer offen; zuklappbar nur auf schmalen Bildschirmen */
.bo-side__klapp > summary{ list-style:none; pointer-events:none; }
.bo-side__klapp > summary::-webkit-details-marker{ display:none; }
.bo-baum,.bo-baum ul{ list-style:none; margin:0; padding:0; }
.bo-baum > li + li{ border-top:1px solid var(--line); }
.bo-baum a,.bo-baum summary > span{ display:block; padding:10px 8px; border-radius:var(--radius-sm); color:var(--black); text-decoration:none; font-family:var(--font-title); font-size:15px; font-weight:var(--weight-title); line-height:1.3; }
.bo-baum a:hover{ background:var(--paper); }
.bo-baum a[aria-current="page"]{ color:var(--royals-red); }
.bo-baum__blatt{ padding-left:26px!important; } /* bündig mit den aufklappbaren Punkten (Pfeil 26px) */
.bo-baum summary{ display:flex; align-items:center; list-style:none; cursor:pointer; border-radius:var(--radius-sm); }
.bo-baum summary::-webkit-details-marker{ display:none; }
.bo-baum summary::before{ content:""; flex:none; width:7px; height:7px; margin:0 9px 0 10px; border-right:2px solid var(--light-grey); border-bottom:2px solid var(--light-grey); transform:rotate(-45deg); transition:transform .15s ease; }
.bo-baum details[open] > summary::before{ transform:rotate(45deg); margin-top:-4px; }
.bo-baum summary > a,.bo-baum summary > span{ flex:1; padding-left:0; }
.bo-baum summary:focus-visible{ outline:3px solid var(--black); outline-offset:-3px; }
.bo-baum details ul{ margin:0 0 8px; }
.bo-baum details ul a{ padding:7px 8px 7px 24px; margin-left:12px; border-left:3px solid var(--line); border-radius:0; font-family:var(--font-text); font-size:14px; font-weight:400; color:var(--light-grey); }
.bo-baum details ul a:hover{ color:var(--black); border-left-color:var(--mist); }
.bo-baum details ul a.is-hier{ color:var(--black); font-weight:var(--weight-title); border-left-color:var(--royals-red); background:none; }
@media (max-width:960px){
  .bo-layout{ grid-template-columns:minmax(0,1fr); gap:24px; padding-top:24px; padding-bottom:56px; }
  .bo-side{ position:static; max-height:none; padding:4px 10px; }
  .bo-side__klapp > summary{ pointer-events:auto; cursor:pointer; display:flex; align-items:center; margin:0; padding:12px 10px; }
  .bo-side__klapp > summary::after{ content:""; margin-left:auto; flex:none; width:8px; height:8px; border-right:2px solid var(--light-grey); border-bottom:2px solid var(--light-grey); transform:rotate(45deg); margin-top:-4px; transition:transform .15s ease; }
  .bo-side__klapp[open] > summary::after{ transform:rotate(-135deg); margin-top:4px; }
  .bo-side__klapp > summary:focus-visible{ outline:3px solid var(--black); outline-offset:-3px; }
  .bo-side__klapp[open] > .bo-baum{ padding-bottom:8px; }
}
/* ===== Inhalt ===== */
.bo-main{ flex:1 0 auto; padding-top:48px; padding-bottom:96px; }
.bo-panels{ display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
.bo-panels .bo-panels{ padding-bottom:0; }
@media (max-width:760px){ .bo-main{ padding-top:32px; padding-bottom:56px; } }

/* Karte: ruhig mit Rand und Schatten. Rot bleibt Titel-Linie, aktivem Menüpunkt und Hauptknopf vorbehalten. */
.bo-panel{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); padding:24px 26px 26px; }
.bo-panel h2{ display:flex; align-items:center; gap:14px; margin:0 0 14px; font-family:var(--font-title); font-size:22px; line-height:1.2; font-weight:var(--weight-title); overflow-wrap:anywhere; } /* lange E-Mail-Adressen (Auskunft) brechen um */
.bo-nr{ flex:none; width:36px; height:36px; border-radius:var(--radius-pill); background:var(--royals-red); color:var(--white); font-size:15px; display:grid; place-items:center; }
@media (max-width:760px){ .bo-panel{ padding:20px 18px 22px; } .bo-panel h2{ font-size:19px; } }

.bo-hint{ margin:0 0 18px; font-size:15px; line-height:1.55; color:var(--light-grey); }
.bo-note{ margin:0 0 24px; padding:12px 16px; border-left:4px solid var(--green-text); background:var(--white); box-shadow:var(--shadow-sm); font-size:15px; line-height:1.5; }
.bo-note.is-error{ border-left-color:var(--royals-red); color:var(--warm-red); font-weight:var(--weight-title); }
.bo-panel .bo-note{ box-shadow:none; background:var(--paper); }

/* Kacheln (Startseite, Übersicht der Verwaltung) */
.bo-grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:20px; }
/* Die ganze Kachel ist der Link; beim Hover die rote Unterkante wie im Theme */
.bo-card{ display:flex; flex-direction:column; height:100%; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px 24px 24px; color:var(--black); text-decoration:none; box-shadow:var(--shadow-sm); transition:box-shadow .18s ease; }
.bo-card:is(:hover,:focus-visible){ box-shadow:var(--shadow-md), inset 0 -4px 0 var(--royals-red); }
.bo-card h2{ margin:0; font-family:var(--font-title); font-size:20px; font-weight:var(--weight-title); }
.bo-card h2::after{ content:"›"; content:"›" / ""; margin-left:.4em; color:var(--mist); } /* klickbar auch ohne Hover, z. B. auf dem Handy */
.bo-card:is(:hover,:focus-visible) h2::after{ color:var(--warm-red); }
.bo-card:hover h2{ color:var(--warm-red); }
.bo-card p{ margin:8px 0 0; font-size:15px; line-height:1.5; color:var(--light-grey); }
.bo-card small{ display:block; margin-top:auto; padding-top:12px; font-size:13px; color:var(--light-grey); } /* Kennzahl unten, bündig über alle Kacheln */
.bo-card .bo-angaben{ color:var(--black); } /* Rollenkacheln: Inhalt schwarz, Bezeichnungen grau */
.bo-card .bo-angaben b{ color:var(--light-grey); }
/* Startseite: Kacheln behalten ihre Oberkante – Rot für Module, Schwarz für die Verwaltung */
.bo-grid--start .bo-card{ border-top:var(--rule-weight) solid var(--royals-red); }
.bo-grid--start .bo-card--admin{ border-top-color:var(--black); }
/* Überschrift einer Kachelgruppe (Übersicht der Verwaltung: Grundsystem, Einstellungen der Module) */
.bo-gruppe{ margin:0 0 14px; font-family:var(--font-title); font-size:13px; font-weight:var(--weight-title); letter-spacing:.12em; text-transform:uppercase; color:var(--light-grey); }
.bo-grid + .bo-gruppe{ margin-top:40px; }

/* ===== Knöpfe (wie pr-btn) ===== */
.bo-btn{ position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 26px; border:2px solid transparent; border-radius:var(--radius-sm); background:var(--royals-red); color:var(--white); font-family:var(--font-title); font-size:15px; font-weight:var(--weight-title); letter-spacing:.06em; text-transform:uppercase; text-decoration:none; white-space:nowrap; cursor:pointer; box-shadow:0 4px 12px rgba(227,0,27,.28); transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.bo-btn:hover{ background:var(--warm-red); box-shadow:0 6px 18px rgba(201,0,0,.35); }
.bo-btn:active{ transform:translateY(1px); }
.bo-btn--outline{ background:var(--white); border-color:var(--black); color:var(--black); box-shadow:none; }
.bo-btn--outline::after{ content:""; position:absolute; left:-2px; right:-2px; bottom:-2px; height:4px; background:var(--royals-red); transform:scaleX(0); transform-origin:left; transition:transform .22s ease; }
.bo-btn--outline:hover{ background:var(--black); color:var(--white); box-shadow:none; }
.bo-btn--outline:hover::after{ transform:scaleX(1); }
.bo-btn--sm{ min-height:40px; padding:0 16px; font-size:13px; }
.bo-btn--gefahr{ background:var(--white); border-color:var(--warm-red); color:var(--warm-red); box-shadow:none; } /* nicht umkehrbare Aktion (Löschen) */
.bo-btn--gefahr:hover{ background:var(--warm-red); color:var(--white); box-shadow:none; }
.bo-btn svg{ width:18px; height:18px; flex:none; }
.bo-btn[disabled]{ opacity:.5; cursor:not-allowed; }
.bo-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }

/* ===== Formulare ===== */
.bo-label{ display:block; margin:0 0 6px; font-family:var(--font-title); font-size:15px; line-height:20px; font-weight:var(--weight-title); color:var(--black); } /* Satzschreibung: liest sich beim Ausfüllen schneller als Versalien */
.bo-input{ display:block; width:100%; min-height:48px; padding:10px 14px; border:1px solid var(--field); border-radius:var(--radius-sm); background:var(--white); font-size:16px; line-height:1.4; color:var(--black); transition:border-color .15s ease, box-shadow .15s ease; }
.bo-input::placeholder{ color:var(--field); }
.bo-input:focus{ outline:none; border-color:var(--black); box-shadow:0 0 0 3px rgba(227,0,27,.25); }
textarea.bo-input{ min-height:96px; resize:vertical; }
.bo-input + .bo-label{ margin-top:16px; } /* Label direkt unter einem Feld: Abstand zum Feld darüber */
.bo-input + .bo-actions{ margin-top:20px; }
.bo-felder{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:18px 20px; }
.bo-felder .bo-hint{ margin:6px 0 0; font-size:14px; }
.bo-del{ display:flex; align-items:center; gap:8px; padding-top:30px; font-size:14px; color:var(--light-grey); white-space:nowrap; }
.bo-bestaetigen{ color:var(--black); font-size:15px; } /* Bestätigung vor dem Löschen: die eigentliche Sicherung */
.bo-teil{ margin:0 0 12px; font-family:var(--font-title); font-size:17px; font-weight:var(--weight-title); }
input[type="checkbox"]{ width:20px; height:20px; accent-color:var(--royals-red); }
/* Nur lesbar (Verwaltungsrechte): <fieldset disabled>; der Server prüft trotzdem jede Aktion */
.bo-fieldset{ border:0; margin:0; padding:0; min-width:0; display:contents; }
.bo-fieldset:disabled .bo-input{ background:var(--paper); color:var(--light-grey); cursor:not-allowed; }
.bo-fieldset:disabled input[type="checkbox"]{ cursor:not-allowed; opacity:.6; }

/* ===== Tabellen ===== */
.bo-scroll{ position:relative; overflow-x:auto; margin:0 -4px; padding:0 4px; } /* relative: auch absolut positionierte Teile (bo-sr) bleiben im Zuschnitt, sonst wird die Seite auf dem Handy breiter */
.bo-table{ width:100%; border-collapse:collapse; font-size:15px; }
.bo-table th,.bo-table td{ padding:12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
.bo-table thead th{ font-family:var(--font-title); font-size:13px; font-weight:var(--weight-title); color:var(--light-grey); white-space:nowrap; }
.bo-table tbody th{ font-family:var(--font-title); font-weight:var(--weight-title); }
.bo-table tbody th small{ display:block; font-family:var(--font-text); font-weight:400; font-size:13px; color:var(--light-grey); }
.bo-table .bo-nowrap{ white-space:nowrap; }
.bo-status{ display:inline-block; padding:3px 10px; border-radius:var(--radius-pill); background:var(--paper); border:1px solid var(--line); font-family:var(--font-title); font-size:12px; font-weight:var(--weight-title); letter-spacing:.04em; color:var(--light-grey); white-space:nowrap; }
@media (max-width:760px){ .bo-status{ white-space:normal; } } /* lange Plaketten (Sicherheit) sonst breiter als das Handy */
.bo-status.is-on{ background:var(--ok-bg); border-color:var(--ok-line); color:var(--green-text); }
.bo-status.is-krit{ background:var(--krit-bg); border-color:var(--krit-line); color:var(--warm-red); }
.bo-status.is-mittel{ background:var(--mittel-bg); border-color:var(--mittel-line); color:var(--mittel-text); }

/* Rollen, Abschnitte, Listen */
.bo-abschnitte{ display:grid; gap:16px; }
/* Rechte einer Rolle: links der Bereich, rechts ein Auswahlfeld */
.bo-zeilen{ margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.bo-zeile{ display:grid; grid-template-columns:minmax(0, 1fr) 260px; gap:8px 24px; align-items:center; padding:14px 0; border-bottom:1px solid var(--line); }
.bo-zeile b{ display:block; font-family:var(--font-title); font-size:16px; }
.bo-zeile small{ display:block; margin-top:2px; font-size:13px; line-height:1.45; color:var(--light-grey); }
.bo-gefahr{ margin-top:24px; }
.bo-gefahr summary{ cursor:pointer; font-family:var(--font-title); font-weight:var(--weight-title); color:var(--warm-red); }
.bo-gefahr[open] summary{ margin-bottom:12px; }
.bo-abschnitte{ margin-top:22px; }
.bo-abschnitt{ padding:16px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--paper); }
.bo-abschnitt--neu{ background:var(--white); border-style:dashed; }
.bo-abschnitt__kopf{ display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start; margin-bottom:10px; }
.bo-abschnitt .bo-del{ padding-top:30px; }
.bo-fixed{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; padding:0; list-style:none; }
.bo-fixed li{ padding:4px 12px; border-radius:var(--radius-pill); background:var(--paper); border:1px solid var(--line); font-size:14px; }
.bo-result{ margin:16px 0 0; padding:0; list-style:none; display:grid; gap:6px; font-size:15px; }
.bo-result li::before{ content:"✓ "; color:var(--green-text); font-weight:var(--weight-title); }
.bo-result li.is-no{ color:var(--light-grey); }
.bo-result li.is-no::before{ content:"– "; color:var(--light-grey); }
/* Prüfliste (Einstellungen eines Moduls): grün ok, gelb Hinweis, rot Fehler, grau läuft noch */
.bo-checks{ margin:0 0 20px; padding:0; list-style:none; display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.bo-checks .bo-note{ margin:0; overflow-wrap:anywhere; } /* lange Adressen brechen um statt die Seite zu verbreitern */
.bo-checks b{ display:block; font-family:var(--font-title); }
.bo-note.is-warn{ border-left-color:var(--yellow); }
.bo-note.is-wait{ border-left-color:var(--line); }
/* Angaben als Liste: links Bezeichnung, rechts Wert */
.bo-dl{ display:grid; grid-template-columns:max-content minmax(0,1fr); gap:10px 20px; margin:0 0 14px; font-size:15px; line-height:1.5; }
.bo-dl dt{ font-family:var(--font-title); font-size:14px; font-weight:var(--weight-title); color:var(--light-grey); }
.bo-dl dd{ margin:0; overflow-wrap:anywhere; }
@media (max-width:560px){ .bo-dl{ grid-template-columns:minmax(0,1fr); gap:2px; } .bo-dl dd{ margin-bottom:10px; } }
@media (max-width:700px){ .bo-zeile{ grid-template-columns:minmax(0, 1fr); } .bo-del{ padding-top:0; } }

/* Fließtext (Datenschutzhinweise) */
.bo-text p,.bo-text li{ font-size:16px; line-height:1.65; }
.bo-text .bo-panel p{ margin:0 0 12px; }
.bo-text .bo-panel p:last-child{ margin-bottom:0; }
.bo-text ul{ margin:0 0 12px; padding-left:20px; display:grid; gap:8px; }
.bo-text a{ color:var(--black); }

/* ===== Fuß: eine schmale Zeile – Logo und Claim stehen schon im Kopf bzw. auf der Website ===== */
.bo-footer{ flex:none; background:var(--black); color:var(--mist); font-size:13px; }
.bo-footer__inner{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; padding-top:18px; padding-bottom:18px; /* nur oben/unten: seitlich polstert bo-wrap */ }
.bo-footer__links{ display:flex; gap:16px; }
.bo-footer__links a{ color:var(--white); text-decoration:none; }
.bo-footer__links a:hover{ text-decoration:underline; }

/* ===== Anmeldeseite (eigene, schlichte Karte ohne Kopf und Fuß) ===== */
.lg{ flex:1 0 auto; display:grid; place-items:center; padding:24px 16px; background:var(--paper); }
.lg-card{ width:100%; max-width:400px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-md); padding:40px 32px 32px; text-align:center; }
.lg-eyebrow{ margin:16px 0 0; font-family:var(--font-title); font-size:13px; font-weight:var(--weight-title); letter-spacing:.12em; text-transform:uppercase; color:var(--light-grey); }
.lg-title{ margin:6px 0 0; font-family:var(--font-title); font-size:30px; font-weight:var(--weight-title); line-height:1.15; text-transform:uppercase; letter-spacing:.01em; }
.lg-rule{ display:block; width:var(--rule-length); height:var(--rule-weight); margin:14px auto 18px; background:var(--royals-red); }
.lg-text{ margin:0 0 24px; font-size:15px; line-height:1.5; color:var(--light-grey); }
.lg-status{ margin:0 0 20px; padding-left:12px; border-left:4px solid var(--green-text); font-size:14px; line-height:1.5; text-align:left; }
.lg-status.is-error{ border-left-color:var(--royals-red); color:var(--warm-red); font-weight:var(--weight-title); }
.lg-card .bo-btn{ width:100%; }
.lg-hint{ margin:16px 0 0; font-size:13px; line-height:1.5; color:var(--light-grey); }
.lg-privacy{ margin-top:20px; padding-top:16px; border-top:1px solid var(--line); text-align:left; font-size:13px; line-height:1.55; }
.lg-links{ margin:12px 0 0; font-size:13px; }
.lg-links a{ color:var(--black); }
@media (max-width:420px){ .lg-card{ padding:32px 20px 24px; } }

@media (prefers-reduced-motion:reduce){ *,*::before,*::after{ transition:none!important; animation:none!important; } }
