/* ============================================================
   Steuern-Einfach v2 — Umsetzung nach UI-UX-KONZEPT.md + WIREFRAMES.md
   Schweizer Präzision: Weissraum, Typo-Hierarchie, minimale Schatten.
   ============================================================ */

/* ---------- Fonts (selbst gehostet, variable) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/assets/fonts/inter-tight-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --color-primary: #2F6FAE;
  --color-primary-hover: #265E95;
  --color-primary-light: #EAF2FA;
  --color-navy: #132C45;
  --color-navy-soft: #1D4E7E;
  --color-secondary: #5C6670;
  --color-bg: #FFFFFF;
  --color-bg-blue: #F2F7FC;
  --color-bg-warm: #F7F5F2;
  --color-bg-gray: #F4F6F8;
  --color-card: #FFFFFF;
  --color-border: #E3E9EF;
  --color-border-strong: #C9D4DE;
  --color-text: #22303C;
  --color-text-invert: #F5F8FB;
  --color-text-invert-soft: #AFC3D6;
  --color-success: #3E7D5F;
  --color-success-light: #EAF2ED;
  --color-sage: #7FA88F;
  --color-error: #B3362B;
  --color-error-light: #FBEBE9;
  --color-gold: #D4A017;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-xs: 0 1px 2px rgba(19, 44, 69, .06);
  --shadow-sm: 0 4px 16px rgba(19, 44, 69, .08);
  --shadow-md: 0 12px 32px rgba(19, 44, 69, .12);
  /* Karten auf farbigen Hintergründen: sichtbare Kante + weiche Tiefe */
  --shadow-card: 0 1px 3px rgba(19, 44, 69, .08), 0 8px 24px rgba(19, 44, 69, .09);
  --shadow-card-hover: 0 4px 8px rgba(19, 44, 69, .10), 0 20px 44px rgba(19, 44, 69, .16);

  --maxw: 1120px;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }

h1, h2, h3 { font-family: var(--font-head); color: var(--color-navy); margin: 0 0 .55em; }
h1 { font-size: 62px; font-weight: 700; line-height: 1.08; letter-spacing: -.028em; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -.022em; }
h3 { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.container.narrow { max-width: 800px; }

.section { padding: 128px 0; }
.section-blue { background: var(--color-bg-blue); }
.section-warm { background: var(--color-bg-warm); }
.section-gray { background: var(--color-bg-gray); }
.section-lead { font-size: 19px; line-height: 1.65; color: var(--color-secondary); max-width: 640px; margin: 0 0 64px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--color-navy-soft);
  background: var(--color-primary-light);
  border: 1px solid rgba(47, 111, 174, .25);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* Anker-Offset für Sticky-Header */
section[id] { scroll-margin-top: 112px; }

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-navy); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Fokus global */
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* Icons (inline SVG) */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-chip {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  border: 1px solid rgba(47, 111, 174, .22);
  color: var(--color-primary-hover);
  transition: background-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}
.icon-chip .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.icon-chip-sm { width: 46px; height: 46px; border-radius: 10px; }
.icon-chip-sm .icon { width: 22px; height: 22px; stroke-width: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}
.btn-primary {
  /* feiner Verlauf + innerer Glanz — sehr dezent, kein Glossy-Look */
  background: linear-gradient(180deg, #3A7ABC 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(47, 111, 174, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #33699F 0%, var(--color-primary-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 111, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:active { transform: translateY(0); background: #1F5185; box-shadow: 0 1px 4px rgba(47, 111, 174, .3); }
.btn-primary:disabled { background: #AFC3D6; cursor: default; transform: none; box-shadow: none; }
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-xs); }
.btn-lg { height: 58px; padding: 0 36px; }
.btn-invert { background: #fff; color: var(--color-navy); }
.btn-invert:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.link-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-primary); font-weight: 600; text-decoration: none;
}
.link-ghost .icon { width: 18px; height: 18px; transition: transform 160ms ease-out; }
.link-ghost:hover { color: var(--color-primary-hover); text-decoration: underline; }
.link-ghost:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 200ms ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand img { height: 80px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  font-size: 16px; font-weight: 600; color: var(--color-text); text-decoration: none;
  position: relative; padding-bottom: 2px;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--color-primary);
  transition: width 180ms ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { width: 100%; }
.btn-nav { height: 52px; padding: 0 32px; }
.nav-toggle { display: none; }

/* ---------- Hero: Magazin-Titelseite — Bild randlos, weich in die Seite maskiert,
   grosse Headline überlagert die Bildkante, Foto-Credit wie im Editorial ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 82% 12%, rgba(127, 168, 143, .06) 0%, transparent 60%),
    linear-gradient(155deg, #FDFCFA 0%, #F8FAFC 48%, #F0F6FB 100%);
}
/* Bild: volle Höhe, rechte ~70% — keine Box, keine Kante: linker Rand löst sich
   per Maske im Hintergrundverlauf auf. Bildtausch: nur <img> ersetzen. */
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(72%, 1100px);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
}
/* Foto-Credit — nennt die Person, schafft Nähe */
.hero-caption {
  position: absolute;
  right: 40px; bottom: 28px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(19, 44, 69, .45);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  max-width: 1280px;
  min-height: clamp(680px, 100vh, 1080px);
  padding-top: 72px; padding-bottom: 104px;
}
.hero-copy { width: 58%; min-width: 460px; }
/* Kicker mit feiner Linie statt Pille */
.hero .eyebrow {
  display: flex; align-items: center; gap: 16px;
  background: none; border: 0; border-radius: 0; padding: 0;
  color: var(--color-primary);
  letter-spacing: .16em;
  margin-bottom: 36px;
}
.hero .eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--color-primary); }
/* Headline darf in die weich maskierte Bildzone hineinragen */
.hero h1 {
  margin-bottom: 40px;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: .99;
  letter-spacing: -.035em;
}
/* zweite Zeile: leichter Schnitt statt Farbe allein — Magazin-Kontrast */
.hero-accent { color: var(--color-primary); font-weight: 400; }
.hero-lead { font-size: 20px; line-height: 1.7; color: var(--color-secondary); max-width: 420px; margin: 0; }
/* CTA-Gruppe klar vom Fliesstext abgesetzt */
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 64px; }
.hero-phone {
  display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 16px;
  font-weight: 600; color: var(--color-navy); text-decoration: none; font-size: 16px;
  margin-left: 12px;
  border-radius: var(--radius-md);
  transition: color 160ms ease-out;
}
.hero-phone:hover { color: var(--color-primary); }
.btn-wa {
  width: 56px; height: 56px; padding: 0;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff; color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.btn-wa:hover { background: var(--color-primary-light); transform: translateY(-1px); }
/* dezente Lade-Animation (Fade + leichte Bewegung, gestaffelt) */
@keyframes hero-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { animation: hero-up 600ms cubic-bezier(.22, .8, .36, 1) backwards; }
.hero-copy .eyebrow { animation-delay: 0ms; }
.hero-copy h1 { animation-delay: 60ms; }
.hero-copy .hero-lead { animation-delay: 140ms; }
.hero-copy .hero-ctas { animation-delay: 220ms; }
.hero-media img { animation: hero-fade 1100ms ease-out 100ms backwards; }
.hero-caption { animation: hero-fade 900ms ease-out 500ms backwards; }

/* ---------- Trust-Leiste: reine Typografie, feine Trennlinien, keine Boxen ---------- */
.trustbar { padding: 72px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-strip { display: flex; align-items: stretch; }
.trust-stat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 40px; }
.trust-stat:first-child { padding-left: 0; }
.trust-stat:last-child { padding-right: 0; }
.trust-stat + .trust-stat { border-left: 1px solid var(--color-border); }
.trust-value {
  font-family: var(--font-head);
  font-size: 25px; font-weight: 600; letter-spacing: -.015em;
  color: var(--color-navy); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.trust-label {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-secondary);
}

/* ---------- Leistungen ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(47, 111, 174, .5); }
.card:hover .icon-chip { background: var(--color-primary); color: #fff; }
.card .icon-chip { margin-bottom: 24px; }
.card h3 { margin-bottom: 8px; }
.card .card-sub { font-size: 16px; font-weight: 600; color: var(--color-primary); margin: 0 0 14px; }
.card p:not(.card-sub) { font-size: 16px; color: var(--color-secondary); margin: 0 0 24px; flex-grow: 1; }

/* ---------- Warum Maria ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 32px; margin-top: 56px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item strong { display: block; font-size: 17px; font-weight: 600; color: var(--color-navy); margin-bottom: 8px; }
.why-item p { font-size: 16px; color: var(--color-secondary); margin: 0; }

/* ---------- Story: Editorial-Layout mit grossem Portrait ---------- */
.story { background: var(--color-bg-warm); }
.story-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 80px; align-items: center; }
.story-media { position: relative; }
.story-portrait {
  width: 100%; max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.story h3 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.story p { margin: 0 0 18px; max-width: 58ch; }
.signature { font-family: 'Segoe Script', 'Bradley Hand', cursive; font-size: 30px; color: var(--color-navy); margin: 32px 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { height: 32px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.badge-blue { background: var(--color-primary-light); color: var(--color-primary); }
.badge-warm { background: #fff; border: 1px solid var(--color-border); color: var(--color-secondary); }
.badge-green { background: var(--color-success-light); color: var(--color-success); }

/* ---------- Bewertungen ---------- */
.rating-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 20px; height: 20px; fill: var(--color-gold); stroke: var(--color-gold); }
.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: #fff; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 32px;
  display: flex; flex-direction: column;
}
.quote-mark { font-family: var(--font-head); font-size: 56px; line-height: .6; color: var(--color-primary-light); margin-bottom: 16px; }
.quote-card blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.6; flex-grow: 1; }
.quote-foot { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.quote-foot strong { font-size: 15px; display: block; }
.quote-foot span { font-size: 13px; color: var(--color-secondary); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin-bottom: 64px; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 12%; right: 12%;
  height: 1px; background: var(--color-border-strong);
}
.step { position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--color-secondary); margin: 0; }

/* ---------- Preise: drei Stufen, in 3 Sekunden erfassbar ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 64px 44px 48px; text-align: center;
  display: flex; flex-direction: column;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(47, 111, 174, .35); }
.price-card.featured {
  background: var(--color-navy); border: none; box-shadow: var(--shadow-md);
  margin-top: -12px; padding-top: 52px;
  position: relative;
}
.price-badge {
  display: inline-flex; align-items: center; align-self: center;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 28px;
}
.price-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .10em; color: var(--color-secondary); margin: 0 0 20px; }
.featured .price-label { color: var(--color-text-invert-soft); }
.price-value { font-family: var(--font-head); font-size: 56px; font-weight: 700; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--color-navy); margin: 0; }
.featured .price-value { color: #fff; }
.price-unit { font-size: 14px; color: var(--color-secondary); margin: 10px 0 28px; }
.featured .price-unit { color: var(--color-text-invert-soft); }
.price-desc { font-size: 15px; line-height: 1.6; color: var(--color-secondary); max-width: 30ch; margin: 0 auto 36px; flex-grow: 1; }
.featured .price-desc { color: var(--color-text-invert-soft); }
/* Buttons: exakt gleich hoch und gleich breit, immer am unteren Kartenrand */
.price-card .btn { width: 100%; height: 52px; margin-top: auto; }
.price-note { text-align: center; max-width: 560px; margin: 56px auto 0; color: var(--color-secondary); font-size: 16px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
/* B8: 12 Items auf Desktop zweispaltig — kürzere Scrollstrecke */
@media (min-width: 1024px) {
  .faq-list { max-width: none; column-count: 2; column-gap: 24px; }
  .faq-item { break-inside: avoid; }
}
.faq-item {
  background: #fff; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(19, 44, 69, .07), 0 4px 12px rgba(19, 44, 69, .05);
  margin-bottom: 12px; transition: border-color 220ms ease, box-shadow 220ms ease;
}
.faq-item:hover { border-color: rgba(47, 111, 174, .5); }
.faq-item[open] { border-color: var(--color-primary); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; min-height: 64px;
  font-size: 17px; font-weight: 600; color: var(--color-navy);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; flex-shrink: 0;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.faq-item[open] .faq-toggle { background: var(--color-primary); color: #fff; transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item p { padding: 0 24px 20px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--color-secondary); }

/* ---------- Kontakt ---------- */
.contact { background: var(--color-navy); }
.contact h2 { color: var(--color-text-invert); font-size: 34px; }
.contact .section-lead { color: var(--color-text-invert-soft); }
.contact-grid { display: grid; grid-template-columns: 8fr 5fr; gap: 44px; margin-top: 56px; text-align: left; }
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); padding: 44px; }
.form-field { margin-bottom: 20px; }
.form-field label, .form-field legend { display: block; font-size: 14px; font-weight: 600; color: var(--color-navy); margin-bottom: 8px; }
.form-field input[type="text"], .form-field textarea {
  width: 100%; height: 52px; padding: 14px 18px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  font: inherit; font-size: 16px; color: var(--color-text); background: #FAFCFE;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9AA7B4; }
.form-field textarea { height: auto; min-height: 148px; resize: vertical; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--color-primary); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 174, .12); background: #fff;
}
fieldset.form-field { border: 0; padding: 0; margin: 0 0 20px; }
.segments { display: flex; gap: 12px; }
.segment { flex: 1; }
.segment input { position: absolute; opacity: 0; }
.segment span {
  display: flex; align-items: center; justify-content: center; gap: 0;
  height: 52px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  background: #FAFCFE;
  font-size: 15px; font-weight: 500; color: var(--color-secondary);
  cursor: pointer; transition: all 200ms ease;
}
.segment span .icon {
  width: 0; height: 18px; opacity: 0; stroke-width: 2.5; color: var(--color-primary);
  transition: width 200ms ease, opacity 200ms ease, margin 200ms ease;
}
.segment span:hover { border-color: var(--color-primary); background: #fff; }
.segment input:checked + span {
  background: var(--color-primary-light); border-color: var(--color-primary);
  color: var(--color-primary); font-weight: 600;
  box-shadow: 0 0 0 4px rgba(47, 111, 174, .10);
}
.segment input:checked + span .icon { width: 18px; opacity: 1; margin-right: 8px; }
.segment input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.form-card .btn {
  width: 100%; height: 54px;
  background: linear-gradient(180deg, #3E82C4 0%, #2C69A6 100%);
  box-shadow: 0 6px 16px rgba(47, 111, 174, .24);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.form-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 111, 174, .32);
  background: linear-gradient(180deg, #4489CB 0%, #2F6FAE 100%);
}
.form-trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 22px; margin: 20px 0 0; padding: 0;
}
.form-trust li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--color-secondary); }
.form-trust .icon { width: 14px; height: 14px; stroke-width: 2.5; color: var(--color-primary); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-error {
  background: var(--color-error-light); color: var(--color-error);
  border: 1px solid rgba(179, 54, 43, .3); border-radius: var(--radius-sm);
  padding: 14px 20px; font-weight: 600; font-size: 15px; margin-bottom: 24px;
}

.channel {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 28px; margin-bottom: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  color: #fff; text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.channel:hover {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.channel .icon { width: 28px; height: 28px; stroke-width: 1.5; color: #fff; flex-shrink: 0; }
.channel small { display: block; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-invert-soft); margin-bottom: 3px; }
.channel strong { font-size: 17px; letter-spacing: -.01em; }
.channel-wa { border-color: rgba(94, 214, 138, .30); }
.channel-wa .icon { color: #6EDC96; }
.channel-badge {
  margin-left: auto; padding: 5px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #8FE7AE; background: rgba(94, 214, 138, .12); border: 1px solid rgba(94, 214, 138, .28);
  white-space: nowrap;
}
.expect {
  margin-top: 32px; padding: 36px 34px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
}
.expect h3 { font-size: 17px; font-weight: 600; color: var(--color-text-invert); margin: 0 0 22px; }
.expect ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.expect li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; line-height: 1.6; color: var(--color-text-invert-soft); }
.expect .icon { width: 17px; height: 17px; stroke-width: 2.5; color: #6EDC96; flex-shrink: 0; }
.expect p { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); font-size: 14px; color: var(--color-text-invert-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #0D2033; border-top: 1px solid rgba(255, 255, 255, .10); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 12px; }
.footer-grid p { font-size: 14px; color: var(--color-text-invert-soft); margin: 0; }
.footer-grid nav, .footer-kontakt { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: var(--color-text-invert-soft); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-kontakt span { font-size: 14px; color: var(--color-text-invert-soft); }
.footer-seo { text-align: center; font-size: 13px; color: #7C95AC; margin-top: 32px; }
.footer-legal {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  margin-top: 24px; padding-top: 24px;
  font-size: 13px; color: #7C95AC;
}
.footer-legal-links { text-align: center; }
.footer-credit { text-align: right; }
.footer-legal a { color: #7C95AC; }
.footer-legal a:hover { color: #fff; }

/* ---------- Sticky Mobile-CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(19, 44, 69, .08);
  padding: 8px 24px calc(8px + env(safe-area-inset-bottom));
  gap: 12px;
  opacity: 0; transform: translateY(100%);
  transition: opacity 200ms ease, transform 200ms ease;
}
.mobile-cta.visible { opacity: 1; transform: translateY(0); }
.mobile-cta .btn { flex: 1; height: 48px; padding: 0 8px; font-size: 15px; }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease-out, transform 500ms ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* ---------- Nebenseiten (Impressum etc.) ---------- */
.page-plain { padding: 88px 0 120px; }
.page-plain h1 { font-size: 40px; }
.page-plain h2 { font-size: 24px; margin-top: 40px; }

/* ============================================================
   Tablet 640–1023px
   ============================================================ */
@media (max-width: 1023px) {
  .container { padding: 0 32px; }
  .section { padding: 96px 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }

  .header-inner { height: 76px; }
  .brand img { height: 60px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2.5px; background: var(--color-navy); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: var(--shadow-sm);
    padding: 16px 24px 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; min-height: 48px; display: flex; align-items: center; font-size: 17px; border-bottom: 1px solid var(--color-border); }
  .main-nav a:not(.btn)::after { display: none; }
  .btn-nav { margin-top: 16px; height: 52px; }

  /* Tablet: Text zuerst, Bild darunter randlos in voller Breite,
     oben weich in den Hintergrund maskiert */
  .hero-inner { min-height: 0; padding-top: 72px; padding-bottom: 0; }
  .hero-copy { width: 100%; min-width: 0; max-width: 640px; }
  .hero h1 { font-size: 56px; }
  .hero-media {
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: 100%;
    height: 480px;
    margin-top: 56px;
  }
  .hero-media img {
    object-position: center 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  }
  .hero-caption { right: 32px; bottom: 20px; }
  .trustbar { padding: 56px 0; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
  .trust-stat { padding: 0; }
  .trust-stat + .trust-stat { border-left: 0; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 48px; }
  .story-portrait { max-width: 440px; margin: 0 auto; }
}

/* ============================================================
   Mobile < 640px
   ============================================================ */
@media (max-width: 639px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  section[id] { scroll-margin-top: 80px; }
  h1 { font-size: 37px; line-height: 1.12; letter-spacing: -.022em; }
  h2 { font-size: 28px; }
  h3 { font-size: 19px; }
  body { font-size: 16px; }
  .section-lead { font-size: 17px; margin-bottom: 32px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }

  .brand img { height: 52px; }

  /* Mobile: Text zuerst, danach grosses Bild in voller Breite */
  .hero-inner { padding-top: 48px; padding-bottom: 0; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero .eyebrow::before { width: 32px; }
  .hero h1 { margin-bottom: 24px; font-size: 42px; }
  .hero-media { height: 360px; margin-top: 44px; }
  .hero-caption { right: 24px; bottom: 16px; font-size: 11px; }
  .hero-lead { font-size: 17px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 36px; }
  .hero-ctas .btn-lg { width: 100%; }
  .hero-cta-row { display: flex; gap: 12px; }
  .hero-cta-row > * { flex: 1; }
  .hero-phone { margin: 0; height: 52px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-md); color: var(--color-primary); justify-content: center; }
  .btn-wa { width: auto; flex: 1; height: 52px; }

  .trustbar { padding: 44px 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .trust-value { font-size: 19px; }
  .trust-label { font-size: 11px; }

  .cards-3, .quote-cards, .price-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card h3 { font-size: 19px; }
  .card .card-sub, .card p:not(.card-sub) { font-size: 15px; }

  .steps { gap: 32px; margin-bottom: 40px; }
  .steps::before { top: 0; bottom: 0; left: 24px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
  .step .step-num { margin-bottom: 0; }
  .step h3 { margin-bottom: 6px; }

  .story-grid { gap: 32px; }
  .story-portrait { max-width: 100%; }
  .story h3 { font-size: 26px; }
  .signature { font-size: 26px; }

  /* Bewertungen: horizontaler Scroller */
  .quote-cards {
    display: flex; overflow-x: auto; gap: 16px;
    margin: 0 -24px; padding: 0 24px 8px;
    scroll-snap-type: x mandatory; scroll-padding: 24px;
    scrollbar-width: none;
  }
  .quote-cards::-webkit-scrollbar { display: none; }
  .quote-card { flex: 0 0 300px; scroll-snap-align: start; padding: 24px; }
  .quote-card blockquote { font-size: 15px; }

  .price-card.featured { margin-top: 0; order: -1; }
  .price-card { padding: 44px 28px 36px; }
  .price-value { font-size: 44px; }

  .faq-item summary { padding: 16px 20px; min-height: 56px; font-size: 16px; }
  .faq-item p { padding: 0 20px 16px; font-size: 15px; }

  .contact-grid { margin-top: 40px; gap: 32px; }
  .form-card { padding: 36px 24px; }
  .segments { flex-direction: column; gap: 10px; }
  .segment span { height: 52px; }
  .form-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .channel { padding: 18px 20px; }
  .expect { padding: 26px 22px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-seo { text-align: left; }
  .footer-legal { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .footer-legal-links, .footer-credit { text-align: center; }
  .site-footer { padding-bottom: 120px; }

  .mobile-cta { display: flex; }
}
