/* =========================================================
   Hirschhorn Herford — Stylesheet
   Eine Datei, shared über alle Seiten.
   ========================================================= */

/* Self-hosted Webfonts (variable, latin + latin-ext) */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Backgrounds — warm/neutral, kein Grün mehr */
  --bg-base:        #F6F1E7;  /* Cream bleibt — Wärme gegen das kühle Blau */
  --bg-surface:     #FFFBF2;
  --bg-elevated:    #FFFFFF;
  --bg-dark:        #002C8B;  /* Logo-Blau für Dark-Sections, Top-Bar, Footer */
  --bg-dark-deep:   #001C5C;  /* Noch tieferer Ton für Footer-Bottom-Bar */

  /* Text */
  --text-primary:   #0E1A3A;  /* Fast-schwarz mit Blaustich */
  --text-muted:     #5A6882;  /* Kühl-grauer Sekundärtext */
  --text-inverse:   #F6F1E7;

  /* Brand — Logo-Blau */
  --primary:        #002C8B;
  --primary-hover:  #001C5C;
  --primary-soft:   #DCE3F2;
  --primary-strong: #0243A1;

  /* Accent — reduziert, zweites Blau */
  --accent:         #0243A1;
  --accent-soft:    #E8EEF8;

  /* CTA — Brand-Gelb für Signal-Buttons */
  --cta:            #F5B800;
  --cta-hover:      #DDA200;
  --cta-text:       #0E1A3A;

  /* Utility */
  --border:         #E1DDD0;
  --border-strong:  #BFB8A3;
  --success:        #1D7A4E;
  --warning:        #C97B1F;
  --danger:         #A83232;

  /* Shadows — etwas kühler */
  --shadow-sm: 0 1px 2px rgba(14, 26, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 26, 58, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 26, 58, 0.14);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs:   clamp(0.75rem, 0.70rem + 0.15vw, 0.80rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.20vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.30rem);
  --text-xl:   clamp(1.35rem, 1.20rem + 0.70vw, 1.65rem);
  --text-2xl:  clamp(1.65rem, 1.40rem + 1.20vw, 2.25rem);
  --text-3xl:  clamp(2.00rem, 1.60rem + 2.00vw, 3.00rem);
  --text-4xl:  clamp(2.50rem, 2.00rem + 2.50vw, 3.75rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container-max: 1200px;
  --container-padding: clamp(16px, 4vw, 32px);
  --header-h: 140px;
  --topbar-h: 32px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-radius: var(--radius-lg); }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-stretch: 95%;
  line-height: 1.1;
  margin: 0 0 var(--space-4) 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p  { margin: 0 0 var(--space-4) 0; max-width: 65ch; }
ul, ol { margin: 0 0 var(--space-4) 0; padding-left: var(--space-5); }
li { margin-bottom: var(--space-2); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--text-inverse);
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.section {
  padding-block: var(--space-8);
}
@media (min-width: 1024px) {
  .section { padding-block: var(--space-9); }
}
.section--cream { background: var(--bg-surface); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.section--dark h2, .section--dark h3 { color: var(--text-inverse); }
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: var(--shadow-md);
}
.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--cta-text);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary-soft); }
.section--dark .btn-outline {
  color: var(--text-inverse);
  border-color: var(--text-inverse);
}
.section--dark .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-inverse);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: var(--text-xs);
  padding-block: 6px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.topbar a { color: var(--text-inverse); text-decoration: none; }
.topbar a:hover { color: var(--cta); }
.topbar__meta { display: flex; gap: var(--space-4); align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .topbar__hide-mobile { display: none; }
}

/* ---------- Header ---------- */
.header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: 16px 14px;
}
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .header__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .header__top .header__brand { grid-column: 2; justify-self: center; }
  .header__top .header__actions { grid-column: 3; justify-self: end; }
}
.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-primary);
}
.header__logo {
  width: auto;
  height: 52px;
  max-height: 52px;
  border-radius: 0;
  flex-shrink: 0;
  object-fit: contain;
}
@media (max-width: 1023px) {
  .header__logo { height: 40px; max-height: 40px; }
}
.header__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}
.header__brand-claim {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: none;
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
  }
}
.nav > ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-7);
  align-items: center;
}
.nav > ul > li { margin: 0; }
.nav a {
  position: relative;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  transition: color 150ms;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 200ms ease;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav__dropdown { position: relative; }
.nav__dropdown > button {
  position: relative;
  background: transparent;
  border: none;
  font: inherit;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 150ms;
}
.nav__dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 200ms ease;
}
.nav__dropdown > button:hover { color: var(--primary); }
.nav__dropdown > button:hover::after { width: 100%; }
.nav__dropdown > button[aria-current="page"]::after,
.nav__dropdown.is-current > button::after {
  width: 100%;
}
.nav__dropdown > button .chevron {
  display: inline-block;
  transition: transform 180ms ease;
  font-size: 0.85em;
  line-height: 1;
}
.nav__dropdown > button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  min-width: 220px;
  display: none;
  z-index: 10;
  list-style: none;
  margin: 0;
  flex-direction: column;
  gap: 2px;
}
/* Dropdown öffnet nur per Klick (JS setzt .is-open) – kein Auto-Öffnen bei Hover/Fokus */
.nav__dropdown.is-open .nav__dropdown-menu {
  display: flex;
}
.nav__dropdown-menu li { margin: 0; }
.nav__dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 11px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.nav__dropdown-menu a::after { display: none; }
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a:focus-visible {
  border-left-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
  background: var(--primary-soft);
}
.nav__dropdown-menu a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}
.nav__dropdown-menu a[aria-current="page"]::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 700;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header__cta {
  padding: 12px 22px;
  font-size: var(--text-sm);
}

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: var(--space-4) var(--container-padding) var(--space-5);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  min-height: 44px;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.mobile-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-left-color: var(--primary);
}
.mobile-nav a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}
.mobile-nav__group-label {
  display: block;
  padding: var(--space-4) var(--space-3) var(--space-2);
  margin-top: var(--space-2);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.mobile-nav__sub a {
  padding-left: 28px;
  font-size: var(--text-sm);
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    padding-block: var(--space-9);
    gap: var(--space-8);
  }
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.hero h1 {
  font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  margin-bottom: var(--space-4);
}
.hero__subline {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.hero__trust-stars { color: var(--cta); font-size: 1.1rem; }
.hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.hero__image img,
.hero__image video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms, box-shadow 180ms;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card__img {
  aspect-ratio: 3/2;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) 0;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card__footer { margin-top: auto; padding-top: var(--space-3); }

/* Service cards */
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms, box-shadow 180ms;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card__img { aspect-ratio: 16/10; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.service-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service-card__body h3 { margin: 0; }
.service-card__body ul { margin: 0; padding-left: var(--space-5); }
.service-card__body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Team grid ---------- */
.team-grid {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.team-card:hover,
.team-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.team-card__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
  box-shadow: 0 6px 18px rgba(0, 44, 139, 0.22);
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin: 0;
  color: var(--text-primary);
  line-height: 1.25;
}
.team-card__role {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 2px 0 var(--space-3);
  font-weight: 600;
}
.team-card__contact {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.team-card__contact a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
  word-break: break-word;
}
.team-card__contact a:hover,
.team-card__contact a:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
@media (prefers-reduced-motion: reduce) {
  .team-card { transition: none; }
  .team-card:hover { transform: none; }
}

/* ---------- Counter ---------- */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .counter-grid { grid-template-columns: repeat(4, 1fr); }
}
.counter-item {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
}
.counter-item__value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem);
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
.counter-item__label {
  font-size: var(--text-sm);
  color: var(--text-inverse);
  opacity: 0.9;
}

/* ---------- Prozess ---------- */
.steps {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--border);
  position: relative;
}
.step__num {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-inverse);
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}
.step h3 { margin-bottom: var(--space-2); }
.step p { margin: 0; }

/* ---------- Mulden-Rechner ---------- */
.rechner {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.rechner__progress {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.rechner__progress span {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background-color 200ms;
}
.rechner__progress span.active { background: var(--primary); }
.rechner__step { display: none; }
.rechner__step.is-active {
  display: block;
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.rechner__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}
@media (min-width: 640px) {
  .rechner__options { grid-template-columns: repeat(2, 1fr); }
}
.rechner__option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-surface);
  transition: all 150ms;
}
.rechner__option:hover { border-color: var(--primary); background: var(--primary-soft); }
.rechner__option input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.rechner__option input:checked + span { font-weight: 600; }
.rechner__option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.rechner__actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.rechner__result {
  padding: var(--space-5);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.rechner__result strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.rechner__hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* Kompakt-Teaser auf Startseite */
.rechner--teaser {
  padding: var(--space-6);
  text-align: left;
}

/* ---------- Einzugsgebiet-Karte ---------- */
.map-area {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--border);
}
.map-area__svg {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
}
.map-area__svg .radius {
  fill: rgba(0, 44, 139, 0.05);
  stroke: var(--primary);
  stroke-opacity: 0.4;
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}
.map-area__svg .city-dot {
  fill: var(--primary);
  stroke: var(--bg-elevated);
  stroke-width: 2;
  cursor: pointer;
  transition: all 180ms;
}
.map-area__svg .city-dot-main {
  fill: var(--primary);
  r: 12;
}
.map-area__svg a:hover .city-dot {
  fill: var(--cta);
  r: 11;
}
.map-area__svg a:focus-visible {
  outline: none;
}
.map-area__svg a:focus-visible .city-dot {
  stroke: var(--cta);
  stroke-width: 3;
}
.map-area__svg .city-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--text-primary);
  pointer-events: none;
}
.map-area__svg .city-label-main { fill: var(--primary); font-size: 15px; }
.map-area__svg .small-dot { fill: var(--text-muted); opacity: 0.7; }
.map-area__svg .small-label { font-size: 11px; fill: var(--text-muted); }
.map-area__legend {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.map-area__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.map-area__legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
}
.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  transition: box-shadow 180ms;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 180ms;
  font-family: var(--font-body);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) {
  margin-top: var(--space-3);
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
.review {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.review__stars { color: var(--cta); margin-bottom: var(--space-3); font-size: 1.1rem; }
.review blockquote {
  margin: 0 0 var(--space-3);
  font-size: var(--text-base);
  font-style: italic;
}
.review__author {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 768px) {
  .cta-block { grid-template-columns: 2fr 1fr; }
}
.cta-block h2 { color: var(--text-inverse); margin: 0 0 var(--space-3); }
.cta-block p { margin: 0; max-width: 60ch; }
.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .cta-block__actions { justify-content: flex-end; }
}
.cta-block .btn-outline {
  color: var(--text-inverse);
  border-color: var(--text-inverse);
}
.cta-block .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-inverse);
}

/* ---------- Formular ---------- */
.form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 760px;
  margin-inline: auto;
}
.form-row {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (min-width: 640px) {
  .form-row.two-col { grid-template-columns: repeat(2, 1fr); }
}
.form label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  background: var(--bg-elevated);
  color: var(--text-primary);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--border-strong);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.form .form-check input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--primary);
}
.form .form-check label {
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}
.form small { color: var(--text-muted); font-size: var(--text-xs); }

/* ---------- Kontakt-Karten ---------- */
.contact-cards {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.contact-card h3 { margin-bottom: var(--space-2); }
.contact-card p { margin: 0 auto var(--space-2); }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding-top: var(--space-8);
  margin-top: var(--space-9);
}
.footer a { color: var(--text-inverse); text-decoration: none; }
.footer a:hover { color: var(--cta); text-decoration: underline; }
.footer__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 {
  color: var(--text-inverse);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer ul li { margin: 0; font-size: var(--text-sm); }
.footer__bottom {
  background: var(--bg-dark-deep);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--space-7);
  padding-block: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(246,241,231,0.8);
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}
.footer__bottom a { color: rgba(246,241,231,0.85); }

/* ---------- Sticky Mobile-CTAs ---------- */
.mobile-sticky {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 90;
}
@media (min-width: 768px) { .mobile-sticky { display: none; } }
.mobile-sticky a {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--text-inverse);
}
.mobile-sticky__tel { background: var(--primary); }
.mobile-sticky__tel:hover { background: var(--primary-hover); }
.mobile-sticky__wa { background: var(--primary-strong); }
.mobile-sticky__wa:hover { background: var(--primary-hover); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-5);
}
.breadcrumb {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-block: 0;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: flex-start;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before {
  content: "›";
  margin-right: var(--space-2);
  color: var(--border-strong);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--text-primary); font-weight: 500; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
}

/* ---------- Utility ---------- */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
/* text-center-Absätze auch als Block mittig (p hat max-width: 65ch) */
p.text-center { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.usp-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-weight: 500;
  color: var(--cta);
  margin-top: var(--space-5);
  justify-content: center;
}
.usp-line span::before {
  content: "▲";
  color: var(--cta);
  margin-right: 6px;
  font-size: 0.7em;
}
.lead { font-size: var(--text-lg); color: var(--text-muted); max-width: 65ch; }
.section-header { text-align: center; margin-bottom: var(--space-6); }
.section-header p { margin-inline: auto; }

/* Full-bleed map iframe */
.osm-map {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Side-by-side content */
.split {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Kleiner, zentrierter Video-Baustein – Quellclips sind niedrig aufgelöst, daher bewusst schmales Fenster */
.video-figure {
  max-width: 460px;
  margin: var(--space-6) auto 0;
}
.video-figure video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* Zentriertes Foto mit Bildunterschrift (echte Referenzfotos) */
.photo-figure {
  max-width: 560px;
  margin: var(--space-6) auto 0;
}
.photo-figure--wide { max-width: 820px; }
.photo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.photo-figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Referenz-Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 10px rgba(14, 26, 58, 0.10);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 350ms ease;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 9px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 8, 24, 0.78), rgba(0, 8, 24, 0));
  text-align: left;
  pointer-events: none;
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, 0.93);
  padding: var(--space-4);
}
.lightbox__img {
  max-width: min(94vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}
.lightbox__cap {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  margin: 0;
  text-align: center;
  color: #e8ecf5;
  font-size: var(--text-sm);
  padding: 0 var(--space-5);
}
.lightbox__btn {
  position: absolute;
  top: 0; bottom: 0;
  width: 22%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2.6rem;
  line-height: 1;
  opacity: 0.65;
  transition: opacity 150ms;
  display: flex;
  align-items: center;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__btn--prev { left: 0; justify-content: flex-start; padding-left: 16px; }
.lightbox__btn--next { right: 0; justify-content: flex-end; padding-right: 16px; }
.lightbox__close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.26); }
body.lightbox-open { overflow: hidden; }

/* Blockquote / Pull-quote */
.pullquote {
  border-left: 4px solid var(--primary);
  padding: var(--space-4) var(--space-5);
  background: var(--primary-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-primary);
  margin: var(--space-5) 0;
  max-width: 68ch;
}

/* =========================================================
   Scroll-Offset für Sticky-Header (Anchor-Links wie #anfrage)
   ========================================================= */
:target,
.section[id],
section[id],
#anfrage,
#rechner,
main [id] {
  scroll-margin-top: 160px;
}

/* =========================================================
   Platzhalter-Hinweis (nur solange Werte nicht freigegeben)
   ========================================================= */
.placeholder-notice {
  background: var(--bg-surface);
  border-left: 4px solid var(--primary);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin: 0 0 var(--space-5) 0;
  max-width: 68ch;
  box-shadow: var(--shadow-sm);
}
.placeholder-notice strong { color: var(--primary); }

/* =========================================================
   Mulden-Rechner: Fallback-Hinweis bei Step 1
   ========================================================= */
.rechner__fallback {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
}
.rechner__fallback a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Karriere: Feature-Grid ---------- */
.feature-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-6);
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
  color: var(--primary);
}
.feature-card p { color: var(--text-muted); margin: 0; }

/* ---------- Karriere: Job-List ---------- */
.job-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .job-list { grid-template-columns: repeat(2, 1fr); } }
.job-list__item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  margin: 0;
}
.job-list__item:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-md); }
.job-list__item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}
.job-list__item p { color: var(--text-muted); margin: 0; }

/* ---------- Karriere: Ol-steps (fällt neben .steps-grid) ---------- */
ol.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: var(--space-6) 0 0;
}
ol.steps > li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-7);
  margin: 0 0 var(--space-3);
  position: relative;
  box-shadow: var(--shadow-sm);
}
ol.steps > li h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
  color: var(--primary);
}
ol.steps > li p { color: var(--text-muted); margin: 0; }

/* ---------- Prose narrow (Chancengleichheit) ---------- */
.prose-narrow {
  max-width: 65ch;
  margin: var(--space-5) auto 0;
  color: var(--text-muted);
}
.prose-narrow p { margin: 0 0 var(--space-4); }

/* ---------- Formular-Schutz: Honeypot + Hinweise ---------- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0;
  pointer-events: none;
}
.form-note {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-3) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.form-note strong { color: var(--text-primary); }
.form-note a { color: var(--primary); }
.form-note--warning { border-left-color: var(--warning); background: #FFF6E9; color: var(--text-primary); }
.form-note--error { border-left-color: var(--danger); background: #FCECEC; color: var(--text-primary); }
.form-note--success { border-left-color: #1A8A4A; background: #E9F7EF; color: var(--text-primary); font-size: var(--text-base); }

/* ---------- Über-uns → Karriere CTA-Card ---------- */
.karriere-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  box-shadow: 0 12px 32px rgba(0, 44, 139, 0.18);
}
@media (min-width: 768px) {
  .karriere-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
.karriere-cta h2 { color: #fff; margin: 0 0 var(--space-2); }
.karriere-cta p { color: rgba(255,255,255,0.9); margin: 0; max-width: 60ch; }
.karriere-cta .btn-cta {
  flex-shrink: 0;
  background: var(--cta);
  color: var(--cta-text);
}

/* ============ Daten-/Vergleichstabellen (AEO: zitierfähige Tabellen) ============ */
.table-wrap {
  overflow-x: auto;
  margin: var(--space-5) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--bg-elevated);
  min-width: 520px;
}
table.data-table caption {
  text-align: left;
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: var(--space-3) var(--space-4) 0;
  caption-side: bottom;
}
table.data-table th,
table.data-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
table.data-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
table.data-table tbody tr:nth-child(even) td { background: var(--bg-surface); }
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table td strong { color: var(--text-primary); }
.cell-yes { color: var(--success); font-weight: 600; }
.cell-no  { color: var(--danger);  font-weight: 600; }
@media (max-width: 600px) {
  table.data-table { font-size: var(--text-xs); }
}

/* ============ AEO-Direktantwort (zitierfähiger Einstiegsabsatz) ============ */
.answer-lead {
  max-width: 75ch;
  margin: 0 auto var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--accent-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text-primary);
}
.answer-lead strong { color: var(--primary); }
