@import url('fonts.css');

/* ==========================================================================
   KLB Aufbereitung — Designsystem
   Anthrazit, Papierweiß, Markenblau #4A95CF.
   Abschnitte tragen ihr eigenes Thema (.s-dark / .s-light / .s-tint),
   Komponenten lesen nur lokale Variablen. Dadurch funktioniert jede
   Komponente auf hellem und dunklem Grund ohne Zweitfassung.
   ========================================================================== */

:root {
  /* Marke */
  --brand:        #4A95CF;   /* exakt die Blaufläche aus dem Logo */
  --brand-deep:   #1E6BA0;   /* dunkler, damit Weiß darauf lesbar bleibt */
  --brand-deeper: #17567F;
  --brand-pale:   #7FBCE8;

  /* Grundfarben */
  --ink:      #0E1013;
  --ink-2:    #15181C;
  --ink-3:    #1D2127;
  --paper:    #FFFFFF;
  --paper-2:  #F4F5F7;
  --paper-3:  #E8EAEE;

  --ok:       #2F8F5B;
  --warn:     #B4531A;
  --err:      #C0392B;

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --pad: clamp(72px, 8.5vw, 132px);
  --gap: clamp(22px, 3vw, 34px);

  /* Standardthema = hell */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5A616C;
  --line: rgba(14, 16, 19, 0.12);
  --line-soft: rgba(14, 16, 19, 0.07);
  --card: var(--paper-2);
  --card-hover: var(--paper-3);
  --acc: var(--brand-deep);
}

/* ---------- Abschnittsthemen ----------
   Jede Fläche mit dunklem Grund muss auch die Variablen umschalten,
   sonst erben Buttons, Linien und Fließtext die hellen Werte und
   verschwinden. Deshalb stehen Hero, Seitenkopf und Fußzeile hier mit drin. */
.s-dark, .hero, .page-head, .foot {
  --bg: var(--ink); --fg: #FFFFFF; --muted: #A5ABB5;
  --line: rgba(255,255,255,0.13); --line-soft: rgba(255,255,255,0.07);
  --card: var(--ink-2); --card-hover: var(--ink-3);
  --acc: var(--brand);
}
.s-light { --bg: var(--paper); --card: var(--paper-2); --card-hover: var(--paper-3); }
.s-tint  { --bg: var(--paper-2); --card: var(--paper); --card-hover: #FFFFFF; }

.s-dark, .s-light, .s-tint { background: var(--bg); color: var(--fg); }

/* ==========================================================================
   Grundlagen
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

/* Muss vor allen Komponentenregeln stehen und !important tragen: eine
   Klassenregel wie `.note { display: flex }` schlägt sonst das
   hidden-Attribut, und versteckte Elemente erscheinen als leere Kästen. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed; left: 14px; top: -70px; z-index: 3000;
  background: var(--brand-deep); color: #fff;
  padding: 12px 20px; border-radius: var(--r-xs);
  font-size: 15px; font-weight: 600;
  transition: top 0.18s;
}
.skip-link:focus { top: 14px; }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px)  { .wrap { padding: 0 36px; } }
@media (min-width: 1140px) { .wrap { padding: 0 48px; } }

section { padding: var(--pad) 0; }
.section-tight { padding: clamp(48px, 5vw, 76px) 0; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ==========================================================================
   Typografie
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.022em; line-height: 1.08; }

.h-xl { font-size: clamp(38px, 6.2vw, 74px); letter-spacing: -0.035em; line-height: 1.02; }
.h-lg { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; }
.h-md { font-size: clamp(23px, 2.7vw, 32px); letter-spacing: -0.022em; }
.h-sm { font-size: clamp(19px, 1.9vw, 22px); letter-spacing: -0.014em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: 0.55;
}

.lede { font-size: clamp(17px, 1.65vw, 20px); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }

.head { max-width: 680px; margin-bottom: clamp(38px, 4vw, 58px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head .lede { margin-top: 16px; }

.prose > * + * { margin-top: 18px; }
.prose p { color: var(--muted); }
.prose h2 { font-size: clamp(25px, 3vw, 34px); margin-top: 46px; }
.prose h3 { font-size: clamp(19px, 2.1vw, 23px); margin-top: 32px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul { display: grid; gap: 11px; }
.prose li { position: relative; padding-left: 28px; color: var(--muted); }
.prose li::before {
  content: ''; position: absolute; left: 3px; top: 10px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.006em;
  border: 1px solid transparent; border-radius: 100px;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

.btn-primary { background: var(--brand-deep); color: #fff; }
.btn-primary:hover { background: var(--brand-deeper); }

.btn-secondary { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }

.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { opacity: .86; }

/* Dunkler als das WhatsApp-Grün der Marke: Weiß auf #1F9D52 erreicht nur
   3,5:1 und fällt damit durch die Kontrastprüfung. #17793F liegt bei 5,5:1. */
.btn-wa { background: #17793F; color: #fff; }
.btn-wa:hover { background: #126231; }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; color: var(--acc);
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Bewegung — genau drei Effekttypen: Einblenden, Anheben, Vergleich
   ========================================================================== */
.rise { opacity: 0; transform: translateY(22px); }
.rise.in { opacity: 1; transform: none; transition: opacity .62s var(--ease), transform .62s var(--ease); }
.rise.d1.in { transition-delay: .06s; }
.rise.d2.in { transition-delay: .12s; }
.rise.d3.in { transition-delay: .18s; }

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

/* ==========================================================================
   Kopfleiste
   ========================================================================== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 16px 0;
  transition: padding .3s var(--ease), background-color .3s, box-shadow .3s;
  color: #fff;
}
/* Weichzeichner auf einem Pseudo-Element: ein backdrop-filter direkt auf .top
   würde die Leiste zum Bezugsrahmen für das fixierte Mobilmenü machen. */
.top::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  opacity: 0; pointer-events: none;
  background: rgba(14,16,19,.86);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: opacity .3s;
}
.top.stuck { padding: 9px 0; }
.top.stuck::before { opacity: 1; }

.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 560px) { .brand img { height: 34px; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > li { position: relative; }
.nav a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.76);
  padding: 8px 0;
  transition: color .2s;
}
.nav a:hover, .nav > li > button:hover,
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { font-weight: 600; }

.nav-cta {
  background: var(--brand-deep); color: #fff !important;
  padding: 11px 22px !important; border-radius: 100px;
  font-weight: 600 !important;
  transition: background-color .2s, transform .2s;
}
.nav-cta:hover { background: var(--brand-deeper); transform: translateY(-1px); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .28s var(--ease); }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh; width: min(330px, 84vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 92px 24px 40px;
    background: var(--ink); border-left: 1px solid rgba(255,255,255,.12);
    transform: translateX(100%); transition: transform .32s var(--ease);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a, .nav > li > button { font-size: 18px; padding: 13px 0; width: 100%; }
  .nav-cta { justify-content: center; margin-top: 16px; padding: 15px 22px !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding: 104px 0 0;
  overflow: hidden;
}
.hero .hero-pills { margin-top: 8px; }
.hero-grid {
  display: grid; gap: clamp(30px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(56px, 6vw, 88px);
}
@media (min-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.16fr) 1fr; min-height: 88vh; padding-bottom: clamp(64px, 6vw, 96px); }
}

.hero-copy { position: relative; z-index: 2; max-width: 620px; padding-top: 12px; }
@media (min-width: 900px) { .hero-copy { padding-top: 28px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); }
.hero .lede { color: #B9BEC7; max-width: 520px; margin-bottom: 30px; }
.hero .actions { margin-bottom: 26px; }
.hero-note { font-size: 14.5px; color: #8A9099; max-width: 460px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 100px;
  font-size: 13.5px; font-weight: 500;
  color: #C7CCD4;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}
.pill svg { width: 15px; height: 15px; fill: none; stroke: var(--brand); stroke-width: 2.6; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: clamp(280px, 46vw, 620px);
  object-fit: cover; object-position: center 46%;
  border-radius: var(--r-lg);
}
@media (min-width: 900px) {
  .hero-media { margin-right: calc(50% - 50vw); }
  .hero-media img { height: min(76vh, 660px); border-radius: var(--r-lg) 0 0 var(--r-lg); }
}
.hero-media::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, rgba(14,16,19,.55), transparent 42%);
  pointer-events: none; border-radius: var(--r-lg);
}
@media (min-width: 900px) { .hero-media::after { border-radius: var(--r-lg) 0 0 var(--r-lg); } }

.hero-credit {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 11px; color: rgba(255,255,255,.55);
  background: rgba(14,16,19,.55); padding: 4px 10px; border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* Seitenkopf der Unterseiten */
.page-head {
  background: var(--ink); color: #fff;
  padding: 130px 0 clamp(48px, 5vw, 74px);
}
.page-head h1 { max-width: 880px; margin-bottom: 18px; }
.page-head .lede { color: #B9BEC7; max-width: 640px; }
.page-head .actions { margin-top: 30px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #7E858F; margin-bottom: 20px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--brand); }

/* ==========================================================================
   Karten und Raster
   ========================================================================== */
.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(286px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 34px);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); border-color: var(--line); background: var(--card-hover); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

.icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.icon-box svg { width: 21px; height: 21px; fill: none; stroke: var(--acc); stroke-width: 1.9; }

.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 27px; font-size: 15.5px; color: var(--muted); }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(-45deg);
}
.ticks li.no { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.ticks li.no::before {
  border: 0; left: 4px; top: 11px; width: 10px; height: 2px;
  background: currentColor; transform: none; opacity: .5;
}

/* Faktenzeile */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.facts > div { background: var(--bg); padding: 22px 24px; }
.facts dt { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { font-size: 17px; font-weight: 600; }

/* Kurzantwort */
.answer {
  border-left: 3px solid var(--brand);
  background: var(--card);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 26px clamp(22px, 2.4vw, 32px);
}
.answer h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
.answer p { font-size: 17px; }
.answer p + p { margin-top: 12px; color: var(--muted); }

/* ==========================================================================
   Ergebnisse — Vorher/Nachher
   ========================================================================== */
.results { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.ba {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 3; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after  { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%);
  width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 42px; height: 42px; transform: translate(-50%,-50%);
  border-radius: 50%; background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.35);
}
.ba-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%; z-index: 1;
  width: 16px; height: 8px; transform: translate(-50%,-50%);
  background:
    linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 6px, var(--ink) 6px 8px) no-repeat,
    linear-gradient(90deg, transparent 0 8px, var(--ink) 8px 10px, transparent 10px 14px, var(--ink) 14px 16px) no-repeat;
  clip-path: polygon(0 50%, 5px 0, 5px 100%, 0 50%, 100% 50%, calc(100% - 5px) 0, calc(100% - 5px) 100%, 100% 50%);
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.ba input[type="range"]:focus-visible { opacity: 1; outline-offset: -4px; }
.ba-tag {
  position: absolute; bottom: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(14,16,19,.7); padding: 5px 12px; border-radius: 100px;
  backdrop-filter: blur(6px); pointer-events: none;
}
.ba-tag.l { left: 12px; }
.ba-tag.r { right: 12px; }

.result-cap { margin-top: 14px; }
.result-cap h3 { font-size: 17.5px; margin-bottom: 3px; }
.result-cap p { font-size: 14.5px; color: var(--muted); }

.shot { border-radius: var(--r-md); overflow: hidden; background: var(--card); border: 1px solid var(--line-soft); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  padding: 24px; font-size: 13.5px; color: var(--muted);
  background: repeating-linear-gradient(45deg, var(--card) 0 12px, var(--card-hover) 12px 24px);
}

/* ==========================================================================
   Pakete
   ========================================================================== */
.plans { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: clamp(26px, 2.6vw, 34px);
  transition: border-color .25s, transform .25s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: var(--line); }
.plan--lead { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.plan--lead::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 32%, transparent);
}

.plan-flag {
  position: absolute; top: -11px; left: clamp(26px, 2.6vw, 34px);
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 100px;
  background: var(--brand-deep); color: #fff;
}
.plan-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.plan-for { font-size: 14.5px; color: var(--muted); margin: 5px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price .n { font-size: 40px; font-weight: 800; letter-spacing: -.035em; }
.plan-price .u { font-size: 14.5px; color: var(--muted); }
.plan-meta { font-size: 13.5px; color: var(--muted); margin: 6px 0 22px; }
.plan .ticks { flex: 1; margin-bottom: 26px; }

.draft {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 50%, transparent);
  padding: 3px 10px; border-radius: 100px;
}

/* Vergleichstabelle */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 660px; }
.cmp caption { text-align: left; padding: 22px 24px 4px; font-weight: 700; font-size: 18px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: left; font-size: 15.5px; }
.cmp thead th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.cmp tbody tr + tr th, .cmp tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.cmp tbody th { font-weight: 500; color: var(--fg); }
.cmp td { color: var(--muted); }
.cmp td.y { color: var(--acc); font-weight: 600; }
.cmp td.n { opacity: .5; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background: color-mix(in srgb, var(--fg) 3%, transparent); }
.table-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: -2px; left: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--acc);
  border-top: 2px solid var(--brand); padding-top: 12px; padding-right: 14px;
}
.step h3 { font-size: 18.5px; margin: 14px 0 8px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 2px; font-size: 17.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.4;
  transition: color .2s;
}
.faq-q:hover { color: var(--acc); }
.faq-q .chev { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--acc); stroke-width: 2.2; transition: transform .28s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 2px 24px; max-width: 700px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { color: var(--muted); font-size: 16px; }
.faq-a p + p { margin-top: 12px; }
.faq-a a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Formular
   ========================================================================== */
.form-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }

.field { margin-bottom: 20px; }
.field > label, .field > .lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-size: 13.5px; color: var(--muted); margin-bottom: 9px; font-weight: 400; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 112px; resize: vertical; }
::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
select { appearance: none; cursor: pointer; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

.choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: inline-block; cursor: pointer;
  padding: 11px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 15px; color: var(--muted);
  transition: all .2s var(--ease);
}
.choice label:hover { border-color: var(--fg); color: var(--fg); }
.choice input:checked + label {
  border-color: var(--brand); color: var(--acc); font-weight: 600;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.choice input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }

.drop {
  display: block; border: 1.5px dashed var(--line); border-radius: var(--r-sm);
  padding: 22px; text-align: center; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .big { font-weight: 600; font-size: 15.5px; }
.drop .small { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.file-list { display: grid; gap: 7px; margin-top: 12px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-xs); padding: 9px 13px; }
.file-list button { background: none; border: 0; cursor: pointer; color: var(--err); font-size: 13px; font-weight: 600; }

.err { display: none; font-size: 13.5px; color: var(--err); margin-top: 7px; font-weight: 500; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad .choice-row { border-color: var(--err); }

.form-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-note a { color: var(--acc); text-decoration: underline; }

.form-msg { border-radius: var(--r-sm); padding: 16px 18px; font-size: 15.5px; margin-bottom: 20px; }
.form-msg.bad { background: color-mix(in srgb, var(--err) 12%, transparent); border: 1px solid color-mix(in srgb, var(--err) 40%, transparent); }
.form-msg.good { background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }

/* Kontaktliste */
.contact-rows { display: grid; gap: 2px; margin-top: 28px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon-box { margin-bottom: 0; width: 40px; height: 40px; flex: none; }
.contact-row .icon-box svg { width: 18px; height: 18px; }
.contact-row dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-row dd { font-size: 16.5px; font-weight: 600; }
.contact-row dd a:hover { color: var(--acc); }

/* ==========================================================================
   Pflegeberater
   ========================================================================== */
.advisor-open {
  position: fixed; right: 22px; bottom: 22px; z-index: 1100;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 100px; border: 0; cursor: pointer;
  background: var(--brand-deep); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(14,16,19,.3);
  transition: background-color .2s, transform .2s var(--ease);
}
.advisor-open:hover { background: var(--brand-deeper); transform: translateY(-2px); }
.advisor-open svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 940px) { .advisor-open { display: none; } }

.advisor {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: end center;
  padding: 0;
}
@media (min-width: 720px) { .advisor { place-items: center; padding: 24px; } }
.advisor-veil { position: absolute; inset: 0; background: rgba(8,9,11,.6); backdrop-filter: blur(3px); border: 0; cursor: pointer; }
.advisor-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 26px 24px 28px;
}
@media (min-width: 720px) { .advisor-box { border-radius: var(--r-lg); padding: 32px; max-height: 84vh; } }
.advisor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.advisor-head h2 { font-size: 21px; }
.advisor-close { background: none; border: 0; cursor: pointer; padding: 6px; margin: -6px -6px 0 0; line-height: 0; color: #5A616C; }
.advisor-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.advisor-step { font-size: 13px; color: #5A616C; margin-bottom: 20px; }
.advisor-q { font-size: 17.5px; font-weight: 600; margin-bottom: 16px; line-height: 1.4; }
.advisor-opts { display: grid; gap: 9px; margin-bottom: 22px; }
.advisor-opts button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 15px 18px; border-radius: var(--r-sm);
  border: 1px solid rgba(14,16,19,.14); background: #fff;
  font-size: 15.5px; font-weight: 500;
  transition: border-color .18s, background-color .18s, transform .18s var(--ease);
}
.advisor-opts button:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); transform: translateX(3px); }
.advisor-opts button .sub { display: block; font-size: 13.5px; font-weight: 400; color: #5A616C; margin-top: 3px; }
.advisor-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(14,16,19,.1); padding-top: 16px; }
.advisor-back { background: none; border: 0; cursor: pointer; font-size: 14.5px; font-weight: 600; color: #5A616C; padding: 6px 0; }
.advisor-back:hover { color: var(--ink); }
.advisor-result { background: var(--paper-2); border-radius: var(--r-sm); padding: 20px; margin-bottom: 20px; }
.advisor-result h3 { font-size: 19px; margin-bottom: 8px; }
.advisor-result p { font-size: 15.5px; color: #5A616C; }
.advisor-result .why { font-size: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(14,16,19,.1); }
.advisor-actions { display: grid; gap: 10px; }
.advisor-legal { font-size: 12.5px; color: #767C86; margin-top: 16px; }

/* ==========================================================================
   Fußzeile und mobile Aktionsleiste
   ========================================================================== */
.foot { background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 84px) 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot img { height: 40px; width: auto; margin-bottom: 18px; }
.foot-about { font-size: 14.5px; color: #969CA6; max-width: 320px; line-height: 1.7; }
.foot-about a { color: var(--brand); }
.foot h3 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.foot li { margin-bottom: 11px; }
.foot li a { font-size: 14.5px; color: #969CA6; transition: color .2s; }
.foot li a:hover { color: var(--brand); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13.5px; color: #6B717A; }
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--brand); }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: none; gap: 1px; background: rgba(255,255,255,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.bar a, .bar button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px 9px; border: 0; cursor: pointer;
  background: rgba(14,16,19,.97); backdrop-filter: blur(12px);
  font-size: 11.5px; font-weight: 600; color: #B9BEC7;
}
.bar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.bar .go { background: var(--brand-deep); color: #fff; }
@media (max-width: 940px) { .bar { display: flex; } body { padding-bottom: 64px; } }

/* ==========================================================================
   Kleinteile
   ========================================================================== */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-sm); padding: 16px 18px;
  font-size: 15px; color: var(--muted);
}
.note svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke: var(--acc); stroke-width: 2; }
.note strong { color: var(--fg); font-weight: 600; }

.area-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.area-tags li {
  font-size: 14.5px; color: var(--muted);
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--card);
}

.cta-band { text-align: center; }
.cta-band .actions { justify-content: center; }
.cta-band p { max-width: 560px; margin: 16px auto 28px; }
