/* ============================================================
   Accidentright — Stylesheet der öffentlichen Website.
   Baut auf tokens.css auf (Farben, Typografie, Abstände, Schatten).
   ============================================================ */

/* ------------------------------------------------------------
   Lesbarkeits-Token (WCAG 2.1 AA)

   Das Akzent-Amber (#FF8A00) trägt die Marke, erreicht als TEXT auf
   hellem Grund aber nur 2,4:1 — gefordert sind 4,5:1. Flächen (Buttons)
   behalten deshalb das Original, Text bekommt eine abgedunkelte Variante.
   Gleiches Bild bei den gedämpften Grautönen.
   ------------------------------------------------------------ */
:root {
  /* Amber als Textfarbe: besteht auf Weiß (5,3:1) und auf --slate-50 (4,9:1). */
  --accent-text: #AD5100;
  /* Gedämpfter Text. --slate-400 erreicht nur 2,9:1. --slate-500 genügt auf
     Weiß, fällt auf getönten Karten (Erfolg, Hinweis, Warnung) aber unter
     4,5:1. Dieser Ton besteht auf allen verwendeten hellen Untergründen —
     der schlechteste Fall liegt bei 4,97:1. */
  --text-subtle-accessible: #57657D;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-default);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* <picture> ist nur eine Hülle für die Formatauswahl. `display: contents`
   nimmt sie aus dem Layout, damit die bestehenden Regeln weiterhin direkt
   auf das <img> wirken (Seitenverhältnis, object-fit, Höhe 100 %). */
picture { display: contents; }

/* Kleines rundes Porträt, z. B. in der Kontaktliste. */
.avatar { flex: 0 0 auto; display: block; width: 40px; height: 40px; }
.avatar img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; object-position: center top;
}

/* Bild mit weichen Ecken und Schatten (Über-uns-Seite). */
.rounded-media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
a { color: var(--link); }
::selection { background: rgba(255, 138, 0, .25); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

/* Sichtbarer Fokus für Tastaturbedienung — nie entfernen. */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Sprungmarke für Screenreader / Tastatur */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-md); }
.container--wide { max-width: var(--container-lg); }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--light { background: var(--slate-0); }
.section--sunken { background: var(--slate-50); }
.section--dark { background: #00004A; color: var(--slate-0); }

.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: var(--space-6); }
.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: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Typografie-Hilfen ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--signal-500); }
.section--dark .eyebrow, .hero .eyebrow,
.cta-band .eyebrow, .page-head .eyebrow { color: var(--signal-400); }

.h-display { font-size: var(--text-display-lg); font-weight: var(--fw-bold); line-height: var(--leading-tight); }
.h-section { font-size: var(--text-display-md); font-weight: var(--fw-bold); }
.h-card { font-size: var(--text-xl); font-weight: var(--fw-bold); }

.lead { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle-accessible); font-size: var(--text-sm); }
/* Auf dunklen Flächen ist der helle Ton der kontrastreiche — dort zurückschalten. */
.section--dark .subtle, .hero .subtle, .cta-band .subtle,
.page-head .subtle, .site-footer .subtle { color: #9FB0C6; }

/* Sterne tragen die Bewertung mit. Auf hellem Grund abgedunkelt, damit sie
   lesbar bleiben; auf dunklem Grund bleibt das helle Marken-Amber. */
.stars { color: var(--accent-text); letter-spacing: 2px; }
.section--dark .stars, .hero .stars, .hero__rating .stars { color: var(--signal-500); }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-2xl); margin: var(--space-10) 0 var(--space-3); }
.prose h3 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-2); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 var(--space-4); line-height: var(--leading-relaxed); }
.prose ul, .prose ol { margin: 0 0 var(--space-4) var(--space-6); }
.prose li { margin-bottom: var(--space-2); line-height: var(--leading-relaxed); }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-6); }
.prose th, .prose td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border-default); }
.prose blockquote {
  margin: 0 0 var(--space-4); padding: var(--space-4) var(--space-6);
  border-left: 3px solid var(--signal-500); background: var(--slate-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-h-md); padding: 0 var(--space-5);
  border: 0; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: var(--transition-control);
}
.btn--lg { height: var(--control-h-lg); padding: 0 var(--space-6); font-size: var(--text-lg); }
.btn--sm { height: var(--control-h-sm); padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn--block { width: 100%; }

.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--accent:active { background: var(--accent-active); transform: none; }

.btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn--brand:hover { background: var(--brand-hover); }

.btn--outline { background: transparent; color: var(--text-strong); border: var(--border-w-thick) solid var(--border-strong); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost { background: transparent; color: var(--text-muted); }
.btn--ghost:hover { background: var(--bg-inset); color: var(--text-strong); }

/* Auf allen dunklen Flächen — nicht nur im Hero. Ohne das CTA-Band in dieser
   Liste stünde dort dunkler Text auf dunkelblauem Grund. */
.section--dark .btn--outline,
.hero .btn--outline,
.cta-band .btn--outline,
.page-head .btn--outline {
  color: #fff; border-color: rgba(255, 255, 255, .22);
}
.section--dark .btn--outline:hover,
.hero .btn--outline:hover,
.cta-band .btn--outline:hover,
.page-head .btn--outline:hover {
  border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08);
}

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__bar {
  max-width: var(--container-xl); margin: 0 auto;
  padding: 13px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.site-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__logo img { height: 50px; width: auto; }

.site-nav { display: flex; gap: 2px; align-items: center; width: 100%; order: 3; justify-content: center; flex-wrap: wrap; }
.site-nav a {
  position: relative; padding: 8px 12px;
  font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: var(--text-default); text-decoration: none; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 12px; right: 100%; bottom: -2px;
  height: 2px; background: var(--accent); transition: right var(--dur-fast) var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 12px; }
.site-nav a[aria-current="page"] { color: var(--ink-900); }

.site-header__cta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; margin-left: auto; order: 2; }

.phone-link { display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.phone-link__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand); flex: 0 0 auto;
}
.phone-link__number { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--ink-900); }
.phone-link__hours { font-size: var(--text-2xs); color: var(--text-muted); }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: #fff;
  cursor: pointer; color: var(--ink-900); padding: 0; margin-left: auto; order: 2;
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--border-subtle); background: #fff; padding: 6px var(--gutter) 22px; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  padding: 15px 4px; font-size: var(--text-lg); font-weight: var(--fw-semibold);
  color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu__links a:last-child { border-bottom: 0; }

@media (max-width: 980px) {
  .site-nav, .site-header__cta { display: none; }
  .burger { display: inline-flex; }
  .site-header__logo img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #00004A; color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 20%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 80, .55), transparent 45%),
    linear-gradient(90deg, rgba(0, 0, 80, .96) 0%, rgba(0, 0, 80, .9) 26%, rgba(0, 0, 80, .62) 48%, rgba(0, 0, 80, .18) 66%, rgba(0, 0, 80, 0) 84%);
}
.hero__inner {
  position: relative; max-width: var(--container-xl); margin: 0 auto;
  padding: 80px var(--gutter); min-height: 620px;
  display: flex; align-items: center;
}
.hero__content { max-width: 600px; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.02; color: #fff; margin: 18px 0 0; }
.hero__subline { font-size: var(--text-xl); color: var(--blue-300); font-weight: var(--fw-semibold); margin-top: 16px; }
.hero__text { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: #9FB0C6; max-width: 480px; margin-top: 18px; }
.hero__actions { display: flex; gap: 14px; align-items: center; margin-top: 32px; flex-wrap: wrap; }

.hero__usps { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; max-width: 430px; list-style: none; }
.hero__usps li { display: flex; gap: 13px; align-items: flex-start; }
.hero__usps .icon-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255, 138, 0, .14); color: var(--signal-400);
}
.hero__usps strong { display: block; color: #fff; font-size: var(--text-sm); }
.hero__usps span { font-size: var(--text-sm); color: #9FB0C6; }

.hero__rating {
  position: absolute; right: var(--gutter); bottom: 34px;
  background: rgba(10, 17, 128, .82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-lg);
  padding: 16px 20px; min-width: 200px; box-shadow: var(--shadow-xl);
}
.hero__rating .stars { color: var(--signal-500); font-size: var(--text-md); letter-spacing: 2px; }
.hero__rating .value { font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-bold); color: #fff; line-height: 1; }

@media (max-width: 1100px) { .hero__rating { display: none; } }
@media (max-width: 640px) { .hero__inner { min-height: 520px; padding: 56px var(--gutter); } }

/* ---------- Vertrauensleiste ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--border-subtle); }
.trustbar__inner {
  max-width: var(--container-xl); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between;
}
.trustbar__item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); font-weight: var(--fw-semibold); }

/* ---------- Karten ---------- */
.card {
  background: var(--bg-surface); border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
  padding: var(--space-6); transition: var(--transition-control);
}
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border-default); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--brand-tint); color: var(--brand); margin-bottom: var(--space-4);
}
.card h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.card p { color: var(--text-muted); line-height: var(--leading-relaxed); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4); font-weight: var(--fw-bold); color: var(--brand); font-size: var(--text-sm); }

/* ---------- Checkliste ---------- */
.checklist { list-style: none; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: var(--leading-relaxed); }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--success-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FA971' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Leistungsdetail: Text + Seitenspalte */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .service-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.team-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-surface);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
  transition: var(--transition-control);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.team-card__photo { aspect-ratio: 3 / 4; background: var(--slate-100); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__body { padding: var(--space-4) var(--space-5) var(--space-5); }
.team-card__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--ink-900); }
.team-card__role { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }

/* ---------- Sachverständigen-Profil ---------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-10); align-items: start; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile__photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.profile__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.profile__contact { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* Digitale Visitenkarte (QR + vCard-Download) in der Profilspalte. */
.vcard-box {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-sunken);
  text-align: center;
}
.vcard-box__title {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-weight: var(--fw-bold); color: var(--text-strong);
  margin-bottom: var(--space-4);
}
.vcard-box__qr {
  width: 176px; max-width: 100%; margin: 0 auto var(--space-4);
  background: #fff; padding: var(--space-3);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.vcard-box__qr svg { width: 100%; height: auto; display: block; }
.vcard-box__hint {
  font-size: var(--text-xs); color: var(--text-muted);
  line-height: var(--leading-normal); margin-bottom: var(--space-4);
}

.training-list { list-style: none; display: grid; gap: var(--space-3); }
.training-list li {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--space-4);
  padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle);
}
.training-list time { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); padding-top: 2px; }
.training-list strong { display: block; font-weight: var(--fw-semibold); line-height: var(--leading-normal); }
.training-list span { font-size: var(--text-sm); color: var(--text-muted); }
@media (max-width: 640px) { .training-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-5) var(--space-6);
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold);
  color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362718A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--space-6) var(--space-5); color: var(--text-muted); line-height: var(--leading-relaxed); }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-5); }
.dl { display: flex; flex-direction: column; }
.dl__head { display: flex; gap: var(--space-4); align-items: flex-start; }

/* Dokument-Optik als „Deckblatt“ — ohne serverseitige Miniatur. */
.dl__badge {
  flex: 0 0 auto; width: 52px; height: 66px; border-radius: 7px;
  background: linear-gradient(160deg, #fff, var(--bg-inset));
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--red-500);
}
.dl__badge::before { /* umgeknickte Ecke */
  content: ""; position: absolute; top: -1px; right: -1px; width: 15px; height: 15px;
  background: var(--bg-inset); border-left: 1px solid var(--border); border-bottom: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}
.dl__badge::after { /* angedeutete Textzeilen */
  content: ""; position: absolute; top: 13px; left: 9px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--border); box-shadow: 0 6px 0 var(--border), 0 12px 0 var(--border);
}
.dl__title { margin: 0; }
.dl__desc { margin-top: var(--space-2); color: var(--text-muted); }

.dl__preview { margin-top: var(--space-4); }
.dl__preview > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--brand);
}
.dl__preview > summary::-webkit-details-marker { display: none; }
.dl__preview[open] > summary { margin-bottom: var(--space-3); }
.dl__frame { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-inset); }
.dl__frame iframe { display: block; width: 100%; height: 460px; border: 0; }

.dl__actions { margin-top: auto; padding-top: var(--space-5); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.dl__meta { font-size: var(--text-sm); color: var(--text-muted); margin-left: auto; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); list-style: none; }
.tag {
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--bg-inset); color: var(--text-muted);
}

/* ---------- Formulare ---------- */
.field { display: block; margin-bottom: var(--space-5); }
.field__label { display: block; font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: var(--space-2); }
.field__hint { display: block; font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-2); }
.field__error { display: block; font-size: var(--text-sm); color: var(--danger); margin-top: var(--space-2); font-weight: var(--fw-semibold); }

.input, .textarea, .select {
  width: 100%; font-family: inherit; font-size: var(--text-md); color: var(--text-strong);
  background: var(--bg-surface); border: var(--border-w) solid var(--border-default);
  border-radius: var(--radius-md); padding: 0 var(--space-4); height: var(--control-h-lg);
  transition: var(--transition-control);
}
.textarea { height: auto; min-height: 140px; padding: var(--space-3) var(--space-4); line-height: var(--leading-relaxed); resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); outline: 3px solid var(--focus-ring); outline-offset: 0; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }

.choice-group { display: grid; gap: var(--space-3); }
.choice {
  display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer;
  padding: var(--space-4); border: var(--border-w-thick) solid var(--border-default);
  border-radius: var(--radius-lg); background: var(--bg-surface);
  transition: var(--transition-control);
}
.choice:hover { border-color: var(--border-strong); }
.choice input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice strong { display: block; font-weight: var(--fw-bold); }
.choice span { font-size: var(--text-sm); color: var(--text-muted); }

/* Honeypot: für Menschen unsichtbar, für einfache Bots verlockend. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); margin-bottom: var(--space-6); font-weight: var(--fw-semibold); }
.alert--error { background: var(--danger-tint); color: var(--red-600); border: 1px solid var(--red-500); }
.alert--success { background: var(--success-tint); color: var(--green-600); border: 1px solid var(--green-500); }
.alert--info { background: var(--brand-tint); color: var(--blue-700); border: 1px solid var(--blue-400); }
.alert ul { margin: var(--space-2) 0 0 var(--space-5); }

/* Schrittanzeige im Meldeformular */
.steps { display: flex; gap: var(--space-2); list-style: none; margin-bottom: var(--space-8); flex-wrap: wrap; }
.steps li {
  flex: 1 1 120px; padding-top: var(--space-3); border-top: 3px solid var(--border-default);
  font-size: var(--text-xs); font-weight: var(--fw-bold); color: var(--text-subtle);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
}
.steps li[aria-current="step"] { border-top-color: var(--accent); color: var(--ink-900); }
.steps li[data-done="true"] { border-top-color: var(--success); color: var(--text-muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; font-size: var(--text-xs); list-style: none; }
.breadcrumb a { color: inherit; text-decoration: none; opacity: .8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: var(--space-2); opacity: .5; }
.breadcrumb li[aria-current="page"] { color: var(--signal-400); }

/* ---------- Seitenkopf (innere Seiten) ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #00004A, #0A1180);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 360px at 88% -20%, rgba(37, 99, 235, .25), transparent 60%);
}
.page-head__inner { position: relative; max-width: var(--container-xl); margin: 0 auto; padding: 54px var(--gutter) 56px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.875rem); color: #fff; margin-top: 14px; }
.page-head .lead { color: #9FB0C6; margin-top: var(--space-4); max-width: 60ch; }
.page-head .breadcrumb { color: #9FB0C6; }

/* ---------- Partnerlogos ---------- */
.partner-strip { display: flex; flex-wrap: wrap; gap: var(--space-8); align-items: center; justify-content: center; }
.partner-strip img {
  max-height: 46px; width: auto; opacity: .62;
  filter: grayscale(1); transition: var(--transition-control);
}
.partner-strip img:hover { opacity: 1; filter: none; }

/* ---------- Kundenstimmen ---------- */
.review-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.review-card blockquote { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-default); margin: 0; }
.review-card__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.review-card__initials {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: var(--fw-bold); font-family: var(--font-display);
}

/* ---------- Kontakt / Karte ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-12); align-items: start; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

.map-placeholder {
  border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-default);
  background: var(--slate-100); min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-4); text-align: center; padding: var(--space-8);
}
/* Der Grund ist hier getönt — der gedämpfte Ton käme nur auf 4,2:1. */
.map-placeholder .subtle { color: var(--text-muted); }
.map-placeholder a.subtle { color: var(--link); text-decoration: underline; }
.map-frame { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius-xl); }

/* ---------- Call-to-Action-Band ---------- */
.cta-band { background: linear-gradient(120deg, #00004A, #0A1180); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #9FB0C6; margin-top: var(--space-3); }
.cta-band__inner {
  max-width: var(--container-xl); margin: 0 auto; padding: var(--section-y) var(--gutter);
  display: flex; gap: var(--space-8); align-items: center; justify-content: space-between; flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #9FB0C6; padding: var(--space-16) 0 var(--space-8); }
.site-footer a { color: #9FB0C6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow);
  color: var(--slate-400); margin-bottom: var(--space-4); font-family: var(--font-sans); font-weight: var(--fw-bold);
}
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-10); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; display: grid; gap: var(--space-2); }
.site-footer__logo { height: 44px; width: auto; margin-bottom: var(--space-4); }
.site-footer__bottom {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6);
  justify-content: space-between; font-size: var(--text-xs);
}

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 1px; background: var(--border-default);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .12);
}
.action-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 14px 8px; background: #fff; text-decoration: none;
  font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--ink-900);
}
.action-bar a.is-accent { background: var(--accent); color: var(--on-accent); }
@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 56px; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .action-bar, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: none; padding: 0; }
}

/* Unfallskizze: Text links, Handlungsknopf rechts. */
.sketch {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8); align-items: center;
}
@media (max-width: 820px) { .sketch { grid-template-columns: minmax(0, 1fr); } }
