/* ==========================================================================
   Rechtsanwalt Kramer – Stylesheet (Neugestaltung 14.10.2026, zweite Fassung: neuer Aufbau)
   Redaktionelle Gliederung: Linien statt Kästen, große Ziffern, Kontaktleiste über dem
   Kopf, dunkler Hero mit Fristen-Leiste, Seitenleiste links, Kontaktstreifen im Fuß.
   Kräftiges Blau und frisches Grün auf Weiß. Cormorant für große Titel, Source Serif
   für Zwischenüberschriften, Source Sans für den Text.
   ========================================================================== */

:root {
  --brand:       #123F7B;   /* Blau – Hauptfarbe */
  --brand-dark:  #0D2E5C;
  --brand-deep:  #0A2347;
  --brand-rgb:   18, 63, 123;
  --brand-50:    #EAF0F9;
  --brand-100:   #CFDCF0;

  --accent:      #1FA27A;   /* Grün – Akzent (Knöpfe, Linien, Ziffern) */
  --accent-dark: #167A5C;
  --accent-rgb:  31, 162, 122;
  --accent-50:   #E8F6F1;
  --accent-100:  #C6EADD;

  --ink:    #17212F;
  --ink-2:  #3C4857;
  --ink-3:  #6A7686;
  --line:   #E1E6EE;
  --line-2: #CBD3DF;
  --soft:   #F3F6FA;
  --paper:  #FFFFFF;
  --white:  #FFFFFF;

  --danger:    #A0302B;
  --danger-50: #FBF1EF;
  --warn:      #8A5A12;
  --warn-50:   #FBF5EA;
  --ok:        #1F6B4E;
  --ok-50:     #EEF7F2;

  --radius-card: 4px;
  --radius:      4px;
  --radius-s:    3px;

  --card-border: 1px solid var(--line);
  --card-shadow: none;
  --card-shadow-hover: 0 14px 34px -14px rgba(10, 35, 71, .28);

  --font-display: "Cormorant Garamond", "Cormorant", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-serif:   "Source Serif 4", "Source Serif Pro", Charter, Cambria, Georgia, serif;
  --font-sans:    "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(60px, 7.5vw, 104px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; }
h1 { font-family: var(--font-display); font-weight: 500; color: var(--brand); }
h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.85rem, 3.2vw, 2.6rem); letter-spacing: 0; line-height: 1.12; color: var(--brand); }
h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; color: var(--brand); line-height: 1.22; }
h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; color: var(--ink); }
strong { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-100); color: var(--brand-deep); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--brand); color: #fff; padding: 10px 16px; font-weight: 600; box-shadow: 0 6px 18px rgba(10, 35, 71, .3); transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--accent); }
@media (max-width: 640px) { .eyebrow { font-size: .68rem; letter-spacing: .16em; } }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.text-center { text-align: center; }
.accent { font-style: italic; color: var(--accent-dark); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600; letter-spacing: .01em; text-transform: none; line-height: 1.2;
  color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px -14px rgba(10, 35, 71, .6); }
.btn svg { width: 17px; height: 17px; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--accent-50); color: var(--brand-dark); border-color: var(--accent-50); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn--brass { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--brass:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.btn-row--center { justify-content: center; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; font-size: .95rem; color: var(--brand); text-decoration: none;
}
.link-arrow::after { content: "→"; color: var(--accent); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

.link-line {
  display: inline-flex; gap: .4em; align-items: center;
  font-size: .95rem; font-weight: 700; color: var(--brand); text-decoration: none;
  padding-bottom: 6px; border-bottom: 2px solid var(--accent);
}
.link-line:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- Kontaktleiste über dem Kopf ---------- */
.topbar { background: var(--soft); color: var(--ink-2); font-size: .84rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 32px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a.topbar__item { color: var(--brand); font-weight: 600; text-decoration: none; }
.topbar a.topbar__item:hover { text-decoration: underline; }
.topbar__item--ort { margin-left: auto; }
@media (max-width: 980px) { .topbar { display: none; } }

/* ---------- Kopfzeile ---------- */
.ticker {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  min-height: 36px; padding: 6px 16px; text-align: center;
  background: var(--brand-deep); color: #fff; text-decoration: none;
  font-size: .88rem; font-weight: 500; letter-spacing: .01em;
}
.ticker:hover { color: #fff; background: var(--brand-dark); }
.ticker__label { flex: none; padding: 3px 9px; border-radius: 2px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticker__text .arrow { display: inline-block; margin-left: 4px; transition: transform .15s; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--brand); }
.brand__mark { width: 46px; height: 46px; flex: none; color: var(--brand); }
.brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; color: inherit; }
.brand__name { font-family: var(--font-serif); font-size: 1.34rem; font-weight: 600; letter-spacing: .01em; color: var(--brand); white-space: nowrap; }
.brand__tag { font-family: var(--font-sans); font-size: .76rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-3); white-space: nowrap; }
.brand:hover .brand__name { color: var(--brand-dark); }
.site-header .brand:focus-visible, .nav-toggle:focus-visible { outline-color: var(--accent); }
@media (max-width: 520px) { .brand__tag { display: none; } .brand__name { font-size: 1.2rem; } }
/* Hauptnavigation: ab 1200 px Leiste mit Dropdowns, darunter Hamburger-Panel */
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__link { font-weight: 700; text-decoration: none; color: var(--ink-2); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__item.is-active > .nav__link { color: var(--brand); }
.nav__sub a { display: block; text-decoration: none; color: var(--ink-2); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--brand); }
.nav__toggle { border: 0; background: transparent; cursor: pointer; color: var(--ink-3); padding: 0; }
.nav__contact { display: none; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--brand); flex: none; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1200px) {
  .nav__list { display: flex; align-items: center; gap: 0; }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { padding: 10px 2px 10px 16px; font-size: .97rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--ink); }
  .nav__item:not(.has-sub) > .nav__link { padding-right: 16px; }
  .nav__item.is-active > .nav__link { color: var(--brand); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 10px; text-decoration-thickness: 2px; }
  .nav__toggle { display: inline-grid; place-items: center; width: 22px; height: 32px; margin-right: 6px; }
  .nav__toggle::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .nav__item.is-open > .nav__toggle::before, .nav__item.has-sub:hover > .nav__toggle::before { transform: translateY(2px) rotate(-135deg); }
  .nav__sub {
    position: absolute; top: calc(100% + 20px); left: 0; z-index: 60; min-width: 300px;
    background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0; box-shadow: 0 24px 60px -24px rgba(10, 35, 71, .4);
    padding: 12px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
  .nav__sub--right { left: auto; right: 0; }
  .nav__item.has-sub:hover > .nav__sub,
  .nav__item.has-sub:focus-within > .nav__sub,
  .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__sub a { padding: 9px 12px; font-size: .94rem; border-bottom: 1px solid var(--line); }
  .nav__sub li:last-child a { border-bottom: 0; }
  .nav__sub li:first-child a { font-weight: 700; color: var(--brand); }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--soft); color: var(--brand); }
  .nav__item--cta { margin-left: 18px; }
  .nav__item--cta .btn { background: var(--brand); color: #fff; border-color: var(--brand); }
  .nav__item--cta .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
}

@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(10, 35, 71, .35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 22px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list, .nav__contact { max-width: var(--container); margin-left: auto; margin-right: auto; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: .98rem; font-weight: 700; color: var(--brand); }
  .nav__item:not(.has-sub) > .nav__link { color: var(--ink); }
  .nav__item.is-active > .nav__link, .nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }
  .nav__toggle { width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; color: var(--accent-dark); }
  .nav__toggle::before { content: "+"; display: inline-block; transition: transform .2s; }
  .nav__toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .nav__sub { display: none; width: 100%; padding: 0 0 12px 14px; columns: 2; column-gap: 32px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub li { break-inside: avoid; }
  .nav__sub a { padding: 7px 0; font-size: .95rem; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { text-decoration: underline; }
  .nav__item--cta { border-bottom: 0; padding-top: 18px; }
  .nav__item--cta .btn { width: 100%; }
  .nav__contact { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 16px; margin-bottom: 0; font-size: .92rem; color: var(--ink-3); }
  .nav__contact a { font-weight: 600; text-decoration: none; }
}
@media (max-width: 640px) { .nav__sub { columns: 1; } }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--tight { padding: clamp(36px, 4.5vw, 56px) 0; }
.section--alt, .section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--soft + .section--soft { border-top: 0; }
.section--tint { background: linear-gradient(180deg, var(--soft), var(--paper)); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--brand); color: rgba(255, 255, 255, .88); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .lead { color: rgba(255, 255, 255, .86); }
.section--dark a:not(.btn) { color: #fff; }
.section--deko { overflow: hidden; }
.section--deko::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  left: -280px; top: 8%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), 0));
}
.section--deko-r::before { left: auto; right: -280px; }
.section > .container { position: relative; }

.section-head { margin: 0 0 clamp(32px, 4.5vw, 56px); }
.section-head h2 { margin-bottom: .4em; text-wrap: balance; }
.section-head > p:last-child { margin-bottom: 0; }
/* „Zentrierte“ Köpfe der Vorlage laufen linksbündig mit kurzer Linie – einheitlich mit den geteilten Köpfen */
.section-head--center { text-align: left; }
.section-head--center h2, .section-head--center .lead, .section-head--center > p:not(.eyebrow) { max-width: 820px; margin-left: 0; margin-right: 0; }
.section-head--center::after { content: ""; display: block; width: 48px; height: 2px; margin: 22px 0 0; background: var(--accent); }
.text-center .section-head--center, .section-head--center.text-center { text-align: left; }
.section-head--plain::after { display: none; }
/* Zweispaltiger Sektionskopf: Vorzeile und Titel links, Einleitung rechts, Linie darunter */
.section-head--split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px 64px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .lead { margin: 0; padding-bottom: 4px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Grids ---------- */
.layout > *, .split > *, .grid > *, .area-grid > *, .band-dark-grid > *, .profile > *, .team-grid > * { min-width: 0; }
.prose, .card, .scenario, .faq__body { overflow-wrap: break-word; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 36px) clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Karten: randlos, Linie oben, Ziffer in Messing ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0;
  box-shadow: none;
  padding: 24px 0 0;
  transition: border-color .25s var(--ease);
}
.card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }
.card__foot { margin-top: auto; padding-top: 18px; }
.card > .btn, .card > .link-arrow { margin-top: auto; align-self: flex-start; }
.card--link:hover { border-top-color: var(--accent); }
.card--flat { box-shadow: none; }
.card--tint { background: var(--brand-50); border: 1px solid var(--brand-100); border-top: 3px solid var(--accent); padding: 24px 22px; }
.card--dark { background: var(--brand); border: 0; color: rgba(255, 255, 255, .88); padding: 28px 26px; }
.card--dark h3, .card--dark strong { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .85); }
.card--dark .eyebrow { color: var(--accent); }
.card--dark .link-arrow { color: #fff; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; color: var(--accent-dark); }
.card__icon svg { width: 28px; height: 28px; }
.card__num, .card .card__num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--accent); margin: 0 0 14px; }
.card__meta { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 10px; }
.card .btn { align-self: flex-start; }
.aside-card .card--tint, .layout__aside .card--tint { padding: 22px 20px; }

/* Bereichs-Karte (Startseite, alt) */
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .area-grid { grid-template-columns: 1fr; } }
.area-links { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 0; }
.area-links li { border-top: 1px solid var(--line); }
.area-links a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.area-links a::after { content: "→"; color: var(--accent); }
.area-links a:hover { color: var(--brand); }

/* ---------- Badges & Tags ---------- */
.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 2px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.badge--dark { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
.badge--petrol { background: var(--brand-50); color: var(--brand); }
.card .badge { align-self: flex-start; margin-bottom: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tags li, .tag { display: inline-block; padding: 6px 13px; border-radius: 2px; font-size: .84rem; font-weight: 600; color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); }
.tags--center { justify-content: flex-start; }
.tags--small li { padding: 3px 9px; font-size: .74rem; letter-spacing: .04em; }
.section--dark .tags li { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }

/* ---------- Hero (Startseite): dunkles Band mit Siegel und Fristen-Leiste ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero--dark { background: var(--brand); color: rgba(255, 255, 255, .86); border-bottom: 0; }
.hero--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 80% 40%, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), 0) 70%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 18px); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(24px, 4vw, 72px); padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__text { text-align: left; }
.hero--dark .eyebrow { color: var(--accent); }
.hero__title { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: 0; margin: 0 0 24px; color: var(--brand); }
.hero--dark .hero__title { color: #fff; }
.hero__title .l { display: block; }
.hero__title .w + .w { margin-left: .08em; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { max-width: 560px; margin: 0 0 34px; color: var(--ink-2); font-size: 1.1rem; line-height: 1.65; }
.hero--dark .hero__sub { color: rgba(255, 255, 255, .82); }
.hero--dark .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero--dark .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.hero--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero--dark .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.hero__art img { width: 100%; max-width: 440px; height: auto; margin: 0 0 0 auto; }
.hero__facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.hero__facts > div { padding: 26px 28px 30px 0; min-width: 0; }
.hero__facts > div + div { padding-left: 28px; border-left: 1px solid var(--line-2); }
.hero__facts dt { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; line-height: 1; color: var(--brand); margin: 0 0 10px; }
.hero__facts dd { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.hero__facts dd span { display: block; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); }
.hero--dark .hero__facts { border-top-color: rgba(255, 255, 255, .18); }
.hero--dark .hero__facts > div + div { border-left-color: rgba(255, 255, 255, .18); }
.hero--dark .hero__facts dt { color: var(--accent); }
.hero--dark .hero__facts dd { color: rgba(255, 255, 255, .8); }
.hero--dark .hero__facts dd span { color: rgba(255, 255, 255, .55); }
/* Kanzlei-Infokasten im Hero */
.hero__panel { background: var(--brand); color: rgba(255, 255, 255, .86); padding: 30px 30px 30px; border-top: 4px solid var(--accent); }
.hero__panel .eyebrow { color: var(--accent); margin-bottom: 10px; }
.hero__panel-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: #fff; margin: 0 0 4px; }
.hero__panel-sub { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 0 0 18px; }
.hero__panel-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.hero__panel-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); overflow-wrap: anywhere; }
.hero__panel-list li span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.hero__panel-list a { color: #fff; text-decoration: none; font-weight: 600; }
.hero__panel-list a:hover { color: var(--accent); }
.hero__panel .btn { width: 100%; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__art { order: -1; max-width: 200px; margin: 0 auto; }
  .hero__panel { padding: 24px 22px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div { padding: 18px 0; }
  .hero__facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}

/* ---------- Seitenkopf (Unterseiten): zentriert auf heller Fläche ---------- */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: calc(920px + 2 * var(--gutter)); text-align: center; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.01em; line-height: 1.06; color: var(--brand); margin: 0 auto; max-width: 20ch; text-wrap: balance; }
.page-hero__title em { font-style: italic; color: var(--accent-dark); font-weight: 500; }
.page-hero__title::after { content: ""; display: block; width: 48px; height: 2px; margin: 22px auto 0; background: var(--accent); }
.page-hero .eyebrow { justify-content: center; margin-bottom: 16px; }
.page-hero .eyebrow::after { content: ""; flex: none; width: 22px; height: 1px; background: var(--accent); }
.page-hero__lead { max-width: 68ch; margin: 22px auto 0; font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; align-items: center; margin-top: 24px; }
.page-hero .btn--ghost { background: transparent; }
.page-hero .link-line { color: var(--brand); border-color: var(--accent); }
.page-hero .link-line:hover { color: var(--accent-dark); }
.page-hero__art { display: none; }
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.breadcrumb li { display: flex; gap: 6px; min-width: 0; }
.breadcrumb li > * , .breadcrumb li { overflow-wrap: anywhere; }
body { overflow-x: clip; }
.breadcrumb li + li::before { content: "/"; color: var(--accent); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; font-size: .86rem; color: var(--ink-3); margin: 18px 0 0; }
.article-meta a { color: var(--brand); }
.page-hero .badge { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.page-hero--objekt .page-hero__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 30ch; }
@media (max-width: 640px) { .page-hero__lead, .page-hero__title { overflow-wrap: anywhere; } .page-hero__inner { text-align: left; } .page-hero .eyebrow { justify-content: flex-start; } .page-hero__title { margin: 0; } .page-hero__title::after { margin-left: 0; } .page-hero__lead { margin-left: 0; } .page-hero__actions { justify-content: flex-start; } .breadcrumb ol { justify-content: flex-start; } .article-meta { justify-content: flex-start; } }

/* ---------- Inhalt: Leiste (Kontakt, Themen, Hinweis) über dem Text, Text in breiter Spalte ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4.5vw, 56px); align-items: start; }
.layout__aside { position: static; order: -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, .85fr); gap: clamp(16px, 2.2vw, 32px); align-items: stretch; }
.layout__main { max-width: 880px; }
@media (max-width: 1000px) { .layout__aside { grid-template-columns: 1fr; order: 1; } }
.aside-card { background: transparent; border: 0; border-top: 2px solid var(--brand); border-radius: 0; box-shadow: none; padding: 18px 0 0; min-width: 0; }
.aside-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.aside-card p { font-size: .93rem; color: var(--ink-2); }
.aside-card .eyebrow { margin-bottom: 8px; }
.aside-card .btn { width: 100%; }
.aside-card--dark { background: var(--brand); border-top: 3px solid var(--accent); color: rgba(255, 255, 255, .86); padding: 22px 22px 24px; }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: rgba(255, 255, 255, .82); }
.aside-card--dark .eyebrow { color: var(--accent); }
.aside-card--dark .btn { background: var(--accent); border-color: var(--accent); }
.aside-card--dark .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.aside-contact { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-2); }
.aside-card--dark .aside-contact { border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .82); }
.aside-contact a { font-weight: 600; text-decoration: none; }
.aside-card--dark .aside-contact a { color: #fff; }
/* Themenliste als Chips */
.aside-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aside-nav li + li { border-top: 0; }
.aside-nav a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 2px; font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.aside-nav a::after { content: none; }
.aside-nav a:hover { border-color: var(--brand); color: var(--brand); }
.aside-nav a[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.aside-nav a[aria-current="page"]::after { content: none; }
/* Dritte Karte (Hinweis/Selbsttest) als farbiger Kasten */
.layout__aside .card--tint { border-top: 3px solid var(--accent); }

/* ---------- Fließtext ---------- */
.prose { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.8em 0 .55em; padding-top: .6em; border-top: 1px solid var(--line-2); }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.28rem; margin: 1.7em 0 .5em; }
.prose h4 { margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.05em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.3em; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: .1em; top: .7em; width: 6px; height: 6px; background: var(--accent); }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .45em; padding-left: .25em; }
.prose ol li::marker { color: var(--accent-dark); font-weight: 700; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.45rem; font-style: italic; color: var(--brand); line-height: 1.4; }
.prose > .intro { font-size: 1.16rem; color: var(--ink); }
.prose dl { margin: 0 0 1.2em; }
.prose dt { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; color: var(--brand); margin-top: 1.1em; }
.prose dt:first-child { margin-top: 0; }
.prose dd { margin: .2em 0 0; padding-bottom: .9em; border-bottom: 1px solid var(--line); }
.prose .toc { margin-bottom: 2em; }
.prose .card, .prose .callout, .prose .fact-grid, .prose .table-wrap, .prose .checklist, .prose .steps, .prose .timeline, .prose .faq, .prose .grid { margin-top: 1.4em; margin-bottom: 1.6em; }

/* Checkliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 10px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }
.checklist li, .prose .checklist li { position: relative; padding: 0 0 0 32px; margin: 0; }
.checklist li::before, .prose .checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 2px;
  background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167A5C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--accent-100);
}
.checklist--warn li::before, .prose .checklist--warn li::before {
  background: var(--danger-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0302B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: #F0D8D4;
}
.card--dark .checklist li::before, .section--dark .checklist li::before, .aside-card--dark .checklist li::before {
  background: rgba(255, 255, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: rgba(255, 255, 255, .3);
}

/* Hinweisboxen */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: 0; background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 3px solid var(--brand); color: var(--ink-2); }
.callout::before { content: "i"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-family: var(--font-serif); font-weight: 700; font-style: italic; font-size: .95rem; background: var(--brand); color: #fff; }
.callout > div > :last-child, .callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: 3px; color: var(--brand); }
.callout--warn { background: var(--warn-50); border-color: #F0E1C4; border-left-color: var(--warn); }
.callout--warn::before { content: "!"; font-style: normal; background: var(--warn); }
.callout--warn strong:first-child { color: var(--warn); }
.callout--danger { background: var(--danger-50); border-color: #F0D8D4; border-left-color: var(--danger); }
.callout--danger::before { content: "!"; font-style: normal; background: var(--danger); }
.callout--danger strong:first-child { color: var(--danger); }

/* Kennzahlen / Fristen */
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fact-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { background: transparent; border: 0; border-left: 2px solid var(--accent); border-radius: 0; box-shadow: none; padding: 4px 0 4px 22px; text-align: left; }
.fact__value { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 500; line-height: 1; color: var(--brand); margin-bottom: 10px; letter-spacing: -.01em; }
.fact__label { display: block; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.fact__src { display: block; margin-top: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
@media (max-width: 860px) { .fact-grid, .fact-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fact-grid, .fact-grid--4, .fact-grid--2 { grid-template-columns: 1fr; } }

/* Ablauf / Schritte: Ziffern auf einer durchgehenden Linie */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-2); }
.step { position: relative; counter-increment: step; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 66px 0 0; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--accent); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--accent-dark); }
.section--soft .step::before { background: var(--soft); }
.step h3 { font-size: 1.22rem; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.steps--numbered .step::before { content: counter(step, decimal-leading-zero); }
@media (max-width: 1199.98px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 600px) { .steps, .steps--3 { grid-template-columns: 1fr; } }
.prose .steps { grid-template-columns: 1fr 1fr; }
.prose .steps::before { display: none; }
@media (max-width: 600px) { .prose .steps { grid-template-columns: 1fr; } }

/* Zeitstrahl */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.timeline li, .prose .timeline li { position: relative; padding: 0 0 26px 40px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before, .prose .timeline li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 2px; }
.timeline h3, .timeline h4 { margin: 0 0 .3em; font-family: var(--font-serif); font-size: 1.12rem; color: var(--brand); }
.timeline p { margin: 0; font-size: .97rem; }

/* Szenarien (Aus der Praxis): Zeilen mit Titel links, Situation und Ansatz nebeneinander */
.grid:has(> .scenario) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.scenario { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 14px clamp(24px, 4vw, 56px); padding: 26px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; box-shadow: none; }
.scenario h3 { font-size: 1.15rem; margin: 0; }
.scenario dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px clamp(20px, 3vw, 40px); }
.scenario dt { display: block; grid-row: 1; font-weight: 700; color: var(--accent-dark); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.scenario dd { grid-row: 2; margin: 0; font-size: .95rem; color: var(--ink-2); }
.scenario dd + dt { padding-top: 0; border-top: 0; }
@media (max-width: 860px) { .scenario { grid-template-columns: 1fr; } .scenario dl { grid-template-columns: 1fr; } .scenario dt { grid-row: auto; } .scenario dd { grid-row: auto; } .scenario dd + dt { margin-top: 10px; } }
.disclaimer { margin-top: 22px; font-size: .88rem; color: var(--ink-3); font-style: italic; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 0; background: #fff; }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 540px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--ink); }

/* FAQ: Liste mit Trennlinien */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.faq details[open] summary { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--accent-100); border-radius: 50%; font-family: var(--font-sans); font-size: 1.25rem; font-weight: 400; line-height: 1; color: var(--accent-dark); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-50); }
.faq summary:hover { color: var(--brand); }
.faq__body { padding: 0 60px 22px 0; color: var(--ink-2); font-size: .97rem; }
.faq__body > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .faq__body { padding-right: 0; } }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.audience__item { display: flex; flex-direction: column; background: transparent; border: 0; border-left: 2px solid var(--accent); border-radius: 0; box-shadow: none; padding: 4px 0 4px 22px; }
.audience__item > svg { width: 30px; height: 30px; color: var(--accent-dark); margin-bottom: 14px; }
.audience__item h3 { font-size: 1.15rem; }
.audience__item p { font-size: .94rem; color: var(--ink-2); }
.audience__item .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audience { grid-template-columns: 1fr; } }

/* Zielgruppen als Liste (Startseite) */
.audience-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.audience-list li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.audience-list li > svg { width: 28px; height: 28px; color: var(--accent-dark); margin-top: 2px; }
.audience-list h3 { font-size: 1.2rem; margin-bottom: .35em; }
.audience-list p { font-size: .95rem; color: var(--ink-2); margin-bottom: .6em; }

/* Register: nummerierte Einträge mit Linien (Startseite, Hubs) */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; }
.ledger--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.ledger__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line-2); }
.ledger__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: .9; color: var(--accent); }
.ledger__body h3 { font-size: 1.35rem; margin-bottom: .4em; }
.ledger__body h3 a { color: var(--brand); text-decoration: none; }
.ledger__body h3 a::after { content: " →"; color: var(--accent); font-family: var(--font-sans); font-size: .9em; }
.ledger__body h3 a:hover { color: var(--accent-dark); }
.ledger__body p { font-size: .96rem; color: var(--ink-2); margin: 0; }
.ledger--kompakt .ledger__item { padding: 14px 0; grid-template-columns: 48px 1fr; align-items: baseline; }
.ledger--kompakt .ledger__num { font-size: 1.2rem; }
.ledger--kompakt .ledger__body h3 { font-size: 1.05rem; margin: 0; }
@media (max-width: 860px) { .ledger--2 { grid-template-columns: 1fr; } .ledger__item { grid-template-columns: 52px 1fr; padding: 22px 0; } .ledger--kompakt .ledger__item { padding: 12px 0; } }

/* Drei Situationen (Startseite) */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.story { display: flex; flex-direction: column; border-top: 2px solid var(--line-2); padding-top: 22px; }
.story__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.story h3 { font-size: 1.3rem; }
.story p { font-size: .96rem; color: var(--ink-2); margin-bottom: 1.2em; }
.story .link-arrow { margin-top: auto; }
.stories__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line-2); }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; gap: 28px; } }

/* Profil / Team */
.profile { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 360px; } }
.profile__photo { position: relative; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.profile__photo::before { content: ""; position: absolute; left: -16px; top: 16px; right: 16px; bottom: -16px; border: 1px solid var(--accent); pointer-events: none; }
.profile__photo .team-card__photo, .portrait { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #EEF2F7, #D6DEE9); overflow: hidden; }
.profile__photo .team-card__photo img, .portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.portrait__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-3); }
.portrait__placeholder span { display: block; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: rgba(var(--brand-rgb), .3); }
.portrait__placeholder small { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.profile__name { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; color: var(--brand); margin: 0 0 2px; line-height: 1.1; }
.profile__role { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 18px; }
.quote { margin: 26px 0; padding-left: 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--brand); line-height: 1.35; }

/* Team (Fotos in Schwarz-Weiß, Name, Funktion, E-Mail) */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-grid--2 { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.team-card__photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #EEF2F7, #D6DEE9); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .4s var(--ease), transform .6s var(--ease); }
.team-card:hover .team-card__photo img { filter: grayscale(.2); transform: scale(1.02); }
.team-card__photo--empty { display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(var(--brand-rgb), .4); }
.team-card__photo--empty svg { width: 56px; height: 56px; }
.team-card__photo--empty span { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.team-card__body { padding: 16px 0 0; border-top: 2px solid var(--accent); margin-top: 14px; }
.team-card__name { font-size: 1.2rem; margin: 0 0 4px; }
.team-card__role { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.5; margin: 0 0 10px; overflow-wrap: anywhere; }
.team-card__mail { font-size: .88rem; font-weight: 600; text-decoration: none; word-break: break-word; }
.team-card__mail:hover { text-decoration: underline; }

/* Ratgeber-Karten (Hubs) */
.article-card { padding: 22px 0 0; overflow: visible; }
.article-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 10px; background: transparent; border-bottom: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.article-card__top:empty { display: none; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 0; }
.article-card h3 { font-size: 1.2rem; }
.article-card h3 a { color: var(--brand); text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.article-card .link-arrow { margin-top: auto; }

/* Hauptartikel + Liste (Startseite) */
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.feature { display: flex; flex-direction: column; padding-top: 24px; border-top: 3px solid var(--brand); }
.feature h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.1; margin-bottom: .5em; }
.feature h3 a, .post h3 a { color: var(--brand); text-decoration: none; }
.feature h3 a:hover, .post h3 a:hover { color: var(--accent-dark); }
.feature p { color: var(--ink-2); font-size: 1.02rem; }
.post__meta { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 10px; }
.feature-list { display: grid; }
.post { padding: 22px 0; border-top: 1px solid var(--line-2); }
.post:last-child { border-bottom: 1px solid var(--line-2); }
.post h3 { font-size: 1.15rem; margin-bottom: .4em; }
.post p { font-size: .94rem; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Werkzeugleiste (Startseite) */
.toolbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.toolbar__item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 26px 28px 26px 0; text-decoration: none; color: inherit; }
.toolbar__item + .toolbar__item { padding-left: 28px; border-left: 1px solid var(--line-2); }
.toolbar__item > svg { width: 28px; height: 28px; color: var(--accent-dark); margin-top: 2px; }
.toolbar__item h3 { font-size: 1.15rem; margin-bottom: .3em; transition: color .2s; }
.toolbar__item p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.toolbar__item:hover h3 { color: var(--accent-dark); }
@media (max-width: 900px) { .toolbar { grid-template-columns: 1fr; } .toolbar__item { padding: 20px 0; } .toolbar__item + .toolbar__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); } }

/* FAQ zweispaltig (Startseite) */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-split__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-split__head h2 { margin-bottom: .5em; }
.faq-split__head .lead { margin-bottom: 1.4em; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } .faq-split__head { position: static; } }

/* Kontaktband (Startseite) */
.contact-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
.contact-grid > div { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); min-width: 0; }
.contact-grid dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.contact-grid dd { margin: 0; font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.5; overflow-wrap: anywhere; }
.contact-grid dd a { color: #fff; text-decoration: none; }
.contact-grid dd a:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* Inhaltsverzeichnis */
.toc { background: transparent; border-radius: 0; padding: 0 0 0 20px; border: 0; border-left: 2px solid var(--accent); }
.toc h3, .toc .toc__title { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 5px; }
.toc a { font-size: .95rem; font-weight: 600; text-decoration: none; }
.toc a:hover, .toc a.is-current { text-decoration: underline; }

/* CTA-Band: dunkel, mit Messing-Kante */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 0; background: var(--brand); color: rgba(255, 255, 255, .86); border-left: 6px solid var(--accent); }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .35em; color: #fff; }
.cta-band p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, .82); }
.cta-band .eyebrow { color: var(--accent); }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-band .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cta-band .btn--ghost, .cta-band .btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-band .btn--ghost:hover, .cta-band .btn--outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band a:not(.btn) { color: #fff; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Signal-Liste */
.signal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.signal-list li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .97rem; }
.signal-list li > span { font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--accent-dark); min-width: 24px; }
.band-dark-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .band-dark-grid { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .84rem; color: var(--ink-3); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7686' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form__note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form__status { display: none; padding: 13px 16px; font-weight: 600; }
.form__status.is-visible { display: block; }
.form__status--ok { background: var(--ok-50); color: var(--ok); }
.form__status--err { background: var(--danger-50); color: var(--danger); }
.form__falle { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
[data-kontakt-form] .form__status a { color: inherit; white-space: nowrap; }
[data-kontakt-form] .btn:disabled { opacity: .55; cursor: not-allowed; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.contact-list svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.contact-list a, .contact-list span { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.map-placeholder { aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px, var(--soft); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-3); }
.map-placeholder strong { display: block; color: var(--brand); font-family: var(--font-serif); font-size: 1.15rem; }

/* ---------- Werkzeuge (Krisen-Check, Fristenrechner) ---------- */
.tool { background: #fff; border: 1px solid var(--line-2); border-radius: 0; box-shadow: none; overflow: hidden; }
.tool__head { padding: 26px clamp(20px, 3vw, 32px); background: var(--brand); color: rgba(255, 255, 255, .9); border-bottom: 3px solid var(--accent); }
.tool__head h2, .tool__head h3 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.tool__head p { margin: 0; font-size: .96rem; }
.tool__head .eyebrow { color: var(--accent); margin-bottom: 8px; }
.tool__body { padding: clamp(20px, 3vw, 32px); }
.tool__progress { height: 4px; background: rgba(255, 255, 255, .2); margin-top: 16px; overflow: hidden; }
.tool__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.q { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px 22px; align-items: center; min-width: 0; }
.q:first-child { padding-top: 0; }
.q legend { float: left; width: 100%; padding: 0; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.q legend small { display: block; font-weight: 400; color: var(--ink-3); font-size: .87rem; margin-top: 3px; }
.q__opts { display: inline-flex; border: 1px solid rgba(var(--brand-rgb), .4); overflow: hidden; }
.q__opts label { position: relative; cursor: pointer; }
.q__opts label + label { border-left: 1px solid rgba(var(--brand-rgb), .4); }
.q__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.q__opts span { display: inline-block; padding: 7px 15px; font-size: .88rem; font-weight: 600; color: var(--brand); transition: background .2s, color .2s; }
.q__opts input:checked + span { background: var(--brand); color: #fff; }
.q__opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .q { grid-template-columns: 1fr; } .q__opts { justify-self: start; } }
.tool__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.result { display: none; margin-top: 24px; padding: 22px 24px; border: 1px solid var(--line); }
.result.is-visible { display: block; animation: fadeUp .35s var(--ease); }
.result > :last-child { margin-bottom: 0; }
.result--low { background: var(--ok-50); border-color: #CFE6DA; }
.result--low h3 { color: var(--ok); }
.result--mid { background: var(--warn-50); border-color: #F0E1C4; }
.result--mid h3 { color: var(--warn); }
.result--high { background: var(--danger-50); border-color: #F0D8D4; }
.result--high h3 { color: var(--danger); }
.result__score { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
@media (max-width: 640px) { .calc { grid-template-columns: 1fr; } }
.calc__out { display: none; margin-top: 22px; padding: 22px 24px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.calc__out.is-visible { display: block; animation: fadeUp .35s var(--ease); }
.calc__date { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 500; color: var(--brand); line-height: 1.15; margin: 4px 0 8px; }
.calc__out.is-urgent { background: var(--danger-50); border-color: #F0D8D4; }
.calc__out.is-urgent .calc__date { color: var(--danger); }

/* ---------- Direkter Draht (schwebende Karte) ---------- */
.direct {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; width: 300px;
  background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--accent); box-shadow: 0 24px 60px -20px rgba(10, 35, 71, .45);
  padding: 20px 20px 18px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.direct.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.direct .eyebrow { margin-bottom: 6px; }
.direct h2 { font-size: 1.5rem; letter-spacing: 0; margin: 0 0 6px; }
.direct p { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.direct .btn { width: 100%; }
.direct .btn + .btn { margin-top: 8px; }
.direct__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink-3); }
.direct__close:hover { color: var(--brand); }
@media (max-width: 760px) {
  .direct { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top-width: 1px; }
  .direct .eyebrow, .direct h2, .direct p, .direct__close { display: none; }
  .direct .btn + .btn { margin-top: 0; }
  .site-footer { padding-bottom: 72px; }
}
@media (max-width: 1199.98px) { .nav-open .direct { opacity: 0; visibility: hidden; } }

/* ---------- Footer: Kontaktstreifen, Marke, Linkspalten ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer a:not(.btn) { color: #fff; text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer strong { color: #fff; }
.footer-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-strip__item { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 28px 24px 28px 0; min-width: 0; }
.footer-strip__item + .footer-strip__item { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.footer-strip__item > svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.footer-strip__item small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.footer-strip__item span, .footer-strip__item a { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 980px) { .footer-strip { grid-template-columns: 1fr 1fr; } .footer-strip__item:nth-child(3) { padding-left: 0; border-left: 0; } .footer-strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); } }
@media (max-width: 560px) { .footer-strip { grid-template-columns: 1fr; } .footer-strip__item { padding: 18px 0; } .footer-strip__item + .footer-strip__item { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); } }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding: clamp(44px, 6vw, 72px) 0 44px; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: var(--accent); }
.footer-brand p { margin: 20px 0 22px; max-width: 360px; }
.footer-address { font-style: normal; display: grid; gap: 4px; }
.footer-address a { font-weight: 600; }
.footer-col h2 { font-family: var(--font-sans); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 8px 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col ul + h2 { margin-top: 34px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; padding: 26px 28px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); }
.footer-cta .eyebrow { color: var(--accent); margin-bottom: 6px; }
.footer-cta p { margin: 0; }
.footer-cta .btn--light { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.footer-bottom a { font-weight: 600; }
.footer-disclaimer { width: 100%; margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .62); }
.footer-credit { width: 100%; margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.footer-credit a { font-weight: 400; color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Startseite v3: Vertrauenspunkte, Zielgruppen-Einstieg, Situationen, Wissen, FAQ zweispaltig, Formular ---------- */
.hero__inner--kurz { grid-template-columns: 1.15fr .85fr; padding-top: clamp(40px, 5.5vw, 72px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.hero__points li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.hero__points li > svg { width: 24px; height: 24px; color: var(--accent-dark); margin-top: 2px; }
.hero__points strong { display: block; font-size: 1rem; color: var(--brand); margin-bottom: 2px; }
@media (max-width: 860px) { .hero__inner--kurz { grid-template-columns: 1fr; } }

.section-head--dark h2 { color: #fff; }
.section-head--dark .lead { color: rgba(255, 255, 255, .82); }
.section-head--split.section-head--dark { border-bottom-color: rgba(255, 255, 255, .2); }
.section-head--dark .eyebrow { color: var(--accent); }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.entry { display: flex; flex-direction: column; padding: 28px 26px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-top: 3px solid var(--accent); color: rgba(255, 255, 255, .86); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.entry:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); color: #fff; }
.entry__num { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.entry h3 { color: #fff; font-size: 1.3rem; margin-bottom: .6em; }
.entry ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.5; }
.entry li { position: relative; padding-left: 18px; }
.entry li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--accent); }
.entry__cta { margin-top: auto; font-weight: 700; color: var(--accent); }
@media (max-width: 900px) { .entry-grid { grid-template-columns: 1fr; } }

.situations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.situations a { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.situations__q { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; line-height: 1.35; color: var(--brand); }
.situations__a { font-size: .93rem; color: var(--ink-2); }
.situations__a::after { content: " →"; color: var(--accent); }
.situations a:hover .situations__q { color: var(--accent-dark); }
@media (max-width: 860px) { .situations { grid-template-columns: 1fr; } }

.sticky-head { position: sticky; top: calc(var(--header-h) + 24px); }
.sticky-head .lead { margin-bottom: 1.4em; }
@media (max-width: 900px) { .sticky-head { position: static; } }
.timeline h3 { font-size: 1.2rem; }

.section--dark .profile__role { color: var(--accent); }
.section--dark .quote { color: #fff; border-left-color: var(--accent); }
.section--dark .profile__photo::before { border-color: var(--accent); }
.section--dark .link-arrow { color: #fff; }
.section--dark .link-arrow:hover { color: var(--accent); }

.wissen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.wissen { border-top: 2px solid var(--brand); padding-top: 18px; }
.wissen .eyebrow { margin-bottom: 8px; }
.wissen h3 { font-size: 1.2rem; margin-bottom: .5em; }
@media (max-width: 860px) { .wissen-grid { grid-template-columns: 1fr; } }

.faq--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 0; align-items: start; }
.faq--2 details { border-top: 1px solid var(--line-2); border-bottom: 0; }
@media (max-width: 860px) { .faq--2 { grid-template-columns: 1fr; } }

.home-form { background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--brand); padding: clamp(22px, 3vw, 32px); }

/* ---------- Scroll-Reveal (dezent, nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .07s; }
.js .reveal-d2 { transition-delay: .14s; }
.js .reveal-d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 12px; }
.mt-auto { margin-top: auto; }
.layout__fuss { grid-column: 1 / -1; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 36px; }
.center-block { display: flex; justify-content: flex-start; }
/* Haltungs-Block („Worauf es ankommt“): linksbündige Aussage mit Kante statt zentriertem Text */
.section > .container--narrow.text-center { text-align: left; max-width: calc(var(--container) + 2 * var(--gutter)); }
.section > .container--narrow.text-center > * { max-width: 760px; }
.section > .container--narrow.text-center > .eyebrow, .section > .container--narrow.text-center > h2, .section > .container--narrow.text-center > .lead, .section > .container--narrow.text-center > p { border-left: 4px solid var(--accent); padding-left: clamp(20px, 3vw, 36px); }
.section > .container--narrow.text-center > h2 { margin-bottom: .5em; }
.section > .container--narrow.text-center > .btn-row--center { justify-content: flex-start; padding-left: calc(clamp(20px, 3vw, 36px) + 4px); }
.section > .container--narrow.text-center > .btn-row { padding-left: calc(clamp(20px, 3vw, 36px) + 4px); }
.btn-row--center { justify-content: flex-start; }
.legal h2 { font-size: 1.7rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; }
.placeholder { background: #FFF3CD; color: #7A5A00; padding: 0 .3em; font-weight: 600; }

@media print {
  .site-header, .topbar, .direct, .site-footer, .layout__aside, .cta-band, .hero__art, .page-hero__art { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .section { padding: 16pt 0; }
  .page-hero { background: none; color: var(--ink); border-bottom: 1px solid #999; }
  .page-hero__title, .page-hero__lead { color: var(--ink); }
}

/* ---------- Verwertungsbörse & Kundenportal ---------- */
/* Vorschau-Band (Prototyp: Musterobjekte, keine echten Angebote) */
.vorschau-band { padding: 9px var(--gutter); background: var(--warn-50); color: var(--warn); border-bottom: 1px solid #F0E1C4; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Sichtbarkeit per hidden-Attribut (auch für Elemente mit eigenem display) */
[data-portal] [hidden], [data-portal][hidden], .objekt-card[hidden] { display: none !important; }

/* Objektkarten (Fotos in Farbe, Bild 4:3, ganze Karte klickbar) */
.objekt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .objekt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .objekt-grid { grid-template-columns: 1fr; } }
.objekt-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.objekt-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.objekt-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.objekt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.objekt-card--verkauft .objekt-card__media img { opacity: .65; }
/* Abgelaufen: nur noch in der Liste – grauer Filter über dem Bild, Band „Abgelaufen“ quer durchs Bild, kein Link */
.objekt-card--abgelaufen { cursor: default; }
.objekt-card--abgelaufen:hover { box-shadow: var(--card-shadow); transform: none; }
.objekt-card--abgelaufen .objekt-card__media img { filter: grayscale(1) brightness(.78); }
.objekt-card--abgelaufen .objekt-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(86, 92, 100, .42); }
.objekt-card__abgelaufen { position: absolute; left: -10%; right: -10%; top: 50%; z-index: 1; display: block; padding: 9px 0; transform: translateY(-50%) rotate(-16deg); background: rgba(44, 48, 54, .82); color: #fff; text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.45rem); font-weight: 800; letter-spacing: .32em; text-transform: uppercase; border-block: 2px solid rgba(255, 255, 255, .85); pointer-events: none; }
.objekt-card--abgelaufen .objekt-card__badges { z-index: 2; }
.objekt-card--abgelaufen .objekt-card__titel, .objekt-card--abgelaufen .objekt-card__preis { color: var(--ink-3); }
.objekt-card__badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.objekt-card__leer, .galerie__leer { display: grid; place-content: center; justify-items: center; gap: 8px; height: 100%; min-height: 160px; color: var(--ink-3); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--soft); }
.objekt-card__leer svg, .galerie__leer svg { width: 32px; height: 32px; color: rgba(var(--brand-rgb), .45); }
.objekt-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.objekt-card__kat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.objekt-card__titel { font-size: 1.12rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.objekt-card__titel a { color: var(--brand); text-decoration: none; }
.objekt-card__titel a::after { content: ""; position: absolute; inset: 0; }
.objekt-card__titel a:hover { text-decoration: underline; }
.objekt-card__ort { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }
.objekt-card__ort svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
.objekt-card__preis { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.objekt-card__preis small { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: .8rem; font-weight: 400; color: var(--ink-3); }

/* Status- und Kennzeichnungs-Badges */
.badge--verfuegbar, .badge--status-erledigt { background: var(--ok-50); color: var(--ok); border-color: #CFE6DA; }
.badge--reserviert, .badge--status-in_bearbeitung { background: var(--warn-50); color: var(--warn); border-color: #F0E1C4; }
.badge--verkauft { background: var(--danger-50); color: var(--danger); border-color: #F0D8D4; }
.badge--auslaufend { background: #FFF1A8; color: #6B5300; border-color: #F0D96A; }   /* gelb (Vorgabe 05.10.2026) */
.badge--archiviert { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge--muster { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge--status-neu { background: var(--brand); color: #fff; border-color: var(--brand); }
.badge--gesperrt { background: var(--danger); color: #fff; border-color: var(--danger); }
.badge--aktiv { background: var(--ok-50); color: var(--ok); border-color: #CFE6DA; }
.objekt-card__badges .badge { background-color: rgba(255, 255, 255, .96); }
.objekt-card__badges .badge--muster { background-color: var(--ink); }
.objekt__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* Börse: Suche und Kategorie-Chips */
.objekte-filter { display: grid; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.objekte-filter__suche { max-width: 440px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; line-height: 1.2; color: var(--brand); background: #fff; border: 1px solid rgba(var(--brand-rgb), .28); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: .74rem; background: var(--brand-50); color: var(--brand); }
.chip.is-active .chip__n { background: rgba(0, 0, 0, .18); color: #fff; }
.objekte-leer { padding: 28px 20px; text-align: center; border: 1px dashed rgba(var(--brand-rgb), .4); border-radius: var(--radius); color: var(--ink-2); }
.objekte-leer p { margin-bottom: 14px; }

/* Objektseite: kleinere H1, Galerie, Eckdaten */
.page-hero--objekt .page-hero__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; overflow-wrap: anywhere; }
.galerie { display: grid; gap: 10px; }
.galerie__haupt { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card); border: var(--card-border); box-shadow: var(--card-shadow); background: var(--soft); }
.galerie__haupt img { width: 100%; height: 100%; object-fit: cover; }
.galerie__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.galerie__thumb { padding: 0; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: var(--radius-s); overflow: hidden; background: var(--soft); cursor: pointer; opacity: .72; transition: opacity .2s, border-color .2s; }
.galerie__thumb img { width: 100%; height: 100%; object-fit: cover; }
.galerie__thumb:hover, .galerie__thumb.is-active { opacity: 1; border-color: var(--brand); }
.eckdaten, .prose .eckdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 1.4em; }
.eckdaten > div { display: grid; grid-template-columns: fit-content(46%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; min-width: 0; }
.eckdaten > .eckdaten__voll { grid-column: 1 / -1; }
/* ⓘ neben „Art der Verwertung“ + Erklärungsfenster (Vorgabe 06.10.2026) */
.info-knopf { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; padding: 0; border: 1.5px solid var(--brand); border-radius: 50%; background: #fff; color: var(--brand); font: italic 700 .78rem/1 Georgia, "Times New Roman", serif; vertical-align: 2px; cursor: pointer; }
.info-knopf:hover, .info-knopf:focus-visible { background: var(--brand); color: #fff; outline: none; }
.info-dialog { border: 0; padding: 0; max-width: min(92vw, 640px); width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); color: var(--ink); background: #fff; }
.info-dialog::backdrop { background: rgba(10, 30, 34, .55); }
.info-dialog__inhalt { position: relative; padding: clamp(22px, 4vw, 36px); max-height: 85vh; overflow: auto; }
.info-dialog h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0 0 .8em; padding-right: 44px; color: var(--brand); }
.info-dialog h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 1.2em 0 .3em; }
.info-dialog p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--ink-2); }
.info-dialog__link { margin-top: 1.4em !important; }
.info-dialog__schliessen { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font: 400 1.6rem/1 var(--font-sans); cursor: pointer; }
.info-dialog__schliessen:hover { background: var(--brand); color: #fff; }
.info-dialog:not([open]) { display: none; }
.eckdaten > .eckdaten__voll dd { white-space: pre-line; }
.eckdaten dt, .prose .eckdaten dt { font-family: var(--font-sans); font-size: inherit; font-weight: 700; color: var(--ink); margin: 0; overflow-wrap: normal; }
.eckdaten dd, .prose .eckdaten dd { margin: 0; padding: 0; border: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.eckdaten--klein > div { font-size: .9rem; padding: 6px 0; }
@media (max-width: 760px) { .eckdaten, .prose .eckdaten { grid-template-columns: 1fr; } }

/* Anfragebox in der Seitenleiste (ab 1000 px sticky, wie .layout__aside) */
.anfrage-box { background: #fff; border: var(--card-border); border-top: 3px solid var(--brand); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 24px 22px; }
@media (min-width: 1000px) { .anfrage-box { position: sticky; top: calc(var(--header-h) + 20px); } }
.anfrage-box .eyebrow { margin-bottom: 6px; }
.anfrage-box__preis { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--brand); margin: 0 0 4px; overflow-wrap: anywhere; }
.anfrage-box__preis-hinweis { font-size: .86rem; color: var(--ink-3); margin: 0 0 14px; }
.anfrage-box__preis-hinweis:empty { display: none; }
.anfrage-box__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.anfrage-box__meta dt { font-weight: 700; color: var(--ink); }
.anfrage-box__meta dd { margin: 0; color: var(--ink-2); }
.anfrage-box__login p { font-size: .94rem; color: var(--ink-2); }
.anfrage-box__login .btn { margin-bottom: 12px; }
.anfrage-box__form { gap: 12px; }
.textarea--klein { min-height: 110px; }
.anfrage-box__verkauft { font-weight: 700; color: var(--danger); }
.anfrage-box__note { font-size: .9rem; color: var(--warn); }
.anfrage-box__titel { font-size: 1.05rem; margin: 2px 0 0; }
.anfrage-box__titel .hint { display: block; font-size: .82rem; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
/* Hinweis „Vorverkauf“ in der Anfragebox: ruhige Infobox in Kanzleifarbe statt Fließtext */
.vorverkauf { display: grid; gap: 6px; padding: 12px 14px; margin: 0 0 16px; background: var(--brand-50); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; }
.vorverkauf__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.vorverkauf p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.anfrage-box__erfolg { padding: 14px 16px; border-radius: var(--radius-s); background: var(--ok-50); color: var(--ok); font-size: .94rem; }
.anfrage-box__erfolg p { margin: 0; }
.anfrage-box__erfolg a { color: inherit; }
.anfrage-box__finanzierung { margin-top: 14px; }
.anfrage-box__kontakt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.anfrage-box__kontakt a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* Portal-Formulare und Zustände */
.portal-form { background: #fff; border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: clamp(22px, 3vw, 32px); }
.portal-form > h2 { font-size: 1.5rem; margin-bottom: .2em; }
.portal-form > p { color: var(--ink-2); margin-bottom: .4em; font-size: .97rem; }
.portal-form--schmal { max-width: 460px; margin-left: auto; margin-right: auto; }
.portal-laden { color: var(--ink-3); font-size: .95rem; }
.portal-erfolg { padding: clamp(22px, 3vw, 32px); background: var(--ok-50); border: 1px solid #CFE6DA; border-radius: var(--radius-card); }
.portal-erfolg h2, .portal-erfolg h3 { color: var(--ok); font-size: 1.5rem; }
.portal-erfolg p { color: var(--ink-2); }
.portal-erfolg > :last-child { margin-bottom: 0; }
.portal-erfolg:focus { outline: 0; }
.portal-anfrage .section-head { margin-bottom: 20px; }
.form.is-pending { opacity: .7; }
.form__gruppe { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form__gruppe > legend { padding: 0; margin-bottom: 10px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.form__gruppe > legend .hint { font-size: .84rem; color: var(--ink-3); font-weight: 400; }
.form__row--plz { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
@media (max-width: 640px) { .form__row--plz { grid-template-columns: 1fr; } }
[data-portal] .btn:disabled, .anfrage-box .btn:disabled { opacity: .55; cursor: not-allowed; }
.form.is-blockiert .btn[type="submit"] { opacity: .55; cursor: not-allowed; }
.portal-block { margin-bottom: clamp(24px, 3vw, 36px); }
.konto-anmelden { max-width: 1040px; margin: 0 auto; }          /* Anmeldung + „Konto anlegen“ mittig, nicht an den linken Rand gedrückt */
.konto-anmelden__split { align-items: start; }
.portal-form > h3 { font-size: 1.3rem; margin-bottom: .2em; }
.konto-hinweis { margin-bottom: 20px; }
button.link-line { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
button.link-line:hover { color: var(--brand-dark); }
.btn--danger { background: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: #7E241F; border-color: #7E241F; }

/* Konto und Verwaltung: Kopf, Reiter, Anfragenliste */
.konto-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 20px; }
.konto-kopf h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); overflow-wrap: anywhere; }
.konto-kopf .eyebrow { margin-bottom: 6px; overflow-wrap: anywhere; }
/* Verwaltung: Seitenleiste links, Inhalt rechts (Auftrag 07.10.2026) */
.page-verwaltung .container { max-width: 1480px; }
.vw-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 32px; align-items: start; }
.vw-seite { position: sticky; top: 92px; display: grid; gap: 18px; }
.vw-seite__konto { padding: 16px 18px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); }
.vw-seite__konto .eyebrow { margin: 0 0 4px; }
.vw-seite__email { margin: 0 0 10px; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.vw-nav { display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); }
.vw-nav__knopf { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-left: 3px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-size: .97rem; font-weight: 600; color: var(--ink-2); text-align: left; cursor: pointer; }
.vw-nav__knopf svg { width: 20px; height: 20px; flex: none; opacity: .8; }
.vw-nav__knopf span { flex: 1 1 auto; }
.vw-nav__knopf:hover { background: var(--soft); color: var(--brand); }
.vw-nav__knopf.is-active { background: var(--brand-50); color: var(--brand); border-left-color: var(--brand); }
.vw-nav__zahl { min-width: 22px; padding: 2px 7px; border-radius: 11px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; text-align: center; }
.vw-nav__zahl--warn { background: var(--danger); }
.vw-seite__links { display: grid; gap: 2px; padding: 8px; }
.vw-seite__links a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.vw-seite__links a svg { width: 18px; height: 18px; opacity: .7; }
.vw-seite__links a:hover { background: var(--soft); color: var(--brand); }
.vw-haupt { min-width: 0; }
.vw-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vw-kopf h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vw-kennzahlen { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.vw-kennzahl { display: flex; align-items: baseline; gap: 7px; }
.vw-kennzahl__wert { font-family: var(--font-serif); font-size: 1.35rem; color: var(--brand); }
.vw-kennzahl__label { font-size: .85rem; color: var(--ink-3); }
.vw-haupt .tabs__panel > h3:first-child { margin-top: 0; }
@media (max-width: 980px) {
  .vw-layout { grid-template-columns: 1fr; gap: 18px; }
  .vw-seite { position: static; gap: 12px; }
  .vw-seite__konto { display: flex; align-items: center; gap: 12px; }
  .vw-seite__konto .eyebrow { display: none; }
  .vw-seite__email { flex: 1 1 auto; margin: 0; }
  .vw-nav { display: flex; overflow-x: auto; padding: 6px; gap: 4px; }
  .vw-nav__knopf { width: auto; white-space: nowrap; padding: 9px 12px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; }
  .vw-nav__knopf.is-active { border-bottom-color: var(--brand); }
  .vw-nav__knopf svg { display: none; }
  .vw-seite__links { display: none; }
}
.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.tabs__tab { padding: 12px 16px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tabs__tab:hover { color: var(--brand); }
.tabs__tab.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tabs__panel > h2 { font-size: 1.5rem; margin-bottom: .8em; }
.anfrage-liste, .post-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.anfrage-liste details, .post-liste details { background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); }
.anfrage-liste summary, .post-liste summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; }
.anfrage-liste summary::-webkit-details-marker, .post-liste summary::-webkit-details-marker { display: none; }
.anfrage-liste summary:hover .anfrage-liste__titel, .post-liste summary:hover .anfrage-liste__titel { color: var(--brand); }
.anfrage-liste__typ { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.anfrage-liste__titel { flex: 1 1 200px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.anfrage-liste__datum { font-size: .88rem; color: var(--ink-3); }
.anfrage-liste__body { padding: 0 18px 16px; }
.post-liste__text { margin: 0 18px 16px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--soft); font: inherit; font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.vw-fehler { margin: 0 18px 10px; color: var(--danger); }

/* Interne Ablage (PORTAL.md §14) */
.ablage-von { display: grid; gap: 4px; min-width: 200px; }
.ablage-von .input { min-height: 44px; }
.ablage-neu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 24px 0 32px; }
.ablage-karte { padding: 22px 24px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); }
.ablage-karte h3 { margin: 0 0 4px; font-size: 1.15rem; }
.ablage-karte .input[type="file"] { padding: 10px 12px; }
.ablage-fortschritt { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.ablage-fortschritt > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.ablage-liste-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 14px; }
.ablage-liste-kopf h3 { margin: 0; font-size: 1.3rem; }
.ablage-liste-kopf .field { margin: 0; min-width: min(100%, 280px); }
.ablage-liste .anfrage-liste__body { display: grid; gap: 12px; }
.ablage-liste .post-liste__text { margin: 0; max-height: 60vh; overflow: auto; }
.ablage-aktionen, .ablage-datei { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* Rundschreiben (PORTAL.md §15) */
.rs-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 18px 0 10px; }
.rs-kennzahlen { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink-2); }
.rs-kennzahlen strong { color: var(--brand); font-size: 1.15rem; }
.rs-box { margin: 16px 0 24px; padding: 20px 24px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); }
.rs-box h3 { margin: 0 0 6px; font-size: 1.15rem; }
.rs-form { gap: 12px; }
.rs-grid { gap: 12px 20px; }
.rs-form--zeile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) auto; gap: 12px; align-items: end; }
.rs-form--zeile .form__status { grid-column: 1 / -1; }
@media (max-width: 760px) { .rs-form--zeile { grid-template-columns: 1fr; } }
.rs-empfaenger { font-family: Consolas, Menlo, monospace; font-size: .88rem; white-space: pre; overflow: auto; }
.rs-schalter { display: grid; gap: 8px; }
.rs-fortschritt { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin: 4px 0 14px; }
.rs-fortschritt > div { height: 100%; background: var(--brand); transition: width .4s; }
.rs-zahlen { font-size: .92rem; }

/* Live-Fenster Rundschreiben in der Verwaltung (PORTAL.md 15.2): Knopf unten rechts, Panel darüber. */
.rs-live { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rs-live[hidden] { display: none; }
.rs-live__knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: var(--white);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 18px rgba(10, 35, 71, .22), 0 2px 6px rgba(10, 35, 71, .14);
  transition: background .15s ease, transform .15s ease;
}
.rs-live__knopf:hover { background: var(--brand-dark); transform: translateY(-1px); }
.rs-live__knopf:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 3px; }
.rs-live__punkt { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); flex: none; }
.rs-live__punkt.is-laeuft { background: #7CE3A3; animation: rs-live-puls 1.6s ease-out infinite; }
@keyframes rs-live-puls { 0% { box-shadow: 0 0 0 0 rgba(124, 227, 163, .75); } 70% { box-shadow: 0 0 0 9px rgba(124, 227, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 227, 163, 0); } }
.rs-live__panel {
  width: min(380px, calc(100vw - 32px)); max-height: min(76vh, 640px); overflow-y: auto;
  padding: 16px 18px 18px;
  background: var(--white); border: var(--card-border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(10, 35, 71, .18), 0 30px 70px rgba(10, 35, 71, .22);
}
.rs-live__panel[hidden] { display: none; }
.rs-live__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rs-live__kopf strong { font-family: var(--font-serif); font-size: 19px; color: var(--brand); }
.rs-live__zu { border: 0; background: transparent; cursor: pointer; line-height: 1; font-size: 26px; color: var(--ink-3); padding: 0 4px; }
.rs-live__betreff { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .92rem; color: var(--ink-2); margin: 0 0 10px; }
.rs-live__zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.rs-live__zahlen > div { padding: 8px 10px; border-radius: 8px; background: var(--soft); min-width: 0; }
.rs-live__zahlen dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 2px; }
.rs-live__zahlen dd { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--brand); line-height: 1.15; }
.rs-live__zahlen dd small { font-size: .78rem; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.rs-live__zahlen > .is-warn dd { color: var(--danger); }
.rs-live__stand { font-size: .8rem; color: var(--ink-3); margin: 10px 0 0; }
.rs-live__kontrolle { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.rs-live__kontrolle li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 8px; background: var(--soft); border-left: 3px solid var(--ink-3); font-size: .8rem; line-height: 1.35; }
.rs-live__kontrolle li strong { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.rs-live__kontrolle li span { color: var(--ink-2); }
.rs-live__kontrolle li.is-gesendet { border-left-color: #2e7d32; background: #e3f3e6; }   /* Block durch: grün (Wunsch 12.10.2026) */
.rs-live__kontrolle li.is-gesendet strong { color: #2e7d32; }
.rs-live__kontrolle li.is-laeuft { border-left-color: #c58a00; background: #fdf3dc; }
@media (max-width: 640px) { .rs-live { right: 12px; bottom: 12px; } .rs-live__zahlen dd { font-size: 1.1rem; } }
.rs-aktionen { margin: 12px 0 6px; gap: 8px 10px; }
.rs-liste h4 { font-size: 1rem; margin: 14px 0 4px; }
.rs-liste ul.small { margin: 0 0 8px 18px; padding: 0; overflow-wrap: anywhere; }
.tabelle--sperre { min-width: 700px; }

/* Verwaltung: Tabellen (auf dem Handy gestapelt), Filter, Detailzeile */
.vw-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 16px; margin-bottom: 18px; }
.tabelle { min-width: 0; }
.tabelle td { overflow-wrap: anywhere; }
.tabelle td:first-child { font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.tabelle tr[hidden] { display: none !important; }
.tabelle__detail td { background: var(--soft); }
.tabelle td[data-label="Status"] .badge, .tabelle td[data-label="Kunde"] .badge { white-space: nowrap; }
.tabelle td .btn, .tabelle td[data-label="Typ"], .tabelle td[data-label="Registriert"], .tabelle td[data-label="Zuletzt aktiv"], .tabelle td[data-label="Mobilnummer"] { white-space: nowrap; }
.tabelle__zusatz { display: block; font-size: .84rem; font-weight: 400; color: var(--ink-3); }
.tabelle td[data-label="E-Mail"], .tabelle td[data-label="E-Mail / Mobilnummer"], .tabelle td[data-label="Betreff"] { overflow-wrap: break-word; }
.vw-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 32px; }
.vw-detail .eckdaten { grid-template-columns: 1fr; gap: 0; }   /* in der Anfrage-Detailansicht eine Angabe je Zeile – keine Überlappungen bei langen Werten */
.vw-detail .form { gap: 12px; align-self: start; align-content: start; }
.vw-kunde { margin: 12px 0 0; color: var(--ink-2); }
.vw-kunde .badge { vertical-align: middle; margin-left: 4px; }
@media (max-width: 860px) { .vw-detail { grid-template-columns: 1fr; } }
.vw-filter--suche { grid-template-columns: minmax(0, 420px); align-items: end; }
.tabelle--kunden { min-width: 1000px; }
.tabelle--archiv { min-width: 820px; }
.tabelle--archiv td:first-child { white-space: normal; font-weight: 600; color: var(--ink); min-width: 220px; }
.tabelle--kunden th, .tabelle--kunden td { padding-left: 12px; padding-right: 12px; }
.tabelle--kunden td:first-child { min-width: 150px; }
.tabelle--kunden td[data-label="E-Mail / Mobilnummer"] { min-width: 200px; overflow-wrap: anywhere; }
.tabelle--kunden td[data-label="Ort"] { min-width: 104px; }
.tabelle--kunden td[data-label="Herkunft"] { min-width: 130px; }
.tabelle--kunden [data-kunde-feld="telefon"] { white-space: nowrap; }
.tabelle--kunden td:first-child { white-space: normal; font-weight: 600; color: var(--ink); }
.tabelle--kunden td .badge { vertical-align: middle; }
.vw-kunde-detail { display: grid; gap: 24px; }
.vw-kunde-detail__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
.vw-kunde-detail h3 { font-size: 1.1rem; margin: 0 0 10px; }
.vw-kunde-detail .form { gap: 12px; }
.vw-kunde-detail__meta { margin: 0; color: var(--ink-3); font-size: .86rem; overflow-wrap: anywhere; }
.vw-kunde-aktionen { display: grid; gap: 14px; align-content: start; }
.vw-kunde-aktionen .btn-row { gap: 10px; }
.btn--danger-ghost { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn--danger-ghost:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.vw-bestaetigen { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-s); background: var(--warn-50); border: 1px solid #F0E1C4; }
.vw-bestaetigen--danger { background: var(--danger-50); border-color: #F0D8D4; }
.vw-bestaetigen p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.vw-bestaetigen label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.vw-bestaetigen .hint { font-size: .84rem; color: var(--ink-3); font-weight: 400; }
.vw-bestaetigen .form__status { padding: 10px 12px; }
.vw-kunde-anfragen .anfrage-liste details { background: #fff; }
.vw-kunde-anfragen h3 { margin-bottom: 12px; }
@media (max-width: 860px) { .vw-kunde-detail__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .vw-filter { grid-template-columns: 1fr; }
  .tabelle thead { display: none; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: 100%; }
  .tabelle tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tabelle td, .tabelle td:first-child { border: 0; padding: 4px 14px; white-space: normal; font-weight: 400; color: var(--ink); }
  .tabelle td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .tabelle td[data-label=""]::before { display: none; }
  .tabelle__detail { padding: 0; }
  .tabelle__detail td { padding: 14px; }
  .tabelle--kunden { min-width: 0; }
}

/* Verwaltung: Statistik und Kundenaktivität (PORTAL.md §9.5, §9.7, §9.9) – Kacheln, Live-Besucher, Verlauf, Ranglisten
   mit Balken, Punkt „online“. Diagrammfarben: Besucher = Marineblau, Aufrufe = hellere Stufe desselben Farbtons;
   Zahlen stehen immer auch als Text da. */
.st { --st-besucher: var(--brand); --st-aufrufe: #9FD9C7; transition: opacity .2s; }
.st.is-laden { opacity: .55; }
.st-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 10px; }
.st-hinweis { margin: 0 0 20px; font-size: .86rem; line-height: 1.45; color: var(--ink-3); }
.st-fehler { color: var(--danger); }
.st-fuss { margin: 20px 0 0; max-width: 90ch; }
/* Schalter „Dieses Gerät nicht mitzählen“ (Geräte der Kanzlei) */
.st-geraet { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.st-geraet p { flex: 1 1 280px; min-width: 0; }

/* Kacheln: erste Reihe Besucher, zweite Reihe (fünf Kacheln) Kontaktaufnahme im Zeitraum */
.st-kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin-bottom: clamp(14px, 2vw, 24px); }
.st-kacheln--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.st-kachel { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 16px 14px; background: #fff; border: var(--card-border); border-radius: var(--radius); }
.st-kachel__label { font-size: .88rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); overflow-wrap: anywhere; }
.st-kachel__wert { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; color: var(--brand); overflow-wrap: anywhere; }
.st-kachel__zusatz { font-size: .8rem; line-height: 1.3; color: var(--ink-3); }
@media (max-width: 1000px) { .st-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .st-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-kachel { padding: 14px 12px 12px; } }

/* Blöcke im Raster (zwei Spalten, mobil eine) */
.st-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.st-block { min-width: 0; padding: clamp(16px, 2.2vw, 24px); background: #fff; border: var(--card-border); border-radius: var(--radius); }
.st-block--breit { grid-column: 1 / -1; }
.st-block h3 { font-size: 1.2rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.st-block h4 { font-size: .9rem; margin: 18px 0 8px; }
.st-block__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.st-block__hinweis { margin: 0 0 14px; font-size: .86rem; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 860px) { .st-raster { grid-template-columns: minmax(0, 1fr); } }

/* Verlauf: Säulendiagramm (SVG aus portal.js), Legende, Hinweisfeld, Tabelle zum Aufklappen */
.st-legende { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 6px; padding: 0; list-style: none; font-size: .86rem; color: var(--ink-2); }
.st-legende li { display: inline-flex; align-items: center; gap: 7px; }
.st-legende__farbe { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--st-besucher); }
.st-legende__farbe--aufrufe { background: var(--st-aufrufe); }
.st-verlauf { position: relative; overflow: hidden; }
.st-verlauf:focus-visible { outline-offset: -2px; }
.st-verlauf svg { display: block; max-width: 100%; touch-action: pan-y; }
.st-verlauf__gitter { stroke: var(--line); stroke-width: 1; }
.st-verlauf__basis { stroke: #C3CED1; stroke-width: 1; }
.st-verlauf__text { font-family: var(--font-sans); font-size: 11px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.st-verlauf__aufrufe { fill: var(--st-aufrufe); }
.st-verlauf__besucher { fill: var(--st-besucher); }
.st-verlauf__marke { fill: rgba(var(--brand-rgb), .08); }
.st-tip { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 8px 12px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius-s); box-shadow: 0 6px 20px rgba(10, 35, 71, .14); font-size: .84rem; line-height: 1.35; color: var(--ink-2); white-space: nowrap; pointer-events: none; }
.st-tip__datum { font-size: .76rem; color: var(--ink-3); }
.st-tip__zeile { display: flex; align-items: center; gap: 7px; }
.st-details { margin-top: 12px; font-size: .9rem; }
.st-details > summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.st-details[open] > summary { margin-bottom: 10px; }
.st-liste--tage { max-width: 480px; }

/* Ranglisten: Bezeichnung mit Balken darunter, Zahlen rechtsbündig */
.st-liste { width: 100%; border-collapse: collapse; font-size: .93rem; }
.st-liste th, .st-liste td { padding: 8px 0 9px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.st-liste th:first-child, .st-liste td:first-child { width: 100%; padding-left: 0; overflow-wrap: anywhere; }
.st-liste thead th { padding-top: 0; padding-bottom: 7px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.st-liste tbody tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.st-liste td:first-child a { font-weight: 600; text-decoration: none; }
.st-liste td:first-child a:hover { text-decoration: underline; }
.st-liste .st-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-liste .badge { white-space: nowrap; }
.st-liste__zusatz { display: block; font-size: .82rem; color: var(--ink-3); }
.st-balken { display: block; height: 8px; margin-top: 6px; border-radius: 0 4px 4px 0; background: var(--brand); }
@media (max-width: 640px) {
  /* Beliebteste Objekte: je Objekt ein Block – Titel und Status über die ganze Breite, darunter die vier Zahlen (2 × 2) */
  .st-liste.st-liste--objekte thead { display: none; }
  .st-liste.st-liste--objekte, .st-liste.st-liste--objekte tbody { display: block; }
  .st-liste.st-liste--objekte tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .st-liste.st-liste--objekte tr:first-child { padding-top: 0; }
  .st-liste.st-liste--objekte tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .st-liste.st-liste--objekte td { display: block; width: auto; padding: 0; border: 0; text-align: left; }
  .st-liste.st-liste--objekte td:first-child, .st-liste.st-liste--objekte td[data-label="Status"] { grid-column: 1 / -1; }
  .st-liste.st-liste--objekte td.st-num::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
}

/* Live-Besucher: je Besucher eine Zeile, darunter sein Weg (Herkunft › Seiten › Klicks); Punkt „online“ */
.st-liste.st-live th:first-child, .st-liste.st-live td:first-child { width: auto; }
.st-liste.st-live thead th { white-space: normal; vertical-align: bottom; }
.st-liste.st-live td { white-space: nowrap; }
.st-liste.st-live td[data-label="Besucher"] { min-width: 170px; white-space: normal; }
.st-liste.st-live td[data-label="Aktuelle Seite"], .st-liste.st-live td[data-label="Herkunft"], .st-liste.st-live .st-live__weg td { white-space: normal; overflow-wrap: anywhere; }
.st-liste.st-live td[data-label="Aktuelle Seite"] { width: 34%; }
.st-liste.st-live td a { font-weight: 600; text-decoration: none; }
.st-liste.st-live td a:hover { text-decoration: underline; }
.st-liste.st-live .st-live__zeile td { border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: 6px; }
.st-liste.st-live .st-live__zeile:first-child td { border-top: 0; }
.st-liste.st-live .st-live__weg td { padding: 0 0 12px 18px; border-bottom: 0; }
.st-live__wer { display: inline-flex; align-items: baseline; gap: 9px; font-weight: 600; }
.st-live__wer .online__punkt { align-self: center; }
.st-live__zeit { white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-live__weg-box { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.st-live__weg-titel { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.st-weg { display: flex; flex-wrap: wrap; gap: 2px 0; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.st-weg__schritt { min-width: 0; overflow-wrap: anywhere; }
.st-weg__schritt + .st-weg__schritt::before { content: "›"; margin: 0 8px; color: var(--ink-3); }
.st-weg__schritt time { margin-right: 5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.st-weg__schritt--herkunft span { color: var(--ink-3); }
.st-weg__schritt--ereignis span { font-weight: 600; color: var(--brand); }
.st-live__fuss { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
@media (max-width: 760px) {
  /* je Besucher ein Block: Name und Seite über die ganze Breite, die übrigen Angaben zweispaltig mit Bezeichnung */
  .st-liste.st-live thead { display: none; }
  .st-liste.st-live, .st-liste.st-live tbody { display: block; }
  .st-liste.st-live .st-live__zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 14px 0 8px; border-top: 1px solid var(--line); }
  .st-liste.st-live .st-live__zeile:first-child { padding-top: 0; border-top: 0; }
  .st-liste.st-live .st-live__zeile td { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
  .st-liste.st-live .st-live__zeile td:nth-child(-n+2) { grid-column: 1 / -1; }
  .st-liste.st-live .st-live__zeile td:nth-child(n+2)::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .st-liste.st-live .st-live__weg { display: block; padding-bottom: 14px; }
  .st-liste.st-live .st-live__weg td { display: block; padding: 0; }
  .st-live__weg-box { display: block; }
  .st-live__weg-titel { display: block; margin-bottom: 2px; }
}
.online { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.online__punkt { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 107, 78, .16); }

/* Kundenakte: Abschnitt „Aktivität“ mit dem Schalter „Seitenaufrufe nicht dem Konto zuordnen“ */
.vw-protokoll { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); }
.vw-protokoll .hint { display: block; margin-top: 2px; font-size: .84rem; color: var(--ink-3); }
.vw-protokoll .form__status { padding: 8px 12px; }
.vw-kunde-aktivitaet .eckdaten { margin-bottom: 18px; }
.vw-kunde-aktivitaet h4 { font-size: .9rem; margin: 0 0 8px; }
.vw-kunde-aktivitaet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; align-items: start; margin-bottom: 14px; }
.vw-seiten { max-height: 300px; margin: 0; padding: 0 8px 0 0; overflow-y: auto; list-style: none; font-size: .9rem; }
.vw-seiten li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vw-seiten li:last-child { border-bottom: 0; }
.vw-seiten time, .vw-seiten__zusatz { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vw-seiten span { min-width: 0; overflow-wrap: anywhere; }
.vw-seiten--objekte li { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) { .vw-kunde-aktivitaet__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .vw-seiten li, .vw-seiten--objekte li { grid-template-columns: minmax(0, 1fr); } .vw-seiten__zusatz { white-space: normal; } }

/* Objektseite: „So läuft der Kauf über die Verwertungsbörse“ – gegliederter Hinweis statt Fließtext-Callout */
.hinweis-verkauf { margin-top: 28px; padding: 24px 24px 20px; background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand); border-radius: var(--radius); }
.hinweis-verkauf h2.hinweis-verkauf__titel { font-size: 1.35rem; margin: 0 0 16px; color: var(--brand-dark); }
.hinweis-verkauf__liste { display: grid; gap: 12px; margin: 0 0 14px; }
.hinweis-verkauf__liste > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; }
.hinweis-verkauf__liste > div::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 13px no-repeat; }
.hinweis-verkauf__liste dt { grid-column: 2; font-weight: 700; color: var(--ink); margin: 0; }
.hinweis-verkauf__liste dd { grid-column: 2; margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Aktuelles (news.html, news-*.html) */
.news-card__bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .h3 { font-size: 1.12rem; margin: 0 0 8px; }
.news-datum { font-size: .88rem; color: var(--ink-3); margin: 0 0 1.2em; }
.news-bild { margin: 0 0 1.4em; }
.news-bild img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.objekte-leer--statisch { grid-column: 1 / -1; }

/* ---------- Verwaltung: Verträge (Treuhandvertrag Anderkonto, PORTAL.md §13) ---------- */
.vertrag-wahl { margin: 0 0 18px; }
.vertrag-werkzeug__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1100px) { .vertrag-werkzeug__grid { grid-template-columns: 1fr; } }
.vertrag-form h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.vertrag-form .label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.unterschrift { border: 1px dashed rgba(var(--brand-rgb), .5); border-radius: var(--radius); background: #fff; padding: 8px; }
.unterschrift__feld { width: 100%; height: auto; display: block; touch-action: none; cursor: crosshair; background: #fff; }
.vertrag-vorschau { min-width: 0; }

/* Das Dokument: Papier mit leichter Körnung und minimaler Schieflage – soll wie ein Scan wirken, nicht wie ein PDF aus dem Rechner */
.vertrag { position: relative; background: #f6f3ec; color: #232323; font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-size: 10.5pt; line-height: 1.5;
  padding: 18mm 18mm 22mm; max-width: 210mm; margin: 0 auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); border-radius: 2px; overflow: hidden;
  transform: rotate(-.35deg); filter: contrast(.96) brightness(.995); }
.vertrag::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
.vertrag::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.35), transparent 55%), linear-gradient(180deg, rgba(0,0,0,.03), transparent 12%, transparent 88%, rgba(0,0,0,.05)); }
.vertrag > * { position: relative; z-index: 1; }
.vertrag__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 2px solid #123F7B; padding-bottom: 10px; margin-bottom: 26px; }
.vertrag__marke { display: flex; align-items: center; gap: 10px; }
.vertrag__v { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid #123F7B; color: #123F7B; font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.vertrag__name { font-family: var(--font-serif); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: #123F7B; font-weight: 600; }
.vertrag__kanzlei { text-align: right; font-size: 9pt; line-height: 1.45; color: #333; }
.vertrag__titel { font-family: var(--font-serif); font-size: 20pt; font-weight: 600; line-height: 1.15; margin: 0 0 22px; color: #123F7B; }
.vertrag__nummer { margin: -6px 0 18px; font-size: .95rem; color: var(--ink-2); letter-spacing: .02em; }
.vertrag__titel span { display: block; font-size: 12pt; font-weight: 400; color: #333; margin-top: 4px; }
.vertrag__parteien p { margin: 0 0 10px; }
.vertrag__text h2 { font-family: var(--font-serif); font-size: 11.5pt; font-weight: 700; margin: 18px 0 6px; color: #123F7B; break-after: avoid; }
.vertrag__text p { margin: 0 0 8px; text-align: justify; hyphens: auto; }
.vertrag [data-feld]:empty::before { content: attr(data-leer); color: #8a8a8a; }
.vertrag [data-feld-wrap][hidden] { display: none; }
/* Schwärzung: unregelmäßiger schwarzer Balken wie mit dem Marker */
.vertrag .geschwaerzt.ist-schwarz { color: transparent; background: #111; border-radius: 2px; box-shadow: 1px 0 0 #111, -1px 0 0 #111; transform: rotate(-.4deg); display: inline-block; min-width: 6em; padding: 0 .3em; }
.vertrag .geschwaerzt.ist-schwarz::before { content: none; }
.vertrag__unterschriften { margin-top: 30px; break-inside: avoid; }
.vertrag__ortdatum { margin: 0 0 24px; }
.vertrag__unterschrift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vertrag__unterschrift-bild { height: 70px; display: flex; align-items: flex-end; }
.vertrag__unterschrift-bild img { max-height: 70px; max-width: 100%; transform: rotate(-1deg); filter: contrast(1.1); }
.vertrag__linie { border-bottom: 1px solid #333; margin-bottom: 6px; }
.vertrag__unterschrift p { margin: 0; font-size: 9.5pt; }
.vertrag__blatt { width: 100%; border-collapse: collapse; }
.vertrag__blatt td { padding: 0; vertical-align: top; }
.vertrag__blattkopf td { height: 0; }
.vertrag__blattfuss { position: relative; height: 14mm; }
.vertrag__unterschrift--kanzlei { position: relative; }
.vertrag__stempel { position: absolute; right: 0; bottom: 2mm; width: 64mm; color: #1f3a8c; opacity: .9; transform: rotate(-9deg); mix-blend-mode: multiply; z-index: 2; }
.vertrag__stempel .stempel { width: 100%; height: auto; filter: url("#stempel-tinte"); }
/* Kaufvertrag (PORTAL.md §13.3): Stempel links unten, flacher gedreht, blasser und mit eigenem Tintenfilter; Unterschrift etwas höher und nach rechts gerückt */
.vertrag__unterschrift--kauf { position: relative; }
.vertrag__stempel--kauf { right: auto; left: -6mm; bottom: 4mm; width: 64mm; opacity: .9; transform: rotate(5deg); color: #1f3a8c; z-index: 1; }
.vertrag__stempel--kauf .stempel--kauf { filter: url("#stempel-tinte-kauf"); }
.vertrag__unterschrift-bild--kauf { position: relative; z-index: 2; padding-left: 14mm; height: 74px; }
.vertrag__unterschrift-bild--kauf img { transform: rotate(-2.4deg) translateY(3px); max-height: 74px; }
.vertrag__tabelle { width: 100%; border-collapse: collapse; margin: .4em 0 1em; font-size: .95em; }
.vertrag__tabelle th, .vertrag__tabelle td { text-align: left; vertical-align: top; padding: 4px 8px; border-bottom: 1px solid #c9c4b8; }
.vertrag__tabelle th { width: 38%; font-weight: 600; color: #333; }
.objekt-suche { position: relative; }
.objekt-suche__treffer { list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 10px 30px rgba(0,0,0,.12); max-height: 320px; overflow: auto; }
.objekt-suche__treffer li { margin: 0; padding: 0; }
.objekt-suche__treffer-knopf { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: transparent; font: inherit; color: var(--ink); cursor: pointer; border-radius: 6px; }
.objekt-suche__treffer-knopf:hover, .objekt-suche__treffer-knopf:focus-visible { background: var(--brand-50); outline: none; }
.vertrag [data-feld].ist-leer { color: #888; }
.objekt-suche__gewaehlt { margin: 6px 0 8px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--brand-50); color: var(--ink); font-size: .95rem; }
.objekt-suche__leer { padding: 8px 10px; }
.vertrag__fuss { position: absolute; left: 0; right: 0; bottom: 2mm; padding-top: 6px; border-top: 1px solid #999; font-size: 8pt; color: #666; }

@media print {
  /* Vertrag drucken: Das Dokument wird von portal.js direkt unter <body> gehängt; alles andere wird ausgeblendet.
     Seitenränder über @page, damit sie auf jeder Seite gelten; Stempel und Fußzeile position:fixed → auf jeder Seite.
     Kein transform auf Vorfahren der fixierten Elemente (sonst kleben sie nur an einer Stelle). */
  /* Seitenränder nicht über @page (dort bliebe der Rand weiß und das Papier wirkt abgeschnitten), sondern über die
     Tabelle: thead (oben) und tfoot (unten) wiederholen sich auf jeder Seite, die Zelle trägt den Seitenrand links/rechts. */
  @page { size: A4; margin: 0; }
  body.druck-vertrag .vertrag__blatt thead { display: table-header-group; }
  body.druck-vertrag .vertrag__blatt tfoot { display: table-footer-group; }
  body.druck-vertrag .vertrag__blattkopf td { height: 18mm; }
  body.druck-vertrag .vertrag__blatt tbody td { padding: 0 20mm; }
  body.druck-vertrag .vertrag__blatt tfoot td { padding: 0 20mm; }
  body.druck-vertrag .vertrag__blattfuss { height: 20mm; }
  body.druck-vertrag .vertrag__fuss { bottom: 6mm; }
  body.druck-vertrag > :not(.vertrag) { display: none !important; }
  html.druck-vertrag, body.druck-vertrag { background: #f6f3ec !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.druck-vertrag::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
  body.druck-vertrag .vertrag { position: static; max-width: none; margin: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; transform: none; filter: none; overflow: visible;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.druck-vertrag .vertrag::before, body.druck-vertrag .vertrag::after { display: none; }
  body.druck-vertrag .vertrag__kopf, body.druck-vertrag .vertrag__parteien, body.druck-vertrag .vertrag__text, body.druck-vertrag .vertrag__unterschriften { transform: rotate(-.3deg); }
  body.druck-vertrag .vertrag__text h2 { page-break-after: avoid; }
  body.druck-vertrag .vertrag__text p { orphans: 3; widows: 3; }
  body.druck-vertrag .vertrag__unterschriften { page-break-inside: avoid; }
}


/* ==========================================================================
   Fahrzeugangebote (/fahrzeuge): PDF-Ansicht und Rueckruf-Popup unten links.
   Nur auf dieser Seite im Einsatz; nicht im Menue verlinkt.
   ========================================================================== */

.rueckruf { position: fixed; left: 20px; bottom: 20px; z-index: 60; }
.rueckruf__knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: var(--white);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 18px rgba(10, 35, 71, .22), 0 2px 6px rgba(10, 35, 71, .14);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rueckruf__knopf:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(10, 35, 71, .26); }
.rueckruf__knopf:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 3px; }
.rueckruf__knopf .ico { display: inline-flex; width: 18px; height: 18px; }
.rueckruf__knopf .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; }
.rueckruf.is-offen .rueckruf__knopf { display: none; }

.rueckruf__panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(76vh, 640px); overflow-y: auto;
  padding: 18px 20px 20px;
  background: var(--white); border: var(--card-border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(10, 35, 71, .18), 0 30px 70px rgba(10, 35, 71, .22);
}
.rueckruf__panel[hidden] { display: none; }
.rueckruf__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rueckruf__kopf strong { font-family: var(--font-serif); font-size: 19px; color: var(--brand); }
.rueckruf__zu {
  border: 0; background: transparent; cursor: pointer; line-height: 1;
  font-size: 26px; color: var(--ink-3); padding: 0 4px;
}
.rueckruf__zu:hover { color: var(--ink); }
.rueckruf__form .field { margin-bottom: 10px; }
.rueckruf__form .form__note { margin-top: 10px; font-size: 12px; line-height: 18px; }
.rueckruf__form .btn--block { width: 100%; }

@media (max-width: 520px) {
  .rueckruf { left: 12px; right: 12px; bottom: 12px; }
  .rueckruf__knopf { width: 100%; justify-content: center; }
  .rueckruf__panel { width: 100%; max-height: 72vh; }
}

@media print { .rueckruf { display: none; } }

/* Auswahlknoepfe nebeneinander (z. B. gewuenschter Kontaktweg auf /fahrzeuge) */
.check-row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.check-row .check { font-size: .95rem; }
.field__label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }

/* Angebots-PDF als Knopf (statt Einbettung, 07.10.2026): zentriert, grosser Hauptknopf, Download daneben */
.pdf-knopf { text-align: center; margin: 8px 0 28px; }
.pdf-knopf .btn { margin: 0 6px 10px; }
.pdf-knopf .btn--lg { font-size: 1.1rem; padding: 16px 28px; }
.pdf-knopf p { margin-top: 6px; }

