:root{
  /* Brand */
  --primary: #2563eb;          /* Blau */
  --secondary: #0f172a;        /* Slate-900 */
  --accent: #fbbf24;           /* Amber */
  --navy: #1e3a5f;
  --blue-dim: #eff6ff;
  --blue-mid: #dbeafe;

  /* Surfaces */
  --bg: #f8fafc;
  --white: #ffffff;
  --surface: #ffffff;

  /* Text */
  --text: #0f172a;
  --muted: #475569;

  /* Borders/shadows */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.10);
  --focus-ring: rgba(37,99,235,0.28);
  --nav-height: 64px;
  --nav-offset: 80px;

  /* Radius & layout */
  --radius: 6px;
  --radius-lg: 10px;
  --max: 1120px;

  /* Type scale */
  --h1: clamp(30px, 4vw, 52px);
  --h2: clamp(22px, 2.4vw, 34px);
  --h3: 18px;
}

*{ box-sizing:border-box; }
html, body{ height: 100%; }
html {
  scroll-padding-top: var(--nav-offset);
  scroll-behavior: smooth; /* optional */
}

/* Extra robust: auch pro Section Abstand */
#services, #steps, #benefits, #stats, #contact{
  scroll-margin-top: var(--nav-offset);
}


body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
}

h1,h2,h3,h4{
  font-family: Outfit, ui-sans-serif, system-ui;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--secondary);
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px;
}

.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;
}

/* ---------------------------
   PRIMARY NAV
---------------------------- */
.om-nav{
  position: sticky;
  top: 0;
  z-index: 9999;
  height: var(--nav-height);
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.om-nav--scrolled{
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 32px rgba(2,6,23,0.08);
}

.om-nav--open{
  border-bottom-color: rgba(15,23,42,0.04);
}

.om-nav__inner{
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.om-nav__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.om-nav__logo-icon{
  width: 36px;
  height: 36px;
  background: #2563eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(37,99,235,0.22);
}

.om-nav__logo-text{
  font-size: 15px;
  font-weight: 700;
  color: #1a2240;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.brand-dot{
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #2563eb;
}

.om-nav__links{
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.om-nav__link{
  font-size: 14px;
  font-weight: 500;
  color: #5a6480;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.om-nav__link:hover{
  color: var(--primary);
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.om-nav__link--current{
  color: var(--primary);
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  font-weight: 600;
}

.om-nav__cta{
  background: #2563eb;
  color: #ffffff !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  margin-left: 6px;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(37,99,235,0.18);
}

.om-nav__cta:hover{
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

.om-nav__burger{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(15,23,42,0.08);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.om-nav__burger:hover{
  background: #f0f5ff;
  border-color: rgba(37,99,235,0.18);
}

.om-nav__burger span{
  width: 22px;
  height: 2px;
  background: #1a2240;
  border-radius: 2px;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.om-nav__burger[aria-expanded="true"] span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.om-nav__burger[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}

.om-nav__burger[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.om-nav__mobile{
  position: absolute;
  top: calc(var(--nav-height) - 1px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 40px rgba(2,6,23,0.10);
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.om-nav__mobile[hidden]{
  display: none;
}

.om-nav__mobile-link{
  font-size: 15px;
  font-weight: 500;
  color: #1a2240;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.om-nav__mobile-link:hover{
  background: #f0f5ff;
}

.om-nav__mobile-link--current{
  background: rgba(37,99,235,0.06);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
  padding-left: 9px;
}

.om-nav__mobile-divider{
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 4px 0;
}

.om-nav__mobile-tag{
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.om-nav__mobile-cta{
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #2563eb;
  border-radius: 8px;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s ease;
}

.om-nav__mobile-cta:hover{
  background: #1d4ed8;
}

/* ---------------------------
   BUTTONS
---------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 10px 22px rgba(2,6,23,0.06);
  font-weight: 850;
  color: var(--secondary);
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37,99,235,0.22);
}

.btn:active{ transform: translateY(0); }

.btn--disabled{
  opacity: .6;
  cursor: not-allowed;
}

.btn-primary{
  color: #fff;
  border-color: #1d4ed8;
  background: #2563eb;
}

.btn-primary:hover{
  background: #1d4ed8;
}

.btn-secondary{
  background: rgba(255,255,255,0.65);
}

.btn-sm{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 850;
}

.btn:focus-visible,
.om-nav__logo:focus-visible,
.om-nav__link:focus-visible,
.om-nav__burger:focus-visible,
.om-nav__mobile-link:focus-visible,
.om-nav__mobile-cta:focus-visible,
.footer-copy a:focus-visible,
.rg-menu-btn:focus-visible,
.rg-sidebar-close:focus-visible{
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--secondary);
  font-weight: 700;
}

.badge-accent{
  border-color: rgba(251,191,36,0.40);
  background: rgba(251,191,36,0.22);
}

/* ---------------------------
   LAYOUT / TYPO
---------------------------- */
.section{ padding: 64px 0; }
.section-tight{ padding: 44px 0; }

.grid{ display:grid; gap: 18px; }

@media (min-width: 980px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
  .grid-hero{ grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
}

.section-title{
  font-size: var(--h2);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--secondary);
}

.lead{
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Section head helper */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.kicker,
.kdot{
  display: none !important;
}

.divider-soft{
  height: 1px;
  background: rgba(15,23,42,0.10);
  margin: 16px 0;
}

/* ---------------------------
   CARD SYSTEM (Premium clean)
---------------------------- */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card:hover{
  border-color: rgba(37,99,235,0.18);
}

.om-image-figure{
  margin: 0;
  width: 100%;
}

.om-image-figure picture{
  display: block;
}

.om-image-frame{
  position: relative;
}

.om-image-source{
  margin-top: 10px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

/* ── Image preset modifiers ─────────────────────────────────────
   Each group uses the aspect-ratios derived from the fill-crop
   filter specs in image_profiles.py.  The .om-image-frame (or
   .ratgeber-card-frame) gets the aspect-ratio so the layout
   reserves the right proportions before the image loads, and so
   all cards/sections are predictably sized regardless of the
   editor's preset choice.
   NOTE: overflow:hidden is intentionally NOT set on .om-image-frame
   because hero-card, benefits-stat and about-license-badge are
   absolute-positioned children that deliberately overflow the frame.
   The .ratgeber-card-frame already carries overflow:hidden via its
   own rule.
──────────────────────────────────────────────────────────────── */

/* Hero — portrait can make the hero section extremely tall;
   cap the image height and let object-fit crop it gracefully.
   Landscape / wide / square are fine with height:auto because the
   fill-cropped images already carry the correct proportions. */
.hero-figure--portrait .hero-img {
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
}

/* About (fill-crop ratios: portrait 300×350, tall 280×400,
   square 320×320, landscape 360×270) */
.about-figure--portrait  .om-image-frame { aspect-ratio: 6/7; }
.about-figure--tall      .om-image-frame { aspect-ratio: 7/10; }
.about-figure--square    .om-image-frame { aspect-ratio: 1/1; }
.about-figure--landscape .om-image-frame { aspect-ratio: 4/3; }

/* Benefits (fill-crop ratios: landscape 550×380, wide 620×300,
   square 520×520, portrait 440×560) */
.benefits-figure--landscape .om-image-frame { aspect-ratio: 55/38; }
.benefits-figure--wide      .om-image-frame { aspect-ratio: 31/15; }
.benefits-figure--square    .om-image-frame { aspect-ratio: 1/1; }
.benefits-figure--portrait  .om-image-frame { aspect-ratio: 11/14; }

/* Ratgeber detail cover — aspect-ratio on the figure itself
   (no .om-image-frame wrapper present in ratgeber_page.html).
   Existing rg-cover-img border-radius and box-shadow stay on the
   <img>; no overflow:hidden needed because fill-crop images match
   the ratio exactly. */
.rg-cover--landscape { aspect-ratio: 16/7; }
.rg-cover--wide      { aspect-ratio: 8/3; }
.rg-cover--square    { aspect-ratio: 1/1; }
.rg-cover--portrait  { aspect-ratio: 3/4; }

/* Ratgeber card — .ratgeber-card-frame already has overflow:hidden */
.ratgeber-card-figure--landscape .ratgeber-card-frame { aspect-ratio: 16/9; }
.ratgeber-card-figure--wide      .ratgeber-card-frame { aspect-ratio: 2/1; }
.ratgeber-card-figure--square    .ratgeber-card-frame { aspect-ratio: 1/1; }
.ratgeber-card-figure--portrait  .ratgeber-card-frame { aspect-ratio: 16/21; }


/* ---------------------------
   HERO 
---------------------------- */
.hero-shell{
  position: relative;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.86);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(2,6,23,0.08);
}

.hero-inner{ padding: 34px; position: relative; z-index: 2; }
.hero-left{ max-width: 62ch; }

.hero-kicker{
  display: inline-flex;
  font-weight: 700;
  color: var(--secondary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 10px;
  border-radius: 4px;
}

.hero-title{
  margin: 16px 0 10px;
  font-size: var(--h1);
  line-height: 1.05;
}

.hero-lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-usps{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--secondary);
  font-weight: 750;
}

.hero-usps li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
}

.hero-usps .tick{
  display:inline-grid;
  place-items:center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(37,99,235,0.12);
  color: var(--primary);
  font-weight: 900;
  flex: 0 0 auto;
}

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

.hero-note{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  color: var(--muted);
  font-weight: 800;
}

.hero-note .star{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(251,191,36,0.22);
  border: 1px solid rgba(251,191,36,0.35);
  color: var(--secondary);
}

/* right visual */
.hero-right{ display:flex; flex-direction: column; gap: 12px; }

.hero-visual{
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(247,248,251,0.90);
  border-radius: 22px;
  padding: 16px;
  min-height: 240px;
  display:grid;
  gap: 12px;
  align-content: start;
}

.v-row{ display:flex; gap: 10px; }
.v-bar{ height: 12px; border-radius: 999px; background: rgba(37,99,235,0.20); }

.v-card{
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  display:grid;
  gap: 10px;
}

.v-line{ height: 10px; border-radius: 999px; background: rgba(15,23,42,0.10); }
.w90{ width: 90%; } .w70{ width: 70%; } .w60{ width: 60%; } .w45{ width: 45%; } .w40{ width: 40%; }

.v-chip{
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.16);
  font-weight: 900;
  color: var(--secondary);
}

.hero-badge{
  display:flex;
  gap: 10px;
  align-items:center;
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.80);
  color: var(--secondary);
  font-weight: 900;
}

.badge-icon{
  width: 32px;
  height: 32px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(37,99,235,0.14);
  color: var(--primary);
}

.hero{
  padding: 64px 0;
  background: #ffffff;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy{ max-width: 58ch; }

.hero-pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title{
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--secondary);
  font-weight: 900;
}

.hero-lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-bullets{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.hero-bullets li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--secondary);
  font-weight: 650;
}

.hero-check{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.15);
  color: #16a34a;
  font-weight: 900;
  flex: 0 0 22px;
  margin-top: 2px;
}

.hero-cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-arrow{ margin-left: 10px; }

.hero-media{
  position: relative;
  padding-bottom: 54px;
  border-radius: 22px;
  overflow: visible;
}

.hero-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.hero-img--placeholder{
  height: 420px;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(15,23,42,0.06));
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 22px;
}

.hero-card{
  position: absolute;
  left: 18px;
  bottom: -26px;
  width: min(420px, calc(100% - 36px));
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 18px;
  box-shadow: var(--shadow);
}

.hero-card-title{
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-card-text{
  color: var(--secondary);
  font-weight: 650;
}

.hero-figure__placeholder{
  position: relative;
}


@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .hero-media{ padding-bottom: 40px; }
}


/* blobs deaktiviert — entfernt für authentischeres Design */
.blob{ display: none; }

/* Trustbar */
.trustbar{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: var(--shadow-sm);
}

.trust-item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--secondary);
  font-weight: 700;
}

.trust-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.10);
}


/* =========================
   Services 
   ========================= */

.section-center{
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 34px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

/* Cards grid */
.svc-grid{
  margin-top: 26px;
}

/* Card base */
.svc-card{
  --svc: #2563eb;
  --svc-soft: rgba(37,99,235,0.10);
  --svc-border: rgba(37,99,235,0.30);

  position: relative;
  border-radius: 8px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border: 2px solid var(--svc-border);
  box-shadow: none;

  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.svc-card:hover{
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

/* Color variants */
.svc-card:nth-child(2){
  --svc: #16a34a;
  --svc-soft: rgba(22,163,74,0.10);
  --svc-border: rgba(22,163,74,0.30);
}
.svc-card:nth-child(3){
  --svc: #7c3aed;
  --svc-soft: rgba(124,58,237,0.10);
  --svc-border: rgba(124,58,237,0.30);
}

/* Icon tile */
.svc-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--svc-soft);
  border: 1px solid var(--svc-border);
  color: var(--svc);
  font-size: 22px;
  margin-bottom: 18px;
}

/* Text */
.svc-title{
  margin: 0;
  color: var(--secondary);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
}

.svc-label{
  color: var(--svc);
  font-weight: 800;
  margin: 6px 0 16px;
}

.svc-text{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  opacity: 0.92;
}

/* Features */
.svc-features{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}

.svc-features li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.6;
}

.svc-check{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--svc-border);
  color: var(--svc);
  font-weight: 900;
  flex: 0 0 22px;
  margin-top: 2px;
}

/* CTA button */
.svc-cta{
  margin-top: auto;
}

.svc-btn{
  display: block;
  text-align: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--svc-border);
  color: var(--svc);
  font-weight: 900;
  text-decoration: none;
  background: #fff;
  transition: transform .18s ease, background-color .18s ease;
}

.svc-btn:hover{
  background: var(--svc-soft);
  transform: translateY(-1px);
}


/* =========================
   Benefits
   ========================= */

.benefits-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.benefits-copy .pill{
  margin-bottom: 14px;
}

.benefits-items{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px 24px;
}

.benefit{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}

.benefit-ic{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--primary);
}

.benefit-title{
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 6px;
}

.benefit-text{
  color: var(--muted);
  line-height: 1.65;
  font-weight: 350;
}

/* media */
.benefits-media{
  position: relative;
  border-radius: 22px;
}

.benefits-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.12);
}

.benefits-img--placeholder{
  height: 420px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(15,23,42,0.06));
  border: 1px solid rgba(15,23,42,0.10);
}

/* overlay benefits-stats */
.benefits-stat{
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  width: 240px;
}

.benefits-stat--top{
  top: -14px;
  right: -14px;
}

.benefits-stat--bottom{
  left: -14px;
  bottom: -14px;
  background: rgba(37,99,235,1);
  border-color: rgba(37,99,235,0.65);
  color: #fff;
  width: 260px;
}

.stat-kicker{
  font-weight: 900;
  margin-bottom: 10px;
}

.stat-kicker--green{ color: #16a34a; }
.stat-kicker--blue{ color: rgba(255,255,255,0.92); }

.stat-value{
  font-weight: 950;
  color: var(--secondary);
  font-size: 22px;
  margin-bottom: 4px;
}

.stat-note{
  color: rgba(15,23,42,0.60);
  font-weight: 700;
}

.stat-row{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.stat-big{
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.stat-suffix{
  font-weight: 850;
  opacity: 0.92;
}

.stat-note--light{
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
}

/* responsive */
@media (max-width: 1100px){
  .benefits-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .benefits-items{ grid-template-columns: 1fr; }
  .benefits-stat--top, .benefits-stat--bottom{
    position: static;
    width: auto;
    margin-top: 14px;
  }
  .benefits-stat--bottom{
    background: rgba(37,99,235,1);
  }
}


/* ---------------------------
   STATS
---------------------------- */
.stats-grid{
  display:grid;
  gap: 12px;
}
@media(min-width: 860px){
  .stats-grid{ grid-template-columns: repeat(4, 1fr); }
}
.statbox{
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: var(--shadow-sm);
}

.statbox .value{
  font-family: Outfit, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary);
}

.statbox .label{
  color: var(--muted);
  margin-top: 6px;
  font-weight: 800;
}

.value {
  display: flex;
  flex-direction: column; /* stapelt Zahl + Suffix */
  line-height: 1;
}

.value-suffix {
  margin-top: 4px;        /* das ist deine “Leerzeile” */
  font-size: 0.75em;      /* optional kleiner */
  line-height: 1;
}


/* =========================
   Steps
   ========================= */

.steps-grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.step-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 18px 50px rgba(2,6,23,0.08);
  min-height: 100%;
}

/* connector line (between cards) */
.step-card:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 28px;
  height: 2px;
  background: rgba(37,99,235,0.18);
  transform: translateY(-50%);
}

/* number top-left */
.step-no{
  color: rgba(37,99,235,0.25);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* icon square */
.step-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.22);
  color: var(--primary);
  margin-bottom: 18px;
}

.step-title{
  margin: 0 0 12px;
  color: var(--secondary);
  font-weight: 900;
  font-size: 20px;
}

.step-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  opacity: 0.92;
}

/* responsive */
@media (max-width: 1100px){
  .steps-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card:not(:last-child)::after{ display: none; }
}
@media (max-width: 640px){
  .steps-grid{ grid-template-columns: 1fr; }
}

/* =========================
   CONTACT 
   ========================= */

:root{
  --om-text: #0f172a;
  --om-muted: rgba(15, 23, 42, 0.70);
  --om-border: rgba(15, 23, 42, 0.12);
  --om-border-strong: rgba(15, 23, 42, 0.16);
  --om-bg: #ffffff;
  --om-surface: #ffffff;
  --om-soft: #f6f8ff;
  --om-primary: #2563eb;
  --om-primary-strong: #1e40af;
  --om-ring: rgba(37, 99, 235, 0.20);
  --om-radius: 20px;
  --om-radius-sm: 14px;
  --om-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

/* Section spacing */
.om-contact{
  padding: 64px 0;
  background: var(--om-bg);
  color: var(--om-text);
}

.container{
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* GRID */
.om-contact__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* LEFT */
.om-contact__left{
  padding-top: 6px;
}

.om-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #1e40af;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}

.om-pill .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--om-primary);
  display: inline-block;
}

.om-contact__headline{
  margin: 18px 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.om-contact__intro{
  margin: 0 0 26px;
  color: var(--om-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
}

.om-contact__items{
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.om-contact-item{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.om-contact-item__icon{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e6edff;
  border: 1px solid rgba(37, 99, 235, 0.10);
  font-size: 22px;
}

.om-contact-item__body{
  padding-top: 2px;
}

.om-contact-item__title{
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.om-contact-item__link{
  color: var(--om-primary);
  font-weight: 700;
  text-decoration: none;
}

.om-contact-item__link:hover{
  color: var(--om-primary-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.om-contact-item__sub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.55);
}

/* RIGHT CARD */
.om-contact__right{
  background: var(--om-surface);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius);
  box-shadow: var(--om-shadow);
  padding: 28px;
}

.om-form__title{
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
  color: var(--om-text);
}

/* FORM GRID */
.om-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.om-form__group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.om-form__group--full{
  grid-column: 1 / -1;
}

.om-form label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.80);
}

.om-req{
  color: rgba(15, 23, 42, 0.55);
  font-weight: 800;
}

/* Inputs */
.om-form__input,
.om-form__textarea,
.om-form__select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--om-border-strong);
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}

.om-form__textarea{
  resize: vertical;
  min-height: 120px;
}

.om-form__input::placeholder,
.om-form__textarea::placeholder{
  color: rgba(15, 23, 42, 0.38);
}

.om-form__input:focus,
.om-form__textarea:focus,
.om-form__select:focus{
  border-color: var(--om-primary);
  box-shadow: 0 0 0 4px var(--om-ring);
}

/* Checkbox legal */
.om-form__legal{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding-top: 8px;
}

.om-form__legal input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--om-primary);
}

.om-form__legal label{
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.45;
}

/* Button */
.om-form__submit{
  margin-top: 18px;
}

.om-form__submit .btn-primary{
  width: 100%;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 16px;
  background: var(--om-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .15s ease;
}

.om-form__submit .btn-primary:hover{
  background: var(--om-primary-strong);
}

.om-form__submit .btn-primary:active{
  transform: translateY(1px);
}

/* =========================
   Responsive Contact
   ========================= */

@media (max-width: 1024px){
  .om-contact__grid{
    gap: 44px;
  }
}

@media (max-width: 860px){
  .om-contact{
    padding: 48px 0;
  }

  .om-contact__grid{
    grid-template-columns: 1fr;
  }

  .om-contact__right{
    padding: 22px;
  }
}

@media (max-width: 560px){
  .container{
    width: min(1120px, calc(100% - 28px));
  }

  .om-form__row{
    grid-template-columns: 1fr;
  }

  .om-form__group--full{
    grid-column: auto;
  }

  .om-contact-item{
    grid-template-columns: 48px 1fr;
  }
}


/* =========================
   CMS NAV + FOOTER (Settings Links)
   ========================= */

/* Active / current page link */
.btn--active{
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.22);
  color: var(--primary);
}

/* ── Nav Breakpoints ──────────────────────── */
/* Ab 769px → Desktop-Nav sichtbar, Hamburger weg */
@media (min-width: 769px){
  .om-nav__mobile{
    display: none !important;
  }
}

/* Bis 768px → Hamburger sichtbar, Desktop-Nav weg */
@media (max-width: 768px){
  .om-nav__links{
    display: none;
  }
  .om-nav__burger{
    display: flex;
  }
  .om-nav__inner{
    padding: 0 16px;
  }
}

/* ---------------------------
   FOOTER (CMS Links)
---------------------------- */
.footer{
  margin-top: 56px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  color: var(--secondary);
}

/* rechter Block: Links + Copyright */
.footer-copy{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  justify-content:flex-end;
  color: var(--muted);
  font-weight: 750;
}

/* Footer-Link Style (premium text-link) */
.footer-copy a{
  color: var(--muted);
  font-weight: 850;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.footer-copy a:hover{
  color: var(--secondary);
  background: rgba(15,23,42,0.03);
  border-color: rgba(15,23,42,0.08);
  transform: translateY(-1px);
}

.footer-copy a:active{
  transform: translateY(0);
}

.footer-year{ opacity:.7; }


/* Responsive Footer */
@media (max-width: 820px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copy{
    justify-content: flex-start;
  }
}

/* ---------------------------
   REVEAL (keine Funktion kaputt)
---------------------------- */
.reveal{
  transition: opacity .5s ease;
}
.js .reveal[data-reveal="1"]{
  opacity: 0;
}
.js .reveal[data-reveal="1"].in{
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal[data-reveal="1"]{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------------------------
   RESPONSIVE
---------------------------- */

@media (max-width: 640px){
  /* 1) Nur horizontal begrenzen – kein seitlicher Overflow */
  section.hero,
  .hero{
    overflow-x: hidden;
    overflow-y: visible;
  }

  /* 2) Grid/Flex-Kinder dürfen schrumpfen (wichtig!) */
  .hero-grid > *,
  .hero-shell > *,
  .hero-inner,
  .hero-copy,
  .hero-left,
  .hero-media{
    min-width: 0;
  }

  /* 3) Text darf immer umbrechen statt abgeschnitten zu werden */
  .hero-title,
  .hero-lead,
  .hero-kicker,
  .hero-pill,
  .hero-usps li,
  .hero-bullets li,
  .hero-note{
    overflow-wrap: anywhere;  /* bricht auch lange Wörter/URLs */
    word-break: break-word;
  }

  /* 4) Falls irgendwo nowrap gesetzt ist (Pills/Badges sind oft culprit) */
  .hero-kicker,
  .hero-pill{
    white-space: normal;
  }
}

@media (max-width: 640px){
  .container{ padding: 1px }
  .hero { padding: 32px 0px 64px 0px; }
  .om-nav__inner{ padding: 0 16px; }
  .om-nav__logo-text{ font-size: 14px; }
  .om-nav__mobile{ padding: 12px 16px 18px; }
  .footer-inner{ flex-direction: column; align-items: flex-start; }
  .hero-inner{ padding: 18px; }
  .grid-hero{ grid-template-columns: 1fr !important; }
    .hero-copy{
    margin: 0 auto;
    text-align: center;
    max-width: 520px;
  }
  .hero-pill{
    margin-left: auto;
    margin-right: auto;
  }
  .hero-bullets{
    justify-items: center;
  }
  .hero-bullets li{
    justify-content: center;
    text-align: left;
  }
  .hero-cta{
    justify-content: center;
  }
  .hero-cta .btn{
    width: 100%;
  }
  .hero-cta .btn{ width: 100%; }

  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr !important; }
 .hide-mobile{ display: none !important; }

 
}


@media (min-width: 641px) and (max-width: 980px){
  .grid-3{ grid-template-columns: repeat(2, 1fr) !important; }
  .grid-4{ grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Services v2 (premium, clean) --- */
.service2{
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: none;
  padding: 20px;
  display:flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.service2:hover{
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.service2.is-accent{
  border-left: 3px solid var(--primary);
  background: #f8fafc;
}

.service2-top{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--secondary);
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.08);
}

.chip-accent{
  background: rgba(37,99,235,0.10);
  border-color: rgba(37,99,235,0.18);
}

.service2-title{
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.service2-text{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service2-features{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display:grid;
  gap: 10px;
}

.service2-features li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
  color: var(--secondary);
  font-weight: 750;
}

.service2-features .tick{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display:inline-grid;
  place-items:center;
  background: rgba(37,99,235,0.12);
  color: var(--primary);
  font-weight: 900;
  flex: 0 0 auto;
}

.service2-cta{
  margin-top: auto;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}


/* =========================
   ABOUT (Berater-Profil)
   ========================= */

.about-section{
  background: linear-gradient(180deg, #f0f5ff 0%, #f7f8fb 100%);
}

.about-grid{
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-pill-row{
  width: 100%;
}

/* Foto */
.about-media{
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 44px;
}

.about-photo{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(2,6,23,0.12);
}

.about-photo--placeholder{
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(15,23,42,0.06));
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 24px 70px rgba(2,6,23,0.10);
  display: grid;
  place-items: center;
}

.about-photo-icon{
  color: rgba(37,99,235,0.30);
}

/* Lizenz-Badge (overlay mittig unter dem Bild) */
.about-license-badge{
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
  font-weight: 900;
  color: var(--secondary);
  font-size: 14px;
}

.about-license-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.12);
  color: var(--primary);
  flex: 0 0 auto;
}

/* Text-Seite */
.about-copy{
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
  text-align: center;
}

.about-name{
  margin-bottom: 0 !important;
}

.about-role{
  color: var(--primary);
  font-weight: 800;
  margin: 0;
}

.about-bio{
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Badges */
.about-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  justify-content: center;
}

.about-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 4px 14px rgba(2,6,23,0.06);
  color: var(--secondary);
  font-weight: 800;
  font-size: 14px;
}

.about-badge-icon{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.10);
  color: var(--primary);
  flex: 0 0 auto;
}

.about-cta{
  margin-top: 6px;
}

@media (max-width: 860px){
  .about-grid{
    gap: 24px;
  }
  .about-photo,
  .about-photo--placeholder{
    max-height: 400px;
    aspect-ratio: auto;
  }
  .about-license-badge{
    bottom: -12px;
    max-width: calc(100% - 24px);
  }
}


/* =========================
   FAQ (Accordion)
   ========================= */

.faq-section{
  background: var(--white);
}

.faq-list{
  max-width: 760px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item{
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 4px 18px rgba(2,6,23,0.05);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open]{
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 8px 28px rgba(37,99,235,0.08);
}

.faq-summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker{ display: none; }

.faq-q{
  font-weight: 800;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.45;
}

.faq-chevron{
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform .25s ease;
}

.faq-item[open] .faq-chevron{
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer{
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.faq-answer p{ margin: 0; }


/* =========================
   RATGEBER INDEX
   ========================= */

.ratgeber-index-hero{
  padding: 72px 0 48px;
  background: #ffffff;
}

.ratgeber-index-hero-inner{
  max-width: 680px;
}

.ratgeber-index-title{
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.1;
  margin: 14px 0 14px;
  color: var(--secondary);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ratgeber-index-intro{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 56ch;
}

.ratgeber-index-section{
  padding-top: 48px;
  padding-bottom: 72px;
}

/* Grid */
.ratgeber-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 900px){
  .ratgeber-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .ratgeber-grid{ grid-template-columns: 1fr; }
}

/* Card */
.ratgeber-card{
  position: relative;       /* anchor for stretched link */
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  overflow: hidden;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

/* Stretched link — covers the entire card surface so the whole
   card is clickable, while keeping figcaption semantically
   outside the <a> element. */
.ratgeber-card-link{
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.ratgeber-card-link:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.ratgeber-card:hover{
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.ratgeber-card-img-wrap{
  overflow: visible;
}

.ratgeber-card-frame{
  overflow: hidden;
}

.ratgeber-card-img{
  display: block;
  width: 100%;
  height: auto;
  transition: transform .3s ease;
}

.ratgeber-card:hover .ratgeber-card-img{
  transform: scale(1.03);
}

.ratgeber-card-img--placeholder{
  width: 100%;
  height: 160px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  color: #94a3b8;
}

.ratgeber-card-body{
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.ratgeber-card-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ratgeber-card-category{
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
}

.ratgeber-card-time{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.ratgeber-card-title{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--secondary);
  margin: 0;
  letter-spacing: -0.02em;
}

.ratgeber-card-intro{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.ratgeber-card-cta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.ratgeber-empty{
  text-align: center;
  padding: 64px 0;
  color: var(--muted);
}

.ratgeber-card--hidden{
  display: none;
}

/* Fade-Wrapper um das Grid */
.ratgeber-grid-wrap{
  position: relative;
}

.ratgeber-grid-wrap--fading::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg, #f7f8fb) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Einblend-Animation für neu geladene Karten */
@keyframes ratgeberCardReveal{
  from{ opacity: 0; }
  to  { opacity: 1; }
}

.ratgeber-card--reveal{
  animation: ratgeberCardReveal .3s ease both;
}

.ratgeber-scroll-sentinel{
  height: 1px;
}


/* =========================
   RATGEBER ARTIKEL
   ========================= */

.ratgeber-article-header{
  padding: 56px 0 40px;
  background: #ffffff;
}

.ratgeber-article-header-inner{
  max-width: 760px;
}

.ratgeber-breadcrumb{
  margin-bottom: 20px;
}

.ratgeber-breadcrumb a{
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(37,99,235,0.08);
  transition: background .15s ease;
}

.ratgeber-breadcrumb a:hover{
  background: rgba(37,99,235,0.14);
}

.ratgeber-article-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ratgeber-article-title{
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--secondary);
  margin: 0 0 16px;
}

.ratgeber-article-intro{
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 64ch;
}

/* Autor Chip */
.ratgeber-article-author{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 4px 14px rgba(2,6,23,0.06);
}

.ratgeber-author-avatar{
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  flex: 0 0 auto;
}

.ratgeber-author-name{
  font-weight: 900;
  color: var(--secondary);
  font-size: 14px;
}

.ratgeber-author-role{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

/* Cover Bild */
.ratgeber-cover{
  padding: 0 0 40px;
}

.ratgeber-cover-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  max-height: 480px;
  object-fit: cover;
  box-shadow: 0 18px 60px rgba(2,6,23,0.10);
}

.ratgeber-cover-img--placeholder{
  width: 100%;
  height: 360px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(15,23,42,0.06));
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 18px 60px rgba(2,6,23,0.08);
}

/* Body */
.ratgeber-body{
  padding: 16px 0 40px;
}

.ratgeber-body-inner{
  max-width: 720px;
  margin: 0 auto;
}

/* Text-Blöcke im Artikel */
.ratgeber-body-inner h2{
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  color: var(--secondary);
  margin: 36px 0 12px;
  letter-spacing: -0.025em;
}

.ratgeber-body-inner h3{
  font-size: 19px;
  font-weight: 800;
  color: var(--secondary);
  margin: 28px 0 10px;
}

.ratgeber-body-inner p,
.ratgeber-body-inner li{
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.ratgeber-body-inner ul,
.ratgeber-body-inner ol{
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

/* CTA am Artikelende */
.ratgeber-article-cta{
  padding: 0 0 32px;
}

.ratgeber-cta-card{
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ratgeber-cta-headline{
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 4px;
}

.ratgeber-cta-sub{
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  margin: 0;
}

.ratgeber-cta-card .btn-primary{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  white-space: nowrap;
}

.ratgeber-cta-card .btn-primary:hover{
  background: rgba(255,255,255,0.28);
}

/* Back Link */
.ratgeber-back{
  padding-bottom: 56px;
}

.ratgeber-back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}

.ratgeber-back-link:hover{
  color: var(--secondary);
  background: rgba(15,23,42,0.04);
}

@media (max-width: 860px){
  .ratgeber-cta-card{
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Ratgeber-Detailseite  (rg-*)
   Mapping: --primary=#2563eb, --text=#0f172a, --muted=#475569,
            --bg=#f7f8fb, --white=#fff, --border=rgba(15,23,42,.10)
   ══════════════════════════════════════════════════════════════════ */

/* ── Quick Links ────────────────────────────────────────────────── */
.rg-quick-links{
  padding: 20px 0 10px;
}

.rg-quick-links__list{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rg-quick-links__item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}

.rg-quick-links__item:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.24);
  box-shadow: 0 14px 28px rgba(2,6,23,.08);
  color: var(--primary);
}

.rg-quick-links__item--cta{
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

.rg-quick-links__item--cta:hover{
  color: #fff;
  box-shadow: 0 16px 30px rgba(37,99,235,.22);
}

.rg-quick-links__badge{
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(5,150,105,.12);
  color: #047857;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rg-quick-links__item--cta .rg-quick-links__badge{
  background: rgba(255,255,255,.16);
  color: #fff;
}

/* ── Kategorie-Navigationsleiste ────────────────────────────────── */
.rg-catbar{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 4px;
  scrollbar-width: none;
}
.rg-catbar::-webkit-scrollbar{ height: 0; }
.rg-catbar a{
  display: inline-block;
  padding: 12px 16px;
  font-size: .875rem; font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.rg-catbar a:hover{ color: var(--primary); border-bottom-color: rgba(37,99,235,0.40); }
.rg-catbar a.active{ color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }

@media (min-width: 769px){
  .rg-catbar{
    padding: 0 32px;
  }
}

.rg-category-dropdown{
  display: none;
  padding: 12px 16px 0;
}

.rg-category-dropdown__details{
  position: relative;
}

.rg-category-dropdown__details[open]{
  z-index: 140;
}

.rg-category-dropdown__toggle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 2px solid rgba(37,99,235,.95);
  background: var(--white);
  color: var(--text);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
}

.rg-category-dropdown__toggle::-webkit-details-marker{
  display: none;
}

.rg-category-dropdown__icon{
  flex-shrink: 0;
  color: var(--primary);
  transition: transform .18s ease;
}

.rg-category-dropdown__details[open] .rg-category-dropdown__icon{
  transform: rotate(180deg);
}

.rg-category-dropdown__menu{
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(100%, 320px);
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(95,101,111,.98), rgba(67,71,79,.98));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 40px rgba(2,6,23,.26);
}

.rg-category-dropdown__item{
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
}

.rg-category-dropdown__item:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

.rg-category-dropdown__item.is-active{
  color: #fff;
}

.rg-category-dropdown__check{
  opacity: 0;
  font-size: .9rem;
  font-weight: 700;
}

.rg-category-dropdown__item.is-active .rg-category-dropdown__check{
  opacity: 1;
}

/* ── 3-Spalten-Grid ─────────────────────────────────────────────── */
.rg-wrap{
  --rg-sidebar-w: 260px;
  --rg-toc-w: 240px;
  --rg-nav-h: var(--nav-height);
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--rg-sidebar-w) 1fr var(--rg-toc-w);
  grid-template-areas: "left main right";
  align-items: start;
}

/* ── Linke Sidebar ──────────────────────────────────────────────── */
.rg-sidebar-left{
  grid-area: left;
  position: sticky;
  top: var(--rg-nav-h);
  height: calc(100vh - var(--rg-nav-h));
  overflow-y: auto;
  padding: 24px 12px;
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.rg-sidebar-header{ display: none; }
.rg-sidebar-close{ display: none; }
.rg-sidebar-eyebrow{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.rg-sidebar-heading{
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.rg-sidenav-section{ margin-bottom: 24px; }
.rg-sidenav-title{
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 8px; margin-bottom: 8px;
}
.rg-sidenav-section ul{ list-style: none; padding: 0; margin: 0; }
.rg-sidenav-section ul li a{
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: 8px;
  font-size: .85rem; color: var(--text);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.rg-sidenav-section ul li a:hover{
  background: rgba(15,23,42,.04);
}
.rg-sidenav-section ul li a.active{
  background: rgba(37,99,235,.08);
  color: var(--primary);
  font-weight: 600;
}
.rg-sidenav-section ul li a svg{ flex-shrink: 0; opacity: .45; }
.rg-sidenav-empty{ font-size: .85rem; color: var(--muted); padding: 8px; }

/* ── Hauptinhalt ────────────────────────────────────────────────── */
.rg-main{
  grid-area: main;
  padding: 32px 44px;
  min-width: 0;
}

/* Breadcrumb */
.rg-breadcrumb{
  display: flex; gap: 6px; align-items: center;
  font-size: .8rem; color: var(--muted); margin-bottom: 20px;
  flex-wrap: wrap;
}
.rg-breadcrumb a{ color: var(--muted); text-decoration: none; }
.rg-breadcrumb a:hover{ color: var(--primary); text-decoration: underline; }
.rg-breadcrumb span[aria-hidden]{ color: var(--border-strong); }

/* Mobile-Menu-Button (versteckt auf Desktop) */
.rg-menu-btn{
  display: none;
  align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  min-height: 44px;
}
.rg-menu-btn--secondary{
  background: rgba(37,99,235,.06);
  color: var(--primary);
  border-color: rgba(37,99,235,.14);
}

.rg-mobile-tools{
  display: none;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,248,251,.92));
  box-shadow: var(--shadow-sm);
}

.rg-mobile-tools__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 700;
}

.rg-mobile-tools__link::after{
  content: "›";
  font-size: .95rem;
}

.rg-mobile-tools__actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Artikel-Header */
.rg-article-header{ margin-bottom: 24px; }
.rg-tag{
  display: inline-block; padding: 3px 8px;
  background: #eff6ff; color: var(--primary);
  border: 1px solid #bfdbfe;
  border-radius: 4px; font-size: .75rem; font-weight: 600;
  margin-bottom: 12px;
}
.rg-article-title{
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.25;
  color: var(--text); margin-bottom: 12px;
}
.rg-article-lead{
  font-size: 1.05rem; color: var(--muted); line-height: 1.6;
  max-width: 640px; margin-bottom: 14px;
}
.rg-article-meta{
  display: flex; gap: 10px; align-items: center;
  font-size: .8rem; color: var(--muted); flex-wrap: wrap;
}
.rg-meta-dot{ color: var(--border-strong); }

.rg-divider{ border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* Cover */
.rg-cover{ margin-bottom: 28px; }
.rg-cover img,
.rg-cover-img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.rg-cover .om-image-source{
  margin-top: 12px;
}

.ratgeber-card-figure .om-image-source{
  padding: 10px 16px 0;
}

/* Prose-Inhalte (StreamField) */
.rg-prose{ line-height: 1.7; color: var(--text); }
.rg-prose h2{
  font-size: 1.35rem; font-weight: 700;
  margin: 36px 0 14px; color: var(--text);
  scroll-margin-top: calc(var(--rg-nav-h) + 20px);
}
.rg-prose h3{
  font-size: 1.05rem; font-weight: 600;
  margin: 24px 0 10px; color: var(--text);
  scroll-margin-top: calc(var(--rg-nav-h) + 20px);
}
.rg-prose p{ margin-bottom: 16px; max-width: 70ch; }
.rg-prose ul, .rg-prose ol{ padding-left: 20px; margin-bottom: 16px; }
.rg-prose li{ margin-bottom: 6px; }
.rg-prose strong{ font-weight: 700; }
.rg-prose a{ color: var(--primary); }
.rg-prose a:hover{ text-decoration: underline; }
.rg-prose a.btn{ color: var(--secondary); text-decoration: none; }
.rg-prose a.btn-primary,
.rg-prose a.btn-primary:hover{ color: #fff; }
.rg-sources-block{
  margin: 28px 0;
  max-width: 70ch;
}

.om-sources{
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
}

.om-sources__title{
  margin: 0 0 10px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.om-sources__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.om-sources__item{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.om-sources__item a{
  color: var(--primary);
  font-weight: 700;
}

.om-sources__note{
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: .82rem;
}

/* CTA-Karte */
.rg-cta-card{
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  background: linear-gradient(135deg, #1e40af 0%, var(--primary) 100%);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 40px 0 32px;
}
.rg-cta-headline{
  font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.rg-cta-sub{ font-size: .875rem; color: rgba(255,255,255,.8); }
.rg-cta-card .btn-primary{
  white-space: nowrap; flex-shrink: 0;
  background: #fff; color: var(--primary); font-weight: 700;
}
.rg-cta-card .btn-primary:hover{ background: rgba(255,255,255,.9); }

/* Verwandte Artikel */
.rg-related{ margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.rg-related-title{
  font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 18px;
}
.rg-related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .rg-related-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .rg-related-grid{
    grid-template-columns: 1fr;
  }
}
.rg-related-card{
  display: block;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}
.rg-related-card:hover{
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37,99,235,.10);
}
.rg-related-tag{
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--primary); margin-bottom: 7px;
}
.rg-related-name{
  font-size: .875rem; font-weight: 600; color: var(--text);
  line-height: 1.4; margin-bottom: 7px;
}
.rg-related-desc{ font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* Zurück-Link */
.rg-back{ margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.rg-back-link{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.rg-back-link:hover{ color: var(--text); background: rgba(15,23,42,.04); }

/* ── Rechte Sidebar: TOC ────────────────────────────────────────── */
.rg-sidebar-right{
  grid-area: right;
  position: sticky;
  top: calc(var(--rg-nav-h) + 24px);
  padding: 24px 16px;
  max-height: calc(100vh - var(--rg-nav-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* Lesefortschrittsbalken */
.rg-progress-wrap{
  height: 3px; background: var(--border); border-radius: 2px;
  margin-bottom: 16px; overflow: hidden;
}
.rg-progress-fill{
  height: 100%; width: 0%; background: var(--primary);
  border-radius: 2px; transition: width .1s;
}

/* TOC */
.rg-toc-title, .rg-toc-also-title{
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.rg-toc ul, .rg-toc-also ul{ list-style: none; padding: 0; margin: 0; }
.rg-toc ul li{ margin-bottom: 3px; }
.rg-toc ul li a{
  display: block; font-size: .8rem; color: var(--muted);
  padding: 4px 0 4px 12px; border-left: 2px solid var(--border);
  text-decoration: none; transition: color .12s, border-color .12s;
  line-height: 1.4;
}
.rg-toc ul li a:hover,
.rg-toc ul li a.active{
  color: var(--primary); border-left-color: var(--primary);
}
.rg-toc ul li.rg-toc-h3 a{ padding-left: 22px; font-size: .75rem; }

.rg-toc-also{ margin-top: 24px; }
.rg-toc-also ul li{ margin-bottom: 5px; }
.rg-toc-also ul li a{
  font-size: .8rem; color: var(--muted);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.rg-toc-also ul li a::before{
  content: "›"; font-size: .85rem; color: var(--primary);
}
.rg-toc-also ul li a:hover{ color: var(--primary); }

/* ── Mobile Overlay ─────────────────────────────────────────────── */
.rg-overlay{
  display: none;
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}
.rg-overlay.open{ display: block; }

.rg-mobile-sheet{
  display: none;
}

.rg-mobile-sheet__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.rg-mobile-sheet__eyebrow{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.rg-mobile-sheet__title{
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.rg-mobile-sheet__close{
  border: none;
  background: rgba(15,23,42,.06);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}

.rg-mobile-sheet__body ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Responsive: 2 Spalten (≤ 1100px) ──────────────────────────── */
@media (max-width: 1100px){
  .rg-wrap{
    grid-template-columns: var(--rg-sidebar-w) 1fr;
    grid-template-areas: "left main";
  }
  .rg-sidebar-right{ display: none; }
  .rg-main{ padding: 24px 28px; }
}

/* ── Responsive: 1 Spalte (≤ 768px) ────────────────────────────── */
@media (max-width: 768px){
  .rg-quick-links{
    padding: 16px 0 6px;
  }
  .rg-quick-links__list{
    display: grid;
    grid-template-columns: 1fr;
  }
  .rg-catbar--index{
    display: none;
  }
  .rg-category-dropdown--index{
    display: block;
  }
  .rg-catbar--detail{
    display: none;
  }
  .rg-category-dropdown--detail{
    display: block;
    padding: 10px 12px 0;
  }
  .rg-wrap{
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }
  .rg-sidebar-left{
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    height: auto;
    max-height: min(78vh, 640px);
    z-index: 95;
    background: var(--white);
    box-shadow: 0 -18px 40px rgba(0,0,0,.18);
    border-radius: 22px 22px 0 0;
    border-right: none;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    transform: translateY(105%);
    transition: transform .24s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .rg-sidebar-left.open{
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .rg-sidebar-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  .rg-sidebar-close{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(15,23,42,.06);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
  }
  .rg-mobile-sheet{
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: var(--white);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 40px rgba(0,0,0,.18);
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    max-height: min(78vh, 640px);
    overflow-y: auto;
    transform: translateY(105%);
    transition: transform .24s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .rg-mobile-sheet.open{
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .rg-mobile-toc a{
    display: block;
    font-size: .92rem;
    color: var(--text);
    padding: 10px 0 10px 12px;
    border-left: 2px solid var(--border);
    text-decoration: none;
    line-height: 1.45;
  }
  .rg-mobile-toc li + li a{
    border-top: 1px solid rgba(15,23,42,.06);
  }
  .rg-mobile-toc .rg-toc-h3 a{
    padding-left: 22px;
    font-size: .86rem;
    color: var(--muted);
  }
  .rg-mobile-toc a.active{
    color: var(--primary);
    border-left-color: var(--primary);
  }
  .rg-mobile-tools{ display: block; }
  .rg-menu-btn{ display: inline-flex; justify-content: center; }
  .rg-main{ padding: 16px; }
  .rg-article-title{ font-size: 1.5rem; }
  .rg-cta-card{
    flex-direction: column; align-items: flex-start;
    padding: 22px;
  }
}

/* ---------------------------
   DARLEHENSARTEN
---------------------------- */
.loan-index-hero{
  padding: 38px 0 28px;
}

.loan-index-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: stretch;
}

.loan-index-hero__copy,
.loan-index-hero__aside{
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
  box-shadow: var(--shadow-sm);
}

.loan-index-hero__copy{
  padding: 34px;
}

.loan-index-hero__title{
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 14px 0 16px;
}

.loan-index-hero__intro{
  max-width: 62ch;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.7;
}

.loan-index-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.loan-index-hero__aside{
  display: grid;
  gap: 16px;
  padding: 24px;
  align-content: center;
}

.loan-index-hero__stat{
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(14,165,233,.08));
  border: 1px solid rgba(37,99,235,.1);
}

.loan-index-hero__stat-label{
  display: block;
  margin-bottom: 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

.loan-index-hero__stat strong{
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.loan-index-hero__stat p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.loan-index-section-head{
  max-width: 780px;
  margin-bottom: 22px;
}

.loan-index-section-head h2{
  margin: 12px 0 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.loan-index-section-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.loan-index-compare{
  padding: 18px 0 10px;
}

.loan-index-table-wrap{
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.loan-index-table{
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.loan-index-table th,
.loan-index-table td{
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.loan-index-table thead th{
  background: rgba(37,99,235,.05);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}

.loan-index-table thead th a{
  color: var(--text);
  text-decoration: none;
}

.loan-index-table thead th a:hover{
  color: var(--primary);
}

.loan-index-table tbody th{
  width: 190px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}

.loan-index-table tbody td{
  font-size: .92rem;
  line-height: 1.55;
}

.loan-index-table tr:last-child th,
.loan-index-table tr:last-child td{
  border-bottom: none;
}

.loan-index-cards{
  padding-top: 26px;
}

.loan-card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.loan-card{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.loan-card:hover{
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.24);
  box-shadow: 0 18px 30px rgba(15,23,42,.09);
}

.loan-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.loan-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.loan-card__badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,.12);
  color: #b45309;
  font-size: .72rem;
  font-weight: 800;
}

.loan-card__title{
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.loan-card__summary{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.loan-card__diagram{
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248,250,252,.98), rgba(241,245,249,.94));
  border: 1px solid rgba(148,163,184,.2);
}

.loan-card__diagram img{
  display: block;
  width: 100%;
  height: 124px;
  object-fit: contain;
}

.loan-card__facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.loan-card__facts div{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.03);
}

.loan-card__facts dt{
  margin-bottom: 6px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.loan-card__facts dd{
  margin: 0;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
}

.loan-card__cta{
  margin-top: auto;
  font-weight: 700;
  color: var(--primary);
}

.loan-index-cta{
  padding: 16px 0 72px;
}

.loan-index-cta__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #fff;
}

.loan-index-cta__inner h2{
  margin: 10px 0 10px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.loan-index-cta__inner p{
  max-width: 64ch;
  margin: 0;
  color: rgba(255,255,255,.8);
}

.pill--light{
  background: rgba(255,255,255,.14);
  color: #fff;
}

.loan-stage{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  gap: 22px;
  margin-bottom: 32px;
}

.loan-stage__copy{
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
}

.loan-stage__copy h2{
  margin-top: 0;
}

.loan-stage__stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.loan-stage__stats div{
  padding: 14px;
  border-radius: 14px;
  background: rgba(37,99,235,.05);
}

.loan-stage__stats dt{
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.loan-stage__stats dd{
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.loan-stage__diagram{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,245,249,.94));
  box-shadow: var(--shadow-sm);
}

.loan-stage__diagram img{
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
}

.loan-example,
.loan-personas,
.loan-pros-cons,
.loan-deep-dive{
  margin-top: 34px;
}

.loan-example__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.loan-example__card{
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
}

.loan-example__card span{
  display: block;
  margin-bottom: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.loan-example__card strong{
  font-size: 1.12rem;
  line-height: 1.3;
}

.loan-personas__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.loan-persona-card{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,251,.94));
}

.loan-persona-card h3{
  margin-top: 0;
}

.loan-pros-cons__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.loan-pros-cons__card{
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.loan-pros-cons__card--pro{
  background: linear-gradient(180deg, rgba(236,253,245,.98), rgba(220,252,231,.9));
  border-color: rgba(22,163,74,.12);
}

.loan-pros-cons__card--con{
  background: linear-gradient(180deg, rgba(255,251,235,.98), rgba(254,243,199,.92));
  border-color: rgba(217,119,6,.12);
}

.loan-pros-cons__card h3{
  margin-top: 0;
}

.loan-deep-dive__card{
  display: block;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(37,99,235,.14);
  background: linear-gradient(135deg, rgba(219,234,254,.55), rgba(224,242,254,.75));
  text-decoration: none;
  color: inherit;
}

.loan-deep-dive__pill{
  display: inline-flex;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 600;
}

.loan-deep-dive__card h3{
  margin: 0 0 10px;
}

.loan-deep-dive__card p{
  margin-bottom: 12px;
  color: var(--muted);
}

.loan-deep-dive__card span{
  font-weight: 700;
  color: var(--primary);
}

.loan-faq-section{
  margin-top: 36px;
}

.loan-faq-section h2{
  margin-bottom: 18px;
}

@media (max-width: 1100px){
  .loan-index-hero__inner,
  .loan-stage{
    grid-template-columns: 1fr;
  }

  .loan-example__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .loan-index-hero{
    padding-top: 20px;
  }

  .loan-index-hero__copy,
  .loan-index-hero__aside,
  .loan-index-cta__inner{
    padding: 22px;
  }

  .loan-card__facts,
  .loan-stage__stats,
  .loan-example__grid,
  .loan-pros-cons__grid{
    grid-template-columns: 1fr;
  }

  .loan-index-table{
    min-width: 720px;
  }

  .loan-index-cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .loan-stage__copy,
  .loan-stage__diagram{
    padding: 18px;
  }
}

/* ---------------------------
   KAUFEN ODER MIETEN
---------------------------- */
.om-km-page{
  padding-top: 32px;
  padding-bottom: 72px;
  display: grid;
  gap: 40px;
  align-content: start;
}

.om-km-hero{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
}

.om-km-hero__copy,
.om-km-hero__facts{
  display: grid;
  gap: 18px;
}

.om-km-title{
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.om-km-section-head{
  margin-bottom: 18px;
}

.om-km-fact-card,
.om-km-metric-card,
.om-km-program-box,
.om-km-comparison-card,
.om-km-timeline-card,
.om-km-wealth-card{
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.88);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(15,23,42,0.06);
}

.om-km-fact-card{
  padding: 22px;
}

.om-km-fact-card__label,
.om-km-panel-label{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  background: rgba(15,23,42,0.05);
  border-radius: 999px;
  padding: 7px 11px;
}

.om-km-fact-card__value{
  display: block;
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: #10214d;
}

.om-km-fact-card__text,
.om-km-program-box p,
.om-km-metric-card p{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.om-km-map-card{}

.om-km-map{
  width: 100%;
  height: 100%;
  min-height: 520px;
  aspect-ratio: 1.45 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 34%),
    linear-gradient(180deg, rgba(239,246,255,0.95), rgba(255,255,255,0.98));
}

.om-de-map{
  position: relative;
}

.om-de-map__svg{
  display: block;
  width: 100%;
  height: 100%;
}

.om-de-map__states,
.om-de-map__cities,
.om-de-map__labels{
  isolation: isolate;
}

.om-de-map__state{
  fill: rgba(219, 234, 254, 0.92);
  stroke: rgba(37, 99, 235, 0.45);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  transition: fill .18s ease, stroke .18s ease, filter .18s ease;
}

.om-de-map__state--active{
  fill: rgba(191, 219, 254, 1);
}

.om-de-map__state[role="link"]{
  cursor: pointer;
}

.om-de-map__state[role="link"]:hover,
.om-de-map__state[role="link"]:focus-visible{
  fill: rgba(191, 219, 254, 1);
  stroke: rgba(30, 64, 175, 0.52);
  filter: drop-shadow(0 6px 12px rgba(37,99,235,0.16));
  outline: none;
}

.om-de-map__labels{
  pointer-events: none;
}

.om-de-map__state-label{
  fill: rgba(30, 58, 138, 0.92);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.72);
}

.om-de-map__state-label--compact{
  font-size: 10px;
}

.om-de-map__state-label--large{
  font-size: 12.5px;
}

.om-de-map__city{
  cursor: pointer;
  outline: none;
}

.om-de-map__city-halo{
  fill: var(--city-color, var(--primary));
  opacity: 0.18;
}

.om-de-map__city-dot{
  fill: var(--city-color, var(--primary));
  stroke: #ffffff;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
  transition: transform .18s ease, stroke-width .18s ease, filter .18s ease;
}

.om-de-map__city:hover .om-de-map__city-dot,
.om-de-map__city:focus-visible .om-de-map__city-dot{
  stroke-width: 2.4;
  filter: drop-shadow(0 4px 10px rgba(15,23,42,0.24));
}

.om-km-map-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.om-km-map-legend__item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.om-km-map-legend__dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--dot-color, var(--primary));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--dot-color, var(--primary)) 14%, transparent);
}

.om-km-map-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.om-km-map-aside{
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
}

.om-km-map-aside__legend{
  display: grid;
  gap: 10px;
}

.om-km-map-aside__badge{
  margin-top: 0;
}

.om-km-map-aside__hint{
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.om-km-states,
.om-km-snapshots{}

.om-km-deutschland-section{
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.om-km-deutschland-section .om-km-section-head{
  margin-bottom: 0;
}

.om-km-deutschland-grid{
  align-items: stretch;
}

.om-km-state-grid,
.om-km-snapshot-grid{
  align-items: stretch;
}

.om-km-state-card,
.om-km-snapshot-card{
  display: grid;
  gap: 14px;
  height: 100%;
}

.om-km-state-card__eyebrow,
.om-km-snapshot-card__state,
.om-km-city-detail__eyebrow{
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.02em;
}

.om-km-state-card__title,
.om-km-snapshot-card__title{
  font-size: 24px;
}

.om-km-state-card__meta{
  font-weight: 700;
  color: var(--secondary);
}

.om-km-state-card__text,
.om-km-snapshot-card dd,
.om-km-empty-state h3 + p{
  color: var(--muted);
  line-height: 1.65;
}

.om-km-state-card__cta,
.om-km-inline-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #1e3a8a;
}

.om-km-inline-link::after,
.om-km-state-card__cta::after{
  content: "→";
}

.om-km-snapshot-card__top{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.om-km-ratio-badge,
.om-km-city-detail__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
  color: #10214d;
  background: color-mix(in srgb, var(--badge-color, #eab308) 18%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--badge-color, #eab308) 45%, #ffffff);
}

.om-km-ratio-hint{
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.om-km-snapshot-stats{
  display: grid;
  gap: 12px;
  margin: 0;
}

.om-km-snapshot-stats div{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.om-km-snapshot-stats dt{
  color: var(--muted);
}

.om-km-snapshot-stats dd{
  margin: 0;
  font-weight: 800;
  color: var(--secondary);
}

.om-km-empty-state{
  grid-column: 1 / -1;
}

.om-de-map .om-km-empty-state{
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(238,245,255,0.8), rgba(255,255,255,0.92));
}

.om-disclaimer,
.om-km-disclaimer{
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.om-disclaimer a,
.om-km-disclaimer a{
  color: #1e3a8a;
  font-weight: 700;
}

.data-source{
  margin-top: 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.data-source a{
  color: #1e3a8a;
  font-weight: 700;
}

.om-km-backlink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e3a8a;
  font-weight: 800;
}

/* ---- ChartBlock ---- */
.om-chart-block {
  padding: var(--section-pad, 3rem) 0;
}

.om-chart-block__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.om-chart-block__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--heading-color, #0f172a);
}

.om-chart-block__canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.om-chart-block__table-wrap {
  overflow-x: auto;
  margin: 0 auto 1rem;
  max-width: 640px;
}

.om-chart-block__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.om-chart-block__table th,
.om-chart-block__table td {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border, #e2e8f0);
  text-align: left;
}

.om-chart-block__table th {
  background: var(--surface-subtle, #f8fafc);
  font-weight: 600;
}

.om-chart-block__table tr:nth-child(even) td {
  background: var(--surface-subtle, #f8fafc);
}

.om-chart-block__caption {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.75rem;
}

.om-km-bundesland-info{}

.om-km-city-nav{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 28px;
}

.om-km-city-nav__pill{
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(37,99,235,0.18);
  transition: background 0.15s;
}

.om-km-city-nav__pill:hover{
  background: rgba(37,99,235,0.15);
}

.om-km-bundesland-info__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.om-km-program-box{
  padding: 22px;
  align-content: start;
}

.om-km-sources{
  margin-top: 14px;
}

.om-km-deutschland-section .om-km-sources{
  margin-top: 0;
}

.om-km-faq-preview{
  max-width: 920px;
  display: grid;
  gap: 12px;
}

.om-km-faq-preview h3{
  margin: 0 0 12px;
}

.om-km-faq-preview .faq-item{
  margin: 0;
}

.om-km-faq-preview .faq-item summary{
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.5;
}

.om-km-faq-preview .faq-item[open] summary{
  padding-bottom: 10px;
}

.om-km-faq-preview .faq-item p{
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.om-km-faq-preview--section{}

.om-km-internal-link{
  margin-top: 18px;
  margin-bottom: 0;
}

.om-km-internal-link a{
  color: var(--primary);
  font-weight: 700;
}

.om-km-program-box__label{
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.om-km-program-box__title{
  display: block;
  color: #10214d;
  font-size: 26px;
}

.om-km-city-detail{}

.om-km-mid-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 22px 28px;
}

.om-km-mid-cta__text{
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  margin: 0;
}

.om-km-city-detail__header{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.om-km-metric-grid,
.om-km-comparison-grid,
.om-km-detail-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.om-km-comparison-grid,
.om-km-detail-grid{
  margin-top: 18px;
}

.om-km-comparison-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-km-detail-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-km-metric-card{
  padding: 20px;
}

.om-km-metric-card strong{
  display: block;
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.1;
}

.om-km-metric-card--rate{
  background: linear-gradient(140deg, rgba(30,58,138,0.08), rgba(255,255,255,0.88));
}

.om-km-metric-card--interest{
  background: linear-gradient(140deg, rgba(59,130,246,0.10), rgba(255,255,255,0.88));
}

.om-km-metric-card--equity{
  background: linear-gradient(140deg, rgba(234,179,8,0.14), rgba(255,255,255,0.88));
}

.om-km-comparison-card,
.om-km-timeline-card,
.om-km-wealth-card{
  padding: 22px;
}

.om-km-comparison-card--miete-rate .om-km-progress-group{
  gap: 12px;
}

.om-km-comparison-card--miete-rate .om-km-progress-row{
  gap: 6px;
}

.om-km-comparison-card__headline{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.om-km-comparison-card__headline span{
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.om-km-comparison-card__headline strong{
  color: #10214d;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.om-km-progress-group{
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.om-km-progress-row{
  display: grid;
  gap: 8px;
}

.om-km-progress-row__label{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.om-km-progress-row__label span{
  color: var(--muted);
}

.om-km-label-hint{
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
}

.om-km-progress-row__label strong{
  color: var(--secondary);
}

.om-km-progress{
  height: 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.07);
  overflow: hidden;
}

.om-km-progress__stack{
  display: flex;
  height: 100%;
  width: var(--om-bar-width, 0%);
  border-radius: inherit;
  overflow: hidden;
}

.om-km-progress__fill{
  display: block;
  height: 100%;
  width: var(--om-bar-width, 0%);
  border-radius: inherit;
}

.om-km-progress__stack .om-km-progress__fill{
  --om-bar-width: 0%;
  width: var(--om-segment-width, 0%);
  flex: 0 0 var(--om-segment-width, 0%);
  border-radius: 0;
}

.om-km-progress__stack .om-km-progress__fill:first-child{
  border-radius: 999px 0 0 999px;
}

.om-km-progress__stack .om-km-progress__fill:last-child{
  border-radius: 0 999px 999px 0;
}

.om-km-progress__fill--blue{ background: #3b82f6; }
.om-km-progress__fill--gold{ background: #eab308; }
.om-km-progress__fill--gray{ background: #9ca3af; }
.om-km-progress__fill--red{ background: #ef4444; }
.om-km-progress__fill--navy{ background: #1e3a8a; }

.om-km-comparison-note{
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.om-km-comparison-note span{
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.om-km-comparison-note strong{
  color: #10214d;
}

.om-km-rate-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  align-items: center;
}

.om-km-rate-legend__dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}

.om-km-rate-legend__dot--blue{ background: #3b82f6; }
.om-km-rate-legend__dot--gold{ background: #eab308; }

.om-km-delta-callout{
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #15803d;
  border-radius: 8px;
  background: rgba(21,128,61,0.08);
  color: #15803d;
  font-size: 13px;
  line-height: 1.45;
}

.om-km-delta-callout strong{
  color: inherit;
  font-weight: 800;
}

.om-km-mid-action{
  margin: 16px 0;
  text-align: center;
}

.om-km-timeline{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.om-km-timeline__row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.om-km-timeline__row:last-child{
  border-bottom: none;
  padding-bottom: 0;
}

.om-km-timeline__label{
  font-weight: 800;
  color: #10214d;
}

.om-km-timeline__values{
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--muted);
}

.om-km-wealth-card__stats{
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.om-km-wealth-card__stats span{
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.om-km-wealth-card__stats strong{
  display: block;
  color: #10214d;
  font-size: 26px;
}

.om-km-wealth-card__checks{
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,0.08);
  color: #15803d;
  font-weight: 700;
}

.om-km-city-detail__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.om-km-btn-primary{
  background: #1e3a8a;
  border-color: rgba(30,58,138,0.38);
  box-shadow: 0 18px 40px rgba(30,58,138,0.20);
}

.om-km-btn-primary:hover{
  background: #d9a400;
  border-color: rgba(217,164,0,0.34);
  box-shadow: 0 20px 42px rgba(217,164,0,0.22);
}

/* City-Daten Modal */
.om-km-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.om-km-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(3px);
}

.om-km-modal__inner{
  position: relative;
  z-index: 1;
  width: min(80vw, 760px);
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(15,23,42,0.28);
}

.om-km-modal__close{
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  background: rgba(0,0,0,0.25);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.om-km-modal__close:hover{ background: rgba(0,0,0,0.45); }

.om-km-modal-open{ overflow: hidden; }

@media (max-width: 768px){
  .om-km-modal__inner{
    width: 94vw;
    max-height: 88vh;
  }
}

.om-km-popup{
  background: #ffffff;
  color: var(--secondary);
}

.om-km-popup__header{
  background: #1e3a8a;
  color: #ffffff;
  padding: 18px 20px;
}

.om-km-popup__header strong{
  display: block;
  font-size: 22px;
}

.om-km-popup__header span{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

.om-km-popup__body{
  padding: 18px 20px 20px;
  display: grid;
  gap: 18px;
}

.om-km-popup__rate{
  font-size: 28px;
  color: #10214d;
}

.om-km-popup__rate small{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.om-km-popup__section{
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.om-km-popup__section:first-child{
  padding-top: 0;
  border-top: none;
}

.om-km-popup__section-title{
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.om-km-popup__row{
  display: grid;
  gap: 7px;
}

.om-km-popup__row-head{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.om-km-popup__row-head span:first-child{
  color: var(--muted);
}

.om-km-popup__progress{
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15,23,42,0.08);
}

.om-km-popup__progress span{
  display: block;
  width: var(--om-bar-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--bar-color, #1e3a8a);
}

.om-km-popup__meta{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.om-km-popup__checklist{
  display: grid;
  gap: 9px;
  color: #15803d;
  font-weight: 700;
}

.om-km-popup__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 800;
  transition: background .16s ease, transform .16s ease;
}

.om-km-popup__cta:hover{
  background: #d9a400;
  transform: translateY(-1px);
}

.om-km-popup__ratio{
  display: flex;
  align-items: center;
  gap: 12px;
}

.om-km-popup__ratio-label{
  font-size: 14px;
  color: var(--muted);
}

.om-km-popup__m2-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.om-km-popup__m2-item{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.om-km-popup__m2-item span:first-child{
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.om-km-popup__m2-item strong{
  font-size: 18px;
  color: var(--secondary);
}

.om-km-popup__viertel{
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.om-km-popup__viertel-item{
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.om-km-popup__viertel-label{
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.om-km-popup__viertel-item--hoch .om-km-popup__viertel-label{
  background: #fef3c7;
  color: #92400e;
}

.om-km-popup__viertel-item--niedrig .om-km-popup__viertel-label{
  background: #dcfce7;
  color: #166534;
}

/* ---------------------------
   RECHNER PAGE
---------------------------- */
.om-rechner-page{
  padding: 24px 0 72px;
}

.om-rechner-hero{
  padding: 24px 0 20px;
}

.om-rechner-hero__inner{
  max-width: 860px;
  text-align: center;
}

.om-rechner-headline{
  font-size: var(--h1);
}

.om-rechner-intro{
  max-width: 62ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.om-rechner-widget{
  padding: 0 0 24px;
}

.om-rechner-widget__inner{
  max-width: 1240px;
}

.om-rechner-widget baufi-passt-flex{
  display: block;
  width: 100%;
}

@media (max-width: 979px){
  .om-km-hero,
  .om-km-bundesland-info__grid,
  .om-km-metric-grid,
  .om-km-comparison-grid,
  .om-km-detail-grid{
    grid-template-columns: 1fr;
  }

  .om-km-map-layout{
    grid-template-columns: 1fr;
  }

  .om-km-map{
    min-height: 460px;
  }
}

@media (max-width: 768px){
  .om-km-page{
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .om-rechner-page{
    padding: 16px 0 56px;
  }

  .om-rechner-hero{
    padding-top: 16px;
  }

  .om-rechner-intro{
    font-size: 1rem;
  }

  .om-km-city-detail__header,
  .om-km-timeline__row,
  .om-km-progress-row__label{
    flex-direction: column;
    align-items: flex-start;
  }

  .om-km-timeline__values{
    text-align: left;
  }

  .om-km-map{
    min-height: 380px;
  }

}

@media (max-width: 640px){
  .om-km-mid-cta{
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Darlehensarten Section ===== */

/* Index: Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 10px 14px;
  border: 1px solid var(--border, #e2e8f0);
  text-align: left;
  white-space: nowrap;
}
.compare-table th {
  background: var(--primary, #1e3a5f);
  color: white;
  font-weight: 600;
}
.compare-table tr:nth-child(even) td {
  background: #f8fafc;
}
.compare-table .highlight-yes {
  color: #15803d;
  font-weight: 600;
}
.compare-table .highlight-no {
  color: #b91c1c;
}

/* Index: Card Grid */
.darlehen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.darlehen-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.darlehen-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.darlehen-card__diagram {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.darlehen-card h3 {
  margin: 0;
  font-size: 1.1rem;
}
.darlehen-card p {
  color: var(--text-muted, #64748b);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.arrow-link {
  color: var(--primary, #1e3a5f);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Detail: Diagram */
.article-diagram {
  margin: 1.5rem 0;
  text-align: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}
.article-diagram img {
  max-width: 100%;
  height: auto;
}

/* Responsive: Table on mobile */
@media (max-width: 768px) {
  .table-wrapper {
    -webkit-overflow-scrolling: touch;
  }
  .compare-table th,
  .compare-table td {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
}

/* ── RATGEBER: DARLEHENSARTEN-BLÖCKE 2026 ── */
.loan-chart-wrap { position: relative; height: 280px; max-width: 600px; margin: 2rem 0; }
.pro-con { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.pro-con__headline { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
.pro-con__col--pros .pro-con__headline { color: #16a34a; }
.pro-con__col--cons .pro-con__headline { color: #dc2626; }
.pro-con__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.pro-con__col--pros .pro-con__list li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.pro-con__col--cons .pro-con__list li::before { content: "✗ "; color: #dc2626; font-weight: 700; }
.suitable-for { margin: 2rem 0; }
.suitable-for__headline { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.suitable-for__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.suitable-for__item { padding: 1rem; border: 1px solid var(--border); border-radius: .5rem; }
.suitable-for__title { display: block; margin-bottom: .25rem; }
.suitable-for__desc { margin: 0; font-size: .9rem; color: var(--text-muted, #64748b); }
.rg-loan-badge { display: inline-block; padding: .25rem .75rem; background: var(--primary); color: #fff; border-radius: 9999px; font-size: .8rem; font-weight: 600; margin-bottom: .5rem; }
.kom-bundesland-intro { margin: 0 0 1.5rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 640px) {
  .pro-con { grid-template-columns: 1fr; }
  .loan-chart-wrap { height: 220px; }
}

/* ── HOMEPAGE V2 BLOCKS 2026 ───────────────────────────────────── */
.om-home-page{
  background: #fff;
}

.om-new-hero{
  padding: 56px 0 48px;
  background: #fff;
}

.om-new-hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.om-new-hero__title{
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.02;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.om-new-hero__title span{
  color: var(--primary);
}

.om-new-hero__lead{
  max-width: 30rem;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.om-new-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.om-new-hero__meta{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.om-new-hero__avatars{
  display: flex;
  align-items: center;
}

.om-new-hero__avatars span{
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--blue-mid);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.om-new-hero__avatars span:first-child{
  margin-left: 0;
}

.om-new-hero__rating{
  display: grid;
  gap: 4px;
}

.om-new-hero__stars{
  color: var(--primary);
  font-size: .9rem;
  letter-spacing: .14em;
}

.om-new-hero__rating strong{
  color: var(--text);
  font-size: .9rem;
}

.om-new-hero__partner{
  font-size: .9rem;
  color: var(--muted);
}

.om-new-hero__partner a{
  color: var(--primary);
  font-weight: 700;
}

.om-new-hero__card{
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.om-new-hero__card-top{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--navy);
}

.om-new-hero__avatar{
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.om-new-hero__avatar--photo{
  object-fit: cover;
  display: block;
}

.om-new-hero__berater{
  display: block;
  color: #fff;
  font-size: .98rem;
}

.om-new-hero__role{
  margin-top: 4px;
  color: #93c5fd;
  font-size: .8rem;
}

.om-new-hero__status{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
  font-size: .75rem;
  font-weight: 700;
}

.om-new-hero__status span{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #93c5fd;
}

.om-new-hero__zins{
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.om-new-hero__zins-label,
.om-new-hero__zins-note{
  color: #94a3b8;
  font-size: .78rem;
}

.om-new-hero__zins-note a{
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.om-new-hero__zins-value{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.om-new-hero__zins-value span{
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--navy);
  font-weight: 900;
}

.om-new-hero__zins-value small{
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
}

.om-new-hero__stats{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px 24px 22px;
}

.om-new-hero__stats div{
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.om-new-hero__stats dt{
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: .74rem;
}

.om-new-hero__stats dd{
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  font-size: .95rem;
}

.om-new-hero__card-cta{
  width: calc(100% - 48px);
  margin: 0 24px 24px;
}

.om-new-trustbar{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.om-new-trustbar__inner{
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.om-new-trustbar__label{
  color: #94a3b8;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.om-new-trustbar__brands{
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.om-new-trustbar__brands span{
  color: #cbd5e1;
  font-size: .82rem;
  font-weight: 800;
}

.om-new-trustbar__rating{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: .82rem;
  color: var(--muted);
}

.om-new-trustbar__stars{
  color: var(--primary);
  letter-spacing: .14em;
}

.om-new-bento{
  padding: 80px 0;
  background: #fff;
}

.om-new-bento__head{
  max-width: 42rem;
  margin-bottom: 36px;
}

.om-new-bento__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 16px;
}

.om-new-bento__tile{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.om-new-bento__tile:hover{
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.08);
}

.om-new-bento__tile--map{
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: var(--bg);
}

.om-new-bento__tile h3{
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.om-new-bento__tile p{
  color: var(--muted);
  line-height: 1.65;
}

.om-new-bento__tag{
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--blue-dim);
  color: var(--primary);
  font-size: .76rem;
  font-weight: 700;
}

.om-new-bento__map-wrap{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.om-new-bento__map-panel{
  flex: 1 1 0;
  min-width: 0;
}

.om-new-bento__map-surface{
  min-height: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 34%),
    linear-gradient(180deg, rgba(239,246,255,0.95), rgba(255,255,255,0.98));
}

.om-new-bento__legend{
  display: grid;
  align-content: start;
  gap: 10px;
  width: min(220px, 100%);
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
}

.om-new-bento__legend > span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
}

.om-new-bento__legend > span i{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dot-color, var(--primary));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--dot-color, var(--primary)) 14%, transparent);
}

.om-new-bento__city-badge{
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

.om-new-bento__city-badge small,
.om-new-bento__city-badge span{
  display: block;
  color: #94a3b8;
  font-size: .7rem;
}

.om-new-bento__city-badge strong{
  display: block;
  margin: 6px 0 4px;
  color: var(--primary);
  font-size: 1.85rem;
  line-height: 1;
}

.om-new-bento__actions{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.om-new-bento__hint{
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.om-new-bento__pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.om-new-bento__pills a,
.om-new-bento__pills span{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .74rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.om-new-bento__pills a:hover{
  transform: translateY(-1px);
  border-color: var(--blue-mid);
}

.om-new-bento__pills a:focus-visible{
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.om-new-bento__pills a.is-hot,
.om-new-bento__pills span.is-hot{
  border-color: var(--blue-mid);
  background: var(--blue-dim);
}

.om-new-bento__pills strong{
  color: var(--primary);
}

.om-new-bento__chart{
  width: 100%;
  margin-top: 6px;
}

.om-new-bento__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.om-new-live{
  padding: 80px 0;
  background: var(--bg);
}

.om-new-live__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.om-new-live__copy{
  padding-top: 8px;
}

.om-new-live__checks{
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.om-new-live__checks li{
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.om-new-live__checks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue-dim);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 900;
}

.om-new-live__note{
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  border-radius: 14px;
  background: var(--blue-dim);
  color: var(--primary);
  line-height: 1.6;
}

.om-new-live__card{
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.om-new-live__tabs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}

.om-new-live__tabs button{
  min-height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.om-new-live__tabs button.is-active{
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.om-new-live__fields{
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.om-new-live__fields--two{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-new-live__fields label,
.om-new-live__field{
  display: grid;
  gap: 6px;
}

.om-new-live__fields span,
.om-new-live__field span,
.om-new-live__range span{
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
}

.om-new-live__fields input,
.om-new-live__field input{
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.om-new-live__fields input:focus,
.om-new-live__field input:focus{
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.om-new-live__bar{
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.om-new-live__bar small{
  color: #94a3b8;
  font-size: .75rem;
}

.om-new-live__bar-label{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .82rem;
}

.om-new-live__bar-label strong{
  color: var(--primary);
}

.om-new-live__progress{
  height: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}

.om-new-live__progress span{
  display: block;
  width: 35%;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width .25s ease, background-color .25s ease;
}

.om-new-live__progress span.is-warning{
  background: #ef4444;
}

.om-new-live__progress span.is-solid{
  opacity: .7;
}

.om-new-live__range{
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.om-new-live__range input{
  width: 100%;
  accent-color: var(--primary);
}

.om-new-live__range small{
  color: #94a3b8;
  font-size: .72rem;
}

.om-new-live__result{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 18px;
}

.om-new-live__result--navy{
  background: var(--navy);
}

.om-new-live__result span,
.om-new-live__result small{
  display: block;
}

.om-new-live__result span{
  color: #93c5fd;
  font-size: .76rem;
}

.om-new-live__result strong{
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.om-new-live__result small{
  margin-top: 6px;
  color: #64748b;
  font-size: .72rem;
}

.om-new-live__cta{
  white-space: nowrap;
}

.om-new-live__fineprint{
  margin: 16px 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: .76rem;
}

.om-new-live__fineprint a{
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.om-new-ratgeber-teaser{
  padding: 80px 0;
  background: #fff;
}

.om-new-ratgeber-teaser__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.om-new-ratgeber-teaser__all{
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.om-new-ratgeber-teaser__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.om-new-ratgeber-teaser__card{
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.om-new-ratgeber-teaser__card:hover{
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.om-new-ratgeber-teaser__category{
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-dim);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
}

.om-new-ratgeber-teaser__card h3{
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.45;
}

.om-new-ratgeber-teaser__meta{
  color: #94a3b8;
  font-size: .8rem;
}

.om-new-ratgeber-teaser__empty{
  grid-column: 1 / -1;
}

.om-lead-qualifier{
  padding: 80px 0;
  background: var(--bg);
}

.om-lead-qualifier__shell{
  max-width: 860px;
  margin: 0 auto;
}

.om-lead-qualifier__intro{
  margin-bottom: 32px;
  text-align: center;
}

.om-lead-qualifier__avatar{
  width: 80px;
  height: 80px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

.om-lead-qualifier__card{
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.no-nav-page-body{
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

.no-nav-page{
  padding: 48px 0 88px;
}

.no-nav-page > :first-child{
  margin-top: 0;
}

.lf-page-body{
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

.lead-form-page-body{
  background: #fff;
}

.lf-page__intro{
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.lf-header{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.lf-logo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.lf-logo__icon{
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--primary);
}

.lf-logo__name{
  font-size: .94rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}

.lf-header__meta,
.lf-progress-shell__meta{
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 600;
}

.lf-progress{
  width: 100%;
  height: 3px;
  background: var(--border);
}

.lf-progress--inline{
  border-radius: 999px;
  overflow: hidden;
}

.lf-progress__bar{
  width: 8.33%;
  height: 100%;
  background: var(--primary);
  transition: width .35s ease;
}

.lf-progress-shell{
  margin-bottom: 24px;
}

.lf-progress-shell__meta{
  display: block;
  margin-bottom: 10px;
}

.lf-main{
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.lf-form{
  display: block;
}

.lf-honeypot{
  display: none !important;
  position: absolute;
  left: -9999px;
}

.lf-step{
  display: none;
}

.lf-step.active,
.lf-step.is-active{
  display: block;
  animation: lf-fade-in .2s ease;
}

@keyframes lf-fade-in{
  from{
    opacity: 0;
    transform: translateY(6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.lf-step__title{
  margin: 0 0 6px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.lf-step__sub{
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.lf-options{
  display: grid;
  gap: 10px;
}

.lf-options--2col{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lf-option{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}

.lf-option:hover,
.lf-option.is-selected{
  border-color: var(--primary);
  background: var(--blue-dim);
}

.lf-option__icon{
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
}

.lf-option__body{
  flex: 1 1 auto;
  min-width: 0;
}

.lf-option__title{
  display: block;
  font-size: .92rem;
  font-weight: 600;
}

.lf-option__sub{
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
}

.lf-option.is-selected .lf-option__sub{
  color: var(--primary);
  opacity: .82;
}

.lf-field{
  margin-bottom: 16px;
}

.lf-field--conditional{
  margin-top: 18px;
}

.lf-field__row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lf-field__row--status{
  margin-top: 22px;
}

.lf-field label,
.lf-choice-group__label{
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
}

.lf-choice-group{
  margin-top: 20px;
}

.lf-field input,
.lf-field select{
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.lf-field input:focus,
.lf-field select:focus{
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.lf-field__hint{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.lf-hint-box{
  display: flex;
  gap: 10px;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: var(--blue-dim);
  color: #1d4ed8;
  font-size: .84rem;
  line-height: 1.6;
}

.lf-foerder-preview{
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.lf-foerder-preview__head{
  margin-bottom: 18px;
}

.lf-foerder-preview__kicker{
  margin: 0 0 6px;
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lf-foerder-preview__title{
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.lf-foerder-preview__text{
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.lf-foerder-preview__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lf-foerder-preview__loading,
.lf-foerder-preview__error{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.6;
}

.lf-foerder-preview__loading{
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.lf-foerder-preview__error{
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.lf-foerder-card{
  padding: 16px;
  border: 1px solid #c7d8f8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.lf-foerder-card[hidden]{
  display: none !important;
}

.lf-foerder-card__eyebrow{
  margin-bottom: 8px;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lf-foerder-card__title{
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.35;
}

.lf-foerder-card__text{
  margin: 0;
  color: var(--text);
  font-size: .84rem;
  line-height: 1.65;
}

.lf-foerder-card__facts{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.lf-foerder-card__fact{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #36548a;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.4;
}

.lf-foerder-card__link{
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.lf-foerder-card__sources{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.lf-foerder-card__source{
  color: #36548a;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.lf-foerder-preview__state-hint,
.lf-foerder-preview__empty,
.lf-foerder-preview__research,
.lf-foerder-preview__note{
  margin: 14px 0 0;
  font-size: .8rem;
  line-height: 1.65;
}

.lf-foerder-preview__state-hint{
  color: #36548a;
}

.lf-foerder-preview__empty{
  color: var(--muted);
}

.lf-foerder-preview__research{
  color: var(--navy);
  font-weight: 600;
}

.lf-foerder-preview__note{
  color: #64748b;
}

.lf-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.lf-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}

.lf-btn:active{
  transform: scale(.98);
}

.lf-btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.lf-btn--primary{
  flex: 1 1 auto;
  background: var(--primary);
  color: #fff;
}

.lf-btn--primary:hover{
  background: #1d4ed8;
}

.lf-btn--back{
  border: 2px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.lf-btn--back:hover{
  border-color: #9ca3af;
  color: var(--text);
}

.lf-btn--submit{
  flex: 1 1 auto;
  background: #10b981;
  color: #fff;
}

.lf-btn--submit:hover{
  background: #059669;
}

.lf-success{
  padding: 48px 24px;
  text-align: center;
}

.lf-success__icon{
  margin-bottom: 20px;
  font-size: 3.5rem;
}

.lf-success__title{
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.lf-success__text{
  max-width: 380px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.lf-error-msg{
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: .88rem;
}

.lf-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.lf-consent input[type="checkbox"]{
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.lf-consent label{
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.lf-consent a{
  color: var(--primary);
  text-decoration: none;
}

.lf-optional{
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: .7rem;
  font-weight: 600;
  vertical-align: middle;
}

.lf-required{
  color: #ef4444;
}

.om-new-cta-final{
  padding: 80px 0;
  background: var(--navy);
}

.om-new-cta-final__inner{
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.om-new-cta-final__avatar{
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.28);
  color: #fff;
  font-weight: 800;
}
.om-new-cta-final__avatar--photo{
  object-fit: cover;
  display: block;
}

.om-new-cta-final h2{
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.om-new-cta-final p{
  margin: 16px auto 30px;
  max-width: 32rem;
  color: #93c5fd;
  font-size: 1rem;
  line-height: 1.75;
}

.om-new-cta-final__button{
  min-width: 260px;
}

.om-new-cta-final small{
  display: block;
  margin-top: 16px;
  color: #64748b;
  font-size: .78rem;
}

@media (max-width: 1100px){
  .om-new-hero__grid,
  .om-new-live__grid{
    grid-template-columns: 1fr;
  }

  .om-new-bento__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .om-new-bento__tile--map{
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .om-new-ratgeber-teaser__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .om-new-hero,
  .om-new-bento,
  .om-new-live,
  .om-new-ratgeber-teaser,
  .om-lead-qualifier,
  .om-new-cta-final{
    padding: 56px 0;
  }

  .om-new-trustbar__inner,
  .om-new-ratgeber-teaser__head,
  .om-new-live__result,
  .lf-nav{
    flex-direction: column;
    align-items: flex-start;
  }

  .om-new-bento__grid,
  .om-new-ratgeber-teaser__grid,
  .lf-foerder-preview__grid,
  .lf-options--2col,
  .lf-field__row{
    grid-template-columns: 1fr;
  }

  .om-new-live__fields--two,
  .om-new-hero__stats{
    grid-template-columns: 1fr;
  }

  .om-new-bento__map-wrap{
    flex-direction: column;
    align-items: stretch;
  }

  .om-new-bento__legend{
    width: 100%;
  }

  .om-new-bento__actions{
    flex-direction: column;
    align-items: flex-start;
  }

  .om-km-map-aside{
    padding: 16px;
  }

  .om-new-hero__card,
  .om-new-live__card,
  .om-lead-qualifier__card{
    padding: 22px;
  }

  .lf-foerder-preview{
    padding: 18px;
  }

  .om-new-hero__card-top,
  .om-new-hero__zins,
  .om-new-hero__stats{
    padding-left: 20px;
    padding-right: 20px;
  }

  .om-new-hero__card-cta{
    width: calc(100% - 40px);
    margin: 0 20px 20px;
  }

  .lf-btn--primary,
  .lf-btn--submit{
    width: 100%;
  }
}

@media (max-width: 640px){
  .om-new-hero__title{
    font-size: 2.2rem;
  }

  .om-new-hero__actions .btn,
  .om-new-live__cta,
  .om-new-cta-final__button{
    width: 100%;
  }

  .om-new-trustbar__inner{
    align-items: flex-start;
  }

  .lf-main{
    padding: 28px 16px 64px;
  }

  .lf-step__title{
    font-size: 1.3rem;
  }

  .lf-header{
    padding: 0 16px;
  }

  .lf-progress-shell__meta,
  .lf-header__meta{
    font-size: .74rem;
  }
}

/* ── Kaufen oder Mieten: Kaufen vs. Mieten Vergleich ────────────────────────── */
.om-km-vergleich__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.om-km-vergleich {}

.om-km-vergleich__col {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.om-km-vergleich__col--mieten {
  background: var(--surface);
}

.om-km-vergleich__col--kaufen {
  background: #1e3a8a;
}

.om-km-vergleich__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
}

.om-km-vergleich__col--kaufen .om-km-vergleich__eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

.om-km-vergleich__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.om-km-vergleich__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.om-km-vergleich__marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-km-vergleich__marker::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg) translateY(-1px);
}

.om-km-vergleich__marker--neutral {
  background: rgba(71, 85, 105, 0.12);
}

.om-km-vergleich__marker--neutral::after {
  border-color: var(--muted);
}

.om-km-vergleich__marker--kaufen {
  background: rgba(255, 255, 255, 0.18);
}

.om-km-vergleich__marker--kaufen::after {
  border-color: #ffffff;
}

.om-km-vergleich__item div {
  display: grid;
  gap: 3px;
}

.om-km-vergleich__item strong {
  font-size: 14px;
  font-weight: 700;
  color: #10214d;
  line-height: 1.3;
}

.om-km-vergleich__col--kaufen .om-km-vergleich__item strong {
  color: #ffffff;
}

.om-km-vergleich__item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.om-km-vergleich__col--kaufen .om-km-vergleich__item span {
  color: rgba(255, 255, 255, 0.72);
}

.om-km-vergleich__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .om-km-vergleich__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Kaufen oder Mieten: Stadt-Tabs ──────────────────────────────────────────── */
.om-km-tabs {
  margin-bottom: 8px;
}

.om-km-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 24px;
}

.om-km-tabs__btn {
  padding: 10px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.om-km-tabs__btn:hover {
  color: #1d4ed8;
}

.om-km-tabs__btn--active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.om-km-city-panel--hidden {
  display: none !important;
}

.om-km-program-panel--hidden {
  display: none !important;
}

/* ── Kaufen oder Mieten: Charts-Grid ─────────────────────────────────────────── */
.om-km-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.om-km-chart-wrap {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
}

.om-km-chart-canvas-wrap {
  position: relative;
  height: 220px;
  margin-top: 10px;
}

.om-km-chart-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.om-km-chart-details {
  margin-top: 8px;
}

.om-km-chart-details summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}

.om-km-chart-data-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.om-km-chart-data-row {
  display: grid;
  grid-template-columns: minmax(64px, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(15,23,42,0.08);
  color: #10214d;
  font-size: 12px;
  line-height: 1.35;
}

.om-km-chart-data-row span {
  color: var(--muted);
  font-weight: 800;
}

.om-km-chart-data-row strong {
  font-size: 12px;
}

.om-km-chart-data-row small {
  color: var(--muted);
  font-size: 12px;
}

.om-km-chart-data-row--equity {
  grid-template-columns: minmax(64px, 0.7fr) minmax(0, 1fr);
}

@media (max-width: 700px) {
  .om-km-charts-grid {
    grid-template-columns: 1fr;
  }

  .om-km-chart-data-row,
  .om-km-chart-data-row--equity {
    grid-template-columns: 1fr;
  }

  .om-km-tabs__btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}
