/* Schroer Digital CI v3 · Komponenten (CI-SYSTEM.md 4 und 8). Jede Komponente genau einmal.
   Werte nur aus tokens.css. Kopf, Menü, Leiste und Fuß tragen Schrift und Farbe selbst,
   damit sie bis Schritt 16 auch auf Seiten im alten Stand richtig stehen. */

/* ---------- Raster ---------- */
.sd-wrap { width: min(100% - 2 * var(--margin), var(--content)); margin-inline: auto; }
.sd-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); }
.sd-grid > * { min-width: 0; }
.sd-section { padding-block: var(--section); }
.sd-section--paper { background: var(--paper); color: var(--paper-ink); }
.sd-section--paper .sd-kicker, .sd-section--paper .sd-origin { color: var(--paper-soft); }
.sd-section--paper .sd-card :is(.sd-kicker, .sd-origin) { color: var(--text-soft); }
.sd-section--raised { background: var(--navy-800); }
.sd-intro { display: grid; gap: var(--s4); margin-bottom: var(--s7); }
.sd-intro > p:not(.sd-kicker) { color: var(--text-soft); }
@media (max-width: 767px) { .sd-intro { margin-bottom: var(--s5); } }
.sd-section--paper .sd-intro > p:not(.sd-kicker) { color: var(--paper-soft); }
body.ci, body.ci-shell { margin: 0; overflow-x: clip; }

/* ---------- Marke (Lockup) ---------- */
.sd-brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--text); text-decoration: none; font-family: var(--font); font-weight: var(--fw-display); letter-spacing: var(--ls-h3); white-space: nowrap; flex: none; }
.sd-brand:hover { color: var(--text); }
.sd-brand__mark { display: block; height: auto; flex: none; }
.sd-brand--s { gap: var(--s2); font-size: var(--fs-small); }
.sd-brand--s .sd-brand__mark { width: 26px; }
.sd-brand--m { font-size: var(--fs-h3); }
.sd-brand--m .sd-brand__mark { width: 37px; }
.sd-brand--l { gap: var(--s5); font-size: var(--fs-h1); letter-spacing: var(--ls-h1); white-space: normal; line-height: var(--lh-h1); }
.sd-brand--l .sd-brand__mark { width: 89px; }

/* ---------- Kopf ---------- */
.sd-head { position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: var(--text); font-family: var(--font); font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); }
.sd-head__in { display: flex; align-items: center; gap: var(--s6); height: var(--head-h); }
.sd-nav { display: flex; gap: var(--s6); margin-inline-start: auto; }
.sd-nav__a, .sd-lang a, .sd-head__wa { color: var(--text); text-decoration: none; white-space: nowrap; transition: color var(--dur-tap) var(--ease); }
.sd-nav__a:hover, .sd-lang a:hover, .sd-head__wa:hover { color: var(--gold); }
.sd-nav__a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: var(--s2); }
.sd-head__end { display: flex; align-items: center; gap: var(--s5); }
.sd-lang { display: inline-flex; gap: var(--s3); }
.sd-lang a { color: var(--text-soft); }
.sd-lang a[aria-current] { color: var(--text); }
.sd-head__wa { display: inline-flex; align-items: center; gap: var(--s2); }
.sd-head .sd-head__menu { display: none; }
@media (max-width: 1199px) {
  .sd-nav, .sd-lang { display: none; }
  .sd-head__end { margin-inline-start: auto; }
  .sd-head .sd-head__menu { display: inline-flex; }
}
@media (max-width: 767px) {
  .sd-head .sd-head__wa, .sd-head .sd-head__cta { display: none; }
  .sd-head .sd-brand--m { font-size: var(--fs-text); }
  .sd-head .sd-brand--m .sd-brand__mark { width: 33px; }
}

/* ---------- Handy-Menü ---------- */
.sd-menu { position: fixed; inset: var(--head-h) 0 0; z-index: 49; overflow-y: auto; background: var(--navy-900); color: var(--text); font-family: var(--font); padding-block: var(--s5) var(--s8); }
.sd-menu[hidden] { display: none; }
.sd-menu__in { display: grid; gap: var(--s1); }
.sd-menu__a { display: block; padding-block: var(--s3); color: var(--text); text-decoration: none; font-size: var(--fs-h3); font-weight: var(--fw-h3); line-height: var(--lh-h3); }
.sd-menu__a--more { font-size: var(--fs-text); font-weight: var(--fw-text); color: var(--text-soft); padding-block: var(--s2); }
.sd-menu__a[aria-current="page"], .sd-menu__a:hover { color: var(--gold); }
.sd-menu .sd-lang { display: flex; margin-top: var(--s5); font-size: var(--fs-small); }
.sd-menu__cta { display: grid; gap: var(--s3); margin-top: var(--s5); }

/* ---------- Knöpfe (genau zwei) und Textlink ---------- */
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--ctl-h); padding: 0 var(--s5); border: 1px solid transparent; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); box-shadow: var(--shadow-card); font-family: var(--font); font-size: var(--fs-text); font-weight: var(--fw-btn); line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-tap) var(--ease), color var(--dur-tap) var(--ease); forced-color-adjust: none; }
.sd-btn:hover { background: var(--gold-hi); color: var(--on-gold); }
.sd-btn:active { background: var(--gold-lo); }
.sd-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sd-btn--line { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.sd-btn--line:hover { background: var(--navy-700); color: var(--text); }
.sd-btn--line:active { background: var(--navy-800); }
.sd-section--paper .sd-btn--line { color: var(--paper-ink); }
.sd-section--paper .sd-btn--line:hover { background: var(--paper); color: var(--paper-ink); border-color: var(--paper-ink); }
.sd-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.sd-link:hover { color: var(--gold); text-decoration-color: currentColor; }
.sd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }

/* ---------- Kicker (genau ein Stil) und Herkunftszeile ---------- */
.sd-kicker { font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); color: var(--text); }
.sd-origin { margin-top: var(--s3); font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); color: var(--text-soft); max-width: var(--measure); }
/* Goldmarke: die eine Stelle, die auf ein Ja wartet */
.sd-mark { display: inline-block; margin-inline-end: var(--s2); padding: var(--s1) var(--s2); border-radius: var(--r-doc); background: var(--gold); color: var(--on-gold); font-weight: var(--fw-btn); line-height: var(--lh-small); white-space: nowrap; }

/* ---------- Karte (ein Stil) ---------- */
.sd-card { position: relative; overflow: hidden; padding: var(--s5); border-radius: var(--r-card); background: var(--navy-800); box-shadow: var(--shadow-card); color: var(--text); }
.sd-card__img { margin: calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s5); aspect-ratio: 4 / 3; overflow: hidden; }
.sd-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sd-card__title { font-size: var(--fs-h3); font-weight: var(--fw-h3); line-height: var(--lh-h3); }
.sd-card__link { color: inherit; text-decoration: none; }
.sd-card__link::after { content: ""; position: absolute; inset: 0; }
.sd-card__link:hover { color: var(--gold); }
.sd-card__text { margin-top: var(--s2); color: var(--text-soft); }

/* ---------- Belege: Aufnahme und Dokument ---------- */
.sd-shot img { border-radius: var(--r-doc); box-shadow: var(--shadow-doc); width: 100%; }
.sd-doc { position: relative; padding: var(--s6); border-radius: var(--r-doc); background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow-doc); transform: rotate(-1.2deg); font-size: var(--fs-small); line-height: var(--lh-small); }
.sd-doc__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.sd-doc .sd-brand { color: var(--paper-ink); }
.sd-doc__sub { color: var(--paper-soft); }
.sd-doc__title { margin-bottom: var(--s4); font-size: var(--fs-h3); font-weight: var(--fw-h3); line-height: var(--lh-h3); }
.sd-doc__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sd-doc__table th, .sd-doc__table td { padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: var(--fw-text); }
.sd-doc__table th { padding-right: var(--s4); color: var(--paper-soft); width: 40%; }
.sd-doc__foot { margin-top: var(--s4); color: var(--paper-soft); }
.sd-doc__foot a { color: var(--paper-ink); }
.sd-hl { padding: 0 var(--s1); border-radius: var(--r-doc); background: var(--gold-hi); color: var(--paper-ink); mix-blend-mode: multiply; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Bühne: Licht + 3 Ebenen, Überlappung ≥ 56 px ---------- */
.sd-stage { position: relative; background: var(--light), var(--navy-900); overflow: clip; }
.sd-stage__grid { align-items: center; padding-block: var(--s8); }
.sd-stage__text { grid-column: 1 / span 5; display: grid; gap: var(--s5); align-content: start; }
.sd-stage__text > p:not(.sd-kicker) { color: var(--text-soft); }
.sd-stage__media { grid-column: 6 / -1; position: relative; }
.sd-stage__img { position: relative; margin-inline-end: calc((min(100vw - 2 * var(--margin), var(--content)) - 100vw) / 2); }
.sd-stage__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 72% 30%; border-radius: var(--r-card) 0 0 var(--r-card); }
.sd-stage__card { position: absolute; z-index: 2; inset-inline-start: var(--s5); inset-block-end: calc(-1 * var(--s8)); width: min(360px, 60%); }
.sd-stage__caption { position: absolute; margin: 0; inset-inline-end: var(--s6); inset-block-end: calc(-1 * var(--s6)); }
@media (max-width: 1023px) {
  .sd-stage__text, .sd-stage__media { grid-column: 1 / -1; }
  .sd-stage__img { margin-inline: calc(-1 * var(--margin)); }
  .sd-stage__img img { border-radius: 0; aspect-ratio: 4 / 3.4; object-position: 74% 18%; }
  .sd-stage__card { position: relative; inset: auto; width: auto; margin: calc(-1 * var(--s8)) var(--s4) 0; }
  .sd-stage__caption { position: static; text-align: end; margin: var(--s3) 0 0; padding-inline: var(--s4); }
  .sd-stage__grid { padding-block: var(--s6) var(--s8); row-gap: var(--s6); }
}
@media (max-width: 767px) { .sd-stage .sd-actions { display: none; } }

/* ---------- Anfrage: Formular, Person ---------- */
.sd-form { display: grid; gap: var(--s4); }
.sd-field { display: grid; gap: var(--s2); }
.sd-field label { font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); color: var(--text-soft); }
.sd-input { width: 100%; min-height: var(--ctl-h); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--navy-900); color: var(--text); font-family: var(--font); font-size: var(--fs-text); line-height: var(--lh-small); transition: border-color var(--dur-tap) var(--ease); }
textarea.sd-input { min-height: var(--s9); resize: vertical; }
.sd-input::placeholder { color: var(--text-soft); opacity: 1; }
.sd-input:hover { border-color: var(--text-soft); }
.sd-input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-color: var(--gold); }
.sd-input:user-invalid { border-color: var(--alert); }
.sd-form__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }
.sd-form__or { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .22em; }
.sd-form__or svg { flex: none; }
.sd-form__or:hover { color: var(--gold); }
.sd-form__back { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-soft); }
.sd-form__msg { font-size: var(--fs-small); color: var(--alert); }
.sd-form__msg:empty { display: none; }
.sd-form__msg.is-ok { color: var(--text); }
.sd-section--paper .sd-form__msg.is-ok { color: var(--paper-ink); }
.sd-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sd-person { display: flex; align-items: center; gap: var(--s4); }
.sd-person img { width: 96px; height: 96px; border-radius: var(--r-card); object-fit: cover; flex: none; }
.sd-person p { display: grid; gap: var(--s1); }
.sd-person strong { font-weight: var(--fw-h3); }
.sd-person span { font-size: var(--fs-small); color: var(--text-soft); }
@media (max-width: 767px) { .sd-form__go .sd-btn { width: 100%; } }

/* ---------- Liste und FAQ ---------- */
.sd-list { display: grid; gap: var(--s3); padding: 0; list-style: none; }
.sd-list li { position: relative; padding-inline-start: var(--s5); }
.sd-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: var(--s3); height: 1px; background: currentColor; opacity: .6; }
.sd-faq details + details { border-top: 1px solid var(--line); }
.sd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s5); cursor: pointer; list-style: none; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary h3 { max-width: none; }
.sd-faq summary::after { content: "+"; flex: none; font-size: var(--fs-h3); line-height: 1; color: var(--text-soft); transition: transform var(--dur-ui) var(--ease); }
.sd-faq details[open] summary::after { transform: rotate(45deg); }
.sd-faq__a { padding-bottom: var(--s5); color: var(--text-soft); }

/* ---------- Fuß ---------- */
.sd-foot { background: var(--navy-800); color: var(--text); font-family: var(--font); font-size: var(--fs-small); font-weight: var(--fw-text); line-height: var(--lh-text); padding-block: var(--s8) var(--s7); }
.sd-foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); padding-bottom: var(--s7); }
.sd-foot__claim { color: var(--text-soft); margin: 0; }
.sd-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s7) var(--gutter); }
.sd-foot__h { margin: 0 0 var(--s3); font-family: var(--font); font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); letter-spacing: 0; color: var(--text-soft); }
.sd-foot__h--next { margin-top: var(--s6); }
.sd-foot ul { display: grid; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.sd-foot a { color: var(--text); text-decoration: none; }
.sd-foot a:hover { color: var(--gold); }
.sd-foot__addr { font-style: normal; margin-bottom: var(--s3); color: var(--text-soft); }
.sd-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); margin-top: var(--s8); color: var(--text-soft); }
.sd-foot__legal p { margin: 0; max-width: none; }
@media (max-width: 1023px) { .sd-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .sd-foot__cols { column-gap: var(--s4); row-gap: var(--s6); } }

/* ---------- Feste Leiste (nur Handy) ---------- */
.sd-bar { display: none; }
@media (max-width: 767px) {
  .sd-bar { position: fixed; inset: auto 0 0; z-index: 50; display: flex; gap: var(--s3); padding: var(--s3) var(--margin) calc(var(--s3) + env(safe-area-inset-bottom)); background: var(--navy-800); box-shadow: var(--shadow-card); font-family: var(--font); }
  .sd-bar > .sd-btn:first-child { flex: 1; }
  .sd-bar__wa { width: var(--ctl-h); padding: 0; flex: none; }
  /* Tor 2: die Leiste erscheint erst, wenn der Hero-Knopf aus dem Bild gescrollt ist (main.js setzt html.bar-on);
     ohne Skript bleibt sie weg, der Hero trägt seine Knöpfe selbst. Nie zwei gleiche Knöpfe übereinander. */
  .sd-bar { transform: translateY(calc(100% + var(--s2))); visibility: hidden; }
  html.bar-on .sd-bar { transform: none; visibility: visible; }
  body.ci, body.ci-shell { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  /* alte schwebende Knöpfe ausblenden, falls eine Seite sie noch selbst setzt */
  .wa-fab, .sticky-cta { display: none !important; }
}

@media (forced-colors: active) {
  .sd-btn, .sd-mark { border: 1px solid ButtonText; }
  .sd-hl { mix-blend-mode: normal; }
}
@media print { .sd-head, .sd-menu, .sd-bar { display: none; } }

/* ---------- Vorlage Teilen-Bild 1200×630 ---------- */
.sd-og { display: grid; grid-template-columns: 1fr 440px; width: 1200px; height: 630px; overflow: hidden; background: var(--light), var(--navy-900); color: var(--text); font-family: var(--font); }
.sd-og__text { display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: var(--s7) var(--s8); }
.sd-og__title { font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); max-width: 12ch; }
.sd-og__text .sd-origin { margin: 0; }
.sd-og__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Brotkrumen (CI-Seiten): eine leise Zeile im Stil Klein ---------- */
.ci .breadcrumb { padding-top: var(--s4); font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); color: var(--text-soft); }
.ci .breadcrumb .container { width: min(100% - 2 * var(--margin), var(--content)); margin-inline: auto; }
.ci .breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.ci .breadcrumb li { display: inline-flex; gap: var(--s2); }
.ci .breadcrumb a { color: var(--text-soft); text-decoration: none; }
.ci .breadcrumb a:hover { color: var(--gold); }

/* Tor 3 Runde 2: Brotkrumen am Handy einzeilig, letzter Eintrag mit Auslassung (vorher zweizeilig, H1 klebte darunter) */
@media (max-width: 767px) {
  .ci .breadcrumb ol { flex-wrap: nowrap; min-width: 0; }
  .ci .breadcrumb li { flex: none; }
  .ci .breadcrumb li:last-child { flex: 1 1 auto; min-width: 0; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* Tor 4 r2 Teil B: Fuß am Handy als zwei ausgeglichene Spalten (CSS columns) statt Rasterzeilen. Vorher stand links unter
   „AI agents“ eine Lücke von acht Zeilen, weil die Zeile so hoch war wie „Services“ + „Industries“ (Länge: −~300 px je Seite). */
@media (max-width: 767px) {
  .sd-foot__cols { display: block; columns: 2; column-gap: var(--s4); }
  .sd-foot__cols > * { break-inside: avoid; margin-bottom: var(--s6); }
  .sd-foot__cols > * > * { break-inside: avoid; }
}
@media (max-width: 767px) { .sd-foot { padding-block: var(--s7) var(--s6); } .sd-foot__top { padding-bottom: var(--s6); } .sd-foot__legal { margin-top: var(--s6); } }
/* Tor 5 r2: Satzzeichen am Ende der großen H1-Zeile im Textfluss, aber farblos (pages/leistung.js, produkt.js keyRest) */
.svh__p { color: transparent; }

/* ===== Responsiv-Abnahme (30.11.2026, Nachtrag 15 „hochgradig responsiv“) =====
   Tippziele ≥ 44 × 44 px bis 768 px (Kopf, Menü, Sprache, Brotkrume, Fuß) und Fuß-Schrift 16 px am Handy.
   Wo das Layout gleich bleiben soll, wächst nur die Trefferfläche (::after), nicht die Box. */
.sd-head .sd-brand, .sd-foot .sd-brand { min-height: 44px; }
.sd-head__wa { min-height: 44px; }
.sd-menu__a { display: flex; align-items: center; min-height: 44px; }
.sd-menu .sd-lang { gap: var(--s2); }
.sd-menu .sd-lang a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.ci .breadcrumb a { position: relative; }
.ci .breadcrumb a::after { content: ""; position: absolute; inset: -13px -6px; }
@media (max-width: 1023px) {
  .sd-foot { font-size: 1rem; }
  .sd-foot ul { gap: 0; }
  .sd-foot li > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-block: var(--s1); }
  .sd-foot__h { font-size: 1rem; }
  .sd-foot__h--next { margin-top: var(--s5); }
}
/* ===== Responsiv-Abnahme (30.11.2026): Satz-Text am Handy ≥ 16 px (Nachtrag 15). Bildunterschriften, Quellzeilen und
   nachgebildete Oberflächen (.pf) bleiben Klein-Schrift. */
@media (max-width: 479px) { .sd-form__back, p.svb__more { font-size: 1rem; line-height: var(--lh-text); } }
/* Responsiv-Abnahme: alleinstehende Textlinks (eigene Zeile, kein Fließtext) bekommen bis 768 px eine Trefferfläche von 44 px
   Höhe über ::after, ohne dass sich der Satz verschiebt. Listen mit dicht stehenden Links bekommen echte Zeilenhöhe. */
@media (max-width: 768px) {
  :is(p.svb__more, .rb-buehne__more, .who4__go, .rb-led__d, .of__name, .news-sources li, .kf__author, .kx__go, .rec__origin) > a,
  .of__list a, a.rec__k--link, a.ke__k, a.plan__sheet { position: relative; }
  :is(p.svb__more, .rb-buehne__more, .who4__go, .rb-led__d, .of__name, .news-sources li, .kf__author, .kx__go, .rec__origin) > a::after,
  .of__list a::after, a.rec__k--link::after, a.ke__k::after { content: ""; position: absolute; inset: -15px -4px; }
  a.plan__sheet { min-height: 44px; }
  ul.rn__list { gap: 0; }
  ul.rn__list a { display: inline-flex; align-items: center; min-height: 44px; padding-block: var(--s1); }
  ul.kc__ways a { min-height: 44px; }
  input.ask__in { min-height: 44px; }
}
@media (max-width: 479px) { ul.rn__list li, ul.rn__list li a.sd-link { font-size: 1rem; } }
@media (max-width: 768px) {
  h2 > a.sd-link { position: relative; }
  h2 > a.sd-link::after { content: ""; position: absolute; inset: -15px -4px; }
}
.lpx-head .sd-brand { min-height: 44px; }

/* ===== Auflagen Tor 6 (30.11.2026): Fuß-Linkgruppen als <details> (render.js grp). Ab 768 px sieht der Fuß aus wie vorher
   (Überschrift + Liste, nicht zuklappbar); am Handy eine Zeile je Gruppe mit Plus, offen zweispaltig. Kontakt bleibt immer offen. */
.sd-foot__g > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); list-style: none; }
.sd-foot__g > summary::-webkit-details-marker { display: none; }
.sd-foot__g--next { margin-top: var(--s6); }
.sd-foot__g--next .sd-foot__h--next { margin-top: 0; }
.sd-foot__sign { display: none; }
@media (min-width: 768px) {
  .sd-foot__g > summary { pointer-events: none; cursor: default; }
}
@media (max-width: 767px) {
  .sd-foot__cols { columns: auto; }
  .sd-foot__cols > * { margin-bottom: 0; }
  .sd-foot__cols > div:last-child { margin-top: var(--s6); }
  .sd-foot__g, .sd-foot__g--next { margin: 0; border-top: 1px solid var(--line); }
  .sd-foot__g > summary { min-height: 52px; cursor: pointer; }
  .sd-foot__g > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .sd-foot__g > summary .sd-foot__h { margin: 0; color: var(--text); font-weight: var(--fw-btn); }
  .sd-foot__sign { display: block; position: relative; flex: none; width: 16px; height: 16px; }
  .sd-foot__sign::before, .sd-foot__sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--gold); }
  .sd-foot__sign::after { transform: rotate(90deg); }
  .sd-foot__g[open] .sd-foot__sign::after { transform: rotate(0deg); }
  .sd-foot__g[open] > ul { display: block; columns: 2; column-gap: var(--s4); padding-bottom: var(--s4); }
  .sd-foot__g[open] > ul > li { break-inside: avoid; }
}
@media (max-width: 767px) { .sd-foot__cols > div:last-child > ul { display: block; columns: 2; column-gap: var(--s4); } .sd-foot__cols > div:last-child > ul > li { break-inside: avoid; } }
/* Tablet (768–1023): Fuß-Überschrift als <summary> hat eine 44-px-Zeile (Tippziel-Regel), Liste rückt nach */
@media (min-width: 768px) and (max-width: 1023px) {
  .sd-foot__g > summary { min-height: 44px; }
  .sd-foot__g > summary .sd-foot__h { margin: 0; }
}
/* Rest-Auflagen Tor 7 (01.12.2026): 768 px war auf allen Routen ~ +80 px gegenüber Tor 6 – Ursache Fuß: „UAE e-invoicing“ kam in die
   Firmen-Gruppe (12 Links × 44-px-Tippziel untereinander, die längste Spalte). Bei 768–1023 steht diese Liste zweispaltig. */
@media (min-width: 768px) and (max-width: 1023px) {
  .sd-foot__cols > div:nth-child(3) .sd-foot__g > ul { display: block; columns: 2; column-gap: var(--s4); }
  .sd-foot__cols > div:nth-child(3) .sd-foot__g > ul > li { break-inside: avoid; }
}
