/* MAAS Berlin West — design tokens */

:root {
  /* Color */
  --ink: #0B1320;
  --ink-2: #1A2334;
  --ink-3: #3A4358;
  --muted: #6B7385;
  --muted-2: #95A0B3;
  --line: #E4E2DC;
  --line-2: #D4D1C8;
  --bg: #FAFAF7;
  --bg-warm: #F4F2EC;
  --paper: #FFFFFF;
  --accent: #D7263D;          /* signal red */
  --accent-deep: #A91D30;
  --accent-soft: #FBE6E9;
  --success: #1F6B4A;
  --success-soft: #E5F0EB;
  --amber: #B36A00;

  /* Radius */
  --r-sm: 3px;
  --r: 4px;
  --r-lg: 6px;

  /* Type */
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Density (overridable) */
  --pad-section: 112px;
  --pad-container: 48px;
  --gap: 24px;
  --container: 1280px;
}

[data-density="compact"] {
  --pad-section: 80px;
  --pad-container: 40px;
  --gap: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Containers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-container);
}

.section { padding: var(--pad-section) 0; }
.section--tight { padding: calc(var(--pad-section) * 0.6) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #E9EAEF; }
.section--warm { background: var(--bg-warm); }

/* Typography */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow--ink { color: var(--accent); }
.eyebrow--light { color: rgba(255,255,255,0.5); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

.h-display {
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h1 { font-size: clamp(40px, 4vw, 60px); line-height: 1.02; letter-spacing: -0.028em; }
.h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.022em; }
.h3 { font-size: clamp(22px, 1.6vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 60ch;
  text-wrap: pretty;
}

p { margin: 0; text-wrap: pretty; }

/* Mono micro */
.mono { font-family: var(--f-mono); }
.micro {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tbd {
  font-family: var(--f-mono);
  font-size: inherit;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0 4px;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: transform 80ms ease, background 120ms ease, border-color 120ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-light:hover { border-color: rgba(255,255,255,0.6); }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn .arrow { transition: transform 140ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Pills / badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-3);
  background: var(--paper);
}
.pill--accent { color: var(--accent-deep); border-color: var(--accent-soft); background: var(--accent-soft); }
.pill--success { color: var(--success); border-color: var(--success-soft); background: var(--success-soft); }
.pill--dark { color: #fff; background: var(--ink); border-color: var(--ink); }

/* Card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

/* Divider rules */
.rule { height: 1px; background: var(--line); border: 0; }
.rule--soft { height: 1px; background: rgba(255,255,255,0.08); border: 0; }

/* Photo placeholder */
.photo {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(11,19,32,0.04) 0,
      rgba(11,19,32,0.04) 1px,
      transparent 1px,
      transparent 9px),
    linear-gradient(180deg, #EAE6DE 0%, #DFD9CD 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  color: var(--ink-3);
}
.photo .photo-label {
  position: absolute;
  inset: auto 16px 16px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}
.photo .photo-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  background: rgba(255,255,255,0.7);
  padding: 3px 8px;
  border-radius: 2px;
}

/* Animated dot */
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

/* Form */
.input, .select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  outline: none;
  transition: border-color 120ms ease;
}
.input:focus, .select:focus { border-color: var(--ink); }
.input::placeholder { color: var(--muted-2); }
.label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

/* Layout helpers */
.grid { display: grid; gap: var(--gap); }
.flex { display: flex; gap: var(--gap); }
.between { display: flex; justify-content: space-between; align-items: center; }

/* Hover lift for cards */
.lift { transition: border-color 140ms ease, transform 140ms ease; }
.lift:hover { border-color: var(--ink); }

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,247,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Header nav items */
.nav-item {
  padding: 10px 9px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 14px;
  font-family: var(--f-body);
  border-radius: 3px;
  white-space: nowrap;
}

/* Header responsive trimming — keep CTA visible, no horizontal scroll */
@media (max-width: 1500px) {
  .hdr-pill { display: none !important; }
}
@media (max-width: 1140px) and (min-width: 1024px) {
  .hdr-phone { display: none !important; }
}
@media (max-width: 1080px) {
  .nav-item { padding: 10px 6px; font-size: 13px; }
  .site-header .container { padding: 0 28px; }
}
@media (max-width: 900px) {
  .nav-item--secondary { display: none !important; }
}

/* Burger + mobile menu */
.hdr-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--ink); cursor: pointer; flex-shrink: 0;
  transition: border-color 120ms ease;
}
.hdr-burger:hover { border-color: var(--ink); }
@media (max-width: 1023px) {
  .hdr-nav { display: none !important; }
  .hdr-burger { display: flex; }
  .site-header .container { padding: 0 20px; }
}
@media (max-width: 740px) {
  .hdr-cta { display: none !important; }
}
@media (max-width: 420px) {
  .hdr-phone-num { display: none !important; }
}
.mm-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  display: flex; flex-direction: column;
}
.mm-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.mm-close {
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 4px;
  background: none; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(45deg);
}
.mm-body { padding: 20px; flex: 1; overflow-y: auto; }
.mm-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); min-height: 44px;
}
.mm-foot {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); flex-shrink: 0;
  display: grid; gap: 4px; background: var(--bg);
}
@media print { .mm-overlay { display: none !important; } }

/* Selection */
::selection { background: var(--ink); color: #fff; }

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* Hide scrollbars on horizontal scroll regions if any */
.scroll-x { overflow-x: auto; }
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

/* Marker dot for lists */
.marker-dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 12px;
  transform: translateY(-2px);
}

/* Subtle entrance on view (handled by IntersectionObserver in JS) */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: none; }


/* ===== Consent banner (bottom, non-blocking) ===== */
.cb-wrap {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 60; display: flex; justify-content: center; pointer-events: none;
}
.cb-banner {
  pointer-events: auto; width: 100%; max-width: 1160px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 48px rgba(11,19,32,0.16);
  padding: 18px 24px; display: flex; align-items: center; gap: 24px;
}
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
@media (max-width: 760px) {
  .cb-wrap { left: 12px; right: 12px; bottom: 12px; }
  .cb-banner { flex-direction: column; align-items: stretch; gap: 14px; max-height: 55vh; overflow: auto; }
  .cb-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .cb-actions .btn { width: 100%; justify-content: center; }
}
.cb-modal-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(11,19,32,0.32);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cb-modal {
  background: var(--paper); border-radius: 20px; width: min(560px, 100%);
  padding: 28px; max-height: 86vh; overflow: auto;
  box-shadow: 0 24px 64px rgba(11,19,32,0.22);
}
.cb-switch {
  position: relative; width: 42px; height: 24px; border-radius: 100px;
  background: var(--line-2); transition: background 140ms ease; cursor: pointer; border: 0; flex-shrink: 0; margin-top: 2px;
}
.cb-switch[data-on="true"] { background: var(--success); }
.cb-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform 140ms ease;
  box-shadow: 0 1px 3px rgba(11,19,32,0.25);
}
.cb-switch[data-on="true"]::after { transform: translateX(18px); }
.cb-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 25;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(11,19,32,0.10);
  transition: color 120ms ease, border-color 120ms ease;
}
.cb-fab:hover { color: var(--ink); border-color: var(--ink); }
@media print { .cb-wrap, .cb-fab, .cb-modal-overlay { display: none !important; } }

/* ===== Beratung popup ===== */
.bp-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(11,19,32,0.34);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.bp-modal {
  background: var(--paper); border-radius: 24px; width: min(640px, 100%);
  max-height: 90vh; overflow: auto; position: relative;
  box-shadow: 0 24px 64px rgba(11,19,32,0.24);
}
.bp-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-3);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transform: rotate(45deg);
  transition: color 120ms ease, border-color 120ms ease;
}
.bp-close:hover { color: var(--ink); border-color: var(--ink); }
.bp-err { color: var(--accent-deep); font-size: 12.5px; margin-top: 5px; line-height: 1.4; }
.input--err { border-color: var(--accent) !important; }
@media (max-width: 720px) {
  .bp-overlay { padding: 0; align-items: flex-end; }
  .bp-modal { width: 100%; border-radius: 20px 20px 0 0; max-height: 88vh; }
  .bp-modal form { padding: 32px 20px 28px !important; }
  .bp-grid { grid-template-columns: 1fr !important; }
}
@media print { .bp-overlay { display: none !important; } }


/* ===== Responsive content — tablet & mobile =====
   Sections use inline style grids (React/CSSOM serialization: "prop: value;").
   Attribute selectors + !important override inline styles. */

/* --- Tablet ≤ 1180px --- */
@media (max-width: 1180px) {
  :root { --pad-section: 80px; }
  .container { padding-left: 28px; padding-right: 28px; }
  /* 5-col strips (Warum MAAS, key facts, Zielgruppen) -> 3 cols */
  main [style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; row-gap: 32px !important; }
}

/* --- Small tablet ≤ 980px --- */
@media (max-width: 980px) {
  :root { --pad-section: 64px; }
  /* Asymmetric 2-col splits -> single column */
  main [style*="1.15fr"], main [style*="1.2fr"], main [style*="1.25fr"],
  main [style*="1.1fr"], main [style*="1.3fr"],
  main [style*="1.4fr"], main [style*="1.6fr"], main [style*="240px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* 4-col grids (Ablauf, Inhalte, key facts) -> 2 cols */
  main [style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; row-gap: 28px !important; }
  /* Sticky sidebars -> static */
  main [style*="position: sticky"], main [style*="position:sticky"] { position: static !important; }
  /* Ablauf connector line off */
  main [style*="left: 12%"], main [style*="left:12%"] { display: none !important; }
  /* Large gaps shrink */
  main [style*="gap: 80px"] { gap: 40px !important; }
  main [style*="gap: 64px"] { gap: 36px !important; }
  /* Footer 4 cols -> 2 */
  footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; gap: 36px !important; }
}

/* --- Mobile ≤ 760px --- */
@media (max-width: 760px) {
  :root { --pad-section: 48px; }
  .container { padding-left: 20px; padding-right: 20px; }
  /* Everything single column ... */
  main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  /* Let grid children shrink so long/no-wrap content never blows the track past the viewport */
  main [style*="grid-template-columns"] > * { min-width: 0 !important; }
  /* ... except compact stat strips: 2-up */
  main [style*="repeat(4"], main [style*="repeat(5"],
  main [style*="repeat(auto-fit"] { grid-template-columns: repeat(2, 1fr) !important; row-gap: 24px !important; }
  /* Column dividers in stat strips look wrong when wrapped -> drop */
  main [style*="repeat(4"] > [style*="border-left"],
  main [style*="repeat(5"] > [style*="border-left"],
  main [style*="repeat(auto-fit"] > [style*="border-left"] {
    border-left: 0 !important; padding-left: 0 !important;
  }
  /* Large display numbers */
  main [style*="font-size: 64px"] { font-size: 42px !important; }
  main [style*="font-size: 56px"] { font-size: 40px !important; }
  main [style*="font-size: 52px"] { font-size: 40px !important; }
  /* Label/value rows inside cards keep two columns */
  main [style*="110px 1fr"] { grid-template-columns: 110px 1fr !important; }
  main [style*="150px 1fr"] { grid-template-columns: 130px 1fr !important; }
  /* Card paddings */
  main [style*="padding: 40px;"] { padding: 24px !important; }
  main [style*="padding: 36px;"] { padding: 24px !important; }
  main [style*="padding: 32px;"] { padding: 22px !important; }
  /* CTA rows wrap */
  main [style*="display: flex"][style*="gap: 16px"] { flex-wrap: wrap !important; }
  /* FAQ question size + indent */
  main [style*="font-size: 22px"][style*="-0.015em"] { font-size: 18px !important; }
  main [style*="padding: 0px 0px 32px 50px"] { padding: 0 0 28px 0 !important; }
  /* Footer single column */
  footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 32px !important; }
  /* Hero meta strip: hide address tail */
  main [style*="flex: 1 1 0%"][style*="height: 1px"] + span { display: none !important; }
  /* Map placeholder height */
  main [style*="min-height: 420px"] { min-height: 300px !important; }
}

/* --- Small mobile ≤ 480px --- */
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  /* Content-heavy multi-col grids (Inhalte, Ablauf, card decks) -> true single column
     so nothing scrolls sideways on a narrow phone */
  main [style*="repeat(4"], main [style*="repeat(auto-fit"] {
    grid-template-columns: 1fr !important; row-gap: 0 !important;
  }
  /* Drop the cell dividers that look broken once stacked */
  main [style*="repeat(4"] > [style*="border-right"],
  main [style*="repeat(4"] > [style*="border-left"] {
    border-right: 0 !important; border-left: 0 !important; padding-left: 28px !important;
  }
  /* Stat strips single column on narrow phones stay 2-up only if numbers are short;
     keep 2-up but tighten type */
  main [style*="font-size: 34px"] { font-size: 28px !important; }
  main [style*="font-size: 26px"][style*="nowrap"] { font-size: 21px !important; }
  /* Sticky bottom bar: hide mono label, keep phone + CTA */
  .rs-sticky-label { display: none !important; }
}

/* ============================================================
   PHONE-FIRST CONVERSION LAYER (Brief §4–5)
   ============================================================ */

/* ---- Hero CTA: primary call + Rückruf + trust chips ---- */
.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---- Live availability badge under CTA ---- */
.hero-avail { display: inline-flex; align-items: center; gap: 9px; margin-top: -4px; }
.hero-avail-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hero-avail-tx { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.01em; color: var(--ink-3); }
.hero-avail[data-reachable="true"] .hero-avail-dot {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(31,138,91,0.45);
  animation: heroPulse 2.4s ease-out infinite;
}
.hero-avail[data-reachable="false"] .hero-avail-dot { background: var(--muted); }
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(31,138,91,0.4); }
  70% { box-shadow: 0 0 0 7px rgba(31,138,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); }
}
@media (prefers-reduced-motion: reduce) { .hero-avail-dot { animation: none !important; } }
.hero-cta-row { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }

.hero-call {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: var(--r-lg);
  box-shadow: 0 10px 26px rgba(215,38,61,0.26);
  transition: transform 120ms ease, box-shadow 160ms ease, background 140ms ease;
}
.hero-call:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(215,38,61,0.32); }
.hero-call:active { transform: translateY(0); }
.hero-call-ic { display: inline-flex; flex-shrink: 0; }
.hero-call-tx { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.hero-call-lead { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.82); font-family: var(--f-mono); }
.hero-call-num { font-size: 21px; font-weight: 600; letter-spacing: 0.01em; margin-top: 3px; white-space: nowrap; }
.hero-call-note { margin-left: 6px; font-size: 11.5px; color: rgba(255,255,255,0.72); font-family: var(--f-mono); align-self: center; white-space: nowrap; }

.hero-rueckruf {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 600;
  transition: border-color 140ms ease, background 140ms ease;
}
.hero-rueckruf:hover { border-color: var(--ink); background: var(--bg); }

.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-chips li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-chips li svg { color: var(--success); flex-shrink: 0; }

/* ---- Phone-first sticky bottom bar (mobile only) ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -6px 20px rgba(11,19,32,0.08);
  transform: translateY(110%); transition: transform 240ms ease;
}
.sticky-cta[data-show="true"] { transform: translateY(0); }
.sticky-cta-call, .sticky-cta-rueckruf {
  min-height: 52px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer;
}
.sticky-cta-call { flex: 1.25; background: var(--accent); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(215,38,61,0.28); }
.sticky-cta-call:active { background: var(--accent-deep); }
.sticky-cta-call .mono { font-size: 15px; letter-spacing: 0.01em; }
.sticky-cta-rueckruf { flex: 1; background: var(--ink); color: #fff; border: 0; }
.sticky-cta-rueckruf:active { background: #000; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
}
@media print { .sticky-cta { display: none !important; } }

/* ---- Mobile no-scroll hero compression (Brief §3·1, §4) ---- */
.hero-sub-mobile { display: none; }
@media (max-width: 760px) {
  .hero-section { padding-top: 20px !important; padding-bottom: 36px !important; }
  .hero-breadcrumb { display: none !important; }
  .hero-pills { display: none !important; }
  .hero-metastrip { display: none !important; }
  .hero-eyebrow { margin-bottom: 12px !important; }
  .hero-section h1.h-display { font-size: 32px !important; line-height: 1.05 !important; margin-bottom: 14px !important; }
  .hero-lede, .hero-longtext { display: none !important; }
  .hero-sub-mobile { display: block !important; font-size: 16px; line-height: 1.5; color: var(--ink-3); margin: 0 0 22px !important; max-width: 38ch; }
  .hero-cta { gap: 14px; width: 100%; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero-call { width: 100%; justify-content: flex-start; padding: 13px 18px; flex-wrap: wrap; }
  .hero-call-note { flex-basis: 100%; margin-left: 36px; margin-top: 2px; align-self: flex-start; }
  .hero-rueckruf { width: 100%; padding: 14px 18px; }
  .hero-chips { gap: 9px 18px; }
  .hero-keyfacts { margin-top: 30px !important; }
  /* leave room for sticky bar */
  body { padding-bottom: 64px; }
}

/* ---- Mini Rückruf popup variant ---- */
.bp-modal.bp-modal--mini { max-width: 440px; }
.bp-callnote { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.bp-callnote a { color: var(--ink); }

/* ---- Homepage floating Bildungsgutschein card: keep on-screen on mobile (Brief §5G) ---- */
@media (max-width: 980px) {
  .hero-float-card {
    position: static !important;
    right: auto !important; bottom: auto !important;
    width: auto !important; margin-top: 20px;
  }
}
