/* =========================================================================
   Unterseiten closinghub.de im hellen Schema der Startseite (03.10.2026).
   Laedt nach fonts.css, flaechen.css und start-hell.css und nutzt deren
   Tokens und Bausteine (.wrap, .sektion, .buehne, .buehnen-wrap, .btn,
   .pille, .feature, .uk, .fenster, .pr-*, .schluss, .kopfzeile).
   Seiten mit Fragen-Akkordeon laden zusaetzlich start-hell-sektionen.css
   (.faq-*), das setzt werkzeuge/unterseite_kopf.py von selbst.
   Die alten Schichten (site.css, refinement.css, direction.css,
   experience.css, kopf.css, schema.css, sections.css, unterseite.css,
   seiten/*.css) laden auf Unterseiten nicht mehr; was davon gebraucht wird,
   steht hier.
   Gliederung:
     1. Grundlagen und Bereichsfarbe     8. Fakten-Liste
     2. Kopf: aktive Seite               9. Feature-Buehne in Bereichsfarbe
     3. Lila Kopf (u-hero)              10. Tabelle
     4. Lila Kopf mit Produktbild       11. Rechtstexte und Hilfe-Artikel
     5. Sektionskopf und Textsektion    12. Ratgeber-Artikel
     6. Katalog-Karten, Kennst du das?  13. Preise und Schluss
     7. Schritte mit Kreisen            14. Handy, 15. Reduzierte Bewegung
   ========================================================================= */

/* ---------- 1. Grundlagen und Bereichsfarbe ----------------------------- */
/* Jede Seite hat eine Bereichsfarbe. Ohne eigene laeuft sie im Marken-
   Violett; Funktionsseiten setzen --f und --f-bg am <main>. */
main { --f: var(--f-dialer); --f-bg: var(--f-dialer-bg); }
main [id] { scroll-margin-top: 140px; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Textlinks im Fliesstext: Farbe plus feine Linie, nie nur Farbe. */
.u-fliess a:not(.btn):not(.pfeil-link),
.u-kat p a,
.legal-document a:not(.back),
.rg-text a,
.faq-antwort a,
.lead a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.u-fliess a:not(.btn):not(.pfeil-link):hover,
.legal-document a:not(.back):hover,
.rg-text a:hover,
.lead a:not(.btn):hover { text-decoration-color: currentColor; }

/* ---------- 2. Kopf: aktive Seite ---------------------------------------- */
.nav-link[aria-current="page"] { color: var(--accent); }
.mega-spalte > a[aria-current="page"] { color: var(--accent); }
.menue-liste a[aria-current="page"], .menue-link[aria-current="page"] { color: var(--accent); }

/* ---------- 3. Lila Kopf (u-hero) --------------------------------------- */
/* Die Marke der Unterseiten: dunkler Violett-Verlauf mit Ringen, Geldscheinen
   und Punktraster. Jetzt als Buehne (1280, 40px Rundung) unter der
   schwebenden Nav-Karte; die Seitenlinien laufen ueber und unter ihr weiter.
   Ringe und Schimmer unten rechts tragen die Bereichsfarbe (--f). */
.u-hero { position: relative; padding-top: 20px; }
.u-buehne {
  --u-ring: color-mix(in srgb, var(--f) 50%, #fff);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 80px 80px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 6% 0%, color-mix(in srgb, #6C2BF2 40%, transparent), transparent 70%),
    radial-gradient(ellipse 55% 75% at 100% 100%, color-mix(in srgb, var(--f) 34%, transparent), transparent 70%),
    color-mix(in srgb, #6C2BF2 12%, #17102B);
}
.u-ringe, .u-punkte, .u-buehne::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Zwei grosse Ringe aus der Bildmarke, unten links angeschnitten. */
.u-ringe {
  background:
    radial-gradient(circle 560px at 10% 125%, transparent 559px, color-mix(in srgb, var(--u-ring) 26%, transparent) 560px, transparent 561.5px),
    radial-gradient(circle 560px at 30% 132%, transparent 559px, color-mix(in srgb, var(--u-ring) 18%, transparent) 560px, transparent 561.5px),
    radial-gradient(circle 360px at 96% -18%, transparent 359px, color-mix(in srgb, var(--u-ring) 14%, transparent) 360px, transparent 361.5px);
}
/* Punktraster unten links, weich ausgeblendet. */
.u-punkte {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--u-ring) 30%, transparent) 1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 32%), linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to right, #000 0%, transparent 32%), linear-gradient(to top, #000 0%, transparent 85%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Geldscheine als leise Ebene rechts, wie bisher. */
.u-buehne::after {
  background: url("/assets/img/scheine.webp") center top / cover no-repeat;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1);
  opacity: .12;
  -webkit-mask-image: linear-gradient(to right, transparent 35%, #000 80%);
  mask-image: linear-gradient(to right, transparent 35%, #000 80%);
}

.u-hero-text { position: relative; max-width: 820px; }
.u-hero .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 36px; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, .62); }
.u-hero .breadcrumb a { color: rgba(255, 255, 255, .78); transition: color var(--t-1) var(--ease); }
.u-hero .breadcrumb a:hover { color: #fff; }
.u-hero .breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, .32); }

/* Bereichszeile ueber der H1: Kachel in der Bereichsfarbe plus Wort. */
.u-bereich { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 15px; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, .82); }
.u-kachel { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--f-bg); color: var(--f); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--f) 80%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.u-kachel svg { width: 20px; height: 20px; }

.u-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -.035em; color: #fff; }
.u-hero h1 b { display: block; font-weight: 500; color: color-mix(in srgb, var(--u-ring) 80%, #fff); }
.u-hero .u-lead { margin-top: 22px; max-width: 34em; font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, .74); }
.u-hero .u-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.u-hero .u-lead a:hover { text-decoration-color: #fff; }
.u-stand { display: inline-flex; align-items: center; height: 30px; margin-top: 22px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pille); background: rgba(255, 255, 255, .05); font-size: 13.5px; font-weight: 500; line-height: 1; color: rgba(255, 255, 255, .78); }
.u-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.u-stand + .u-knoepfe { margin-top: 24px; }
/* Knoepfe auf Dunkel: Primaer bleibt violett, der leise wird zum Umriss. */
.u-hero .btn-primaer { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 26px -12px rgba(108, 43, 242, .9); }
.u-hero .btn-leise { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .26); }
.u-hero .btn-leise:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .44); }
.u-nachher { margin-top: 28px; }

/* ---------- 4. Lila Kopf mit Produktbild (Funktionsseiten) -------------- */
/* Text links, rechts das Produktfenster ohne Browser-Punkte: es laeuft rechts
   ueber die Buehne hinaus und unten in den Verlauf aus. Davor eine gebaute
   .uk-Karte im Stil der App. */
.u-hero--bild .u-buehne { padding: 64px 0 0 80px; }
.u-hero--bild .u-raster { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); column-gap: 64px; align-items: stretch; }
.u-hero--bild .u-hero-text { padding-bottom: 80px; }
.u-hero--bild h1 { font-size: clamp(40px, 4.2vw, 58px); }
.u-hero--bild .u-lead { font-size: 19px; }
.u-medien { position: relative; min-height: 520px; }
.u-fenster {
  position: absolute;
  top: 40px;
  left: 0;
  bottom: 0;
  width: 880px;
  margin: 0;
  border: 0;
  border-radius: 16px 0 0 0;
  background: transparent;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 97%);
}
.u-fenster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; }
.u-medien .uk { position: absolute; z-index: 3; left: -40px; bottom: 56px; width: 360px; background: var(--paper); border: 1px solid var(--rahmen); box-shadow: 0 1px 2px rgba(23, 16, 43, .1), 0 40px 70px -30px rgba(10, 6, 24, .75); }

/* ---------- 5. Sektionskopf und Textsektion ----------------------------- */
/* Linksbuendiger Kopf einer Sektion: Pille, zweifarbige H2, Lead.
   Zentriert: .kopfzeile mit .titel aus start-hell.css. */
.u-kopf { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.u-kopf .pille { margin-bottom: 20px; }
.u-kopf h2, .u-zwei-kopf h2 { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.035em; }
.u-kopf h2 em, .u-zwei-kopf h2 em, .u-schluss-titel em { font-style: normal; color: var(--f); }
.u-kopf .lead { margin-top: 18px; max-width: 640px; }
.pille-f { background: var(--f-bg); color: var(--f); }

/* Textsektion: H2 links (mitlaufend), Text rechts. */
.u-zwei { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.u-zwei-kopf { position: sticky; top: 150px; }
.u-zwei-kopf .pille { margin-bottom: 20px; }
.u-zwei-kopf .lead { margin-top: 18px; }
.u-fliess { max-width: 68ch; }
.u-fliess > * + * { margin-top: 16px; }
.u-fliess p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.u-fliess h3 { margin-top: 36px; font-size: 22px; letter-spacing: -.02em; }
.u-fliess strong { font-weight: 600; color: var(--ink); }

/* ---------- 6. Katalog-Karten, Kennst du das? --------------------------- */
/* Karte wie im Integrations-Katalog: 22px Karte mit 8px Innenrand, darin die
   getoente Kopfflaeche in --farbe, Kachel 46px, Titel in Outfit. */
.u-kat-raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
/* Drei Spalten: letzte Reihe mit zwei Karten halb breit, mit einer ganz breit. */
@media (min-width: 901px) {
  .u-kat-raster--3 > * { grid-column: span 2; }
  .u-kat-raster--3 > :nth-child(3n+1):nth-last-child(2),
  .u-kat-raster--3 > :nth-child(3n+1):nth-last-child(2) + * { grid-column: span 3; }
  .u-kat-raster--3 > :nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
.u-kat-raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.u-kat-raster--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.u-kat-raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-kat {
  --farbe: var(--f);
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line-mid);
  border-radius: 22px;
  background: var(--paper);
}
.u-kat-kopf {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 18%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 7%, #fff) 0%, #fff 75%);
}
.u-kat-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--farbe);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--farbe) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--farbe) 12%, transparent);
}
.u-kat-logo svg { width: 22px; height: 22px; }
.u-kat h3 { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.u-kat p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* Kennst du das? Die Schmerzen in leisem Rot, Kreuz in der Kachel. */
.u-kat--schmerz { --farbe: var(--flaeche-rot); }
.u-kat--schmerz .u-kat-logo { color: var(--flaeche-rot-tief); }
.u-kat--schmerz .u-kat-kopf { background: radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 11%, transparent) 0, transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--farbe) 4%, #fff) 0%, #fff 75%); }

/* Katalog-Karte als Link (Hilfe-Bereiche, Ratgeber, Vergleiche): der Link
   unten legt sich mit ::after ueber die ganze Karte, die Karte toent beim
   Zeigen in --farbe. */
.u-klick { position: relative; transition: border-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease); }
.u-klick:hover { border-color: color-mix(in srgb, var(--farbe) 35%, var(--line-mid)); box-shadow: 0 1px 2px rgba(23, 16, 43, .04), 0 18px 36px -24px color-mix(in srgb, var(--farbe) 55%, transparent); }
.u-klick.ein { transition: opacity var(--t-5) var(--ease) calc(var(--v, 0) * 70ms), transform var(--t-5) var(--ease) calc(var(--v, 0) * 70ms), border-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease); }
.u-klick:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.u-klick-link { display: inline-flex; align-items: center; gap: 6px; padding: 14px 14px 10px; font-size: 14px; font-weight: 600; line-height: 1; color: color-mix(in srgb, var(--farbe) 75%, var(--ink)); }
.u-klick-link svg { width: 15px; height: 15px; transition: transform var(--t-2) var(--ease); }
.u-klick:hover .u-klick-link svg { transform: translateX(3px); }
.u-klick-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.u-klick-link:focus-visible { outline: none; }

/* ---------- 7. Schritte mit Kreisen in der Bereichsfarbe ---------------- */
/* Nummer im Kreis (--f-bg/--f), eine Linie fuehrt zum naechsten Schritt. */
.u-schritte { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 32px; counter-reset: u-schritt; }
.u-schritt { position: relative; counter-increment: u-schritt; padding-right: 8px; }
.u-schritt::before {
  content: counter(u-schritt);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--f-bg);
  color: var(--f);
  font-family: Outfit, sans-serif;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--paper), inset 0 0 0 1px color-mix(in srgb, var(--f) 22%, transparent);
}
.u-schritt:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 50px;
  right: -26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--f) 45%, transparent), color-mix(in srgb, var(--f) 12%, transparent));
}
.u-schritt h3 { font-family: Manrope, sans-serif; font-size: 17.5px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.u-schritt p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- 8. Fakten-Liste ---------------------------------------------- */
.u-fakten { display: grid; gap: 0; border-top: 1px solid var(--line); }
.u-fakten li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.u-fakten li strong { color: var(--ink); font-weight: 600; }
.u-haken { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; background: var(--f-bg); color: var(--f); }
.u-haken svg { width: 14px; height: 14px; }
.u-fakten--zwei { grid-template-columns: 1fr 1fr; column-gap: 40px; }

/* ---------- 9. Feature-Buehne in der Bereichsfarbe ---------------------- */
/* Aufbau wie .feature auf der Startseite; die Toenung kommt aus --f. */
.feature-f { --farbe: var(--f); --farbe-tief: var(--f); --anteil: 7%; }
.feature-f .feature-medien { background: color-mix(in srgb, var(--f) 13%, var(--paper)); }
/* Medienflaeche nur mit einer grossen gebauten Karte, ohne Fenster. */
.feature-medien.u-nur-karte { display: grid; place-items: center; min-height: 0; padding: 56px 48px; }
.u-nur-karte .uk { width: min(440px, 100%); border: 1px solid var(--rahmen); background: var(--paper); box-shadow: 0 1px 2px rgba(23, 16, 43, .06), 0 40px 70px -34px rgba(23, 16, 43, .45); }
/* Zeile in einer gebauten Karte: Wort links, Stand rechts, Datum darunter. */
.uk-reihe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.uk-reihe:first-of-type { border-top: 0; }
.uk-reihe strong { font-size: 14.5px; font-weight: 600; }
.uk-reihe small { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.uk-titel { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--f); }
.uk-titel svg { width: 14px; height: 14px; }
.fl-pille.uk-aus { background: var(--nebel); color: var(--ink-3); }

/* Pillen mit Farbklasse: .fl-pille setzt in flaechen.css seine eigene Farbe
   nach den Farbklassen, deshalb hier mit doppelter Klasse. */
.fl-pille.fl-violett { --farbe: var(--flaeche-violett); --farbe-tief: var(--flaeche-violett-tief); }
.fl-pille.fl-blau    { --farbe: var(--flaeche-blau);    --farbe-tief: var(--flaeche-blau-tief); }
.fl-pille.fl-gruen   { --farbe: var(--flaeche-gruen);   --farbe-tief: var(--flaeche-gruen-tief); }
.fl-pille.fl-gelb    { --farbe: var(--flaeche-gelb);    --farbe-tief: var(--flaeche-gelb-tief); }
.fl-pille.fl-rot     { --farbe: var(--flaeche-rot);     --farbe-tief: var(--flaeche-rot-tief); }
.fl-pille.fl-rosa    { --farbe: var(--flaeche-rosa);    --farbe-tief: var(--flaeche-rosa-tief); }
.fl-pille.fl-dialer, .fl-pille.fl-telefonie, .fl-pille.fl-leads, .fl-pille.fl-deal, .fl-pille.fl-objekte,
.fl-pille.fl-unterlagen, .fl-pille.fl-kalender, .fl-pille.fl-auswertung { --farbe-tief: var(--farbe); }
.fl-pille.fl-dialer { --farbe: var(--f-dialer); } .fl-pille.fl-telefonie { --farbe: var(--f-telefonie); }
.fl-pille.fl-leads { --farbe: var(--f-leads); } .fl-pille.fl-deal { --farbe: var(--f-deal); }
.fl-pille.fl-objekte { --farbe: var(--f-objekte); } .fl-pille.fl-unterlagen { --farbe: var(--f-unterlagen); }
.fl-pille.fl-kalender { --farbe: var(--f-kalender); } .fl-pille.fl-auswertung { --farbe: var(--f-auswertung); }
.fl-pille svg { width: 12px; height: 12px; }

/* ---------- 10. Tabelle -------------------------------------------------- */
/* Helle Vergleichstabelle: Rahmen 20px, Zeilen 56px, Gruppenzeilen leise. */
.u-tabelle-rahmen { overflow-x: auto; border: 1px solid var(--line-mid); border-radius: var(--r-karte); background: var(--paper); box-shadow: var(--shadow-card); }
.u-tabelle { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.u-tabelle th, .u-tabelle td { height: 56px; padding: 0 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.u-tabelle thead th { height: 64px; border-top: 0; font-family: Outfit, sans-serif; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-align: center; background: var(--paper); }
.u-tabelle thead th:first-child { width: 40%; text-align: left; }
.u-tabelle th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); }
.u-tabelle td { text-align: center; color: var(--ink-2); }
.u-tabelle tbody tr:not(.u-gruppe):hover th, .u-tabelle tbody tr:not(.u-gruppe):hover td { background: var(--paper-2); }
.u-tabelle .u-gruppe th { height: 44px; padding-top: 6px; text-align: left; background: var(--nebel); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.u-tabelle .u-gruppe th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 3px; background: var(--g, var(--accent)); vertical-align: 1px; }
.u-tabelle .u-hervor { background: color-mix(in srgb, var(--tint) 50%, transparent); }
.u-tabelle thead .u-hervor { background: var(--tint-weak); }
.u-ja { color: var(--f-telefonie); }
.u-ja svg { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.u-nein { color: #B9B2C6; }
.u-nein svg { display: inline-block; width: 15px; height: 15px; vertical-align: middle; }
.u-tabelle .u-text { font-size: 14px; color: var(--ink); }
.u-tabelle-fuss { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.u-marke { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 8px; border-radius: 6px; background: var(--accent); color: #fff; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 3px; }
/* Am Handy zeigt die Tabelle ein Paket zur Zeit (data-paket am Rahmen). */
.u-tabelle-wahl { display: none; }

/* ---------- 11. Rechtstexte und Hilfe-Artikel --------------------------- */
/* Markup der Rechtstexte bleibt: .legal-tabs, .legal-layout mit
   .legal-sidebar (.legal-toc, .legal-help) und .legal-document. Lesespalte
   72ch, links das mitlaufende Inhaltsverzeichnis. */
.u-lesen { padding-top: 48px; padding-bottom: var(--sektion); }
.legal-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; width: fit-content; max-width: 100%; height: 40px; padding: 4px; margin-bottom: 48px; border: 1px solid var(--line-mid); border-radius: 10px; background: var(--nebel); }
.legal-tabs a { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--ink-3); transition: color var(--t-1) var(--ease), background-color var(--t-1) var(--ease); }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--paper); color: var(--accent); box-shadow: 0 1px 2px rgba(23, 16, 43, .10); }

.legal-layout, .rg-layout { display: grid; grid-template-columns: 260px minmax(0, 72ch); gap: 72px; align-items: start; }
.legal-layout > *, .rg-layout > * { min-width: 0; }
.legal-sidebar, .rg-seite-leiste { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 20px; }
.legal-toc summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); list-style: none; cursor: default; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary span { display: none; }
.legal-toc nav, .rg-toc { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.legal-toc nav a, .rg-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink-3); transition: color var(--t-1) var(--ease), border-color var(--t-1) var(--ease); }
.legal-toc nav a:hover, .rg-toc a:hover { color: var(--ink); }
.legal-toc nav a[aria-current], .rg-toc a[aria-current] { color: var(--accent); border-left-color: var(--accent); }
.legal-help { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-mid); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-card); font-size: 14px; color: var(--ink-3); transition: border-color var(--t-1) var(--ease); }
.legal-help strong { font-weight: 600; color: var(--accent); }
.legal-help:hover { border-color: var(--line-stark); }

/* Lesetext: gilt fuer Rechtstexte, Hilfe-Artikel und Ratgeber. */
.legal-document, .rg-text { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.legal-document > :first-child, .rg-text > :first-child { margin-top: 0; }
.legal-document h2, .rg-text h2 { margin: 56px 0 14px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.025em; color: var(--ink); scroll-margin-top: 150px; }
.legal-document h3, .rg-text h3 { margin: 32px 0 10px; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.legal-document p, .rg-text p { margin: 0 0 16px; }
.legal-document address { margin: 0 0 16px; font-style: normal; }
.legal-document ul, .legal-document ol, .rg-text ul, .rg-text ol { margin: 0 0 18px; padding-left: 22px; }
.legal-document ul, .rg-text ul { list-style: disc; }
.legal-document ol, .rg-text ol { list-style: decimal; }
.legal-document li, .rg-text li { margin: 0 0 8px; padding-left: 4px; }
.legal-document li::marker, .rg-text li::marker { color: var(--accent); }
.legal-document strong, .rg-text strong { font-weight: 600; color: var(--ink); }
.legal-document table, .rg-text table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 15px; }
.legal-document th, .legal-document td, .rg-text th, .rg-text td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-document thead th, .rg-text thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* AVV Anlage 2: helle Tabelle der Unterauftragsverarbeiter, am Handy je Anbieter eine Karte. */
.avv-ziffer { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.avv-tabelle-wrap { margin: 0 0 20px; border: 1px solid var(--line-mid); border-radius: 12px; background: var(--paper); overflow: hidden; }
.legal-document .avv-tabelle { margin: 0; table-layout: fixed; font-size: 14px; line-height: 1.55; hyphens: auto; overflow-wrap: break-word; }
.avv-tabelle col:nth-child(1) { width: 23%; } .avv-tabelle col:nth-child(2), .avv-tabelle col:nth-child(3) { width: 22%; } .avv-tabelle col:nth-child(4) { width: 13%; } .avv-tabelle col:nth-child(5) { width: 20%; }
/* Lange Inhaltsverzeichnisse (AVV mit Anlagen) bleiben in der klebenden Leiste erreichbar. */
@media (min-width: 901px) { .legal-sidebar { max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
.avv-tabelle thead th { background: var(--nebel); }
.avv-tabelle tbody tr:last-child > * { border-bottom: 0; }
.avv-tabelle tbody th { font-weight: 400; }
.avv-tabelle tbody th strong { display: block; }
.avv-anschrift { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) {
  .avv-tabelle thead { display: none; }
  .avv-tabelle, .avv-tabelle tbody, .avv-tabelle tr, .avv-tabelle th, .avv-tabelle td { display: block; width: 100%; }
  .avv-tabelle tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .avv-tabelle tbody tr:last-child { border-bottom: 0; }
  .legal-document .avv-tabelle th, .legal-document .avv-tabelle td { padding: 0; border: 0; }
  .avv-tabelle tbody th { margin-bottom: 10px; }
  .avv-tabelle td { margin-top: 8px; }
  .avv-tabelle td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ink-4); }
}
.legal-document .back, .u-zurueck { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; font-size: 15px; font-weight: 600; color: var(--accent); }
.legal-document .back:hover, .u-zurueck:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 12. Ratgeber-Artikel ----------------------------------------- */
.rg-lesezeit { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.rg-toc-knopf { align-self: flex-start; }
.rg-text ul.rg-hilft, .rg-text ol.rg-checkliste, .rg-text ul.rg-zahlen { list-style: none; padding: 0; }
.rg-text ul.rg-hilft { padding: 20px 22px 10px; border: 1px solid var(--tint); border-radius: var(--r-karte); background: var(--tint-weak); }
.rg-hilft li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.rg-hilft li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--f-telefonie-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.rg-checkliste li { position: relative; margin: 0 0 8px; padding: 14px 16px 14px 50px; border: 1px solid var(--line-mid); border-radius: 12px; background: var(--paper); }
.rg-checkliste li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border: 1.5px solid var(--line-stark); border-radius: 6px; background: var(--paper); }
.rg-text ul.rg-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-zahlen li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 20px 22px; border: 1px solid #F5C9A8; border-radius: var(--r-karte); background: #FFF8F3; }
.rg-zahlen strong { font-family: Outfit, sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; color: #C2410C; }
.rg-zahlen span { font-size: 14.5px; line-height: 1.5; }
.rg-karten-titel { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.rg-antworten { display: grid; gap: 12px; margin-bottom: 18px; }
.rg-antwort { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 18px 20px; border: 1px solid var(--u-rand); border-radius: 16px; background: var(--paper); }
.rg-antwort h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: 17px; }
.rg-antwort p { grid-column: 1; margin: 0; font-size: 15px; line-height: 1.55; }
.rg-urteil { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: var(--r-pille); font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--u-grund); color: var(--u-ton); }
.rg-streng { --u-rand: #F5C9A8; --u-grund: #FDEEE3; --u-ton: #C2410C; }
.rg-mild { --u-rand: #B7DCC4; --u-grund: var(--f-telefonie-bg); --u-ton: var(--f-telefonie); }

/* ---------- 13. Preise und Schluss --------------------------------------- */
.u-preise .pr-schalter { margin-bottom: 32px; }
.u-preise-unten { display: flex; justify-content: center; margin-top: 32px; }

/* Schluss: Aufbau wie .schluss der Startseite; ohne Bild endet die Sektion
   mit Luft nach unten. */
.schluss.u-ohne-bild { padding-bottom: var(--sektion); }
.u-schluss-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- 13b. Formulare und Formular-Buehne ------------------------- */
/* Felder 48px, 10px Rundung, Beschriftung darueber, Fehler darunter. */
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .fieldset-label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-knopf);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.field textarea { height: auto; min-height: 168px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A94A6; }
.field input:not([type="checkbox"]):hover, .field textarea:hover { border-color: var(--line-stark); }
.field input:not([type="checkbox"]):focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.field input:not([type="checkbox"]):not([type="radio"])[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B4231F; }
.field input:not([type="checkbox"]):not([type="radio"])[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 31, .12); }
.field .error { display: none; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: #B4231F; }
.field.has-error .error { display: block; }
.field label.consent, .consent { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-knopf); font-size: 14.5px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.good { background: #EAF6EE; color: #1E5B33; }
.form-status.bad { background: #FBEDEC; color: #8E1C18; }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.form-note svg { flex: none; width: 15px; height: 15px; margin-top: 3px; opacity: .8; }
.btn[data-loading="true"] { opacity: .75; cursor: progress; }
.spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: d-dreh .8s linear infinite; }
@keyframes d-dreh { to { transform: rotate(360deg); } }
/* Formular als Karte auf heller Buehne (Support, Zugang). */
.d-buehne { padding: 56px; background: radial-gradient(ellipse 60% 70% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), var(--tint-weak); }
.d-karte { padding: 36px 40px 32px; border: 1px solid var(--rahmen); border-radius: var(--r-karte); background: var(--paper); box-shadow: 0 1px 2px rgba(23, 16, 43, .05), 0 30px 60px -40px rgba(23, 16, 43, .45); }
.d-karte-kopf { margin-bottom: 28px; }
.d-karte-kopf h2 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.03em; }
.d-karte-kopf p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---------- 14. Handy und schmale Fenster ------------------------------- */
@media (max-width: 1100px) {
  .u-buehne { padding: 56px 56px 64px; }
  .u-hero--bild .u-buehne { padding: 56px 0 0 56px; }
  .u-hero--bild .u-raster { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 48px; }
  .u-medien .uk { width: 320px; left: -40px; }
  .u-zwei { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; }
  .u-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .u-schritt:nth-child(2n)::after { display: none; }
  .legal-layout, .rg-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .d-buehne { padding: 40px; }
}
@media (max-width: 900px) {
  .u-hero--bild .u-raster { grid-template-columns: 1fr; }
  .u-hero--bild .u-buehne { padding: 48px 0 0 40px; }
  .u-hero--bild .u-hero-text { padding: 0 40px 40px 0; }
  .u-medien { min-height: 380px; }
  .u-fenster { top: 0; width: 760px; }
  .u-medien .uk { left: 0; bottom: 32px; }
  .u-zwei { grid-template-columns: 1fr; gap: 28px; }
  .u-zwei-kopf { position: static; }
  .u-kat-raster, .u-kat-raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-kat-raster--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .u-fakten--zwei { grid-template-columns: 1fr; }
  .legal-layout, .rg-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-sidebar, .rg-seite-leiste { position: static; }
  .legal-toc { padding: 16px 18px; border: 1px solid var(--line-mid); border-radius: 16px; background: var(--paper); }
  .legal-toc summary { margin: 0; cursor: pointer; }
  .legal-toc[open] summary { margin-bottom: 12px; }
  .legal-toc summary span { display: inline; font-size: 14px; letter-spacing: 0; transition: transform var(--t-2) var(--ease); }
  .legal-toc[open] summary span { transform: rotate(90deg); }
  .legal-help { display: none; }
  .rg-toc-knopf { display: none; }
}
@media (max-width: 620px) {
  .u-hero { padding-top: 12px; }
  .u-buehne { padding: 32px 20px 36px; }
  .u-hero .breadcrumb { margin-bottom: 24px; font-size: 13px; }
  .u-hero h1, .u-hero--bild h1 { font-size: clamp(34px, 9.4vw, 40px); }
  .u-hero .u-lead { margin-top: 16px; font-size: 17.5px; }
  .u-bereich { margin-bottom: 18px; font-size: 14px; }
  .u-kachel { width: 36px; height: 36px; border-radius: 11px; }
  .u-kachel svg { width: 18px; height: 18px; }
  .u-knoepfe { flex-direction: column; margin-top: 26px; }
  .u-knoepfe .btn { width: 100%; }
  .u-ringe { background:
    radial-gradient(circle 320px at 0% 112%, transparent 319px, color-mix(in srgb, var(--u-ring) 26%, transparent) 320px, transparent 321.5px),
    radial-gradient(circle 320px at 40% 120%, transparent 319px, color-mix(in srgb, var(--u-ring) 18%, transparent) 320px, transparent 321.5px); }
  .u-hero--bild .u-buehne { padding: 32px 0 0 20px; }
  .u-hero--bild .u-hero-text { padding: 0 20px 28px 0; }
  .u-medien { min-height: 360px; }
  .u-fenster { right: 20px; width: auto; border-radius: 14px 14px 0 0; }
  .u-fenster img { border-radius: 14px; }
  .u-medien .uk { left: 0; bottom: 20px; width: min(320px, calc(100% - 20px)); }
  .u-kopf h2, .u-zwei-kopf h2 { font-size: clamp(30px, 8.6vw, 36px); }
  .u-kat-raster, .u-kat-raster--2, .u-kat-raster--4 { grid-template-columns: 1fr; gap: 12px; }
  .u-kat-raster > :nth-child(n) { grid-column: auto; }
  .u-kat-kopf { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; padding: 18px 18px 18px 16px; }
  .u-kat-logo { grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; border-radius: 11px; }
  .u-kat-logo svg { width: 19px; height: 19px; }
  .u-kat h3 { font-size: 17.5px; align-self: center; }
  .u-kat p { grid-column: 2; font-size: 14.5px; }
  /* Katalog-Karten ohne Zeichen: das Raster oben rechnet mit Kachel. */
  .u-kat-kopf:not(:has(.u-kat-logo)) { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
  .u-kat-kopf:not(:has(.u-kat-logo)) h3 { align-self: flex-start; }
  .u-schritte { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .u-schritt { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 0 0 28px; }
  .u-schritt::before { grid-row: 1 / 3; margin: 0; }
  .u-schritt h3 { align-self: center; }
  .u-schritt p { grid-column: 2; margin-top: 4px; }
  .u-schritt:not(:last-child)::after, .u-schritt:nth-child(2n):not(:last-child)::after { display: block; top: 52px; bottom: 6px; left: 21px; right: auto; width: 2px; height: auto; background: color-mix(in srgb, var(--f) 22%, transparent); }
  .feature-medien.u-nur-karte { height: auto; padding: 20px 14px; }
  .u-nur-karte .uk { width: 100%; }
  /* Gebaute Karten am Handy ganz zeigen statt bei 200px abzuschneiden: die
     Medienflaeche waechst mit, das Fenster bleibt oben dahinter sichtbar. */
  .feature-medien:not(.u-nur-karte):has(> .ebene.eb-eins) { height: auto; min-height: 0; padding: 150px 12px 12px; }
  .feature-medien:not(.u-nur-karte) > .ebene.eb-eins { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-height: none; }
  .u-fakten li { font-size: 15.5px; }
  .u-tabelle-wahl { display: flex; width: 100%; margin-bottom: 12px; }
  .u-tabelle-wahl button { flex: 1; }
  .u-tabelle-rahmen { overflow: visible; }
  .u-tabelle { table-layout: auto; }
  .u-tabelle thead { display: none; }
  .u-tabelle th[scope="row"] { width: 100%; padding: 12px 8px 12px 16px; height: 56px; line-height: 1.35; }
  .u-tabelle td { padding: 0 16px 0 8px; text-align: right; white-space: nowrap; }
  .u-tabelle .u-hervor { background: none; }
  .u-tabelle .u-gruppe th { padding-left: 16px; }
  [data-paket="1"] .u-tabelle td:not(:nth-child(2)),
  [data-paket="2"] .u-tabelle td:not(:nth-child(3)),
  [data-paket="3"] .u-tabelle td:not(:nth-child(4)) { display: none; }
  .u-lesen { padding-top: 32px; }
  .legal-tabs { height: auto; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-bottom: 28px; }
  .legal-tabs::-webkit-scrollbar { display: none; }
  .legal-document, .rg-text { font-size: 16px; }
  .legal-document h2, .rg-text h2 { margin-top: 44px; font-size: 24px; }
  .rg-text ul.rg-zahlen { grid-template-columns: 1fr; }
  .rg-antwort { grid-template-columns: 1fr; }
  .rg-urteil { grid-column: 1; grid-row: auto; justify-self: start; order: -1; margin-bottom: 4px; }
  .rg-antwort h3, .rg-antwort p { grid-row: auto; }
  .u-schluss-knoepfe { flex-direction: column; }
  .u-schluss-knoepfe .btn { width: 100%; }
  .d-buehne { padding: 16px 12px; border-radius: 28px; }
  .d-karte { padding: 24px 18px 22px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- 15. Reduzierte Bewegung ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .legal-tabs a, .legal-toc nav a, .rg-toc a, .legal-help, .u-klick, .u-klick-link svg { transition: none; }
}
