@charset "utf-8";
/* ==========================================================================
   Caruso Consulting UG (haftungsbeschränkt)
   Design-System nach Caruso Brand System v1.0
   Navy #014777 · Coral #FD6A54 · Montserrat + Open Sans · 4px-Raster
   Keine Verläufe. Keine Emojis. Coral-Akzent immer als 4px-Kante links.
   ========================================================================== */

/* ---------- 1 Tokens ---------- */
:root {
  /* Marke */
  --color-navy: #014777;
  --color-navy-dark: #012F55;
  --color-navy-light: #1565A8;
  --color-navy-logo: #064167;
  --color-coral: #FD6A54;
  --color-coral-dark: #E04A35;
  --color-coral-light: #FEE2DE;

  /* Neutrale */
  --color-black: #111827;
  --color-grey-700: #374151;
  --color-grey-500: #6B7280;
  --color-grey-400: #9CA3AF;
  --color-grey-300: #D1D5DB;
  --color-grey-200: #E5E7EB;
  --color-grey-100: #F3F4F6;
  --color-grey-50: #F9FAFB;
  --color-white: #FFFFFF;

  /* Status */
  --color-success: #16A34A;
  --surface-success: #F0FDF4;
  --text-success: #15803D;
  --color-warning: #D97706;
  --surface-warning: #FFFBEB;
  --text-warning: #92400E;
  --color-error: #DC2626;
  --surface-error: #FEF2F2;
  --color-info: #2563EB;
  --surface-info: #EFF6FF;
  --text-info: #1E40AF;

  /* Tags */
  --color-tag-google: #EBF3FA;
  --color-tag-tech: #E8F4FD;
  --color-tag-warn: #FFF3E0;

  /* Semantische Aliase */
  --color-primary: var(--color-navy);
  --color-primary-hover: var(--color-navy-dark);
  --color-accent: var(--color-coral);
  --color-accent-hover: var(--color-coral-dark);
  --text-heading: var(--color-navy);
  --text-strong: var(--color-black);
  --text-body: var(--color-grey-700);
  --text-muted: var(--color-grey-500);
  --text-placeholder: var(--color-grey-400);
  --text-on-dark: var(--color-white);
  --text-on-dark-muted: rgba(255, 255, 255, .8);
  /* Akzentfarbe: Marken-Coral, unveraendert. Entscheidung Adriano Caruso,
     27.09.2026. Bekannte Folge: #FD6A54 erreicht auf Weiss 2,85:1 und auf
     Grau-50 2,73:1, weisse Schrift auf Coral 2,85:1. Alle drei Werte liegen
     unter der WCAG-Anforderung von 4,5:1 fuer Text.
     Rueckweg, falls die Lesbarkeit Vorrang bekommt:
       --text-accent: #C93C28;          5,05:1 auf Weiss
       --surface-accent: #D2402B;       weisse Schrift darauf 4,66:1
       --text-accent-on-dark: #FF9A8A;  4,72:1 auf Navy
     Drei Zeilen, keine weitere Aenderung im Stylesheet. */
  --text-accent: var(--color-coral);
  --surface-accent: var(--color-coral);
  --text-accent-on-dark: var(--color-coral);
  --accent-deco: var(--color-coral); /* dekorative Kanten und Flaechen, unveraendert */
  --text-link: var(--text-accent);
  --surface-page: var(--color-white);
  --surface-subtle: var(--color-grey-50);
  --surface-muted: var(--color-grey-100);
  --surface-card: var(--color-white);
  --surface-inverse: var(--color-navy);
  --surface-footer: var(--color-black);
  --border-default: var(--color-grey-300);
  --border-subtle: var(--color-grey-200);
  --border-hairline: var(--color-grey-100);
  --border-focus: var(--color-coral);

  /* Typografie */
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  --size-h1: clamp(2.5rem, 4.5vw, 4rem);
  --size-h2: clamp(2.25rem, 3vw, 2.625rem);
  --size-h3: clamp(1.625rem, 2vw, 1.875rem);
  --size-h4: 1.375rem;
  --size-body: 1.0625rem;
  --size-body-lg: 1.125rem;
  --size-small: .875rem;
  --size-caption: .8125rem;
  --size-label: .75rem;
  --lh-tight: 1.15;
  --lh-heading: 1.3;
  --lh-body: 1.6;
  --lh-article: 1.75;

  /* Raster */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 20px;
  --s-6: 24px;  --s-8: 32px;  --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;
  --container: 1200px;
  --container-wide: 1400px;
  --container-article: 800px;
  --navbar-h: 72px;
  --navbar-h-mobile: 60px;

  /* Radien */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-tooltip: 6px; --r-pill: 999px;

  /* Schatten, navy-getönt */
  --shadow-card-soft: 0 1px 4px rgba(1, 71, 119, .06);
  --shadow-card: 0 2px 8px rgba(1, 71, 119, .08);
  --shadow-open: 0 4px 16px rgba(1, 71, 119, .12);
  --shadow-dropdown: 0 8px 24px rgba(1, 71, 119, .12);
  --shadow-hover: 0 8px 24px rgba(1, 71, 119, .15);
  --shadow-menu: 0 8px 24px rgba(0, 0, 0, .12);
  --shadow-modal: 0 20px 60px rgba(0, 0, 0, .2);
  --focus-ring: 0 0 0 3px rgba(1, 71, 119, .1);

  /* Bewegung */
  --t-color: 100ms ease;
  --t-btn: 200ms ease;
  --t-card: 300ms ease;
  --t-reveal: 600ms cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-color: 1ms; --t-btn: 1ms; --t-card: 1ms; --t-reveal: 1ms; }
  * { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ---------- 2 Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--navbar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-navy); text-decoration: none; transition: color var(--t-color); }
a:hover { color: var(--text-accent); }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text-heading); margin: 0 0 var(--s-4); }
h1 { font-size: var(--size-h1); font-weight: 800; letter-spacing: -.02em; line-height: var(--lh-tight); }
h2 { font-size: var(--size-h2); font-weight: 700; letter-spacing: -.02em; line-height: var(--lh-heading); }
h3 { font-size: var(--size-h3); font-weight: 600; line-height: var(--lh-heading); }
h4 { font-size: var(--size-h4); font-weight: 600; line-height: var(--lh-heading); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text-strong); font-weight: 700; }

:focus-visible { outline: 3px solid var(--color-coral); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--color-navy); color: #fff; padding: var(--s-3) var(--s-6); border-radius: var(--r-md);
}
.skip-link:focus { top: var(--s-4); color: #fff; }

/* ---------- 3 Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }
@media (min-width: 1440px) { .container { max-width: var(--container-wide); } }

.section { padding-block: var(--s-16); }
@media (min-width: 768px) { .section { padding-block: var(--s-20); } }
.section--tight { padding-block: var(--s-12); }
.section--subtle { background: var(--surface-subtle); }
.section--muted { background: var(--surface-muted); }
.section--navy { background: var(--surface-inverse); color: var(--text-on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--text-on-dark); }
.section--navy p { color: var(--text-on-dark-muted); }

.grid { display: grid; gap: var(--s-6); }
.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--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.grid--split { display: grid; grid-template-columns: 1fr; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .grid--split { grid-template-columns: 1fr 1fr; } }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.center { text-align: center; }
.measure { max-width: 65ch; }
.measure-center { max-width: 65ch; margin-inline: auto; }
.mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mt-16 { margin-top: var(--s-16); }

/* ---------- 4 Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.5; }
.icon--16 { width: 16px; height: 16px; }
.icon--20 { width: 20px; height: 20px; }
.icon--32 { width: 32px; height: 32px; }
.icon--48 { width: 48px; height: 48px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  background: var(--color-coral-light); color: var(--text-accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-tile--navy { background: var(--color-tag-google); color: var(--color-navy); }
.icon-tile--sm { width: 40px; height: 40px; border-radius: var(--r-md); }
.icon-tile--circle { border-radius: var(--r-pill); }

/* ---------- 5 Typografie-Bausteine ---------- */
.overline {
  font-family: var(--font-head); font-size: var(--size-label); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-accent);
  display: block; margin-bottom: var(--s-3);
}
.section-head { margin-bottom: var(--s-12); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.lead { font-size: var(--size-body-lg); color: var(--text-muted); }
.section--navy .lead { color: var(--text-on-dark-muted); }
.small { font-size: var(--size-small); }
.muted { color: var(--text-muted); }
.caption { font-size: var(--size-caption); color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.coral { color: var(--text-accent); }
.navy { color: var(--color-navy); }

/* Markensatz, genau einmal je Medium, als Zitat gesetzt.
   Zweizeilig, Umbruch nach dem Komma, Coral-Kante links nach Brand System. */
.claim {
  margin: 0; padding-left: var(--s-6); border-left: 4px solid var(--color-coral);
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15; font-size: clamp(1.75rem, 3.2vw, 2.75rem); color: var(--color-navy);
  text-align: left;
}
.claim p { margin: 0; font: inherit; letter-spacing: inherit; }
.claim span { color: var(--text-accent); display: block; }
.section--navy .claim { color: #fff; }
.section--navy .claim span { color: var(--color-coral); }

/* ---------- 6 Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  min-height: 48px; min-width: 120px; padding: var(--s-3) var(--s-6);
  border: 2px solid transparent; border-radius: var(--r-md); cursor: pointer;
  transition: background var(--t-btn), color var(--t-btn), border-color var(--t-btn);
  text-align: center; line-height: 1.2;
}
.btn--primary { background: var(--color-navy); color: #fff; }
.btn--primary:hover { background: var(--color-navy-dark); color: #fff; }
.btn--secondary { background: var(--surface-accent); color: #fff; }
.btn--secondary:hover { background: var(--color-coral-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn--outline:hover { background: var(--color-navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-navy); min-width: 0; padding-inline: var(--s-3); }
.btn--ghost:hover { color: var(--color-coral); }
.btn--on-dark { background: #fff; color: var(--color-navy); }
.btn--on-dark:hover { background: var(--color-grey-100); color: var(--color-navy-dark); }
.btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 44px; padding: var(--s-2) var(--s-4); font-size: var(--size-small); }
.btn--lg { min-height: 56px; padding: var(--s-4) var(--s-8); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.btn-row--center { justify-content: center; }

/* ---------- 7 Karten ---------- */
.card {
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-card), transform var(--t-card);
  height: 100%;
}
.card--hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s-3); }
.card p { font-size: var(--size-small); }
.card__icon { margin-bottom: var(--s-5); }
.card--accent { border-left: 4px solid var(--color-coral); }
.card--flat { box-shadow: none; }
.card--navy { background: var(--color-navy); border-color: var(--color-navy); color: var(--text-on-dark); }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--navy p { color: var(--text-on-dark-muted); }

/* Panel: ruhige Fläche ohne Kartenschatten */
.panel {
  background: var(--surface-subtle); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.panel--accent { border-left: 4px solid var(--color-coral); }
.panel--navy { background: var(--color-navy); color: var(--text-on-dark); border-color: var(--color-navy); }
.panel--navy h2, .panel--navy h3, .panel--navy h4 { color: #fff; }
.panel--navy p { color: var(--text-on-dark-muted); }

/* ---------- 8 Badges und Tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-family: var(--font-head); font-size: var(--size-label); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--color-grey-100); color: var(--color-grey-700);
}
.badge--gefoerdert { background: var(--color-coral-light); color: var(--text-warning); }
.badge--neu { background: #DBEAFE; color: #1E40AF; }
.badge--beliebt { background: #D1FAE5; color: #065F46; }
.badge--premium { background: var(--color-navy); color: var(--color-coral); }
.badge--prozent { background: var(--color-coral); color: #fff; }
.badge--google { background: var(--color-tag-google); color: var(--color-navy); }
.badge--tech { background: var(--color-tag-tech); color: var(--color-navy); }
.badge--warn { background: var(--color-tag-warn); color: var(--color-warning); }

.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
  background: var(--color-coral-light); color: var(--color-navy);
  font-family: var(--font-head); font-size: var(--size-small); font-weight: 600;
}
.pill .icon { color: var(--text-accent); }
.pill--navy { background: var(--color-tag-google); }
.pill--on-dark { background: rgba(255, 255, 255, .12); color: #fff; }
.pill--on-dark .icon { color: var(--color-coral); }

/* ---------- 9 Listen ---------- */
.list { list-style: none; }
.list li {
  position: relative; padding-left: 28px; margin-bottom: var(--s-3);
  font-size: var(--size-body); color: var(--text-body);
}
.list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--text-accent); font-weight: 700;
}
.list--tight li { margin-bottom: var(--s-2); font-size: var(--size-small); }
.list--on-dark li { color: var(--text-on-dark-muted); }
.list--x li::before { content: "✗"; color: var(--color-grey-400); }
.list--dot li::before { content: ""; top: 10px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-coral); }
.list-hair li { padding: var(--s-3) 0; border-bottom: 1px solid var(--border-hairline); }

/* ---------- 10 Kennzahlen ---------- */
.stat { text-align: center; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--color-navy); line-height: 1.1; }
.stat__label { font-size: var(--size-small); color: var(--text-muted); margin-top: var(--s-2); }
.stat--coral .stat__value { color: var(--text-accent); }
.section--navy .stat__value { color: #fff; }
.section--navy .stat__label { color: var(--text-on-dark-muted); }
.stat-box { background: var(--surface-subtle); border-radius: var(--r-lg); padding: var(--s-6); text-align: center; border-left: 4px solid var(--color-coral); }

/* ---------- 11 Tabellen ---------- */
.table-wrap { overflow-x: auto; margin-bottom: var(--s-6); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; font-size: var(--size-small); background: #fff; }
th, td { padding: var(--s-3) var(--s-4); text-align: left; border-bottom: 1px solid var(--border-hairline); }
th { font-family: var(--font-head); font-weight: 700; font-size: var(--size-label); letter-spacing: .08em; text-transform: uppercase; color: var(--color-navy); background: var(--surface-subtle); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- 12 Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--border-subtle); transition: box-shadow var(--t-card);
}
.header.is-scrolled { box-shadow: var(--shadow-card); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: var(--navbar-h-mobile); }
@media (min-width: 1024px) { .header__inner { height: var(--navbar-h); } }
.header__logo img { width: 160px; height: 46px; object-fit: contain; }
@media (max-width: 480px) { .header__logo img { width: 132px; height: 38px; } }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: var(--s-8); } }
.nav a, .nav button {
  font-family: var(--font-head); font-size: .9375rem; font-weight: 600;
  color: var(--color-grey-700); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--s-1); padding: var(--s-2) 0;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--color-navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-coral); }
.nav__cta { display: none; }
@media (min-width: 1024px) { .nav__cta { display: inline-flex; } }

.dropdown { position: relative; }
.dropdown__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: 560px; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); box-shadow: var(--shadow-dropdown); padding: var(--s-4);
  display: none;
}
.dropdown.is-open .dropdown__panel { display: block; }
.dropdown__title {
  font-family: var(--font-head); font-size: var(--size-label); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
  padding: var(--s-2) var(--s-4) var(--s-3); border-bottom: 1px solid var(--border-hairline); margin-bottom: var(--s-2);
}
.dropdown__link {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  transition: background var(--t-color);
}
.dropdown__link:hover { background: var(--surface-subtle); }
.dropdown__link strong { display: block; font-family: var(--font-head); font-size: var(--size-small); color: var(--color-navy); }
.dropdown__link span { display: block; font-size: var(--size-caption); color: var(--text-muted); }
.dropdown__foot {
  margin-top: var(--s-2); padding: var(--s-4); border-top: 1px solid var(--border-hairline);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-head); font-size: var(--size-small); font-weight: 600; color: var(--color-navy);
}

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; color: var(--color-navy); cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }
.mobile-nav {
  display: none; border-top: 1px solid var(--border-subtle); background: #fff;
  padding: var(--s-4) 0 var(--s-6);
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
  display: block; padding: var(--s-3) var(--s-2); font-family: var(--font-head);
  font-weight: 600; color: var(--color-grey-700); border-bottom: 1px solid var(--border-hairline);
}
.mobile-nav a:hover { color: var(--color-navy); }
.mobile-nav__sub a { padding-left: var(--s-6); font-weight: 400; font-size: var(--size-small); }
.mobile-nav__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--s-3) var(--s-2); font-family: var(--font-head); font-weight: 600;
  color: var(--color-grey-700); background: none; border: 0; border-bottom: 1px solid var(--border-hairline); cursor: pointer;
}
.mobile-nav .btn { margin-top: var(--s-4); }

/* ---------- 13 Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--color-navy); color: #fff; overflow: hidden; padding-block: var(--s-16); }
@media (min-width: 768px) { .hero { padding-block: 120px; } }
.hero h1, .hero h2 { color: #fff; }
.hero p { color: var(--text-on-dark-muted); }
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero--center .hero__inner { margin-inline: auto; text-align: center; }
.hero__lead { font-size: var(--size-body-lg); max-width: 60ch; }
.hero--center .hero__lead { margin-inline: auto; }
.hero__deco {
  position: absolute; right: 4%; top: 48px; width: 240px; height: 240px;
  background: var(--color-coral); opacity: .14; transform: rotate(45deg); pointer-events: none; z-index: 1;
}
.hero__media img { border-radius: var(--r-lg); }
.hero--split .hero__inner { max-width: none; }
.hero--light { background: var(--surface-subtle); color: var(--text-body); }
.hero--light h1, .hero--light h2 { color: var(--color-navy); }
.hero--light p { color: var(--text-body); }
.hero--light .hero__deco { display: none; }

/* Hero mit Portrait. Zwei Spalten ab 1024px, darunter gestapelt. */
.hero--portrait .hero__inner { max-width: none; }
.hero__grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s-8); }
}
.hero__text { position: relative; z-index: 2; }
.hero__portrait { position: relative; max-width: 430px; margin-inline: auto; width: 100%; }
@media (min-width: 1024px) { .hero__portrait { margin-inline: 0; max-width: 500px; } }
/* Aufgehellter Bogen hinter dem Portrait. Flaeche, kein Verlauf. */
.hero__portrait-arc {
  position: absolute; inset: var(--s-12) var(--s-8) 0; border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, .08);
}
.hero__portrait-img {
  position: relative; z-index: 2; display: block; margin-inline: auto;
  max-height: 560px; width: auto; max-width: 100%; height: auto; object-fit: contain;
}
.hero__portrait-card {
  position: absolute; z-index: 3; bottom: var(--s-4); right: 0;
  background: var(--color-white); color: var(--text-strong);
  border-left: 4px solid var(--color-coral); padding: var(--s-3) var(--s-4);
  box-shadow: var(--shadow-hover); border-radius: var(--r-sm);
}
/* Die Karte liegt auf Weiss, deshalb dunkle Schrift. Sticht die allgemeine
   Regel "alles im Hero ist weiss" aus. */
.hero .hero__portrait-card,
.hero .hero__portrait-card strong,
.hero strong.hero__portrait-name { color: var(--color-navy); }
.hero__portrait-card strong { font-family: var(--font-head); display: block; }
.hero .hero__portrait-card span { color: var(--text-muted); }

/* Trust-Leiste direkt unter dem Hauptbutton. Vier Kacheln, alle Werte belegt. */
.trustbar {
  list-style: none; margin: 0; padding: 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-block: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}
@media (min-width: 768px) { .trustbar { grid-template-columns: repeat(4, 1fr); } }
.trustbar__item { min-width: 0; border-right: 1px solid rgba(255, 255, 255, .18); }
.trustbar__item:nth-child(2n) { border-right: 0; }
.trustbar__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
@media (min-width: 768px) {
  .trustbar__item { border-right: 1px solid rgba(255, 255, 255, .18); border-bottom: 0; }
  .trustbar__item:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .18); }
  .trustbar__item:last-child { border-right: 0; }
}
.trustbar__item > a,
.trustbar__item { display: flex; }
.trustbar__item > a { width: 100%; }
.trustbar__item,
.trustbar__item > a {
  align-items: center; gap: var(--s-3); padding: var(--s-4); min-height: 88px;
  text-decoration: none;
}
.trustbar__item > a:hover { background: rgba(255, 255, 255, .06); }
.trustbar__logo { flex: none; width: 44px; height: 44px; object-fit: contain; }
.trustbar__item > span,
.trustbar__item > a > span { min-width: 0; display: block; }
.trustbar__label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .625rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-dark-muted);
}
.trustbar__value {
  display: flex; align-items: center; gap: var(--s-1);
  font-family: var(--font-head); font-weight: 700; font-size: var(--size-small);
  color: #fff; overflow-wrap: anywhere;
}
/* Der Lucide-Stern ist eine Kontur. Fuer Bewertungen fuellen wir ihn ueber
   die Variable --icon-fill, die im Sprite am Symbol haengt. */
.trustbar__value .icon { color: var(--color-coral); --icon-fill: currentColor; }
.trustbar__meta { display: block; font-size: .6875rem; color: var(--text-on-dark-muted); }

/* ---------- 14 CTA-Banner ---------- */
.cta-band { background: var(--color-navy); color: #fff; padding-block: var(--s-16); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: var(--text-on-dark-muted); }
.cta-band__inner { display: flex; flex-direction: column; gap: var(--s-6); align-items: flex-start; }
@media (min-width: 900px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-note { font-size: var(--size-small); color: var(--text-muted); margin-top: var(--s-3); }
.cta-band .cta-note { color: var(--text-on-dark-muted); }

/* ---------- 15 Akkordeon als details ---------- */
/* Ohne JavaScript bedienbar. Der Pfeil dreht sich ueber das open-Attribut. */
.accordion { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: var(--s-3); }
.accordion__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  width: 100%; padding: var(--s-5) var(--s-6); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem;
  color: var(--color-navy); text-align: left; list-style: none;
}
.accordion__head::-webkit-details-marker { display: none; }
.accordion__head h3 { font-size: inherit; font-weight: inherit; margin: 0; color: inherit; }
.accordion__head:hover { background: var(--surface-subtle); }
.accordion__head:focus-visible { outline: 3px solid var(--color-coral); outline-offset: -3px; }
.accordion__head .icon { flex: none; color: var(--text-accent); transition: transform var(--t-card); }
.accordion[open] { border-left: 4px solid var(--color-coral); box-shadow: var(--shadow-open); }
.accordion[open] .accordion__head .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 var(--s-6) var(--s-6); font-size: var(--size-body); }

/* ---------- 16 Formular ---------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: var(--size-small);
  color: var(--color-navy); margin-bottom: var(--s-2);
}
.field input, .field textarea, .field select {
  width: 100%; padding: var(--s-3) var(--s-4); font-family: var(--font-body); font-size: 1rem;
  color: var(--text-strong); background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--r-md); min-height: 48px;
  transition: border-color var(--t-color), box-shadow var(--t-color);
}
.field textarea { min-height: 140px; resize: vertical; line-height: var(--lh-body); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-placeholder); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--color-navy); box-shadow: var(--focus-ring);
}
.field__hint { font-size: var(--size-caption); color: var(--text-muted); margin-top: var(--s-1); }
.field--error input, .field--error textarea { border: 2px solid var(--color-error); }
.field__error { font-size: var(--size-caption); color: var(--color-error); margin-top: var(--s-1); }
.checkbox { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--size-small); }
.checkbox input { width: 20px; height: 20px; min-height: 0; accent-color: var(--color-coral); margin-top: 2px; flex: none; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }

.alert { border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); font-size: var(--size-small); border-left: 4px solid; margin-bottom: var(--s-6); }
.alert--success { background: var(--surface-success); border-color: var(--color-success); color: var(--text-success); }
.alert--error { background: var(--surface-error); border-color: var(--color-error); color: var(--color-error); }
.alert--info { background: var(--surface-info); border-color: var(--color-info); color: var(--text-info); }

/* ---------- 17 Bewertungen ---------- */
.ratings { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.ratings--center { justify-content: center; }
.rating {
  display: flex; align-items: center; gap: var(--s-3);
  background: var(--surface-muted); border-radius: var(--r-md); padding: var(--s-2) var(--s-3);
}
.rating img { width: 40px; height: 40px; flex: none; }
.rating__name { font-family: var(--font-head); font-weight: 700; font-size: var(--size-small); color: var(--color-navy); }
.rating__score { display: flex; align-items: center; gap: var(--s-1); font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--text-strong); }
.rating__stars { color: var(--text-accent); letter-spacing: -1px; }
.rating__meta { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.rating > span { min-width: 0; }
.hero .rating, .section--navy .rating { background: rgba(255, 255, 255, .1); }
.hero .rating__name, .section--navy .rating__name { color: #fff; }
.hero .rating__score, .section--navy .rating__score { color: #fff; }
.hero .rating__meta, .section--navy .rating__meta { color: var(--text-on-dark-muted); }

.stars { color: var(--text-accent); letter-spacing: -1px; font-size: 1.125rem; }

/* ---------- 18 Siegel ---------- */
.seals { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-6); }
.seal { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: var(--s-3); box-shadow: var(--shadow-card-soft); }
.seal img { height: 64px; width: auto; object-fit: contain; }

/* ---------- 19 Zitate ---------- */
blockquote.quote {
  margin: 0 0 var(--s-4); padding-left: var(--s-5);
  border-left: 4px solid var(--color-coral); font-size: var(--size-body-lg); color: var(--text-strong);
}
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial__head { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--color-navy); margin-bottom: var(--s-3); }
.testimonial__text { flex: 1; font-size: var(--size-small); margin-bottom: var(--s-4); }
.testimonial__person { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--border-hairline); }
.testimonial__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- 20 Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--border-default); border-left: 4px solid var(--color-coral); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); }
.step__num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: var(--size-small); margin-bottom: var(--s-4);
}
.step h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.step p { font-size: var(--size-small); }

/* Entscheidungs-Checks. Drei Zeilen mit Icon-Kachel, Haarlinien oben und unten. */
.checks {
  list-style: none; margin: 0 0 var(--s-8); padding: var(--s-5) 0;
  display: grid; gap: var(--s-4); border-block: 1px solid var(--border-subtle);
}
.checks > li { display: flex; align-items: flex-start; gap: var(--s-3); min-width: 0; }
.checks .icon-tile { flex: none; width: 36px; height: 36px; }
.checks strong { font-family: var(--font-head); color: var(--color-navy); }

/* Zeilenvariante: drei Schritte untereinander, Haarlinien statt Karten. */
.steps--rows { display: block; counter-reset: none; border-block: 1px solid var(--border-subtle); }
@media (min-width: 640px) { .steps--rows { grid-template-columns: none; } }
.steps--rows .step {
  display: grid; gap: var(--s-4); align-items: start;
  background: none; border: 0; border-bottom: 1px solid var(--border-subtle);
  border-radius: 0; box-shadow: none; padding: var(--s-6) 0;
}
.steps--rows .step:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .steps--rows .step { grid-template-columns: 2.5rem 2.75rem 1fr; gap: var(--s-5); }
}
.steps--rows .step > * { min-width: 0; }
.steps--rows .step__num {
  width: auto; height: auto; border-radius: 0; background: none;
  color: var(--text-accent); font-size: var(--size-small); margin-bottom: 0;
  justify-content: flex-start; font-variant-numeric: tabular-nums;
}
.steps--rows .step h3 { font-size: 1.25rem; }
.steps--rows .step p { font-size: 1rem; }

/* Schmale linke Spalte, wenn rechts eine Liste steht. */
@media (min-width: 1024px) {
  .grid--split-narrow { grid-template-columns: 0.8fr 2.2fr; gap: var(--s-16); align-items: start; }
}

/* ---------- 21 Wechselnde Bild-Text-Blöcke ---------- */
.feature-row { display: grid; gap: var(--s-8); align-items: center; margin-bottom: var(--s-12); }
@media (min-width: 1024px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--flip .feature-row__media { order: 2; }
}
.feature-row__media img { border-radius: var(--r-lg); border: 1px solid var(--border-subtle); }

/* ---------- 22 Preise ---------- */
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3rem); color: var(--color-navy); line-height: 1.1; }
.price--sm { font-size: 1.75rem; }
.price-note { font-size: var(--size-caption); color: var(--text-muted); }

/* ---------- 23 Footer ---------- */
.footer { background: var(--surface-footer); color: rgba(255, 255, 255, .7); font-size: var(--size-small); }
.footer h2, .footer h3, .footer h4 { color: #fff; }
.footer a { color: rgba(255, 255, 255, .7); }
.footer a:hover { color: var(--text-accent); }
.footer__main { padding-block: var(--s-12); display: grid; gap: var(--s-10); }
@media (min-width: 768px) { .footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__main { grid-template-columns: 30fr 23fr 23fr 24fr; } }
.footer__col h4 { font-family: var(--font-head); font-size: var(--size-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: var(--s-3); }
.footer__nap { display: flex; align-items: flex-start; gap: var(--s-2); margin-bottom: var(--s-3); }
.footer__nap .icon { color: var(--color-coral); }
.footer__logo img { width: 180px; height: 52px; object-fit: contain; margin-bottom: var(--s-5); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: var(--s-5); }
.footer__legal-inner { display: flex; flex-direction: column; gap: var(--s-3); align-items: center; text-align: center; }
@media (min-width: 768px) { .footer__legal-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer__legal a { margin-left: var(--s-6); }
.footer__claim { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: var(--s-12); }
.footer__claim .claim { color: #fff; }
.footer__claim .claim span { color: var(--color-coral); }

/* ---------- 24 Breadcrumb ---------- */
.breadcrumb { padding-block: var(--s-4); font-size: var(--size-caption); color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb li:not(:last-child)::after { content: "·"; margin-left: var(--s-2); color: var(--color-grey-400); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-accent); }

/* ---------- 25 Blog ---------- */
.blog-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-3); font-size: var(--size-caption); color: var(--text-muted); margin-bottom: var(--s-3); }
.blog-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--s-3); }
.blog-card h3 a { color: var(--color-navy); }
.blog-card h3 a:hover { color: var(--text-accent); }
.blog-card__excerpt {
  font-size: var(--size-small); color: var(--text-body); flex: 1; margin-bottom: var(--s-4);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__more { font-family: var(--font-head); font-weight: 600; font-size: var(--size-small); color: var(--text-accent); display: inline-flex; align-items: center; gap: var(--s-2); }

.article { max-width: var(--container-article); }
.article-layout { display: grid; gap: var(--s-10); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 68% 1fr; gap: var(--s-12); } }
.article__body { font-size: var(--size-body-lg); line-height: var(--lh-article); }
.article__body h2 { font-size: 1.75rem; margin-top: var(--s-12); margin-bottom: var(--s-4); padding-left: var(--s-4); border-left: 4px solid var(--color-coral); }
.article__body h3 { font-size: 1.375rem; margin-top: var(--s-8); margin-bottom: var(--s-3); }
.article__body ul, .article__body ol { margin: 0 0 var(--s-6) 0; padding-left: var(--s-6); }
.article__body ul li, .article__body ol li { margin-bottom: var(--s-2); }
.article__body ul { list-style: none; padding-left: 0; }
.article__body ul li { position: relative; padding-left: 28px; }
.article__body ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-coral); }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: var(--size-caption); color: var(--text-muted); margin-bottom: var(--s-6); }
.toc { background: var(--surface-subtle); border-left: 4px solid var(--color-coral); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); margin-bottom: var(--s-8); }
.toc h2 { font-size: 1rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 var(--s-3); padding: 0; border: 0; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: var(--s-2); font-size: var(--size-small); }
.toc li::before { content: counter(toc) ". "; color: var(--text-accent); font-weight: 700; }
.author-box { display: flex; gap: var(--s-5); align-items: flex-start; background: var(--surface-subtle); border-left: 4px solid var(--color-coral); border-radius: var(--r-lg); padding: var(--s-6); margin-top: var(--s-12); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.sidebar-cta { position: sticky; top: 80px; }

/* ---------- 26 Scroll-to-top und WhatsApp ---------- */
.to-top, .wa-btn {
  position: fixed; right: var(--s-6); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-hover); border: 0; cursor: pointer;
  transition: background var(--t-btn), opacity var(--t-btn);
}
.to-top { bottom: 88px; background: var(--color-coral); color: #fff; opacity: 0; pointer-events: none; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--color-coral-dark); }
.wa-btn { bottom: var(--s-6); background: #25D366; color: #fff; }
.wa-btn:hover { background: #1FAF52; }

/* Feste Fördercheck-Leiste, nur auf dem Handy. Erscheint unterhalb des Heros. */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 39;
  padding: var(--s-3); background: var(--color-white);
  border-top: 1px solid var(--border-default); box-shadow: var(--shadow-hover);
  transform: translateY(110%); transition: transform var(--t-card);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 48px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
/* Solange die Leiste steht, ruecken die runden Knoepfe darueber. */
@media (max-width: 767px) {
  .to-top { bottom: 152px; }
  .wa-btn { bottom: 88px; }
}

/* ---------- 27 Logo-Laufband ---------- */
.logo-strip { overflow: hidden; }
.logo-strip__track { display: flex; gap: var(--s-12); align-items: center; width: max-content; animation: strip 40s linear infinite; }
.logo-strip__track img { height: 40px; width: auto; object-fit: contain; opacity: .7; }
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 28 Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal), transform var(--t-reveal); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 29 Antwortblock für KI-Antworten ---------- */
.answer {
  background: var(--surface-subtle); border-left: 4px solid var(--color-coral);
  border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); margin-bottom: var(--s-6);
  font-size: var(--size-body);
}
.answer p:last-child { margin-bottom: 0; }

/* ---------- 30 Karte und Einbettungen ---------- */
.embed { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.embed iframe { display: block; width: 100%; border: 0; }
.map-embed { aspect-ratio: 16 / 9; }
.map-embed iframe { height: 100%; }

/* ---------- 31 Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 60;
  background: #fff; border: 1px solid var(--border-default); border-left: 4px solid var(--color-coral);
  border-radius: var(--r-lg); box-shadow: var(--shadow-modal); padding: var(--s-6); display: none;
}
.cookie.is-open { display: block; }
@media (min-width: 768px) { .cookie { max-width: 520px; left: auto; } }

/* ---------- 32 Hilfsklassen ---------- */
.divider { height: 1px; background: var(--border-subtle); border: 0; margin-block: var(--s-12); }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.wrap { flex-wrap: wrap; }
.full { width: 100%; }

/* Abstaende im 4px-Raster. Ersetzen die frueheren style-Attribute in den Seiten. */
.m-0 { margin: 0; }
.mt-1 { margin-top: var(--s-1); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-4-0 { margin: var(--s-4) 0 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--s-1); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-12 { margin-bottom: var(--s-12); }
.mx-auto { margin-inline: auto; }
.pb-3 { padding-block: var(--s-3); }
.pb-12 { padding-block: var(--s-12); }
.gap-0 { gap: 0; }

/* Schriftgroessen nach Brand System. Fliesstext 16 bis 17px, Artikel 18px. */
.text-16 { font-size: 1rem; }
.text-17 { font-size: 1.0625rem; }
.text-18 { font-size: 1.125rem; }
.text-20 { font-size: 1.25rem; }
.text-24 { font-size: 1.5rem; }
.fw-700 { font-weight: 700; }
.head-600 { font-family: var(--font-head); font-weight: 600; }
.block { display: block; }
.text-small-block { display: block; font-size: .875rem; }
.head-block { display: block; font-family: var(--font-head); }

/* Lesebreiten. Artikel 800px nach Brand System, die uebrigen sind Sonderfaelle. */
.measure-860 { max-width: 860px; margin-inline: auto; }
.measure-900 { max-width: 900px; margin-inline: auto; }
.measure-1000 { max-width: 1000px; margin-inline: auto; }
.measure-article { max-width: var(--container-article); }
.measure-38 { max-width: 38ch; margin: 0; }

/* Flaechen und Rahmen */
.shadow-none { box-shadow: none; }
.framed { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); }
.p-0-clip { padding: 0; overflow: hidden; }
.card__foot { padding: var(--s-8); border-top: 1px solid var(--border-subtle); }
.row-between { display: flex; justify-content: space-between; gap: var(--s-4); }
.avatar { border-radius: 50%; object-fit: cover; }
.logo-32 { height: 32px; width: auto; }
.logo-64 { height: 64px; width: auto; }
.tile-center {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-4); height: 100%; padding: var(--s-8); text-align: center;
  background: var(--surface-subtle);
}
/* Zitat im Panel: Coral-Kante links, das wiedererkennbarste Detail der Marke. */
.panel--quote { border-radius: 0; border-left: 4px solid var(--color-coral); padding: var(--s-8); }

/* Rasterabweichungen, die nur an einzelnen Stellen vorkommen */
.grid--one { grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-4); }
.grid--two-fixed { grid-template-columns: repeat(2, 1fr); }
.grid--auto-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- 33 Überlauf verhindern ---------- */
/* Rasterzellen dürfen schrumpfen, sonst schieben breite Tabellen die Seite auf. */
.grid > *, .grid--split > *, .article-layout > *, .steps > *,
.footer__main > *, .cta-band__inner > *, .header__inner > * { min-width: 0; }
.table-wrap { max-width: 100%; }
p, li, td, th, dd, blockquote, figcaption { overflow-wrap: break-word; }
/* Lange deutsche Komposita wie Bewertungsmanagement brauchen eine Trennmöglichkeit. */
h1, h2, h3, h4, h5, h6, .claim, .price, .stat__value { overflow-wrap: break-word; hyphens: auto; }
a { overflow-wrap: anywhere; }
.article__body { max-width: 100%; }
.article__body table { width: 100%; }

/* ---------- 34 Kontrast auf dunklen Flaechen ---------- */
.section--navy strong, .panel--navy strong, .card--navy strong,
.hero strong, .cta-band strong, .footer strong, .hero b, .section--navy b { color: #fff; }
.section--navy .overline, .hero .overline, .cta-band .overline,
.panel--navy .overline, .card--navy .overline, .footer .overline { color: var(--text-accent-on-dark); }
.section--navy .coral, .hero .coral, .footer .coral { color: var(--text-accent-on-dark); }
.section--navy a, .hero a:not(.btn), .cta-band a:not(.btn) { color: #fff; }
.section--navy a:not(.btn):hover, .hero a:not(.btn):hover { color: var(--text-accent-on-dark); }
.hero .rating__stars, .section--navy .rating__stars { color: #FFBFB4; }
.rating__meta { color: var(--text-body); }
.hero .rating__meta, .section--navy .rating__meta { color: var(--text-on-dark-muted); }
/* Die Bewertungskachel im Fuss liegt auf hellem Grau, deshalb dunkle Schrift. */
.footer .rating { background: var(--color-grey-100); }
.footer .rating, .footer .rating a, .footer .rating__name { color: var(--color-navy); }
.footer .rating__score { color: var(--text-strong); }
.footer .rating__stars { color: var(--text-accent); }
.footer .rating__meta { color: var(--text-body); }
/* Antwortblöcke behalten ihren hellen Grund, auch in dunklen Abschnitten. */
.section--navy .answer, .hero .answer, .cta-band .answer { background: rgba(255, 255, 255, .1); border-left-color: var(--text-accent-on-dark); }
.section--navy .answer p, .hero .answer p, .cta-band .answer p { color: #fff; }
.badge--warn { background: var(--color-tag-warn); color: var(--text-warning); }
.step__num { background: var(--surface-accent); }
.badge--prozent { background: var(--surface-accent); }
.claim span { color: var(--text-accent); }
.section--navy .claim span, .footer .claim span { color: var(--text-accent-on-dark); }

/* ---------- 35 Referenzen ---------- */
/* Eine Sektion je Referenz, immer gleich aufgebaut. Der Beleg steht links,
   die Kennzahlen rechts, darunter die drei Karten. Auf dem Handy
   untereinander, Beleg zuerst. */

.referenz__betrieb {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--size-h4);
  color: var(--text-body);
  margin: calc(var(--s-2) * -1) 0 var(--s-4);
}

.referenz__koerper {
  display: grid;
  gap: var(--s-8);
  align-items: start;
  margin-top: var(--s-8);
}

@media (min-width: 900px) {
  .referenz__koerper { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.referenz__koerper > * { min-width: 0; }

/* Kennzahlen. Keine Karte, nur eine Coral-Kante links, wie jedes
   hervorgehobene Element im System. */
.referenz__zahlen { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); }

.referenz__zahlen > li {
  border-left: 4px solid var(--accent-deco);
  padding-left: var(--s-6);
}

.referenz__wert {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.referenz__text {
  display: block;
  margin-top: var(--s-2);
  font-weight: 600;
  color: var(--text-body);
}

.referenz__fuss {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--size-small);
  color: var(--text-muted);
}

.referenz__beitrag {
  margin-top: var(--s-8);
  padding: var(--s-6);
  background: var(--surface-muted);
  border-radius: var(--r-lg);
}

.referenz__quelle { margin-top: var(--s-8); }

/* Rasterkarte. Das SVG bringt seine eigenen Farben mit, hier steht nur der
   Rahmen und die Legende darunter. */
.raster { margin: 0; }

.raster__bild {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: #fff;
}

.raster__legende {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
  font-size: var(--size-small);
  color: var(--text-body);
}

.raster__legende span { display: inline-flex; align-items: center; gap: var(--s-2); }

.punkt { width: 12px; height: 12px; border-radius: var(--r-pill); display: inline-block; }
/* Die beiden Farben kommen aus den Rastergrafiken selbst, damit Legende und
   Bild nicht auseinanderlaufen. Gruen ist Erfolg, Navy ist die Marke. */
.punkt--top3 { background: var(--color-success); }
.punkt--rest { background: var(--color-navy); }

/* Zahlenspalten rechtsbündig, der Zielwert in Navy hervorgehoben. */
.num { text-align: right; font-variant-numeric: tabular-nums; }
.num--stark { font-weight: 700; color: var(--color-navy); }

/* Zeilenköpfe sind Beschriftungen, keine Spaltenköpfe. Ohne diese Regel
   erben sie Versalien und Grauton der Kopfzeile und lesen sich schwer. */
tbody th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--size-small);
  background: transparent;
  color: var(--text-body);
}
