/* =================================================================
   Der Scheidungsprofessor – Design-System
   Abgeleitet von notar-martin.de (Anthrazit / Weiss / Markenblau),
   bewusst stark vereinfacht. Keine externen Fonts, keine Tracker.
   ================================================================= */

:root {
  --ink:        #16181c;
  --ink-soft:   #2b2f36;
  --ink-70:     #4a4f57;
  --ink-50:     #6b7079;
  --line:       #e4e6ea;
  --line-soft:  #eef0f2;
  --bg:         #ffffff;
  --bg-alt:     #eef0f2;
  --bg-dark:    #16181c;
  --accent:     #006db0;
  --accent-ink: #005a91;
  --ok:         #1a7f4e;
  --warn:       #b45309;
  --white:      #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --wrap-narrow: 820px;
  --radius: 8px;        /* Inputs, kleine Flächen */
  --radius-lg: 14px;    /* Karten, Boxen */
  --radius-btn: 12px;   /* Buttons */
  --shadow: 0 1px 2px rgba(22,24,28,.05), 0 12px 32px rgba(22,24,28,.07);
  --shadow-lift: 0 2px 4px rgba(22,24,28,.06), 0 18px 44px rgba(22,24,28,.12);
  --focus-ring: 0 0 0 3px rgba(0,109,176,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Sichtbarer Tastatur-Fokus (WCAG) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.015em; font-weight: 650; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
ul, ol { color: var(--ink-soft); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1rem;
}
.lead { font-size: 1.16rem; color: var(--ink-70); line-height: 1.6; }
.center { text-align: center; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
/* Große Monitore: Inhaltsbreite mitwachsen lassen (wie notar-martin.de) */
@media (min-width: 1440px) { :root { --wrap: 1360px; } }
@media (min-width: 1800px) { :root { --wrap: 1600px; } body { font-size: 18px; } }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }
.section-dark h2 { color: #fff; }
.section-dark p { color: #aeb3ba; }
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Entwurfs-Banner (vor Go-live entfernen) ---------- */
.draft-banner {
  background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fed7aa;
  text-align: center; font-size: .82rem; font-weight: 600; padding: 6px 16px;
}

/* ---------- Buttons: erhabenes 3D-System ----------
   Aufbau: Lichtkante oben (inset hell) + Sockelkante unten (inset dunkel)
   + weicher Wurfschatten. :hover hebt an, :active drückt sichtbar ein. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: inherit; font-size: .98rem; font-weight: 600;
  padding: .85em 1.6em; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), border-color .16s var(--ease), filter .16s var(--ease);
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); transition-duration: .06s; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4px var(--accent), 0 8px 20px rgba(18,22,28,.22); }

.btn-primary {
  background: #191d23;
  background-image: linear-gradient(180deg, #2b313a 0%, #14161a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24),
              inset 0 -3px 0 rgba(0,0,0,.46),
              0 2px 3px rgba(18,22,28,.18),
              0 10px 22px rgba(18,22,28,.26);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26),
              inset 0 -3px 0 rgba(0,0,0,.46),
              0 4px 6px rgba(18,22,28,.2),
              0 16px 32px rgba(18,22,28,.3);
}
.btn-primary:active {
  background-image: linear-gradient(180deg, #14161a 0%, #1d2127 100%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.4), 0 2px 5px rgba(18,22,28,.2);
}

.btn-secondary {
  background: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  color: var(--ink); border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              inset 0 -3px 0 rgba(22,24,28,.09),
              0 1px 2px rgba(22,24,28,.06),
              0 6px 14px rgba(22,24,28,.08);
}
.btn-secondary:hover {
  border-color: var(--ink-50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              inset 0 -3px 0 rgba(22,24,28,.09),
              0 3px 5px rgba(22,24,28,.08),
              0 10px 22px rgba(22,24,28,.12);
}
.btn-secondary:active {
  background-image: linear-gradient(180deg, #eef0f2 0%, #f7f8f9 100%);
  box-shadow: inset 0 2px 4px rgba(22,24,28,.12), 0 1px 2px rgba(22,24,28,.06);
}

.btn-accent {
  background: var(--accent);
  background-image: linear-gradient(180deg, #1f8fd4 0%, #006db0 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36),
              inset 0 -3px 0 rgba(0,40,70,.58),
              0 2px 3px rgba(0,60,100,.2),
              0 10px 22px rgba(0,109,176,.32);
}
.btn-accent:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3),
              inset 0 -3px 0 rgba(0,40,70,.58),
              0 4px 6px rgba(0,60,100,.22),
              0 16px 32px rgba(0,109,176,.38);
}
.btn-accent:active {
  background-image: linear-gradient(180deg, #00639f 0%, #0a7ec4 100%);
  box-shadow: inset 0 2px 4px rgba(0,30,55,.45), 0 2px 5px rgba(0,60,100,.2);
}

.btn-lg { font-size: 1.05rem; padding: 1em 2em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[hidden] { display: none; }

/* ---------- Header: dunkles Glas (wie notar-martin.de) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,18,22,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-header .brand-text b { color: #eef1f5; }
.site-header .brand-text small { color: #9aa5b1; }
.site-header .nav-links a { color: #c3ccd6; }
.site-header .nav-links a:hover { color: #fff; }
.site-header .btn-secondary { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.5); }
.site-header .btn-primary {
  background: var(--accent);
  background-image: linear-gradient(180deg, #1f8fd4 0%, #006db0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), inset 0 -3px 0 rgba(0,40,70,.58),
              0 2px 3px rgba(0,60,100,.2), 0 10px 22px rgba(0,109,176,.32);
}
.site-header .btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(0,40,70,.58),
              0 4px 6px rgba(0,60,100,.22), 0 16px 32px rgba(0,109,176,.38);
}
.site-header .btn-primary:active {
  background-image: linear-gradient(180deg, #00639f 0%, #0a7ec4 100%);
  box-shadow: inset 0 2px 4px rgba(0,30,55,.45), 0 2px 5px rgba(0,60,100,.2);
}
.site-header .lang-switch > summary { color: #e6ebf1; border-color: rgba(255,255,255,.28); }
.site-header .lang-switch > summary:hover, .site-header .lang-switch[open] > summary { color: #fff; border-color: rgba(255,255,255,.5); }
.site-header .nav-toggle span, .site-header .nav-toggle span::before, .site-header .nav-toggle span::after { background: #e6ebf1; }
@media (max-width: 1240px) {
  .site-header .nav-links { background: #0f1216; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-header .nav-links li { border-top: 1px solid rgba(255,255,255,.08); }
}
/* Kopfzeile über die volle Breite ziehen (wie notar-martin.de) */
.site-header .wrap { max-width: none; padding-inline: clamp(20px, 3vw, 64px); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 44px); min-height: 74px; }
.nav > nav { flex: 1 1 auto; min-width: 0; }
.btn { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-text { font-size: 1.02rem; line-height: 1.2; min-width: 0; overflow: hidden; }
.brand-text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header .brand { min-width: 0; }
.brand-text small { color: var(--ink-50); font-size: .72rem; letter-spacing: .06em; white-space: nowrap; }
.nav-links { display: flex; justify-content: center; gap: clamp(18px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-size: .95rem; font-weight: 550; white-space: nowrap; }
@media (max-width: 1380px) { .brand-text small { display: none; } .nav-links { gap: 15px; } }
@media (max-width: 640px) { .nav-cta .btn { font-size: .82rem; padding: .6em 1em; } .nav { gap: 10px; } .btc-icon { font-size: .95rem; padding: .22em .5em; }
  .site-header .nav-cta .lang-switch { display: none; } /* Sprachwahl noch „bald“ – entlastet den mobilen Header */
  .lang-menu { right: auto; left: 0; max-width: calc(100vw - 24px); }
}
@media (max-width: 520px) { .brand-text { display: none; } }
/* Smartphones: volle Button-Breite, kompaktere Panels, 2-spaltiges Kennzahlen-Band */
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .calc-in, .calc-out { padding: 22px 20px; }
  .cta-band .btn { width: 100%; }
  .section-head { margin-bottom: 1.8rem; }
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: all .2s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
@media (max-width: 1240px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { margin-left: 0; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Hero (dunkle Karte mit Hintergrundvideo, wie notar-martin.de) ----------
   Ablauf: Standbild zuerst; nach data-delay blendet JS (.film-on) das Standbild aus
   und startet den Film ab 0 (verlangsamt via data-playback). Der Film endet auf
   seinem letzten Frame. Mobil und bei reduzierter Bewegung: dauerhaft Standbild. */
.hero-dark {
  position: relative; overflow: hidden;
  background: #101317;
  margin: clamp(8px, 1.1vw, 14px);
  border-radius: 24px;
  padding: clamp(64px, 9vw, 140px) 0 clamp(48px, 6vw, 88px);
}
.hero-dark .hero-portrait {
  position: absolute; inset: 0; margin: 0; z-index: 0;
  max-width: none; border-radius: 0; box-shadow: none; background: #101317;
}
.hero-dark .hero-portrait video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: translateX(24%);
  filter: saturate(1.06) contrast(1.03);
}
.hero-dark .hero-still {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: translateX(24%);
  transition: opacity 1.1s ease; pointer-events: none;
}
.hero-dark.film-on .hero-still { opacity: 0; }
.hero-dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,11,15,.97) 0%, rgba(9,11,15,.93) 32%, rgba(9,11,15,.55) 58%, rgba(9,11,15,.2) 100%),
    linear-gradient(to bottom, rgba(9,11,15,.18), rgba(9,11,15,.5));
}
.hero-dark .hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-dark h1 { color: #f2f5f9; }
.hero-dark .lead { color: #c9d2dc; }
.hero-dark .eyebrow { color: #8ab8ff; }
.hero-dark .btn-primary {
  background: var(--accent);
  background-image: linear-gradient(180deg, #1f8fd4 0%, #006db0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), inset 0 -3px 0 rgba(0,40,70,.58),
              0 2px 3px rgba(0,60,100,.25), 0 10px 22px rgba(0,0,0,.35);
}
.hero-dark .btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(0,40,70,.58),
              0 4px 6px rgba(0,60,100,.25), 0 16px 32px rgba(0,0,0,.4);
}
.hero-dark .btn-primary:active {
  background-image: linear-gradient(180deg, #00639f 0%, #0a7ec4 100%);
  box-shadow: inset 0 2px 4px rgba(0,30,55,.45), 0 2px 5px rgba(0,0,0,.3);
}
.btn-ghost {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.36), 0 6px 16px rgba(0,0,0,.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -3px 0 rgba(0,0,0,.36), 0 10px 24px rgba(0,0,0,.3);
}
.btn-ghost:active { background: rgba(255,255,255,.1); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.hero-meta {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px;
  border-top: 1px solid rgba(255,255,255,.16); margin-top: 2.4rem; padding-top: 1.6rem;
}
.hero-meta div b { display: block; color: #fff; font-size: 1.02rem; }
.hero-meta div span { color: #9aa5b1; font-size: .84rem; line-height: 1.4; display: block; }
@media (max-width: 900px) {
  .hero-dark .hero-portrait video { display: none; }
  .hero-dark .hero-still {
    object-position: 38% 14%;
    transform: none;
    filter: brightness(1.18);
    opacity: 1 !important;
  }
  .hero-dark::after { background: linear-gradient(to bottom, rgba(9,11,15,.76) 0%, rgba(9,11,15,.72) 52%, rgba(9,11,15,.9) 100%); }
}

/* ---------- Bitcoin: Header-Pill, Promo-Band, Footer-Button (wie notar-martin.de) ---------- */
/* Header-Steuerelemente: alle exakt so hoch wie der CTA-Button, ₿ kreisrund
   (Buttonhöhe 39px aus .btn-Padding/Schrift; mobil 34px — bei Änderungen an
   .btn nachmessen) */
.site-header .nav-cta { align-items: stretch !important; }
.site-header .nav-cta > * { display: inline-flex; align-items: center; }
.site-header .btc-icon { width: 39px !important; height: 39px !important; padding: 0 !important; border-radius: 50%; align-self: center; }
.site-header .lang-switch { display: inline-flex; align-items: stretch; position: relative; }
.site-header .lang-switch > summary { height: 100%; box-sizing: border-box; }

/* Kostenversprechen: Glas-Element im Hero (dunkel) + Info-Karte Ortsseiten (hell) */
.hero-kosten {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 18px 0 0; max-width: 580px;
  padding: 13px 17px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(34,197,94,.24) 0%, rgba(22,163,74,.13) 100%);
  border: 1px solid rgba(74,222,128,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #eafbf1; font-size: .94rem; line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 34px rgba(34,197,94,.18), 0 8px 24px rgba(0,0,0,.25);
}
.hero-kosten svg { flex: none; color: #4ade80; margin-top: 3px; }
.hero-kosten b { color: #fff; }
/* Beleg-Link unter der Kostenkarte: bewusst leicht, damit er dem Haupt-CTA keine Klicks nimmt.
   Helle Farbe + dauerhafte Unterstreichung, weil der globale Linkstil (Blau, ohne Unterstreichung)
   auf dem dunklen Hero mit laufendem Video den Kontrast verfehlen würde. */
.hero-hublink { max-width: 580px; margin: 9px 0 0; font-size: .85rem; line-height: 1.5; }
.hero-hublink a {
  display: inline-block; padding: 4px 2px; color: #a7f3d0;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.hero-hublink a:hover { color: #d1fae5; }
.hero-hublink a:focus-visible { outline: 2px solid #4ade80; outline-offset: 3px; border-radius: 4px; }
.kosten-chip {
  display: flex; gap: 10px; align-items: flex-start;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac; border-left: 4px solid #16a34a;
  border-radius: var(--radius-lg); padding: 14px 18px;
  font-size: .95rem; color: #14532d; margin: 0 0 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px rgba(22,163,74,.12);
}
.kosten-chip svg { flex: none; color: #15803d; margin-top: 3px; }
.kosten-chip b { color: #14532d; }

.btc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .28em .6em; border-radius: 999px; font-size: 1.15rem; font-weight: 700;
  color: #fff !important; text-decoration: none;
  background: #F7931A;
  background-image: linear-gradient(180deg, #ffa733 0%, #ef8b0e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(120,60,0,.48),
              0 2px 3px rgba(120,60,0,.2), 0 8px 20px rgba(247,147,26,.35);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.btc-icon:hover {
  transform: translateY(-2px); text-decoration: none;
  background-image: linear-gradient(180deg, #ffb14d 0%, #f7931a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(120,60,0,.48),
              0 4px 6px rgba(120,60,0,.22), 0 12px 28px rgba(247,147,26,.42);
}
.btc-icon:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(120,60,0,.4); }
.btc-band {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, #171b21 0%, #101317 100%);
  border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(16,19,23,.35);
}
.btc-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.btc-band p { color: #aeb3ba; margin: 0; max-width: 640px; }
.btc-mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: clamp(64px, 7vw, 84px); height: clamp(64px, 7vw, 84px); border-radius: 50%;
  font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #ffa733 0%, #ef8b0e 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(120,60,0,.4),
              0 6px 14px rgba(120,60,0,.3), 0 16px 40px rgba(247,147,26,.4);
}
@media (max-width: 700px) { .btc-band { flex-direction: column; text-align: center; align-items: center; } }
.footer-actions { margin: 0 0 22px; }
.btc-pay-btn {
  display: inline-flex; align-items: center; gap: .65em; width: auto;
  padding: .5em 1.4em .5em .5em; border-radius: 999px; font-weight: 650; font-size: .95rem;
  color: #fff !important;
  background: linear-gradient(180deg, #ffa733 0%, #ef8b0e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(120,60,0,.4),
              0 2px 3px rgba(0,0,0,.25), 0 8px 20px rgba(247,147,26,.28);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.btc-pay-btn:hover {
  transform: translateY(-2px); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(120,60,0,.4),
              0 4px 6px rgba(0,0,0,.25), 0 12px 26px rgba(247,147,26,.4);
}
.btc-pay-btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(120,60,0,.4); }
.btc-pay-btn span {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%; font-size: 1.05rem; font-weight: 800;
  background: #fff; color: #ef8b0e;
  box-shadow: inset 0 -2px 3px rgba(120,60,0,.18), 0 1px 2px rgba(120,60,0,.3);
}

/* ---------- Sprachumschalter (vorbereitet; Übersetzungen folgen nach DE-Freigabe) ---------- */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4em;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  padding: .5em .7em; border: 1px solid var(--line); border-radius: var(--radius); user-select: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch svg.flag { width: 20px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,.14); flex: none; }
.lang-switch > summary::after {
  content: ""; width: 7px; height: 7px; margin-left: .1em;
  border-right: 1.5px solid var(--ink-50); border-bottom: 1.5px solid var(--ink-50);
  transform: rotate(45deg) translateY(-1px); transition: transform .2s var(--ease);
}
.lang-switch[open] > summary { border-color: var(--ink); }
.lang-switch[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 6px; min-width: 178px; display: grid; gap: 1px;
}
.lang-menu a, .lang-menu .soon {
  display: flex; align-items: center; gap: 9px; padding: .55em .8em; border-radius: var(--radius);
  font-size: .92rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
}
.lang-menu a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.lang-menu a.active { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.lang-menu .soon { opacity: .45; cursor: default; }
.lang-menu .soon small { font-size: .7rem; margin-left: auto; color: var(--ink-50); }

.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8rem 0 1.4rem; max-width: 580px; }
/* Ab Tablet: beide CTAs teilen sich exakt die Breite des Kostenversprechens darunter */
@media (min-width: 641px) {
  .hero-cta .btn { flex: 1 1 0; min-width: 0; }
}
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink-70); }
.hero-points li { display: flex; align-items: center; gap: .45em; }
.hero-points svg { color: var(--ok); flex: none; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: -14px; bottom: 18px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 12px 18px; font-size: .85rem; line-height: 1.4;
}
.hero-badge b { display: block; color: var(--ink); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 420px; }
}

/* ---------- Karten / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
/* Karten: statisch deutlich plastischer (Lichtkante oben, Sockelkante unten).
   Anheben beim Hover NUR, wenn die Karte einen Link enthält – sonst bleibt sie ruhig. */
.card {
  background: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #dee2e7; border-bottom-color: #cfd5db;
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              inset 0 -3px 0 rgba(22,24,28,.07),
              0 1px 2px rgba(22,24,28,.07),
              0 14px 34px rgba(22,24,28,.1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:has(a[href]):hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              inset 0 -3px 0 rgba(22,24,28,.07),
              0 3px 6px rgba(22,24,28,.08),
              0 22px 48px rgba(22,24,28,.15);
  border-color: #d0d6dc;
}
.card h3 { margin-top: .2em; }
.card .step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  background: linear-gradient(180deg, #2b313a 0%, #14161a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -3px 0 rgba(0,0,0,.46),
              0 3px 8px rgba(18,22,28,.3);
  font-weight: 700; margin-bottom: 14px; font-size: 1.02rem;
}
/* Auffällige Badge-Icons: gefüllter grüner Kreis mit weißem Haken,
   sattroter Kreis mit weißem Kreuz – leicht erhaben wie die Buttons. */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .75em; align-items: flex-start; padding: .5em 0; }
.check-list svg {
  flex: none; margin-top: .1em; box-sizing: border-box;
  width: 24px; height: 24px; padding: 5px; border-radius: 50%;
  color: #fff; stroke-width: 3;
  background: linear-gradient(180deg, #2fb372 0%, #16a34a 55%, #15803d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.15),
              0 2px 6px rgba(21,128,61,.4);
}
.check-list.neg svg {
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 55%, #be123c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.15),
              0 2px 6px rgba(190,18,60,.4);
}
/* Farbige Signaturkante der beiden Eignungs-Karten */
.card:has(.check-list) { border-top: 3px solid #16a34a; }
.card:has(.check-list.neg) { border-top: 3px solid #e11d48; }

/* ---------- Rechner ---------- */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-in { padding: 30px; display: flex; flex-direction: column; }
/* Auftragsbutton am Fuß der Eingabespalte: wer die Kosten gesehen hat, soll direkt starten können */
.calc-cta { margin-top: auto; padding-top: 6px; }
.calc-cta .btn { width: 100%; }
.calc-cta .hint { margin: 10px 0 0; }
.calc-out { padding: 30px; background: var(--bg-alt); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .calc-out { border-left: 0; border-top: 1px solid var(--line); } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); transition: color .16s var(--ease); }
.field:focus-within > label { color: var(--accent-ink); }
.field .hint { font-size: .8rem; color: var(--ink-50); margin-top: 4px; }
.field input[type="number"], .field input[type="text"], .field input[type="date"],
.field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .8em .95em; font: inherit; color: var(--ink);
  border: 1px solid #8a8f96; border-radius: var(--radius); background: #fff;
}
.field input, .field select, .field textarea { transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5f6570; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fbfdff;
  box-shadow: var(--focus-ring), 0 4px 14px rgba(0,109,176,.12);
}
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: .55em 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.calc-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.total { border-bottom: 0; font-size: 1.12rem; padding-top: .9em; }
.calc-row.total b { color: var(--accent-ink); }
.calc-note { font-size: .8rem; color: var(--ink-50); line-height: 1.55; margin-top: 14px; }

/* --- Premium-Rechner: Euro-Feld, Schieberegler, dunkles Ergebnis-Panel --- */
.input-euro { position: relative; }
.input-euro input { padding-right: 2.4em; font-weight: 600; font-variant-numeric: tabular-nums; }
.input-euro span {
  position: absolute; right: .95em; top: 50%; transform: translateY(-50%);
  color: var(--ink-50); font-weight: 600; pointer-events: none;
}
.calc-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
  margin: 12px 0 4px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 20%), var(--line) var(--fill, 20%));
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 1px 2px rgba(22,24,28,.2), 0 4px 10px rgba(0,109,176,.25);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.12); box-shadow: 0 2px 4px rgba(22,24,28,.22), 0 6px 16px rgba(0,109,176,.35); }
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 1px 2px rgba(22,24,28,.2), 0 4px 10px rgba(0,109,176,.25);
}
.calc-slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.calc-slider::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.4em; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236b7079' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95em center;
}
.calc-out {
  background: linear-gradient(180deg, #171b21 0%, #101317 100%);
  border-left: 0;
}
.calc-out .calc-row { border-bottom: 1px solid rgba(255,255,255,.1); }
.calc-out .calc-row span { color: #9aa5b1; }
.calc-out .calc-row b { color: #f2f5f9; }
.calc-out .calc-row.total { padding-top: 1.1em; font-size: 1.06rem; }
.calc-out .calc-row.total span { color: #fff; font-weight: 650; }
.calc-out .calc-row.total b { color: #4db4ef; font-size: 1.6rem; letter-spacing: -.01em; }
.calc-out .calc-note { color: #c3cbd4; font-size: .85rem; line-height: 1.62; }
@media (max-width: 860px) { .calc-out { border-top: 0; } }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card img { border-radius: var(--radius-lg); aspect-ratio: 4/4.6; object-fit: cover; object-position: center top; margin-bottom: 16px; }
.team-card .role { color: var(--accent-ink); font-size: .88rem; font-weight: 600; margin-bottom: .4em; }
.team-card ul { padding-left: 1.1em; margin: .4em 0 0; font-size: .9rem; color: var(--ink-70); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  padding: 1.1em 0; font-weight: 620; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color .16s var(--ease); }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); }

/* Scroll-Reveal (Klasse wird nur per JS gesetzt) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.faq .faq-a { padding: 0 0 1.2em; max-width: 720px; }

/* ---------- Formular (Wizard) ---------- */
.wizard { max-width: 760px; margin: 0 auto; }
.autosave-hint {
  font-size: .84rem; color: var(--ink-50); background: var(--bg-alt);
  border-radius: var(--radius); padding: 10px 14px; margin: 0 0 20px;
}
.progress { display: flex; gap: 6px; margin: 0 0 26px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--accent); }
.step-indicator { font-size: .85rem; font-weight: 650; color: var(--accent-ink); margin: 0 0 8px; }
.progress span { transition: background .45s var(--ease); }
.progress span.done { background: linear-gradient(90deg, #1f8fd4, #006db0); }
.step { display: none; border: 0; padding: 0; margin: 0; min-inline-size: auto; }
.step.active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 1.5rem; }
.step .step-hint { color: var(--ink-50); font-size: .92rem; margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
/* Auswahlkarten mit eigenen, großen Radio-Punkten – klarer Gewählt-Zustand */
.radio-cards { display: grid; gap: 10px; margin-bottom: 18px; }
.radio-cards label {
  position: relative; display: block; padding: 15px 18px 15px 54px;
  border-radius: var(--radius-lg); cursor: pointer; font-size: .98rem;
  background: #fff; background-image: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #8b929b; border-bottom-color: #848b94;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(22,24,28,.05), 0 6px 14px rgba(22,24,28,.06);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              border-color .16s var(--ease), background .16s var(--ease);
}
.radio-cards label:hover { transform: translateY(-1px); border-color: #b9d6ea; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 3px 6px rgba(22,24,28,.07), 0 12px 26px rgba(22,24,28,.1); }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards label::before {
  content: ""; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 23px; height: 23px; border-radius: 50%;
  border: 2px solid #848b94; background: #fff;
  box-shadow: inset 0 1px 3px rgba(22,24,28,.1);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.radio-cards label::after {
  content: ""; position: absolute; left: 24px; top: 50%; transform: translateY(-50%) scale(0);
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  transition: transform .2s var(--ease);
}
.radio-cards label:has(input:checked) {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f3f9fd 0%, #e8f2fa 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px var(--accent), 0 8px 20px rgba(0,109,176,.16);
}
.radio-cards label:has(input:checked)::before {
  border-color: var(--accent);
  background: linear-gradient(180deg, #1f8fd4 0%, #006db0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 6px rgba(0,109,176,.35);
}
.radio-cards label:has(input:checked)::after { transform: translateY(-50%) scale(1); }
.radio-cards label:has(input:focus-visible) {
  outline: 2px solid var(--accent); outline-offset: 2px;
  box-shadow: var(--focus-ring), 0 6px 14px rgba(22,24,28,.08);
}
.wizard-nav {
  display: flex; justify-content: space-between; gap: 14px; margin-top: 28px;
  position: sticky; bottom: 12px; z-index: 5;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  padding: 12px; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(22,24,28,.14);
}
.legal-checks label {
  display: flex; gap: .7em; align-items: flex-start; font-size: .9rem; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 8px;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.legal-checks label:hover { border-color: #b9d6ea; }
.legal-checks label.invalid { border-color: #b91c1c; background: #fef2f2; }
.legal-checks input { width: 18px; height: 18px; margin-top: .15em; accent-color: var(--accent); flex: none; }
.stop-box {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-lg);
  padding: 22px 24px; color: #7c2d12;
}
.ok-box {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-lg);
  padding: 22px 24px; color: #14532d;
}
.summary-block {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #dee2e7; border-bottom-color: #cfd5db;
  border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -3px 0 rgba(22,24,28,.04), 0 6px 16px rgba(22,24,28,.06);
}
.summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: .5em; }
.summary-block h3 { font-size: .95rem; margin: 0; }
.summary-edit {
  font: inherit; font-size: .78rem; font-weight: 650; color: var(--accent-ink); cursor: pointer;
  background: #f3f9fd; border: 1px solid #b9d6ea; border-radius: 999px; padding: .3em .95em;
  transition: background .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.summary-edit:hover { background: #e8f2fa; border-color: var(--accent); transform: translateY(-1px); }
.summary-block dl { margin: 0; font-size: .9rem; display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 2px 14px; }
.summary-block dt { color: var(--ink-50); }
.summary-block dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.summary-block dd.empty { color: var(--ink-50); }
.summary-kosten .calc-row { font-size: .92rem; }
.err { color: #b91c1c; font-size: .85rem; margin-top: 6px; display: none; align-items: baseline; gap: .5em; }
.err::before {
  content: "!"; flex: none; width: 15px; height: 15px; border-radius: 50%;
  background: #b91c1c; color: #fff; font-size: .68rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; transform: translateY(-1px);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b91c1c; }
.field.invalid .err { display: flex; }
/* Formular-Meldung (z. B. Zahlseite): sichtbar nur ohne hidden-Attribut */
.form-msg:not([hidden]) { display: flex; }
.field.invalid { animation: nudge .3s var(--ease); }
@keyframes nudge { 0% { transform: translateX(0); } 30% { transform: translateX(3px); } 60% { transform: translateX(-3px); } 100% { transform: translateX(0); } }
.field.valid input:not(:focus), .field.valid textarea:not(:focus) {
  border-color: #86c7a5;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 16px;
  padding-right: 2.5em; animation: fieldOk .3s var(--ease);
}
@keyframes fieldOk { from { background-size: 0 0; } to { background-size: 16px 16px; } }

/* ---------- Wizard-Kopf: dunkles Panel + Formular-Karte ---------- */
.wizard-head {
  background: linear-gradient(180deg, #171b21 0%, #101317 100%);
  border-radius: 18px 18px 0 0; padding: 22px 26px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.wizard-head .eyebrow { color: #4db4ef; }
.wizard-head .step-indicator { color: #e6ebf1; font-size: .95rem; }
.wizard-head .step-restzeit { font-size: .8rem; color: #9aa5b1; margin: 2px 0 12px; }
.wizard-head .progress { margin-bottom: 14px; }
.wizard-head .progress span { background: rgba(255,255,255,.14); }
.wizard-head .progress span.done { background: linear-gradient(90deg, #1f8fd4, #006db0); }
.wizard-head .progress span.now {
  background: linear-gradient(90deg, #4db4ef, #1f8fd4);
  box-shadow: 0 0 10px rgba(77,180,239,.55);
}
.wizard-head .autosave-hint { background: rgba(255,255,255,.07); color: #b9c1c9; margin: 0; }
.wizard-head .wizard-fon { font-size: .8rem; color: #9aa5b1; margin: 10px 0 0; }
.wizard-head .wizard-fon a { color: #cfd6dd; font-weight: 650; }
.wizard-card {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 18px 18px; padding: 26px 26px 20px;
  box-shadow: inset 0 -3px 0 rgba(22,24,28,.04), 0 14px 34px rgba(22,24,28,.1);
}
@media (max-width: 640px) {
  .wizard-head { padding: 18px 16px 14px; }
  .wizard-card { padding: 20px 14px 16px; }
}

/* ---------- Datums-Komponente (Tag / Monat / Jahr) ---------- */
.date-group { border: 0; padding: 0; margin: 0; min-inline-size: auto; }
.date-group legend { font-size: .88rem; font-weight: 600; margin-bottom: 6px; padding: 0; color: var(--ink); }
.date-field:focus-within .date-group legend { color: var(--accent-ink); }
.date-field .date-parts { display: flex; gap: 10px; }
.date-field .date-part label {
  font-size: .72rem; font-weight: 600; color: var(--ink-50);
  display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em;
}
.date-field .date-part input {
  text-align: center; font-variant-numeric: tabular-nums; font-weight: 600;
}
.date-field .date-part.dp-t input, .date-field .date-part.dp-m input { width: 4.6em; }
.date-field .date-part.dp-j input { width: 6em; }
.date-field input[aria-invalid="true"] { border-color: #b91c1c; background: #fef2f2; }
.date-echo { font-size: .85rem; color: #15803d; font-weight: 600; margin-top: 6px; min-height: 1.3em; }
.date-echo.warnung { color: #b45309; }
/* Echo-Zeile reserviert ihre Höhe immer — sonst verschiebt der Layout-Shift
   beim Ausfüllen den darunterliegenden Weiter-Button unter dem Zeiger weg */
@media (max-width: 380px) {
  .date-field .date-part.dp-t input, .date-field .date-part.dp-m input { width: 3.9em; }
  .date-field .date-part.dp-j input { width: 5.2em; }
}

/* ---------- Radio-Gruppen als fieldset + Fehlerzustand ---------- */
fieldset.radio-cards { border: 0; padding: 0; margin: 0 0 18px; min-inline-size: auto; }
.radio-cards legend { font-weight: 600; padding: 0; margin: 0 0 6px; font-size: 1rem; }
.radio-cards .err { margin-top: 4px; }
.radio-cards.invalid .err { display: flex; }
.radio-cards.invalid label { border-color: #b91c1c; }
.radio-cards.invalid { animation: nudge .3s var(--ease); }
.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;
}

/* ---------- Wizard: Vertrauen, Fehler-Sammelzeile, Erfolg ---------- */
.wizard-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: .78rem; color: var(--ink-50); margin: 14px 0 0;
}
.wizard-trust svg { color: #15803d; vertical-align: -2px; margin-right: 4px; }
.form-alert { display: none; font-size: .88rem; color: #b91c1c; font-weight: 600; margin: 0 0 10px; text-align: right; }
.form-alert.zeigen { display: block; }
.warn-box {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-lg);
  padding: 18px 22px; color: #7c2d12; margin-top: 14px;
}
.done-check { display: block; width: 56px; height: 56px; margin: 0 0 10px; }
.done-check circle { stroke: #16a34a; stroke-dasharray: 166; stroke-dashoffset: 166; fill: none; stroke-width: 2.5; animation: zeichnen .6s var(--ease) forwards; }
.done-check path { stroke: #16a34a; stroke-dasharray: 48; stroke-dashoffset: 48; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: zeichnen .35s .5s var(--ease) forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.step h2:focus { outline: none; }
.step h2 { display: flex; align-items: center; gap: 12px; }
.step-chip {
  flex: none; width: 44px; height: 44px; border-radius: 12px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2a2f36 0%, #16181c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.35), 0 6px 14px rgba(22,24,28,.25);
}
.step-chip svg { width: 22px; height: 22px; }
.wizard-nav[hidden] { display: none; }

/* ---------- Wizard mobil: Tastatur, Safe-Area ---------- */
.field input, .field select, .field textarea, .date-parts input,
.radio-cards input, .legal-checks input { scroll-margin-bottom: 110px; scroll-margin-top: 90px; }
.wizard-nav { bottom: max(12px, env(safe-area-inset-bottom)); }
@media (max-height: 460px) { .wizard-nav { position: static; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Vertrauens-Navigation auf Landingpages (ohne JS, wrap-fähig) ---------- */
.ortsnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 10px 16px; font-size: .85rem;
}
.ortsnav a { color: var(--ink-70); font-weight: 600; text-decoration: none; }
.ortsnav a:hover { color: var(--accent-ink); }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #aeb3ba; padding: 56px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.site-footer p { color: #b7bec6; }
.site-footer a { color: #d7dade; display: block; padding: 3px 0; }
.site-footer .btc-pay-btn { display: inline-flex; padding: .5em 1.4em .5em .5em; }
.footer-brand .brand-text b { color: #fff; }
.footer-note { font-size: .8rem; line-height: 1.55; color: #99a2ac; max-width: 760px; margin: 0 0 20px; }
.footer-bottom {
  border-top: 1px solid #2b2f36; padding-top: 20px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { display: inline; padding: 0; }

/* ---------- Schimmer: Glanz-Sweep auf Buttons (Hover) und ₿-Emblem ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 55%;
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.38) 50%, rgba(255,255,255,0) 100%);
}
.btn:hover::after { animation: sheen .9s var(--ease); }
@keyframes sheen {
  0% { left: -75%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}
/* Grüne Kostenkarte im Hero: gleicher Glanz-Sweep wie die Buttons beim Hover */
.hero-kosten { position: relative; overflow: hidden; }
.hero-kosten::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 55%;
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.32) 50%, rgba(255,255,255,0) 100%);
}
.hero-kosten:hover::after { animation: sheen .9s var(--ease); }
.btc-mark { position: relative; overflow: hidden; }
.btc-mark::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 55%;
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  animation: sheen 3.8s var(--ease) infinite; animation-delay: 1.2s;
}
.calc-out .calc-row.total b { text-shadow: 0 0 20px rgba(77,180,239,.5); }
