/* ==========================================================================
   Vetter Law – Stylesheet
   Klar, hell, eine Akzentfarbe (Petrol). Serifen für Überschriften,
   serifenlose Schrift für Fließtext, eckige Buttons, weiche Karten.
   ========================================================================== */

:root {
  --brand:       #00606B;   /* Akzentfarbe (Petrol) */
  --brand-dark:  #004750;
  --brand-deep:  #003840;
  --brand-rgb:   0, 96, 107;
  --brand-50:    #EEF6F7;
  --brand-100:   #D9EBED;

  --ink:    #0D1A1D;   /* Text dunkel */
  --ink-2:  #3A474B;   /* Fließtext */
  --ink-3:  #66737A;   /* gedämpft */
  --line:   #E3E8EA;
  --soft:   #F4F7F8;   /* ruhige Sektionen */
  --white:  #FFFFFF;

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

  --radius-card: 20px;
  --radius:      14px;
  --radius-s:    8px;

  --card-border: 0.8px solid rgba(var(--brand-rgb), .22);
  --card-shadow: 0 2px 8px rgba(8, 40, 46, .07), 0 18px 48px rgba(8, 40, 46, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
  --card-shadow-hover: 0 4px 12px rgba(8, 40, 46, .09), 0 26px 60px rgba(8, 40, 46, .2);

  --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: 1180px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(52px, 6.5vw, 84px);
  --header-h: 72px;
  --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(--white);
  -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; }
a:hover { color: var(--brand-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(--ink); }
h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.85rem); letter-spacing: -.02em; color: var(--brand); }
h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; color: var(--brand); line-height: 1.2; }
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(--brand); outline-offset: 3px; }
::selection { background: var(--brand-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: #fff; color: var(--brand); padding: 10px 16px; font-weight: 600; box-shadow: 0 6px 18px rgba(8, 40, 46, .3); transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--brand); }

.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: block; margin: 0 0 14px;
  font-family: var(--font-sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.15rem); 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(--brand); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 11px 24px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2;
  color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.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(--brand-50); color: var(--brand-dark); border-color: var(--brand-50); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn--brass { background: var(--brand); color: #fff; }  /* Alias – historisch */
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; 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: .35em;
  font-weight: 700; font-size: .95rem; color: var(--brand); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand-dark); }
.link-arrow:hover::after { transform: translateX(3px); }

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

/* ---------- Header & Menü ---------- */
/* Kopfleiste in Petrol (wie der Footer), Schrift weiß; Dropdowns und Handy-Panel bleiben weiß */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 28px -18px rgba(8, 40, 46, .6);
}
.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: 10px; text-decoration: none; color: #fff; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.02; letter-spacing: .06em; text-transform: uppercase; color: inherit; }
.brand:hover { color: rgba(255, 255, 255, .82); }
.site-header .brand:focus-visible, .nav-toggle:focus-visible { outline-color: #fff; }
/* 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: 600; text-decoration: none; color: var(--ink); }
.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(--brand); padding: 0; }
.nav__contact { display: none; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: #fff; 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: 2px; }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { padding: 10px 4px 10px 10px; font-size: .93rem; }
  .nav__item:not(.has-sub) > .nav__link { padding-right: 10px; }
  .nav__link { color: rgba(255, 255, 255, .9); }
  .nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: #fff; }
  .nav__item.is-active > .nav__link { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
  .nav__link:focus-visible, .nav__toggle:focus-visible { outline-color: #fff; }
  .nav__toggle { display: inline-grid; place-items: center; width: 22px; height: 32px; margin-right: 4px; color: rgba(255, 255, 255, .85); }
  .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% + 22px); left: 0; z-index: 60; min-width: 280px;
    background: #fff; border: var(--card-border); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(8, 40, 46, .38);
    padding: 10px;
    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: 8px 12px; border-radius: 8px; font-size: .94rem; }
  .nav__sub li:first-child a { font-weight: 700; color: var(--brand); }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--brand-50); }
  .nav__item--cta { margin-left: 12px; }
  .nav__item--cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
  .nav__item--cta .btn:hover { background: var(--brand-50); color: var(--brand-dark); border-color: var(--brand-50); }
  .nav__item--cta .btn:focus-visible { outline-color: #fff; }
}

@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(8, 40, 46, .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; }
  .nav__toggle { width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; }
  .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); }
.section--tint { background: linear-gradient(135deg, rgba(var(--brand-rgb), .07), rgba(var(--brand-rgb), 0) 60%); }
.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: rgba(255, 255, 255, .75); }
.section--dark .lead { color: rgba(255, 255, 255, .88); }
.section--dark a:not(.btn) { color: #fff; }
.section--deko { overflow: hidden; }
.section--deko::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  left: -260px; top: 10%;
  background: radial-gradient(closest-side, rgba(var(--brand-rgb), .06), rgba(var(--brand-rgb), 0));
}
.section--deko-r::before { left: auto; right: -260px; }
.section > .container { position: relative; }

.section-head { margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head h2 { margin-bottom: .4em; }
.section-head > p:last-child { margin-bottom: 0; }
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center .lead, .section-head--center > p:not(.eyebrow) { max-width: 780px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { text-align: left; }
.section-head--center.section-head--eyebrow-center .eyebrow { text-align: center; }
.section-head--center::after { content: ""; display: block; width: 68px; height: 2px; margin: 24px auto 0; background: var(--brand); }
.section-head--plain::after { display: none; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px 56px; align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Grids ---------- */
/* Grid-Kinder dürfen schmaler werden als ihr Inhalt (breite Tabellen scrollen dann in .table-wrap) */
.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(16px, 2vw, 24px); }
.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: 1000px) { .grid--3, .grid--4 { 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, 72px); align-items: center; }
.split--wide-left { grid-template-columns: 1.25fr 1fr; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Karten ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .78); border: var(--card-border); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.2vw, 28px);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; 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 { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.card--flat { box-shadow: none; }
.card--tint { background: var(--brand-50); border-color: var(--brand-100); box-shadow: none; }
.card--dark { background: var(--brand); border-color: var(--brand); color: rgba(255, 255, 255, .88); }
.card--dark h3, .card--dark strong { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .85); }
.card--dark .eyebrow { color: rgba(255, 255, 255, .75); }
.card--dark .link-arrow { color: #fff; }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.card__icon svg { width: 24px; height: 24px; }
.card__num { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); margin: 0 0 12px; }
.card__meta { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.card .btn { align-self: flex-start; }

/* Bereichs-Karte (Startseite) */
.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-card--main { background: rgba(255, 255, 255, .78); }
.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(--brand); }
.area-links a:hover { color: var(--brand); }

/* ---------- Badges & Tags ---------- */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; 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: 10px; margin: 0; padding: 0; }
.tags li, .tag { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--brand); background: #fff; border: 1px solid rgba(var(--brand-rgb), .28); }
.tags--center { justify-content: center; }
.tags--small li { padding: 3px 10px; font-size: .76rem; }
.section--dark .tags li { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); min-height: min(calc(100vh - var(--header-h)), 760px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__text { text-align: center; }
.hero__title { font-size: clamp(2.7rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 34px; }
.hero__title .l { display: block; }
.hero__title .w + .w { margin-left: .08em; }
.hero__title em { font-style: italic; color: var(--brand); }
.hero__sub { max-width: 520px; margin: -12px auto 30px; color: var(--ink-2); font-size: 1.02rem; }
.hero__art img { width: 100%; max-width: 540px; height: auto; margin: 0 auto; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { order: -1; max-width: 360px; margin: 0 auto; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.5rem, 5.6vw, 4.1rem); letter-spacing: -.02em; line-height: 1.04; color: var(--brand); margin: 0 0 20px; }
.page-hero__title em { font-style: italic; color: var(--ink); font-weight: 400; }
.page-hero__lead { max-width: 720px; font-size: 1.02rem; color: var(--ink-2); margin-bottom: 26px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.page-hero__art { display: flex; justify-content: center; margin-top: 28px; }
.page-hero__art img { width: 190px; height: auto; }
.page-hero .eyebrow { margin-bottom: 10px; }
@media (max-width: 640px) { .page-hero__art img { width: 140px; } }
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; 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; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-3); }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .86rem; color: var(--ink-3); margin: -4px 0 18px; }

/* ---------- Inhalt mit Seitenleiste ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.layout__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } .layout__aside { position: static; } }
.aside-card { background: #fff; border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 24px 22px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.aside-card p { font-size: .94rem; color: var(--ink-2); }
.aside-card .eyebrow { margin-bottom: 8px; }
.aside-card .btn { width: 100%; }
.aside-card--dark { border-top: 3px solid var(--brand); }
.aside-contact { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.aside-contact a { font-weight: 600; text-decoration: none; }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav li + li { border-top: 1px solid var(--line); }
.aside-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.aside-nav a::after { content: "→"; color: var(--brand); }
.aside-nav a:hover, .aside-nav a[aria-current="page"] { color: var(--brand); }
.aside-nav a[aria-current="page"]::after { content: "●"; font-size: .6rem; align-self: center; }

/* ---------- Fließtext ---------- */
.prose { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin: 1.9em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; 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: .15em; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .45em; padding-left: .25em; }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--brand); font-family: var(--font-serif); font-size: 1.18rem; font-style: italic; color: var(--brand); line-height: 1.55; }
.prose > .intro { font-size: 1.12rem; 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: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300606B' 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;
}
.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;
}
.card--dark .checklist li::before, .section--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;
}

/* Hinweisboxen */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); 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; }
.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; }
.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(14px, 2vw, 22px); }
.fact-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { background: rgba(255, 255, 255, .78); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 22px 22px 20px; text-align: center; }
.fact__value { display: block; font-family: var(--font-serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.05; color: var(--brand); margin-bottom: 8px; letter-spacing: -.01em; }
.fact__label { display: block; font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.fact__src { display: block; margin-top: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: var(--ink-3); }
@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 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; counter-increment: step; background: rgba(255, 255, 255, .8); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 30px 24px 26px; }
.step::before { content: ""; display: block; width: 36px; height: 3px; background: var(--brand); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.steps--numbered .step::before { content: counter(step, decimal-leading-zero); width: auto; height: auto; background: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); padding-top: 12px; border-top: 3px solid var(--brand); display: inline-block; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .steps--3 { grid-template-columns: 1fr; } }
.prose .steps { grid-template-columns: 1fr 1fr; }
@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: 2px; background: var(--brand-100); }
.timeline li, .prose .timeline li { position: relative; padding: 0 0 24px 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: #fff; border: 3px solid var(--brand); }
.timeline__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); 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) */
.scenario { display: flex; flex-direction: column; background: rgba(255, 255, 255, .8); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.2vw, 28px); }
.scenario h3 { font-size: 1.2rem; margin-bottom: 14px; }
.scenario dl { margin: 0; display: grid; gap: 12px; }
.scenario dt { display: inline; font-weight: 700; color: var(--ink); }
.scenario dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.scenario dd + dt { padding-top: 12px; border-top: 1px solid var(--line); }
.disclaimer { margin-top: 22px; font-size: .88rem; color: var(--ink-3); font-style: italic; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: var(--card-border); border-radius: var(--radius); background: #fff; }
.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-50); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid rgba(var(--brand-rgb), .22); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: rgba(var(--brand-rgb), .4); box-shadow: 0 10px 30px -16px rgba(8, 40, 46, .3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-sans); font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq__body { padding: 0 20px 18px; color: var(--ink-2); font-size: .97rem; }
.faq__body > :last-child { margin-bottom: 0; }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.audience__item { display: flex; flex-direction: column; background: rgba(255, 255, 255, .8); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 26px 22px; }
.audience__item > svg { width: 30px; height: 30px; color: var(--brand); 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; } }

/* Profil / Team */
.profile { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }
.portrait { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #e9eef0, #cfd9dc); overflow: hidden; }
.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), .35); }
.portrait__placeholder small { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.profile__name { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 600; color: var(--brand); margin: 0 0 2px; line-height: 1.15; }
.profile__role { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.quote { margin: 22px 0; padding-left: 20px; border-left: 2px solid var(--brand); font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: var(--brand); line-height: 1.55; }

/* Team (Fotos in Schwarz-Weiß, Name, Funktion, E-Mail) */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; background: #fff; border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); overflow: hidden; }
.team-card__photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #eef2f3, #d5dfe1); 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), .45); }
.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: 18px 20px 22px; }
.team-card__name { font-size: 1.15rem; margin: 0 0 4px; }
.team-card__role { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); 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; }

.profile__photo { border-radius: var(--radius-card); overflow: hidden; border: var(--card-border); box-shadow: var(--card-shadow); }

/* Ratgeber-Karten */
.article-card { padding: 0; overflow: hidden; }
.article-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.article-card__top:empty { display: none; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px clamp(20px, 2.2vw, 28px) 26px; }
.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; }
.article-card .link-arrow { margin-top: auto; }

/* Inhaltsverzeichnis */
.toc { background: var(--soft); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.toc h3, .toc .toc__title { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); 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 (hell, wie „Worauf es ankommt“) */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); background: linear-gradient(135deg, rgba(var(--brand-rgb), .08), rgba(255, 255, 255, .9) 65%); }
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 640px; color: var(--ink-2); }
.cta-band .btn-row { justify-content: flex-end; }
@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); }
.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(--brand); 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 #CBD5D8; 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='%2366737A' 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), .15); }
[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); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-list .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.contact-list svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.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: var(--card-border); border-radius: var(--radius-card); 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: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); overflow: hidden; }
.tool__head { padding: 24px clamp(20px, 3vw, 32px); background: var(--brand); color: rgba(255, 255, 255, .9); }
.tool__head h2, .tool__head h3 { color: #fff; margin: 0 0 6px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.tool__head p { margin: 0; font-size: .96rem; }
.tool__head .eyebrow { color: rgba(255, 255, 255, .75); margin-bottom: 8px; }
.tool__body { padding: clamp(20px, 3vw, 32px); }
.tool__progress { height: 4px; background: rgba(255, 255, 255, .22); margin-top: 16px; overflow: hidden; }
.tool__progress span { display: block; height: 100%; width: 0; background: #fff; 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), .35); }
.q__opts label { position: relative; cursor: pointer; }
.q__opts label + label { border-left: 1px solid rgba(var(--brand-rgb), .35); }
.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(--brand); 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-radius: var(--radius); 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; border-radius: var(--radius); 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-serif); font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 600; 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: var(--card-border); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(8, 40, 46, .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.3rem; letter-spacing: -.01em; 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; }
  .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 ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .85); font-size: .95rem; }
.site-footer a:not(.btn) { color: #fff; text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; }
.site-footer strong { color: #fff; }
/* Marke + vier Linkspalten; darunter rückt die Marke in eine eigene Zeile */
.footer-top { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding: clamp(48px, 6vw, 72px) 0 44px; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 12px 40px; align-items: start; }
  .footer-brand p { margin: 0; }
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand, .site-footer .brand__text { color: #fff; }
.footer-brand p { margin: 18px 0; max-width: 330px; }
.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: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); 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: 24px 26px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); }
.footer-cta .eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.footer-cta p { margin: 0; }
.footer-cta .footer-cta__direct { margin-top: 6px; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 22px 0 30px; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .2); 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, .6); }

/* ---------- 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-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 56px; }
.mb-0 { margin-bottom: 0 !important; }
.center-block { display: flex; justify-content: center; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; }
.placeholder { background: #FFF3CD; color: #7A5A00; padding: 0 .3em; font-weight: 600; }

@media print {
  .site-header, .direct, .site-footer, .layout__aside, .cta-band, .hero__art, .page-hero__art { display: none !important; }
  body { font-size: 11pt; }
  .section { padding: 16pt 0; }
}

/* ---------- 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; }
.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--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(255, 255, 255, .22); 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: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.eckdaten dt, .prose .eckdaten dt { font-family: var(--font-sans); font-size: inherit; font-weight: 700; color: var(--ink); margin: 0; }
.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__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; }
.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); }
.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; }
.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); }

/* 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="Angelegt am"], .tabelle td[data-label="Mobilnummer"] { white-space: nowrap; }
.tabelle td[data-label="E-Mail"], .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 .form { gap: 12px; }
.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: 900px; }
.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; }
}
