/* ==========================================================
   Mietsenkung. Marketing site
   Design system: Inter + slate/emerald + amber accent.
   Built mobile-first. Respects prefers-reduced-motion.
   ========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);   /*  40 → 72 */
  --fs-h1:      clamp(2rem, 1.4rem + 2.4vw, 2.75rem);   /*  32 → 44 */
  --fs-h2:      clamp(1.5rem, 1.2rem + 1.2vw, 2rem);    /*  24 → 32 */
  --fs-h3:      clamp(1.125rem, 1rem + 0.5vw, 1.25rem); /*  18 → 20 */
  --fs-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);/*  17 → 20 */
  --fs-body:    1rem;                                    /*  16     */
  --fs-small:   0.875rem;                                /*  14     */
  --fs-micro:   0.75rem;                                 /*  12     */

  /* spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;  --sp-8: 2rem;   --sp-12: 3rem;   --sp-16: 4rem;
  --sp-20: 5rem;   --sp-24: 6rem;  --sp-32: 8rem;

  /* color, light */
  --ink:        #0b1220;
  --ink-soft:   #475569;
  --ink-faint:  #64748b;
  --paper:      #ffffff;
  --paper-soft: #f8fafc;
  --paper-warm: #faf9f6;
  --line:       #e2e8f0;
  --line-soft:  #eef1f5;

  --emerald:       #059669;
  --emerald-deep:  #065f46;
  --emerald-bright:#10b981;
  --emerald-mist:  #ecfdf5;
  --emerald-glow:  #d1fae5;
  --gold:          #f59e0b;
  --gold-soft:     #fef3c7;

  --night:      #020617;
  --night-soft: #0f172a;
  --night-line: #1e293b;

  /* surfaces */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.05), 0 12px 24px -8px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 8px 16px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 0 1px rgba(5, 150, 105, 0.18), 0 24px 56px -16px rgba(5, 150, 105, 0.30);

  /* layout */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --max-content: 72rem;       /* 1152px */
  --max-prose:   42rem;       /*  672px legal pages */
  --pad-x:       clamp(1.75rem, 6vw, 2rem);
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
*::selection { background: var(--emerald-glow); color: var(--emerald-deep); }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11', 'ss01';
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a {
  color: var(--emerald-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover { color: var(--emerald); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

img, svg { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 100;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- 3. Site Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper-warm);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-nav__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand__mark { color: var(--emerald); display: inline-flex; }
.brand__mark img { border-radius: 6px; display: block; }
.brand:hover { color: var(--emerald-deep); }
/* Sticky-scroll brand: erscheint im Header sobald die User scrolled hat
   (>24px). Vorher unsichtbar, damit Header beim Landing minimal bleibt
   und der Hero-Brand-Block die primäre Markenidentität trägt. */
.brand--scrolled {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.site-nav.is-scrolled .brand--scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav__links {
  display: none;
  margin-left: auto;
  gap: var(--sp-6);
  align-items: center;
}
.site-nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__cta {
  margin-left: auto;
  padding: 9px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.site-nav__cta:hover { background: var(--emerald-deep); color: white; transform: translateY(-1px); }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  margin-left: auto;
  order: 3;
}
.lang-switcher a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.lang-switcher a:hover { color: var(--ink); }
.lang-switcher a.is-active {
  background: var(--ink);
  color: white;
}
@media (min-width: 760px) {
  .site-nav__links { display: inline-flex; margin-left: auto; }
  .site-nav__cta { margin-left: 0; order: 4; }
  .lang-switcher { margin-left: 0; order: 3; }
}
/* On narrow screens, hide the desktop nav links + CTA but keep the lang switcher
   visible so Manuel (and anyone else) can switch language on mobile. */
@media (max-width: 759px) {
  .site-nav__cta { display: none; }
  .site-nav__inner { gap: var(--sp-3); }
}

/* ---------- 4. Section base ---------- */
.section {
  padding: var(--sp-20) var(--pad-x);
}
.section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
/* Eyebrow-Untertitel im editorial Stil: keine Pill, kein Punkt, kein Background.
   Reine Typo-Auszeichnung als Section-Label, wie bei NZZ/Republik. */
.eyebrow {
  display: block;
  padding: 0;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 0;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-2);
}
.eyebrow::before { display: none; }
.section-title {
  font-size: var(--fs-h1);
  margin: var(--sp-3) 0 var(--sp-4);
}
.section-lead {
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  max-width: 38rem;
  margin: 0 0 var(--sp-12);
}

/* Reveal-on-scroll, progressive enhancement.
   Content is visible by default. Only hidden when JS sets .fx-reveal on <html>. */
[data-reveal] { transition: opacity 0.6s ease, transform 0.6s ease; }
.fx-reveal [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(16px); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-10) var(--pad-x) var(--sp-16);
  /* Single subtle vertical gradient instead of multi-color SaaS-atmospheric
     glows. Editorial-feel: one warm-paper tone fading to neutral paper. */
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 70%);
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero { padding-top: var(--sp-6); padding-left: 1.75rem; padding-right: 1.75rem; }
  .hero__inner { padding-left: 0; padding-right: 0; }
}
@media (max-width: 480px) {
  .hero { padding-left: 1.75rem; padding-right: 1.75rem; }
}
.hero::before { display: none; }

/* Hero background: animated reference-rate trend chart (Variante B, 2026-05-14).
   SVG zeichnet sich beim Page-Load über ~6s ein via stroke-dasharray/offset.
   Sehr dezent (opacity 0.55 max), laeuft NICHT als Endlosschleife, daher
   batterie- und reduce-motion-freundlich. Stellt thematisch dar: Referenzzins-
   Verlauf von 2020 bis heute, der über die Jahre mehrfach gesunken ist. */
.hero__bg-trend {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-trend svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Mobile: Hero stackt vertikal sehr hoch (Brand → Eyebrow → H1 → Sub → CTA
   → QR → Trust → Phone-Mock). Das SVG mit preserveAspectRatio="none"
   stretchte zuvor über die volle Höhe und wirkte "krass senkend".
   Cappe es daher auf den oberen Bereich (bis ungefähr zu den Store-Buttons)
   und lass es sanft nach unten ausfaden. */
@media (max-width: 960px) {
  .hero__bg-trend {
    inset: 0 0 auto 0;
    height: 480px;
    mask-image: linear-gradient(180deg, black 0%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 80%, transparent 100%);
  }
}
@media (max-width: 480px) {
  .hero__bg-trend { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-trend svg path[data-trend-line],
  .hero__bg-trend svg circle[data-trend-dot] {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 0.4 !important;
  }
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-20); }
}
.hero__copy { max-width: 36rem; }

/* Big-Hero-Logo (2026-05-10, v2): Manuel-Befund war "Logo zu nah am Text,
   eher rechts vom Text". Layout-Wechsel von logo-above-eyebrow zu Flex-Row:
   Eyebrow + H1 links, Logo rechts daneben, vertikal mit dem Block ge-
   centert. iOS-Style 112px mit emerald-tönigem drop-shadow. Mobile (≤480px)
   wechselt auf 80px und behält die rechte Position; ganz schmale screens
   (≤360px) gehen auf column-reverse falls H1 sonst zu eng würde. */
/* 2026-05-14 v3: Brand-Block oben (Icon + Wortmarke "Mietsenkung") als
   kompakte Marker-Zeile, darunter Eyebrow, dann H1 voll-breit. Vorher
   waren H1 + Logo zusammen im flex-row, was den H1 im DE auf 3-4 Zeilen
   zerlegte und das Logo "verloren" wirken liess. */
.hero__brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero__brandmark:hover { transform: translateY(-1px); color: var(--ink); }
.hero__brandmark__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  filter:
    drop-shadow(0 10px 22px rgba(16, 185, 129, 0.28))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  flex: none;
}
.hero__brandmark__word {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 480px) {
  .hero__brandmark__icon { width: 48px; height: 48px; border-radius: 12px; }
  .hero__brandmark__word { font-size: 20px; }
}
/* Stale-Block geloescht (vc:79+1, 2026-05-24): .hero__head, .hero__head-text,
   .hero__brand, .hero__brand-icon stammten vom pre-Brandmark-Layout
   (vor 2026-05-14). Aktuelle Hero-Brand-Wortmarke laeuft ueber
   .hero__brandmark und .hero__brandmark__icon/__word. */

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: var(--sp-6) 0 var(--sp-6);
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  white-space: nowrap;
  /* isolation creates a local stacking context so the ::after underline with
     z-index:-1 sits behind the text but in front of the hero background.
     Without this, z-index:-1 escapes upward and the underline disappears. */
  isolation: isolate;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.04em;
  height: 0.18em;
  background: var(--gold);
  opacity: 0.35;
  border-radius: 999px;
  z-index: -1;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin: 0 0 var(--sp-8);
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-6);
}
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  text-decoration: none;
  min-width: 178px;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.store-button:hover {
  background: var(--night-soft);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.store-button__icon {
  width: 28px;
  height: 28px;
  flex: none;
}
.store-button__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-button__small {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.8;
  text-transform: uppercase;
  font-weight: 500;
}
.store-button__big {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1px;
}

.hero__pricing {
  font-size: var(--fs-small);
  color: var(--ink-faint);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__pricing strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.hero__pricing .dot { color: var(--line); margin: 0 8px; }
.hero__pricing-bit { display: inline; white-space: nowrap; }
@media (max-width: 599px) {
  .hero__pricing .dot { display: none; }
  .hero__pricing-bit { display: block; margin: 0 0 2px; }
}

/* QR-cards: only render on real desktops/laptops with a fine pointer (no touch).
   On phones the user is already on the right device, they tap the store button instead. */
.qr-install { display: none; }
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .qr-install { display: block; margin-top: var(--sp-6); }
}
.qr-install__hint {
  font-size: var(--fs-small);
  color: var(--ink-faint);
  margin: 0 0 var(--sp-3);
  font-weight: 500;
}
.qr-install__row {
  display: flex;
  gap: var(--sp-4);
}
.qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.qr-card img {
  width: 84px;
  height: 84px;
  display: block;
}
.qr-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Trust-Hinweise als editorial Inline-Zeile mit Punkten als Trennzeichen,
   keine Pills, keine Icons. Schweizer Sachlichkeit. */
.hero__trust {
  margin-top: var(--sp-8);
  display: block;
  font-size: var(--fs-micro);
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-pill {
  display: inline;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  white-space: normal;
}
.trust-pill svg { display: none; }
.trust-pill + .trust-pill::before {
  content: " · ";
  color: var(--line);
  margin: 0 6px;
}

/* Phone mockup, mirrors the real Mietsenkung dashboard:
   - Manrope font (matches the app's UI font)
   - Light grey background (#F7F7F8 = AppColors.backgroundLight)
   - White SavingsCard with red "Dein Anspruch" label, big emerald CHF number,
     full-width emerald CTA + small "Neu berechnen" link below
   - A subordinate "Mietverlauf" history card visualises old → new rent. */
.phone {
  --phone-w: 280px;
  --phone-h: 580px;
  --phone-bg: #F7F7F8;
  --phone-surface: #FFFFFF;
  --phone-border: #E5E5EA;
  --phone-text: #1C1C1E;
  --phone-muted: #8E8E93;
  --phone-primary: #059669;
  --phone-primary-dark: #047857;
  --phone-pill: #D1FAE5;
  --phone-danger: #DC2626;
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  margin: 0 auto;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px #1e293b,
    0 30px 60px -20px rgba(2, 6, 23, 0.45),
    0 12px 24px -8px rgba(2, 6, 23, 0.30);
  isolation: isolate;
  font-family: 'Manrope', var(--font-sans);
}
.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--phone-bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--phone-text);
  letter-spacing: -0.01em;
}
.phone__appbar {
  padding: 16px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone__appbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--phone-text);
  letter-spacing: -0.015em;
}
.phone__appbar-title img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex: none;
}
.phone__appbar-action,
.phone__appbar-leading {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--phone-text);
}
.phone__appbar-leading svg,
.phone__appbar-action svg {
  width: 22px;
  height: 22px;
}
.phone__body {
  padding: 6px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.phone__card {
  background: var(--phone-surface);
  border: 1px solid var(--phone-border);
  border-radius: 14px;
  padding: 16px 16px 14px;
}
.phone__claim-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--phone-danger);
  margin: 0 0 4px;
}
.phone__claim-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 2px;
}
.phone__claim-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--phone-primary);
  font-variant-numeric: tabular-nums;
}
.phone__claim-unit {
  font-size: 14px;
  color: var(--phone-muted);
  font-weight: 600;
}
.phone__claim-sub {
  font-size: 12px;
  color: var(--phone-muted);
  font-weight: 500;
  margin: 0 0 12px;
}
.phone__cta {
  display: block;
  padding: 11px;
  background: var(--phone-primary);
  color: white;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.phone__recalc {
  text-align: center;
  font-size: 11px;
  color: var(--phone-muted);
  font-weight: 500;
  margin: 8px 0 0;
}
.phone__history-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--phone-muted);
  margin: 0 0 8px;
}
.phone__history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--phone-text);
  font-variant-numeric: tabular-nums;
}
.phone__history-row + .phone__history-row { margin-top: 6px; }
.phone__history-row span { color: var(--phone-muted); font-weight: 500; }
.phone__history-row strong { font-weight: 700; }
.phone__history-row strong.is-new { color: var(--phone-primary); }
.phone__tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: var(--phone-surface);
  border-top: 1px solid var(--phone-border);
  padding: 8px 0 14px;
}
.phone__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--phone-muted);
}
.phone__tab-icon-wrap {
  width: 40px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--phone-muted);
  transition: all 0.15s;
}
.phone__tab-icon-wrap svg {
  width: 18px;
  height: 18px;
}
.phone__tab--active { color: var(--phone-primary-dark); }
.phone__tab--active .phone__tab-icon-wrap {
  background: var(--phone-pill);
  color: var(--phone-primary-dark);
}
.phone__home {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 999px;
}

/* Verfahrens-Phone-Mock (zweiter Hero-Mock unten in Journey-Section,
   zeigt Dashboard-State NACH erstem Brief-Versand mit Antwort-Chip +
   Empfehlungs-Card. Reused phone-frame, eigene Body-Klassen. */
.phone__journey-hero {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.phone__journey-eyebrow {
  font-size: 9px; font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0;
}
.phone__journey-title {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 4px 0 2px;
}
.phone__journey-sub {
  font-size: 11px; opacity: 0.85;
  margin: 0; font-weight: 500;
}
.phone__letter-card {
  background: white;
  border: 1px solid var(--phone-border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.phone__letter-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--phone-pill);
  color: var(--phone-primary-dark);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 14px; font-weight: 700;
}
.phone__letter-body { flex: 1; min-width: 0; }
.phone__letter-title {
  font-size: 12px; font-weight: 700;
  color: var(--phone-text);
  margin: 0;
}
.phone__letter-meta {
  font-size: 10px; color: var(--phone-muted);
  margin: 2px 0 8px;
}
.phone__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--phone-pill);
  border: 1px solid rgba(5, 150, 105, 0.30);
  color: var(--phone-primary-dark);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px; font-weight: 600;
}
.phone__rec-card {
  background: rgba(5, 150, 105, 0.06);
  border: 1px dashed rgba(5, 150, 105, 0.32);
  border-radius: 14px;
  padding: 12px;
}
.phone__rec-label {
  font-size: 9px; font-weight: 700;
  color: var(--phone-primary-dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0;
}
.phone__rec-title {
  font-size: 12px; font-weight: 700;
  color: var(--phone-text);
  margin: 4px 0 2px;
  line-height: 1.25;
}
.phone__rec-sub {
  font-size: 10px; color: var(--phone-muted);
  margin: 0;
}

/* Status-Chip-Row im Phone-Mock. Spiegelt die App-Surface aus
   StatusCard chip-row (vc:46 G1 + vc:66 4. Reset-Chip). Vier farbige
   Optionen, neutral als Choice dargestellt (kein selected-State, weil
   das Mock den Moment vor der User-Entscheidung zeigen soll). */
.phone__status-block {
  background: white;
  border: 1px solid var(--phone-border);
  border-radius: 14px;
  padding: 12px 12px 14px;
  margin-bottom: 10px;
}
.phone__status-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--phone-text);
  margin: 0 0 8px;
}
.phone__status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.phone__chip-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1.5px solid;
  background: white;
  line-height: 1;
}
.phone__chip-status--ok {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.45);
}
.phone__chip-status--partial {
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.45);
}
.phone__chip-status--no {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.45);
}
.phone__chip-status--wait {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.45);
}

/* Journey-Section layout. Phone + Text side-by-side wie im Hero */
.journey {
  padding: var(--sp-16) var(--pad-x);
  background: var(--paper);
}
.journey__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 960px) {
  .journey__inner { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-20); }
}
.journey__visual { display: flex; justify-content: center; }
.journey__copy h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: var(--sp-3) 0 var(--sp-4);
}
.journey__copy p {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 var(--sp-3);
}
.hero__visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
@media (min-width: 960px) {
  .phone {
    transform: rotate(-2deg);
    transition: transform 0.6s ease;
  }
  .hero__visual:hover .phone,
  .journey__visual:hover .phone { transform: rotate(0deg) translateY(-4px); }
  /* Mirror tilt fuer zweiten Mock, leicht nach rechts statt links, damit
     er sich vom Hero-Phone visuell unterscheidet aber denselben Stil hat. */
  .journey__visual .phone { transform: rotate(2deg); }
}
.phone__float {
  position: absolute;
  background: white;
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  z-index: 3;
  border: 1px solid var(--line-soft);
}
.phone__float svg { color: var(--emerald); flex: none; }
.phone__float--top {
  top: 18%;
  right: -10%;
  animation: float-a 4s ease-in-out infinite alternate;
}
.phone__float--bot {
  bottom: 12%;
  left: -12%;
  animation: float-b 5s ease-in-out infinite alternate;
}
@keyframes float-a { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@keyframes float-b { from { transform: translateY(4px); } to { transform: translateY(-4px); } }

/* ---------- 6. Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-soft);
  padding: var(--sp-8) var(--pad-x);
}
.trust-strip__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 760px) {
  .trust-strip__inner { grid-template-columns: auto 1fr; gap: var(--sp-12); }
}
.trust-strip__label {
  font-size: var(--fs-small);
  color: var(--ink-faint);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-strip__sources {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center;
}
.trust-strip__sources span {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ---------- 7. Steps "Wie's geht" ---------- */
.steps {
  background: var(--paper);
}
.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 760px) {
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: var(--sp-8);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-glow);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--emerald-deep);
  background: var(--emerald-mist);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--sp-4);
}
.step__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--emerald-mist), var(--emerald-glow));
  color: var(--emerald-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.step h3 {
  font-size: var(--fs-h3);
  margin: 0 0 var(--sp-3);
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.step__time {
  display: inline-block;
  margin-top: var(--sp-4);
  padding: 3px 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- 8. Stats band (dark) ---------- */
.stats {
  background: var(--night);
  background-image:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(5, 150, 105, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(245, 158, 11, 0.10), transparent 70%);
  color: white;
  padding: var(--sp-16) var(--pad-x);
}
/* Eyebrow auf dunklem Hintergrund: heller Text statt ink-soft, sonst
   verschwindet er fast unsichtbar im Night-Background. */
.stats .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.stats__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.stats__title {
  font-size: var(--fs-h2);
  margin: var(--sp-3) 0 var(--sp-4);
  color: white;
}
.stats__lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-lead);
  max-width: 36rem;
  margin: 0 0 var(--sp-12);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 720px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
}
.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--sp-6);
}
.stat__num {
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.stat__num--accent {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-weight: 600;
  margin: var(--sp-3) 0 var(--sp-2);
  font-size: 17px;
  color: white;
}
.stat__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- 9. Bento "Why" ---------- */
/* Klassisches gleichmässiges Grid statt asymmetrisches Bento. Auto-fit
   passt sich Viewport an: 3 Cards/Reihe auf Desktop, 2 auf Tablet,
   1 auf Mobile. Keine accent-card mehr, alle gleichwertig. */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e { grid-column: auto; }
}
.bento__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow: hidden;
  transition: border-color 0.2s;
}
.bento__card:hover {
  border-color: var(--ink-soft);
}
.bento__card--accent {
  background: var(--paper);
  border-color: var(--line);
}
/* Icons aus den Bento-Cards weg. Editorial: nur Headline + Text. */
.bento__icon { display: none; }
.bento__card h3 {
  font-size: var(--fs-h3);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.bento__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.bento__big-num {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--emerald-deep);
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}
.bento__big-num small {
  font-size: 0.34em;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0;
  display: block;
  margin-top: 6px;
}

/* ---------- 10. Pricing ---------- */
.pricing {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
@media (min-width: 880px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-8);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.price-card--featured {
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, var(--paper) 0%, var(--emerald-mist) 100%);
}
/* "Beliebt"-Tag entfernt. Pricing-Cards sprechen fuer sich, kein
   "highlighted plan"-SaaS-Pattern mehr. */
.price-card__tag { display: none; }
.price-card__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.price-card__price {
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.price-card__price-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: -2px 0 var(--sp-3);
}
.price-card__list {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.price-card__list li svg {
  color: var(--emerald);
  flex: none;
  margin-top: 2px;
}
.price-card__addons {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.price-card__addons strong { color: var(--ink); }
.price-card__addons-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: var(--sp-3) 0 0;
}
.price-card__addons-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
}
.price-card__addons-row strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 599px) {
  .price-card__addons-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .price-card__addons-row strong { color: var(--emerald-deep); }
}

.pricing-note {
  margin-top: var(--sp-8);
  margin-bottom: 0;
  font-size: var(--fs-small);
  color: var(--ink-faint);
  max-width: 50rem;
}
.pricing-note + .pricing-note { margin-top: var(--sp-2); }

/* ---------- 11. FAQ ---------- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-top: 1px solid var(--line);
}
.faq__list details {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2) 0;
}
.faq__list summary {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: var(--sp-4) 0;
  transition: color 0.2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 22px;
  transition: transform 0.25s, background 0.2s;
}
.faq__list details[open] summary::after {
  content: '−';
  background: var(--emerald-mist);
  color: var(--emerald-deep);
}
.faq__list summary:hover { color: var(--emerald-deep); }
.faq__answer {
  padding: 0 0 var(--sp-6);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 56ch;
}
.faq__answer p { margin: 0 0 var(--sp-3); }
.faq__answer p:last-child { margin: 0; }

/* "Alle FAQ"-Verweis unter dem inline-FAQ-Block der Hauptseite, fuehrt auf
   die /faq-{lang}.html-Uebersichts-Page (SEO-Long-Tail + Schema.org FAQPage). */
.faq__more {
  margin-top: var(--sp-7);
  font-size: 16px;
  text-align: center;
}
.faq__more a {
  color: var(--emerald-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.faq__more a:hover { opacity: 0.75; }

/* ---------- 12. Sources ---------- */
.sources {
  background: var(--paper-soft);
  border-top: 1px solid var(--line-soft);
}
.sources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
@media (min-width: 720px) { .sources__grid { grid-template-columns: 1fr 1fr; } }
.source-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.source-row:hover { border-color: var(--emerald-glow); transform: translateY(-2px); color: var(--ink); }
/* Abkuerzungs-Pills (BWO/BFS/...) entfernt. Schlichte Quellen-Liste
   nur mit Title + Sub. */
.source-row__abbr { display: none; }
.source-row__body { flex: 1; min-width: 0; }
.source-row__title { font-weight: 600; font-size: 15px; margin: 0 0 2px; color: var(--ink); }
.source-row__sub { font-size: 13px; color: var(--ink-soft); margin: 0; }
.sources-disclaimer {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.sources-disclaimer strong { color: var(--ink); }

/* ---------- 13. Final CTA ---------- */
.cta {
  background: var(--night);
  background-image:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(5, 150, 105, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 100%, rgba(245, 158, 11, 0.10), transparent 70%);
  color: white;
  padding: var(--sp-24) var(--pad-x);
  text-align: center;
}
.cta__inner {
  max-width: 48rem;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3rem);
  color: white;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.025em;
}
.cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-lead);
  margin: 0 0 var(--sp-8);
}
.cta .hero__cta { justify-content: center; }
.cta .hero__pricing { color: rgba(255, 255, 255, 0.62); justify-content: center; }
.cta .hero__pricing strong { color: white; }
.cta .hero__pricing .dot { color: rgba(255, 255, 255, 0.25); }
.cta .store-button {
  background: white;
  color: var(--ink);
}
.cta .store-button:hover { background: var(--emerald-mist); color: var(--ink); }

/* ---------- 14. Site footer ---------- */
.site-foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: var(--sp-16) var(--pad-x) var(--sp-8);
  color: var(--ink-soft);
}
.site-foot__grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 760px) {
  .site-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12); }
}
.site-foot__brand .brand { margin-bottom: var(--sp-3); }
.site-foot__brand p { margin: 0; font-size: var(--fs-small); color: var(--ink-faint); max-width: 26rem; line-height: 1.55; }
.site-foot h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-foot ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.site-foot ul a:hover { color: var(--emerald-deep); }
.site-foot ul a[href^="mailto:"] {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.site-foot__bottom {
  max-width: var(--max-content);
  margin: var(--sp-12) auto 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  font-size: var(--fs-micro);
  color: var(--ink-faint);
  text-align: center;
}
.site-foot__bottom p { margin: 0; line-height: 1.55; }

/* ---------- 15. Legal pages (privacy/impressum/etc) ---------- */
main:not(:has(.hero)) {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: var(--sp-16) var(--pad-x) var(--sp-24);
}
main:not(:has(.hero)) h1 { font-size: var(--fs-h1); margin: 0 0 var(--sp-6); }
main:not(:has(.hero)) h2 { font-size: var(--fs-h2); margin: var(--sp-12) 0 var(--sp-3); }
main:not(:has(.hero)) h3 { font-size: var(--fs-h3); margin: var(--sp-8) 0 var(--sp-2); }
main:not(:has(.hero)) p, main:not(:has(.hero)) ul, main:not(:has(.hero)) ol { margin: 0 0 var(--sp-4); }
main:not(:has(.hero)) ul, main:not(:has(.hero)) ol { padding-left: 1.4em; }
main:not(:has(.hero)) li { margin: 4px 0; }
main:not(:has(.hero)) hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-8) 0; }
main:not(:has(.hero)) blockquote {
  margin: var(--sp-4) 0;
  padding: 14px 18px;
  background: var(--paper-soft);
  border-left: 3px solid var(--emerald);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-soft);
}
main:not(:has(.hero)) table { border-collapse: collapse; width: 100%; margin: var(--sp-4) 0; font-size: 15px; }
main:not(:has(.hero)) th, main:not(:has(.hero)) td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
main:not(:has(.hero)) th { background: var(--paper-soft); font-weight: 600; }

.lang-switch {
  display: inline-flex;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-6);
  padding: 6px 4px;
  font-size: var(--fs-small);
  color: var(--ink-faint);
}
.lang-switch a, .lang-switch span { color: var(--ink-soft); text-decoration: none; padding: 4px 10px; border-radius: 999px; }
.lang-switch a:hover { background: var(--paper-soft); color: var(--ink); }
.lang-switch .active { background: var(--ink); color: white; font-weight: 600; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: var(--sp-8) 0;
}
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: block;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
  background: var(--paper);
}
.card:hover { border-color: var(--emerald-glow); transform: translateY(-2px); }
.card h3 { margin: 0 0 4px; color: var(--emerald-deep); font-size: 16px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .phone__float--top, .phone__float--bot { animation: none; }
  .fx-reveal [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* Print: ignore animations, reveal everything */
@media print {
  .fx-reveal [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .site-nav, .cta { background: white; color: black; }
  .phone, .phone__float--top, .phone__float--bot { display: none; }
}

/* ---------------------------------------------------------
   Coming-Soon modal (temporary, remove once Apple/Google
   listings are live and store-button hrefs are restored).
   --------------------------------------------------------- */
.coming-soon-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(440px, calc(100vw - 32px));
  width: 100%;
  color: inherit;
}
.coming-soon-modal::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}
.coming-soon-modal__inner {
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.coming-soon-modal__title {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #059669;
  letter-spacing: -0.01em;
}
.coming-soon-modal__body {
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 22px;
  color: #334155;
}
.coming-soon-modal__close {
  appearance: none;
  border: 0;
  background: #059669;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.coming-soon-modal__close:hover {
  background: #047857;
}
.coming-soon-modal__close:active {
  transform: scale(0.97);
}
.coming-soon-modal__close:focus-visible {
  outline: 3px solid rgba(5, 150, 105, 0.4);
  outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
  .coming-soon-modal__inner {
    background: #0f172a;
    color: #e2e8f0;
  }
  .coming-soon-modal__title {
    color: #34d399;
  }
  .coming-soon-modal__body {
    color: #cbd5e1;
  }
}
