/* ==========================================================================
   IMMO-HELD — Design System
   MIDNIGHT NAVY #081B33 · HERO ORANGE #D96B1F · GRAPHITE #23262D
   WARM SAND #F7F4EF · WHITE #FFFFFF
   Keine externen Fonts/CDNs → DSGVO-freundlich (kein Google-Fonts-Problem).
   ========================================================================== */

:root {
  /* ---- CI-Kernfarben (verbindlich) ---- */
  --midnight-navy: #081B33;
  --hero-orange:   #D96B1F;
  --graphite:      #23262D;
  --warm-sand:     #F7F4EF;
  --white:         #FFFFFF;

  /* ---- Abgeleitete Abstufungen ---- */
  --navy-900: #081B33;
  --navy-800: #0C2545;
  --navy-700: #123256;
  --navy-600: #1A4270;
  --navy-100: #DDE5F0;
  --navy-050: #EEF2F8;

  --orange-700: #A85114;   /* Orange-Text auf hellem Grund (WCAG AA) */
  --orange-600: #BF5C18;
  --orange-500: #D96B1F;   /* = HERO ORANGE */
  --orange-400: #EC8438;
  --orange-100: #FBEEE1;

  --off-white: #F7F4EF;
  --ink: #23262D;
  --ink-soft: #5A606C;
  --line: #E5DFD5;
  --line-dark: rgba(255,255,255,.14);

  --success: #157F52;

  /* ---- Typografie ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Palladio,
    "URW Palladio L", "Book Antiqua", Georgia, serif;

  /* ---- Maße ---- */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(8,27,51,.06);
  --shadow-md: 0 12px 34px rgba(8,27,51,.10);
  --shadow-lg: 0 26px 64px rgba(8,27,51,.20);

  --header-h: 92px;
  --ease-out: cubic-bezier(.16,.84,.34,1);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.14; letter-spacing: -.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .5em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------- Layout -- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--navy { background: var(--navy-900); color: var(--navy-100); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--white { background: var(--white); }
.section--sand { background: var(--off-white); }

.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); }
.section--navy .lead { color: #AFBED6; }

.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-700); margin-bottom: .7rem;
}
.section--navy .eyebrow { color: var(--orange-400); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .35em; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* Feste Dreierreihe – bei sechs Karten ergibt das ein sauberes 3×2-Raster */
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .grid-2col { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 800; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--orange-500); color: var(--white);
  box-shadow: 0 6px 20px rgba(217,107,31,.34);
}
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 10px 28px rgba(217,107,31,.42); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: currentColor; color: var(--navy-900); }
.section--navy .btn--ghost, .hero-photo .btn--ghost { color: var(--navy-900); }
.section--navy .btn--ghost { color: var(--white); }
.btn--ghost:hover { background: rgba(8,27,51,.06); }
.section--navy .btn--ghost:hover { background: rgba(255,255,255,.10); }
.btn--sm { padding: .72rem 1.15rem; font-size: .76rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--orange-700); font-weight: 700; text-decoration: none; font-size: .95rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- Header -- */
/* Über dem Bild transparent, nach dem Scrollen weiß – ruhiger, filmischer Einstieg */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: rgba(8,27,51,.09);
  box-shadow: 0 1px 24px rgba(8,27,51,.06);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; position: relative; line-height: 0; }
.brand img { height: 62px; width: auto; transition: opacity .35s var(--ease-out); }
.brand .brand-dark { opacity: 0; }
.brand .brand-light { position: absolute; inset: 0; opacity: 1; }
.site-header.is-scrolled .brand .brand-dark { opacity: 1; }
.site-header.is-scrolled .brand .brand-light { opacity: 0; }
@media (max-width: 620px) {
  :root { --header-h: 78px; }
  .brand img { height: 50px; }
}
@media (max-width: 400px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
}

.nav { display: flex; align-items: center; gap: 1.55rem; margin-left: auto; }
.nav a.nav-link {
  text-decoration: none; color: var(--white);
  font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color .35s var(--ease-out), border-color .2s var(--ease-out);
  text-shadow: 0 1px 12px rgba(4,12,24,.45);
}
.site-header.is-scrolled .nav a.nav-link { color: var(--navy-900); text-shadow: none; }
.nav a.nav-link:hover, .nav a.nav-link.is-active { border-bottom-color: var(--orange-500); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: .45rem; color: var(--white); line-height: 0;
  transition: color .35s var(--ease-out);
  filter: drop-shadow(0 1px 8px rgba(4,12,24,.5));
}
.site-header.is-scrolled .nav-toggle { color: var(--navy-900); filter: none; }
.nav-toggle svg { width: 30px; height: 30px; }

/* Startseite: heller Hero → Header von Anfang an in Navy statt Weiß */
.site-header--on-light .brand .brand-dark { opacity: 1; }
.site-header--on-light .brand .brand-light { opacity: 0; }
.site-header--on-light .nav a.nav-link { color: var(--navy-900); text-shadow: none; }
.site-header--on-light .nav-toggle { color: var(--navy-900); filter: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav a.nav-link, .site-header.is-scrolled .nav a.nav-link { color: var(--navy-900); text-shadow: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: .5rem 1.35rem 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-135%); transition: transform .28s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a.nav-link { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav .btn { margin-top: 1.1rem; }
}

/* ---------------------------------------------------------- Hero Foto -- */
.hero-photo {
  position: relative;
  background: var(--white);
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
/* Das Foto behält seine Originalfarben ... */
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-rooftop.jpg") right center / auto 118% no-repeat;
  animation: heroZoom 26s var(--ease-out) forwards;
}
/* ... die Lesbarkeit kommt aus einem weichen weißen Schatten von links. */
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(94deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.97) 30%,
      rgba(252,250,247,.86) 42%,
      rgba(250,247,242,.45) 54%,
      rgba(247,244,239,.10) 66%,
      rgba(247,244,239,0) 76%),
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,.20) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.10); }
  to   { transform: scale(1); }
}

/* Textspalte bewusst schmal und linksbündig, damit sie den Helden nie überschneidet */
.hero-content { position: relative; z-index: 1; max-width: 580px; }
.hero-content h1 {
  color: var(--navy-900); margin-bottom: 0;
  text-shadow: 0 2px 30px rgba(255,255,255,.85);
  text-wrap: balance;
}
.hero-content h1 em { font-style: normal; color: var(--orange-500); }
.section-head h2 em { font-style: normal; color: var(--orange-500); }
.hero-rule { width: 74px; height: 4px; background: var(--orange-500); border-radius: 2px; margin: 1.6rem 0 1.5rem; }
.hero-content .lead {
  max-width: 40ch; color: var(--graphite); margin-bottom: 2.2rem;
  text-shadow: 0 1px 18px rgba(255,255,255,.9);
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
/* Erklärvideo-Button und Vertrauenshinweis stehen nebeneinander */
.hero-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
/* Breit genug, dass der Text auf höchstens zwei Zeilen umbricht */
.hero-badge {
  display: flex; align-items: center; gap: .75rem; margin: 0;
  font-size: .92rem; line-height: 1.4; color: var(--navy-900); font-weight: 600;
  background: rgba(255,255,255,.82); border: 1px solid rgba(8,27,51,.10);
  padding: .7rem 1.1rem; border-radius: 9px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-badge svg { width: 26px; height: 26px; color: var(--orange-500); flex: none; }
.hero-badge span { display: block; max-width: 25ch; text-wrap: balance; }

.hero-note {
  margin: 1.5rem 0 0; max-width: 55ch;
  font-size: .95rem; line-height: 1.55; color: var(--graphite);
  text-shadow: 0 1px 16px rgba(255,255,255,.95);
}
.hero-note strong { color: var(--orange-700); font-weight: 800; white-space: nowrap; }

/* Scroll-Hinweis */
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  color: rgba(8,27,51,.38); z-index: 1; line-height: 0;
  animation: scrollHint 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: .45; }
  50%      { transform: translate(-50%, 8px); opacity: .9; }
}
@media (max-width: 860px) { .hero-scroll { display: none; } }

@media (max-width: 1180px) { .hero-content { max-width: 460px; } }
@media (max-width: 980px) { .hero-content { max-width: 400px; } }
@media (max-width: 860px) {
  .hero-photo { min-height: 0; }
  .hero-bg { background-size: cover; background-position: 68% center; }
  .hero-photo::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(252,250,247,.90) 45%, rgba(247,244,239,.94) 100%);
  }
  .hero-content { max-width: none; }
}

/* Auf Handys ist die Headline zweizeilig und damit hoch – Typo und Abstaende
   etwas straffen, damit der Hero unter die Bildschirmhoehe passt. */
@media (max-width: 620px) {
  .hero-content h1 { font-size: clamp(1.95rem, 8.4vw, 2.3rem); }
  .hero-rule { margin: 1.2rem 0 1.1rem; }
  .hero-content .lead { margin-bottom: 1.7rem; }
  .hero-note { margin-top: 1.1rem; }
}

/* --------------------------------------------------------- Trust-Leiste */
.trustbar-wrap { background: var(--white); }
.trustbar {
  position: relative; z-index: 5; margin-top: -58px;
  background: rgba(8,27,51,.94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--white);
  border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(4,12,24,.35);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
@media (max-width: 900px) { .trustbar { margin-top: -34px; } }
.trustbar-item { display: flex; gap: .95rem; align-items: flex-start; padding: 1.7rem 1.5rem; }
.trustbar-item + .trustbar-item { border-left: 1px solid var(--line-dark); }
.trustbar-item svg { width: 26px; height: 26px; color: var(--orange-500); flex: none; margin-top: 2px; }
.trustbar-item strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.trustbar-item span { display: block; font-size: .85rem; color: #A9B8D0; line-height: 1.4; margin-top: .2rem; }
@media (max-width: 900px) {
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .trustbar-item:nth-child(odd) { border-left: 0; }
  .trustbar-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 520px) {
  .trustbar { grid-template-columns: 1fr; }
  .trustbar-item + .trustbar-item { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* -------------------------------------------------------------- Cards -- */
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              border-color .35s var(--ease-out);
}
/* Lichtschein in der oberen Ecke – wechselt beim Überfahren auf Orange */
.card::before {
  content: ""; position: absolute; top: -70px; right: -70px;
  width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(8,27,51,.07) 0%, transparent 70%);
  transition: background .5s var(--ease-out), transform .5s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217,107,31,.42);
}
.card:hover::before {
  background: radial-gradient(circle, rgba(217,107,31,.20) 0%, transparent 70%);
  transform: scale(1.18);
}

/* Akzentleiste, die beim Überfahren durchläuft */
.card-visual { height: 4px; background: var(--line); position: relative; overflow: hidden; flex: none; }
.card-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--orange-400) 0%, var(--orange-600) 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease-out);
}
.card:hover .card-visual::after { transform: scaleX(1); }

.card-body { padding: 2rem 1.7rem 1.8rem; position: relative; flex: 1; display: flex; flex-direction: column; }

.card-icon {
  position: relative; width: 58px; height: 58px; border-radius: 17px;
  background: var(--navy-900); color: var(--orange-400);
  display: grid; place-items: center; margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(8,27,51,.20);
  transition: background .4s var(--ease-out), color .4s var(--ease-out),
              transform .5s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card-icon::after {          /* feiner Innenring */
  content: ""; position: absolute; inset: 5px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
}
.card:hover .card-icon {
  background: var(--orange-500); color: var(--white);
  transform: translateY(-3px) rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 26px rgba(217,107,31,.42);
}
.card-icon svg { width: 26px; height: 26px; }
/* Icon-Kacheln atmen im Takt, solange die Karten sichtbar sind */
.grid.is-running .card-icon {
  animation: iconPulse 5s var(--ease-out) infinite;
  animation-delay: calc(var(--i) * 320ms);
}
.card:hover .card-icon { animation: none; }
@keyframes iconPulse {
  0%   { transform: translateY(0) rotate(0);       box-shadow: 0 8px 20px rgba(8,27,51,.20); }
  7%   { transform: translateY(-5px) rotate(-5deg); box-shadow: 0 15px 28px rgba(8,27,51,.30); }
  16%  { transform: translateY(0) rotate(0);       box-shadow: 0 8px 20px rgba(8,27,51,.20); }
  100% { transform: translateY(0) rotate(0);       box-shadow: 0 8px 20px rgba(8,27,51,.20); }
}
.reveal-off .card-icon { animation: none !important; }

.card h3 {
  position: relative;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900);
  margin-bottom: 1rem; padding-bottom: .8rem;
}
.card h3::after {           /* Unterstrich, der auf Hover wächst */
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; border-radius: 1px; background: var(--orange-500);
  transition: width .5s var(--ease-out);
}
.card:hover h3::after { width: 68px; }

.card p { color: var(--ink-soft); font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: .4rem; }

.card--plain { padding: 1.9rem 1.7rem; }
.card--plain .card-icon-inline {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-100); color: var(--orange-700);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card--plain .card-icon-inline svg { width: 26px; height: 26px; }
.section--navy .card { background: rgba(255,255,255,.055); border-color: var(--line-dark); color: var(--navy-100); }
.section--navy .card p { color: #AFBED6; }
.section--navy .card--plain .card-icon-inline { background: rgba(217,107,31,.20); color: var(--orange-400); }

/* ----------------------------------------------------- Vergleichsspalten */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius-lg); padding: 2rem 1.8rem; border: 1px solid var(--line); background: var(--white); }
.compare-col--them { background: #EFEBE4; }
.compare-col--us { border: 2px solid var(--orange-500); box-shadow: var(--shadow-md); }
.compare-col h3 { font-family: var(--font-sans); font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-900); }
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; font-size: .97rem; }
.compare-list li:last-child { margin-bottom: 0; }
.compare-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.compare-col--them svg { color: #9E978A; }
.compare-col--us svg { color: var(--success); }

.section--navy .card h3 { color: var(--white); }
.section--navy .compare-col h3 { color: var(--navy-900); }

/* --------------------------------------------------- Animierte Timeline */
.timeline { position: relative; padding: .5rem 0; }
/* Spur */
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  transform: translateX(-50%); background: var(--line); border-radius: 2px;
}
/* Fortschritt – Höhe kommt beim Scrollen aus dem JS */
.timeline-fill {
  position: absolute; left: 50%; top: 0; width: 3px; transform: translateX(-50%);
  height: calc(var(--tl-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--orange-400) 0%, var(--orange-600) 100%);
  border-radius: 2px; box-shadow: 0 0 16px rgba(217,107,31,.5);
  transition: height .12s linear;
}

.tl-item {
  position: relative; display: grid;
  grid-template-columns: 1fr 104px 1fr; align-items: center;
  margin-bottom: 1.5rem;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-node {
  grid-column: 2; justify-self: center; position: relative; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: var(--white); color: var(--ink-soft);
  border: 3px solid var(--line);
  transition: background .45s var(--ease-out), color .45s var(--ease-out),
              border-color .45s var(--ease-out), transform .45s var(--ease-out),
              box-shadow .45s var(--ease-out);
}
.tl-item.is-active .tl-node {
  background: var(--orange-500); color: var(--white);
  border-color: var(--orange-500); transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(217,107,31,.14), 0 10px 26px rgba(217,107,31,.35);
}
/* Puls nur beim Erreichen */
.tl-item.is-active .tl-node::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--orange-500); animation: tlPulse 1.4s var(--ease-out) 1;
}
@keyframes tlPulse {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 0;  transform: scale(1.75); }
}

.tl-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out),
                          border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.tl-item--left  .tl-card { grid-column: 1; text-align: right; transform: translateX(-34px); }
.tl-item--right .tl-card { grid-column: 3; text-align: left;  transform: translateX(34px); }
.tl-item.is-active .tl-card {
  opacity: 1; transform: translateX(0);
  border-color: rgba(217,107,31,.35); box-shadow: var(--shadow-md);
}
.tl-card h3 { font-family: var(--font-sans); font-size: 1.06rem; margin-bottom: .3rem; color: var(--navy-900); }
.tl-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

@media (max-width: 860px) {
  .timeline::before, .timeline-fill { left: 30px; transform: none; }
  .tl-item { grid-template-columns: 60px 1fr; gap: 1.2rem; margin-bottom: 1.1rem; }
  .tl-node { grid-column: 1; justify-self: start; width: 60px; height: 60px; font-size: 1.05rem; }
  .tl-item--left .tl-card, .tl-item--right .tl-card {
    grid-column: 2; text-align: left; transform: translateY(22px);
  }
}

/* Ohne JS bzw. bei reduzierter Bewegung alles sichtbar */
.no-js .tl-card, .reveal-off .tl-card { opacity: 1 !important; transform: none !important; }
.reveal-off .timeline-fill { height: 100%; }
.section--navy .step::before { background: rgba(217,107,31,.20); color: var(--orange-400); }

/* ---------------------------------------------------------- Testimonial */
.testimonial {
  background: var(--navy-900); color: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; box-shadow: var(--shadow-md);
}
@media (max-width: 820px) { .testimonial { grid-template-columns: 1fr; } }
.testimonial-body { padding: clamp(2rem, 5vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.testimonial-mark { font-family: var(--font-display); font-size: 4rem; line-height: .7; color: var(--orange-500); margin-bottom: .8rem; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.45; color: var(--white); margin-bottom: 1.6rem; }
.testimonial-meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .93rem; color: #A9B8D0; }
.stars { display: flex; gap: 2px; color: var(--orange-500); }
.stars svg { width: 18px; height: 18px; }
/* Heller Grund, damit die dunkle Markenfigur lesbar bleibt */
.testimonial-visual {
  background: linear-gradient(150deg, #EFE7DC 0%, var(--warm-sand) 55%, #E6DCCC 100%);
  min-height: 260px; position: relative; display: flex; align-items: flex-end; justify-content: center;
}
.testimonial-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 62%, rgba(217,107,31,.20) 0%, transparent 62%);
}
.testimonial-visual img {
  position: relative; width: auto; max-width: 92%; max-height: 330px;
  object-fit: contain; object-position: bottom center;
}

/* ------------------------------------------------------- Mission-Band -- */
.mission { background: var(--navy-800); color: var(--white); position: relative; overflow: hidden; }
.mission-inner { display: grid; grid-template-columns: 250px 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding: 3rem 0; }
@media (max-width: 1100px) { .mission-inner { grid-template-columns: 200px 1fr; gap: 1.8rem; } }
@media (max-width: 760px) { .mission-inner { grid-template-columns: 1fr; text-align: left; } .mission-figure { display: none; } }
/* Lichtkegel hinter der Figur – sonst verschwindet Navy auf Navy.
   Breite hart begrenzt, damit die Figur nie in den Text ragt. */
.mission-figure { align-self: end; margin-bottom: -3rem; position: relative; overflow: visible; }
.mission-figure::before {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 100%; max-width: 230px; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217,107,31,.38) 0%, rgba(26,66,112,.30) 44%, transparent 70%);
  pointer-events: none;
}
.mission-figure img {
  position: relative; max-height: 230px; max-width: 100%; width: auto; margin-inline: auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.20));
}
.mission-text h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: .8rem; }
.mission-text h2 em { font-style: normal; color: var(--orange-500); }
.mission-text p { color: #AFBED6; margin-bottom: 0; font-size: .98rem; }
.mission-list { list-style: none; padding: 0; margin: 0; }
.mission-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; font-size: .95rem; color: var(--navy-100); }
.mission-list li:last-child { margin-bottom: 0; }
.mission-list svg { width: 20px; height: 20px; color: var(--orange-500); flex: none; margin-top: 2px; }
.mission-cta {
  background: var(--orange-500); color: var(--white);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; text-decoration: none;
  display: block; transition: background .15s ease, transform .15s ease;
}
.mission-cta:hover { background: var(--orange-600); transform: translateY(-3px); }
.mission-cta strong { display: block; font-size: .88rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.mission-cta span { display: block; font-size: .9rem; line-height: 1.45; opacity: .95; }
.mission-cta svg { width: 20px; height: 20px; margin-top: .8rem; }

/* -------------------------------------------------------- Honorar-Box -- */
.honorar {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-600));
  color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center; box-shadow: var(--shadow-lg);
}
.honorar h2 { color: var(--white); }
.honorar-figure {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6rem); font-weight: 700; line-height: 1;
  color: var(--orange-500); letter-spacing: -.03em; margin: .2rem 0 .5rem;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.honorar p { color: #AFBED6; max-width: 48ch; margin-inline: auto; }
.honorar p.honorar-cap {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8FA3C0; margin: -.1rem auto 1.1rem; text-align: center; max-width: none;
}

/* Kostenarten, die nacheinander durchgestrichen werden */
.strikeout {
  list-style: none; margin: 1.6rem 0 1.1rem; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem .7rem;
}
.strikeout li {
  position: relative; display: inline-block;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  font-family: var(--font-sans);
  font-size: clamp(.9rem, 2.4vw, 1.02rem); font-weight: 600;
  color: #E7EDF7; letter-spacing: .01em;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out),
              background-color .45s var(--ease-out), opacity .45s var(--ease-out);
}
/* Streichlinie wächst von links nach rechts */
.strikeout li::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; top: 50%;
  height: 2px; border-radius: 2px; background: var(--orange-500);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-out);
  transition-delay: calc(var(--i) * 340ms + 260ms);
}
.honorar.is-in .strikeout li::after { transform: scaleX(1); }
.honorar.is-in .strikeout li {
  color: #7E8FA8; border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.02); opacity: .8;
  transition-delay: calc(var(--i) * 340ms + 460ms);
}

/* Die Null erscheint, nachdem alles gestrichen ist */
.honorar-figure .figure-pop {
  display: inline-block;
  opacity: 0; transform: scale(.72);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: 1.42s;
}
.honorar.is-in .honorar-figure .figure-pop { opacity: 1; transform: scale(1); }
/* Kleinzeile erscheint gemeinsam mit der Null */
.honorar p.honorar-cap { opacity: 0; transition: opacity .5s var(--ease-out); transition-delay: 1.56s; }
.honorar.is-in p.honorar-cap { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .strikeout li::after { transform: scaleX(1); transition: none; }
  .honorar-figure .figure-pop { opacity: 1; transform: none; transition: none; }
  .honorar p.honorar-cap { opacity: 1; transition: none; }
}

/* ---------------------------------------------------------------- FAQ -- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.3rem 2.6rem 1.3rem 0;
  font-weight: 700; font-size: 1.03rem; color: var(--navy-900); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.7rem; font-weight: 300; color: var(--orange-500); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); padding-right: 2.6rem; font-size: .98rem; }

/* ----------------------------------------------------------- CTA-Band -- */
.cta-band {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: var(--white); text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,107,31,.24) 0%, transparent 66%);
  top: -200px; right: -140px; pointer-events: none;
}
.cta-band .wrap-narrow { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #AFBED6; max-width: 54ch; margin-inline: auto; font-size: 1.05rem; }

/* ----------------------------------------------------------- Formular -- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--off-white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(217,107,31,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.field-check input { width: auto; margin-top: .3rem; flex: none; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.form-note { font-size: .84rem; color: var(--ink-soft); margin-top: 1rem; }
.alert { border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .95rem; }
.alert--ok { background: #E4F3EC; border: 1px solid #A9D8C1; color: #10603F; }
.alert--err { background: #FBE9E7; border: 1px solid #E9B4AC; color: #8C2A1B; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; } }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: .9rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--orange-500); flex: none; margin-top: 3px; }
.contact-list a { color: var(--navy-900); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--orange-700); }
.contact-list span { display: block; font-size: .84rem; color: var(--ink-soft); font-weight: 400; }

/* --------------------------------------------------------- Seitenkopf -- */
.page-head {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(2.4rem, 5vw, 3.6rem)) 0 clamp(2.8rem, 6vw, 4rem);
}
.page-head h1 { color: var(--white); margin-bottom: .3em; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-head p { color: #AFBED6; max-width: 58ch; margin: 0; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-400); margin-bottom: .9rem; }
.breadcrumb a { color: var(--orange-400); text-decoration: none; }

/* --------------------------------------------------------------- Prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* -------------------------------------------------------------- Footer -- */
.site-footer { background: var(--navy-900); color: #8FA0BB; padding: 3.5rem 0 1.8rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 2.5rem; margin-bottom: 2.6rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #8FA0BB; text-decoration: none; }
.site-footer a:hover { color: var(--orange-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .62rem; }
.footer-brand img { height: 70px; width: auto; margin-bottom: 1.1rem; }
.footer-claim { font-family: var(--font-display); font-size: 1.02rem; color: var(--orange-400); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange-500); flex: none; margin-top: 4px; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; transition: background .15s ease, border-color .15s ease;
}
.socials a:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; font-size: .85rem;
}

/* ------------------------------------------------------- Erklärvideo -- */
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-900); box-shadow: 0 30px 80px rgba(4,12,24,.45);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.video-play {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  display: grid; place-items: center; border: 0; padding: 0;
  background: linear-gradient(180deg, rgba(4,12,24,.10) 0%, rgba(4,12,24,.45) 100%);
  transition: opacity .4s var(--ease-out), background .4s var(--ease-out);
}
.video-play[hidden] { display: none; }
.video-play:hover { background: linear-gradient(180deg, rgba(4,12,24,.04) 0%, rgba(4,12,24,.38) 100%); }
.video-play span {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--orange-500); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(217,107,31,.55);
  transition: transform .3s var(--ease-out);
}
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-play em {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center;
  font-style: normal; font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
@media (max-width: 620px) { .video-play span { width: 66px; height: 66px; } .video-play svg { width: 26px; height: 26px; } }

/* ------------------------------------------- Leistungen: Text + Bild -- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.feature--flip .feature-media { order: 2; }   /* Bild nach rechts */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--flip .feature-media { order: 0; }
}

.feature-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--navy-800) 0%, var(--navy-600) 100%);
  box-shadow: var(--shadow-md);
}
/* Das Foto liegt über dem Platzhalter – lädt es nicht, bleibt der
   Markenverlauf mit Icon stehen. Kein Sonderfall, kein kaputtes Bild. */
.feature-photo {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  filter: saturate(.9) contrast(1.05);
}
/* Einheitlicher Farbschleier, damit unterschiedliche Motive wie ein Satz wirken */
.feature-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(150deg,
    rgba(8,27,51,.30) 0%, rgba(8,27,51,.08) 48%, rgba(217,107,31,.16) 100%);
}
/* Akzentkante unten */
.feature-media::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 3;
  background: linear-gradient(90deg, var(--orange-500) 0%, rgba(217,107,31,0) 72%);
}
.feature--flip .feature-media::before {
  background: linear-gradient(270deg, var(--orange-500) 0%, rgba(217,107,31,0) 72%);
}
/* Platzhalter, sichtbar nur wenn kein Foto darüberliegt */
.feature-media__icon {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; color: rgba(255,255,255,.20);
}
.feature-media__icon svg { width: 104px; height: 104px; }

.feature-body h2 { margin-bottom: .4em; }
.feature-body .compare-list { max-width: 46ch; }

/* --------------------------------------- Kernaussage mit Rufzeichen ---- */
.claim {
  display: flex; gap: 1rem; align-items: center;
  padding: .3rem 0;
  margin: clamp(2rem, 4vw, 2.8rem) auto 0; max-width: 62ch;
  font-size: clamp(1.05rem, 2.1vw, 1.22rem); line-height: 1.5;
  color: var(--ink); font-weight: 600;
}
.claim-mark {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange-500); color: var(--white);
  display: grid; place-items: center; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1;
  opacity: 0; transform: scale(.3);
}
.claim.is-in .claim-mark { animation: markIn .7s var(--ease-out) .25s forwards; }
@keyframes markIn {
  0%   { opacity: 0; transform: scale(.3) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.18) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
/* Ring, der immer wieder aufgeht */
.claim-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--orange-500); opacity: 0;
}
.claim.is-in .claim-mark::after { animation: markRing 2.6s var(--ease-out) 1s infinite; }
@keyframes markRing {
  0%   { opacity: .65; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(2); }
  100% { opacity: 0;   transform: scale(2); }
}
.reveal-off .claim-mark { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ------------------------------------------------- Preis-Unterscheidung */
.pricerow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.2rem; align-items: stretch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) {
  .pricerow { grid-template-columns: 1fr; gap: .8rem; }
  .priceop { justify-self: start; padding-left: 1.6rem; }
}
.priceterm {
  background: var(--white); border: 1.5px solid rgba(217,107,31,.55);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i) * 180ms);
}
.pricerow.is-in .priceterm { opacity: 1; transform: none; }

/* Impuls läuft im Takt durch die drei Kästchen, solange sie im Bild sind */
.pricerow.is-running .priceterm {
  animation: termPulse 4.5s var(--ease-out) infinite;
  animation-delay: calc(var(--i) * 220ms + 700ms);
}
@keyframes termPulse {
  0%   { border-color: rgba(217,107,31,.55); box-shadow: 0 0 0 0 rgba(217,107,31,.30), var(--shadow-sm); }
  10%  { border-color: var(--orange-500);    box-shadow: 0 0 0 0 rgba(217,107,31,.30), var(--shadow-md); }
  26%  { border-color: var(--orange-500);    box-shadow: 0 0 0 13px rgba(217,107,31,0), var(--shadow-md); }
  42%  { border-color: rgba(217,107,31,.55); box-shadow: 0 0 0 0 rgba(217,107,31,0), var(--shadow-sm); }
  100% { border-color: rgba(217,107,31,.55); box-shadow: 0 0 0 0 rgba(217,107,31,0), var(--shadow-sm); }
}
.reveal-off .priceterm { animation: none !important; }
.reveal-off .priceterm { opacity: 1 !important; transform: none !important; }
.priceterm strong {
  display: block; color: var(--navy-900);
  font-size: .95rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .4rem;
}
.priceterm span { display: block; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.priceop {
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.9rem; color: var(--orange-500);
  opacity: 0; transform: scale(.4);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--i) * 180ms);
}
.pricerow.is-in .priceop { opacity: 1; transform: scale(1); }
.reveal-off .priceop { opacity: 1 !important; transform: none !important; }

/* Belegkasten für die Studie – dunkel, damit die Zahlen tragen */
.evidence {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-600) 100%);
  color: var(--navy-100);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  max-width: 62rem; margin-inline: auto;
}
/* Einmaliger Lichtstreif beim Erscheinen */
.evidence::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.09) 50%, transparent 62%);
  transform: translateX(-120%);
}
.evidence.is-in::after { animation: evidenceSweep 1.5s var(--ease-out) .35s 1; }
@keyframes evidenceSweep {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}
.evidence > * { position: relative; z-index: 2; }

.evidence-tag {
  display: inline-block; font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange-400); margin-bottom: .9rem;
}
.evidence > p { color: #AFBED6; font-size: 1rem; }

.evidence-figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem; margin: 1.8rem 0;
  padding: 1.9rem 0; border-block: 1px solid rgba(255,255,255,.14);
}
.evidence-figures div { position: relative; }

.evidence-figures strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 4.4rem); line-height: 1;
  color: var(--orange-400); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.evidence-figures strong small {
  display: block; font-family: var(--font-sans); font-weight: 800;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8FA0BB; margin-bottom: .55rem; text-shadow: none;
}
/* „bis" und „%" bleiben klein, die Ziffer trägt */
.evidence-figures strong i {
  font-style: normal; font-size: .34em; font-weight: 700;
  letter-spacing: 0; vertical-align: .55em; color: var(--orange-500);
  text-shadow: none;
}
.evidence-figures strong i:first-of-type { margin-right: .22em; }
.evidence-figures strong i:last-of-type  { margin-left: .12em; }
.evidence-figures .countup { display: inline; font: inherit; color: inherit; margin: 0; }
/* Bildunterschrift nur direkte Kinder, nicht die Ziffer im strong */
.evidence-figures > div > span {
  display: block; font-size: .88rem; color: #AFBED6;
  margin-top: .55rem; line-height: 1.5;
}
/* Ladebalken unter den Prozentzahlen */
.figbar {
  height: 6px; max-width: 220px; margin-top: .95rem;
  background: rgba(255,255,255,.13); border-radius: 999px; overflow: hidden;
}
.figbar i {
  display: block; height: 100%; width: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-400) 100%);
  transform: scaleX(0); transform-origin: left center;
}
.evidence.is-running .figbar i { animation: figFill 4.4s var(--ease-out) infinite; }
@keyframes figFill {
  0%   { transform: scaleX(0);   opacity: 1; }
  32%  { transform: scaleX(1);   opacity: 1; }
  80%  { transform: scaleX(1);   opacity: 1; }
  92%  { transform: scaleX(1);   opacity: 0; }
  93%  { transform: scaleX(0);   opacity: 0; }
  100% { transform: scaleX(0);   opacity: 1; }
}
.reveal-off .figbar i { transform: scaleX(1); animation: none; }

/* Rechenbeispiel */
.evidence-calc {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.3rem;
  font-size: .96rem; line-height: 1.55; color: var(--navy-100);
}
.evidence-calc svg { width: 20px; height: 20px; color: var(--orange-400); flex: none; margin-top: 3px; }
.evidence-calc b { color: var(--white); font-weight: 700; }

/* Abschluss-CTA des Abschnitts */
.preis-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.preis-cta p { max-width: 52ch; margin-inline: auto; color: var(--ink); font-size: 1.05rem; }

.evidence-note { color: var(--white) !important; }
.evidence-src { font-size: .8rem; color: #8FA0BB; margin-bottom: 0; }

/* ------------------------------------------- Skala: Verhandlungsspielraum */
.scale { border-top: 1px solid var(--line); }
.scale-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem; padding: .9rem 0 .3rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 760px) { .scale-head { display: none; } }
.scale-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .scale-row { grid-template-columns: 1fr; gap: .9rem; } }

.scale-label { display: flex; gap: .9rem; align-items: flex-start; }
.scale-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: .45rem;
  background: var(--c, var(--orange-500));
}
.scale-label strong { display: block; color: var(--navy-900); font-size: 1.02rem; margin-bottom: .15rem; }
.scale-label span { display: block; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }

.scale-bar { height: 10px; border-radius: 999px; background: rgba(8,27,51,.07); overflow: hidden; }
.scale-bar i {
  display: block; height: 100%; border-radius: 999px;
  width: calc(var(--f) * 100%);
  background: linear-gradient(90deg, var(--c, var(--orange-500)), var(--c, var(--orange-400)));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 130ms);
}
.scale.is-in .scale-bar i { transform: scaleX(1); }
.reveal-off .scale-bar i { transform: scaleX(1); }

/* --------------------------------------------------- Suchauftrag-Band -- */
.search-note {
  border-left: 3px solid var(--orange-500); padding-left: 1.2rem;
  font-size: 1.02rem; color: var(--ink); margin: 1.8rem 0 0;
}

/* Horizontale Timeline – läuft einmal durch, sobald sie im Bild ist */
.hflow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
/* Anfang und Länge der Spur werden per JS exakt auf die Knotenmitten gesetzt */
.hflow::before {            /* Spur */
  content: ""; position: absolute; top: 30px;
  left: var(--hf-x, 12.5%); width: var(--hf-w, 75%);
  height: 3px; background: var(--line); border-radius: 2px;
}
.hflow-fill {               /* Füllung */
  position: absolute; top: 30px;
  left: var(--hf-x, 12.5%); width: var(--hf-w, 75%); height: 3px;
  background: linear-gradient(90deg, var(--orange-400) 0%, var(--orange-600) 100%);
  border-radius: 2px; box-shadow: 0 0 16px rgba(217,107,31,.5);
  transform: scaleX(0); transform-origin: left center;
}
.hflow-fill { transform: scaleX(var(--hf-progress, 0)); transition: transform .12s linear; }

.hf-item { text-align: center; position: relative; }
.hf-node {
  position: relative; z-index: 2; margin: 0 auto 1.1rem;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink-soft);
  border: 3px solid var(--line);
  transition: background .45s var(--ease-out), color .45s var(--ease-out),
              border-color .45s var(--ease-out), transform .45s var(--ease-out),
              box-shadow .45s var(--ease-out);
}
.hf-node svg { width: 26px; height: 26px; }
.hf-item.is-active .hf-node {
  background: var(--orange-500); color: var(--white);
  border-color: var(--orange-500); transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(217,107,31,.13), 0 10px 26px rgba(217,107,31,.3);
}
.hf-body {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.hf-item.is-active .hf-body { opacity: 1; transform: none; }
.hf-body strong { display: block; color: var(--navy-900); font-size: 1rem; margin-bottom: .3rem; }
.hf-body span { display: block; font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 860px) {
  /* Vertikal, Spur links – gleiche Logik, nur gedreht */
  .hflow { grid-template-columns: 60px 1fr; gap: 1.1rem 1.3rem; }
  .hflow::before {
    top: var(--hf-y, 30px); height: var(--hf-h, calc(100% - 60px));
    left: 30px; width: 3px;
  }
  .hflow-fill {
    top: var(--hf-y, 30px); height: var(--hf-h, calc(100% - 60px));
    left: 30px; width: 3px; transform-origin: center top;
    transform: scaleY(var(--hf-progress, 0));
    background: linear-gradient(180deg, var(--orange-400) 0%, var(--orange-600) 100%);
  }
  .hf-item { display: contents; }
  .hf-node { margin: 0 0 1.6rem; }
  .hf-body { text-align: left; padding-bottom: 1.6rem; }
}

.reveal-off .hflow-fill { transform: scaleX(1) scaleY(1); }
.reveal-off .hf-body { opacity: 1; transform: none; }

/* --------------------------------------------- Kontaktblock Startseite -- */
.leadform {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-600) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.leadform::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,107,31,.26) 0%, transparent 66%);
  top: -220px; left: -160px; pointer-events: none;
}
.leadform-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .leadform-grid { grid-template-columns: 1fr; } }
.leadform h2 { color: var(--white); }
.leadform .lead { color: #B6C5DC; }
.leadform-points { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.leadform-points li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-size: .96rem; color: var(--navy-100); }
.leadform-points svg { width: 20px; height: 20px; color: var(--orange-500); flex: none; margin-top: 2px; }
.leadform-hint {
  display: flex; gap: .7rem; align-items: flex-start;
  background: rgba(217,107,31,.14); border: 1px solid rgba(236,132,56,.38);
  border-radius: 10px; padding: .85rem 1.1rem; margin-bottom: 1.2rem;
  font-size: .93rem; line-height: 1.5; color: #FFE2CB;
}
.leadform-hint svg { width: 20px; height: 20px; color: var(--orange-400); flex: none; margin-top: 2px; }

.leadform .form-card {
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 30px 70px rgba(4,12,24,.42);
}

/* ------------------------------------------- Cineastische Scroll-Effekte */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .reveal-off .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Utility -- */
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 3rem; }
.todo {
  background: #FFF6E0; border: 1px dashed #E0B348; color: #7A5400;
  padding: .55rem .85rem; border-radius: 6px; font-size: .84rem; display: inline-block;
}
.skip-link {
  position: absolute; left: -9999px; background: var(--orange-500); color: var(--white);
  padding: .8rem 1.2rem; z-index: 100; font-weight: 700; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
}
