/* ==========================================================================
   XHoch3 – Design System
   Betriebliche Vorsorge · bAV / bKV
   Typografie: Archivo (Versal-Headlines) + Inter (Fließtext)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Schriften – selbst gehostet
   Keine Verbindung zu Google-Servern: schneller, datenschutzfreundlich und
   ohne Consent-Abhängigkeit. Dateien liegen in /assets/fonts/.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/archivo-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/archivo-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marke */
  --ink:        #0d2429;
  --ink-2:      #123840;
  --ink-deep:   #08191d;
  --teal:       #1f8f9f;   /* dekorativ: Linien, Flächen, Grafik */
  --teal-d:     #15707d;   /* interaktiv: Buttons, Links (AA auf hell) */
  --teal-dd:    #0f5a65;   /* Hover */
  --teal-l:     #e6f2f3;
  --teal-on-dark: #7fd0da; /* Akzenttext auf dunklem Grund */
  --gold:       #c9a24b;   /* nur dekorativ auf hell, Text nur auf dunkel */
  --gold-text:  #96701d;   /* Goldton, der als Text auf Weiß AA erfüllt */
  --paper:      #faf8f4;
  --paper-2:    #f2ede4;
  --band-soft:  #eef4f4;   /* blasses Petrolband, ersetzt die frühere dunkle Fläche */
  --card:       #ffffff;
  --text:       #243437;
  --text-2:     #3a4a4d;
  --muted:      #5f7175;
  --line:       #e6e1d8;
  --line-dark:  rgba(255, 255, 255, .14);

  /* Ampel */
  --ok:   #1f7a48;
  --warn: #8a6210;
  --bad:  #b6392c;
  --ok-bg:   #e9f6ee;
  --warn-bg: #fdf5e3;
  --bad-bg:  #fdecea;

  /* Typo */
  --arch: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Maße */
  --wrap: 1200px;
  --gutter: 28px;
  --r: 14px;
  --r-lg: 24px;

  /* Tiefe */
  --shadow-s: 0 8px 26px -14px rgba(13, 36, 41, .30);
  --shadow:   0 20px 60px -28px rgba(13, 36, 41, .42);

  --ease: cubic-bezier(.19, 1, .22, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
p, li, blockquote, dd, dt, figcaption, label, td, th { overflow-wrap: break-word; }
a   { color: inherit; text-decoration: none; }
p   { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }
/* Browser geben figure und blockquote von Haus aus 40px Seitenabstand –
   das sprengt Raster und Scroll-Container. */
figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--arch);
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .012em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  /* Lange deutsche Komposita dürfen umbrechen, statt das Layout zu sprengen.
     hyphens trennt dabei nach den Silbenregeln und setzt einen Trennstrich
     ("Betriebsrenten-stärkungsgesetz"); overflow-wrap greift nur, wenn das
     Wort selbst getrennt noch zu lang ist. */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: .006em; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: .04em; }
h4 { font-size: .95rem; letter-spacing: .05em; }

/* Sichtbarer Fokus – überall, für Tastaturnutzung */
:focus-visible {
  outline: 3px solid var(--teal-d);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-ink :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--teal-on-dark);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

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

/* --------------------------------------------------------------------------
   3. Layout-Primitive
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(44px, 5vw, 64px) 0; }

/* Ruhiges Tonband zwischen den weißen Abschnitten.
   Hieß bis zur Helligkeitsanpassung "band-ink" und war dunkel. */
.band-soft  { background: var(--band-soft); }
.band-paper { background: var(--paper-2); }

.band-soft .eyebrow.on-dark { color: var(--teal-d); }

.stack-sm > * + * { margin-top: .6rem; }
.lead {
  font-size: 1.13rem;
  line-height: 1.6;
  color: var(--text-2);
}

.section-head { max-width: 680px; }
.section-head h2 { margin: .34em 0 .42em; }

/* Eyebrow: Kapitälchen-Label mit Goldstrich */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--arch);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-d);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.eyebrow.on-dark { color: var(--teal-on-dark); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--arch);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  padding: 1.02em 1.75em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary {
  background: var(--teal-d);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(21, 112, 125, .8);
}
.btn-primary:hover { background: var(--teal-dd); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(13, 36, 41, .25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(13, 36, 41, .04); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Micro-Trust unter der Primär-CTA */
.microtrust {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: .9rem;
  color: var(--muted);
}
.microtrust span { display: inline-flex; align-items: center; gap: 8px; }
.microtrust svg { flex: none; }
.on-ink .microtrust, .hero .microtrust { color: #bcd3d6; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--arch);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal-d);
}
.link-more .arrow { transition: transform .25s var(--ease); }
.link-more:hover { color: var(--teal-dd); }
.link-more:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header – schwebende Pillen-Navigation
   -------------------------------------------------------------------------- */
.pillnav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(250, 248, 244, .74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(13, 36, 41, .09);
  box-shadow: 0 10px 30px -16px rgba(13, 36, 41, .3);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.pillnav.is-docked {
  background: rgba(250, 248, 244, .94);
  box-shadow: 0 16px 40px -18px rgba(13, 36, 41, .42);
}
.pillnav .brand { display: flex; align-items: center; padding-right: 8px; flex: none; }
.pillnav .brand img { height: 27px; width: auto; max-width: 108px; object-fit: contain; }

.pillnav .links { position: relative; display: flex; align-items: center; }
.pillnav .links a {
  position: relative;
  z-index: 2;
  font-family: var(--arch);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.pillnav .links a[aria-current="page"] { color: #fff; }
/* Eigene Pille per CSS: der aktive Punkt bleibt auch ohne JavaScript lesbar */
.pillnav .links a[aria-current="page"]::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--teal-d);
  z-index: -1;
}
.pillnav .glider {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--teal-d);
  z-index: 1;
  opacity: 0;
  transition: transform .4s var(--ease), width .4s var(--ease), opacity .3s var(--ease);
}
.pillnav .nav-cta { margin-left: 6px; flex: none; }
.pillnav .nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--arch);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 11px 17px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .25s var(--ease);
}
.pillnav .nav-cta a:hover { background: var(--teal-dd); }
.pillnav .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-on-dark);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 208, 218, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(127, 208, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 208, 218, 0); }
}

/* Burger + Mobilmenü */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 12px;
  font-family: var(--arch);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-toggle .bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle .bars i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle .bars i:nth-child(2) { width: 14px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { width: 20px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  color: #fff;
  padding: 84px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-101%);
  transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu > ul > li > a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--arch);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: .02em;
  padding: 18px 0;
  color: #fff;
}
.mobile-menu .idx { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.mobile-menu .sub { list-style: none; margin: 0 0 16px; padding: 0 0 0 34px; }
.mobile-menu .sub a { display: block; padding: 8px 0; color: #b6cccf; font-size: .98rem; }
.mobile-menu .sub a:hover { color: #fff; }
.mobile-menu .mm-foot { margin-top: 30px; color: #9fb6b9; font-size: .95rem; }
.mobile-menu .mm-foot a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.mobile-close {
  position: fixed;
  top: 22px; right: var(--gutter);
  z-index: 96;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
}
.mobile-menu.is-open ~ .mobile-close,
.mobile-close.is-visible { display: block; }

@media (max-width: 1080px) {
  .pillnav .links { display: none; }
  .nav-toggle { display: inline-flex; }
  .pillnav { padding-left: 14px; }
}
@media (max-width: 620px) {
  .pillnav { gap: 4px; padding: 6px 6px 6px 12px; }
  .pillnav .brand { padding-right: 4px; }
  .pillnav .brand img { height: 23px; max-width: 92px; }
  .pillnav .nav-cta { margin-left: 2px; }
  .pillnav .nav-cta a { padding: 10px 13px; font-size: .68rem; letter-spacing: .03em; }
  .nav-toggle { padding: 9px 8px; }
  .nav-toggle span.label { display: none; }
}
@media (max-width: 360px) {
  .pillnav .brand img { max-width: 76px; }
  .pillnav .nav-cta a { font-size: .64rem; padding: 10px 11px; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 125% at 70% 4%, #1e6675 0%, #14434e 55%, #103740 100%);
  color: #fff;
  padding: 148px 0 clamp(64px, 8vw, 96px);
}
.hero-home { min-height: 92vh; display: flex; align-items: center; }

/* Bildebene ist bewusst höher als der Hero – dadurch bleibt beim
   Parallax-Versatz kein Rand sichtbar. Verschoben wird per JS in main.js. */
.hero .photo {
  position: absolute;
  left: 0; right: 0;
  top: -18%;
  height: 136%;
  opacity: .46;
  will-change: transform;
}
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }

/* Weicher Verlauf nach unten, damit die Kante zum nächsten Abschnitt ruhig bleibt */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(16, 55, 64, 0), rgba(16, 55, 64, .72));
  pointer-events: none;
  z-index: 2;
}

.hero .glow {
  position: absolute;
  width: 460px; height: 460px;
  left: 50%; top: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 208, 218, .16), transparent 65%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
  z-index: 1;
}
.hero .glow.is-on { opacity: 1; }

.hero .wrap { position: relative; z-index: 3; }
.hero h1 { color: #fff; margin: .3em 0 .34em; }
.hero h1 .hl { color: var(--teal-on-dark); }
.hero .lead { color: #dbe8ea; font-size: 1.18rem; }

/* --- Zentrierter Hero --- */
.hero-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow { justify-content: center; }
.hero .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.hero .cta-row { justify-content: center; }
.hero .microtrust { justify-content: center; }
.hero .breadcrumb ol { justify-content: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 780px;
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}
.hero-stats .n { font-family: var(--arch); font-weight: 800; font-size: 1.8rem; color: #fff; line-height: 1; }
.hero-stats .l { font-size: .82rem; line-height: 1.45; color: #a9c4c8; margin-top: 6px; }

/* Kompakter Seiten-Hero (Unterseiten) */
.hero-page .hero-text { max-width: 820px; }

/* Breadcrumb */
.breadcrumb { font-size: .82rem; color: #a9c4c8; margin-bottom: 10px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: 8px; opacity: .6; }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.breadcrumb a:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   8. Trust-Leiste
   -------------------------------------------------------------------------- */
/* Bewusst reines Weiß: mehrere Kundenlogos liegen als JPEG mit weißem
   Hintergrund vor und sind nicht freigestellt. Auf Weiß verschwindet diese
   Kante, auf beigem Grund wären es sichtbare Kästen. */
.trust {
  padding: 46px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust .k {
  text-align: center; color: var(--muted);
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  margin: 0 0 26px;
}

/* Durchlaufende Logoleiste.
   Der Streifen enthält den Logosatz zweimal; die Animation verschiebt genau
   um die halbe Breite und beginnt dadurch nahtlos von vorn. Die Abstände
   stecken als padding-right IM Satz – sonst stimmt die halbe Breite nicht. */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-set {
  display: flex;
  align-items: center;
  gap: 68px;
  padding-right: 68px;
  margin: 0;
  list-style: none;
  flex: none;
}
.marquee-set img {
  height: 62px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  flex: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .marquee-set { gap: 48px; padding-right: 48px; }
  .marquee-set img { height: 50px; max-width: 170px; }
}
@media (max-width: 560px) {
  .marquee-set { gap: 36px; padding-right: 36px; }
  .marquee-set img { height: 42px; max-width: 140px; }
}

/* Ohne Bewegung: ein Satz, horizontal antippbar statt automatisch laufend */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-set + .marquee-set { display: none; }
}

/* --------------------------------------------------------------------------
   9. Split-Layout (Text + Bild)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Hochformat-Porträts (1707x2560) dürfen nicht in den 4:3-Rahmen gezwängt
   werden – bei zentriertem Ausschnitt bliebe nur der Rumpf übrig.
   Eigener Rahmen, oben ausgerichtet, damit der Kopf im Bild bleibt. */
.split-media.is-portrait { max-width: 440px; margin-inline: auto; }
.split-media.is-portrait img {
  aspect-ratio: 4/5;
  object-position: center top;
}
.floatcard {
  position: absolute; left: -22px; bottom: -22px;
  max-width: calc(100% - 20px);
  display: flex; align-items: center; gap: 13px;
  background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-s);
  padding: 15px 19px;
}
.floatcard .ic {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--teal-l); display: flex; align-items: center; justify-content: center;
}
.floatcard > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.floatcard .t { display: block; font-family: var(--arch); font-weight: 700; text-transform: uppercase; font-size: .88rem; letter-spacing: .03em; color: var(--ink); }
.floatcard .s { display: block; font-size: .78rem; line-height: 1.4; color: var(--muted); }

/* -------------------------------------------------------------------------
   10. Nutzen-Grid (auf dunklem Grund)
   -------------------------------------------------------------------------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 46px; }
.benefit-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--teal-l);
  display: flex; align-items: center; justify-content: center;
}
/* Icons tragen ihre Farbe als SVG-Attribut – CSS sticht das aus */
.benefit .ic svg path,
.benefit .ic svg circle { stroke: var(--teal-d); }
.benefit h3 { color: var(--ink); margin-bottom: 8px; font-size: 1rem; }
.benefit p { color: var(--muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. Prozess (3 Schritte mit animierter Linie)
   -------------------------------------------------------------------------- */
.process { position: relative; margin-top: 52px; }
.process .conn { position: absolute; top: 23px; left: 0; width: 100%; height: 4px; overflow: visible; z-index: 0; }
.process .conn path {
  stroke: var(--teal); stroke-width: 2.5; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.5s var(--ease);
}
.process.is-drawn .conn path { stroke-dashoffset: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 1; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .no {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  background: var(--teal-d); color: #fff;
  font-family: var(--arch); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.step .tag {
  display: inline-block;
  font-family: var(--arch); font-weight: 700;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-d); background: var(--teal-l);
  padding: 5px 11px; border-radius: 20px;
}

/* --------------------------------------------------------------------------
   12. Leistungs-/Service-Karten
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%; background: var(--teal);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc:hover::before { transform: scaleY(1); }
.svc .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--teal-l); display: flex; align-items: center; justify-content: center;
}
.svc h3 { margin-bottom: 9px; }
.svc p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.svc .link-more { margin-top: auto; align-self: flex-start; }

/* Detail-Leistungsblöcke (nummerierte Liste statt Kartenwüste) */
.detail-list { margin-top: 46px; border-top: 1px solid var(--line); }
.detail-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.detail-item .no {
  font-family: var(--arch); font-weight: 800; font-size: 2.1rem;
  color: var(--teal); line-height: 1; letter-spacing: .01em;
}
.detail-item h3 { margin-bottom: 9px; }
.detail-item p { color: var(--text-2); margin: 0; }

/* Vorteils-Raster hell (2×2) */
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 46px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.value {
  background: var(--card);
  padding: 30px 28px;
}
.value h3 { margin-bottom: 9px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Check-Liste mit Häkchen */
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist svg { flex: none; margin-top: 5px; }
.band-soft .checklist li { color: var(--text-2); }
/* Die Häkchen tragen ihre Farbe als SVG-Attribut – auf hellem Grund umfärben */
.band-soft .checklist svg path { stroke: var(--teal-d); }

/* Selbstcheck-Fragen */
.selfcheck { background: var(--paper-2); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 48px); }
.selfcheck ol { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: sc; }
.selfcheck li {
  counter-increment: sc;
  display: grid; grid-template-columns: 34px 1fr; gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.selfcheck li::before {
  content: counter(sc, decimal-leading-zero);
  font-family: var(--arch); font-weight: 700; font-size: .82rem;
  color: var(--teal-d); padding-top: 3px;
}

/* --------------------------------------------------------------------------
   13. Kundenstimmen (statisches Grid – kein Slider)
   -------------------------------------------------------------------------- */
/* Kundenstimmen als Karussell.
   Bewusst CSS-first mit Scroll-Snap: die Karten stehen immer im HTML und sind
   auch ohne JavaScript sichtbar, wischbar und per Tastatur scrollbar. Das
   JavaScript ergänzt nur die Pfeiltasten. Damit kann der Fehler des alten
   Auftritts – der Slider lud als leere weiße Fläche – nicht wiederkehren. */
.tslider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.tslider-nav { display: flex; gap: 10px; flex: none; }
.tslider-nav[hidden] { display: none; }
.tnav {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 36, 41, .22);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease), color .25s var(--ease),
              background-color .25s var(--ease), opacity .25s var(--ease);
}
.tnav:hover:not([disabled]) { border-color: var(--teal-d); color: var(--teal-d); }
.tnav[disabled] { opacity: .3; cursor: default; }
.tnav svg { pointer-events: none; }

.tslider { margin-top: 40px; }
.tslider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Platz, damit die Kartenschatten nicht am Rand des Scrollers abschneiden */
  padding: 8px 2px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tslider-track::-webkit-scrollbar { display: none; }
.tslider-track > .tcard {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 1024px) {
  .tslider-track > .tcard { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 680px) {
  .tslider-track > .tcard { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tslider-track { scroll-behavior: auto; }
}
.tcard {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow-s);
}
.tcard .stars { color: var(--gold-text); letter-spacing: 2px; margin-bottom: 14px; font-size: .9rem; }
.tcard blockquote { margin: 0 0 20px; font-size: 1rem; line-height: 1.6; color: var(--text); }
.tcard .who {
  margin-top: auto;
  display: flex; align-items: flex-start; gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.tcard .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.tcard .who .av {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--teal-d); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--arch); font-weight: 700; font-size: .9rem;
}
.tcard .who .nm { display: block; font-family: var(--arch); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; color: var(--ink); line-height: 1.25; }
.tcard .who .rl { display: block; margin-top: 3px; font-size: .8rem; color: var(--muted); line-height: 1.35; }

/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 46px; }
.member {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.member img { width: 100%; height: 100%; object-fit: cover; object-position: top center; aspect-ratio: 3/4; }
.member .info { padding: 28px 26px; }
.member .info .role {
  font-family: var(--arch); font-weight: 700; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-d); margin: 4px 0 13px;
}
.member .info p { color: var(--muted); font-size: .94rem; }

/* --------------------------------------------------------------------------
   15. FAQ (details/summary – ohne JS)
   -------------------------------------------------------------------------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--arch); font-weight: 700; font-size: 1rem;
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 13px; height: 13px; margin-top: 5px;
  border-right: 2px solid var(--teal-d);
  border-bottom: 2px solid var(--teal-d);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 0 24px; max-width: 820px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Haftungscheck-Band & Ergebnis-Mock
   -------------------------------------------------------------------------- */
.checkband {
  background: linear-gradient(135deg, #164a56 0%, var(--teal-dd) 130%);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.checkband .inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(30px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 54px);
}
.checkband h2 { color: #fff; margin: .34em 0 .5em; }
.checkband p { color: #cfe3e5; }

.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 24px; color: var(--text); }
.mock .mh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mock .mh .ttl { font-family: var(--arch); font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; color: var(--ink); }
.mock .mh .st { font-size: .74rem; color: var(--muted); }
.progress { height: 7px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin: 10px 0 18px; }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 1.2s var(--ease); }
.ampel { display: flex; gap: 10px; margin: 6px 0 14px; }
.ampel .a {
  flex: 1; text-align: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper);
  padding: 12px 8px;
  font-size: .76rem; font-weight: 600; color: var(--muted);
}
.ampel .a.is-on.g { background: var(--ok-bg);   border-color: #b7e0c6; color: var(--ok); }
.ampel .a.is-on.y { background: var(--warn-bg); border-color: #eeddab; color: var(--warn); }
.ampel .a.is-on.r { background: var(--bad-bg);  border-color: #f3c2bb; color: var(--bad); }
.mock .rowline { display: flex; align-items: flex-start; gap: 10px; font-size: .89rem; color: var(--text-2); margin: 9px 0; }
.mock .rowline .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 8px; }
.mock small { display: block; margin-top: 14px; color: var(--muted); font-size: .76rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   17. Haftungscheck-Formular (Lead-Funnel)
   -------------------------------------------------------------------------- */
.hc { max-width: 880px; margin: 0 auto; }
.hc-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
}
.hc-bar { margin-bottom: 30px; }
.hc-bar .meta { display: flex; justify-content: space-between; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 9px; }
.hc-bar .meta strong { font-family: var(--arch); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-size: .78rem; }

.hc-step { display: none; }
.hc-step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.hc-step > h2 { font-size: 1.35rem; margin-bottom: 8px; }
.hc-step > p.q-help { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }

.opt-group { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.opt-group legend { padding: 0; margin-bottom: 16px; font-family: var(--arch); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink); line-height: 1.3; }
.opt {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  cursor: pointer;
  background: var(--paper);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.opt:hover { border-color: var(--teal); background: #fff; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt .box {
  width: 21px; height: 21px; border-radius: 50%; flex: none;
  border: 2px solid #b9c4c5;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease);
}
.opt .box::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-d); transform: scale(0); transition: transform .2s var(--ease); }
.opt input:checked ~ .box { border-color: var(--teal-d); }
.opt input:checked ~ .box::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--teal-d); background: var(--teal-l); }
.opt input:focus-visible ~ .box { outline: 3px solid var(--teal-d); outline-offset: 3px; }
.opt .lbl { font-weight: 500; }

/* Skalen */
.scale { padding: 20px 0; border-bottom: 1px solid var(--line); }
.scale:last-of-type { border-bottom: 0; }
.scale > .s-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.scale > .s-hint { display: block; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.scale-opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.scale-opts label {
  position: relative;
  text-align: center; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper);
  padding: 11px 5px;
  font-size: .74rem; font-weight: 600; color: var(--muted);
  transition: .2s var(--ease);
}
.scale-opts label:hover { border-color: var(--teal); color: var(--text); }
.scale-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.scale-opts label:has(input:checked) { border-color: var(--teal-d); background: var(--teal-d); color: #fff; }
.scale-opts label:has(input:focus-visible) { outline: 3px solid var(--teal-d); outline-offset: 3px; }

.hc-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hc-nav .btn-back { background: none; border: 0; cursor: pointer; font-family: var(--arch); font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 1em 0; }
.hc-nav .btn-back:hover { color: var(--ink); }
.hc-error { color: var(--bad); font-size: .9rem; font-weight: 500; margin-top: 14px; }

/* Ergebnis-Ampel VOR der Kontaktabgabe */
.hc-result { text-align: left; }
.result-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.result-badge {
  font-family: var(--arch); font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; font-size: .9rem;
  padding: 10px 20px; border-radius: 999px;
}
.result-badge.g { background: var(--ok-bg);   color: var(--ok);   border: 1.5px solid #b7e0c6; }
.result-badge.y { background: var(--warn-bg); color: var(--warn); border: 1.5px solid #eeddab; }
.result-badge.r { background: var(--bad-bg);  color: var(--bad);  border: 1.5px solid #f3c2bb; }
.result-findings { list-style: none; padding: 0; margin: 22px 0 0; }
.result-findings li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--text-2); }
.result-findings .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 8px; }
.result-note { margin-top: 22px; padding: 16px 20px; background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--text-2); }

/* --------------------------------------------------------------------------
   18. Formulare
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
/* min-width:0 verhindert, dass <select> mit langen Optionen das Grid aufbläht */
.form-grid > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--bad); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.field input:hover, .field textarea:hover { border-color: #cfc7b8; }
.field input:focus, .field textarea:focus { border-color: var(--teal-d); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(21, 112, 125, .16); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text-2); margin-top: 6px; }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 3px; accent-color: var(--teal-d); }
.consent a { color: var(--teal-d); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* --------------------------------------------------------------------------
   19. Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 76px); align-items: start; }

/* Telefonnummer als typografischer Anker – kein Icon, keine Kachel */
.contact-call { margin: 32px 0 0; }
.contact-call a {
  display: inline-block;
  font-family: var(--arch);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  letter-spacing: .005em;
  line-height: 1.15;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.contact-call a:hover { color: var(--teal-d); }
.contact-call .hint {
  display: block;
  margin-top: 8px;
  font-size: .86rem;
  color: var(--muted);
}

/* Übrige Angaben als ruhige Beschreibungsliste mit Haarlinien */
.contact-rows { margin: 38px 0 0; border-top: 1px solid var(--line); }
.contact-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 158px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-rows dt {
  font-family: var(--arch);
  font-weight: 700;
  font-size: .71rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
  overflow-wrap: normal;
  hyphens: none;
}
.contact-rows dd { margin: 0; color: var(--text-2); }
.contact-rows dd a { color: var(--teal-d); }
.contact-rows dd a:hover { color: var(--teal-dd); text-decoration: underline; }
.contact-rows dd .link-more { display: inline-flex; margin-top: 12px; text-decoration: none; }
.contact-rows dd .link-more:hover { text-decoration: none; }

@media (max-width: 520px) {
  .contact-rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .contact-rows dt { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   20. Blog
   -------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 46px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .74rem; color: var(--muted); margin-bottom: 12px; }
.post-meta .cat {
  font-family: var(--arch); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-d); background: var(--teal-l);
  padding: 4px 10px; border-radius: 20px;
}
.post-card h2, .post-card h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 10px; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--teal-d); }
.post-card p { color: var(--muted); font-size: .92rem; }
.post-card .link-more { margin-top: auto; align-self: flex-start; }

/* Artikel */
.article { max-width: 760px; margin: 0 auto; }
.article > h2 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); margin: 2.4em 0 .7em; }
.article > h3 { font-size: 1.12rem; margin: 2em 0 .6em; }
.article > p { font-size: 1.06rem; line-height: 1.75; color: var(--text-2); margin-bottom: 1.3rem; }
.article > p:first-of-type { font-size: 1.16rem; color: var(--text); }
.article ul, .article ol { color: var(--text-2); margin-bottom: 1.3rem; }
.article li { margin: .4em 0; }
.article-hero-img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: clamp(30px, 4vw, 48px); }
.article-cta { margin-top: 48px; padding: 30px 32px; background: var(--paper-2); border-radius: var(--r-lg); }
.article-cta h2 { font-size: 1.2rem; margin: 0 0 10px; }
.article-cta p { color: var(--text-2); }

/* Spam-Schutz: Feld nur für Bots. Nicht display:none, weil manche Bots
   unsichtbare Felder überspringen – aus dem Sichtbereich geschoben. */
.hp-feld { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Kurzfassung am Anfang eines Beitrags. Bewusst kein Rahmenkasten,
   sondern eine ruhige Fläche mit Akzentkante. */
.article .kurz {
  margin: 0 0 2.2rem;
  padding: 22px 26px;
  background: var(--band-soft);
  border-left: 3px solid var(--teal-d);
  border-radius: 0 var(--r) var(--r) 0;
}
.article .kurz-head {
  font-family: var(--arch); font-weight: 700; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .1em; color: var(--teal-dd);
  margin: 0 0 .5em;
}
.article .kurz p:last-child { margin: 0; color: var(--text-2); line-height: 1.7; }

/* Tabellen im Fließtext. Der Scroll-Container verhindert, dass lange
   deutsche Komposita die Spalte auf schmalen Displays sprengen. */
.tabelle-scroll {
  overflow-x: auto; margin: 0 0 1.8rem; -webkit-overflow-scrolling: touch;
  /* Schatten an der Kante, hinter der noch Inhalt liegt. Die beiden
     abdeckenden Verläufe scrollen mit (local), die Schatten bleiben
     am Rand stehen (scroll) – so verschwindet der Hinweis genau dann,
     wenn nichts mehr zu scrollen ist. */
  background:
    linear-gradient(to right, var(--paper) 32%, rgba(250, 248, 244, 0)) left center,
    linear-gradient(to left, var(--paper) 32%, rgba(250, 248, 244, 0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(13, 36, 41, .16), rgba(13, 36, 41, 0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(13, 36, 41, .16), rgba(13, 36, 41, 0)) right center;
  background-repeat: no-repeat;
  background-size: 36px 100%, 36px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
.datentabelle {
  width: 100%; min-width: 560px; border-collapse: collapse;
  font-size: .95rem; color: var(--text-2); text-align: left;
}
.datentabelle th, .datentabelle td {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.6;
}
.datentabelle thead th {
  font-family: var(--arch); font-weight: 700; text-transform: uppercase;
  font-size: .76rem; letter-spacing: .07em; color: var(--ink);
  border-bottom: 2px solid var(--teal-d);
}
.datentabelle tbody th { font-weight: 600; color: var(--ink); width: 27%; }
.datentabelle tbody tr:last-child th,
.datentabelle tbody tr:last-child td { border-bottom: 0; }

/* Nummerierte Prüfliste mit Ziffern in Petrol statt Standardmarker. */
.article ol.pruefliste { list-style: none; padding-left: 0; counter-reset: pruef; }
.article ol.pruefliste > li {
  counter-increment: pruef; position: relative;
  padding-left: 42px; margin: 0 0 1rem; line-height: 1.7;
}
.article ol.pruefliste > li::before {
  content: counter(pruef); position: absolute; left: 0; top: .05em;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-l); color: var(--teal-dd);
  font-family: var(--arch); font-weight: 700; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
}
.article ol.pruefliste strong { color: var(--ink); }

/* Rechtlicher Hinweis und Quellenapparat am Fuß des Beitrags. */
.article .disclaimer {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .9rem; line-height: 1.7; color: var(--muted);
}
.article .quellen-head { font-size: 1.05rem; margin: 2.2em 0 .7em; }
.article ol.quellen { font-size: .9rem; color: var(--muted); padding-left: 1.4em; }
.article ol.quellen li { margin: .5em 0; line-height: 1.6; }
.article ol.quellen a { color: var(--teal-d); }

/* FAQ im Beitrag etwas luftiger als auf den Leistungsseiten. */
.article .faq { margin: 0 0 1.8rem; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  .article .kurz { padding: 18px 20px; }
  .datentabelle { min-width: 480px; }
}

/* --------------------------------------------------------------------------
   21. Rechtstexte
   -------------------------------------------------------------------------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 2.6em 0 .8em; padding-top: .7em; border-top: 2px solid var(--teal); }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 2em 0 .6em; }
.legal h4 { font-size: .92rem; margin: 1.6em 0 .5em; color: var(--teal-d); }
.legal p, .legal li { color: var(--text-2); font-size: .98rem; line-height: 1.72; }
.legal a { color: var(--teal-d); text-decoration: underline; overflow-wrap: anywhere; }
.legal .shout { font-size: .88rem; letter-spacing: .01em; }
.legal address { font-style: normal; color: var(--text-2); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   22. Abschluss-CTA
   -------------------------------------------------------------------------- */
.final { position: relative; background: #143c46; color: #fff; overflow: hidden; }
.final .bg { position: absolute; inset: 0; opacity: .3; }
.final .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.final .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 60, 70, .92), rgba(20, 60, 70, .66)); }
.final .wrap { position: relative; z-index: 2; text-align: center; padding: clamp(70px, 9vw, 104px) var(--gutter); }
.final h2 { color: #fff; max-width: 820px; margin: .4em auto .5rem; }
.final p { color: #cfe3e5; max-width: 580px; margin: 0 auto 30px; font-size: 1.08rem; }
.final .cta-row { justify-content: center; }
.final .callmini { margin-top: 26px; color: #a9c4c8; font-size: .95rem; }
.final .callmini a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #0e2c34; color: #9fb6b9; padding: 64px 0 30px; font-size: .94rem; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 40px; }
.site-footer h2 { font-family: var(--sans); color: #fff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.site-footer a { display: block; color: #9fb6b9; margin: 9px 0; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
/* Eigene helle Logo-Variante: Ein CSS-Filter würde das Signet zu einem weißen Kreis
   ohne X verschmelzen lassen. */
.site-footer .brand img { height: 36px; width: auto; opacity: .94; margin-bottom: 16px; }
.site-footer .brand p { font-size: .92rem; line-height: 1.65; max-width: 320px; color: #9fb6b9; }
.site-footer .soc { display: flex; gap: 11px; margin-top: 18px; }
.site-footer .soc a {
  width: 38px; height: 38px; border-radius: 10px; margin: 0;
  background: rgba(255, 255, 255, .07);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s var(--ease);
}
.site-footer .soc a:hover { background: var(--teal-d); }
.site-footer address { font-style: normal; color: #9fb6b9; margin: 0 0 10px; line-height: 1.7; }
.ft-bot {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #7d989b;
}
.ft-bot a { display: inline; margin: 0; }
.ft-bot .legal-links a + a { margin-left: 14px; }

/* --------------------------------------------------------------------------
   24. Reveal-Animation
   -------------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   25. 404
   -------------------------------------------------------------------------- */
.err { text-align: center; max-width: 620px; margin: 0 auto; }
.err .code { font-family: var(--arch); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--teal); letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   26. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid, .benefit-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { order: 0; }
  .floatcard { left: 12px; bottom: -18px; }
  .steps, .svc-grid, .team-grid, .value-grid, .contact-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
  .process .conn { display: none; }
  .checkband .inner { grid-template-columns: minmax(0, 1fr); }
  .member { grid-template-columns: minmax(0, 1fr); }
  .member img { aspect-ratio: 16/10; }
  .value-grid { border-radius: var(--r); }
  .detail-item { grid-template-columns: 1fr; gap: 10px; }
  .detail-item .no { font-size: 1.5rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-home { min-height: auto; }
  .scale-opts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  /* Auf sehr schmalen Displays Silbentrennung zulassen */
  h1, h2, h3, .lead, p { hyphens: auto; -webkit-hyphens: auto; }
  .floatcard { position: static; max-width: none; margin-top: 14px; }
  .benefit-grid, .benefit-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero { padding-top: 128px; }
  .scale-opts { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   27. Reduced Motion & Print
   -------------------------------------------------------------------------- */
/* Sehr schmale Geräte (iPhone SE 1, Galaxy Fold zugeklappt) */
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.4rem; }
  /* Notumbruch, falls dem Browser kein Trennwörterbuch zur Verfügung steht */
  h1, h2, h3, h4, .lead, p, li, blockquote, .nm, .rl { overflow-wrap: anywhere; }
  .btn { font-size: .8rem; padding: .95em 1.35em; }
  .hero-stats { grid-template-columns: minmax(0, 1fr); }
  .eyebrow { letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .pillnav, .mobile-menu, .mobile-close, .final, .hero .photo { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero { background: #fff; color: #000; padding: 0; }
  .hero h1, .hero .lead { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
