/* ==========================================================================
   ORDiVO - oeffentliche Website (Website-Neuordnung 25.10.2026)

   Nur publicLayout laedt diese Datei, nach app.css. Die Anwendung sieht sie
   nie - deshalb steht hier alles, was nur die Website betrifft.

   Ein Gestaltungssystem, zwei Darstellungen. Hell und Dunkel haben dieselbe
   Struktur, dieselben Abstaende und dieselben Bausteine; umgeschaltet werden
   ausschliesslich die --ws-*-Werte unten. Gewaehlt wird ueber data-theme auf
   <html> (hell, dunkel, system), gesetzt vom Server ("system") und vor dem
   ersten Zeichnen von frueh.js aus der gemerkten Wahl - derselbe Wert
   (ordivo-darstellung), den auch die Anwendung benutzt.

   Die alten Werte der Website (body.oeffentlich in app.css: schwarz mit
   erzwungen weissen Abschnitten) werden hier auf die --ws-*-Werte
   umgelegt. Ausnahme bleibt die Anmeldekarte (.tor__karte): Die
   Zugangsseiten werden in einem eigenen Lauf vereinheitlicht.

   Farben aus der Neuordnung (Kapitel 7), Kontraste gemessen:
     Hell   Text #132321 auf #F7FAF9 15,8:1 · Sekundaer #4D625D 6,2:1
            Primaer #087F6D mit Weiss 4,9:1 · Akzenttext #087F6D 4,7:1
     Dunkel Text #ECF5F2 auf #0C1514 16,5:1 · Sekundaer #ADBFBA 9,6:1
            Primaer #27D3AE mit #07261F 8,4:1
   ========================================================================== */

:root {
  --ws-grund: #F7FAF9;
  --ws-band: #EFF5F3;
  --ws-flaeche: #FFFFFF;
  --ws-flaeche-2: #F2F7F5;
  --ws-text: #132321;
  --ws-text-2: #4D625D;
  --ws-linie: #D8E3E0;
  --ws-linie-stark: #B4C6C0;
  --ws-primaer: #087F6D;
  --ws-primaer-hover: #066A5B;
  --ws-auf-primaer: #FFFFFF;
  --ws-akzent: #087F6D;
  --ws-akzent-flaeche: #E2F2EE;
  --ws-akzent-rand: #9CCFC3;
  --ws-fokus: #087F6D;
  --ws-kopf: rgba(247, 250, 249, .92);
  --ws-schatten: 0 1px 2px rgba(19, 35, 33, .05), 0 10px 28px rgba(19, 35, 33, .07);
  --ws-schatten-hoch: 0 22px 60px rgba(19, 35, 33, .18);
  /* Schleier ueber dem Hintergrundvideo: die Schrift steht auf der Farbe
     des Seitengrunds, das Video bleibt rechts und unten sichtbar. */
  --ws-schleier-rgb: 247, 250, 249;
  --ws-schleier-text: .9;
  --ws-schleier-mitte: .6;
  --ws-schleier-rand: .04;
  --ws-video-filter: saturate(.95);
  --ws-auge-buehne: #066A5B;
  --ws-breite: 1200px;
  --ws-rand: clamp(1.25rem, 4vw, 2rem);
}

/* Dieselbe Belegung zweimal (bewusst, reines CSS kennt keine Mixins): fuer die
   ausdrueckliche Wahl und fuer "System" bei dunklem Betriebssystem. */
html[data-theme="dunkel"] {
  --ws-grund: #0C1514;
  --ws-band: #101C1A;
  --ws-flaeche: #152320;
  --ws-flaeche-2: #1A2B27;
  --ws-text: #ECF5F2;
  --ws-text-2: #ADBFBA;
  --ws-linie: #2A3D37;
  --ws-linie-stark: #44605A;
  --ws-primaer: #27D3AE;
  --ws-primaer-hover: #52E0C1;
  --ws-auf-primaer: #07261F;
  --ws-akzent: #3BDDB9;
  --ws-akzent-flaeche: rgba(39, 211, 174, .12);
  --ws-akzent-rand: rgba(39, 211, 174, .42);
  --ws-fokus: #6FF0D2;
  --ws-kopf: rgba(12, 21, 20, .9);
  --ws-schatten: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --ws-schatten-hoch: 0 24px 60px rgba(0, 0, 0, .6);
  --ws-schleier-rgb: 12, 21, 20;
  --ws-schleier-text: .8;
  --ws-schleier-mitte: .55;
  --ws-schleier-rand: .05;
  --ws-video-filter: none;
  --ws-auge-buehne: var(--ws-akzent);
}
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --ws-grund: #0C1514;
    --ws-band: #101C1A;
    --ws-flaeche: #152320;
    --ws-flaeche-2: #1A2B27;
    --ws-text: #ECF5F2;
    --ws-text-2: #ADBFBA;
    --ws-linie: #2A3D37;
    --ws-linie-stark: #44605A;
    --ws-primaer: #27D3AE;
    --ws-primaer-hover: #52E0C1;
    --ws-auf-primaer: #07261F;
    --ws-akzent: #3BDDB9;
    --ws-akzent-flaeche: rgba(39, 211, 174, .12);
    --ws-akzent-rand: rgba(39, 211, 174, .42);
    --ws-fokus: #6FF0D2;
    --ws-kopf: rgba(12, 21, 20, .9);
    --ws-schatten: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .35);
    --ws-schatten-hoch: 0 24px 60px rgba(0, 0, 0, .6);
    --ws-schleier-rgb: 12, 21, 20;
    --ws-schleier-text: .8;
    --ws-schleier-mitte: .55;
    --ws-schleier-rand: .05;
    --ws-video-filter: none;
    --ws-auge-buehne: var(--ws-akzent);
  }
}
html[data-theme="hell"] { color-scheme: light; }
html[data-theme="dunkel"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { html[data-theme="system"] { color-scheme: dark; } }

/* --- Die bisherigen Namen auf die Website-Werte umlegen ------------------- */
body.oeffentlich,
body.oeffentlich :is(.abschnitt--hell, .abschnitt--grund, .streifen, .mock) {
  color-scheme: inherit;
  --text: var(--ws-text); --text-leise: var(--ws-text-2); --text-schwach: var(--ws-text-2);
  --grund: var(--ws-grund); --flaeche: var(--ws-flaeche); --flaeche-2: var(--ws-flaeche-2); --flaeche-3: var(--ws-band);
  --rand: var(--ws-linie); --rand-stark: var(--ws-linie-stark); --eingabe: var(--ws-flaeche);
  --akzent: var(--ws-akzent); --akzent-tief: var(--ws-akzent); --akzent-hell: var(--ws-akzent);
  --akzent-text: var(--ws-auf-primaer); --akzent-flaeche: var(--ws-akzent-flaeche); --akzent-rand: var(--ws-akzent-rand);
  --akzent-ring: var(--ws-akzent-flaeche); --info-flaeche: var(--ws-akzent-flaeche);
  --fokus: var(--ws-fokus);
  --dunkel-text: var(--ws-text); --dunkel-leise: var(--ws-text-2); --dunkel-rand: var(--ws-linie); --dunkel-2: var(--ws-flaeche);
  --knopf-grund: var(--ws-primaer); --knopf-grund-hover: var(--ws-primaer-hover);
  --knopf-text: var(--ws-auf-primaer); --knopf-rand: var(--ws-primaer);
  --schatten: var(--ws-schatten); --schatten-hoch: var(--ws-schatten-hoch);
}
body.oeffentlich { background: var(--ws-grund); color: var(--ws-text); }
/* Die Anmeldekarte behaelt ihren gruenen Hauptknopf (eigener Lauf). */
body.oeffentlich .tor {
  --knopf-grund: var(--marke-gruen); --knopf-grund-hover: var(--marke-gruen-hover);
  --knopf-text: var(--marke-auf-gruen); --knopf-rand: var(--marke-gruen-hover);
}

body.oeffentlich .wrap { width: min(var(--ws-breite), 100% - 2 * var(--ws-rand)); }
body.oeffentlich h1, body.oeffentlich h2, body.oeffentlich h3 { color: var(--ws-text); }
body.oeffentlich :where(a, button, summary, video):focus-visible { outline: 3px solid var(--ws-fokus); outline-offset: 2px; border-radius: 6px; }
body.oeffentlich .skip { background: var(--ws-primaer); color: var(--ws-auf-primaer); }

/* Bisherige Bausteine der Unterseiten (FAQ, Treuhand, LeadMatch, Rechtstexte):
   dieselben Flaechen wie der Rest, keine harten Weiss- oder Schwarzwerte. */
body.oeffentlich .abschnitt { padding: clamp(2.5rem, 5vw, 4rem) 0; }
body.oeffentlich .abschnitt--hell { background: var(--ws-band); }
body.oeffentlich .abschnitt--grund { background: var(--ws-grund); }
body.oeffentlich .held__auge { color: var(--ws-akzent); }
body.oeffentlich .held__lead { color: var(--ws-text-2); }
body.oeffentlich .haken li { color: inherit; }
body.oeffentlich .banner { background: var(--ws-flaeche); border: 1px solid var(--ws-linie); color: var(--ws-text); }
body.oeffentlich .banner h2 { color: var(--ws-text); }
body.oeffentlich .banner .muted { color: var(--ws-text-2); }
body.oeffentlich .karte-fein { background: var(--ws-flaeche); }
body.oeffentlich .faq__eintrag summary::after { color: var(--ws-akzent); }

/* ==========================================================================
   Knoepfe der Website
   ========================================================================== */
.ws-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.15rem; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
.ws-knopf:hover { text-decoration: none; }
.ws-knopf--primaer { background: var(--ws-primaer); color: var(--ws-auf-primaer); border-color: var(--ws-primaer); }
.ws-knopf--primaer:hover { background: var(--ws-primaer-hover); border-color: var(--ws-primaer-hover); color: var(--ws-auf-primaer); }
.ws-knopf--zweit { background: var(--ws-flaeche); color: var(--ws-text); border-color: var(--ws-linie-stark); }
.ws-knopf--zweit:hover { border-color: var(--ws-akzent); color: var(--ws-text); }
.ws-knopf--leise { background: transparent; color: var(--ws-text); border-color: var(--ws-linie-stark); }
.ws-knopf--leise:hover { border-color: var(--ws-akzent); color: var(--ws-text); }
.ws-knopf svg { flex: none; }
.ws-link { font-weight: 650; color: var(--ws-akzent); text-decoration: underline; text-underline-offset: 3px; }
.ws-link:hover { text-decoration-thickness: 2px; }
.ws-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

/* ==========================================================================
   Kopf: Logo, vier Ziele, Darstellung, Login, Einstieg
   ========================================================================== */
body.oeffentlich .kopf.ws-kopf {
  position: sticky; top: 0; z-index: 40;
  background: var(--ws-kopf); border-bottom: 1px solid var(--ws-linie);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  color: var(--ws-text);
}
.ws-kopf__innen { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.ws-kopf .marke { flex: none; min-height: 44px; }
.ws-kopf .markenzug--kopf { --zug-h: 38px; }
.ws-nav { display: flex; align-items: center; gap: .25rem; margin-left: .75rem; flex: 1; min-width: 0; }
.ws-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-radius: 8px;
  color: var(--ws-text-2); font-weight: 600; font-size: .95rem; white-space: nowrap; text-decoration: none;
}
.ws-nav a:hover { color: var(--ws-text); background: var(--ws-flaeche-2); text-decoration: none; }
.ws-nav a[aria-current="page"] { color: var(--ws-text); box-shadow: inset 0 -2px 0 var(--ws-akzent); border-radius: 8px 8px 0 0; }
.ws-kopf__aktionen { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.ws-kopf__aktionen .ws-knopf { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }

/* Hell/Dunkel-Umschalter: nur mit Skript (ohne Skript gilt das System).
   Dunkel zeigt den Mond, Hell die Sonne - aus data-theme, bei "system" aus
   der Systemvorgabe, damit das Symbol schon beim ersten Zeichnen stimmt. */
.kein-js .ws-umschalter, .kein-js .ws-menue__thema { display: none; }
.ws-umschalter {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0;
  border-radius: 10px; border: 1px solid var(--ws-linie-stark); background: transparent; color: var(--ws-text); cursor: pointer; font: inherit;
}
.ws-umschalter:hover { border-color: var(--ws-akzent); color: var(--ws-akzent); }
.ws-umschalter__symbol { display: none; line-height: 0; }
.ws-umschalter__symbol--sonne { display: block; }
html[data-theme="dunkel"] .ws-umschalter__symbol--sonne { display: none; }
html[data-theme="dunkel"] .ws-umschalter__symbol--mond { display: block; }
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .ws-umschalter__symbol--sonne { display: none; }
  html[data-theme="system"] .ws-umschalter__symbol--mond { display: block; }
}
.ws-umschalter--menue { display: flex; justify-content: flex-start; gap: .7rem; width: 100%; height: auto; min-height: 48px; padding: 0 .9rem; font-size: 1rem; font-weight: 650; }

/* Menue fuer schmale Bildschirme: details/summary, funktioniert ohne Skript. */
.ws-menue { display: none; }
.ws-menue > summary { list-style: none; }
.ws-menue > summary::-webkit-details-marker { display: none; }
.ws-menue__knopf { gap: .45rem; }
.ws-menue__knopf .ws-menue__zu { display: none; }
.ws-menue[open] .ws-menue__knopf .ws-menue__auf { display: none; }
.ws-menue[open] .ws-menue__knopf .ws-menue__zu { display: block; }
.ws-menue__tafel {
  position: fixed; left: 0; right: 0; top: var(--ws-kopf-hoehe, 64px); z-index: 45;
  max-height: calc(100dvh - var(--ws-kopf-hoehe, 64px)); overflow-y: auto;
  padding: .75rem var(--ws-rand) 1.25rem; background: var(--ws-grund); border-bottom: 1px solid var(--ws-linie);
  box-shadow: var(--ws-schatten-hoch);
}
.ws-menue__tafel nav { display: grid; gap: .15rem; }
.ws-menue__tafel nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 .75rem; border-radius: 10px;
  color: var(--ws-text); font-weight: 650; font-size: 1.05rem; text-decoration: none;
}
.ws-menue__tafel nav a:hover { background: var(--ws-flaeche-2); }
.ws-menue__tafel nav a[aria-current="page"] { background: var(--ws-akzent-flaeche); box-shadow: inset 3px 0 0 var(--ws-akzent); }
.ws-menue__tafel nav a[aria-current="page"]::after { content: "Aktuelle Seite"; margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--ws-text-2); }
.ws-menue__zugang { display: grid; gap: .6rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--ws-linie); }
.ws-menue__zugang .ws-knopf { width: 100%; }
/* Im Menue nur, solange der Kopf den Umschalter ausblendet (<= 420 px). */
.ws-menue__thema { display: none; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--ws-linie); }
/* Einwilligungsbanner und Menue (Feinschliff 26.10.2026): Der Banner laesst
   den Kopf frei (Menueknopf erreichbar). Ist das Menue offen, liegt der Kopf
   mit der Tafel ueber dem Banner; nach dem Schliessen ist der Banner wieder
   da. An der Einwilligung selbst aendert das nichts. */
body.oeffentlich .kopf.ws-kopf.ist-menue-offen { z-index: 61; }
@media (max-width: 759px) {
  body.oeffentlich .werbung-banner {
    left: .5rem; right: .5rem; bottom: .5rem; padding-bottom: 0;
    max-height: calc(100dvh - var(--ws-kopf-hoehe, 64px) - 1rem); overflow-y: auto; overscroll-behavior: contain;
  }
  /* Die drei Wahlknoepfe bleiben beim Scrollen im Banner unten sichtbar. */
  body.oeffentlich .werbung-banner__knoepfe { position: sticky; bottom: 0; margin: 0 -1.1rem; padding: .6rem 1.1rem .8rem; background: var(--flaeche); border-top: 1px solid var(--rand); }
}

@media (max-width: 1079px) {
  .ws-nav, .ws-kopf__breit { display: none; }
  .ws-menue { display: block; }
  .ws-kopf__innen { min-height: 64px; gap: .75rem; }
  .ws-kopf .markenzug--kopf { --zug-h: 34px; }
}
@media (max-width: 559px) {
  /* Menueknopf nur mit Symbol (Beschriftung bleibt als aria-label). */
  .ws-menue__knopf { width: 44px; padding: 0; }
  .ws-menue__knopf > span:last-child { display: none; }
}
@media (max-width: 420px) {
  /* Schmal: Umschalter nur im Menue (dort beschriftet), damit der Kopf
     einzeilig bleibt - bei 360 px ragte er sonst 30 px hinaus. */
  .ws-kopf__aktionen > .ws-umschalter { display: none; }
  .ws-menue__thema { display: block; }
  .ws-kopf .markenzug--kopf { --zug-h: 30px; }
  .ws-kopf__aktionen { gap: .45rem; }
  .ws-kopf__aktionen .ws-knopf { padding: .5rem .7rem; font-size: .88rem; }
}
@media (max-width: 359px) {
  /* 320 px: der Einstieg steht im Menue, der Kopf bleibt einzeilig. */
  .ws-kopf__einstieg { display: none; }
}

/* ==========================================================================
   Buehne: das Hintergrundvideo unter dem Kopf
   ========================================================================== */
.ws-buehne { position: relative; isolation: isolate; overflow: hidden; background: var(--ws-grund); }
/* Reine Tapete: nichts darin ist anklickbar, waehlbar oder ziehbar. */
/* Reine Tapete: nichts darin ist anklickbar, waehlbar oder ziehbar.
   Unterer Rand (Feinschliff 26.10.2026): Die Medienebene selbst wird per
   Maske weich durchsichtig - ab --ws-ausblenden-ab in einer ausgeglichenen
   Kurve, ganz weg kurz vor dem Ende. Darunter liegt der Grund der Buehne,
   also genau die Seitenfarbe des Themes: keine Kante, kein Farbsprung, auch
   nicht waehrend das Video laeuft (Poster und Video liegen in derselben Ebene). */
.ws-buehne { --ws-ausblenden-ab: 40%; }
.ws-buehne__medien {
  position: absolute; inset: 0; z-index: -2; background: transparent; pointer-events: none; user-select: none; -webkit-user-select: none;
  --a: var(--ws-ausblenden-ab); --r: calc(100% - var(--ws-ausblenden-ab));
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 var(--a),
    rgba(0, 0, 0, .97) calc(var(--a) + var(--r) * .1), rgba(0, 0, 0, .88) calc(var(--a) + var(--r) * .22),
    rgba(0, 0, 0, .7) calc(var(--a) + var(--r) * .36), rgba(0, 0, 0, .5) calc(var(--a) + var(--r) * .5),
    rgba(0, 0, 0, .3) calc(var(--a) + var(--r) * .64), rgba(0, 0, 0, .13) calc(var(--a) + var(--r) * .78),
    rgba(0, 0, 0, .04) calc(var(--a) + var(--r) * .9), transparent calc(var(--a) + var(--r) * .97));
  mask-image: linear-gradient(180deg, #000 0, #000 var(--a),
    rgba(0, 0, 0, .97) calc(var(--a) + var(--r) * .1), rgba(0, 0, 0, .88) calc(var(--a) + var(--r) * .22),
    rgba(0, 0, 0, .7) calc(var(--a) + var(--r) * .36), rgba(0, 0, 0, .5) calc(var(--a) + var(--r) * .5),
    rgba(0, 0, 0, .3) calc(var(--a) + var(--r) * .64), rgba(0, 0, 0, .13) calc(var(--a) + var(--r) * .78),
    rgba(0, 0, 0, .04) calc(var(--a) + var(--r) * .9), transparent calc(var(--a) + var(--r) * .97));
}
.ws-buehne__poster, .ws-buehne__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  filter: var(--ws-video-filter); pointer-events: none;
}
.ws-buehne__video { opacity: 0; transition: opacity .8s ease; }
.ws-buehne.ist-bewegt .ws-buehne__video { opacity: 1; }
/* Der Schleier: links in der Seitenfarbe, damit Schrift und Knoepfe im
   gewaehlten Theme lesbar bleiben; rechts sieht man das Tal. Den unteren
   Uebergang macht die Maske oben, nicht der Schleier. */
.ws-buehne::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 0%,
    rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 38%,
    rgba(var(--ws-schleier-rgb), var(--ws-schleier-mitte)) 56%,
    rgba(var(--ws-schleier-rgb), var(--ws-schleier-rand)) 100%);
}
.ws-buehne__inhalt { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.ws-buehne--seite .ws-buehne__inhalt { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.75rem, 5vw, 4.25rem); }
.ws-buehne__text { max-width: 40rem; container-type: inline-size; }
.ws-auge { margin: 0 0 .9rem; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-akzent); }
/* Ueber dem Video (Feinschliff 26.10.2026): kleine Schrift braucht 4,5:1 auch auf
   hellen Bildstellen - im hellen Theme der tiefere Markenton. */
.ws-buehne .ws-auge { color: var(--ws-auge-buehne, var(--ws-akzent)); }
.ws-buehne h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance;
}
.ws-lead { margin: 0 0 1.6rem; font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); line-height: 1.6; color: var(--ws-text-2); max-width: 36rem; }
.ws-buehne .ws-lead { color: var(--ws-text); opacity: .86; }
.ws-fakten { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.1rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ws-text); }
.ws-fakten li { display: inline-flex; align-items: center; gap: .4rem; }
.ws-fakten svg { color: var(--ws-akzent); flex: none; }

/* Die Ueberschrift der Startseite: vier Zeilen, jede bleibt beisammen. Die
   Groesse richtet sich nach der Textspalte (Container), damit "Deine
   Buchhaltung." auch bei 320 px nie umbricht oder ueberlaeuft. */
.ws-buehne .ws-held__titel { font-size: clamp(1.7rem, 8.4vw, 3.6rem); font-size: min(3.6rem, 8.4cqi); line-height: 1.06; margin-bottom: 1.15rem; text-wrap: nowrap; }
.ws-held__titel > span { display: block; white-space: nowrap; }
.ws-held__titel .ws-held__akzent { color: var(--ws-akzent); }

@media (min-width: 760px) and (max-width: 1099px) {
  /* Mittlere Breiten: die Textspalte (bis 40rem) ist breiter als 38 % -
     der ruhige Teil des Schleiers reicht deshalb weiter nach rechts. */
  .ws-buehne::before {
    background: linear-gradient(90deg,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 0%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 66%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-mitte)) 82%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-rand)) 100%);
  }
}
@media (max-width: 759px) {
  /* Schmal: Text oben auf ruhigem Schleier, das Tal darunter sichtbar. */
  .ws-buehne::before {
    background: linear-gradient(180deg,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 0%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-text)) 58%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-mitte)) 78%,
      rgba(var(--ws-schleier-rgb), var(--ws-schleier-rand)) 100%);
  }
  .ws-buehne { --ws-ausblenden-ab: 64%; }
  .ws-buehne--start .ws-buehne__inhalt { padding: 2rem 0 7.5rem; }
  .ws-buehne--seite .ws-buehne__inhalt { padding: 2rem 0 4.5rem; }
  .ws-buehne__poster, .ws-buehne__video { object-position: 58% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-buehne__video { display: none; }
}

/* ==========================================================================
   Abschnitte und Bausteine
   ========================================================================== */
.ws-abschnitt { padding: clamp(2.75rem, 5.5vw, 4.5rem) 0; }
.ws-abschnitt--band { background: var(--ws-band); border-block: 1px solid var(--ws-linie); }
.ws-abschnitt--eng { padding-top: 0; }
.ws-kopfzeile { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.ws-kopfzeile h2, .ws-h2 { margin: 0 0 .55rem; font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 780; line-height: 1.15; letter-spacing: -.025em; }
.ws-kopfzeile p { margin: 0; color: var(--ws-text-2); font-size: 1.04rem; }
.ws-kopfzeile--mit-link { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; max-width: none; }
.ws-kopfzeile--mit-link > div { max-width: 46rem; }

/* Ablauf: Kunde > Offerte > Auftrag > Rechnung, danach Zahlung/Buchhaltung */
.ws-ablauf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); padding: 0; list-style: none; }
.ws-ablauf li { display: inline-flex; align-items: center; gap: .5rem; }
.ws-ablauf__schritt {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px;
  background: var(--ws-flaeche); border: 1px solid var(--ws-linie-stark); font-weight: 650; font-size: .95rem;
}
.ws-ablauf__nr { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ws-akzent-flaeche); color: var(--ws-akzent); font-size: .78rem; font-weight: 800; }
.ws-ablauf__pfeil { color: var(--ws-text-2); line-height: 0; }
.ws-ablauf__danach { color: var(--ws-text-2); font-size: .95rem; }
.ws-ablauf__danach b { color: var(--ws-text); font-weight: 650; }

/* Sechs Funktionsfamilien */
.ws-familien { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); margin: 0; padding: 0; list-style: none; }
.ws-familie {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .9rem; align-content: start;
  padding: 1.15rem 1.2rem; border-radius: 14px; background: var(--ws-flaeche); border: 1px solid var(--ws-linie);
  transition: border-color .15s, box-shadow .15s;
}
.ws-familie:hover { border-color: var(--ws-akzent-rand); box-shadow: var(--ws-schatten); }
.ws-familie:focus-within { border-color: var(--ws-akzent); }
.ws-familie__symbol { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--ws-akzent-flaeche); color: var(--ws-akzent); }
.ws-familie h3 { margin: 0; font-size: 1.05rem; font-weight: 720; }
.ws-familie h3 a { color: var(--ws-text); text-decoration: none; }
/* Die ganze Karte ist der Link (eindeutiges Ziel, Fokus auf der Karte). */
.ws-familie h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.ws-familie h3 a:focus-visible { outline: none; }
.ws-familie h3 a:focus-visible::after { outline: 3px solid var(--ws-fokus); outline-offset: 2px; }
.ws-familie p { margin: 0; color: var(--ws-text-2); font-size: .94rem; line-height: 1.5; }
.ws-familie__mehr { grid-column: 2; margin-top: .35rem; font-size: .86rem; font-weight: 650; color: var(--ws-akzent); }
.ws-hinweis-ki { display: flex; gap: .7rem; align-items: flex-start; margin: 1.25rem 0 0; color: var(--ws-text-2); font-size: .95rem; max-width: 48rem; }
.ws-hinweis-ki svg { color: var(--ws-akzent); flex: none; margin-top: .2rem; }
.ws-weiter { margin: 1.4rem 0 0; }

/* Galerie: vier beschriftete Ansichten, Vergroesserung im Dialog */
.ws-galerie { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1023px) { .ws-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .ws-galerie { grid-template-columns: minmax(0, 1fr); } }
.ws-galerie figure { margin: 0; }
.ws-galerie__bild, .ws-galerie__platz {
  display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--ws-linie); background: var(--ws-flaeche);
}
.ws-galerie__knopf { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.ws-galerie__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .25s ease; }
.ws-galerie__knopf:hover img { transform: scale(1.02); }
.ws-galerie__platz {
  display: grid; place-content: center; justify-items: center; gap: .45rem; padding: 1rem; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, var(--ws-flaeche-2) 14px 15px),
    var(--ws-flaeche);
  border-style: dashed; border-color: var(--ws-linie-stark); color: var(--ws-text-2);
}
.ws-galerie__platz svg { color: var(--ws-akzent); }
.ws-galerie__platz span { font-size: .82rem; font-weight: 600; }
.ws-galerie figcaption { margin-top: .6rem; }
.ws-galerie figcaption b { display: block; font-size: .98rem; }
.ws-galerie figcaption span { display: block; font-size: .88rem; color: var(--ws-text-2); }

.ws-lupe {
  width: min(1200px, 100% - 2rem); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--ws-linie);
  border-radius: 16px; background: var(--ws-flaeche); color: var(--ws-text); box-shadow: var(--ws-schatten-hoch); overflow: hidden;
}
.ws-lupe::backdrop { background: rgba(6, 12, 11, .78); }
.ws-lupe__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .75rem .6rem 1.1rem; border-bottom: 1px solid var(--ws-linie); }
.ws-lupe__kopf h2 { margin: 0; font-size: 1rem; }
.ws-lupe__bild { display: grid; place-items: center; background: var(--ws-grund); max-height: calc(100dvh - 10rem); overflow: auto; }
.ws-lupe__bild img { display: block; max-width: 100%; height: auto; }
.ws-lupe__fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-top: 1px solid var(--ws-linie); }
.ws-lupe__fuss p { margin: 0; color: var(--ws-text-2); font-size: .92rem; }
.ws-icon-knopf {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--ws-linie-stark); background: var(--ws-flaeche); color: var(--ws-text); cursor: pointer;
}
.ws-icon-knopf:hover { border-color: var(--ws-akzent); }

/* Menschen und Zusammenarbeit */

/* Zwei Abos */
.ws-abos { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 759px) { .ws-abos { grid-template-columns: minmax(0, 1fr); } }
.ws-abo {
  display: grid; gap: .7rem; align-content: start; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 16px; background: var(--ws-flaeche); border: 1px solid var(--ws-linie); box-shadow: var(--ws-schatten);
}
.ws-abo--hervor { border-color: var(--ws-akzent); box-shadow: 0 0 0 3px var(--ws-akzent-flaeche), var(--ws-schatten); }
.ws-abo__marke { justify-self: start; padding: .2rem .65rem; border-radius: 999px; background: var(--ws-akzent-flaeche); color: var(--ws-akzent); font-size: .75rem; font-weight: 750; }
.ws-abo h3 { margin: 0; font-size: 1.3rem; font-weight: 760; }
.ws-abo__preis { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ws-abo__preis small { font-size: .9rem; font-weight: 550; color: var(--ws-text-2); letter-spacing: 0; }
.ws-abo__offen { margin: 0; font-size: 1.05rem; font-weight: 650; color: var(--ws-text-2); }
.ws-abo__fuer { margin: 0; color: var(--ws-text-2); }
.ws-abo ul { display: grid; gap: .45rem; margin: .2rem 0 .4rem; padding: 0; list-style: none; }
.ws-abo li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; }
.ws-abo li svg { flex: none; margin-top: .2rem; color: var(--ws-akzent); }
.ws-abo .ws-knopf { justify-self: stretch; }
.ws-abo-stand {
  display: flex; gap: .75rem; align-items: flex-start; margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 12px;
  background: var(--ws-akzent-flaeche); border: 1px solid var(--ws-akzent-rand); font-size: .95rem;
}
.ws-abo-stand svg { flex: none; color: var(--ws-akzent); margin-top: .15rem; }
.ws-abo-stand p { margin: 0; }
.ws-beide { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--ws-text-2); }
.ws-beide li { display: inline-flex; gap: .45rem; align-items: center; }
.ws-beide svg { color: var(--ws-akzent); flex: none; }
.ws-beide__titel { width: 100%; font-weight: 700; color: var(--ws-text); }

.ws-vergleich { margin-top: clamp(2rem, 4vw, 3rem); }
.ws-vergleich table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ws-vergleich th, .ws-vergleich td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--ws-linie); vertical-align: top; }
.ws-vergleich thead th { font-size: .85rem; letter-spacing: .04em; color: var(--ws-text-2); }
.ws-vergleich tbody th { font-weight: 650; width: 32%; }
@media (max-width: 759px) {
  /* Schmal: Kriterienbloecke mit beiden Werten, keine Wischtabelle. */
  .ws-vergleich table, .ws-vergleich tbody, .ws-vergleich tr, .ws-vergleich th, .ws-vergleich td { display: block; width: 100%; }
  .ws-vergleich thead { display: none; }
  .ws-vergleich tr { padding: .75rem 0; border-bottom: 1px solid var(--ws-linie); }
  .ws-vergleich th, .ws-vergleich td { border: 0; padding: .15rem 0; }
  .ws-vergleich td::before { content: attr(data-abo) ": "; font-weight: 650; color: var(--ws-text-2); }
}

/* FAQ und Abschluss */
.ws-faq-raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .ws-faq-raster { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
body.oeffentlich .ws-faq-raster .faq__eintrag { background: var(--ws-flaeche); }
.ws-abschluss {
  display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 16px;
  background: var(--ws-flaeche); border: 1px solid var(--ws-linie); box-shadow: var(--ws-schatten);
}
.ws-abschluss h2 { margin: 0; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 780; letter-spacing: -.02em; }
.ws-abschluss p { margin: 0; color: var(--ws-text-2); }
.ws-schritte { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
.ws-schritte li { display: flex; gap: .65rem; align-items: center; font-weight: 600; counter-increment: schritt; }
.ws-schritte li::before {
  content: counter(schritt); display: inline-grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--ws-akzent-flaeche); color: var(--ws-akzent); font-size: .82rem; font-weight: 800;
}
.ws-abschluss-zeile {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); border-radius: 16px;
  background: var(--ws-flaeche); border: 1px solid var(--ws-linie);
}
.ws-abschluss-zeile h2 { margin: 0 0 .25rem; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.ws-abschluss-zeile p { margin: 0; color: var(--ws-text-2); }

/* ==========================================================================
   Funktionen: Demo, Abschnittsnavigation, Familien im Detail, Index
   ========================================================================== */
.ws-sprung { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.ws-sprung a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem; border-radius: 999px;
  background: var(--ws-flaeche); border: 1px solid var(--ws-linie-stark); color: var(--ws-text); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.ws-sprung a:hover { border-color: var(--ws-akzent); text-decoration: none; }

.ws-demo { position: relative; margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem)); }
.ws-demo__rahmen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ws-linie-stark); background: var(--ws-flaeche); box-shadow: var(--ws-schatten-hoch);
}
.ws-demo__rahmen video { display: block; width: 100%; height: 100%; background: #000; }
.ws-demo__leiste { display: flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .9rem; border-bottom: 1px solid var(--ws-linie); background: var(--ws-flaeche-2); }
.ws-demo__leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--ws-linie-stark); }
.ws-demo__vorbereitung {
  position: absolute; inset: 36px 0 0; display: grid; place-content: center; justify-items: center; gap: .9rem;
  padding: clamp(1rem, 4vw, 3rem); text-align: center;
  background:
    radial-gradient(70% 60% at 50% 45%, var(--ws-akzent-flaeche), transparent 70%),
    var(--ws-flaeche);
}
.ws-demo__status { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--ws-akzent-rand); color: var(--ws-akzent); font-size: .8rem; font-weight: 750; letter-spacing: .04em; }
.ws-demo__vorbereitung h2 { margin: 0; font-size: clamp(1.2rem, 1rem + 1.4vw, 1.9rem); font-weight: 780; }
.ws-demo__vorbereitung p { margin: 0; max-width: 36rem; color: var(--ws-text-2); }
.ws-demo__vorbereitung .ws-ablauf { justify-content: center; margin: .3rem 0 0; }
@media (max-width: 599px) {
  .ws-demo__rahmen { aspect-ratio: auto; }
  .ws-demo__vorbereitung { position: static; padding: 1.75rem 1.1rem 2rem; }
  .ws-demo__vorbereitung .ws-ablauf__schritt { font-size: .86rem; padding: .3rem .65rem; min-height: 36px; }
}
.ws-demo__unter { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: .75rem; color: var(--ws-text-2); font-size: .9rem; }

.ws-detail { display: grid; gap: clamp(1rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr); padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; border-top: 1px solid var(--ws-linie); scroll-margin-top: 5rem; }
.ws-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .ws-detail { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.ws-detail__kopf { display: grid; gap: .6rem; align-content: start; }
.ws-detail__kopf .ws-familie__symbol { grid-row: auto; }
.ws-detail h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 760; letter-spacing: -.02em; }
.ws-detail__kopf > p { margin: 0; color: var(--ws-text-2); }
.ws-vorteil { margin: .2rem 0 0; padding: .7rem .95rem; border-radius: 10px; background: var(--ws-akzent-flaeche); font-size: .95rem; }
.ws-vorteil b { color: var(--ws-akzent); }
.ws-detail ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.ws-detail li { display: flex; gap: .6rem; align-items: flex-start; }
.ws-detail li svg { flex: none; margin-top: .25rem; color: var(--ws-akzent); }
.ws-detail details { margin-top: .9rem; border-top: 1px solid var(--ws-linie); padding-top: .75rem; }
.ws-detail summary { cursor: pointer; font-weight: 650; color: var(--ws-akzent); min-height: 40px; display: inline-flex; align-items: center; }
.ws-detail details p { margin: .5rem 0 0; color: var(--ws-text-2); font-size: .95rem; }
.ws-quer { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ws-quer > div { padding: 1.2rem 1.25rem; border-radius: 14px; background: var(--ws-flaeche); border: 1px solid var(--ws-linie); scroll-margin-top: 5rem; }
.ws-quer h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.ws-quer p { margin: 0 0 .5rem; color: var(--ws-text-2); font-size: .95rem; }
.ws-index { border: 1px solid var(--ws-linie); border-radius: 14px; background: var(--ws-flaeche); }
.ws-index > summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 48px; }
.ws-index > summary::-webkit-details-marker { display: none; }
.ws-index > summary::after { content: "+"; color: var(--ws-akzent); font-size: 1.3rem; line-height: 1; }
.ws-index[open] > summary::after { content: "\2013"; }
.ws-index__gruppen { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); padding: 0 1.2rem 1.3rem; }
.ws-index__gruppen h3 { margin: 0 0 .4rem; font-size: .92rem; }
.ws-index__gruppen ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .25rem; font-size: .92rem; color: var(--ws-text-2); }

/* Privatsteuern und Ueber uns */
.ws-status { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--ws-akzent-rand); background: var(--ws-akzent-flaeche); color: var(--ws-text); font-size: .85rem; font-weight: 700; }
.ws-status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #d39b1f; }
.ws-status--offen::before { background: var(--ws-akzent); }
.ws-text { max-width: 44rem; }
.ws-text p { color: var(--ws-text-2); }
.ws-text p b { color: var(--ws-text); }
.ws-team { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (max-width: 699px) { .ws-team { grid-template-columns: minmax(0, 1fr); } }
.ws-team__person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.1rem; border-radius: 16px; background: var(--ws-flaeche); border: 1px solid var(--ws-linie); }
@media (max-width: 399px) { .ws-team__person { grid-template-columns: 96px minmax(0, 1fr); } }
.ws-team__person img { display: block; width: 100%; height: auto; aspect-ratio: 1278 / 1230; object-fit: cover; border-radius: 12px; background: var(--ws-flaeche-2); }
.ws-team__person h3 { margin: 0; font-size: 1.12rem; }
.ws-team__rolle { margin: .2rem 0 .55rem; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ws-akzent); }
.ws-team__person p:last-child { margin: 0; color: var(--ws-text-2); font-size: .94rem; }
/* Kontaktkarte (Ueber uns, Feinschliff 26.10.2026): links Einleitung und
   Hinweise, rechts die Wege als Liste mit den Knoepfen; schmal untereinander.
   Die Telefonnummer bricht nie innerhalb der Nummer um (.ws-tel). */
.ws-kontakt { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: minmax(0, 1fr); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 16px; background: var(--ws-flaeche); border: 1px solid var(--ws-linie); scroll-margin-top: 5rem; }
@media (min-width: 860px) { .ws-kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.ws-kontakt h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.ws-kontakt p { margin: 0; color: var(--ws-text-2); }
.ws-kontakt__klein { margin-top: .9rem !important; font-size: .9rem; }
.ws-kontakt__wege { display: grid; gap: 1.1rem; }
.ws-kontakt__angaben { display: grid; gap: .1rem; margin: 0; padding: .35rem 1rem; border-radius: 12px; background: var(--ws-flaeche-2); border: 1px solid var(--ws-linie); }
.ws-kontakt__angaben > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .25rem 1rem; align-items: baseline; padding: .6rem 0; }
.ws-kontakt__angaben > div + div { border-top: 1px solid var(--ws-linie); }
.ws-kontakt__angaben dt { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ws-text-2); }
.ws-kontakt__angaben dd { margin: 0; color: var(--ws-text); min-width: 0; }
.ws-kontakt__angaben a { font-weight: 650; }
.ws-tel { white-space: nowrap; }
@media (max-width: 479px) {
  .ws-kontakt__angaben > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .ws-kontakt .ws-knoepfe { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Fuss: ein Satz, drei Linkgruppen, Kontakt und Rechtliches
   ========================================================================== */
body.oeffentlich .fuss.ws-fuss { background: var(--ws-band); border-top: 1px solid var(--ws-linie); color: var(--ws-text-2); padding: clamp(2.25rem, 4vw, 3rem) 0 1.25rem; }
.ws-fuss__innen { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .ws-fuss__innen { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); } }
.ws-fuss__marke p { margin: .9rem 0 0; max-width: 24rem; font-size: .93rem; }
.ws-fuss .markenzug--fuss { --zug-h: 36px; }
.ws-fuss__spalten { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ws-fuss__spalten h2 { margin: 0 0 .5rem; color: var(--ws-text); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.ws-fuss__spalten a { display: flex; align-items: center; min-height: 36px; color: var(--ws-text-2); font-size: .93rem; text-decoration: none; }
.ws-fuss__spalten a:hover { color: var(--ws-text); text-decoration: underline; }
.ws-fuss__kontakt { font-size: .93rem; }
.ws-fuss__kontakt a { min-height: 32px; font-weight: 650; color: var(--ws-text); }
.ws-fuss__kontakt small { display: block; margin-top: .3rem; font-size: .82rem; line-height: 1.45; }
.ws-fuss__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--ws-linie); font-size: .86rem; }
.ws-fuss__recht { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; }
.ws-fuss__recht a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ws-text-2); text-decoration: underline; text-underline-offset: 2px; }
.ws-fuss__recht a:hover { color: var(--ws-text); }
body.oeffentlich .ws-fuss .fuss__social-icon { color: var(--ws-text-2); border-color: var(--ws-linie-stark); }
body.oeffentlich .ws-fuss .fuss__social-icon:hover { color: var(--ws-text); border-color: var(--ws-text-2); }

@media (max-width: 980px) {
  .ws-fuss__spalten a { min-height: 44px; }
  .ws-fuss__recht a { min-height: 44px; }
}
@media print {
  .ws-kopf, .ws-buehne__medien, .ws-fuss { display: none !important; }
}

/* Sehr schmal: lange Beschriftungen und Adressen brechen um statt zu ragen. */
@media (max-width: 399px) {
  .ws-knoepfe .ws-knopf { white-space: normal; text-align: center; }
  .ws-kontakt p, .ws-kontakt__angaben a[href^="mailto:"], .ws-fuss__kontakt a[href^="mailto:"] { overflow-wrap: anywhere; }
  .ws-fuss__kontakt a[href^="tel:"] { white-space: nowrap; }
}
@media (max-width: 759px) { .ws-demo { margin-top: 1.5rem; } }
.ws-fuss .fuss__social { margin-top: 1rem; }

/* Live-Abnahme 26.10.2026: lange deutsche Woerter ("Unternehmensverwaltung",
   "Produktentwicklung") brechen mit Trennstrich bzw. notfalls im Wort um,
   statt in der Buehne abgeschnitten zu werden oder seitlich zu ragen. Die
   vierzeilige Startseiten-Ueberschrift bleibt davon unberuehrt (nowrap). */
.ws-buehne h1, .ws-kopfzeile h2, .ws-h2, .ws-detail h2, .ws-abschluss h2, .ws-abschluss-zeile h2,
.ws-team__person h3, .ws-team__rolle, .ws-familie h3, .ws-abo h3 { overflow-wrap: break-word; hyphens: auto; }
.ws-team__person > div, .ws-detail > *, .ws-faq-raster > *, .ws-kontakt > * { min-width: 0; }
