/* Neues Erscheinungsbild (Phase 3, Plan: docs/design-startseite.md). Ersetzt Bootstrap 3 auf Seiten mit $neues_design = true.
   Seriös, Hellrot nur für Marke und Handlung (Streifen, Anruf, Frist), Bordeaux für Flächen und Nebenakzente, warme helle Fläche.
   Arial für Namenszug (Markenvorgabe), Fließtext und Knöpfe; Source Serif 4 (600, selbst gehostet, OFL) für Überschriften und Kennzahlen.
   Farbwahl B3 vom 18.10.2026.
   Aufbau in Bändern über die volle Breite: weiß, hell (klar abgegrenzt) und ein dunkles Band als Kontrastpunkt. */
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --rot: #D3202A;          /* Signalrot nur für Streifen und Frist-Stempel; 5,2:1 auf Weiß, auf --hell nur 4,49:1 (dort --rot-dunkel) */
  --anruf: #B51D26;        /* Anruf-Knöpfe, ruhiger als Signalrot (Wahl 18.10.2026); Weiß darauf 6,6:1 */
  --anruf-dunkel: #8F1820; /* Knopf Hover; Weiß darauf 9,1:1 */
  --rot-dunkel: #A8161F;   /* gedrückt / Hover, roter Text auf --hell: 6,4:1 */
  --schwarz: #111;         /* Namenszug im Kopf (Markenvorgabe: Arial schwarz) */
  --ink: #1E1716;          /* Überschriften, Menü, Links: warmes Fast-Schwarz, 17,7:1 auf Weiß */
  --text: #2B2321;         /* Fließtext, warm: 15,4:1 auf Weiß, 13,2:1 auf --hell */
  --grau: #5E5250;         /* Nebentext, warm: 7,5:1 auf Weiß, 6,4:1 auf --hell */
  --linie: #CDD2D8;        /* Ränder und Trennlinien */
  --hell: #F4ECE6;         /* helles Band, warmer Zwischenton aus Rosé und Sandstein */
  --bordeaux: #5C1A20;     /* dunkles Band, Fußzeile, Nebenakzente; 12,9:1 auf Weiß, 11,1:1 auf --hell */
  --bordeaux-text: #EBD9D6; /* Nebentext auf Bordeaux: 9,5:1 */
  --bordeaux-linie: #D9BFC1; /* Trennlinien der Fragen und der Seitenspalte */
  --serif: "Source Serif 4", Georgia, serif;
  --weiss: #fff;
  --schatten: 0 2px 8px rgba(17, 17, 17, .08), 0 1px 2px rgba(17, 17, 17, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--text); font: 17px/1.55 Arial, Helvetica, sans-serif; }
::selection { background: var(--bordeaux); color: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--bordeaux); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 25px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; margin-top: 1.4em; }
p { margin: 0 0 .8em; }
[id] { scroll-margin-top: 130px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 30; background: var(--weiss); padding: 8px 12px; }

/* Bänder */
.band { padding: 40px 0; }
.band-hell { background: var(--hell); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.band-dunkel { background: var(--bordeaux); color: var(--weiss); }
.band-dunkel :focus-visible, .fuss :focus-visible { outline-color: var(--weiss); }
.band-dunkel h2, .band-dunkel h3 { color: var(--weiss); }
.band-dunkel p { color: var(--bordeaux-text); }
/* Kurze Bordeaux-Linie unter Abschnittsüberschriften (Wahl 18.10.2026); nicht bei den Fragen und Beschriftungen der Seitenspalte */
.band h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--bordeaux); margin-top: 12px; }
.band-dunkel h2::after { background: var(--bordeaux-text); }
.fragen h2::after, .seitenspalte h2::after { content: none; }
.band-dunkel a:not(.btn) { color: var(--weiss); }
.prosa { max-width: 62ch; }  /* Arial ist schmal: 62ch ergeben etwa 75 Zeichen pro Zeile */

/* Kopf: roter Streifen, Infozeile, Wappen, Titel über Name (wie im Druck) */
.streifen { height: 6px; background: var(--rot); }
.kopf-fest { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; }
.kopf-fest .info { order: -1; }  /* Handy: Streifen unter der Infozeile, sonst färbt Safari (iOS 26) die Statusleiste rot */
.kopf { position: relative; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px 14px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--schwarz); }
.marke img { width: 36px; }
.marke em { font-style: normal; }
.marke span { display: block; font-size: 12px; line-height: 1.3; }
.marke b { display: block; font-size: 22px; line-height: 1.15; }
.marke:hover { color: var(--schwarz); }  /* Namenszug bleibt schwarz (Briefkopf) */

/* Infozeile über dem Kopf (Vorbild praxis-delong.de): mobil nur Telefon, ab Desktop Adresse, Telefon, E-Mail */
.info { background: var(--hell); border-bottom: 1px solid var(--linie); }
.info .wrap { display: flex; justify-content: center; padding: 0; }
.info a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; color: var(--ink); }
.info a:hover b { text-decoration: underline; }
.info a:focus-visible { outline-offset: -3px; }  /* sonst schneidet der feste Streifen den Rahmen ab */
.info small { font-size: 12px; font-weight: bold; letter-spacing: .6px; text-transform: uppercase; }
.info b { color: var(--rot-dunkel); font-size: 14px; }
.info-adr, .info-mail { display: none !important; }

/* Menü */
.menue { margin-left: auto; }
.menue-knopf { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.menue-knopf i { display: block; width: 28px; height: 3px; background: var(--ink); box-shadow: 0 -9px 0 var(--ink), 0 9px 0 var(--ink); }
.menue.offen .menue-knopf i { box-shadow: none; transform: rotate(45deg); }
.menue.offen .menue-knopf i::after { content: ""; display: block; width: 28px; height: 3px; background: var(--ink); transform: rotate(-90deg); }
.menue nav { display: none; }
.menue.offen nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); }
.menue ul { list-style: none; margin: 0; padding: 4px 16px 12px; }
.menue li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font-size: 17px; }
.menue li li a { padding-left: 16px; font-size: 16px; }
.menue ul ul { padding: 0; }
.menue [aria-current="page"], .menue .aktiv > a { color: var(--bordeaux); font-weight: bold; }
.menue .bereich { position: relative; }
.unter-knopf { position: absolute; right: 0; top: 2px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.unter-knopf i { width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin-top: -4px; }
.bereich.auf > .unter-knopf i { transform: rotate(-135deg); margin-top: 4px; }
.bereich > ul { display: none; }
.bereich.auf > ul { display: block; }

/* Knöpfe: eckig, eindeutiger Gedrückt-Zustand */
.btn { display: block; text-align: center; text-decoration: none; font-weight: bold; padding: 12px 14px; border: 2px solid var(--anruf); background: var(--anruf); color: var(--weiss); font-size: 22px; line-height: 1.2; }
.btn small { display: block; font-size: 12px; font-weight: normal; letter-spacing: .3px; }
.btn:hover { color: var(--weiss); background: var(--anruf-dunkel); border-color: var(--anruf-dunkel); }
.btn:active { background: var(--weiss); color: var(--anruf); }
.btn-schmal { max-width: 420px; margin-top: 16px; }
.btn-schmal + .zeit { max-width: 420px; }
.mehr { font-weight: bold; color: var(--bordeaux); text-decoration: none; }
.mehr::after { content: " ›"; }
.mehr:hover { text-decoration: underline; }

/* Einstieg: Porträt, darüber Karte mit Überschrift und Anruf, daneben die Kennzahlen */
.band-einstieg { padding: 0 0 32px; border-top: 0; }
.band-einstieg .wrap { padding: 0; }
.portraet img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.portraet picture { display: block; }
.karte { position: relative; background: var(--weiss); border: 1px solid var(--linie); border-radius: 4px; box-shadow: var(--schatten); padding: 16px 16px 14px; margin: -48px 14px 0; }
.karte h1 { border-left: 4px solid var(--bordeaux); padding-left: 10px; }
.karte .btn { margin-top: 14px; }
.zeit { text-align: center; font-size: 14px; color: var(--grau); margin: 8px 0 0; }
.zeit a { display: inline-block; padding: 6px 0; color: var(--ink); }  /* Ausweg, wenn niemand abnimmt; Tippfläche ≥ 24 px */
.zeit + .zeit { margin-top: 0; }
/* Geschlossen (sprechzeit_html): Hinweis kräftig, E-Mail als ruhiger Block nach vorn; bewusst kein gefüllter Knopf, Anrufen bleibt die Hauptaktion */
.zeit.zu { color: var(--ink); font-weight: bold; font-size: 15px; }
.zeit.zu + .zeit a { display: block; margin-top: 6px; padding: 11px 8px; min-height: 44px; border: 1px solid var(--bordeaux-linie); color: var(--bordeaux); font-weight: bold; text-decoration: none; }
.zeit.zu + .zeit a:hover { background: var(--hell); }
/* Startseite: Hinweis auf die Klagefrist mit Link auf /kuendigung (Entwurf, Freigabe) */
.frist-hinweis { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--linie); text-align: center; font-size: 15px; }
.frist-hinweis a { display: inline-block; padding-block: 4px; }
.kennzahlen-box { margin: 12px 14px 0; background: var(--weiss); border: 1px solid var(--linie); border-radius: 4px; box-shadow: var(--schatten); }
.kennzahlen { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.kennzahlen li { padding: 10px 14px; border-top: 1px solid var(--linie); }
.kennzahlen li:first-child { border-top: 0; }
.kennzahlen a, .kennzahlen .zeile { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.kennzahlen svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--bordeaux); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kennzahlen small { display: block; font-size: 12px; font-weight: bold; letter-spacing: .5px; text-transform: uppercase; color: var(--grau); line-height: 1.3; }
.kennzahlen b { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); margin-top: 2px; line-height: 1.25; }
.kennzahlen i { font-family: Arial, Helvetica, sans-serif; font-style: normal; font-weight: normal; font-size: 13px; color: var(--grau); }
.kennzahlen a:hover b { color: var(--bordeaux); }
.kennzahlen-box .hinweis { margin: 0; padding: 8px 14px 10px; font-size: 12.5px; color: var(--grau); }

/* Inhalt: Text mit Foto, Kosten-Band, Fachgebiete, Fragen, Kontakt */
.warum { display: grid; gap: 24px; }
.warum .hinweise, .warum .weiche-mehr { margin: 0; }
.kosten-mehr { margin: 16px 0 0; }
.kosten-mehr a { display: inline-block; padding-block: 10px; }
.foto img { width: 100%; border-radius: 4px; }
.kosten h2 { font-size: 24px; }
.kosten a { color: var(--weiss); font-weight: bold; }
.pfeile { list-style: none; margin: 0; padding: 0; }
.pfeile li { padding: 4px 0; }
.pfeile a::before { content: "›"; color: var(--bordeaux); font-weight: bold; margin-right: 8px; }
.fragen-zwei { display: grid; gap: 32px; }
.fragen h2 { font-size: 22px; }
.fragen details { border-top: 1px solid var(--bordeaux-linie); }
.fragen details:last-child { border-bottom: 1px solid var(--bordeaux-linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary h3 { margin: 0; font-size: 17px; text-wrap: pretty; }
.fragen summary::after { content: "+"; font-weight: bold; font-size: 22px; line-height: 1; color: var(--bordeaux); }
.fragen details[open] summary::after { content: "–"; }
.fragen details[open] { padding-bottom: 8px; }
.kontakt { display: grid; gap: 24px; }
.kontakt h2 { margin-top: 0; }
.kontakt h3 { margin-top: 1em; }
.kontakt-seite .foto { margin: 16px 0 8px; }
.nw { white-space: nowrap; }
/* Tippflächen mindestens 24px hoch (DESIGN.md); Innenabstand an Textlinks vergrößert die Fläche, ohne Zeilen zu verschieben */
.pfad a, .pfeile a, .fuss li a, .inhalt li a, .kontakt p a { padding-block: 4px; }  /* Uhrzeit nicht mitten im Bereich umbrechen */

/* Unterseiten: Pfad, Titel, Frist-Stempel, Inhaltsverzeichnis, Fließtext */
.band-kopf { padding: 20px 0 32px; border-top: 0; }
.pfad { margin: 0 0 6px; font-size: 14px; color: var(--grau); }
.pfad a { color: var(--grau); }
.band-kopf:not(:has(.karte)) { padding-bottom: 20px; }
.seitentitel { margin: 0 0 10px; border-left: 4px solid var(--bordeaux); padding-left: 10px; }
.karte.karte-flach { margin: 16px 0 0; max-width: 640px; }
.stempel { display: flex; width: max-content; max-width: 100%; flex-direction: column; align-items: center; transform: rotate(-2deg); border: 3px double var(--rot); color: var(--rot); padding: 6px 14px 7px; margin: 10px auto 20px; text-transform: uppercase; line-height: 1.15; }
.stempel .k { font-size: 12px; letter-spacing: 1.6px; font-weight: bold; }
.stempel .d { font-size: 28px; font-weight: bold; letter-spacing: .4px; }
.stempel .s { font-size: 12px; letter-spacing: .8px; }
.stempel .k, .stempel .s { color: var(--rot-dunkel); }  /* kleine Zeilen: 4,5:1 auch auf Hell */
.vertrauen { margin: 6px 0 0; text-align: center; font-size: 14px; color: var(--grau); }
.person-karte.nur-desktop { display: none; }
.inhalt { border: 1px solid var(--linie); border-radius: 4px; padding: 12px 16px; margin-bottom: 28px; max-width: 62ch; }
.inhalt summary { cursor: pointer; font-weight: bold; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.inhalt summary::-webkit-details-marker { display: none; }
.inhalt summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--bordeaux); }  /* wie die Fragen */
.inhalt[open] summary::after { content: "–"; }
.inhalt ul { margin: 10px 0 0; padding-left: 18px; }
.inhalt li { margin: 4px 0; }
.nur-desktop, .seitenspalte { display: none; }  /* mobil steht die Anrufkarte im Text bzw. in der Einstiegskarte */
.seitenspalte { margin-top: 24px; }
.anrufkarte { background: var(--hell); border: 1px solid var(--linie); border-radius: 4px; padding: 16px; }
.anrufkarte p:first-child { font-weight: bold; color: var(--ink); }
.text h2 { margin-top: 1.6em; }
.text h2:first-child { margin-top: 0; }
.band ul:not(.pfeile):not(.kennzahlen) { padding-left: 20px; }

/* Übrige Unterseiten: Hinweise im Fachtext, Tabellen, Team, Karte, Seitenlisten */
.zitat { background: var(--hell); border-radius: 4px; padding: 12px 16px; text-align: center; }
.hinweis-widerspruch { background: var(--hell); border-radius: 4px; padding: 12px 16px 4px; margin-bottom: .8em; }
.hinweis-widerspruch p { font-weight: bold; }
.tabelle { overflow-x: auto; margin: 0 0 1.4em; }
.tabelle table, .text table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.text th, .text td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--linie); }
.text th { color: var(--ink); }
.tabelle td:last-child, .tabelle th:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.tabelle th p { margin: 0; font-weight: normal; }
/* Cookie-Tabelle mobil als Liste: jede Zeile ein Block, Spaltenname vor dem Wert */
.cookie-table { font-size: 15px; margin-bottom: 1.4em; }
.cookie-table thead { display: none; }
.cookie-table tr { display: block; padding: 8px 0; border-top: 1px solid var(--linie); }
.cookie-table td { display: block; border: 0; padding: 2px 0; }
.cookie-table td:first-child { font-weight: bold; color: var(--ink); }
.cookie-table td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: bold; }
.team { list-style: none; margin: 24px 0 0; padding: 0 !important; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team img { border-radius: 4px; border: 1px solid var(--linie); }
.team p { margin: 10px 0 0; }
.team b { color: var(--ink); }
/* Anrufkarte der Seitenspalte kompakt: ohne zweite E-Mail-Schaltfläche (steht in der Einstiegskarte) */
.anrufkarte .zeit:not(.zu) + .zeit, .anruf-band .zeit:not(.zu) + .zeit { display: none; }  /* E-Mail nur, wenn geschlossen ist */
.pfeile .pfeile { padding: 2px 0 0 22px !important; }
.seitenliste { margin-bottom: 24px; }

/* Bausteine der Unterseiten (Runde 1 der Optimierung, 19.10.2026) */
.fragen-gruppe { font-size: 15px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; letter-spacing: .6px; text-transform: uppercase; color: var(--grau); margin: 0 0 6px; }
.fragen summary h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
/* Fachanwalt-Band: Porträt, Erklärung, Mitgliedschaft */
.fachanwalt { display: grid; gap: 24px; }
.fachanwalt .foto { max-width: 240px; }
.band-dunkel li { color: var(--bordeaux-text); }
.haken { list-style: none; padding: 0 !important; margin: 0 0 1em; }
.haken li { position: relative; padding: 4px 0 4px 30px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EBD9D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") no-repeat center / contain; }
/* Mitgliedslogo bleibt in Originalfarben auf eigener weißer Fläche (fremdes Markenzeichen, nicht umfärben) */
.vdaa { display: flex; align-items: center; gap: 16px; max-width: 420px; margin: 8px 0 0; padding: 12px 16px; background: var(--weiss); border-radius: 4px; color: var(--ink) !important; text-decoration: none; font-size: 14px; line-height: 1.35; }
.vdaa img { width: 110px; flex: none; }
.vdaa:hover span { text-decoration: underline; }
.band-dunkel .vdaa:focus-visible { outline-color: var(--weiss); }
.team-zusatz { margin: 20px 0 0; }
.team img { width: 100%; }
/* Textlinks mit Handlung: mindestens 44 px Tippfläche */
.frist-hinweis a, .karte .mehr { display: inline-block; padding-block: 12px; }
.zitat { text-align: left; }
/* Inhaltsverzeichnis mobil wie am Desktop: Leitlinie statt Punkte */
.inhalt ul { list-style: none; border-left: 1px solid var(--bordeaux-linie); padding-left: 14px !important; }
.inhalt ul ul { border: 0; padding-left: 14px !important; margin: 0; }
.inhalt li a { color: var(--grau); text-decoration: none; }
/* Kopfband-Varianten: Kennzahlen, Hinweiskarte oder Foto in der rechten Spalte */
.kopf-foto { margin: 16px 0 0; }
.text-spalten > .prosa + .prosa { margin-top: 24px; }  /* Zur Person: Ausbildung unter dem Werdegang */
.nachweis { display: grid; gap: 12px; max-width: 420px; }
.nachweis .btn-schmal, .nachweis .vdaa { margin: 0; }
.tabelle th { border-bottom: 1px solid var(--ink); }
.fuss .unten a { display: inline-block; padding-block: 10px; }
/* Themenseiten: Kurzantworten im Kopf, Personenkarte, Hinweise, verwandte Themen */
.kurz h2 { font-size: 20px; margin: 0 0 10px; }
.kurz h2::after { content: none; }
.kurz .haken li { color: var(--text); padding-left: 22px; }
.kurz .haken li::before { background: var(--bordeaux); width: 10px; height: 2px; top: 16px; }  /* neutraler Strich: Kurzantworten sind nicht alle gute Nachrichten */
.kurz .haken { margin: 0; }
.kurz-titel { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--ink); margin: 0 0 8px; }  /* Zur Person: Berufsbezeichnung als Titelzeile der Kurzkarte */
.person-karte { margin-top: 16px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 4px; overflow: hidden; }
.person-karte { display: grid; grid-template-columns: 104px 1fr; align-items: center; }  /* mobil kompakt, Inhalt bleibt oben */
.person-karte img { width: 104px; height: 100%; min-height: 120px; object-fit: cover; object-position: 50% 30%; grid-row: 1 / 3; }
.person-karte p { margin: 12px 16px 4px; font-size: 15px; line-height: 1.45; }
.person-karte b { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.person-karte .mehr { display: inline-block; margin: 0 16px 12px; padding-block: 8px; font-size: 15px; }
.hinweise { padding-left: 0 !important; list-style: none; }
.hinweise li { padding: 12px 0; border-top: 1px solid var(--linie); }
.hinweise li:last-child { border-bottom: 1px solid var(--linie); }
.hinweise b { display: block; color: var(--ink); }
.gebuehren-zeile { background: var(--hell); border-radius: 4px; padding: 12px 16px; margin-top: 1.4em; font-size: 16px; }
.nur-mobil .anrufkarte { margin-bottom: 28px; }
.verwandt h2::after { content: none; }
/* Weiche: Wege nach Anliegen (Startseite, Arbeitsrecht) */
.weiche { list-style: none; margin: 24px 0 0; padding: 0 !important; display: grid; gap: 12px; }
.weiche > li > a:not(.mehr) { display: block; height: 100%; padding: 16px 44px 16px 18px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 4px; text-decoration: none; color: var(--text); position: relative; }
.weiche > li > a:not(.mehr)::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--bordeaux); border-top: 2px solid var(--bordeaux); transform: translateY(-50%) rotate(45deg); }
.weiche b { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.weiche span { display: block; font-size: 16px; line-height: 1.45; }
.weiche > li > a:not(.mehr):hover { border-color: var(--bordeaux); }
.weiche > li > a:not(.mehr):hover b { color: var(--bordeaux); }
.weiche-mehr { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.weiche-mehr a { display: inline-block; padding-block: 10px; }
.kurz p:last-child { margin-bottom: 0; }
.band-kopf .weiche { margin-top: 8px; }
.prosa .weiche-drei { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; }
.fuss .pfeile a { display: inline-block; padding-block: 8px; }
.kopf-satz { margin: 0 0 4px; font-size: 15px; }  /* Hinweis zur Gegenseite, Nebensache: passt ab 390 px in eine Zeile */
.kopf-satz .mehr { display: inline-block; padding-block: 10px; }
/* Anruf-Band am Seitenende: Satz, Anrufknopf, Link zu /kontakt; mobil untereinander, ab 900 px Satz links, Knopf rechts */
.anruf-band .wrap { display: grid; gap: 16px; justify-items: center; text-align: center; }  /* mobil zentriert, ab 900 px Satz links, Knopf daneben */
.anruf-satz { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.18; color: var(--ink); margin: 0; text-wrap: balance; }
.anruf-band-tel { max-width: 420px; width: 100%; }
/* Vertiefung aufklappbar (Fachwissen für Suche und Gründliche, nicht im Weg) */
.vertiefung { border: 1px solid var(--linie); border-radius: 4px; padding: 16px 20px; }
.vertiefung > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.vertiefung > summary::-webkit-details-marker { display: none; }
.vertiefung > summary h2, .vertiefung > summary h3 { margin: 0; flex: 1; }
.vertiefung > summary h2::after { content: none; }
.vertiefung > summary span { order: 3; flex-basis: 100%; color: var(--grau); font-size: 16px; }
.vertiefung > summary::after { content: "+"; order: 2; font-size: 26px; line-height: 1; color: var(--bordeaux); }
.vertiefung[open] > summary::after { content: "–"; }
.vertiefung[open] > summary { margin-bottom: 20px; }
.prosa > p:not(.gebuehren-zeile) > a.mehr:only-child { display: inline-block; padding-block: 10px; }
/* Zeitleiste (Zur Person): Jahr bzw. Station links, Linie in Bordeaux */
.zeitleiste { list-style: none; padding: 0 0 0 20px !important; margin: 0; border-left: 2px solid var(--bordeaux-linie); }
.zeitleiste li { position: relative; padding: 0 0 18px; }
.zeitleiste li::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--bordeaux); }
.ausbildung { list-style: none; padding: 0 !important; margin: 0 0 1.6em; }
.ausbildung li { padding: 0 0 18px; }
.zeitleiste b, .ausbildung b { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); }
.mitglied { margin: 0; font-size: 15px; }
/* Statisches Kartenbild auf /kontakt */
.karte-bild img { width: 100%; border: 1px solid var(--linie); border-radius: 4px; }
.karte-bild figcaption { margin-top: 8px; font-size: 14px; color: var(--grau); }
.karte-bild figcaption a { color: var(--grau); }
.karte-bild .osm { display: inline-block; padding-block: 4px; }

.verwandt .pfeile a { font-weight: bold; text-decoration: none; padding-block: 10px; display: inline-block; }

/* Fußzeile (Vorbild praxis-delong.de): Wappen, zwei Linklisten, Kontakt mit Symbolen, unten Rechtliches */
.fuss { background: var(--bordeaux); padding: 32px 0 0; font-size: 15px; color: var(--bordeaux-text); }
.fuss .spalten { display: grid; gap: 24px 16px; }
/* Handy ab 360 px: Marke und Kontakt über die volle Breite, Linklisten zweispaltig (Fußzeile sonst ein Viertel der Seite); darunter passt „Straßenverkehrsrecht“ nicht in die halbe Breite */
@media (min-width: 360px) {
  .fuss .spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss .spalten > :nth-child(1) { grid-column: 1 / -1; }
  .fuss .spalten > :nth-child(5) { grid-column: 1 / -1; grid-row: 2; }
  .fuss .spalten > :nth-child(2) { grid-column: 1; grid-row: 3 / 5; }
  .fuss .spalten > :nth-child(3) { grid-column: 2; grid-row: 3; }
  .fuss .spalten > :nth-child(4) { grid-column: 2; grid-row: 4; }
}
.fuss h2 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--weiss); margin: 0 0 10px; }
.fuss h2.klein { margin-top: 16px; }
.fuss p { margin: 0 0 .3em; }
.fuss a { color: var(--bordeaux-text); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss .pfeile a::before { color: var(--bordeaux-text); }
.fuss-marke { display: flex; align-items: center; gap: 14px; align-self: start; }
.fuss-marke img { width: 56px; flex: none; }
.fuss-marke p { color: var(--weiss); font-size: 14px; line-height: 1.35; margin: 0; }
.fuss-marke b { font-size: 20px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss address { font-style: normal; }
.symbole li { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.symbole svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--bordeaux-text); stroke-width: 1.7; }
.fuss .unten { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 28px; padding: 16px; text-align: center; font-size: 14px; }

@media (min-width: 900px) {
  body { font-size: 18px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .wrap { padding: 0 24px; }
  .band { padding: 64px 0; }

  /* Kopf: Infozeile scrollt weg, Streifen und Kopf bleiben stehen */
  .kopf-fest { display: contents; }
  .streifen { position: sticky; top: 0; z-index: 21; }
  .kopf { position: sticky; top: 6px; z-index: 20; }
  .kopf .wrap { padding: 10px 24px; gap: 24px; }
  .info .wrap { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 12px; }
  .info-adr { justify-self: start; }
  .info-tel { justify-self: center; }
  .info-mail { justify-self: end; }
  .info-adr, .info-mail { display: flex !important; }
  .info span { display: flex; flex-direction: column; line-height: 1.25; }
  .info b { font-size: 13px; text-transform: uppercase; }
  .marke, .menue a { white-space: nowrap; }
  .marke em { display: block; }
  .nur-mobil { display: none; }
  .marke img { width: 52px; }
  .marke span { font-size: 14px; }
  .marke b { font-size: 26px; }

  /* Einstieg: Karte und Kennzahlen gleich hoch über dem Porträt */
  .band-einstieg { padding: 0 0 56px; }
  .band-einstieg .wrap { padding: 0 24px; }
  .portraet img { height: 440px; aspect-ratio: auto; object-position: 46% 30%; }
  .einstieg { display: flex; align-items: stretch; gap: 24px; margin: -150px 24px 0; }
  .karte { flex: 1.7 1 0; max-width: 640px; margin: 0; padding: 28px 28px 24px; }
  .kennzahlen-box { flex: 1 1 0; margin: 0; display: flex; flex-direction: column; align-self: flex-start; }
  .kennzahlen { display: grid; }
  .kennzahlen li { padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; }
  .kennzahlen svg { width: 32px; height: 32px; }
  .kennzahlen small { font-size: 12px; }
  .kennzahlen b { font-size: 22px; }
  .kennzahlen i { font-size: 15px; }
  .kennzahlen-box .hinweis { padding: 10px 24px 12px; }

  /* Warum Dr. Pleger: Kopf neben Foto, darunter die vier Punkte in zwei Spalten (Abschnitt sonst so lang wie die Textspalte) */
  .warum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
  .warum .foto { grid-area: 1 / 2; margin: 0; }
  .warum .hinweise, .warum .weiche-mehr { grid-column: 1 / -1; }
  .warum .hinweise { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .warum .hinweise li:nth-last-child(2) { border-bottom: 1px solid var(--linie); }
  .kosten { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
  .kosten-mehr { margin: 0; }
  .fuss nav[aria-label="Seiten"] { display: block; }
  .kosten h2 { font-size: 30px; }
  .fragen-zwei { grid-template-columns: 1fr 1fr; gap: 56px; }
  .kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .band-kopf { padding: 32px 0 48px; }
  .band-kopf:not(:has(.karte)) { padding-bottom: 28px; }
  /* Kopfband: Frist-Karte links wie die Textspalte, Arbeitgeber-Karte rechts wie die Seitenspalte */
  .band-kopf .wrap { display: grid; grid-template-columns: minmax(0, 62ch) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .band-kopf .wrap > :not(.karte):not(.kennzahlen-box):not(.kopf-foto):not(.person-karte) { grid-column: 1 / -1; }
  .band-kopf .wrap:has(> .person-karte) { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); column-gap: clamp(24px, 3vw, 40px); }  /* Personenkarte direkt neben der Karte statt am rechten Rand */
  .person-karte { justify-self: end; max-width: 340px; width: 100%; align-self: start; }
  .person-karte { display: block; }
  .person-karte img { width: 100%; height: auto; min-height: 0; aspect-ratio: 5 / 3; }
  .kopf-foto { justify-self: end; align-self: stretch; max-width: 460px; width: 100%; }
  .kopf-foto img { height: 100%; object-fit: cover; }
  .foto-zuerst .kopf-foto { grid-column: 2; grid-row: 3; }  /* Zur Person: mobil Foto vor der Karte, am Desktop rechts daneben */
  .band-kopf .foto-zuerst { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* gleich breit, sonst bei 900–1100 px schmales Hochformat */
  .text-spalten > .prosa + .prosa { margin-top: 0; }
  .text-spalten.gleich { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* Zur Person: Werdegang und Ausbildung gleich breit */
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .karte.karte-flach { max-width: none; }
  .nur-desktop { display: block; }
  .text-spalten { display: grid; grid-template-columns: minmax(0, 62ch) minmax(0, 1fr); gap: 56px; align-items: start; }
  .text-spalten .inhalt { display: none; }
  .seitenspalte { display: block; position: sticky; top: 120px; max-width: 340px; width: 100%; justify-self: end; margin-top: 0; }
  .seitenspalte nav { display: block; }
  .seitenspalte h2 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 8px; }
  .seitenspalte nav ul { list-style: none; padding: 0; margin: 0 0 24px; border-left: 1px solid var(--bordeaux-linie); }
  .seitenspalte nav li { margin: 0; }
  .seitenspalte nav a { display: block; padding: 5px 0 5px 14px; font-size: 15px; color: var(--grau); text-decoration: none; }
  .seitenspalte nav a:hover { color: var(--bordeaux); }
  .seitenspalte nav ul ul { border: 0; margin: 0; }
  .seitenspalte nav ul ul a { padding-left: 28px; font-size: 14px; }
  .anrufkarte .btn { font-size: 20px; }

  .kontakt-seite { align-items: start; }
  .anruf-band .wrap { grid-template-columns: minmax(0, max-content) 360px; justify-content: start; justify-items: start; text-align: left; gap: 8px 56px; align-items: center; }  /* Knopf direkt neben dem Satz statt am rechten Rand */
  .anruf-band .anruf-satz { font-size: 26px; }
  .anruf-band .anruf-band-tel { grid-column: 2; }
  .weiche { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .weiche-fuenf, .weiche-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weiche-fuenf { grid-template-columns: repeat(6, minmax(0, 1fr)); }  /* 3 + 2 Karten ohne leere sechste Zelle */
  .weiche-fuenf > li { grid-column: span 2; }
  .weiche-fuenf > li:nth-child(n+4) { grid-column: span 3; }
  .fachanwalt { grid-template-columns: 300px minmax(0, 62ch); column-gap: 56px; row-gap: 0; align-items: start; }
  .fachanwalt .nachweis { grid-column: 2; }
  .fachanwalt.ohne-foto { grid-template-columns: minmax(0, 62ch) minmax(280px, 1fr); }
  .fachanwalt.ohne-foto .nachweis { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; }  /* Nachweise rechts statt leerer Fläche */
  .fachanwalt .foto { max-width: none; }
  .cookie-table thead { display: table-header-group; }
  .cookie-table tr { display: table-row; border: 0; }
  .cookie-table td { display: table-cell; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--linie); }
  .cookie-table td:not(:first-child)::before { content: none; }

  .fuss { padding: 48px 0 0; }
  .fuss .spalten { grid-template-columns: 1.45fr 1fr 1.1fr .8fr; gap: 24px 40px; align-items: start; }
  .fuss .spalten > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .fuss .spalten > :nth-child(5) { grid-column: 1; grid-row: 2; }
  .fuss .spalten > :nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
  .fuss .spalten > :nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
  .fuss .spalten > :nth-child(4) { grid-column: 4; grid-row: 1 / 3; }
}

.pfad a, .seitenspalte nav a { display: inline-block; padding-block: 10px; }
.fuss .symbole a, .fuss .unten a { display: inline-block; padding-block: 10px; }
.info-tel, .marke { min-height: 44px; }
.fuss nav a, .seitenliste a, .pfad a, .weiche-mehr a, .text .mehr { display: inline-block; padding-block: 10px; }
.gebuehren-zeile .mehr { display: inline; padding-block: 10px; }  /* Link im Fließtext: Tippfläche ohne höhere Zeile */
/* Tablet (600–1199px): Porträt neben der Karte statt dahinter, Kennzahlen darunter */
@media (min-width: 600px) and (max-width: 1199px) {
  .band-einstieg .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 20px; padding: 24px 24px 0; }
  .einstieg { display: contents; }
  .karte { margin: 0; padding: 22px 22px 18px; max-width: none; }
  .band-einstieg .karte { grid-column: 1; grid-row: 1; }  /* nur Startseite; im Seitenkopf der Unterseiten sonst über Brotkrumen und H1 */
  .portraet { grid-column: 2; grid-row: 1; }
  .portraet picture { height: 100%; }
  .portraet img { height: 100%; aspect-ratio: auto; object-position: 50% 20%; border-radius: 4px; }
  .kennzahlen-box { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .kennzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kennzahlen li { border-top: 0; border-left: 1px solid var(--linie); }
  .kennzahlen li:first-child { border-left: 0; }
}
/* Menü in einer Zeile mit Aufklapp-Untermenüs erst ab 1140px, darunter Burger-Menü */
@media (min-width: 1140px) {
  .menue-knopf, .unter-knopf { display: none; }
  .bereich > ul, .bereich.auf > ul { display: none; }
  .menue nav, .menue.offen nav { display: block; position: static; box-shadow: none; border: 0; }
  .menue > nav > ul { display: flex; gap: 22px; padding: 0; }
  .menue li a { border: 0; padding: 6px 0; font-size: 16px; }
  .menue > nav > ul > li { position: relative; }
  .menue li:has(ul) > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
  .menue li ul { display: none; position: absolute; top: 100%; left: -14px; min-width: 240px; background: var(--weiss); border: 1px solid var(--linie); box-shadow: var(--schatten); padding: 6px 0; z-index: 25; }
  .menue li:hover > ul, .menue li:focus-within > ul { display: block; }
  .menue li li a { display: block; padding: 8px 14px; }
}
/* Weiche: zwei Wege mit Icons (Plan docs/plan-weiche-2026-10-20.md) */
.wege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.weg { padding: 20px 16px; border-radius: 4px; }
.weg-an { background: var(--hell); }
.weg-ag { background: var(--weiss); border: 1px solid var(--linie); }
.weg-ag .weiche > li > a:not(.mehr) { background: var(--hell); border-color: transparent; }
.weg h3 { margin: 0 0 4px; font-size: 26px; color: var(--bordeaux); }
.weg-sub { margin: 0 0 14px; color: var(--grau); font-size: 15px; }
.weg .weiche { margin-top: 0; gap: 10px; }
.weiche > li > a:not(.mehr) { display: flex; gap: 14px; align-items: flex-start; }
.weiche .ic { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--bordeaux); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.weiche .ic text { stroke: none; fill: var(--bordeaux); font: bold 11px Georgia, serif; }
.weiche b { font-size: 18px; }
.weiche span span, .weg .weiche span { font-size: 15px; }
@media (min-width: 900px) {
  .wege { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); }
  .weg { padding: 20px; }
  .weg-an .weiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weg-ag .weiche { grid-template-columns: minmax(0, 1fr); }
  .weg-an .weiche > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.band-hell .weg-an { border: 1px solid var(--linie); }
.weg h2 { margin: 0 0 4px; font-size: 26px; color: var(--bordeaux); }
@media (min-width: 600px) { .karte.karte-flach { max-width: none; } }
@media (min-width: 768px) { .karte-flach > p:first-of-type { margin-top: 0; } }
/* Frist-Stempel rechts oben neben dem Text (Eingangsstempel auf dem Brief), nur wo die Karte breit genug ist (ca. 750 px:
   bis 899 px volle Breite, ab 1200 px neben der Personenkarte); 900–1199 px steht er wie am Handy über dem Text */
@media (min-width: 800px) and (max-width: 899px), (min-width: 1200px) {
  .karte-flach:has(> .stempel) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: start; }
  .karte-flach > .stempel { grid-column: 2; grid-row: 1; margin: 6px 6px 0 0; }
  .karte-flach > .stempel .d { font-size: 34px; }
  .karte-flach > p:first-of-type { grid-column: 1; grid-row: 1; }
  .karte-flach > :not(.stempel):not(p:first-of-type) { grid-column: 1 / -1; }
}
/* Tippflächen auf dem Handy ≥ 44px für alleinstehende Links; Fließtext-Links sind ausgenommen */
.pfad a { padding-block: 12px; }
.zeit a { padding-block: 12px; }
.inhalt > summary { display: flex; align-items: center; min-height: 44px; }
.inhalt li a { display: inline-block; padding-block: 12px; }
.fuss .pfeile a { padding-block: 11px; }
.fuss .symbole a, .fuss .unten a { padding-block: 12px; }
@media (min-width: 900px) {
  .fuss .pfeile a, .fuss .symbole a, .fuss .unten a { padding-block: 4px; }
  .pfad a, .zeit a { padding-block: 6px; }
}
.person-karte .mehr { padding-block: 12px; }
.kennzahlen a { min-height: 44px; }
@media (min-width: 900px) { .person-karte.nur-desktop { display: block; } }
.osm { display: inline-block; padding-block: 8px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .band-einstieg .wrap { grid-template-columns: minmax(0, 1fr) 31%; }
  .portraet picture, .portraet img { height: auto; }
  .portraet img { aspect-ratio: 7 / 8.8; }
}
/* Kontaktseite: Karte mit allem zum Erreichen, Anfahrt neben der Karte */
.kontakt-karte h2 { font-size: 18px; margin: 18px 0 6px; }
.kontakt-karte p { margin: 0 0 .6em; }
.route { margin: 12px 0 0; }
.route a { display: inline-block; padding: 12px 4px; }
@media (min-width: 900px) {
  .kontakt-seite { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
}
.route a { min-height: 44px; box-sizing: border-box; }
.osm { padding-block: 12px; }
.karte-bild figcaption a.osm { display: inline-block; padding-block: 12px; line-height: 20px; }

/* Polish 20.10.2026: Band nach hellem Abschnitt weiß, Tippflächen der Kontakt-Textlinks */
.band-hell + .anruf-band { background: var(--weiss); }
.kontakt-karte a[href^="tel:"]:not(.btn), .kontakt-karte a[href^="mailto:"], .fuss p a { display: inline-block; padding-block: 10px; }
