/* ═══════════════════════════════════════════════════════════
   FERTILIO — Design System
   Direction: Warm Editorial Authority
   ═══════════════════════════════════════════════════════════ */

/* ─── Self-hosted Fonts ───────────────────────────────── */
/* Albert Sans (Body) — latin-ext */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/albert-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Albert Sans (Body) — latin */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/albert-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif (Display) — latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif (Display) — latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif Italic — latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif Italic — latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Fallback für ältere iOS-Versionen ohne clip */
  overflow-x: clip;
}

/* ─── Screen Reader Only ──────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

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

input, button, textarea, select {
  font: inherit;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Suppress outline on programmatically focused elements (JS .focus()) */
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

/* ─── CSS Variables ────────────────────────────────────── */
:root {
  /* Palette: Warm Editorial */
  --color-bg: #FAF8F5;
  --color-bg-alt: #F0ECE6;
  --color-surface: #FFFFFF;
  --color-text: #1C1917;
  --color-text-muted: #78716C;
  --color-text-light: #A8A29E;
  --color-primary: #7A3B5C;
  --color-primary-light: #95587A;
  --color-primary-dark: #2E1A27;
  --color-accent: #A35D6E;
  --color-accent-light: #E0A9A5;
  --color-border: #E7E5E4;
  --color-border-light: #F0EEEC;

  /* Tier-Farben (Verified / Premium) */
  --color-verified: #7A3B5C;
  --color-verified-bg: #F6E7E4;
  --color-premium: #C98A86;
  --color-premium-bg: #F8ECEC;
  --color-premium-dark: #8E4A6C;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Albert Sans', system-ui, sans-serif;

  /* Type Scale — fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.77rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 0.97rem + 0.45vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --text-4xl: clamp(2.5rem, 1.7rem + 4vw, 4.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 6rem);

  /* Spacing */
  --space-2xs: clamp(0.125rem, 0.1rem + 0.15vw, 0.25rem);
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-lg: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-3xl: clamp(4rem, 2.5rem + 7.5vw, 9rem);

  /* Layout */
  --max-width: 1280px;
  --max-width-content: 740px;
  --max-width-narrow: 580px;
  --gutter: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — warm tones */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.05), 0 2px 4px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.04);
  --shadow-hover: 0 16px 48px rgba(28, 25, 23, 0.12), 0 6px 16px rgba(28, 25, 23, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
}

/* ─── Base Typography ──────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--color-text);
}

h1 { font-size: var(--text-4xl); font-weight: 400; }
h2 { font-size: var(--text-3xl); font-weight: 400; }
h3 { font-size: var(--text-2xl); font-weight: 400; }
h4 { font-size: var(--text-xl); font-weight: 400; }

p {
  max-width: 65ch;
}

/* ─── Page Load Animation ──────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  animation: fadeUp var(--duration-slow) var(--ease-out) both;
}

.reveal--delay-1 { animation-delay: 100ms; }
.reveal--delay-2 { animation-delay: 200ms; }
.reveal--delay-3 { animation-delay: 300ms; }
.reveal--delay-4 { animation-delay: 400ms; }
.reveal--delay-5 { animation-delay: 500ms; }
.reveal--delay-6 { animation-delay: 600ms; }

/* ─── Layout Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main {
  padding: 0;
  max-width: none;
}

/* ─── Site Header ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 245, 0.92);
  border-bottom-color: var(--color-border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--gutter);
}

/* Logo „Umarmung“ mit Animation „Sanft umarmt“ (static/js/fertilio-logo.js) */
.nav__logo {
  --fertilio-logo-width: 156px;
  flex-shrink: 0;
}

[data-fertilio-logo] {
  display: inline-flex;
  align-items: center;
  width: var(--fertilio-logo-width, 168px);
  max-width: 100%;
  color: #000;
  text-decoration: none;
  vertical-align: middle;
}

[data-fertilio-logo] .fertilio-logo__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: currentColor;
}

[data-fertilio-logo] .fertilio-logo__left,
[data-fertilio-logo] .fertilio-logo__right {
  transform-box: view-box;
  transform-origin: 128px 210px;
}

[data-fertilio-logo] .fertilio-logo__seed {
  transform-box: view-box;
  transform-origin: 143px 118px;
}

[data-fertilio-logo] .fertilio-logo__word {
  transform-box: fill-box;
  transform-origin: center;
}

@media (max-width: 768px) {
  .nav__logo {
    --fertilio-logo-width: 128px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--color-primary);
  color: var(--color-bg) !important;
  padding: var(--space-xs) var(--space-md);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Dropdown "Rechner" */
.nav__item--drop {
  position: relative;
}

.nav__drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.nav__drop-toggle svg {
  transition: transform var(--duration-fast) ease;
}

.nav__item--drop:hover .nav__drop-toggle,
.nav__drop-toggle[aria-expanded="true"] {
  color: var(--color-text);
}

.nav__item--drop:hover .nav__drop-toggle svg,
.nav__drop-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__drop-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav__drop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 340px;
  padding: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease, visibility var(--duration-fast) ease;
  z-index: 200;
}

/* Brücke, damit das Menü beim Runterfahren mit der Maus offen bleibt. Am Listenpunkt, weil das scrollbare Menü
   eigene Pseudo-Elemente oberhalb abschneidet. */
.nav__item--drop:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.nav__item--drop:hover .nav__drop,
.nav__item--drop:has(:focus-visible) .nav__drop,
.nav__drop-toggle[aria-expanded="true"] + .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__links .nav__drop a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: background var(--duration-fast) ease;
}

.nav__links .nav__drop a::after {
  display: none;
}

.nav__links .nav__drop a:hover,
.nav__links .nav__drop a:focus-visible {
  background: var(--color-bg-alt);
}

.nav__drop-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(122, 59, 92, 0.08);
  color: var(--color-primary);
}

.nav__drop-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.nav__drop-desc {
  display: block;
  margin-top: 2px;
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.nav__drop-gruppe {
  margin: 0;
  padding: 10px 12px 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav__drop-gruppe ~ .nav__drop-gruppe {
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

/* ─── Mobile Navigation Toggle ────────────────────────── */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

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

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

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

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(122, 59, 92, 0.2);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(122, 59, 92, 0.3);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

/* ─── Section Spacing ──────────────────────────────────── */
.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section--sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--bg {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-primary-dark);
  color: #fff;
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.section--dark .section__label {
  color: var(--color-accent-light);
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  text-align: center;
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-50px, 35px) scale(1.1); }
  70% { transform: translate(25px, -20px) scale(0.94); }
}

@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 20px) scale(1.06); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(122, 59, 92, 0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: heroFloat1 20s var(--ease-in-out) infinite;
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 45%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(163, 93, 110, 0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: heroFloat2 26s var(--ease-in-out) infinite;
  will-change: transform;
}

.hero__bg-orb {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 35%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(122, 59, 92, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: heroFloat3 22s var(--ease-in-out) infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    animation: none;
  }

  .hero::before,
  .hero::after,
  .hero__bg-orb {
    animation: none;
    will-change: auto;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-lg);
  border: 1px solid rgba(122, 59, 92, 0.2);
  border-radius: 100px;
  max-width: 100%;
}

.hero h1 {
  font-size: var(--text-5xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin: 0 auto var(--space-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Divider ──────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border: none;
  margin: var(--space-lg) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Category Cards ───────────────────────────────────── */
.kategorien {
  padding: var(--space-3xl) 0;
}

.kategorien__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.kategorien__header p:not(.section__label) {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin: var(--space-md) auto 0;
}

/* ─── Editorial Photo ──────────────────────────────── */
.editorial {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.editorial__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--color-bg-alt);
}

.editorial__frame picture { display: contents; }

.editorial__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 100%);
}

.editorial__quote {
  max-width: 44ch;
}

.editorial__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: #fff;
}

@media (max-width: 768px) {
  .editorial__frame {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
  }

  .editorial__overlay {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
  }
}

.kategorien__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--space-md);
}

.kategorie-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.kategorie-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.kategorie-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.kategorie-card:hover::before {
  transform: scaleX(1);
}

.kategorie-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  transition: transform var(--duration-base) var(--ease-out);
}

.kategorie-card__icon svg {
  width: 100%;
  height: 100%;
}

.kategorie-card:hover .kategorie-card__icon {
  transform: scale(1.1);
}

.kategorie-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.kategorie-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.kategorie-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: auto;
  padding-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--duration-base) var(--ease-out);
}

.kategorie-card:hover .kategorie-card__arrow {
  gap: var(--space-sm);
}

/* ─── How It Works ─────────────────────────────────────── */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

/* Dasselbe Babymuster wie im CTA, hier in Pflaume auf hellem Grund, zur Mitte hin ausgeblendet */
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%237A3B5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(14 14) rotate(-18 24 24)'%3E%3Ccircle cx='24' cy='10' r='6'/%3E%3Cellipse cx='24' cy='22' rx='14' ry='6'/%3E%3Ccircle cx='24' cy='22' r='2.4'/%3E%3Cpath d='M20.5 27.5c-.4 3.5-.2 6.5 0 8.5.4 2.8 6.6 2.8 7 0 .2-2 .4-5 0-8.5'/%3E%3C/g%3E%3Cg transform='translate(104 34) scale(.55)'%3E%3Cpath d='M24 38c-9-6.5-13-11.5-13-17 0-4 3-7 6.5-7 2.8 0 4.6 1.6 6.5 4.2C25.9 15.6 27.7 14 30.5 14c3.5 0 6.5 3 6.5 7 0 5.5-4 10.5-13 17z'/%3E%3C/g%3E%3Cg transform='translate(166 10) rotate(14 24 24)'%3E%3Cpath d='M21 9.5c0-3.5 1.4-5.5 3-5.5s3 2 3 5.5'/%3E%3Crect x='18.5' y='9.5' width='11' height='4' rx='1.5'/%3E%3Crect x='16.5' y='13.5' width='15' height='27' rx='5'/%3E%3Cpath d='M16.5 22h4M16.5 27h4M16.5 32h4'/%3E%3C/g%3E%3Cg transform='translate(66 92) scale(.5)'%3E%3Cpath d='M24 10l3.7 8.2 8.8.9-6.6 5.9 1.9 8.7L24 29.3l-7.8 4.4 1.9-8.7-6.6-5.9 8.8-.9z'/%3E%3C/g%3E%3Cg transform='translate(118 90) rotate(18 24 24)'%3E%3Ccircle cx='19' cy='17' r='10'/%3E%3Cpath d='M26 24.5l9 11'/%3E%3Ccircle cx='37.5' cy='38.5' r='4'/%3E%3Cg fill='%237A3B5C' stroke='none'%3E%3Ccircle cx='15.5' cy='14' r='1.5'/%3E%3Ccircle cx='22.5' cy='19.5' r='1.5'/%3E%3Ccircle cx='21.5' cy='12' r='1.1'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(18 148) rotate(-10 24 24)'%3E%3Cpath d='M18 9c1.5 2.5 3.6 3.7 6 3.7S28.5 11.5 30 9l8 4.5-3 6.5-3.5-1.5V33c0 4.2-3.4 7.5-7.5 7.5S16.5 37.2 16.5 33V18.5L13 20l-3-6.5z'/%3E%3Cg fill='%237A3B5C' stroke='none'%3E%3Ccircle cx='21.5' cy='37' r='1.1'/%3E%3Ccircle cx='26.5' cy='37' r='1.1'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(200 116) rotate(10 24 24) scale(.5)'%3E%3Cpath d='M24 38c-9-6.5-13-11.5-13-17 0-4 3-7 6.5-7 2.8 0 4.6 1.6 6.5 4.2C25.9 15.6 27.7 14 30.5 14c3.5 0 6.5 3 6.5 7 0 5.5-4 10.5-13 17z'/%3E%3C/g%3E%3Cg transform='translate(176 178) scale(.62)'%3E%3Cpath d='M24 10l3.7 8.2 8.8.9-6.6 5.9 1.9 8.7L24 29.3l-7.8 4.4 1.9-8.7-6.6-5.9 8.8-.9z'/%3E%3C/g%3E%3Cg transform='translate(100 176) rotate(24 24 24) scale(.78)'%3E%3Ccircle cx='24' cy='10' r='6'/%3E%3Cellipse cx='24' cy='22' rx='14' ry='6'/%3E%3Ccircle cx='24' cy='22' r='2.4'/%3E%3Cpath d='M20.5 27.5c-.4 3.5-.2 6.5 0 8.5.4 2.8 6.6 2.8 7 0 .2-2 .4-5 0-8.5'/%3E%3C/g%3E%3Cg fill='%237A3B5C' stroke='none'%3E%3Ccircle cx='76' cy='40' r='1.4'/%3E%3Ccircle cx='214' cy='78' r='1.4'/%3E%3Ccircle cx='84' cy='150' r='1.4'/%3E%3Ccircle cx='228' cy='226' r='1.4'/%3E%3Ccircle cx='160' cy='150' r='1.2'/%3E%3Ccircle cx='40' cy='108' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-position: center;
  opacity: 0.09;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  pointer-events: none;
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.how-it-works__header p:not(.section__label) {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin: var(--space-md) auto 0;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.how-it-works__grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--color-border), var(--color-primary), var(--color-border));
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 28ch;
  margin: 0 auto;
}

/* ─── Social Proof ────────────────────────────────────── */
.social-proof {
  padding: var(--space-3xl) 0;
  text-align: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  contain: paint;
}

.social-proof__header {
  margin-bottom: var(--space-2xl);
}

/* Marquee rows: iOS Safari clippt animierte (composited) Kinder sonst nicht, die Seite ließe sich seitlich ziehen */
.social-proof__marquee {
  padding: var(--space-xs) 0;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0);
}

.social-proof__marquee + .social-proof__marquee {
  margin-top: var(--space-md);
}

.social-proof__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.social-proof__track--right {
  animation: marquee-right 60s linear infinite;
}

.social-proof__track--left {
  animation: marquee-left 60s linear infinite;
}

.social-proof__marquee:hover .social-proof__track {
  animation-play-state: paused;
}

@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Big photo cards */
.sp-photo {
  flex: 0 0 260px;
  margin-right: var(--space-lg);
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Review cards */
.sp-review {
  flex: 0 0 300px;
  margin-right: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sp-review__stars {
  color: var(--color-accent);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.sp-review__text {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text);
  flex: 1;
  margin-bottom: var(--space-lg);
}

.sp-review__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.sp-review__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sp-review__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.sp-review__city {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .social-proof__track {
    animation-play-state: paused;
  }
}

/* ─── Featured / Blog Preview ──────────────────────────── */
.featured {
  padding: var(--space-3xl) 0;
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.featured__header p:not(.section__label) {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-top: var(--space-sm);
}

.featured__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
}

.featured__link:hover {
  color: var(--color-primary-dark);
}

.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.article-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.article-card:hover::before {
  transform: scaleX(1);
}

.article-card__body {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.article-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.article-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) ease;
}

.article-card:hover h3 {
  color: var(--color-primary);
}

.article-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Feines Babymuster (Schnuller, Fläschchen, Rassel, Body, Herzen, Sterne), zur Mitte hin ausgeblendet,
   damit Überschrift und Button frei stehen */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23F3E1DF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(14 14) rotate(-18 24 24)'%3E%3Ccircle cx='24' cy='10' r='6'/%3E%3Cellipse cx='24' cy='22' rx='14' ry='6'/%3E%3Ccircle cx='24' cy='22' r='2.4'/%3E%3Cpath d='M20.5 27.5c-.4 3.5-.2 6.5 0 8.5.4 2.8 6.6 2.8 7 0 .2-2 .4-5 0-8.5'/%3E%3C/g%3E%3Cg transform='translate(104 34) scale(.55)'%3E%3Cpath d='M24 38c-9-6.5-13-11.5-13-17 0-4 3-7 6.5-7 2.8 0 4.6 1.6 6.5 4.2C25.9 15.6 27.7 14 30.5 14c3.5 0 6.5 3 6.5 7 0 5.5-4 10.5-13 17z'/%3E%3C/g%3E%3Cg transform='translate(166 10) rotate(14 24 24)'%3E%3Cpath d='M21 9.5c0-3.5 1.4-5.5 3-5.5s3 2 3 5.5'/%3E%3Crect x='18.5' y='9.5' width='11' height='4' rx='1.5'/%3E%3Crect x='16.5' y='13.5' width='15' height='27' rx='5'/%3E%3Cpath d='M16.5 22h4M16.5 27h4M16.5 32h4'/%3E%3C/g%3E%3Cg transform='translate(66 92) scale(.5)'%3E%3Cpath d='M24 10l3.7 8.2 8.8.9-6.6 5.9 1.9 8.7L24 29.3l-7.8 4.4 1.9-8.7-6.6-5.9 8.8-.9z'/%3E%3C/g%3E%3Cg transform='translate(118 90) rotate(18 24 24)'%3E%3Ccircle cx='19' cy='17' r='10'/%3E%3Cpath d='M26 24.5l9 11'/%3E%3Ccircle cx='37.5' cy='38.5' r='4'/%3E%3Cg fill='%23F3E1DF' stroke='none'%3E%3Ccircle cx='15.5' cy='14' r='1.5'/%3E%3Ccircle cx='22.5' cy='19.5' r='1.5'/%3E%3Ccircle cx='21.5' cy='12' r='1.1'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(18 148) rotate(-10 24 24)'%3E%3Cpath d='M18 9c1.5 2.5 3.6 3.7 6 3.7S28.5 11.5 30 9l8 4.5-3 6.5-3.5-1.5V33c0 4.2-3.4 7.5-7.5 7.5S16.5 37.2 16.5 33V18.5L13 20l-3-6.5z'/%3E%3Cg fill='%23F3E1DF' stroke='none'%3E%3Ccircle cx='21.5' cy='37' r='1.1'/%3E%3Ccircle cx='26.5' cy='37' r='1.1'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(200 116) rotate(10 24 24) scale(.5)'%3E%3Cpath d='M24 38c-9-6.5-13-11.5-13-17 0-4 3-7 6.5-7 2.8 0 4.6 1.6 6.5 4.2C25.9 15.6 27.7 14 30.5 14c3.5 0 6.5 3 6.5 7 0 5.5-4 10.5-13 17z'/%3E%3C/g%3E%3Cg transform='translate(176 178) scale(.62)'%3E%3Cpath d='M24 10l3.7 8.2 8.8.9-6.6 5.9 1.9 8.7L24 29.3l-7.8 4.4 1.9-8.7-6.6-5.9 8.8-.9z'/%3E%3C/g%3E%3Cg transform='translate(100 176) rotate(24 24 24) scale(.78)'%3E%3Ccircle cx='24' cy='10' r='6'/%3E%3Cellipse cx='24' cy='22' rx='14' ry='6'/%3E%3Ccircle cx='24' cy='22' r='2.4'/%3E%3Cpath d='M20.5 27.5c-.4 3.5-.2 6.5 0 8.5.4 2.8 6.6 2.8 7 0 .2-2 .4-5 0-8.5'/%3E%3C/g%3E%3Cg fill='%23F3E1DF' stroke='none'%3E%3Ccircle cx='76' cy='40' r='1.4'/%3E%3Ccircle cx='214' cy='78' r='1.4'/%3E%3Ccircle cx='84' cy='150' r='1.4'/%3E%3Ccircle cx='228' cy='226' r='1.4'/%3E%3Ccircle cx='160' cy='150' r='1.2'/%3E%3Ccircle cx='40' cy='108' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-position: center;
  opacity: 0.13;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 25%, #000 80%);
  mask-image: radial-gradient(ellipse at center, transparent 25%, #000 80%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner .section__label {
  color: var(--color-accent-light);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-banner p:not(.section__label) {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-lg);
  max-width: 44ch;
  margin: 0 auto var(--space-xl);
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--color-primary-dark);
}

.cta-banner .btn--primary:hover {
  background: var(--color-bg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ─── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  align-items: start;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col a {
  font-size: var(--text-sm);
  transition: color var(--duration-fast) ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__copy {
  margin-top: var(--space-xl);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* Impressum, Datenschutz, Kontakt, Transparenz: eine Zeile direkt über dem Copyright, beide zusammen links neben den Badges */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}
.footer__legal a { transition: color var(--duration-fast) ease; }
.footer__legal a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   SERVICE PAGE
   ═══════════════════════════════════════════════════════════ */

/* ─── Service Hero ──────────────────────────────────── */
.svc-hero {
  padding: var(--space-xl) 0 0;
}

.svc-hero__content {
  max-width: var(--max-width-content);
  margin-top: var(--space-md);
}

.svc-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.svc-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 60ch;
}

.svc-hero .divider {
  margin-top: var(--space-xl);
}

/* ─── Service Body ──────────────────────────────────── */
.svc-body {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.svc-body__content {
  max-width: var(--max-width-content);
}

.svc-body__content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.svc-body__content h2:first-child {
  margin-top: 0;
}

.svc-body__content h3 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.svc-body__content p {
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.svc-body__content ul,
.svc-body__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.svc-body__content li {
  margin-bottom: var(--space-xs);
  line-height: 1.65;
}

.svc-body__content li::marker {
  color: var(--color-primary);
}

.svc-body__content strong {
  font-weight: 600;
  color: var(--color-text);
}

.svc-body__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast) ease;
}

.svc-body__content a:hover {
  color: var(--color-primary-dark);
}

.svc-body__content img {
  border-radius: var(--radius-lg);
}

.svc-body__content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--color-accent);
  background: rgba(163, 93, 110, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.svc-body__content blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ─── Service CTA Card ──────────────────────────────── */
.svc-cta__card {
  max-width: var(--max-width-content);
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-cta__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.svc-cta__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin: 0 auto var(--space-md);
}

.svc-cta__icon svg {
  width: 100%;
  height: 100%;
}

.svc-cta__card h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.svc-cta__card p {
  color: var(--color-text-muted);
  max-width: 40ch;
  margin: 0 auto var(--space-lg);
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz)
   ═══════════════════════════════════════════════════════════ */

/* ─── Legal Hero ────────────────────────────────────── */
.legal-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.legal-hero h1 {
  font-size: var(--text-3xl);
  margin-top: var(--space-md);
}

/* ─── Legal Body ────────────────────────────────────── */
.legal-body {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.legal-body__content {
  max-width: var(--max-width-content);
}

.legal-body__content h2 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border-light);
}

.legal-body__content h2:first-child {
  margin-top: 0;
}

.legal-body__content h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-body__content p {
  margin-bottom: var(--space-md);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-body__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body__content a:hover {
  color: var(--color-primary-dark);
}

.legal-body__content ul,
.legal-body__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-body__content li {
  margin-bottom: var(--space-xs);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.legal-body__content li::marker {
  color: var(--color-primary);
}

.legal-body__content em {
  font-style: italic;
  color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════════
   KONTAKT PAGE
   ═══════════════════════════════════════════════════════════ */

/* ─── Kontakt Hero ──────────────────────────────────── */
.kontakt-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.kontakt-hero__content {
  margin-top: var(--space-md);
}

.kontakt-hero h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
}

.kontakt-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  max-width: 52ch;
}

/* ─── Kontakt Body ──────────────────────────────────── */
.kontakt-body {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.kontakt-body__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

/* ─── Kontakt Form ──────────────────────────────────── */
.kontakt-form {
  max-width: var(--max-width-narrow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(122, 59, 92, 0.15);
  outline: 2px solid transparent;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2378716C' d='M4.5 6L8 9.5 11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm) center;
  padding-right: var(--space-xl);
  cursor: pointer;
}

.kontakt-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
}

/* Honeypot — unsichtbar für echte Nutzer */
.form-group--hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Formular-Fehlermeldung */
.kontakt-form__error {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  color: #b91c1c;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.kontakt-form__error p { margin: 0; }

/* Erfolgs-Nachricht */
.kontakt-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.kontakt-success__icon {
  width: 64px;
  height: 64px;
  color: var(--color-primary);
  margin: 0 auto var(--space-lg);
}

.kontakt-success h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

.kontakt-success p {
  color: var(--color-text-muted);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Kontakt Aside ─────────────────────────────────── */
.kontakt-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-sm);
}

.kontakt-info-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) ease;
}

.kontakt-info-card:hover {
  border-color: var(--color-primary);
}

.kontakt-info-card__icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.kontakt-info-card__icon svg {
  width: 100%;
  height: 100%;
}

.kontakt-info-card h3 {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}

.kontakt-info-card p,
.kontakt-info-card a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.kontakt-info-card a:hover {
  color: var(--color-primary);
}

/* ─── Breadcrumb ──────────────────────────────────────── */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.breadcrumb li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-xs);
  color: var(--color-text-light);
}

.breadcrumb a {
  transition: color var(--duration-fast) ease;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* ─── Tags (shared) ───────────────────────────────────── */
.tag {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border-radius: 100px;
  border: 1px solid var(--color-border-light);
}

.tag--link {
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

.tag--link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════
   ANBIETER KATEGORIE (Liste / Ranking)
   ═══════════════════════════════════════════════════════════ */

/* ─── Category Hero ───────────────────────────────────── */
.cat-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.cat-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  margin-top: var(--space-md);
}

.cat-hero__count {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* ─── Ranking Layout ──────────────────────────────────── */
.anbieter-ranking .container {
  position: relative;
}

.anbieter-ranking__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.anbieter-ranking__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.anbieter-ranking__note {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─── Anbieter Card (Ranking) ─────────────────────────── */
.anbieter-card {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.anbieter-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--duration-base) var(--ease-out);
}

.anbieter-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.anbieter-card:hover::before {
  transform: scaleY(1);
}

.anbieter-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary-dark);
  flex-shrink: 0;
  text-transform: uppercase;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}

.anbieter-card:hover .anbieter-card__rank {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.anbieter-card__body {
  min-width: 0;
}

.anbieter-card__top {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xs);
  min-width: 0;
}

.anbieter-card__top h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.anbieter-card__rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
}

.anbieter-card__stars {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

.anbieter-card__reviews {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}

.anbieter-card__location {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.anbieter-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.anbieter-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

.anbieter-card__tag {
  display: inline-block;
  padding: 2px var(--space-xs);
  font-size: 11px;
  font-weight: 500;
  background: rgba(122, 59, 92, 0.08);
  color: var(--color-primary);
  border-radius: 100px;
}

.anbieter-card__arrow {
  font-size: var(--text-xl);
  color: var(--color-text-light);
  transition: color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  justify-self: end;
}

.anbieter-card:hover .anbieter-card__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ─── Tier Badge (Verified / Premium) ─────────────────── */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.tier-badge--verified {
  color: var(--color-verified);
  background: var(--color-verified-bg);
  border: 1px solid color-mix(in srgb, var(--color-verified) 25%, transparent);
}

.tier-badge--premium {
  color: var(--color-premium-dark);
  background: var(--color-premium-bg);
  border: 1px solid color-mix(in srgb, var(--color-premium) 35%, transparent);
}

/* ─── Verified Card ───────────────────────────────────── */
.anbieter-card-wrap--verified .anbieter-card--verified {
  border: 1px solid color-mix(in srgb, var(--color-verified) 35%, var(--color-border));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--color-verified) 6%, transparent), transparent 60%),
    var(--color-surface);
  position: relative;
}

.anbieter-card--verified::before {
  content: '';
  background: var(--color-verified) !important;
  transform: scaleY(1) !important;
  width: 4px !important;
}

.anbieter-card--verified:hover {
  border-color: color-mix(in srgb, var(--color-verified) 55%, var(--color-border));
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--color-verified) 45%, transparent);
}

.anbieter-card__rank--verified {
  background: var(--color-verified);
  border-color: var(--color-verified);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--color-verified) 50%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.anbieter-card__rank--verified svg {
  width: 28px;
  height: 28px;
}

.anbieter-card:hover .anbieter-card__rank--verified {
  background: var(--color-verified);
  border-color: var(--color-verified);
  color: #fff;
}

.anbieter-card-wrap--verified .anbieter-card__top {
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.anbieter-card-wrap--verified .anbieter-card__top h3 {
  flex: 1 1 auto;
  min-width: 0;
}

.anbieter-card-wrap--verified .anbieter-card__rating {
  flex-shrink: 0;
}

.anbieter-card__verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--color-verified);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.anbieter-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.45;
  margin: 0 0 var(--space-2xs);
  max-width: 60ch;
}

/* ─── Premium Card ────────────────────────────────────── */
.anbieter-card-wrap--premium {
  list-style: none;
}

.pcard {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1.5px solid color-mix(in srgb, var(--color-premium) 45%, var(--color-border));
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 32px -16px color-mix(in srgb, var(--color-premium) 35%, transparent);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
  align-items: stretch;
  min-height: 220px;
}

.pcard:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-premium) 70%, var(--color-border));
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    0 20px 44px -14px color-mix(in srgb, var(--color-premium) 55%, transparent);
}

.pcard__ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--color-premium), var(--color-premium-dark));
  box-shadow: 0 3px 10px -2px color-mix(in srgb, var(--color-premium) 55%, transparent);
  white-space: nowrap;
}

.pcard__ribbon svg {
  color: #fff;
}

.pcard__media {
  position: relative;
  background: var(--color-bg-alt);
  overflow: hidden;
  min-height: 220px;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.pcard:hover .pcard__media img {
  transform: scale(1.04);
}

.pcard__media--placeholder {
  background: linear-gradient(135deg, var(--color-premium-bg), var(--color-bg-alt));
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-md) var(--space-lg) var(--space-md);
  min-width: 0;
}

.pcard__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.pcard__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: 4px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pcard__location {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.pcard__location svg {
  color: var(--color-text-light);
}

.pcard__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: var(--color-text);
}

.pcard__rating svg {
  color: var(--color-premium);
}

.pcard__rating strong {
  font-weight: 600;
}

.pcard__reviews {
  color: var(--color-text-muted);
  font-weight: 400;
}

.pcard__highlights {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcard__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.4;
}

.pcard__highlights svg {
  color: var(--color-verified);
  flex-shrink: 0;
  margin-top: 3px;
}

.pcard__cta {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  transition: transform var(--duration-base) var(--ease-out);
}

.pcard__cta span[aria-hidden] {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-out);
}

.pcard:hover .pcard__cta {
  color: var(--color-primary-dark);
}

.pcard:hover .pcard__cta span[aria-hidden] {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .pcard {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pcard__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .pcard__body {
    padding: var(--space-md) var(--space-md);
  }

  .pcard__ribbon {
    top: 12px;
    left: 12px;
  }
}

/* ─── Detail: Hero-Media (Premium) ────────────────────── */
.anb-hero__media {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--color-bg-alt);
}

.anb-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anb-hero__content > .tier-badge {
  margin-bottom: var(--space-xs);
}

.anb-hero__tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0.5em 0 var(--space-sm);
  max-width: 68ch;
}

/* ─── Detail: Highlights ──────────────────────────────── */
.anb-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.anb-highlights__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  border-radius: 8px;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.anb-highlights__icon {
  width: 18px;
  height: 18px;
  color: var(--color-verified);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Detail: About ───────────────────────────────────── */
.anb-about {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  max-width: 68ch;
  white-space: pre-wrap;
}

/* ─── Detail: Gallery ─────────────────────────────────── */
.anb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.anb-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-alt);
}

.anb-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.anb-gallery__item:hover img {
  transform: scale(1.03);
}

/* ─── Detail: Google Reviews ──────────────────────────── */
.anb-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.anb-review {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.anb-review__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.anb-review__rating {
  display: inline-flex;
  gap: 2px;
}

.anb-review__star {
  color: var(--color-border);
}

.anb-review__star--filled {
  color: var(--color-premium);
}

.anb-review__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.anb-review__text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anb-review__author {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: var(--space-2xs);
}

.anb-attribution {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ─── Sidebar Cards ───────────────────────────────────── */
.anbieter-ranking__sidebar {
  position: sticky;
  top: calc(80px + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Mobile-only sidebar insert within provider list */
.anbieter-sidebar-mobile {
  display: none;
  list-style: none;
}

@media (max-width: 1024px) {
  .anbieter-sidebar-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.sidebar-card--cta {
  background: var(--color-bg);
  border-color: var(--color-primary);
  border-width: 1.5px;
}

.sidebar-card--cta h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.sidebar-card--cta p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.sidebar-card--cta .btn--primary {
  width: 100%;
  justify-content: center;
}

.sidebar-card--cta .btn--primary:hover {
  opacity: 0.9;
}

.sidebar-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.sidebar-card__icon svg {
  width: 100%;
  height: 100%;
}

.sidebar-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.sidebar-card__checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sidebar-card__checks li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-lg);
  position: relative;
}

.sidebar-card__checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(122, 59, 92, 0.1);
  border: 1.5px solid var(--color-primary);
}

.sidebar-card__checks li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--color-primary);
  border-bottom: 1.5px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   STADT-HUB (Kinderwunschkliniken in Berlin, etc.)
   ═══════════════════════════════════════════════════════════ */

/* ─── City Navigation (Kategorie-Seite) ──────────────── */
.city-nav {
  padding: var(--space-md) 0 0;
}

.city-nav__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.city-nav__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.city-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-2xs) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.city-nav__link:hover {
  border-color: var(--color-primary);
  background: rgba(122, 59, 92, 0.04);
}

.city-nav__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ─── City Hub Hero ──────────────────────────────────── */
.city-hub-hero {
  padding: var(--space-xl) 0 var(--space-md);
}

.city-hub-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  margin-top: var(--space-md);
}

.city-hub-hero__count {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ─── City Hub Content (Intro + Sections) ────────────── */
.city-hub-content {
  padding: var(--space-lg) 0 0;
}

.city-hub-content__text {
  max-width: 72ch;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
}

.city-hub-content__text p {
  margin-bottom: var(--space-sm);
}

.city-hub-content__text p:last-child {
  margin-bottom: 0;
}

.city-hub-content__text h2 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

/* ─── City Hub Ranking ───────────────────────────────── */
.city-hub-ranking {
  padding: var(--space-xl) 0 var(--space-lg);
}

.city-hub-ranking h2 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* ─── City Hub FAQ ───────────────────────────────────── */
.city-hub-faq {
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.city-hub-faq h2 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.faq-list {
  max-width: 72ch;
}

.faq-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-2xs);
}

.faq-item__answer {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .city-hub-hero h1 {
    font-size: var(--text-3xl);
  }
}

/* ═══════════════════════════════════════════════════════════
   ANBIETER DETAIL (Profilseite)
   ═══════════════════════════════════════════════════════════ */

/* ─── Detail Hero ─────────────────────────────────────── */
.anb-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.anb-hero__content {
  margin-top: var(--space-md);
}

.anb-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

.anb-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.anb-hero__location,
.anb-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.anb-hero__location svg {
  flex-shrink: 0;
}

.anb-hero__rating {
  color: var(--color-accent);
  font-weight: 600;
}

/* ─── Detail Layout ───────────────────────────────────── */
.anb-layout {
  padding: var(--space-2xl) 0;
}

.anb-layout__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-2xl);
  align-items: start;
}

/* ─── Detail Content — Sections ──────────────────────── */
.anb-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Section card base */
.anb-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
}

/* Section header with icon + title */
.anb-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.anb-section__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.anb-section__header h2 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin: 0;
}

/* ── Leistungen: pill grid ── */
.anb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.anb-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  transition: background var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              color var(--duration-fast) ease;
}

.anb-pill:hover {
  background: rgba(122, 59, 92, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* ── Team: member cards ── */
.anb-team-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.anb-team-member {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) ease;
}

.anb-team-member:hover {
  background: var(--color-bg-warm);
}

.anb-team-member__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.anb-team-member__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

/* ── Kontakt: icon rows ── */
.anb-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: background var(--duration-fast) ease;
}

a.anb-contact-item:hover {
  background: var(--color-bg-warm);
}

.anb-contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-bg-warm);
  flex-shrink: 0;
  margin-top: 1px;
}

.anb-contact-item__icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.anb-contact-item__content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.anb-contact-item__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 500;
}

.anb-contact-item__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  word-break: break-word;
}

a.anb-contact-item .anb-contact-item__value {
  color: var(--color-primary);
}

a.anb-contact-item:hover .anb-contact-item__value {
  color: var(--color-primary-dark);
}

/* ── Öffnungszeiten: schedule table ── */
.anb-hours {
  width: 100%;
  border-collapse: collapse;
}

.anb-hours td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.anb-hours tr:last-child td {
  border-bottom: none;
}

.anb-hours td:first-child {
  font-weight: 500;
  color: var(--color-text);
  width: 120px;
}

.anb-hours td:last-child {
  color: var(--color-text-muted);
  text-align: right;
}

.anb-hours__closed td {
  opacity: 0.5;
}

.anb-hours__badge--closed {
  display: inline-block;
  padding: 2px var(--space-sm);
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ── Standort: Maps link ── */
.anb-map-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  transition: background var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
}

.anb-map-link:hover {
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.anb-map-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.anb-map-link__arrow {
  margin-left: auto;
  opacity: 0.6;
  transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.anb-map-link:hover .anb-map-link__arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* Section without card style (map) */
.anb-section--map {
  background: none;
  border: none;
  padding: 0;
}

/* ─── Detail Sidebar ──────────────────────────────────── */
.anb-sidebar {
  position: sticky;
  top: calc(80px + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.anb-infocard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.anb-infocard h2 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.anb-infocard__row {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.anb-infocard__row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.anb-infocard__row dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xs);
}

.anb-infocard__row dd {
  font-weight: 500;
  font-size: var(--text-sm);
}

.anb-infocard__row dd a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}

.anb-infocard__row dd a:hover {
  color: var(--color-primary-dark);
}

.anb-infocard__rating-bar {
  width: 100%;
  height: 6px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: var(--space-2xs);
}

.anb-infocard__rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 100px;
  transition: width var(--duration-slow) var(--ease-out);
}

.anb-infocard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

/* ─── Vertrauens-Badges (DIR / IVF-Fonds) ─────────────── */
.anb-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2xs);
  margin: var(--space-xs) 0 0;
}

.anb-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(163, 93, 110, 0.12);
  color: #7e4354;
  border: 1px solid rgba(163, 93, 110, 0.3);
}

.anb-trust--fonds {
  background: rgba(122, 59, 92, 0.1);
  color: var(--color-primary-dark);
  border-color: rgba(122, 59, 92, 0.28);
}

.anb-trust__src {
  font-size: 0.72rem;
  opacity: 0.55;
  margin-left: 0.25rem;
}

/* ─── Ähnliche Kliniken (laterale Verlinkung) ─────────── */
.anb-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.anb-related__list a {
  display: block;
  text-decoration: none;
  color: var(--color-text, inherit);
  font-size: 0.92rem;
  line-height: 1.35;
}

.anb-related__list a:hover {
  color: var(--color-primary);
}

.anb-related__city {
  display: block;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ─── Detail CTA Card ─────────────────────────────────── */
.anb-cta-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.anb-cta-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.anb-cta-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 auto var(--space-md);
}

.anb-cta-card .btn {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   MAGAZIN INDEX
   ═══════════════════════════════════════════════════════════ */

/* ─── Magazine Hero ──────────────────────────────────── */
.mag-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.mag-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  margin-top: var(--space-md);
}

.mag-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  max-width: 52ch;
}

/* ─── Featured Article ───────────────────────────────── */
.mag-featured__card {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.mag-featured__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--duration-base) var(--ease-out);
}

.mag-featured__card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.mag-featured__card:hover::before {
  transform: scaleY(1);
}

.mag-featured__body {
  min-width: 0;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mag-featured__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.mag-featured__card h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) ease;
}

.mag-featured__card:hover h2 {
  color: var(--color-primary);
}

.mag-featured__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: var(--space-md);
}

.mag-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.mag-featured__dot {
  color: var(--color-text-light);
}

.mag-featured__img {
  overflow: hidden;
  background: var(--color-bg-alt);
  min-height: 100%;
}

.mag-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

.mag-featured__card:hover .mag-featured__img img {
  transform: scale(1.03);
}

/* ─── Article Grid ───────────────────────────────────── */
.mag-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.mag-article {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mag-article__img {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.mag-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

.mag-article:hover .mag-article__img img {
  transform: scale(1.04);
}

.mag-article__category,
.mag-article h3,
.mag-article__desc {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.mag-article__category {
  margin-top: var(--space-md);
}

.mag-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.mag-article:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.mag-article:hover::before {
  transform: scaleX(1);
}

.mag-article__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.mag-article h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) ease;
}

.mag-article:hover h3 {
  color: var(--color-primary);
}

.mag-article__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.mag-article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-top: auto;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

/* ═══════════════════════════════════════════════════════════
   MAGAZIN BEITRAG (Article Page)
   ═══════════════════════════════════════════════════════════ */

/* ─── Article Hero ───────────────────────────────────── */
.article-hero {
  padding: var(--space-xl) 0 0;
}

.article-hero__content {
  max-width: var(--max-width-content);
  margin-top: var(--space-md);
}

.article-hero__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  padding: var(--space-2xs) var(--space-sm);
  background: rgba(163, 93, 110, 0.08);
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.article-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.article-hero__dot {
  color: var(--color-text-light);
}

/* ─── Article Cover Image ────────────────────────────── */
.article-cover {
  padding-top: var(--space-lg);
}

.article-cover__frame {
  max-width: var(--max-width-content);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--color-bg-alt);
}

.article-cover__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Article Body ───────────────────────────────────── */
.article-body {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.article-body__content {
  max-width: var(--max-width-content);
}

.article-body__content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* Kurzantwort unter der H1 (Frontmatter "kurzantwort") */
.kurzantwort {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.kurzantwort .kurzantwort__label,
.article-body__content .kurzantwort__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.article-body__content .kurzantwort__text {
  margin-bottom: 0;
}

.article-body__content h2:first-child {
  margin-top: 0;
}

.article-body__content p {
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.article-body__content ul,
.article-body__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article-body__content li {
  margin-bottom: var(--space-xs);
  line-height: 1.65;
}

.article-body__content li::marker {
  color: var(--color-primary);
}

.article-body__content h3 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-body__content strong {
  font-weight: 600;
  color: var(--color-text);
}

.article-body__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast) ease;
}

.article-body__content a:hover {
  color: var(--color-primary-dark);
}

.article-body__content img {
  border-radius: var(--radius-lg);
}

.article-body__content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--color-accent);
  background: rgba(163, 93, 110, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body__content blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ─── Article Tables ──────────────────────────────────── */

/* Scroll wrapper — allows wide tables to scroll on mobile
   without breaking the page layout. The wrapper also provides
   the visual container: rounded corners, shadow, background. */
.article-body__content .table-wrap,
.svc-body__content .table-wrap {
  margin: var(--space-lg) 0 var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);

  /* Fade-hint for horizontal scroll on mobile */
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.article-body__content .table-wrap::-webkit-scrollbar,
.svc-body__content .table-wrap::-webkit-scrollbar {
  height: 6px;
}
.article-body__content .table-wrap::-webkit-scrollbar-track,
.svc-body__content .table-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.article-body__content .table-wrap::-webkit-scrollbar-thumb,
.svc-body__content .table-wrap::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.article-body__content table,
.svc-body__content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  table-layout: auto;
}

/* ── Header ──────────────────────────────────── */
.article-body__content thead,
.svc-body__content thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.article-body__content th,
.svc-body__content th {
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border: none;
}

.article-body__content th:first-child,
.svc-body__content th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}
.article-body__content th:last-child,
.svc-body__content th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

/* single-column header edge case */
.article-body__content th:only-child,
.svc-body__content th:only-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ── Body cells ──────────────────────────────── */
.article-body__content td,
.svc-body__content td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  vertical-align: top;
}

/* First column — label style: slightly heavier */
.article-body__content td:first-child,
.svc-body__content td:first-child {
  font-weight: 500;
  color: var(--color-text);
}

/* Subtle alternating row tint for scanability */
.article-body__content tbody tr:nth-child(even) td,
.svc-body__content tbody tr:nth-child(even) td {
  background: rgba(240, 236, 230, 0.35);
}

/* Hover row — warm highlight */
.article-body__content tbody tr:hover td,
.svc-body__content tbody tr:hover td {
  background: rgba(122, 59, 92, 0.04);
  transition: background var(--duration-fast) ease;
}

/* Last row — remove bottom border for clean edge */
.article-body__content tbody tr:last-child td,
.svc-body__content tbody tr:last-child td {
  border-bottom: none;
}

/* Bottom-left and bottom-right corners */
.article-body__content tbody tr:last-child td:first-child,
.svc-body__content tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}
.article-body__content tbody tr:last-child td:last-child,
.svc-body__content tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

/* ── Bold total / summary rows ───────────────── */
/* Rows containing "Gesamt" or bold text get emphasis */
.article-body__content tbody tr td strong,
.svc-body__content tbody tr td strong {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* If the entire first-cell is bold, treat as summary row */
.article-body__content tbody tr:has(td:first-child > strong) td,
.svc-body__content tbody tr:has(td:first-child > strong) td {
  border-top: 2px solid var(--color-primary);
  border-bottom: none;
  background: rgba(122, 59, 92, 0.05);
  font-weight: 600;
}

/* ── Scroll-fade hint (right edge) ───────────── */
/* Shows a soft gradient when the table overflows and is scrollable */
.article-body__content .table-wrap,
.svc-body__content .table-wrap {
  position: relative;
}
.article-body__content .table-wrap::after,
.svc-body__content .table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to right, transparent, var(--color-bg-warm));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}
/* Only show fade when table actually overflows */
.article-body__content .table-wrap.is-overflowing::after,
.svc-body__content .table-wrap.is-overflowing::after {
  opacity: 1;
}
/* Hide fade once user scrolls to the end */
.article-body__content .table-wrap.is-scrolled-end::after,
.svc-body__content .table-wrap.is-scrolled-end::after {
  opacity: 0;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 1024px) {
  .related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .toc__toggle {
    display: flex;
    margin-bottom: 0;
  }

  .toc__title {
    margin-bottom: 0;
  }

  .toc__toggle[aria-expanded="true"] .toc__chevron {
    transform: rotate(180deg);
  }

  .toc__list {
    display: none;
    margin-top: var(--space-sm);
  }

  .toc__toggle[aria-expanded="true"] + .toc__list {
    display: block;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .article-body__content .table-wrap,
  .svc-body__content .table-wrap {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .article-body__content .table-wrap::after,
  .svc-body__content .table-wrap::after {
    border-radius: 0;
    background: linear-gradient(to right, transparent, var(--color-bg));
  }

  .article-body__content table,
  .svc-body__content table {
    font-size: var(--text-xs);
  }

  .article-body__content th,
  .article-body__content td,
  .svc-body__content th,
  .svc-body__content td {
    padding: var(--space-xs) var(--space-sm);
  }

  .article-body__content th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
  }
  .article-body__content th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
  }
  .article-body__content tbody tr:last-child td:first-child {
    border-radius: 0 0 0 var(--radius-sm);
  }
  .article-body__content tbody tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-sm) 0;
  }
}

/* ─── Article Disclaimer ───────────────────────────────── */
.article-disclaimer {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-text-muted);
}

.article-disclaimer p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Author Box ───────────────────────────────────────── */
.author-box {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.author-box__avatar {
  flex-shrink: 0;
}

.author-box__initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.author-box__info {
  flex: 1;
  min-width: 0;
}

.author-box__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.author-box__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.author-box__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.author-box__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Table of Contents ────────────────────────────────── */
.toc {
  margin-bottom: var(--space-lg);
}

.toc__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toc__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-xs);
}

.toc__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 200ms ease;
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
}

.toc__list li {
  counter-increment: toc-counter;
}

.toc__list li a {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  padding: 4px 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.5;
  transition: color 150ms ease;
}

.toc__list li a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 1.5em;
  opacity: 0.5;
}

.toc__list li a:hover {
  color: var(--color-primary);
}

.toc__list li a:hover::before {
  opacity: 1;
}

.toc__list li a.is-active {
  color: var(--color-primary);
  font-weight: 500;
}

.toc__list li a.is-active::before {
  opacity: 1;
}

/* ─── Related Posts ────────────────────────────────────── */
.related-posts {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.related-posts .section__label {
  color: var(--color-accent);
}

.related-posts h2 {
  font-family: var(--font-display);
  margin-bottom: var(--space-xl);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.related-post {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.related-post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.related-post:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.related-post:hover::before {
  transform: scaleX(1);
}

.related-post__img {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--color-bg);
}

.related-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.related-post:hover .related-post__img img {
  transform: scale(1.04);
}

.related-post__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-top: var(--space-md);
  padding: 0 var(--space-lg);
}

.related-post h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0 var(--space-lg);
  margin-top: var(--space-xs);
  line-height: 1.4;
  transition: color 150ms ease;
}

.related-post:hover h3 {
  color: var(--color-primary);
}

.related-post__meta {
  margin-top: auto;
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .anbieter-ranking__layout {
    grid-template-columns: 1fr;
  }

  .anbieter-ranking__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .anb-layout__grid {
    grid-template-columns: 1fr;
  }

  .anb-section {
    padding: var(--space-md) var(--space-lg);
  }

  .anb-team-member__initial {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .anb-contact-item__icon {
    width: 32px;
    height: 32px;
  }

  .anb-hours td:first-child {
    width: 100px;
  }

  .anb-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .anb-cta-card {
    grid-column: 1 / -1;
  }

  .kategorien__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mag-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .kontakt-body__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .kontakt-aside {
    flex-direction: row;
  }

  .kontakt-info-card {
    flex: 1;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }

  /* Disable backdrop-filter when menu open — it creates a containing block
     that traps position:fixed children inside the header */
  .site-header:has(.is-open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 1000;
    padding: var(--space-3xl) var(--space-2xl);
    overflow-y: auto;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    font-size: var(--text-lg);
  }

  .nav__links .nav__cta {
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-lg);
  }

  /* Mobil: beide Rechner fest im Menü, "Rechner" nur als Gruppen-Label */
  .nav__item--drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .nav__drop-toggle {
    pointer-events: none;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
  }

  .nav__drop-toggle svg,
  .nav__item--drop:hover::after,
  .nav__drop-icon,
  .nav__drop-desc {
    display: none;
  }

  .nav__drop {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .nav__item--drop:hover .nav__drop,
  .nav__item--drop:has(:focus-visible) .nav__drop,
  .nav__drop-toggle[aria-expanded="true"] + .nav__drop {
    transform: none;
  }

  .nav__links .nav__drop a {
    padding: 0;
  }

  .nav__links .nav__drop a:hover {
    background: none;
  }

  .nav__drop-title {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-text-muted);
  }

  .nav__drop-gruppe,
  .nav__drop-gruppe ~ .nav__drop-gruppe {
    margin-top: var(--space-xs);
    padding: 0;
    border: 0;
    font-size: var(--text-xs);
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .kategorien__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .how-it-works__grid::before {
    display: none;
  }

  .container + .social-proof__marquee {
    display: none;
  }

  .social-proof__marquee + .social-proof__marquee {
    margin-top: 0;
  }

  .sp-photo {
    flex: 0 0 200px;
    height: 260px;
    margin-right: var(--space-md);
  }

  .sp-review {
    flex: 0 0 260px;
    margin-right: var(--space-md);
  }

  .featured__grid {
    grid-template-columns: 1fr;
  }

  .featured__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .anbieter-ranking__sidebar {
    grid-template-columns: 1fr;
  }

  .anb-sidebar {
    grid-template-columns: 1fr;
  }

  .anbieter-card {
    grid-template-columns: 40px 1fr 24px;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .anbieter-card__rank {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .anbieter-card__desc {
    display: none;
  }

  .mag-grid__list {
    grid-template-columns: 1fr;
  }

  .mag-featured__card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .mag-featured__body {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
  }

  .mag-featured__img {
    order: -1;
  }

  .mag-featured__card h2 {
    font-size: var(--text-xl);
  }

  .article-hero h1,
  .svc-hero h1 {
    max-width: 100%;
  }

  .kontakt-aside {
    flex-direction: column;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

}

@media (max-width: 500px) {
  .kategorien__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .hero__label {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    padding: var(--space-2xs) var(--space-sm);
  }
}

/* ═══════════════════════════════════════════════════════════
   QUIZ / BERATER
   ═══════════════════════════════════════════════════════════ */

.berater-page {
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-xl) var(--gutter);
}
@media (min-width: 768px) {
  .berater-page {
    align-items: center;
  }
}

/* ─── Quiz Container ──────────────────────────────────── */
.quiz {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* ─── Progress Bar ────────────────────────────────────── */
.quiz__progress {
  height: 4px;
  background: var(--color-border-light);
  border-radius: 2px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  width: 0%;
  transition: width var(--duration-slow) var(--ease-out);
}

/* ─── Content Transitions ─────────────────────────────── */
.quiz__content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.quiz__content--exit {
  opacity: 0;
  transform: translateY(8px);
}

.quiz__content--enter {
  animation: quizFadeIn var(--duration-base) var(--ease-out);
}

@keyframes quizFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Back Button ─────────────────────────────────────── */
.quiz__nav {
  margin-top: var(--space-lg);
}

.quiz__back {
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-md);
}

.quiz__back[hidden] {
  display: none !important;
}

/* ─── Welcome Screen ──────────────────────────────────── */
.quiz__welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) 0;
}
@media (max-width: 767px) {
  .quiz__welcome {
    padding-top: 3rem;
  }
}

.quiz__welcome-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(122, 59, 92, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.quiz__welcome-eyebrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.quiz__headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  outline: none;
}

.quiz__subtext {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}

.quiz__trust {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xl);
}

/* ─── Welcome Steps ──────────────────────────────────── */
.quiz__welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  max-width: 420px;
  margin: 0 auto var(--space-lg);
}

.quiz__welcome-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  position: relative;
}
.quiz__welcome-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px;
  top: calc(var(--space-sm) + 28px);
  bottom: 0;
  width: 1px;
  background: var(--color-border-light);
}

.quiz__welcome-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.quiz__welcome-step div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 3px;
}
.quiz__welcome-step strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.quiz__welcome-step span {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ─── Welcome CTA ────────────────────────────────────── */
.quiz__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-sm);
  width: 100%;
  max-width: 420px;
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
}

/* ─── Welcome Footer ─────────────────────────────────── */
.quiz__welcome-footer {
  margin-top: var(--space-md);
  width: 100%;
  max-width: 420px;
}

.quiz__welcome-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.quiz__welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.quiz__welcome-badge svg {
  color: #A35D6E;
  flex-shrink: 0;
}

.quiz__welcome-note {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

/* ─── Question Screen ─────────────────────────────────── */
.quiz__question {
  padding: var(--space-lg) 0;
}

.quiz__question-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
  outline: none;
}

.quiz__question-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ─── Hint Box ────────────────────────────────────────── */
.quiz__hint {
  background: #FBF1F1;
  border-left: 3px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* ─── Option Cards ────────────────────────────────────── */
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.quiz__option {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  text-align: left;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.quiz__option:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.quiz__option--selected {
  border-color: var(--color-primary);
  background: rgba(122, 59, 92, 0.04);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.quiz__option--selected:hover {
  border-color: var(--color-primary);
}

.quiz__option-text {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
}

.quiz__option-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.quiz__option-hint {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-style: italic;
  margin-top: var(--space-2xs);
}

/* ─── Multi-Select Next Button ────────────────────────── */
.quiz__next {
  margin-top: var(--space-lg);
  width: 100%;
}

.quiz__next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Lead Capture ────────────────────────────────────── */
.quiz__lead {
  text-align: center;
  padding: var(--space-lg) 0;
}

.quiz__lead-badge {
  display: inline-block;
  background: rgba(122, 59, 92, 0.1);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.quiz__lead .quiz__headline {
  font-size: var(--text-2xl);
}

.quiz__lead-form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.quiz__field {
  margin-bottom: var(--space-md);
}

.quiz__field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.quiz__optional {
  font-weight: 400;
  color: var(--color-text-light);
}

.quiz__field input[type="text"],
.quiz__field input[type="email"],
.quiz__field input[type="tel"] {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-surface);
  transition: border-color var(--duration-fast);
}

.quiz__field input:focus {
  border-color: var(--color-primary);
  outline: 2px solid transparent;
}

.quiz__field input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.quiz__input--error {
  border-color: #DC2626 !important;
}

.quiz__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  margin-bottom: var(--space-lg);
  text-align: left;
  line-height: 1.5;
}

.quiz__checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  margin-top: 1px;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--duration-fast),
              background-color var(--duration-fast);
}

.quiz__checkbox input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.quiz__checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.quiz__checkbox a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quiz__checkbox--error input[type="checkbox"] {
  border-color: #DC2626;
}

/* Einwilligung (Art. 9 DSGVO) im Lead-Formular */
.quiz__consent {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.quiz__consent .quiz__checkbox {
  margin-bottom: var(--space-xs);
}

.quiz__consent-clinics {
  margin-left: calc(20px + var(--space-sm));
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.quiz__consent-clinics summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quiz__consent-clinics ul {
  margin: var(--space-xs) 0 0;
  padding-left: 1.1em;
}

.quiz__consent-error {
  margin: var(--space-xs) 0 0 calc(20px + var(--space-sm));
  font-size: var(--text-xs);
  color: #DC2626;
}

.quiz__submit {
  width: 100%;
}

.quiz__skip {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}

.quiz__skip:hover {
  color: var(--color-text-muted);
}

.quiz__privacy {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin: var(--space-md) auto 0;
  text-align: center;
  max-width: 400px;
}

.quiz__privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Location Input (q3b) ────────────────────────────── */
.quiz__location-input {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.quiz__text-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-surface);
  transition: border-color var(--duration-fast);
}

.quiz__text-input:focus {
  border-color: var(--color-primary);
  outline: 2px solid transparent;
}

.quiz__text-input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.quiz__text-input::placeholder {
  color: var(--color-text-light);
}

.quiz__suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 10;
  max-height: 240px;
  overflow-y: auto;
}

.quiz__location-input .quiz__field {
  position: relative;
}

.quiz__suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--duration-fast);
}

.quiz__suggestion:hover,
.quiz__suggestion:focus-visible {
  background-color: var(--color-bg-warm);
}

.quiz__suggestion + .quiz__suggestion {
  border-top: 1px solid var(--color-border);
}

.quiz__suggestion-name {
  font-weight: 500;
  color: var(--color-text);
}

.quiz__suggestion-region {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.quiz__location-status {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
  min-height: 1.5em;
}

.quiz__location-input .quiz__next {
  width: 100%;
  margin-top: var(--space-lg);
}

/* ─── Results ─────────────────────────────────────────── */
/* ─── Confirmation Screen ────────────────────────────── */
.quiz__confirm {
  text-align: center;
  padding: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz__confirm-icon {
  margin-bottom: var(--space-lg);
  animation: quizCheckPop 0.5s var(--ease-out) both;
}

@keyframes quizCheckPop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.quiz__confirm .quiz__headline {
  margin-bottom: var(--space-sm);
}

.quiz__confirm .quiz__subtext {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.quiz__confirm-checklist {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-xl);
  max-width: 400px;
  text-align: left;
}

.quiz__confirm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.5;
}

.quiz__confirm-checklist li + li {
  border-top: 1px solid var(--color-border);
}

.quiz__confirm-checklist svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.quiz__confirm-cta {
  display: inline-block;
  text-decoration: none;
}

/* ─── Error State ─────────────────────────────────────── */
.quiz__error {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* ─── Quiz Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .quiz__welcome {
    padding: var(--space-lg) 0;
  }

  .quiz__welcome-eyebrow {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 1.25rem;
  }

  .quiz__headline {
    font-size: var(--text-2xl);
  }

  .quiz__subtext {
    font-size: 13px;
    margin-bottom: var(--space-md);
  }

  .quiz__welcome-steps {
    margin-bottom: var(--space-md);
  }

  .quiz__welcome-badges {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .quiz__confirm {
    padding: var(--space-lg) 0;
  }

  .quiz__confirm-checklist {
    max-width: 100%;
  }
}

/* ─── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .quiz__content,
  .quiz__option,
  .quiz__confirm-icon,
  .quiz__progress-bar {
    transition: none;
  }

  .quiz__content--enter {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   IVF-ERFOLGSRECHNER — Clinical Precision Dashboard
   ═══════════════════════════════════════════════════════════ */

/* ─── Header ──────────────────────────────────────────────── */
.rc-header {
  padding: var(--space-lg) 0 var(--space-md);
}
.rc-header__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}
.rc-header__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.1;
  margin-bottom: 2px;
}
.rc-header__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.rc-header__badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.rc-header__data {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  flex-shrink: 0;
  white-space: nowrap;
}
.rc-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ─── App Layout ──────────────────────────────────────────── */
.rc-app {
  padding-bottom: var(--space-xl);
}
.rc-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* ─── Input Panel ─────────────────────────────────────────── */
.rc-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.rc-group {
  margin: 0;
}
.rc-group--treatment {
  border: none;
  padding: 0;
  margin: 0;
}
.rc-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.rc-label__unit {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ─── Age Input ───────────────────────────────────────────── */
.rc-age {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.rc-age__num {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 6px 8px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  appearance: none;
  font-family: var(--font-body);
}
.rc-age__num:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}
.rc-age__range {
  flex: 1;
  min-width: 140px;
  height: 4px;
  appearance: none;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 50%, #C0392B 100%);
  border-radius: 2px;
  outline: none;
  opacity: 0.7;
}
.rc-age__range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.rc-age__range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  border-color: var(--color-primary-dark);
}
.rc-age__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
  cursor: pointer;
}
.rc-age__scale {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-light);
  padding: 0 2px;
  margin-top: -4px;
  order: 3;
}

/* ─── Info Tooltip ──────────────────────────────────────── */
.rc-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-text-light);
  color: var(--color-text-light);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 6px;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.rc-info:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.rc-info__tip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--color-primary-dark);
  color: #F5F0EB;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  font-family: var(--font-body);
  line-height: 1.5;
  width: 240px;
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 20;
  pointer-events: none;
}
.rc-info__tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1C1917;
}
.rc-info:hover .rc-info__tip {
  display: block;
}
/* Dark variant (inside dark dashboard) */
.rc-info--dark {
  background: rgba(255,255,255,0.12);
  color: rgba(245,240,235,0.5);
  border-color: rgba(255,255,255,0.15);
}
.rc-info--dark:hover {
  background: rgba(255,255,255,0.2);
  color: #F5F0EB;
}
.rc-info--dark .rc-info__tip {
  background: #F5F0EB;
  color: #1C1917;
}
.rc-info--dark .rc-info__tip::after {
  border-top-color: #F5F0EB;
}
.rc-info--sm {
  width: 14px;
  height: 14px;
  font-size: 9px;
  line-height: 14px;
}

/* ─── Segmented Control (Treatment) ──────────────────────── */
.rc-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: none;
  background: none;
}
.rc-seg__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: var(--font-body);
  background: var(--color-surface);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
}
.rc-seg__btn:hover {
  border-color: var(--color-border);
  background: rgba(122, 59, 92, 0.03);
}
.rc-seg__btn strong {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.rc-seg__btn span {
  font-size: 10px;
  line-height: 1.2;
  margin-top: 2px;
  color: var(--color-text-light);
}
.rc-seg__btn--active,
.rechner__option--selected.rc-seg__btn {
  background: rgba(122, 59, 92, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.rc-seg__btn--active:hover,
.rechner__option--selected.rc-seg__btn:hover {
  background: rgba(122, 59, 92, 0.10);
  border-color: var(--color-primary);
}
.rc-seg__btn--active strong,
.rechner__option--selected.rc-seg__btn strong {
  color: var(--color-primary);
  font-weight: 700;
}
.rc-seg__btn--active span,
.rechner__option--selected.rc-seg__btn span {
  color: var(--color-text);
}

/* ─── Optional Fields Accordion ──────────────────────────── */
.rc-optional {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}
.rc-optional__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px var(--space-md);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  list-style: none;
  background: var(--color-bg-alt);
  transition: background 0.15s ease;
}
.rc-optional__toggle::-webkit-details-marker { display: none; }
.rc-optional__toggle:hover {
  background: var(--color-border-light);
}
.rc-optional__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.rc-optional[open] .rc-optional__icon {
  transform: rotate(45deg);
}
.rc-optional__text {
  flex: 1;
}
.rc-optional__badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}
.rc-optional__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-md);
}

/* ─── Compact Inputs ──────────────────────────────────────── */
.rc-group--compact {
  margin: 0;
}
.rc-group--compact .rc-label {
  font-size: 11px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.rc-input,
.rc-select {
  width: 100%;
  padding: 7px 10px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s ease;
  appearance: none;
}
.rc-input:focus,
.rc-select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.rc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

/* ─── Calculate Button ──────────────────────────────────── */
.rc-calculate {
  width: 100%;
  font-size: var(--text-lg);
  margin-top: var(--space-sm);
}

/* ─── Source Footnote ─────────────────────────────────────── */
.rc-source {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.5;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
}
.rc-source a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   RESULTS DASHBOARD (Dark Panel)
   ═══════════════════════════════════════════════════════════ */
.rc-dash {
  position: sticky;
  top: var(--space-lg);
  background: var(--color-primary-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  color: #F5F0EB;
  box-shadow: 0 20px 60px rgba(28, 25, 23, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ─── Dashboard Header ────────────────────────────────────── */
.rc-dash__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rc-dash__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,240,235,0.5);
}
.rc-dash__context {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(245,240,235,0.7);
  font-variant-numeric: tabular-nums;
}

/* ─── Primary KPI (Big Ring + Number) ─────────────────────── */
.rc-dash__primary {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.rc-ring-wrap {
  position: relative;
  flex-shrink: 0;
}
.rc-ring {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 0 12px rgba(122, 59, 92, 0.3));
}
.rc-ring__bg {
  stroke: rgba(255,255,255,0.08);
}
.rc-ring__fill {
  stroke: #C98A86;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.rc-ring__value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: #E6C3BF;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.rc-dash__primary-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rc-dash__primary-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: #F5F0EB;
  line-height: 1.25;
}
.rc-dash__primary-sub {
  font-size: var(--text-xs);
  color: rgba(245,240,235,0.45);
}

/* ─── Secondary KPIs ──────────────────────────────────────── */
.rc-dash__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.rc-dash__kpi {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}
.rc-mini-ring-wrap {
  position: relative;
  flex-shrink: 0;
}
.rc-mini-ring {
  width: 44px;
  height: 44px;
}
.rc-ring__fill--birth {
  stroke: #E6C3BF;
}
.rc-ring__fill--cum {
  stroke: #C98A86;
}
.rc-mini-ring__value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #F5F0EB;
  font-variant-numeric: tabular-nums;
}
.rc-dash__kpi-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.rc-dash__kpi-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(245,240,235,0.85);
}
.rc-dash__kpi-sub {
  font-size: 10px;
  color: rgba(245,240,235,0.4);
  font-variant-numeric: tabular-nums;
}

/* ─── Cumulative Bars (Dark) ──────────────────────────────── */
.rc-dash__cum {
  margin-bottom: var(--space-md);
}
.rc-dash__cum-header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,240,235,0.4);
  margin-bottom: var(--space-sm);
}
.rc-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rc-bar-row {
  display: grid;
  grid-template-columns: 24px 1fr 40px;
  align-items: center;
  gap: 8px;
}
.rc-bar-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(245,240,235,0.4);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rc-bar {
  height: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.rc-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #7A3B5C, #C98A86);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rc-bar-val {
  font-size: 11px;
  font-weight: 700;
  color: #E6C3BF;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* ─── Dashboard Footer ────────────────────────────────────── */
.rc-dash__footer {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.rc-dash__method-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #C98A86;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid rgba(201, 138, 134, 0.3);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.rc-dash__method-link:hover {
  color: #E6C3BF;
  border-color: rgba(230, 195, 191, 0.5);
  background: rgba(201, 138, 134, 0.08);
}

/* ─── Berater CTA (post-result) ────────────────────────────── */
.rc-cta {
  padding: var(--space-lg) 0 var(--space-xl);
}
.rc-cta__card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(122, 59, 92, 0.06) 0%, rgba(122, 59, 92, 0.02) 100%);
  border: 1px solid rgba(122, 59, 92, 0.12);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.rc-cta__card::before { display: none; }
.rc-cta__content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.rc-cta__eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  background: rgba(122, 59, 92, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
}
.rc-cta__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}
.rc-cta__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 460px;
}
.rc-cta__btn {
  margin-bottom: var(--space-xs);
}
.rc-cta__trust {
  display: block;
  font-size: 11px;
  color: var(--color-text-light);
}
.rc-cta__visual {
  position: relative;
  flex-shrink: 0;
}
.rc-cta__ring {
  width: 100px;
  height: 100px;
  opacity: 0.6;
}
.rc-cta__checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 700;
}
@media (max-width: 640px) {
  .rc-cta__card { flex-direction: column; text-align: center; padding: var(--space-lg); }
  .rc-cta__text { max-width: none; }
  .rc-cta__visual { display: none; }
}

/* ─── Rechner FAQ ─────────────────────────────────────────── */
.rechner-faq {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.rechner-faq .section__title {
  margin-bottom: var(--space-lg);
}

.rechner-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rechner-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.rechner-faq__item:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.rechner-faq__item[open] {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 1px var(--color-primary-light);
}

.rechner-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.rechner-faq__item summary::-webkit-details-marker { display: none; }
.rechner-faq__item summary::marker { display: none; content: ""; }

.rechner-faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23786870' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duration-fast) ease;
}

.rechner-faq__item[open] summary::after {
  transform: rotate(180deg);
}

.rechner-faq__answer {
  padding: 0 var(--space-lg) var(--space-md);
}

.rechner-faq__answer p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .rechner-faq__item summary {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }
  .rechner-faq__answer {
    padding: 0 var(--space-md) var(--space-sm);
  }
}

/* ─── Disclaimer (Compact) ────────────────────────────────── */
.rc-disclaimer {
  padding: var(--space-md) 0;
}
.rc-disclaimer__box {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-text-light);
}
.rc-disclaimer__box p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.rc-disclaimer__box a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Desktop: dashboard always visible (hidden removed by JS on load) */
@media (min-width: 1025px) {
  .rc-dash[hidden] {
    display: block;
  }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rc-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .rc-dash {
    position: static;
  }
  /* button already visible */
  .rc-dash[hidden] {
    display: none;
  }
}
@media (max-width: 768px) {
  .rc-header__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .rc-header__badges {
    flex-wrap: wrap;
  }
  .rc-header__title {
    font-size: var(--text-2xl);
  }
  .rc-optional__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .rc-dash {
    border-radius: var(--radius-lg);
    padding: var(--space-md);
  }
  .rc-dash__primary {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .rc-dash__primary-meta {
    align-items: center;
  }
  .rc-dash__secondary {
    grid-template-columns: 1fr;
  }
  .rc-age {
    flex-direction: column;
    align-items: stretch;
  }
  .rc-age__num {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc-ring__fill,
  .rc-bar__fill {
    transition: none;
  }
  .rc-dash {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   METHODIK PAGE — Data Visualization Design
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero ─────────────────────────────────────────────── */
.mt-hero {
  padding: var(--space-xl) 0 var(--space-lg);
}
.mt-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xs);
}
.mt-hero__sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 560px;
  margin-bottom: var(--space-md);
}
.mt-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* ─── Layout: Sticky TOC + Content ─────────────────────── */
.mt-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-xl);
}

/* ─── TOC ─────────────────────────────────────────────── */
.mt-toc nav {
  position: sticky;
  top: calc(80px + var(--space-lg));
  max-height: calc(100vh - 80px - var(--space-xl));
  overflow-y: auto;
}
.mt-toc__heading {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}
.mt-toc__link {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 4px 0 4px 12px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.mt-toc__link:hover {
  color: var(--color-primary);
}
.mt-toc__link--active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 600;
}

/* ─── Content ──────────────────────────────────────────── */
.mt-content {
  max-width: 720px;
}
.mt-section {
  margin-bottom: var(--space-2xl);
}
.mt-section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  scroll-margin-top: 2rem;
}
.mt-section p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.mt-section p a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Dark Card (data viz container) ───────────────────── */
.mt-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}
.mt-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  font-size: 12px;
  color: var(--color-text-light);
}
.mt-card__footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* ─── Key Facts ────────────────────────────────────────── */
.mt-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.mt-fact__val {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
}
.mt-fact__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* ─── Chart Cards (dark) ───────────────────────────────── */
.mt-chart-card {
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  position: relative;
}
.mt-chart-card--dark {
  background: var(--color-primary-dark);
  padding: var(--space-lg);
  color: #F5F0EB;
}
.mt-chart-card__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 235, 0.5);
  margin-bottom: var(--space-md);
}
.mt-chart-card__note {
  font-size: 11px;
  color: rgba(245, 240, 235, 0.35);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* ─── AGE SVG Chart ────────────────────────────────────── */
.mt-age-svg {
  width: 100%;
  height: auto;
  display: block;
}
.mt-grid {
  stroke: rgba(122, 59, 92, 0.12);
  stroke-width: 0.5;
}
.mt-axis-label {
  font-size: 10px;
  fill: var(--color-text-light);
  font-family: var(--font-body);
}
.mt-area {
  fill: url(#age-gradient);
  fill: rgba(122, 59, 92, 0.15);
}
.mt-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linejoin: round;
}
.mt-dot {
  fill: var(--color-primary);
  r: 2.5;
  transition: r 0.15s;
}
.mt-hover-line {
  stroke: rgba(122, 59, 92, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}
.mt-hover-dot {
  fill: var(--color-primary);
  stroke: #fff;
  stroke-width: 2;
}

/* Tooltip */
.mt-tooltip {
  position: absolute;
  background: var(--color-primary-dark);
  color: #F5F0EB;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  white-space: nowrap;
}
.mt-tooltip__sub {
  color: rgba(245, 240, 235, 0.5);
  font-size: 11px;
}

/* ─── Insight Strip ────────────────────────────────────── */
.mt-insight {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}
.mt-insight__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--color-text-muted);
  flex: 1;
}
.mt-insight__highlight {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}
.mt-insight__divider {
  width: 1px;
  height: 32px;
  background: var(--color-border-light);
}

/* ─── Horizontal Bars ──────────────────────────────────── */
.mt-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mt-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: 8px;
}
.mt-bar__cat {
  font-size: 12px;
  color: rgba(245, 240, 235, 0.6);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-bar__track {
  height: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.mt-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #7A3B5C, #C98A86);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.mt-bars--visible .mt-bar__fill {
  width: calc(var(--val) / var(--max, 45) * 100%);
}
.mt-bar__fill--accent {
  background: linear-gradient(90deg, #7A3B5C, #E6C3BF);
  box-shadow: 0 0 12px rgba(122, 59, 92, 0.3);
}
.mt-bar__fill--low { background: #C0392B; }
.mt-bar__fill--mid { background: linear-gradient(90deg, #7A3B5C, #C98A86); }
.mt-bar__fill--high { background: linear-gradient(90deg, #E0A9A5, #E8C2BF); }
.mt-bar__val {
  font-size: 12px;
  font-weight: 600;
  color: rgba(245, 240, 235, 0.8);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.mt-bar__val small {
  font-weight: 400;
  color: rgba(245, 240, 235, 0.4);
  margin-left: 4px;
}
.mt-bar-row--highlight .mt-bar__cat,
.mt-bar-row--highlight .mt-bar__val {
  color: #F5F0EB;
  font-weight: 600;
}

/* Set --max from data-max attribute via CSS custom property */
.mt-bars[data-max="40"] { --max: 40; }
.mt-bars[data-max="45"] { --max: 45; }
.mt-bars[data-max="38"] { --max: 38; }

/* ─── Grouped Bars ─────────────────────────────────────── */
.mt-bars--grouped {
  gap: var(--space-md);
}
.mt-bar-group {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mt-bar-group:last-child { border-bottom: none; padding-bottom: 0; }
.mt-bar-group__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 6px;
}

/* ─── Cumulative Chart ─────────────────────────────────── */
.mt-cum-row {
  display: grid;
  grid-template-columns: 36px 1fr 48px;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mt-cum__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 240, 235, 0.6);
  text-align: right;
}
.mt-cum__track {
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.mt-cum__fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #7A3B5C, #C98A86);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.mt-bars--visible .mt-cum__fill {
  width: calc(var(--val) / 100 * 100%);
}
.mt-cum__milestone {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: rgba(245, 240, 235, 0.5);
  white-space: nowrap;
}
.mt-cum__val {
  font-size: 14px;
  font-weight: 700;
  color: #F5F0EB;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ─── Factor Bars (around 1.0 baseline) ────────────────── */
.mt-bar__track--factor {
  background: rgba(255,255,255,0.04);
}
.mt-bar__fill--factor {
  background: #C98A86;
  width: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.mt-bars--visible .mt-bar__fill--factor {
  width: calc(var(--val) / 1.2 * 100%);
}
.mt-bar__fill--ref {
  background: rgba(245, 240, 235, 0.2);
}
.mt-bar__fill--positive {
  background: #E0A9A5;
}

/* ─── Factors (collapsible sections) ───────────────────── */
.mt-factors {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mt-factor {
  background: var(--color-primary-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mt-factor[open] {
  border-radius: var(--radius-lg);
}
.mt-factor__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  list-style: none;
  color: #F5F0EB;
}
.mt-factor__header::-webkit-details-marker { display: none; }
.mt-factor__header::after {
  content: '+';
  font-size: 16px;
  color: rgba(245, 240, 235, 0.4);
  flex-shrink: 0;
}
.mt-factor[open] > .mt-factor__header::after { content: '\2212'; }
.mt-factor__name {
  font-size: 14px;
  font-weight: 600;
}
.mt-factor__source {
  font-size: 11px;
  color: rgba(245, 240, 235, 0.3);
  margin-left: auto;
  margin-right: var(--space-sm);
}
.mt-factor__body {
  padding: 0 var(--space-md) var(--space-md);
}
.mt-factor__sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 235, 0.35);
  margin: var(--space-sm) 0 4px;
}
/* Factor bar labels use light theme colors in dark cards */
.mt-factor .mt-bar__cat {
  font-size: 12px;
  color: rgba(245, 240, 235, 0.6);
}

/* ─── Formula Card ─────────────────────────────────────── */
.mt-formula-card {
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}
.mt-formula {
  margin-bottom: var(--space-sm);
}
.mt-formula__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 4px;
}
.mt-formula code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: #C98A86;
  background: none;
  display: block;
  line-height: 1.6;
  word-break: break-word;
}
.mt-formula__bounds {
  font-size: 11px;
  color: rgba(245, 240, 235, 0.3);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── Example (collapsible) ────────────────────────────── */
.mt-example {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}
.mt-example > summary {
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  cursor: pointer;
  font-size: var(--text-sm);
  list-style: none;
  color: var(--color-primary);
}
.mt-example > summary::-webkit-details-marker { display: none; }
.mt-example > summary::before {
  content: '▸ ';
}
.mt-example[open] > summary::before { content: '▾ '; }
.mt-example__body {
  padding: 0 var(--space-md) var(--space-md);
}
.mt-example__body p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}
.mt-example__steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mt-example__step {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 4px 8px;
  background: rgba(122, 59, 92, 0.03);
  border-radius: var(--radius-sm);
}
.mt-example__result {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 8px;
  background: rgba(122, 59, 92, 0.08);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}
.mt-example__result strong {
  color: var(--color-primary);
}

/* ─── Limitations ──────────────────────────────────────── */
.mt-limits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.mt-limit {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.mt-limit__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
}
.mt-disclaimer {
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.mt-disclaimer p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ─── References ───────────────────────────────────────── */
.mt-refs h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  margin-top: var(--space-md);
}
.mt-refs h3:first-child { margin-top: 0; }
.mt-ref-list {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.mt-ref-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}
.mt-ref-list a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mt-updated {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .mt-layout {
    grid-template-columns: 1fr;
  }
  .mt-toc {
    position: static;
    margin-bottom: var(--space-md);
  }
  .mt-toc nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-height: none;
    overflow: visible;
  }
  .mt-toc__heading { display: none; }
  .mt-toc__link {
    padding: 8px 12px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    border-left-width: 1px;
    font-size: 13px;
    text-align: center;
  }
  .mt-toc__link--active {
    border-color: var(--color-primary);
    background: rgba(122, 59, 92, 0.08);
  }
}
@media (max-width: 768px) {
  .mt-hero__title { font-size: var(--text-2xl); }
  .mt-bar-row { grid-template-columns: 90px 1fr 52px; }
  .mt-bar__cat { font-size: 11px; }
  .mt-insight { flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-sm); }
  .mt-insight__divider { display: none; }
  .mt-insight__item { flex-direction: row; gap: 6px; }
  .mt-facts { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .mt-factor__source { display: none; }
}
@media (max-width: 480px) {
  .mt-cum-row { grid-template-columns: 28px 1fr 40px; }
  .mt-cum__milestone { display: none; }
  .mt-formula code { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════
   STYLE GUIDE (intern)
   ═══════════════════════════════════════════════════════════ */

/* ─── Table of Contents ──────────────────────────────────── */
.sg-toc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.sg-toc__link {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  color: var(--color-text-muted);
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

.sg-toc__link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

/* ─── Section & Subsection ───────────────────────────────── */
.sg-section h2 {
  margin-bottom: var(--space-xl);
}

.sg-subsection {
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border-light);
}

.sg-subsection--warning {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent-light);
}

/* ─── Color Swatches ─────────────────────────────────────── */
.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.sg-swatch {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-sm) var(--space-md);
  overflow: hidden;
}

.sg-swatch__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}

.sg-swatch__hex {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.sg-swatch--dark .sg-swatch__label,
.sg-swatch--dark .sg-swatch__hex {
  color: rgba(255, 255, 255, 0.9);
}

.sg-swatch--missing {
  border: 2px dashed var(--color-accent);
}

/* ─── Typography Scale ───────────────────────────────────── */
.sg-type-scale {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sg-type-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.sg-type-row__label {
  flex-shrink: 0;
  width: 120px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sg-type-row__sample {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Spacing Scale ──────────────────────────────────────── */
.sg-spacing-scale {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sg-spacing-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.sg-spacing-row__label {
  flex-shrink: 0;
  width: 120px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

.sg-spacing-row__bar {
  height: 24px;
  min-width: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  opacity: 0.6;
}

.sg-spacing-row__value {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  white-space: nowrap;
}

/* ─── Border Radius ──────────────────────────────────────── */
.sg-radii {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: flex-end;
}

.sg-radius-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.sg-radius-box {
  width: 80px;
  height: 80px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
}

.sg-radius-box--wide {
  width: 140px;
  height: 48px;
}

.sg-radius-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}

.sg-radius-item__label--missing {
  color: var(--color-accent);
}

.sg-radius-item__value {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─── Shadows ────────────────────────────────────────────── */
.sg-shadows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.sg-shadow-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.sg-shadow-item__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ─── Button Row ─────────────────────────────────────────── */
.sg-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: flex-start;
}

.sg-button-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sg-button-item__code {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  font-family: monospace;
}

.sg-dark-preview {
  background: var(--color-primary-dark);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

/* ─── Form Grid ──────────────────────────────────────────── */
.sg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.sg-form-col {
  max-width: 460px;
}

/* ─── Tag Row ────────────────────────────────────────────── */
.sg-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

/* ─── Label Preview ──────────────────────────────────────── */
.sg-label-preview {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

/* ─── Style Guide Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .sg-type-row {
    flex-direction: column;
    gap: var(--space-2xs);
  }

  .sg-type-row__label {
    width: auto;
  }

  .sg-form-grid {
    grid-template-columns: 1fr;
  }

  .sg-swatches {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── 404 Error Page ─────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page__content {
  max-width: 540px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.15;
  margin-bottom: var(--space-sm);
}

.error-page h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.error-page p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.error-page__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   PILLAR PAGES (Ratgeber)
   ═══════════════════════════════════════════════════════════ */

/* ─── Pillar Hero ────────────────────────────────────── */
.pillar-hero {
  padding: var(--space-xl) 0 0;
}

.pillar-hero__content {
  margin-top: var(--space-md);
}

.pillar-hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding: var(--space-2xs) var(--space-sm);
  background: rgba(122, 59, 92, 0.08);
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.pillar-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

.pillar-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-md);
}

.pillar-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

/* ─── Pillar Cover Image ─────────────────────────────── */
.pillar-cover {
  padding-top: var(--space-lg);
}

.pillar-cover__frame {
  max-width: var(--max-width);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--color-bg-alt);
}

.pillar-cover__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Pillar Body Layout ─────────────────────────────── */
.pillar-body {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.pillar-body__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-2xl);
  align-items: start;
}

.pillar-body__content {
  max-width: var(--max-width-content);
  min-width: 0;
}

/* ─── Pillar Sidebar ─────────────────────────────────── */
.pillar-body__sidebar {
  position: sticky;
  top: calc(80px + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ─── Pillar TOC (sidebar, always visible) ───────────── */
.pillar-toc {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pillar-toc__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-sm);
}

.pillar-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pillar-toc-counter;
}

.pillar-toc__list li {
  counter-increment: pillar-toc-counter;
}

.pillar-toc__list li a {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  padding: 3px 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.4;
  transition: color 150ms ease;
}

.pillar-toc__list li a::before {
  content: counter(pillar-toc-counter, decimal-leading-zero);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 1.5em;
  opacity: 0.5;
}

.pillar-toc__list li a:hover {
  color: var(--color-primary);
}

.pillar-toc__list li a:hover::before {
  opacity: 1;
}

.pillar-toc__list li a.is-active {
  color: var(--color-primary);
  font-weight: 500;
}

.pillar-toc__list li a.is-active::before {
  opacity: 1;
}

/* ─── Spoke Cards (inline in pillar content) ─────────── */
.spoke-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: stretch;
  gap: 0;
  margin: var(--space-lg) 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.spoke-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 200ms ease;
}

.spoke-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.spoke-card:hover::before {
  transform: scaleY(1);
}

.spoke-card__body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.spoke-card__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-2xs);
}

.spoke-card h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2xs);
  transition: color 150ms ease;
}

.spoke-card:hover h3 {
  color: var(--color-primary);
}

.spoke-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spoke-card__img {
  overflow: hidden;
  background: var(--color-bg-alt);
  min-height: 100%;
}

.spoke-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

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

/* ���── Pillar Disclaimer + Author (constrained width) ── */
.pillar-disclaimer,
.pillar-author {
  max-width: calc(var(--max-width-content) + 2 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.pillar-disclaimer {
  margin-bottom: 0;
}

/* ─── Spoke Articles Grid (bottom section) ───────────── */
.pillar-spokes {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.pillar-spokes .section__label {
  color: var(--color-accent);
}

.pillar-spokes h2 {
  font-family: var(--font-display);
  margin-bottom: var(--space-xl);
}

.pillar-spokes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pillar-spokes__grid .related-post {
  /* Reuse existing related-post card styles */
}

/* ─── Spoke Pillar Banner (in blog posts) ────────────── */
.spoke-pillar-banner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
  background: rgba(122, 59, 92, 0.05);
  border: 1px solid rgba(122, 59, 92, 0.12);
  border-radius: var(--radius-md);
}

.spoke-pillar-banner__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.spoke-pillar-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.spoke-pillar-banner__text a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.spoke-pillar-banner__text a:hover {
  color: var(--color-primary-dark);
}

/* ─── Pillar Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .pillar-body__layout {
    grid-template-columns: 1fr;
  }

  .pillar-body__sidebar {
    position: static;
    order: -1;
  }

  .pillar-spokes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pillar-cover__frame {
    aspect-ratio: 16 / 9;
  }

  .spoke-card {
    grid-template-columns: 100px 1fr;
    gap: var(--space-sm);
  }

  .pillar-spokes__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .spoke-card {
    grid-template-columns: 1fr;
  }

  .spoke-card__img {
    aspect-ratio: 16 / 9;
    max-height: 180px;
  }
}

/* ═══════════════════════════════════════════════════════════
   EISPRUNGRECHNER (nutzt Layout und Eingaben des IVF-Rechners, rc-*)
   ═══════════════════════════════════════════════════════════ */
.er-date {
  font-size: var(--text-base);
  padding: 10px 12px;
  min-height: 46px;
}
.er-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 6px 0 0;
}
.er-range {
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-primary));
}
.er-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
}
.er-pair[hidden] { display: none; }
.er-pair__hint { grid-column: 1 / -1; margin-top: 0; }
.er-optional-hint { padding: 0 var(--space-md) var(--space-md); margin: 0; }
.er-error {
  font-size: var(--text-sm);
  color: #B42318;
  margin: 0;
}

/* ─── Ergebnis (dunkles Panel) ─── */
.er-dash [hidden] { display: none !important; }
.er-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.er-empty__icon {
  width: 48px;
  height: 48px;
  color: #C98A86;
  margin: 0 auto var(--space-md);
  display: block;
}
.er-empty__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #F5F0EB;
  margin: 0 0 var(--space-xs);
}
.er-empty__text {
  font-size: var(--text-sm);
  color: rgba(245, 240, 235, 0.6);
  line-height: 1.6;
  max-width: 34ch;
  margin: 0 auto;
}
.er-hero { margin-bottom: var(--space-md); }
.er-hero__date {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.05;
  color: #F5F0EB;
  margin: 0;
}
.er-hero__sub {
  font-size: var(--text-sm);
  color: rgba(245, 240, 235, 0.6);
  margin: 4px 0 0;
}
.er-window {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(163, 93, 110, 0.16);
  border: 1px solid rgba(224, 169, 165, 0.3);
  margin-bottom: var(--space-md);
}
.er-window__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.55);
}
.er-window__value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #EBCFCC;
  font-variant-numeric: tabular-nums;
}
.er-window__sub {
  font-size: var(--text-xs);
  color: rgba(245, 240, 235, 0.65);
}

/* Kalender */
.er-cal__head,
.er-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.er-cal__head {
  margin-bottom: 4px;
}
.er-cal__head span {
  font-size: 10px;
  text-align: center;
  color: rgba(245, 240, 235, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.er-cal__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 240, 235, 0.7);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.1;
}
.er-cal__day small {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 235, 0.45);
}
.er-cal__day.is-periode { background: rgba(168, 64, 96, 0.32); color: #F2D6D3; }
.er-cal__day.is-fruchtbar { background: rgba(163, 93, 110, 0.32); color: #F6E6E5; }
.er-cal__day.is-beste { background: rgba(224, 169, 165, 0.62); color: #fff; font-weight: 700; }
.er-cal__day.is-eisprung { box-shadow: inset 0 0 0 2px #F5F0EB; font-weight: 700; color: #fff; }
.er-cal__day.is-test { box-shadow: inset 0 0 0 1.5px #C98A86; color: #E6C3BF; }
.er-cal__day.is-heute::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #F5F0EB;
}
.er-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: var(--space-sm) 0 var(--space-md);
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: rgba(245, 240, 235, 0.6);
}
.er-legend li { display: flex; align-items: center; gap: 6px; }
.er-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.er-dot--periode { background: rgba(168, 64, 96, 0.6); }
.er-dot--fruchtbar { background: rgba(163, 93, 110, 0.6); }
.er-dot--beste { background: #E0A9A5; }
.er-dot--eisprung { box-shadow: inset 0 0 0 2px #F5F0EB; }
.er-dot--test { box-shadow: inset 0 0 0 1.5px #C98A86; }

.er-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
}
.er-fact {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}
.er-fact dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
  margin-bottom: 4px;
}
.er-fact dd {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #F5F0EB;
}
.er-note {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(245, 240, 235, 0.85);
  background: rgba(201, 138, 134, 0.12);
  border-left: 3px solid #C98A86;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-xs) var(--space-sm);
  margin: 0 0 var(--space-md);
}
.er-cycles__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
  margin: 0 0 6px;
}
.er-cycles__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.er-cycles__list li {
  display: grid;
  grid-template-columns: 6.5em 1fr auto;
  gap: var(--space-sm);
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-sm);
  color: rgba(245, 240, 235, 0.85);
  font-variant-numeric: tabular-nums;
}
.er-cycles__month { color: rgba(245, 240, 235, 0.5); }
.er-cycles__o { color: rgba(245, 240, 235, 0.55); }
.er-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
  padding: 11px var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(230, 195, 191, 0.45);
  color: #E6C3BF;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background 0.15s ease;
}
.er-jump:hover { background: rgba(201, 138, 134, 0.1); }

/* ─── Karten: Kinderwunsch-Check und Kalender-Export ─── */
.er-section { padding-bottom: var(--space-lg); }
.er-section[hidden] { display: none; }
.er-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.er-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 4px;
}
.er-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin: 0 0 6px;
}
.er-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}
.er-check {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
}
.er-pills {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.er-pills legend { margin-bottom: 8px; }
.er-pills label { position: relative; }
.er-pills input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.er-pills span {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.er-pills label:hover span { border-color: var(--color-primary-light); }
.er-pills input:checked + span {
  border-color: var(--color-primary);
  background: rgba(122, 59, 92, 0.08);
  color: var(--color-primary-dark);
  font-weight: 600;
}
.er-pills input:focus-visible + span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.er-ampel {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}
.er-ampel[hidden] { display: none; }
.er-ampel__light {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--color-text-light);
}
.er-ampel__title {
  font-weight: 700;
  margin: 0 0 4px;
}
.er-ampel__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}
.er-ampel__text a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.er-ampel__cta { margin-top: var(--space-sm); }
.er-ampel--gruen { background: var(--color-verified-bg); }
.er-ampel--gruen .er-ampel__light { background: var(--color-verified); box-shadow: 0 0 0 4px rgba(122, 59, 92, 0.18); }
.er-ampel--gelb { background: var(--color-premium-bg); }
.er-ampel--gelb .er-ampel__light { background: var(--color-premium); box-shadow: 0 0 0 4px rgba(201, 138, 134, 0.18); }
.er-ampel--rot { background: rgba(122, 59, 92, 0.08); }
.er-ampel--rot .er-ampel__light { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(122, 59, 92, 0.18); }

.er-card--export {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-xl);
  border-color: rgba(122, 59, 92, 0.25);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF4F4 100%);
}
.er-export__intro { grid-column: 1 / -1; }
.er-checks {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.er-checks[hidden], .er-checks li[hidden] { display: none; }
.er-checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-sm);
  line-height: 1.45;
  cursor: pointer;
}
.er-checks input {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
}
.er-checks small { color: var(--color-text-muted); font-size: inherit; }
.er-export__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-self: end;
}
.er-export__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.er-export__help {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── Ratgeber-Teil ─── */
.er-content__inner { max-width: var(--max-width-content); }
.er-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
  margin: var(--space-xl) 0 var(--space-sm);
}
.er-content h2:first-child { margin-top: 0; }
.er-content p,
.er-content li {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
}
.er-content p { margin: 0 0 var(--space-sm); }
.er-content ul { padding-left: 1.2em; margin: 0 0 var(--space-sm); }
.er-content li { margin-bottom: 6px; }
.er-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.er-content .rechner-faq__answer p { font-size: var(--text-sm); color: var(--color-text-muted); }
.er-sources { padding-left: 1.2em; }
.er-sources li { font-size: var(--text-xs); line-height: 1.6; color: var(--color-text-muted); }
.er-content__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-md); }

@media (max-width: 768px) {
  .er-check,
  .er-card--export { grid-template-columns: 1fr; }
  .er-facts { grid-template-columns: 1fr 1fr; }
  .er-facts .er-fact:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .er-cal__day { min-height: 34px; font-size: 12px; border-radius: 6px; }
  .er-cal__head, .er-cal__grid { gap: 3px; }
  .er-cycles__list li { grid-template-columns: 1fr; gap: 0; }
  .er-pair { grid-template-columns: 1fr 1fr; }
}
.er-export__help a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.er-ampel__cta[hidden] { display: none; }
.er-export__btn.btn--large { padding-left: var(--space-md); padding-right: var(--space-md); }

/* Eisprungrechner: Chancen-Rechner (R04) */
.er-chance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
  margin-top: var(--space-md);
}
.er-chance__titel {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 2px;
}
.er-chance__hint { margin: 0 0 var(--space-sm); }
.er-chance__tage {
  list-style: none;
  margin: 0;
  padding: 0;
}
.er-chance__tage li {
  display: grid;
  grid-template-columns: 8em 1fr 3.4em;
  align-items: center;
  gap: var(--space-sm);
  padding: 7px 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.er-chance__datum {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.er-chance__datum:empty { display: none; }
.er-chance__balken {
  height: 8px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.er-chance__balken i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-primary));
}
.er-chance__wert {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.er-chance__kum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin: 0;
}
.er-chance__kum div {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}
.er-chance__kum dt {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.er-chance__kum dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  color: var(--color-primary);
}
.er-chance__alter {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.er-chance__eingabe {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-xs) 0 var(--space-sm);
}
.er-chance__eingabe .rc-label { margin: 0; }
.er-chance__eingabe .rc-input { width: 6.5em; }
.er-chance__ergebnis {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
}
.er-chance__ergebnis[hidden] { display: none; }
.er-chance__tabelle {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}
.er-chance__tabelle caption {
  text-align: left;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-bottom: 6px;
}
.er-chance__tabelle th,
.er-chance__tabelle td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: right;
}
.er-chance__tabelle th:first-child { text-align: left; font-weight: 500; }
.er-chance__tabelle thead th { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); }
.er-chance__tabelle tr.is-aktiv th,
.er-chance__tabelle tr.is-aktiv td { background: rgba(122, 59, 92, 0.08); font-weight: 700; color: var(--color-primary); }
.er-chance .er-hint a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) {
  .er-chance__grid { grid-template-columns: 1fr; }
}

/* Periodenrechner (R04): Bausteine des Eisprungrechners, dazu frühere Perioden, möglicher Beginn und lange Liste */
.er-legend li[hidden],
.er-cycles__list li[hidden] { display: none; }
.er-cal__day.is-moeglich { background: rgba(168, 64, 96, 0.14); box-shadow: inset 0 0 0 1.5px rgba(201, 138, 134, 0.7); color: #F2D6D3; }
.er-dot--moeglich { background: rgba(168, 64, 96, 0.2); box-shadow: inset 0 0 0 1.5px rgba(201, 138, 134, 0.9); }

/* Schwangerschaftstest-Rechner (R06): Einnistungsfenster und erster Frühtest-Tag im Kalender */
.er-cal__day.is-einnistung { background: rgba(201, 138, 134, 0.26); color: #F6E6E5; }
.er-cal__day.is-fruehtest { box-shadow: inset 0 0 0 1.5px rgba(201, 138, 134, 0.6); color: #E6C3BF; }
.er-cal__day.is-einnistung.is-fruehtest { box-shadow: inset 0 0 0 1.5px rgba(245, 240, 235, 0.55); }
.er-dot--einnistung { background: rgba(201, 138, 134, 0.5); }
.er-dot--fruehtest { box-shadow: inset 0 0 0 1.5px rgba(201, 138, 134, 0.6); }
.pr-frueher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-md);
}
.pr-frueher__hint,
.pr-frueher__ergebnis { grid-column: 1 / -1; margin: 0; }
.pr-frueher__ergebnis { font-size: var(--text-sm); font-weight: 600; }
.pr-frueher__ergebnis[hidden] { display: none; }
.pr-mehr {
  margin-top: 4px;
  padding: 6px 0;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #E6C3BF;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pr-mehr:hover { color: #F5F0EB; }

/* Eisprungrechner: Block „Woran du deinen Eisprung erkennst“ im Ergebnis (R04) */
.er-zeichen { margin: var(--space-md) 0 var(--space-sm); }
.er-zeichen__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.er-zeichen__list li {
  padding: 7px 0 7px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(245, 240, 235, 0.85);
  position: relative;
}
.er-zeichen__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C98A86;
}
.er-zeichen__list a,
.er-zeichen__mehr a { color: #E6C3BF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.er-zeichen__list a:hover,
.er-zeichen__mehr a:hover { color: #F5F0EB; }
.er-zeichen__mehr { margin: 6px 0 0; font-size: var(--text-sm); color: rgba(245, 240, 235, 0.5); }

/* Druckvorlagen (R04): Karten mit Druck-Button auf Periodenrechner und im Basaltemperatur-Artikel */
.pr-druck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
  flex-wrap: wrap;
}
.pr-druck__text { flex: 1 1 320px; }
.pr-druck__btn,
.druck-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.druck-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}
.druck-box__text { flex: 1 1 280px; }
.druck-box__text p { margin: 0; font-size: var(--text-sm); line-height: 1.6; }
.article-body__content .druck-box__text p.druck-box__titel,
.druck-box__titel { font-weight: 600; font-size: var(--text-base); margin-bottom: 4px; }
@media (max-width: 768px) {
  .pr-druck__btn,
  .druck-box__btn { width: 100%; }
  .pr-druck__btn { padding-left: var(--space-sm); padding-right: var(--space-sm); font-size: var(--text-base); }
}

/* Druckbereich: nur im Druck sichtbar, alles andere wird beim Drucken ausgeblendet (static/js/druck.js) */
.druck { display: none; }
@media print {
  body.is-druck { background: #fff !important; padding: 0 !important; margin: 0 !important; }
  body.is-druck > *:not(.druck) { display: none !important; }
  body.is-druck .druck {
    display: block;
    color: #1C1917;
    font-family: var(--font-body);
    font-size: 9pt;
    line-height: 1.35;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .druck p { max-width: none; }
  .druck h1 { font-family: var(--font-display); font-weight: 400; font-size: 20pt; line-height: 1.1; margin: 0 0 1.5mm; color: #2E1A27; }
  .druck h2 { font-family: var(--font-body); font-size: 10pt; font-weight: 700; margin: 0 0 0.5mm; color: #2E1A27; }
  .druck__sub { margin: 0 0 4mm; color: #57534E; }
  .druck__fuss { margin: 3mm 0 0; font-size: 7.5pt; color: #78716C; }
  .druck__legende,
  .druck .er-legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5mm 5mm;
    margin: 3mm 0 0;
    padding: 0;
    font-size: 8pt;
    color: #44403C;
  }
  .druck__legende li { display: flex; align-items: center; gap: 1.5mm; }
  .druck__legende-text { margin: 2mm 0 0; font-size: 7.5pt; color: #44403C; }

  /* Farben für Papier: Periode kräftig, fruchtbar hell, beste Tage mittel, Eisprung mit Rahmen, Testtag gestrichelt */
  .druck .er-dot { width: 3.2mm; height: 3.2mm; border-radius: 1mm; display: inline-block; box-shadow: none; }
  .druck .er-dot--periode,
  .druck-kal .is-periode,
  .druck-tafel .is-periode,
  .druck-tafel__muster.is-periode { background: #C97A8E; color: #fff; }
  .druck .er-dot--fruchtbar,
  .druck-kal .is-fruchtbar,
  .druck-tafel .is-fruchtbar,
  .druck-tafel__muster.is-fruchtbar { background: #F3DCDF; }
  .druck .er-dot--beste,
  .druck-kal .is-beste { background: #E4AEB6; }
  .druck .er-dot--eisprung,
  .druck-kal .is-eisprung,
  .druck-tafel .is-eisprung,
  .druck-tafel__muster.is-eisprung { box-shadow: inset 0 0 0 0.6mm #7A3B5C; font-weight: 700; }
  .druck .er-dot--test,
  .druck-kal .is-test { box-shadow: inset 0 0 0 0.35mm #7A3B5C; outline: 0.3mm dashed #7A3B5C; outline-offset: -1.2mm; }
  .druck-tafel .is-moeglich,
  .druck-tafel__muster.is-moeglich { background: #FBEFF1; box-shadow: inset 0 0 0 0.35mm #C97A8E; }

  /* Eisprungkalender: 3 Zyklen untereinander, Wochenraster */
  .druck-zyklus { break-inside: avoid; margin: 0 0 4mm; }
  .druck-zyklus__fakten { margin: 0 0 1.5mm; color: #44403C; font-size: 8.5pt; }
  .druck-kal__kopf,
  .druck-kal__tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.8mm; }
  .druck-kal__kopf span { text-align: center; font-size: 7.5pt; color: #78716C; padding-bottom: 0.5mm; }
  .druck-kal__tage span {
    height: 7.5mm;
    border: 0.2mm solid #E7E2DC;
    border-radius: 1mm;
    padding: 0.6mm 1mm;
    font-size: 8.5pt;
    font-variant-numeric: tabular-nums;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }
  .druck-kal__tage span small { font-size: 6pt; color: inherit; opacity: 0.8; line-height: 1; }
  .druck-kal__tage .is-leer { border-color: transparent; }

  /* Zykluskalender: 12 Monate × 31 Tage, Querformat */
  .druck-tafel { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 7.5pt; }
  .druck-tafel th,
  .druck-tafel td { border: 0.2mm solid #D6D0C9; height: 10.5mm; padding: 0; text-align: center; }
  .druck-tafel thead th { height: 5mm; font-weight: 600; color: #57534E; }
  .druck-tafel thead th:first-child,
  .druck-tafel tbody th { width: 21mm; text-align: left; padding-left: 1.5mm; font-weight: 600; }
  .druck-tafel thead th:last-child { width: 15mm; font-size: 6.5pt; }
  .druck-tafel .is-leer { background: #EFEBE6; }
  .druck-tafel__muster { width: 4mm; height: 3.2mm; display: inline-block; border: 0.2mm solid #D6D0C9; }

  /* Basaltemperaturkurve und Zyklusblatt: 40 Zyklustage, Querformat */
  .druck-basal__kopf { display: flex; gap: 6mm; margin: 0 0 3mm; font-size: 8.5pt; color: #44403C; }
  .druck-basal__kopf span { flex: 1; border-bottom: 0.2mm solid #A8A29E; padding-bottom: 3mm; }
  .druck-basal { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 6.5pt; font-variant-numeric: tabular-nums; }
  .druck-basal th,
  .druck-basal td { border: 0.15mm solid #E2DCD5; padding: 0; text-align: center; }
  .druck-basal th[scope="row"] { width: 24mm; text-align: right; padding-right: 1.5mm; font-weight: 600; color: #57534E; }
  .druck-basal thead th { height: 4.5mm; color: #57534E; }
  .druck-basal__text td,
  .druck-basal__text th { height: 6mm; }
  .druck-basal__notiz td,
  .druck-basal__notiz th { height: 12mm; }
  .druck-basal__temp td,
  .druck-basal__temp th { height: 3.9mm; border-top-color: #EFEBE6; }
  .druck-basal__temp.is-zehntel td,
  .druck-basal__temp.is-zehntel th { border-top: 0.25mm solid #B8B0A8; }
}

/* Eisprungrechner: Kinderwunsch-Begleiter */
.er-card--begleiter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-xl);
  align-items: start;
}
.er-bg-info { margin-top: var(--space-sm); }
.er-bg-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.er-bg-form .rc-label { margin-bottom: 0; }
.er-bg-form [hidden] { display: none !important; }
.er-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.er-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
  cursor: pointer;
}
.er-consent input {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
}
.er-consent a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.er-bg-success {
  margin: 0;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-verified-bg);
  color: var(--color-verified);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .er-card--begleiter { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HEBEL 6: Klinikfinder, Stadtseiten-Vergleich, Stadt-Links
   ═══════════════════════════════════════════════════════════ */
.anbieter-ranking__list > li[hidden] { display: none !important; }

.cat-hero__intro {
  max-width: 62ch;
  margin-top: var(--space-sm);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Klinikfinder */
.finder {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.finder__loc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.finder__input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  font-size: var(--text-base);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
}
.finder__input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.finder__go { min-height: 44px; }
.finder__near {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.finder__near:hover { background: rgba(122, 59, 92, 0.06); }
.finder__near[hidden] { display: none; }
.finder__filters {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.finder__group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.finder__chip {
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.finder__chip:hover { border-color: var(--color-primary-light); }
.finder__chip.is-active {
  border-color: var(--color-primary);
  background: rgba(122, 59, 92, 0.08);
  color: var(--color-primary-dark);
  font-weight: 600;
}
.finder__chip:focus-visible,
.finder__near:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.finder__status {
  margin: var(--space-xs) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.finder__status:empty { display: none; }
.finder-km {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 100px;
  background: rgba(163, 93, 110, 0.14);
  color: var(--color-verified);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

/* Ratgeber-Teil des Klinikfinders */
.finder-guide__inner { max-width: var(--max-width-content); }
.finder-guide h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: var(--space-xl) 0 var(--space-sm);
}
.finder-guide h2:first-child { margin-top: 0; }
.finder-guide h3 {
  font-size: var(--text-lg);
  margin: var(--space-lg) 0 var(--space-xs);
}
.finder-guide__list {
  padding-left: 1.2em;
  margin: 0;
}
.finder-guide__list li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.finder-guide a,
.hub-compare a,
.hub-method a,
.city-hub-faq .faq-item__answer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Stadtseiten: Leistungen im Vergleich */
.hub-compare h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}
.hub-table__wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.hub-table__wrap:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.hub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 720px;
}
.hub-table th,
.hub-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
  white-space: nowrap;
}
.hub-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
}
.hub-table tbody th {
  text-align: left;
  font-weight: 600;
  white-space: normal;
  min-width: 200px;
}
.hub-table tbody th a {
  color: var(--color-text);
  text-decoration: none;
}
.hub-table tbody th a:hover { color: var(--color-primary); text-decoration: underline; }
.hub-table thead th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
}
.hub-table tbody th {
  position: sticky;
  left: 0;
  background: var(--color-surface);
}
.hub-table tbody tr:last-child th,
.hub-table tbody tr:last-child td { border-bottom: 0; }
.hub-yes { color: var(--color-verified); font-weight: 700; }
.hub-na { color: var(--color-text-light); }
.hub-rating small { color: var(--color-text-muted); }
.hub-table__notes {
  margin: var(--space-sm) 0 0;
  padding-left: 1.1em;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.hub-method { margin-top: var(--space-xl); }
.hub-more { margin-top: var(--space-sm); }

/* Klinikprofil: Link zur Stadtseite */
.anb-hublink a {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.45;
}
.anb-hublink a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Footer: Stadtseiten */
.footer__cities {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-light);
}
.footer__cities a { color: inherit; text-decoration: underline; text-decoration-color: rgba(168, 162, 158, 0.4); text-underline-offset: 3px; }
.footer__cities a:hover { color: var(--color-text); }

@media (max-width: 640px) {
  .finder { padding: var(--space-sm); }
  .finder__go { flex: 1 1 auto; }
  .finder__near { flex: 1 1 100%; justify-content: center; }
}

/* Social Freezing: Städte und Rechtslage (Hebel 7) */
.sf-city-nav { margin: var(--space-sm) 0 var(--space-lg); }
.sf-city {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
  scroll-margin-top: 90px;
}
.sf-city h3 { margin: 0 0 6px; font-size: var(--text-lg); }
.sf-city p { margin: 0 0 8px; }
.sf-city__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}
.sf-city__list a { font-weight: 500; }
.sf-city__more { font-size: var(--text-sm); }
.finder-guide h2[id] { scroll-margin-top: 90px; }
.sf-law {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.sf-law__item {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.sf-law__item h3 { margin: 0 0 6px; font-size: var(--text-base); }
.sf-law__item p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }
.cat-hero__intro a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) {
  .sf-law { grid-template-columns: 1fr; }
}

/* Kosten und Termin anfragen (Hebel 7) */
.anb-hero__anfrage { margin-top: var(--space-md); }
.anb-anfrage {
  border-color: rgba(122, 59, 92, 0.35);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF4F4 100%);
}
.anb-anfrage p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; margin: 0 0 var(--space-sm); }
.anb-anfrage__btn { width: 100%; }
.anbieter-card__anfrage {
  display: inline-block;
  margin: 6px 0 0 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
}
.anbieter-card__anfrage:hover { text-decoration: underline; text-underline-offset: 2px; }

.anfrage-dialog {
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 30px 80px rgba(28, 25, 23, 0.35);
}
.anfrage-dialog::backdrop { background: rgba(28, 25, 23, 0.55); }
.anfrage-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}
.anfrage-form [hidden] { display: none !important; }
.anfrage-form h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin: 0;
  padding-right: 36px;
}
.anfrage-form__intro { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.anfrage-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 16px;
  cursor: pointer;
}
.anfrage-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.anfrage-form__field { display: flex; flex-direction: column; gap: 4px; margin: 0; border: 0; padding: 0; min-width: 0; }
.anfrage-form__field > label,
.anfrage-form__field legend { font-size: var(--text-sm); font-weight: 600; }
.anfrage-form__field label span { font-weight: 400; color: var(--color-text-muted); }
.anfrage-form input[type="text"],
.anfrage-form input[type="email"],
.anfrage-form input[type="tel"],
.anfrage-form textarea,
.anfrage-form .rc-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  font: inherit;
  font-size: var(--text-sm);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
.anfrage-form textarea { resize: vertical; min-height: 72px; }
.anfrage-form input:focus,
.anfrage-form textarea:focus,
.anfrage-form .rc-select:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.anfrage-form [aria-invalid="true"] { border-color: #B42318; }
.anfrage-form__checks { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
.anfrage-form__checks legend { width: 100%; margin-bottom: 4px; }
.anfrage-form__checks label { display: inline-flex; gap: 6px; align-items: center; font-size: var(--text-sm); }
.anfrage-form input[type="checkbox"] { accent-color: var(--color-primary); width: 18px; height: 18px; flex-shrink: 0; }
.anfrage-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-xs); line-height: 1.55; color: var(--color-text-muted); cursor: pointer; }
.anfrage-form__consent input { margin-top: 1px; }
.anfrage-form__consent a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.anfrage-form__error { margin: 0; font-size: var(--text-sm); color: #B42318; }
.anfrage-form__submit { width: 100%; }
.anfrage-form__done { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-sm) 0; }
.anfrage-form__done p { margin: 0; line-height: 1.6; }
@media (max-width: 560px) {
  .anfrage-form { padding: var(--space-md); }
  .anfrage-form__row { grid-template-columns: 1fr; }
}
.sf-law__src { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; }

/* Service-Seiten: Klinikfinder je Leistung (Hebel 8) */
.svc-finder { padding: var(--space-lg) 0 var(--space-xl); }
.svc-finder h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin: 0 0 var(--space-xs); }
.svc-finder__intro { max-width: 70ch; color: var(--color-text-muted); line-height: 1.6; margin: 0 0 var(--space-md); }
.svc-finder__intro a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.finder__more { display: block; margin: var(--space-md) auto 0; }
.finder__more[hidden] { display: none; }

/* Krankenkassen-Vergleich und Kostenrechner (Hebel 8) */
.kassen-table { min-width: 720px; }
.kassen-mehr { font-weight: 700; color: var(--color-verified); white-space: nowrap !important; }
.kassen-table th, .kassen-table td { white-space: normal; text-align: left; vertical-align: top; line-height: 1.5; }
.kassen-table tbody th { min-width: 150px; }
.kassen-table td { min-width: 130px; }
.kassen-table td.kassen-mehr { min-width: 0; width: 1%; }
.kassen-table td:nth-child(3) { min-width: 220px; }
.kassen-table td small { display: block; margin-top: 4px; line-height: 1.45; color: var(--color-text-muted); }
.kassen-src { font-size: var(--text-xs); }
.kassen-src a { color: var(--color-primary); }
.kassen-src small { color: var(--color-text-muted); }
.kr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-md) 0 var(--space-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(122, 59, 92, 0.25);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF4F4 100%);
}
.kr__inputs { display: flex; flex-direction: column; gap: var(--space-sm); }
.kr [hidden] { display: none !important; }
.kr__label { font-size: var(--text-sm); font-weight: 600; }
.kr__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--radius-md); background: var(--color-bg-alt, #F1ECE6); }
.kr__seg label { position: relative; margin: 0; cursor: pointer; }
.kr__seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kr__seg span { display: block; padding: 9px 6px; border-radius: calc(var(--radius-md) - 2px); text-align: center; font-size: var(--text-sm); font-weight: 600; color: #57534E; transition: background .15s, color .15s; }
.kr__seg input:checked + span { background: #fff; color: var(--color-text); box-shadow: 0 1px 3px rgba(28, 25, 23, .12); }
.kr__seg input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.kr__row { display: flex; flex-direction: column; gap: 4px; }
.kr__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.kr__row--split > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kr__row--split > div[hidden] { display: none; }
/* Felder einer Zeile unten bündig, auch wenn ein Label öfter umbricht */
.kr__row--split > div { justify-content: flex-end; }
/* Auswahlfelder mit langen Optionstexten über die volle Breite */
.kr__row--split > .kr__full { grid-column: 1 / -1; }
.kr__info summary { cursor: pointer; font-size: var(--text-xs); font-weight: 600; color: var(--color-primary); }
.kr__info[open] summary { margin-bottom: 4px; }
.kr label { font-size: var(--text-sm); font-weight: 600; }
.kr .rc-input, .kr .rc-select { min-height: 42px; font-size: var(--text-sm); }
.kr__hint { margin: 0; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }
.kr__steuer { border-top: 1px solid var(--color-border-light); padding-top: var(--space-sm); }
.kr__steuer summary { cursor: pointer; font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); margin-bottom: var(--space-sm); }
.kr__steuer[open] summary { margin-bottom: var(--space-sm); }
.kr__result { align-self: start; padding: var(--space-md); border-radius: var(--radius-lg); background: var(--color-primary-dark); color: #F5F0EB; }
.kr__result[hidden] { display: none; }
.kr__result dl { margin: 0; }
.kr__result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.kr__result dt { font-size: var(--text-sm); color: rgba(245, 240, 235, 0.7); }
.kr__result dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.kr__sum dt { color: #F5F0EB; font-weight: 700; }
.kr__sum dd { font-size: var(--text-lg); color: #E6C3BF; }
.kr__sum--final dd { font-size: var(--text-xl); color: #EBCFCC; }
.kr__notes { margin: var(--space-sm) 0 0; padding-left: 1.1em; font-size: var(--text-xs); line-height: 1.55; color: rgba(245, 240, 235, 0.75); }
.kr__notes li { margin-bottom: 4px; }
.kr__disclaimer { margin: var(--space-sm) 0 0; font-size: 11px; line-height: 1.5; color: rgba(245, 240, 235, 0.5); }
@media (max-width: 860px) {
  .kr { grid-template-columns: 1fr; padding: var(--space-md); }
}
@media (max-width: 480px) {
  .kr__row--split { grid-template-columns: 1fr; }
}
/* Hub-/Kassen-Tabellen im Service-Layout: Zeilenköpfe nicht wie dunkle Tabellenköpfe stylen */
.svc-body__content .hub-table tbody th,
.svc-body__content .hub-table tbody th:first-child {
  color: var(--color-text);
  background: var(--color-surface);
  text-transform: none;
  letter-spacing: normal;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 1px solid var(--color-border-light);
}
.svc-body__content .hub-table tbody th a { color: var(--color-text); }

/* Krankenkassen-Vergleich: Grafiken, Kennzahlen, Hero (Hebel 8) */
.kue-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); margin: var(--space-md) 0 var(--space-lg); }
.kue-fact { padding: var(--space-md); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 4px; }
.kue-fact strong { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; color: var(--color-primary); font-weight: 400; }
.kue-fact span { font-size: var(--text-xs); line-height: 1.45; color: var(--color-text-muted); }
.kue-chart { margin: var(--space-lg) 0; padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.kue-chart figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--space-sm); }
.kue-chart figcaption strong { font-size: var(--text-base); }
.kue-chart figcaption span { font-size: var(--text-xs); color: var(--color-text-muted); }
.kue-chart svg { width: 100%; height: auto; display: block; }
.kue-chart__label { font: 600 13px var(--font-body); fill: #1C1917; }
.kue-chart__val { font: 700 13px var(--font-body); fill: #44403C; }
.kue-chart__in { font: 600 12px var(--font-body); fill: #fff; }
.kue-chart__legend { margin: var(--space-sm) 0 0; font-size: var(--text-xs); line-height: 1.6; color: var(--color-text-muted); }
.kue-chart__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.kue-chart__legend i:first-child { margin-left: 0; }
.kue-map__body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--space-md); align-items: center; }
.kue-map__list p { margin: 0 0 10px; font-size: var(--text-sm); line-height: 1.5; }
.kue-map__list i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.kue-map__tile rect { stroke: #fff; stroke-width: 2; }
.kue-map__tile text { font: 700 15px var(--font-body); fill: #fff; }
.kue-map__tile.is-ja rect, .kue-dot-ja { fill: #A35D6E; background: #A35D6E; }
.kue-map__tile.is-stopp rect, .kue-dot-stopp { fill: #C98A86; background: #C98A86; }
.kue-map__tile.is-nein rect, .kue-dot-nein { fill: #D6D3D1; background: #D6D3D1; }
.kue-map__tile.is-nein text { fill: #57534E; }
.kue-content img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); margin: var(--space-md) 0; }
.kue-hero { display: grid; gap: var(--space-md); align-items: center; margin-bottom: var(--space-md); }
.kue-hero:has(.kue-hero-media) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-xl); }
.kue-hero .svc-hero__content { margin-bottom: 0; }
.kue-hero-media { margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; }
.kue-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kue-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.kue-cta:not(:has(a)) { display: none; }
@media (max-width: 768px) {
  .kue-facts { grid-template-columns: 1fr 1fr; }
  .kue-map__body { grid-template-columns: 1fr; }
  .kue-map__body svg { max-width: 320px; margin: 0 auto; }
  .kue-hero:has(.kue-hero-media) { grid-template-columns: 1fr; gap: var(--space-md); }
  .kue-hero-media { aspect-ratio: 16 / 10; }
  .kue-cta .btn { flex: 1 1 100%; }
}
#kostenrechner, #kassen-vergleich, #transfer-rechner { scroll-margin-top: 90px; }
/* ─── AMH-Wert-Tabelle (Hebel 9) ─── */
#amh-tabelle { scroll-margin-top: 90px; }
.amh-tool { margin: var(--space-md) 0 var(--space-lg); padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.amh-controls { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); align-items: flex-end; margin-bottom: var(--space-sm); }
.amh-control { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.amh-control label, .amh-control__label { font-size: var(--text-sm); font-weight: 600; }
.amh-control .rc-select { min-height: 42px; font-size: var(--text-sm); }
.amh-unit { grid-template-columns: repeat(2, 1fr); min-width: 200px; }
.amh-info { margin: 0 0 var(--space-sm); padding: 10px 14px; border-radius: var(--radius-md); background: #F6E9E8; color: #3D2234; font-size: var(--text-sm); line-height: 1.55; }
.amh-info[hidden] { display: none; }
.amh-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.amh-table caption { caption-side: top; text-align: left; font-weight: 600; padding-bottom: 8px; }
.amh-table th, .amh-table td { padding: 9px 10px; border-bottom: 1px solid var(--color-border-light); text-align: right; white-space: nowrap; }
.amh-table th:first-child, .amh-table td:first-child { text-align: left; }
.amh-table thead th { font-size: var(--text-xs); text-transform: none; color: var(--color-text-muted); font-weight: 600; }
.amh-table td.amh-median { font-weight: 700; color: var(--color-primary); }
.amh-table td.amh-n { color: var(--color-text-muted); }
.amh-table tr.is-amh-aktiv th, .amh-table tr.is-amh-aktiv td { background: #F6E9E8; }
/* Zeilenköpfe im Tabellenkörper wie normale Zellen (globale th-Regel färbt sonst dunkel) */
.svc-body__content .amh-table tbody th { background: transparent; color: var(--color-text); text-transform: none; letter-spacing: 0; font-size: var(--text-sm); font-weight: 600; border-radius: 0; border-bottom: 1px solid var(--color-border-light); padding: 9px 10px; }
.svc-body__content .amh-table thead th { text-align: right; padding: 9px 10px; color: #fff; }
.svc-body__content .amh-table thead th:first-child { text-align: left; }
.svc-body__content .amh-table tbody tr:nth-child(even) th { background: rgba(240, 236, 230, 0.35); }
.svc-body__content .amh-table tbody tr.is-amh-aktiv th, .svc-body__content .amh-table tbody tr.is-amh-aktiv td { background: #F6E9E8; }
.svc-body__content .amh-table tbody tr.is-amh-aktiv th { color: var(--color-primary-dark); box-shadow: inset 4px 0 0 var(--color-primary); }
.amh-note { margin: var(--space-sm) 0 0; font-size: var(--text-xs); line-height: 1.55; color: var(--color-text-muted); }
.amh-chart svg { max-width: 640px; }
.amh-dir .table-wrap + .table-wrap { margin-top: var(--space-md); }
.amh-chart__grid { stroke: var(--color-border-light); stroke-width: 1; }
.amh-chart__tick { font: 500 11px var(--font-body); fill: #78716C; }
.amh-chart__label { font: 600 12px var(--font-body); fill: #44403C; }
.amh-chart__val { font: 700 12px var(--font-body); fill: #7A3B5C; }
.amh-chart__whisker { stroke: #CDB0B4; stroke-width: 2; }
.amh-chart__band { fill: #E6C3BF; }
.amh-chart__median { stroke: #7A3B5C; stroke-width: 3; }
.amh-chart__group.is-amh-aktiv .amh-chart__band { fill: #D29A96; }
@media (max-width: 768px) {
  .amh-control, .amh-unit { min-width: 0; width: 100%; }
  .amh-table th, .amh-table td { padding: 8px 7px; }
  .amh-tool .table-wrap { margin-left: calc(var(--space-md) * -1); margin-right: calc(var(--space-md) * -1); padding-left: var(--space-md); }
  .amh-tool .table-wrap::after { background: linear-gradient(to right, transparent, var(--color-surface)); }
  .amh-table thead th { white-space: normal; }
  .table-wrap:has(> .amh-table) { container-type: inline-size; }
  .amh-table caption { max-width: min(100cqi, 100vw - var(--gutter) * 2); }
}
@media (max-width: 600px) {
  .amh-chart__tick, .amh-chart__label, .amh-chart__val { font-size: 20px; }
}
.amh-chart__val { paint-order: stroke; stroke: var(--color-surface); stroke-width: 4px; stroke-linejoin: round; }
.rc-cta__link { display: inline-block; margin: var(--space-sm) 0 0 var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════
   GEBURTSTERMIN-RECHNER NACH TRANSFER (Hebel 10, nutzt rc-* und er-*)
   ═══════════════════════════════════════════════════════════ */
#transfer-rechner [hidden] { display: none !important; }
.rc-seg.tr-seg-5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rc-seg.tr-seg-3 { grid-template-columns: repeat(3, 1fr); }
.tr-seg-5 .rc-seg__btn, .tr-seg-3 .rc-seg__btn { padding: 10px 2px; }
.er-facts.tr-facts { grid-template-columns: 1fr 1fr; }
.er-facts.tr-facts .er-fact:last-child { grid-column: auto; }
.er-fact dd.tr-fact__sub { font-size: 11px; font-weight: 400; color: rgba(245, 240, 235, 0.55); margin-top: 3px; line-height: 1.4; }
.er-fact dd.tr-fact__sub a { color: #F5F0EB; text-decoration: underline; text-underline-offset: 2px; }
.tr-progress { margin: 0 0 var(--space-md); }
/* Balken in Tagen ab der rechnerischen Periode: 1. Trimester bis 13+6 (98 Tage), dann bis 40+0 (280 Tage) */
.tr-progress__bar {
  position: relative;
  display: grid;
  grid-template-columns: 98fr 182fr;
  gap: 3px;
  height: 10px;
}
.tr-progress__tri { border-radius: 5px; background: rgba(255, 255, 255, 0.08); }
.tr-progress__tri--1 { background: rgba(201, 138, 134, 0.45); }
.tr-progress__tri--2 { background: rgba(201, 138, 134, 0.2); }
.tr-progress__mark {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  margin-left: -2px;
  border-radius: 2px;
  background: #F5F0EB;
  box-shadow: 0 0 0 3px rgba(201, 138, 134, 0.5);
}
.tr-progress__scale {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: rgba(245, 240, 235, 0.55);
  font-variant-numeric: tabular-nums;
}
.tr-progress__tick { position: absolute; left: 35%; transform: translateX(-50%); }
.tr-timeline li { grid-template-columns: 7.5em 1fr auto; }
/* Vergangene Termine gedimmt, aber mit mindestens 4,5:1 Kontrast auf dem dunklen Panel */
.tr-timeline li.is-done, .tr-timeline li.is-done .er-cycles__month, .tr-timeline li.is-done .er-cycles__o { color: rgba(245, 240, 235, 0.5); }
.tr-timeline li.is-next span:nth-child(2) { color: #F5F0EB; font-weight: 600; }
.tr-timeline li.is-next .er-cycles__month { color: #E6C3BF; }
.tr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); margin-top: var(--space-md); }
.tr-weiter,
.er-weiter { margin: var(--space-sm) 0 var(--space-lg); font-size: var(--text-sm); line-height: 1.5; }
.tr-weiter a,
.er-weiter a { color: #E6C3BF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tr-weiter a:hover,
.er-weiter a:hover { color: #F5F0EB; }
.er-weiter { margin-bottom: 0; }
.tr-actions .er-jump { margin-top: 0; }
button.er-jump { background: none; font-family: var(--font-body); cursor: pointer; }
#tr-results a:focus-visible, #tr-results button:focus-visible { outline-color: #E6C3BF; }
#tr-ics-msg:empty { margin-top: calc(var(--space-sm) * -1); }
.tr-content__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0 0 var(--space-md); }
/* Tabellen aus build.js (Formel, SSW, hCG): Zeilenköpfe hell wie bei der AMH-Tabelle, nicht wie Spaltenköpfe */
.tr-table caption { caption-side: top; text-align: left; font-weight: 600; font-size: var(--text-sm); line-height: 1.45; padding: var(--space-sm) var(--space-md) 8px; }
.svc-body__content .tr-table tbody th {
  background: transparent; color: var(--color-text); text-transform: none; letter-spacing: 0;
  font-size: var(--text-sm); font-weight: 600; white-space: nowrap; vertical-align: top;
  border-radius: 0; border-bottom: 1px solid var(--color-border-light); padding: var(--space-sm) var(--space-md);
}
.svc-body__content .tr-table tbody tr:nth-child(even) th { background: rgba(240, 236, 230, 0.35); }
.svc-body__content .tr-table tbody tr:hover th { background: rgba(122, 59, 92, 0.04); }
.svc-body__content .tr-table tbody tr:last-child th { border-bottom: none; border-radius: 0 0 0 var(--radius-md); }
@media (max-width: 768px) {
  .tr-table caption { padding: 0 0 8px; }
  .svc-body__content .tr-table tbody th { font-size: var(--text-xs); padding: var(--space-xs) var(--space-sm); }
  .table-wrap:has(> .tr-table) { container-type: inline-size; }
  .tr-hcg td { min-width: 9em; }
  .tr-hcg td:last-child { min-width: 20em; }
  .tr-table caption { max-width: min(100cqi, 100vw - var(--gutter) * 2); }
}
@media (max-width: 480px) {
  .tr-timeline li { grid-template-columns: 1fr auto; gap: 0 var(--space-sm); }
  .tr-timeline li .er-cycles__month { grid-column: 1 / -1; }
  .tr-actions { grid-template-columns: 1fr; }
  .tr-seg-5 .rc-seg__btn span { display: none; }
  .tr-seg-5 .rc-seg__btn strong { font-size: var(--text-sm); }
}

/* IVF-Rechner: weitere Rechner und Entscheidungshilfen */
.rc-more { padding: 0 0 var(--space-lg); }
.rc-more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.rc-more__card {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); text-decoration: none; color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rc-more__card:hover { border-color: var(--color-primary); box-shadow: 0 2px 10px rgba(122, 59, 92, 0.08); }
.rc-more__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); }
.rc-more__title { font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.rc-more__title::after { content: ' →'; color: var(--color-primary); }
@media (max-width: 768px) { .rc-more__list { grid-template-columns: 1fr; } }
#transfer-rechner fieldset.rc-group { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
#transfer-rechner fieldset.rc-group > legend { padding: 0; }

/* Samenbanken-Vergleich (Hebel 11) */
.sb-guide h2 { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.2; margin: var(--space-xl) 0 var(--space-sm); }
.sb-guide h2:first-child { margin-top: 0; }
.sb-guide h3 { margin: var(--space-lg) 0 var(--space-xs); }
.sb-guide p, .sb-guide li { line-height: 1.7; }
.sb-guide a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.sb-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sb-table caption { text-align: left; font-weight: 600; padding: 0 0 var(--space-xs); color: var(--color-text); }
.sb-table th, .sb-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--color-border-light); }
.sb-table thead th { background: #44403C; color: #fff; font-size: 12px; letter-spacing: 0.03em; }
.sb-table tbody th { font-weight: 600; min-width: 11em; }
.sb-table tbody tr:nth-child(even) th, .sb-table tbody tr:nth-child(even) td { background: rgba(240, 236, 230, 0.35); }
.sb-table td { min-width: 9em; }
.sb-note { display: block; font-weight: 400; font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.sb-list { padding-left: 1.2em; }
.sb-list li { margin-bottom: 6px; }
.sb-guide .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--space-sm) 0 var(--space-md); }
.finder-guide__inner.sb-guide { max-width: 1120px; }
.sb-guide > p, .sb-guide > ul, .sb-guide > ol, .sb-guide > h2, .sb-guide > h3, .sb-guide > .sf-city, .sb-guide > .city-nav__grid { max-width: var(--max-width-content); }
.sb-table th, .sb-table td { padding: 9px 10px; }
.sb-table tbody th { min-width: 9.5em; }
.sb-table td { min-width: 7.5em; }

/* Klinikprofil: Auf einen Blick mit geprüften Angaben der Klinik-Website (Hebel 13) */
.anb-facts { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); }
.anb-facts h2 { font-family: var(--font-display); font-size: var(--text-xl); margin: 0 0 var(--space-sm); }
.anb-facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-lg); margin: 0; }
.anb-facts__row { padding: 10px 0; border-top: 1px solid var(--color-border-light); }
.anb-facts__row dt { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 3px; }
.anb-facts__row dd { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--color-text); }
.anb-facts__row dd a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.anb-facts__row dd .tag { margin: 2px 4px 2px 0; display: inline-block; }
.anb-facts__src-link { font-size: 11px; color: var(--color-text-muted) !important; margin-left: 4px; }
.anb-facts__note { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; margin: var(--space-sm) 0 0; }
.anb-facts__note a { color: var(--color-primary); }
@media (max-width: 640px) { .anb-facts__grid { grid-template-columns: 1fr; } .anb-facts { padding: var(--space-md); } }

/* ═══ Startseite: Städte als Bildkacheln ═══ */
.city-tiles__header { max-width: 640px; margin-bottom: var(--space-xl); }
.city-tiles__header h2 { margin: 6px 0 var(--space-xs); }
.city-tiles__header p:last-child { color: var(--color-text-muted); margin: 0; }
.city-tiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.city-tiles__item--big { grid-column: span 2; grid-row: span 2; }
.city-tile { position: relative; display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.city-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); z-index: -2; }
.city-tile__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 25, 23, 0) 35%, rgba(28, 25, 23, 0.72) 100%); }
.city-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.city-tile__land { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.city-tile__name { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; }
.city-tiles__item--big .city-tile__name { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.city-tile__meta { font-size: var(--text-sm); font-weight: 600; color: #F3E1DF; margin-top: 4px; }
.city-tile:hover, .city-tile:focus-visible { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.city-tile:hover .city-tile__img, .city-tile:focus-visible .city-tile__img { transform: scale(1.05); }
.city-tile:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.city-tiles__more { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.city-mini { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); text-decoration: none; color: var(--color-text); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.city-mini:hover, .city-mini:focus-visible { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.city-mini__img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.city-mini__img--initial { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, #C98A86 0%, #7A3B5C 60%, #5A2B45 100%); }
.city-mini__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.city-mini__name { font-weight: 600; font-size: var(--text-base); line-height: 1.2; }
.city-mini__meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.city-mini__arrow { color: var(--color-primary); font-weight: 600; transition: transform 0.2s ease; }
.city-mini:hover .city-mini__arrow { transform: translateX(3px); }
.city-tiles__finder { margin: var(--space-lg) 0 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.city-tiles__finder a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.city-tiles__finder a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .city-tiles__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .city-tiles__more { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .city-tiles__grid { grid-auto-rows: 160px; gap: 10px; }
  .city-tiles__item--big { grid-row: span 2; }
  .city-tile__body { padding: 12px 14px; }
  .city-tile__shade { background: linear-gradient(180deg, rgba(28, 25, 23, 0) 25%, rgba(28, 25, 23, 0.78) 100%); }
  .city-tile__name { font-size: 1.5rem; }
  .city-tiles__item--big .city-tile__name { font-size: 2.3rem; }
  .city-tiles__item:not(.city-tiles__item--big) .city-tile__land { display: none; }
  .city-tiles__item:not(.city-tiles__item--big) .city-tile__meta { font-size: 12px; }
  .city-tiles__more { grid-template-columns: 1fr 1fr; gap: 8px; }
  .city-mini { padding: 6px 8px 6px 6px; gap: 8px; }
  .city-mini__img { width: 40px; height: 40px; border-radius: 9px; }
  .city-mini__img--initial { font-size: 1.25rem; }
  .city-mini__name { font-size: var(--text-sm); }
  .city-mini__meta { font-size: 11px; }
  .city-mini__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .city-tile, .city-tile__img, .city-mini, .city-mini__arrow { transition: none; }
}
@media (max-width: 560px) {
  .city-tiles__item:not(.city-tiles__item--big) .city-tile__meta-long, .city-mini__land { display: none; }
}

/* ═══ Startseite: Fachbereiche als redaktioneller Index ═══ */
.fach { position: relative; }
.fach__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.fach__aside { position: sticky; top: 112px; }
.fach__aside h2 { margin: 8px 0 14px; }
.fach__lead { color: var(--color-text-muted); max-width: 36ch; margin: 0; line-height: 1.65; }
.fach-stage { position: relative; margin: 40px 0 0; max-width: 400px; }
.fach-stage::before { content: ''; position: absolute; top: -14px; left: -14px; right: 14px; aspect-ratio: 4 / 5; border: 1px solid rgba(122, 59, 92, 0.35); border-radius: 999px 999px 22px 22px; pointer-events: none; }
.fach-stage__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: #EDE4DB; box-shadow: 0 30px 60px -30px rgba(46, 26, 39, 0.45); }
.fach-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.6s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fach-stage__img:first-child { opacity: 1; transform: scale(1); }
.fach-stage__caps { position: relative; height: 1.7em; margin-top: 18px; font-size: var(--text-sm); color: var(--color-text-muted); }
.fach-stage__cap { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; white-space: nowrap; }
.fach-stage__cap:first-child { opacity: 1; transform: none; }
.fach-stage__cap em { font-family: var(--font-display); font-style: italic; font-size: 1.15em; color: var(--color-primary); margin-right: 6px; }
.fach-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.fach-row { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto 46px; align-items: center; column-gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; isolation: isolate; }
.fach-row::before { content: ''; position: absolute; inset: 0 -20px; z-index: -1; background: linear-gradient(90deg, rgba(122, 59, 92, 0.07), rgba(122, 59, 92, 0) 75%); opacity: 0; transition: opacity 0.35s ease; border-radius: 6px; }
.fach-row__thumb { display: none; }
.fach-row__num { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; color: rgba(122, 59, 92, 0.45); transition: color 0.3s ease, transform 0.35s ease; }
.fach-row__main { display: block; min-width: 0; }
.fach-row__title { font-family: var(--font-display); font-size: clamp(1.65rem, 2.3vw, 2.2rem); line-height: 1.08; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; padding-bottom: 3px; transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease; }
.fach-row__desc { display: block; margin-top: 8px; max-width: 48ch; font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }
.fach-row__count { display: flex; flex-direction: column; align-items: flex-end; }
.fach-row__num-big { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.fach-row__unit { margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.fach-row__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--color-border); display: grid; place-items: center; color: var(--color-primary); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fach-row:hover::before, .fach-row:focus-visible::before { opacity: 1; }
.fach-row:hover .fach-row__title, .fach-row:focus-visible .fach-row__title { background-size: 100% 1px; color: var(--color-primary); }
.fach-row:hover .fach-row__num, .fach-row:focus-visible .fach-row__num { color: var(--color-primary); transform: translateX(4px); }
.fach-row:hover .fach-row__go, .fach-row:focus-visible .fach-row__go { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateX(4px); }
.fach-row:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }

.fach__layout:has(.fach-index__item:nth-child(2) .fach-row:hover) .fach-stage__img:nth-child(2), .fach__layout:has(.fach-index__item:nth-child(2) .fach-row:focus-visible) .fach-stage__img:nth-child(2) { opacity: 1; transform: scale(1); }
.fach__layout:has(.fach-index__item:nth-child(2) .fach-row:hover) .fach-stage__cap:nth-child(2), .fach__layout:has(.fach-index__item:nth-child(2) .fach-row:focus-visible) .fach-stage__cap:nth-child(2) { opacity: 1; transform: none; }
.fach__layout:has(.fach-index__item:nth-child(3) .fach-row:hover) .fach-stage__img:nth-child(3), .fach__layout:has(.fach-index__item:nth-child(3) .fach-row:focus-visible) .fach-stage__img:nth-child(3) { opacity: 1; transform: scale(1); }
.fach__layout:has(.fach-index__item:nth-child(3) .fach-row:hover) .fach-stage__cap:nth-child(3), .fach__layout:has(.fach-index__item:nth-child(3) .fach-row:focus-visible) .fach-stage__cap:nth-child(3) { opacity: 1; transform: none; }
.fach__layout:has(.fach-index__item:nth-child(4) .fach-row:hover) .fach-stage__img:nth-child(4), .fach__layout:has(.fach-index__item:nth-child(4) .fach-row:focus-visible) .fach-stage__img:nth-child(4) { opacity: 1; transform: scale(1); }
.fach__layout:has(.fach-index__item:nth-child(4) .fach-row:hover) .fach-stage__cap:nth-child(4), .fach__layout:has(.fach-index__item:nth-child(4) .fach-row:focus-visible) .fach-stage__cap:nth-child(4) { opacity: 1; transform: none; }
.fach__layout:has(.fach-index__item:nth-child(5) .fach-row:hover) .fach-stage__img:nth-child(5), .fach__layout:has(.fach-index__item:nth-child(5) .fach-row:focus-visible) .fach-stage__img:nth-child(5) { opacity: 1; transform: scale(1); }
.fach__layout:has(.fach-index__item:nth-child(5) .fach-row:hover) .fach-stage__cap:nth-child(5), .fach__layout:has(.fach-index__item:nth-child(5) .fach-row:focus-visible) .fach-stage__cap:nth-child(5) { opacity: 1; transform: none; }
.fach__layout:has(.fach-index__item:nth-child(6) .fach-row:hover) .fach-stage__img:nth-child(6), .fach__layout:has(.fach-index__item:nth-child(6) .fach-row:focus-visible) .fach-stage__img:nth-child(6) { opacity: 1; transform: scale(1); }
.fach__layout:has(.fach-index__item:nth-child(6) .fach-row:hover) .fach-stage__cap:nth-child(6), .fach__layout:has(.fach-index__item:nth-child(6) .fach-row:focus-visible) .fach-stage__cap:nth-child(6) { opacity: 1; transform: none; }
.fach__layout:has(.fach-index__item:not(:first-child) .fach-row:hover) .fach-stage__img:first-child, .fach__layout:has(.fach-index__item:not(:first-child) .fach-row:focus-visible) .fach-stage__img:first-child { opacity: 0; transform: scale(1.06); }
.fach__layout:has(.fach-index__item:not(:first-child) .fach-row:hover) .fach-stage__cap:first-child, .fach__layout:has(.fach-index__item:not(:first-child) .fach-row:focus-visible) .fach-stage__cap:first-child { opacity: 0; transform: translateY(6px); }
@media (max-width: 960px) {
  .fach__layout { grid-template-columns: 1fr; gap: 28px; }
  .fach__aside { position: static; }
  .fach-stage { display: none; }
  .fach-row { grid-template-columns: 64px minmax(0, 1fr) 38px; grid-template-areas: "thumb main go" "thumb count go"; column-gap: 16px; padding: 18px 0; align-items: center; }
  .fach-row__num { display: none; }
  .fach-row__thumb { display: block; grid-area: thumb; width: 64px; height: 80px; object-fit: cover; border-radius: 999px 999px 10px 10px; align-self: start; }
  .fach-row__main { grid-area: main; }
  .fach-row__title { font-size: 1.45rem; }
  .fach-row__desc { font-size: 13px; margin-top: 4px; }
  .fach-row__count { grid-area: count; flex-direction: row; align-items: baseline; gap: 6px; margin-top: 8px; }
  .fach-row__num-big { font-size: 1.25rem; }
  .fach-row__unit { margin-top: 0; }
  .fach-row__go { grid-area: go; width: 38px; height: 38px; }
  .fach-row::before { inset: 0 -12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fach-stage__img, .fach-stage__cap, .fach-row__title, .fach-row__num, .fach-row__go, .fach-row::before { transition: none; }
}


/* ═══ Startseite: Hero mit Suche (Variante 3, 04.10.2026) ═══ */
.hs { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); background: #F6F1EB; border-bottom: 1px solid #E6DED5; }
.hs__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.015em; margin: 0; max-width: 15em; color: var(--color-text); }
.hs__title em { font-style: italic; color: var(--color-primary); }
.hs__lead { margin: 16px 0 0; font-size: 1.15rem; color: #57534E; }
.hs-panel { margin-top: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid #E4DDD5; border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -42px rgba(46, 26, 39, 0.5); }
.hs-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; border-bottom: 1px solid #EFEAE4; overflow-x: auto; scrollbar-width: none; }
.hs-tabs::-webkit-scrollbar { display: none; }
.hs-tab { flex: none; border: 0; background: none; padding: 10px 16px; border-radius: 9px; font: inherit; font-size: 15px; font-weight: 600; color: #6B5A63; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.hs-tab:hover { color: var(--color-text); background: #F7F2EC; }
.hs-tab[aria-selected="true"] { background: #F3ECE5; color: var(--color-primary); }
.hs-tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.hs-pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; padding: 12px 4px 4px; }
.hs-pane[hidden] { display: none; }
#hs-pane-klinik { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.hs-field { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border: 1px solid #E4DDD5; border-radius: 12px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.hs-field:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(122, 59, 92, 0.12); }
.hs-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8A7A83; }
.hs-field input, .hs-field select { width: 100%; border: 0; outline: 0; padding: 2px 0; font: inherit; font-size: 1.02rem; color: var(--color-text); background: transparent; appearance: none; -webkit-appearance: none; }
.hs-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237A3B5C' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 22px; cursor: pointer; }
.hs-go { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 0 28px; min-height: 58px; background: var(--color-primary); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.2s ease; }
.hs-go:hover { background: #632F4B; }
.hs-go:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.hs-pane--berater { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.hs-pane--berater p { margin: 0; padding: 0 10px; font-size: 1rem; line-height: 1.55; color: #57534E; }
.hs-cities { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hs-cities__label { font-size: 13px; color: #6B5A63; margin-right: 4px; }
.hs-cities a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid #E4DDD5; border-radius: 999px; background: #fff; color: var(--color-text); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s ease; }
.hs-cities a:hover { border-color: var(--color-primary); }
.hs-cities img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.hs-cities small { font-weight: 400; color: #8A7A83; }
@media (max-width: 860px) {
  .hs-pane, #hs-pane-klinik, .hs-pane--berater { grid-template-columns: 1fr; }
  .hs-pane--berater p { padding: 4px 4px 2px; }
}
@media (max-width: 560px) {
  .hs__title { font-size: 2.45rem; }
  .hs__lead { font-size: 1rem; }
  .hs-tab { padding: 9px 12px; font-size: 14px; }
  .hs-cities a { font-size: 13px; }
}

/* Fachbereiche mobil: Nummer statt Bild je Zeile */
@media (max-width: 960px) {
  .fach-row { grid-template-columns: 2.2rem minmax(0, 1fr) 38px; grid-template-areas: "num main go" "num count go"; }
  .fach-row__thumb { display: none; }
  .fach-row__num { display: block; grid-area: num; align-self: start; font-size: 1.3rem; padding-top: 4px; }
}

/* ─── Hebel 14: Partner-Box, Testbeginn-Tabelle, Datenstudie, Tracker-Vergleich ─── */
.aff { margin: var(--space-lg) 0 var(--space-xl); padding: 18px 20px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.article-body__content .aff__label { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.aff__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article-body__content .aff__list { padding-left: 0; }
.aff__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name btn" "text btn"; column-gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--color-border-light); }
.aff__item:first-child { border-top: 0; padding-top: 0; }
.aff__name { grid-area: name; font-weight: 600; }
.aff__text { grid-area: text; font-size: var(--text-sm); color: var(--color-text-muted); }
.aff__btn { grid-area: btn; display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--color-primary); border-radius: 999px; color: var(--color-primary); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.aff__btn:hover { background: var(--color-primary); color: #fff; }
.article-body__content .aff__note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 560px) {
  .aff__item { grid-template-columns: 1fr; grid-template-areas: "name" "text" "btn"; row-gap: 4px; }
  .aff__btn { justify-self: start; margin-top: 6px; }
}

.article-body__content table.ovu-start caption, .article-body__content table.pst caption, .article-body__content table.tvg caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.article-body__content table.ovu-start tr.is-mark td { background: #F7EEED; font-weight: 600; }
.article-body__content .ovu-start__hint { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: -12px; }

.pst-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 20px 20px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.pst-fig svg { display: block; width: 100%; height: auto; }
.pst-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
.pst-fig .pst-row-label { font: 600 13px var(--font-body); fill: var(--color-text); }
.pst-fig .pst-row-sub { font: 400 11.5px var(--font-body); fill: var(--color-text-muted); }
.pst-fig .pst-axis { stroke: var(--color-border); stroke-width: 1; }
.pst-fig .pst-tick { font: 400 10.5px var(--font-body); fill: var(--color-text-light); }
.pst-fig .pst-ref { stroke: var(--color-primary); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pst-fig .pst-band { fill: rgba(122, 59, 92, 0.08); }
.pst-fig .pst-dot { fill: var(--color-text-light); fill-opacity: 0.55; }
.pst-fig .pst-dot.is-ok { fill: var(--color-primary); fill-opacity: 0.85; }
.pst-fig .pst-zero { fill: none; stroke: var(--color-text-light); stroke-width: 1.2; }
.pst-fig .pst-count { font: 600 12px var(--font-body); fill: var(--color-primary); }
.pst-befunde { list-style: none; margin: var(--space-lg) 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-body__content .pst-befunde { padding-left: 0; }
.pst-befunde li { margin: 0; padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-bg-alt); font-size: var(--text-sm); line-height: 1.5; }
.pst-befunde strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--color-primary-dark); margin-bottom: 4px; }
@media (max-width: 560px) { .pst-befunde { grid-template-columns: 1fr; } }
.article-body__content table.pst td.num, .article-body__content table.pst th.num, .article-body__content table.tvg td.num, .article-body__content table.tvg th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article-body__content table.pst td.is-ok { color: var(--color-primary-dark); font-weight: 600; }
.article-body__content table.pst td.is-high { color: #8E2F4E; font-weight: 600; }
.article-body__content table.pst td.is-none { color: var(--color-text-light); }
.article-body__content table.pst th button { all: unset; cursor: pointer; font: inherit; }
.article-body__content table.pst th button::after { content: ' ↕'; color: var(--color-text-light); font-size: 11px; }
.article-body__content table.pst th[aria-sort] button::after { color: var(--color-primary); }
.article-body__content table.pst th[aria-sort="ascending"] button::after { content: ' ↑'; }
.article-body__content table.pst th[aria-sort="descending"] button::after { content: ' ↓'; }
.article-body__content table.pst .pst-name { font-weight: 600; }
.article-body__content table.pst .pst-maker { display: block; font-size: 12px; font-weight: 400; color: var(--color-text-muted); }
.pst-legend { font-size: 12.5px; color: var(--color-text-muted); margin-top: -10px; }
.pst-download { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.article-body__content table.tvg td { vertical-align: top; }
.article-body__content table.tvg .tvg-name { font-weight: 600; }
.article-body__content table.tvg .tvg-sub { display: block; font-size: 12px; color: var(--color-text-muted); font-weight: 400; }
.pst-fig .pst-dot { stroke: #fff; stroke-width: 1.5; }
.pst-fig .pst-n { font: 600 10px var(--font-body); fill: #fff; pointer-events: none; }
.article-body__content table.pst th, .article-body__content table.tvg th, .article-body__content table.ovu-start th { text-transform: none; letter-spacing: 0; }
.article-body__content table.pst thead th .pst-maker { color: rgba(255, 255, 255, 0.72); }
.article-body__content table.pst tbody th, .article-body__content table.tvg tbody th { background: var(--color-surface); color: var(--color-text); font-size: var(--text-sm); font-weight: 400; border-radius: 0; border-bottom: 1px solid var(--color-border-light); vertical-align: top; min-width: 190px; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--color-border-light); }
.article-body__content table.pst thead th:first-child, .article-body__content table.tvg thead th:first-child { position: sticky; left: 0; z-index: 2; }
.article-body__content table.pst tbody tr:nth-child(even) th, .article-body__content table.tvg tbody tr:nth-child(even) th { background: #FAF8F5; }
.article-body__content table.pst td.is-none { color: var(--color-text-light); font-weight: 400; }
@media (max-width: 560px) { .article-body__content table.pst tbody th, .article-body__content table.tvg tbody th { min-width: 140px; max-width: 160px; } }
.article-body__content table.pst td .pst-maker { display: block; white-space: normal; font-size: 11px; }
/* Zervixschleim-Tafel (R04, Baustein zervixschleim-tafel) */
.zs-tafel { margin: var(--space-lg) 0 var(--space-xl); }
.zs-tafel__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: zs; }
.article-body__content .zs-tafel__liste { padding-left: 0; }
.zs-phase { margin: 0; padding: 14px 14px 16px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); display: flex; flex-direction: column; }
.zs-phase--spinnbar { border-color: #7A3B5C; box-shadow: inset 0 3px 0 #7A3B5C; }
.zs-phase__bild { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto 10px; overflow: hidden; border-radius: 8px; }
.zs-finger { fill: #F3E6EA; stroke: #C98A86; stroke-width: 1.2; }
.zs-schleim { fill: rgba(255, 255, 255, 0.9); stroke: #A35D6E; stroke-width: 1.4; stroke-linecap: round; }
.zs-schleim--dick { fill: #F5EEE6; stroke-width: 2.2; }
.zs-schleim--klar { fill: rgba(255, 255, 255, 0.6); stroke: #7A3B5C; }
.zs-faden { fill: none; stroke: #7A3B5C; stroke-width: 2; stroke-linecap: round; }
.zs-faden--glanz { stroke: #C98A86; stroke-width: 1; opacity: 0.7; }
.article-body__content .zs-phase p { margin: 0; }
.article-body__content .zs-phase .zs-phase__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; color: var(--color-text); }
.article-body__content .zs-phase .zs-phase__zeit { font-size: 12.5px; color: var(--color-text-muted); margin: 2px 0 10px; }
.zs-phase__fakten { margin: 0; font-size: 13px; line-height: 1.45; }
.zs-phase__fakten dt { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-light); margin-top: 8px; }
.zs-phase__fakten dd { margin: 1px 0 0; color: var(--color-text); }
.zs-meter { display: inline-flex; gap: 2px; margin-right: 6px; vertical-align: 1px; }
.zs-meter i { width: 9px; height: 6px; border-radius: 2px; background: #EDE5DF; }
.zs-meter[data-stufe="1"] i:nth-child(-n+1),
.zs-meter[data-stufe="2"] i:nth-child(-n+2),
.zs-meter[data-stufe="3"] i:nth-child(-n+3),
.zs-meter[data-stufe="4"] i { background: #7A3B5C; }
.zs-tafel figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 760px) { .zs-tafel__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Zyklusgrafik (R04, Baustein zyklusgrafik): Phasen, Hormonkurven, Basaltemperatur */
.zyk-fig .zyk-band--follikel { fill: #F3E6EA; }
.zyk-fig .zyk-band--luteal { fill: #7A3B5C; }
.zyk-fig .zyk-band__text { font: 600 12.5px var(--font-body); fill: #7A3B5C; }
.zyk-fig .zyk-band__text.is-hell { fill: #fff; }
.zyk-fig .zyk-periode { fill: #C97A8E; }
.zyk-fig .zyk-periode__text { font: 600 11px var(--font-body); fill: #fff; }
.zyk-fig .zyk-fenster { fill: #F3DCDF; }
.zyk-fig .zyk-fenster__text { font: 600 11px var(--font-body); fill: #7A3B5C; }
.zyk-fig .zyk-fenster-bg { fill: rgba(201, 138, 134, 0.09); }
.zyk-fig .zyk-eisprung { stroke: #7A3B5C; stroke-width: 1.2; stroke-dasharray: 3 3; }
.zyk-fig .zyk-eisprung__text { font: 600 11px var(--font-body); fill: #7A3B5C; }
.zyk-fig .zyk-kurve { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.zyk-fig .zyk-label { font: 600 12px var(--font-body); }
.zyk-fig .zyk-kurve.zyk-fsh { stroke: #A35D6E; stroke-dasharray: 5 4; stroke-width: 2; }
.zyk-fig .zyk-kurve.zyk-oe { stroke: #C98A86; }
.zyk-fig .zyk-kurve.zyk-lh { stroke: #7A3B5C; }
.zyk-fig .zyk-kurve.zyk-pg { stroke: #2E1A27; }
.zyk-fig .zyk-label.zyk-fsh { fill: #A35D6E; }
.zyk-fig .zyk-label.zyk-oe { fill: #B0706C; }
.zyk-fig .zyk-label.zyk-lh { fill: #7A3B5C; }
.zyk-fig .zyk-label.zyk-pg { fill: #2E1A27; }
.zyk-fig .zyk-achse { stroke: var(--color-border); stroke-width: 1; }
.zyk-fig .zyk-tick { font: 400 10.5px var(--font-body); fill: var(--color-text-light); }
.zyk-fig .zyk-basal { fill: none; stroke: #A8A29E; stroke-width: 1.2; }
.zyk-fig .zyk-basal__punkt { fill: #57534E; }
.zyk-fig .zyk-basal__label { font: 600 11px var(--font-body); fill: var(--color-text-muted); }
.pst-fig .pst-svg--m { display: none; }
@media (max-width: 640px) {
  .pst-fig { padding: 14px 12px 10px; }
  .pst-fig .pst-svg--d { display: none; }
  .pst-fig .pst-svg--m { display: block; }
}
.tvg { margin: var(--space-lg) 0 var(--space-xl); }
.article-body__content .tvg__head { font-size: var(--text-sm); font-weight: 600; margin-bottom: 12px; }
.tvg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-body__content .tvg-grid { padding-left: 0; }
.tvg-card { margin: 0; padding: 18px 18px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); min-width: 0; }
.article-body__content .tvg-card__name { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; color: var(--color-text); }
.article-body__content .tvg-card__typ { margin: 4px 0 12px; font-size: 12.5px; color: var(--color-text-muted); }
.tvg-card__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tvg-card__facts > div { min-width: 0; padding-top: 8px; border-top: 1px solid var(--color-border-light); }
.tvg-card__facts .tvg-card__wide { grid-column: 1 / -1; }
.tvg-card__facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 2px; }
.tvg-card__facts dd { margin: 0; font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); }
.tvg-card__facts dd strong { font-weight: 600; }
.tvg-card__facts dd small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--color-text-muted); }
@media (max-width: 760px) { .tvg-grid { grid-template-columns: 1fr; } }

/* Sprung-Leiste unter der H1 bei Vergleichsartikeln */
.article-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.article-jump__link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--color-primary); border-radius: 999px; color: var(--color-primary); background: transparent; font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.article-jump__link--main { background: var(--color-primary); color: #fff; }
.article-jump__link:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.article-jump__link svg { flex: none; }
.article-body__content h2[id], .article-body__content [id] { scroll-margin-top: 90px; }
@media (max-width: 560px) { .article-jump__link { width: 100%; justify-content: space-between; font-size: 14px; } }

/* Präparate-Liste (Hebel 14): je Produkt eine Zeile mit Werten und Button, Handy als Karte, kein Querscrollen */
.pcl { margin: var(--space-lg) 0 var(--space-xl); --grid: minmax(150px, 1.6fr) repeat(var(--n), minmax(46px, 0.55fr)) 132px; }
.article-body__content .pcl__title { font-size: var(--text-sm); font-weight: 600; margin-bottom: 10px; }
.pcl__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--color-text-muted); }
.pcl__sort span { margin-right: 4px; }
.pcl__sort button { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.pcl__sort button[aria-pressed="true"] { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.pcl__colhead { display: grid; grid-template-columns: var(--grid); gap: 0 10px; padding: 10px 16px; background: var(--color-primary-dark); color: #fff; border-radius: var(--radius-md) var(--radius-md) 0 0; font-size: 12px; font-weight: 600; position: sticky; top: 64px; z-index: 2; }
.pcl__colhead span { text-align: right; }
.pcl__colhead span:first-child { text-align: left; }
.pcl__colhead small { display: block; font-weight: 400; opacity: 0.75; }
.pcl__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); background: var(--color-surface); }
.article-body__content .pcl__list { padding-left: 0; }
.pc { display: grid; grid-template-columns: var(--grid); gap: 0 10px; align-items: center; margin: 0; padding: 14px 16px; border-top: 1px solid var(--color-border-light); }
.pc:first-child { border-top: 0; }
.pc:nth-child(even) { background: #FAF8F5; }
.pc__head { min-width: 0; }
.article-body__content .pc__name { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.article-body__content .pc__meta, .article-body__content .pc__dose { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--color-text-muted); }
.pc__vals { display: contents; margin: 0; }
.pc__val { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.pc__val dt { display: none; }
.pc__val dd { margin: 0; }
.pc__val dd small { display: block; font-size: 11px; color: var(--color-text-muted); }
.pc__val.is-ok dd { font-weight: 700; color: var(--color-primary-dark); }
.pc__val.is-high dd { font-weight: 700; color: #8E2F4E; }
.pc__val.is-none dd { color: var(--color-text-light); }
.pc__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--color-primary); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background 0.2s ease; }
.article-body__content .pc__btn { color: #fff; text-decoration: none; }
.pc__btn:hover { background: var(--color-primary-dark); }
.pc__ad { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.tvg-card__cta { margin-top: 14px; align-items: stretch; }
.tvg-card__cta .pc__btn { width: 100%; padding: 11px 16px; font-size: 14.5px; }
.tvg-card__cta .pc__ad { text-align: center; }
@media (max-width: 720px) {
  .pcl__colhead { display: none; }
  .pcl__list { border-top: 1px solid var(--color-border); border-radius: var(--radius-md); }
  .pc { grid-template-columns: 1fr; gap: 10px; padding: 16px 14px; }
  .pc__vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pc__val { text-align: left; padding: 6px 8px; border-radius: 6px; background: var(--color-bg-alt); }
  .pc__val dt { display: block; font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
  .pc__val dt span { font-weight: 400; }
  .pc__cta { align-items: stretch; }
  .pc__btn { width: 100%; padding: 11px 16px; font-size: 14.5px; }
  .pc__ad { text-align: center; }
}
.tvg-card { display: flex; flex-direction: column; }
.tvg-card__cta { margin-top: auto; padding-top: 14px; }
/* Buttons in Artikeln: Textfarbe beim Hover nie von der allgemeinen Link-Regel überschreiben lassen */
.article-body__content a.pc__btn, .article-body__content a.pc__btn:hover, .article-body__content a.pc__btn:focus-visible { color: #fff; text-decoration: none; }
.article-body__content a.pc__btn:hover { background: var(--color-primary-dark); }
.article-body__content a.aff__btn { text-decoration: none; }
.article-body__content a.aff__btn:hover { color: #fff; background: var(--color-primary); }
.article-body__content a.pst-download:hover { color: var(--color-primary-dark); }

/* Keine farbigen Hover-Streifen an Karten, nirgends (User-Vorgabe) */
.kategorie-card::before, .article-card::before, .anbieter-card::before, .mag-featured__card::before,
.mag-article::before, .related-post::before, .spoke-card::before { content: none !important; display: none !important; }

/* Startseite: Magazin (Feature links, neue Ratgeber rechts, Meistgelesen darunter), ohne Hover-Streifen */
.mag-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--space-xl); }
.mag-home__head h2 { margin: 0; }
.mag-home__lead { margin: 10px 0 0; color: var(--color-text-muted); font-size: var(--text-base); }
.mag-home__all { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.mag-home__all:hover { color: var(--color-primary-dark); }
.mag-home__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.mag-home__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mag-feat { display: block; color: var(--color-text); text-decoration: none; }
.mag-feat__img { display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; background: var(--color-bg-alt); }
.mag-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mag-feat:hover .mag-feat__img img { transform: scale(1.03); }
.mag-feat__kicker, .mag-item__kicker { display: block; margin-top: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); }
.mag-feat__title { display: block; margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.1; }
.mag-feat__title, .mag-item__title, .mag-pop__title { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mag-feat:hover .mag-feat__title, .mag-item:hover .mag-item__title, .mag-pop__list a:hover .mag-pop__title { background-size: 100% 1px; }
.mag-feat__desc { display: block; margin-top: 10px; color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; max-width: 56ch; }
.mag-feat__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); }
.mag-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mag-list li { border-top: 1px solid var(--color-border); }
.mag-list li:last-child { border-bottom: 1px solid var(--color-border); }
.mag-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; color: var(--color-text); text-decoration: none; }
.mag-item img { width: 96px; height: 96px; border-radius: var(--radius-md); object-fit: cover; }
.mag-item__kicker { margin-top: 0; }
.mag-item__title { display: inline; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.mag-item__text { display: block; min-width: 0; }
.mag-item__text .mag-item__title { display: inline; }
.mag-pop { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.mag-pop__label { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.mag-pop__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 32px; }
.mag-pop__list a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 10px 0; color: var(--color-text); text-decoration: none; font-size: var(--text-sm); line-height: 1.45; }
.mag-pop__num { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: rgba(122, 59, 92, 0.6); }
@media (max-width: 960px) {
  .mag-home__grid { grid-template-columns: 1fr; }
  .mag-pop__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mag-home__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mag-item { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .mag-item img { width: 76px; height: 76px; }
  .mag-item__title { font-size: 1.2rem; }
  .mag-pop__list { grid-template-columns: 1fr; }
}

/* ─── Kinderwunsch-Statistik (Hebel 15) ─── */
.stv-hero { padding: calc(var(--space-2xl) + 40px) 0 var(--space-xl); background: #F6F1EB; }
.stv-hero__text { max-width: 780px; }
.stv-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem); line-height: 1.04; margin: 14px 0 0; }
.stv-hero__lead { margin: 18px 0 0; font-size: var(--text-lg); line-height: 1.55; color: #57534E; max-width: 62ch; }
.stv-hero__meta { margin: 12px 0 0; font-size: 13px; color: var(--color-text-muted); }
.stv-kpis { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #E4DDD5; border: 1px solid #E4DDD5; border-radius: var(--radius-lg); overflow: hidden; }
.stv-kpi { margin: 0; padding: 22px 22px 18px; background: #FBF8F4; min-width: 0; }
.stv-kpi__zahl { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); line-height: 1; color: var(--color-primary-dark); font-variant-numeric: lining-nums; }
.stv-kpi__text { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--color-text); }
.stv-kpi__quelle { display: block; margin-top: 8px; font-size: 11.5px; color: var(--color-text-muted); }
.stv-sprung { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-lg); }
.stv-sprung a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid #D9CFC6; border-radius: 999px; background: #fff; color: var(--color-text); font-size: 14px; font-weight: 500; text-decoration: none; }
.stv-sprung a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.stv-body { padding: var(--space-xl) 0 var(--space-2xl); }
.stv-body__content { max-width: 860px; margin: 0 auto; }
.stv-body__content > h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.12; margin: var(--space-2xl) 0 12px; scroll-margin-top: 90px; }
.stv-body__content > h2:first-child { margin-top: 0; }
.stv-body__content > h3 { font-size: 1.35rem; margin: var(--space-lg) 0 8px; }
.stv-body__content > p, .stv-body__content > ul, .stv-body__content > ol { font-size: var(--text-base); line-height: 1.7; color: var(--color-text); max-width: 70ch; }
.stv-body__content a { color: var(--color-primary); text-underline-offset: 2px; }
.stv-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 22px 22px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); scroll-margin-top: 90px; }
.stv-fig__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; }
.stv-fig__sub { margin: 6px 0 14px; font-size: 14px; color: var(--color-text-muted); }
.stv-fig svg { display: block; width: 100%; height: auto; }
.stv-fig__quelle { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--color-text-muted); }
.stv-grid { stroke: #EFEBE7; stroke-width: 1; }
.stv-tick { font: 400 11px var(--font-body); fill: #8A8086; }
.stv-wert { font: 700 12px var(--font-body); fill: var(--color-primary-dark); }
.stv-bar { fill: #D8BCC0; }
.stv-bar.is-last { fill: var(--color-primary); }
.stv-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.stv-line--0 { stroke: var(--color-primary); } .stv-dot--0 { fill: var(--color-primary); }
.stv-line--1 { stroke: #A35D6E; } .stv-dot--1 { fill: #A35D6E; }
.stv-line--2 { stroke: #C98A86; } .stv-dot--2 { fill: #C98A86; }
.stv-serie { font: 600 12px var(--font-body); }
.stv-serie--0 { fill: var(--color-primary); } .stv-serie--1 { fill: #A35D6E; } .stv-serie--2 { fill: #C98A86; }
.stv-karte path { transition: opacity 0.2s ease; }
.stv-karte path:hover { opacity: 0.85; }
.stv-kartenwert { font: 600 11px var(--font-body); fill: #24141F; paint-order: stroke; stroke: rgba(255, 255, 255, 0.75); stroke-width: 2.5px; pointer-events: none; }
.stv-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--color-text-muted); }
.stv-legende li { display: inline-flex; align-items: center; gap: 6px; }
.stv-legende i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.stv-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.stv-tabelle th, .stv-tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--color-border-light); text-align: right; font-variant-numeric: tabular-nums; }
.stv-tabelle th:first-child, .stv-tabelle td:first-child { text-align: left; }
.stv-tabelle thead th { font-size: 12px; font-weight: 600; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); }
.stv-share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-border-light); }
.stv-share__btn { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--color-text); font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; }
.stv-body__content .stv-share__btn { color: var(--color-text); text-decoration: none; }
.stv-share__btn:hover, .stv-body__content .stv-share__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.stv-embed { flex-basis: 100%; margin-top: 8px; }
.stv-embed label { display: block; font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; }
.stv-embed textarea { width: 100%; font: 12px/1.45 ui-monospace, Menlo, monospace; padding: 10px; border: 1px solid var(--color-border); border-radius: 8px; background: #FAF8F5; color: var(--color-text); resize: vertical; margin-bottom: 6px; }
.stv-zitat { margin: var(--space-md) 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--color-bg-alt); font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) {
  .stv-kpis { grid-template-columns: 1fr 1fr; }
  .stv-fig { padding: 16px 12px 12px; margin-left: -4px; margin-right: -4px; }
}
@media (max-width: 480px) {
  .stv-kpis { grid-template-columns: 1fr; }
}

/* Hero-Suche: in allen vier Reitern dieselbe Aufteilung (zwei gleich breite Felder, Button fester Breite und Höhe) */
.hs-pane, #hs-pane-klinik, #hs-pane-kosten, #hs-pane-chancen, .hs-pane--berater { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 264px; align-items: stretch; }
.hs-field { min-height: 66px; justify-content: center; }
.hs-go { width: 100%; min-height: 66px; padding: 0 20px; }
.hs-pane--berater p { grid-column: 1 / 3; align-self: center; }
@media (max-width: 860px) {
  .hs-pane, #hs-pane-klinik, #hs-pane-kosten, #hs-pane-chancen, .hs-pane--berater { grid-template-columns: 1fr; }
  .hs-pane--berater p { grid-column: auto; }
}
.hs-field, .hs-go { min-height: 74px; }
/* Erstes Feld in allen Reitern gleich breit, Button so breit wie sein Text, zweites Feld füllt den Rest */
.hs-pane, #hs-pane-klinik, #hs-pane-kosten, #hs-pane-chancen, .hs-pane--berater { grid-template-columns: 38% minmax(0, 1fr) auto; }
.hs-go { width: auto; padding: 0 30px; }
@media (max-width: 860px) {
  .hs-pane, #hs-pane-klinik, #hs-pane-kosten, #hs-pane-chancen, .hs-pane--berater { grid-template-columns: 1fr; }
  .hs-go { width: 100%; }
}
.stv-land { font: 600 15px var(--font-body); fill: var(--color-text); }
.stv-wert--gross { font-size: 15px; }
.stv-details { margin-top: 12px; }
.stv-details summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--color-primary); }
.stv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stv-tabelle td small { color: var(--color-text-muted); font-size: 11.5px; }
.stv-karte { max-width: 560px; margin: 0 auto; }

.stv-hero { padding-top: calc(var(--space-xl) + 56px); }

/* Logo wieder so groß wie die frühere Wortmarke (Wortmarke ca. 82 px breit), Punkt im Symbol in Markenfarbe */
.nav__logo { --fertilio-logo-width: 138px; }
@media (max-width: 768px) { .nav__logo { --fertilio-logo-width: 116px; } }
[data-fertilio-logo] .fertilio-logo__seed, [data-fertilio-logo] .fertilio-logo__seed * { fill: var(--color-primary); }

/* Fachbereiche: kein Sticky (rechte Spalte kaum höher, wirkte wie ein Scrollfehler) */
.fach__aside { position: static; }

/* Footer: letzte Zeile mit Copyright links und DSGVO-Badge rechts */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline; /* Unterkante des Badges auf der Grundlinie des Copyright-Texts */
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-xl);
}
.footer__bottom .footer__copy { margin-top: 0; min-width: 0; }
/* Rechtszeile plus Copyright: unten bündig, damit die Grundlinie des Copyrights weiter an der Unterkante der Badges liegt */
.footer__start { min-width: 0; align-self: flex-end; align-self: last baseline; }
.footer__badge {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 4px;
}
.footer__badge img { display: block; width: auto; height: 96px; }
@media (max-width: 500px) { .footer__badge img { height: 80px; } }

/* Austria-A ("Obsessive about Quality") der WKO links neben dem DSGVO-Badge. Original unverändert auf heller Fläche,
   weil der Schriftzug AUSTRIA schwarz ist; Fläche gleich hoch wie das DSGVO-Badge */
.footer__badges {
  display: inline-flex;
  align-items: flex-end;
  gap: var(--space-md);
  margin-left: auto;
}
.footer__badges .footer__badge { margin-left: 0; }
.footer__austria {
  display: inline-flex;
  flex-shrink: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
}
.footer__austria img { display: block; width: auto; height: 68px; }
/* Launch-Badge von Fazier, Bedingung für den kostenlosen Eintrag dort */
.footer__fazier { display: inline-flex; flex-shrink: 0; align-self: center; }
.footer__fazier img { display: block; width: 120px; height: auto; }
@media (max-width: 500px) { .footer__fazier img { width: 100px; } }
/* Drei Badges passen auf schmalen Handys nicht in eine Zeile: umbrechen statt Querscrollen */
.footer__badges { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 500px) {
  .footer__austria { padding: 12px 12px; }
  .footer__austria img { height: 56px; }
}

/* Startseite Hero: auf dem Desktop mehr Luft über der Headline und unter den Städten, an die Fensterhöhe gekoppelt, damit das Bild darunter noch anschneidet */
@media (min-width: 1024px) {
  .hs { padding-top: clamp(88px, 13vh, 140px); padding-bottom: clamp(72px, 10vh, 112px); }
}

/* ═══ Appear-Effekte (04.10.2026) ═══
   Nur opacity + transform, beides läuft auf dem Compositor: kein Layout, kein CLS.
   Hero: Headline (LCP-Element) steht sofort, nur Lead, Suche und Städte steigen gestaffelt auf.
   Darunter: [data-rv] blendet beim Scrollen ein (IntersectionObserver in main.js).
   Gilt nur mit aktivem JS und ohne "weniger Bewegung", sonst bleibt alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hs-rise {
    from { opacity: 0; transform: translateY(20px); }
  }

  .hs__lead, .hs-panel, .hs-cities {
    animation: hs-rise 0.9s var(--ease-out) both;
  }
  .hs__lead { animation-delay: 0.1s; }
  .hs-panel { animation-delay: 0.22s; }
  .hs-cities { animation-delay: 0.36s; }
}

/* ═══ Startseite: Teddy auf der Kante der Suche (22.10.2026) ═══
   Kopf und Körper liegen in einem Rahmen, der genau an der Oberkante der Suche endet: Was darunter liegt,
   ist abgeschnitten und wirkt wie hinter dem Modul versteckt. Nur die Pfoten liegen vorne auf der Kante.
   Ablauf: Ohren, Augen über die Kante, schüchtern wieder ein Stück runter, dann ganz hoch und still sitzen.
   Ohne Bewegung ("weniger Bewegung") sitzt er sofort da. */
.hs-panel { position: relative; }
.hs-teddy { position: absolute; right: 56px; bottom: calc(100% + 1px); width: 96px; aspect-ratio: 6 / 5; pointer-events: none; }
.hs-teddy__peek { position: absolute; inset: 0; overflow: hidden; }
.hs-teddy__bear { display: block; width: 100%; height: 100%; }
.hs-teddy__paws { position: absolute; left: 0; top: 100%; display: block; width: 100%; aspect-ratio: 5 / 1; translate: 0 -50%; }
/* Schmaler läuft der Lead bis unter den Teddy: Abstand über der Suche wächst um seine Höhe */
@media (max-width: 1000px) {
  .hs-panel { margin-top: 78px; }
  .hs-teddy { right: 32px; width: 84px; }
}
@media (max-width: 560px) {
  .hs-panel { margin-top: 64px; }
  .hs-teddy { right: 20px; width: 68px; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hs-teddy-peek {
    0%   { transform: translateY(100%); }
    10%  { transform: translateY(72%); }
    20%  { transform: translateY(72%); }
    30%  { transform: translateY(47%) rotate(-7deg); }
    50%  { transform: translateY(47%) rotate(-7deg); }
    58%  { transform: translateY(62%) rotate(-2deg); }
    68%  { transform: translateY(62%) rotate(-2deg); }
    84%  { transform: translateY(-4%) rotate(0deg); }
    92%  { transform: translateY(1.5%); }
    100% { transform: none; }
  }
  @keyframes hs-teddy-paws {
    0%, 76% { opacity: 0; transform: translateY(-10px); }
    86%     { opacity: 1; transform: translateY(1px) scaleY(0.94); }
    93%     { transform: scaleY(1.03); }
    100%    { opacity: 1; transform: none; }
  }
  @keyframes hs-teddy-blink {
    0%, 38%, 42%, 100% { transform: none; }
    40% { transform: scaleY(0.1); }
  }

  .hs-teddy__bear { transform-origin: 50% 72%; animation: hs-teddy-peek 3.4s 1.3s cubic-bezier(0.34, 0.7, 0.4, 1) both; }
  .hs-teddy__paws { transform-origin: 50% 100%; animation: hs-teddy-paws 3.4s 1.3s ease-out both; }
  .hs-teddy__eyes { transform-box: fill-box; transform-origin: center; animation: hs-teddy-blink 3.4s 1.3s both; }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  @keyframes rv-failsafe {
    to { opacity: 1; transform: none; }
  }

  [data-rv] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--rv-d, 0ms);
  }
  [data-rv="img"] { transform: translateY(28px) scale(0.97); }
  [data-rv].is-in { opacity: 1; transform: none; }

  /* Notausgang: läuft main.js nicht, wird nach 3 s trotzdem alles sichtbar */
  html:not(.rv-ready) [data-rv] { animation: rv-failsafe 0s 3s forwards; }
}

/* ═══ Startseite: Editorial-Bild wächst beim Scrollen (04.10.2026) ═══
   Kein Sticky, kein Hängenbleiben: Das Bild startet schmaler und wächst ab dem ersten Scrollpixel auf volle
   Breite, die Seite scrollt dabei ganz normal weiter. Abdunklung und Zitat sind genau dann fertig, wenn das Bild
   die volle Breite erreicht hat. Die Größe wird nur per transform gesetzt (main.js), das Layout steht von Anfang
   an im CSS, deshalb keine Layoutsprünge. Abdunklung und Zitat liegen im Bild und wachsen mit, das Zitat wird
   gegen die Skalierung korrigiert, damit es nicht mitzoomt.
   Ohne JS, ohne scripting-Media-Query oder mit "weniger Bewegung" bleibt das ruhige Bild mit Zitat. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .editorial {
    --ed-ratio: calc(16 / 7);
    --ed-w: min(calc(var(--max-width) - 2 * var(--gutter)), 68vw);
    --ed-padx: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
    overflow-x: clip;
    /* Platz für das Überstehen nach unten, wenn das Bild auf volle Breite gewachsen ist */
    padding-bottom: calc(var(--space-2xl) + (100vw - var(--ed-w)) / var(--ed-ratio) / 2);
  }
  .editorial__stage { width: var(--ed-w); margin-inline: auto; }
  .editorial__frame { aspect-ratio: var(--ed-ratio); isolation: isolate; }
  /* Abdunklung direkt auf dem Bild */
  .editorial__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 38%);
    opacity: var(--ed-t, 0);
    pointer-events: none;
  }
  .editorial__overlay {
    right: auto;
    left: calc(var(--ed-padx) / var(--ed-s, 1));
    bottom: calc(var(--space-xl) / var(--ed-s, 1));
    /* feste Breite in Layout-Pixeln: sichtbare Breite = Layout-Breite, weil Skalierung des Bildes und Gegenskalierung sich aufheben.
       So bleibt der Zeilenumbruch beim Wachsen identisch. */
    width: min(840px, calc(100vw - 2 * var(--ed-padx)));
    padding: 0;
    background: none;
    z-index: 1; /* über der Abdunklung (::after), sonst wird der Text dunkelgrau */
    opacity: var(--ed-t, 0);
    transform: translateY(calc((1 - var(--ed-t, 0)) * 16px)) scale(calc(1 / var(--ed-s, 1)));
    transform-origin: left bottom;
    pointer-events: none;
  }
  /* Notausgang: läuft main.js nicht, werden Abdunklung und Zitat nach 3 s trotzdem sichtbar */
  html:not(.ed-ready) .editorial__overlay,
  html:not(.ed-ready) .editorial__frame::after { animation: rv-failsafe 0s 3s forwards; }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  /* Am Desktop steht das Zitat groß auf dem vollbreiten Bild */
  .editorial__quote { max-width: none; font-size: clamp(2rem, 1rem + 2vw, 3rem); }
  .editorial__quote p { font-size: 1em; line-height: 1.25; text-wrap: balance; }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 768px) {
  .editorial { --ed-ratio: 1.6; --ed-w: 72vw; }
}

/* ═══ Startseite mit Europa-Bezug: Flächenkacheln ohne Foto, Länderkarten ═══ */
.city-tile__img--flaeche { display: block; overflow: hidden; }
.city-tile__img--f0 { background: linear-gradient(135deg, #A35D6E 0%, #7A3B5C 55%, #2E1A27 100%); }
.city-tile__img--f1 { background: linear-gradient(135deg, #C98A86 0%, #95587A 55%, #5A2B45 100%); }
.city-tile__img--f2 { background: linear-gradient(135deg, #E0A9A5 0%, #A35D6E 50%, #7A3B5C 100%); }
.city-tile__img--f3 { background: linear-gradient(135deg, #8E4A6C 0%, #5A2B45 60%, #2E1A27 100%); }
.city-tile__img--flaeche::after { content: attr(data-initial); position: absolute; right: 0.06em; top: -0.14em; font-family: var(--font-display); font-size: 10rem; line-height: 1; color: rgba(255, 255, 255, 0.11); pointer-events: none; }
.city-tiles__item--big .city-tile__img--flaeche::after { font-size: 22rem; }
.hs-cities__initial { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #C98A86 0%, #7A3B5C 100%); color: #fff; font-family: var(--font-display); font-size: 16px; line-height: 1; }
.laender__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.land-card { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; height: 100%; padding: 20px 22px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.land-card:hover, .land-card:focus-visible { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.land-card:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.land-card__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.1; }
.land-card__count { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); }
.land-card__orte { margin-top: auto; padding: 14px 28px 0 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.land-card__arrow { position: absolute; right: 18px; bottom: 16px; color: var(--color-primary); font-weight: 600; transition: transform 0.2s ease; }
.land-card:hover .land-card__arrow { transform: translateX(3px); }
@media (max-width: 1024px) {
  .laender__grid { grid-template-columns: repeat(3, 1fr); }
  .city-tiles__item--big .city-tile__img--flaeche::after { font-size: 16rem; }
}
@media (max-width: 640px) {
  .laender__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .land-card { min-height: 128px; padding: 16px 16px 14px; }
  .city-tile__img--flaeche::after { font-size: 7rem; }
  .city-tiles__item--big .city-tile__img--flaeche::after { font-size: 12rem; }
}

/* ═══ Stadtseiten Europa (Vorschau): Karten mit Profiltext ═══ */
.eu-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-md); max-width: 920px; }
.eu-card { padding: var(--space-lg); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); scroll-margin-top: 96px; }
.eu-card__kopf { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-md); align-items: center; }
.eu-card__titel h3 { margin: 0; font-size: var(--text-lg); line-height: 1.25; }
.eu-card__tagline { margin: var(--space-sm) 0 var(--space-xs); color: var(--color-text); font-size: var(--text-base); }
.eu-card .anbieter-card__tags { margin-top: var(--space-xs); }
.eu-card__mehr { margin-top: var(--space-md); border-top: 1px solid var(--color-border-light); padding-top: var(--space-sm); }
.eu-card__mehr summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); list-style: none; }
.eu-card__mehr summary::-webkit-details-marker { display: none; }
.eu-card__mehr summary::after { content: "+"; margin-left: 8px; font-weight: 400; }
.eu-card__mehr[open] summary::after { content: "\2212"; }
.eu-card__mehr summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
.eu-card__text { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-text); }
.eu-card__text p { margin: 0 0 var(--space-sm); line-height: 1.6; }
.eu-card__text h4 { margin: var(--space-md) 0 var(--space-2xs); font-size: var(--text-sm); }
.eu-card__quelle { font-size: var(--text-xs); color: var(--color-text-muted); }
.eu-card__kontakt { font-size: var(--text-sm); color: var(--color-text-muted); }
.eu-card__kontakt a { color: var(--color-primary); font-weight: 600; }
@media (max-width: 640px) {
  .eu-card { padding: var(--space-md); }
  .eu-card__kopf { grid-template-columns: 44px 1fr; }
  .eu-card__kopf .anbieter-card__rating { grid-column: 2; }
}

/* ═══ Vorschau: Menü "Länder" und Länderseiten ═══ */
@media (min-width: 769px) {
  .nav__drop--laender { width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .nav__drop--laender a { align-items: center; }
}
@media (max-width: 768px) {
  /* Mobil klappt die lange Länderliste per Tipp auf, statt das Menü zu füllen */
  .nav__item--laender .nav__drop-toggle { pointer-events: auto; gap: 8px; font-size: var(--text-lg); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--color-text-muted); }
  .nav__item--laender .nav__drop-toggle svg { display: inline-block; }
  .nav__drop--laender { display: none; }
  .nav__item--laender .nav__drop-toggle[aria-expanded="true"] + .nav__drop--laender { display: flex; }
}

.city-tiles__grid--flach { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: 240px; }
.land-fakten { padding: var(--space-lg) 0 0; }
.land-fakten h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: var(--space-md); }
.land-fakten__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.land-fakten__grid li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.land-fakten__grid strong { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; color: var(--color-primary); font-weight: 400; }
.land-fakten__grid span { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.35; overflow-wrap: anywhere; hyphens: auto; }
.land-fakten__hinweis { margin: var(--space-sm) 0 0; font-size: var(--text-xs); color: var(--color-text-muted); max-width: 72ch; }

.land-block { padding: var(--space-xl) 0 0; }
.land-block h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin: 6px 0 var(--space-xs); }
.land-block h2 small { font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text-muted); font-weight: 400; }
.land-block__text { margin: 0 0 var(--space-md); max-width: 72ch; color: var(--color-text-muted); font-size: var(--text-sm); }

.land-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 920px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.land-top__item { display: grid; grid-template-columns: 36px 1fr auto; gap: var(--space-sm); align-items: center; padding: 14px 18px; border-top: 1px solid var(--color-border-light); }
.land-top__item:first-child { border-top: 0; }
.land-top__rang { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); }
.land-top__text { display: flex; flex-direction: column; min-width: 0; }
.land-top__name { font-weight: 600; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
a.land-top__name:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.land-top__ort { font-size: var(--text-xs); color: var(--color-text-muted); }
.land-top__wert { font-size: var(--text-sm); white-space: nowrap; text-align: right; }
.land-top__wert small { color: var(--color-text-muted); }

.land-balken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 920px; }
.land-balken li { display: grid; grid-template-columns: minmax(130px, 220px) 1fr minmax(90px, auto); gap: var(--space-sm); align-items: center; font-size: var(--text-sm); }
.land-balken__name { font-weight: 600; }
.land-balken__wert { text-align: right; color: var(--color-text-muted); white-space: nowrap; }
.land-balken__bar { appearance: none; -webkit-appearance: none; width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden; background: var(--color-border-light); }
.land-balken__bar::-webkit-progress-bar { background: var(--color-border-light); border-radius: 999px; }
.land-balken__bar::-webkit-progress-value { background: var(--color-primary); border-radius: 999px; }
.land-balken__bar::-moz-progress-bar { background: var(--color-primary); border-radius: 999px; }

.land-orte { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; align-items: start; }
.land-orte__ort { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 10px 14px; }
.land-orte__ort summary { cursor: pointer; font-weight: 600; font-size: var(--text-sm); list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.land-orte__ort summary::-webkit-details-marker { display: none; }
.land-orte__ort summary::after { content: "+"; color: var(--color-primary); font-weight: 400; }
.land-orte__ort[open] summary::after { content: "\2212"; }
.land-orte__ort summary small { margin-left: auto; font-weight: 400; color: var(--color-text-muted); }
.land-orte__ort summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
.land-orte__ort ul { list-style: none; margin: var(--space-xs) 0 0; padding: var(--space-xs) 0 0; border-top: 1px solid var(--color-border-light); display: flex; flex-direction: column; gap: 8px; font-size: var(--text-sm); }
.land-orte__ort a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.land-orte__bew { color: var(--color-text-muted); white-space: nowrap; }
@media (max-width: 640px) {
  .land-top__item { grid-template-columns: 28px 1fr; padding: 12px 14px; }
  .land-top__wert { grid-column: 2; text-align: left; }
  .land-balken li { grid-template-columns: 1fr auto; row-gap: 4px; }
  .land-balken__bar { grid-column: 1 / -1; grid-row: 2; }
  .land-fakten__grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   CHINESISCHER EMPFÄNGNISKALENDER (ck-)
   Nachtkarte mit Mond, Tabelle als Muster aus Rosé und Aubergine
   ═══════════════════════════════════════════════════════════ */
.ck-app {
  padding-bottom: var(--space-xl);
}
.ck-layout {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}
.ck-form {
  align-self: start;
}
.ck-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* ─── Ergebnis-Karte ─── */
.ck-karte {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 96px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  border-radius: var(--radius-xl);
  color: #F6EEE8;
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(235, 211, 164, 0.16), transparent 62%),
    radial-gradient(80% 50% at 50% 115%, rgba(163, 93, 110, 0.32), transparent 70%),
    linear-gradient(180deg, #3D2236 0%, #2E1A27 55%, #1A0E17 100%);
  box-shadow: 0 30px 80px rgba(46, 26, 39, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.ck-karte__sterne,
.ck-karte__sterne::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
.ck-karte__sterne {
  background-image:
    radial-gradient(1.4px 1.4px at 8% 14%, rgba(246, 233, 216, 0.9), transparent),
    radial-gradient(1px 1px at 21% 31%, rgba(246, 233, 216, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 33% 9%, rgba(246, 233, 216, 0.85), transparent),
    radial-gradient(1px 1px at 47% 22%, rgba(246, 233, 216, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 64% 12%, rgba(246, 233, 216, 0.8), transparent),
    radial-gradient(1.8px 1.8px at 78% 27%, rgba(246, 233, 216, 0.9), transparent),
    radial-gradient(1px 1px at 91% 8%, rgba(246, 233, 216, 0.6), transparent),
    radial-gradient(1.3px 1.3px at 13% 58%, rgba(246, 233, 216, 0.55), transparent),
    radial-gradient(1px 1px at 88% 52%, rgba(246, 233, 216, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 6% 84%, rgba(246, 233, 216, 0.5), transparent),
    radial-gradient(1.1px 1.1px at 94% 79%, rgba(246, 233, 216, 0.55), transparent),
    radial-gradient(1px 1px at 71% 93%, rgba(246, 233, 216, 0.45), transparent);
}
.ck-karte__sterne::after {
  content: "";
  background-image:
    radial-gradient(1.5px 1.5px at 16% 22%, rgba(251, 241, 220, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 56% 6%, rgba(251, 241, 220, 0.9), transparent),
    radial-gradient(1.7px 1.7px at 84% 18%, rgba(251, 241, 220, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 27% 71%, rgba(251, 241, 220, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 81% 66%, rgba(251, 241, 220, 0.75), transparent);
  animation: ck-funkeln 5s ease-in-out infinite alternate;
}
@keyframes ck-funkeln {
  from { opacity: 0.25; }
  to { opacity: 1; }
}

.ck-mond {
  width: clamp(104px, 14vw, 140px);
  height: auto;
  margin-bottom: var(--space-md);
  overflow: visible;
  filter: drop-shadow(0 0 26px rgba(235, 211, 164, 0.42));
}
.ck-mond__schein { fill: rgba(235, 211, 164, 0.05); }
.ck-mond__schatten { fill: rgba(246, 233, 216, 0.08); }
.ck-mond__licht { transition: d 0.8s var(--ease-out); }

.ck-karte__leer,
.ck-karte__ergebnis {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ck-karte [hidden] { display: none !important; }
.ck-karte__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin: 0 0 var(--space-xs);
}
.ck-karte__frage {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
  line-height: 1;
  margin: 0 0 var(--space-sm);
}
.ck-karte__text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(246, 238, 232, 0.72);
  max-width: 36ch;
  margin: 0;
}
.ck-karte__wort {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.4rem + 6vw, 7.5rem);
  line-height: 0.95;
  margin: 0;
  padding: 0 0.06em 0.08em;
  color: #F3DDB2;
  background: linear-gradient(180deg, #FBF1DC 0%, #E0B98A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ck-karte[data-zustand="m"] .ck-karte__wort {
  color: #EBB9B5;
  background-image: linear-gradient(180deg, #FBE7E4 0%, #E0A9A5 100%);
}
.ck-karte__wort--teil {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.05;
}
.ck-karte__teil {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 400px;
}
.ck-teil {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
  color: rgba(246, 238, 232, 0.8);
  text-align: left;
}
.ck-teil strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
}
.ck-teil--m strong { color: var(--color-accent-light); }
.ck-teil--j strong { color: #EBD3A4; }
.ck-teil--info {
  justify-content: center;
  text-align: center;
}
.ck-karte__daten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 480px;
  margin: var(--space-lg) 0 0;
  border-top: 1px solid rgba(246, 238, 232, 0.12);
  border-bottom: 1px solid rgba(246, 238, 232, 0.12);
}
.ck-karte__daten > div {
  padding: 14px 6px;
  min-width: 0;
}
.ck-karte__daten > div + div {
  border-left: 1px solid rgba(246, 238, 232, 0.12);
}
.ck-karte__daten dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 238, 232, 0.55);
}
.ck-karte__daten dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.ck-karte__aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-lg);
}
.ck-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  color: #F6EEE8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 238, 232, 0.28);
  cursor: pointer;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.ck-knopf svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ck-knopf:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(246, 238, 232, 0.5);
}
.ck-knopf--hell {
  color: var(--color-primary-dark);
  background: #F6EEE8;
  border-color: #F6EEE8;
}
.ck-knopf--hell:hover {
  color: var(--color-primary-dark);
  background: #FFFFFF;
  border-color: #FFFFFF;
}
.ck-knopf:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}
.ck-karte__fussnote {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: rgba(246, 238, 232, 0.6);
  margin: var(--space-md) 0 0;
  max-width: 44ch;
}
.ck-karte__fussnote a {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Auftritt eines neuen Ergebnisses */
.ck-karte--neu .ck-mond { animation: ck-mond 1.1s var(--ease-out) both; }
.ck-karte--neu .ck-karte__ergebnis > * { animation: ck-auf 0.7s var(--ease-out) both; }
.ck-karte--neu .ck-karte__ergebnis > :nth-child(2) { animation-delay: 0.08s; }
.ck-karte--neu .ck-karte__ergebnis > :nth-child(3) { animation-delay: 0.16s; }
.ck-karte--neu .ck-karte__ergebnis > :nth-child(4) { animation-delay: 0.22s; }
.ck-karte--neu .ck-karte__ergebnis > :nth-child(5) { animation-delay: 0.28s; }
.ck-karte--neu .ck-karte__ergebnis > :nth-child(6) { animation-delay: 0.34s; }
@keyframes ck-auf {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ck-mond {
  from { opacity: 0.2; transform: scale(0.82) rotate(-18deg); }
  to { opacity: 1; transform: none; }
}

/* ─── Die nächsten 12 Mondmonate ─── */
.ck-plan {
  margin-top: var(--space-xl);
}
.ck-plan__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-md);
}
.ck-plan__titel {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
.ck-plan__legende {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}
.ck-punkt {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ck-punkt--m { background: #EDC9C5; }
.ck-punkt--j { background: #3A2032; margin-left: 10px; }
.ck-plan__liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.ck-mm {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 128px;
  padding: 14px 14px 16px;
  border-radius: var(--radius-lg);
}
.ck-mm--m { background: #F6E3E0; color: #6B2E4D; }
.ck-mm--j { background: #3A2032; color: #F6EEE8; }
.ck-mm--teil,
.ck-mm--leer { background: var(--color-bg-alt); color: var(--color-text); }
.ck-mm__nr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ck-mm__nr em {
  font-style: normal;
  letter-spacing: 0.04em;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.ck-mm__zeit {
  font-size: var(--text-xs);
  opacity: 0.8;
}
.ck-mm__erg {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.05;
}
.ck-mm__erg small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  opacity: 0.75;
}
.ck-mm--teil .ck-mm__erg {
  font-size: 1.2rem;
  margin-top: 6px;
}
.ck-mm--teil .ck-mm__nr + .ck-mm__zeit + .ck-mm__erg { margin-top: auto; }
.ck-mm--teil .ck-mm__erg--m { color: var(--color-primary); }
.ck-mm--teil .ck-mm__erg--j { color: var(--color-primary-dark); }
.ck-plan__hinweis {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-md) 0 0;
}
.ck-plan__hinweis a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Die ganze Tabelle ─── */
.ck-tabelle.section {
  background: var(--color-bg-alt);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.ck-tabelle__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}
.ck-tabelle__kopf h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
.ck-tabelle__kopf .section__label { margin-bottom: var(--space-xs); }
.ck-tabelle__wrap {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(6px, 1.6vw, 20px);
  box-shadow: var(--shadow-sm);
}
.ck-tabelle__grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 3px;
  font-variant-numeric: tabular-nums;
}
.ck-tabelle__grid th {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  padding: 4px 0;
  transition: color var(--duration-fast) ease;
}
.ck-tabelle__grid thead th:first-child { width: 64px; }
.ck-tabelle__grid tbody th {
  text-align: right;
  padding-right: 10px;
}
.ck-tabelle__ecke span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ck-tabelle__ecke span:first-child { text-align: right; }
.ck-tabelle__ecke span:last-child { text-align: left; }
.ck-zelle {
  height: 30px;
  padding: 0;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  transition: opacity var(--duration-base) ease, transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}
.ck-zelle__z {
  font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
  font-size: 17px;
}
.ck-zelle--m { background: #F4DCD9; color: #8E4A6C; }
.ck-zelle--j { background: #3A2032; color: #EBD3A4; }
.ck-tabelle__grid.ist-markiert td { opacity: 0.42; }
.ck-tabelle__grid.ist-markiert tr.ck-aktiv td,
.ck-tabelle__grid.ist-markiert td.ck-spalte { opacity: 1; }
.ck-tabelle__grid.ist-markiert td.ck-treffer {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-primary), 0 8px 18px rgba(46, 26, 39, 0.3);
}
.ck-tabelle__grid tr.ck-aktiv th,
.ck-tabelle__grid thead th.ck-spalte { color: var(--color-primary); }
.ck-tabelle__fuss { margin-top: var(--space-sm); }

@media (max-width: 1024px) {
  .ck-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .ck-karte { min-height: 0; }
  .ck-plan__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ck-karte {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
  }
  .ck-karte__daten dd { font-size: 1.1rem; }
  .ck-plan__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-mm { min-height: 112px; }
  .ck-knopf { padding: 11px 16px; }
}
@media (max-width: 520px) {
  .ck-tabelle__grid { border-spacing: 2px; }
  .ck-tabelle__grid th { font-size: 10px; }
  .ck-tabelle__grid thead th:first-child { width: 30px; }
  .ck-tabelle__grid tbody th { padding-right: 4px; }
  .ck-tabelle__ecke span:first-child { display: none; }
  .ck-zelle { height: 24px; font-size: 11px; border-radius: 4px; }
  .ck-zelle__z { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-karte__sterne::after,
  .ck-karte--neu .ck-mond,
  .ck-karte--neu .ck-karte__ergebnis > * { animation: none; }
  .ck-mond__licht,
  .ck-zelle { transition: none; }
}

/* Schwangerschaftskalender (lib/build/tools/ssw.js): Wochenseite mit großer Wochenzahl, Zeitstrahl über 42 Wochen, Wachstum maßstabsgetreu, Ultraschall als dunkle Bühne; Hub mit Wochenkarten */
.ssw {
  --ssw-plum: #7A3B5C;
  --ssw-aubergine: #2E1A27;
  --ssw-rose: #C98A86;
  --ssw-rosewood: #A35D6E;
  --ssw-beige: #F0ECE6;
  --ssw-paper: #FAF8F5;
  --ssw-ink: #1C1917;
  --ssw-muted: #78716C;
  --ssw-line: #E7E5E4;
  --ssw-sono: #120C10;
  --ssw-sono-ink: #EDE3DC;
  color: var(--ssw-ink);
}

/* Hero */
.ssw-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 20px 36px; }
.ssw-hero__text { min-width: 0; position: relative; }
.ssw-hero__num { font-family: var(--font-display); font-size: clamp(9rem, 6rem + 12vw, 17rem); line-height: 0.78; color: var(--ssw-plum); letter-spacing: -0.04em; display: block; margin: 0 0 8px -0.04em; }
.ssw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ssw-hero h1 .ssw-hero__num { margin-bottom: 18px; }
.ssw-hero__num sup { font-size: 0.22em; letter-spacing: 0; vertical-align: top; position: relative; top: 0.5em; margin-left: 0.08em; color: var(--ssw-rosewood); }
.ssw-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.05; margin: 0 0 18px; text-wrap: balance; letter-spacing: -0.01em; }
.ssw-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; margin: 0 0 20px; }
.ssw-facts div { display: grid; gap: 2px; }
.ssw-facts dt { font-size: 0.8rem; color: var(--ssw-muted); }
.ssw-facts dd { margin: 0; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ssw-lead { font-size: 1.08rem; line-height: 1.6; max-width: 46ch; margin: 0; }
.ssw-hero__fig { margin: 0; min-width: 0; position: relative; }
.ssw-hero__fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.ssw-hero__fig figcaption { position: absolute; right: 18px; bottom: 16px; background: rgba(250, 248, 245, 0.92); color: var(--ssw-ink); padding: 8px 12px; border-radius: 10px; font-size: 0.85rem; line-height: 1.35; max-width: 220px; }
.ssw-hero__fig figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: var(--ssw-plum); }

/* Zeitstrahl */
.ssw-time { padding-block: 8px 40px; }
.ssw-time__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.ssw-time__head p { margin: 0; font-size: 0.95rem; }
.ssw-time__head a { color: var(--ssw-plum); font-weight: 600; font-size: 0.95rem; }
.ssw-bar { display: grid; grid-template-columns: repeat(42, minmax(0, 1fr)); gap: 3px; }
.ssw-bar a, .ssw-bar span { display: block; height: 34px; border-radius: 4px; background: var(--ssw-beige); position: relative; }
.ssw-bar .t2 { background: #E9E1D8; }
.ssw-bar .t3 { background: #E1D6CB; }
.ssw-bar .past { background: #D9B9BE; }
.ssw-bar a { background: #D9B9BE; }
.ssw-bar a.next { background: #E7D7D9; }
.ssw-bar a:hover, .ssw-bar a:focus-visible { background: var(--ssw-rosewood); outline: none; }
.ssw-bar .now { background: var(--ssw-plum); height: 46px; margin-top: -6px; }
.ssw-bar .now::after { content: attr(data-n); position: absolute; inset: auto 0 calc(100% + 4px); text-align: center; font-weight: 700; font-size: 0.8rem; color: var(--ssw-plum); }
.ssw-tri { display: grid; grid-template-columns: 12fr 16fr 14fr; gap: 3px; margin-top: 8px; font-size: 0.8rem; color: var(--ssw-muted); }
.ssw-tri span { border-top: 1px solid var(--ssw-line); padding-top: 6px; }

/* Abschnitte */
.ssw-sec { padding-block: 44px; border-top: 1px solid var(--ssw-line); }
.ssw-sec h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; margin: 0 0 22px; text-wrap: balance; }

/* Wachstum */
.ssw-grow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; }
.ssw-grow svg { width: 100%; height: auto; display: block; }
.ssw-grow .axis { stroke: var(--ssw-line); }
.ssw-grow .tick { fill: var(--ssw-muted); font: 12px var(--font-body); }
.ssw-grow .wk { fill: var(--ssw-muted); font: 600 14px var(--font-body); }
.ssw-grow .wk--now { fill: var(--ssw-plum); }
.ssw-grow .rng { fill: #DCC6C9; }
.ssw-grow .rng--now { fill: var(--ssw-plum); }
.ssw-grow .val { fill: var(--ssw-ink); font: 13px var(--font-body); font-variant-numeric: tabular-nums; }
.ssw-grow .val--now { font-weight: 700; fill: var(--ssw-plum); }
.ssw-grow .seed { fill: #EFE3CC; stroke: #CDB892; stroke-width: 1.5; }
.ssw-grow .seedlab { fill: var(--ssw-muted); font: 12px var(--font-body); }
.ssw-big { font-family: var(--font-display); font-size: clamp(3.4rem, 2.4rem + 3vw, 5rem); line-height: 0.95; color: var(--ssw-plum); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.ssw-big small { font-size: 0.4em; color: var(--ssw-rosewood); }
.ssw-note { font-size: 0.85rem; color: var(--ssw-muted); margin: 10px 0 0; max-width: 60ch; }

/* Drei Spalten */
.ssw-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ssw-col { background: #FFFFFF; border: 1px solid var(--ssw-line); border-radius: 16px; padding: 22px 22px 8px; min-width: 0; }
.ssw-col h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 12px; color: var(--ssw-plum); }
.ssw-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ssw-col li { font-size: 0.98rem; line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid var(--ssw-line); }
.ssw-col li:last-child { border-bottom: 0; }
.ssw-col strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.ssw-col b { font-variant-numeric: tabular-nums; }
.ssw-col a { color: var(--ssw-plum); }

/* Ultraschall */
.ssw-sono { background: var(--ssw-aubergine); color: var(--ssw-sono-ink); border-radius: 24px; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.ssw-sono h2 { color: #FFFFFF; }
.ssw-sono svg { width: 100%; height: auto; display: block; }
.ssw-sono .lab { fill: var(--ssw-sono-ink); font: 13px var(--font-body); }
.ssw-sono .lead { stroke: rgba(237, 227, 220, 0.55); stroke-width: 1; }
.ssw-sono__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; }
.ssw-sono__steps li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; padding-block: 12px; border-bottom: 1px solid rgba(237, 227, 220, 0.18); }
.ssw-sono__steps .d { white-space: nowrap; min-width: 2.4em; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--ssw-rose); font-variant-numeric: tabular-nums; }
.ssw-sono__steps p { margin: 0; font-size: 0.97rem; line-height: 1.45; }
.ssw-sono__steps strong { color: #FFFFFF; font-weight: 600; }
.ssw-sono__hint { font-size: 0.9rem; color: rgba(237, 227, 220, 0.8); margin: 0; }
.ssw-sono .lab--leer { font-size: 15px; opacity: 0.8; }
.ssw .beat { transform-box: fill-box; transform-origin: center; animation: ssw-beat 0.55s ease-in-out infinite; }
@keyframes ssw-beat { 0%, 100% { transform: scale(0.75); opacity: 0.65; } 35% { transform: scale(1.25); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ssw .beat { animation: none; } }

/* Warnzeichen */
.ssw-warn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; background: #F8ECEC; border-radius: 16px; padding: 20px 22px; margin-top: 28px; }
.ssw-warn svg { flex: none; }
.ssw-warn p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.ssw-warn strong { color: var(--ssw-plum); }

/* FAQ */
.ssw-faq { max-width: 760px; }
.ssw-faq details { border-bottom: 1px solid var(--ssw-line); }
.ssw-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-size: 1.08rem; font-weight: 600; position: relative; }
.ssw-faq summary::-webkit-details-marker { display: none; }
.ssw-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--ssw-plum); font-weight: 400; }
.ssw-faq details[open] summary::after { content: "−"; }
.ssw-faq summary:focus-visible { outline: 2px solid var(--ssw-plum); outline-offset: 3px; border-radius: 4px; }
.ssw-faq details p { margin: 0 0 18px; line-height: 1.6; max-width: 65ch; }

/* Vorige und nächste Woche */
.ssw-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ssw-nav a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; color: var(--ssw-ink); background: #FFFFFF; border: 1px solid var(--ssw-line); border-radius: 16px; padding: 18px 22px; }
.ssw-nav a:hover, .ssw-nav a:focus-visible { border-color: var(--ssw-plum); outline: none; }
.ssw-nav a:last-child { grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.ssw-nav .n { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.9; color: var(--ssw-plum); }
.ssw-nav .t { display: grid; gap: 2px; }
.ssw-nav .t span { font-size: 0.85rem; color: var(--ssw-muted); }
.ssw-nav .t strong { font-size: 1.05rem; }

.ssw-src { font-size: 0.85rem; color: var(--ssw-muted); }
.ssw-src summary { cursor: pointer; font-weight: 600; color: var(--ssw-ink); padding-block: 8px; }
.ssw-src ul { padding-left: 1.1em; display: grid; gap: 6px; margin: 8px 0 0; }
.ssw-src a { color: var(--ssw-muted); }

.ssw-meta { font-size: 0.85rem; color: var(--ssw-muted); margin: 18px 0 0; }

/* Hub: Kopf und Wochenkarten */
.ssw-kopf { padding-block: 20px 28px; max-width: 760px; }
.ssw-kopf h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); line-height: 1; margin: 0 0 16px; color: var(--ssw-plum); letter-spacing: -0.01em; text-wrap: balance; }
.ssw-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; padding-bottom: 44px; }
.ssw-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; text-decoration: none; color: var(--ssw-ink); background: #FFFFFF; border: 1px solid var(--ssw-line); border-radius: 18px; overflow: hidden; }
.ssw-card:hover, .ssw-card:focus-visible { border-color: var(--ssw-plum); outline: none; }
.ssw-card img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.ssw-card__n { grid-row: 2 / 4; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.85; color: var(--ssw-plum); padding: 0 0 18px 18px; }
.ssw-card__n small { display: block; font-size: 0.3em; color: var(--ssw-rosewood); letter-spacing: 0; }
.ssw-card__t { font-weight: 600; line-height: 1.3; padding-right: 18px; }
.ssw-card__o { font-size: 0.9rem; color: var(--ssw-muted); padding: 2px 18px 18px 0; }

@media (max-width: 860px) {
  .ssw-hero { grid-template-columns: 1fr; }
  .ssw-hero__fig { order: -1; }
  .ssw-hero__num { font-size: clamp(7rem, 30vw, 10rem); }
  .ssw-grow, .ssw-sono { grid-template-columns: 1fr; }
  .ssw-three { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ssw-bar { gap: 2px; }
  .ssw-bar a, .ssw-bar span { height: 26px; border-radius: 2px; }
  .ssw-bar .now { height: 36px; }
  .ssw-facts { gap: 4px 18px; }
  .ssw-nav { grid-template-columns: 1fr; }
  .ssw-nav .n { font-size: 2.6rem; }
  .ssw-sono__steps .d { font-size: 1.3rem; }
  .ssw-hero__fig figcaption { position: static; max-width: none; margin-top: 10px; background: none; padding: 0; }
}

/* ─── hCG-Verdopplungszeit im Magazin (Baustein hcg-verdopplung, static/js/hcg-verdopplung.js) ─── */
.hcgv {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}
.article-body__content p.hcgv__titel,
.hcgv__titel { font-weight: 600; font-size: var(--text-base); margin: 0 0 var(--space-sm); }
.hcgv__form { display: flex; flex-direction: column; gap: var(--space-md); }
.hcgv__felder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm) var(--space-md);
}
.hcgv__input { font-size: var(--text-base); padding: 10px 12px; min-height: 46px; font-variant-numeric: tabular-nums; }
.hcgv__btn { align-self: flex-start; }
.hcgv .er-error { margin: 0; }
.hcgv__ergebnis:empty { display: none; }
.hcgv__werte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.hcgv__werte dt { font-size: var(--text-sm); color: var(--color-text-muted); }
.hcgv__werte dd { margin: 2px 0 0; font-size: var(--text-xl); font-weight: 600; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.article-body__content p.hcgv__hinweis,
.hcgv__hinweis { margin: var(--space-sm) 0 0; }
@media (max-width: 640px) {
  .hcgv { padding: var(--space-md); }
  .hcgv__felder { grid-template-columns: minmax(0, 1fr); }
  .hcgv__btn { align-self: stretch; }
}

/* Schwangerschaftstest-Rechner: nächste Schritte nach dem Test, positiv und negativ als getrennte Gruppen */
.st-weiter { margin-top: var(--space-sm); }
.st-weiter + .st-weiter { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid rgba(245, 240, 235, 0.12); }
.st-weiter .er-weiter { margin: var(--space-xs) 0 0; }

/* ─── Schwangerschaftstests im Vergleich (Baustein sstest-vergleich) ─── */
.article-body__content table.sstv__tabelle caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.article-body__content table.sstv__tabelle td.num,
.article-body__content table.sstv__tabelle th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article-body__content table.sstv__tabelle td a { white-space: nowrap; }
.sstv__leer { color: var(--color-text-light); }
.sstv__belege { margin: var(--space-sm) 0 var(--space-lg); font-size: var(--text-sm); }
.sstv__belege summary { cursor: pointer; font-weight: 600; color: var(--color-primary); }
.article-body__content .sstv__belege ul { margin-top: var(--space-sm); }
.article-body__content .sstv__belege li { line-height: 1.6; }
.sstv__beleg { display: block; color: var(--color-text-muted); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .article-body__content table.sstv__tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .article-body__content table.sstv__tabelle,
  .article-body__content table.sstv__tabelle tbody,
  .article-body__content table.sstv__tabelle tr { display: block; width: 100%; }
  .article-body__content table.sstv__tabelle tr { border-bottom: 1px solid var(--color-border); padding: var(--space-xs) 0; }
  /* Block statt Grid: Text und Händler-Link bleiben in einer Zeile, das Label steht als Float links daneben, flow-root hält die Zeilenhöhe */
  .article-body__content table.sstv__tabelle td,
  .article-body__content table.sstv__tabelle td.num {
    display: flow-root;
    border: none;
    padding: 4px var(--space-md) 4px calc(8rem + var(--space-md) + var(--space-sm));
    text-align: left;
    white-space: normal;
    border-radius: 0;
  }
  .article-body__content table.sstv__tabelle td::before { content: attr(data-label); float: left; width: 8rem; margin-left: calc(-8rem - var(--space-sm)); color: var(--color-text-muted); font-weight: 400; }
  .article-body__content table.sstv__tabelle caption { display: block; padding-inline: var(--space-md); }
  .article-body__content table.sstv__tabelle td.sstv__name { font-weight: 600; padding-top: var(--space-sm); padding-left: var(--space-md); }
  .article-body__content table.sstv__tabelle td.sstv__name::before { content: none; }
}

/* ─── Amazon-Produktkasten auf Rechner- und SSW-Seiten (lib/build/partnerbox.js) ─── */
.pbox-wrap { padding: var(--space-lg) 0 var(--space-xl); }
.ssw .pbox-wrap { padding: var(--space-md) 0; }
.ssw .pbox-wrap > .container { padding-left: 0; padding-right: 0; max-width: none; }
.pbox { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); padding: 20px 22px 16px; }
.pbox__titel { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.3; }
.pbox__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pbox__item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px; border: 1px solid var(--color-border-light); border-radius: var(--radius-md); background: var(--color-bg, #fff); }
.pbox__bild { display: block; margin: -14px -14px 10px; border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; }
.pbox__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pbox__name { font-weight: 600; }
.pbox__text { flex: 1; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-muted); }
.pbox__link { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-md); color: var(--color-primary); font-size: 14px; font-weight: 600; text-decoration: none; }
.pbox__link:hover, .pbox__link:focus-visible { background: var(--color-primary); color: #fff; }
.pbox__hinweis { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 560px) {
  .pbox { padding: 16px; }
  .pbox__liste { grid-template-columns: 1fr; }
}

/* ─── Babynamen 2027 (templates/babynamen.html, static/js/babynamen.js) ─── */
.bn-app { padding-bottom: var(--space-xl); }
.bn-layout { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: var(--space-xl); align-items: start; }
.bn-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bn-form legend { padding: 0; }
.bn-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bn-reihe__voll { grid-column: 1 / -1; }
.bn-reihe .rc-group { min-width: 0; }
.bn-ergebnis { min-width: 0; }
.bn-ergebnis__zahl { margin: 0 0 12px; font-size: var(--text-sm); color: var(--color-text-muted); }
.bn-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bn-karte { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); min-width: 0; }
.bn-karte--w { border-top: 3px solid var(--color-accent-light); }
.bn-karte--m { border-top: 3px solid var(--color-primary-light); }
.bn-karte__name { all: unset; cursor: pointer; font-family: var(--font-display, inherit); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--color-text); overflow-wrap: anywhere; }
.bn-karte__name:hover, .bn-karte__name:focus-visible { color: var(--color-primary); text-decoration: underline; }
.bn-karte__info { margin: 0; font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); }
.bn-karte__herkunft { color: var(--color-text-muted); }
.bn-karte__rang { margin: 0; font-size: 12.5px; color: var(--color-text-muted); flex: 1; }
.bn-karte__merk { align-self: flex-start; margin-top: 6px; padding: 5px 12px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-md); background: none; color: var(--color-primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.bn-karte__merk[aria-pressed="true"], .bn-karte__merk:hover { background: var(--color-primary); color: #fff; }
.bn-merk { margin-top: var(--space-lg); padding: 16px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-alt); }
.bn-merk__titel { margin: 0 0 10px; font-size: 1.1rem; }
.bn-merk__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bn-merk__liste li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.bn-merk__weg { border: 0; background: none; font-size: 18px; line-height: 1; color: var(--color-text-muted); cursor: pointer; padding: 2px 6px; }
.bn-name { all: unset; cursor: pointer; font-weight: 600; color: var(--color-primary); }
.bn-name:hover, .bn-name:focus-visible { text-decoration: underline; }
.bn-dialog { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: 0 20px 60px rgba(46, 26, 39, .25); }
.bn-dialog::backdrop { background: rgba(46, 26, 39, .45); }
.bn-dialog__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bn-dialog__kopf h2 { margin: 0; font-size: var(--text-2xl); }
.bn-dialog__zu { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--color-text-muted); }
.bn-dialog__info { margin: 8px 0 14px; line-height: 1.5; }
.bn-dialog__merken { margin-top: 12px; }
.bn-verlauf { font-size: 13px; }
.bn-verlauf caption { text-align: left; font-weight: 600; margin-bottom: 4px; }
.bn-verlauf th, .bn-verlauf td { padding: 4px 8px; text-align: center; }
.bn-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.bn-spalte h3 { margin-top: 0; }
.bn-trendliste { margin: 0; padding-left: 1.6em; }
.bn-trendliste li { padding: 3px 0; }
.bn-trend__zahl { margin-left: 8px; font-size: 13px; color: var(--color-text-muted); }
.bn-quelle { font-size: var(--text-sm); color: var(--color-text-muted); }
.bn-anzahl { font-size: 12.5px; color: var(--color-text-muted); }
@media (max-width: 860px) {
  .bn-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bn-spalten { grid-template-columns: 1fr; }
  .bn-karten { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bn-karte { padding: 12px; }
  .bn-karte__name { font-size: 1.15rem; }
}
/* Babynamen-Ranglisten: helle Tabelle statt dunkler Kopf- und Rangspalte der Inhaltstabellen */
.svc-body__content .bn-tabelle { border-collapse: collapse; width: 100%; background: var(--color-surface); }
.svc-body__content .bn-tabelle caption { caption-side: top; text-align: left; font-size: var(--text-sm); color: var(--color-text-muted); padding: 0 0 8px; background: none; }
.svc-body__content .bn-tabelle thead { background: none; }
.svc-body__content .bn-tabelle th,
.svc-body__content .bn-tabelle th:first-child,
.svc-body__content .bn-tabelle th:last-child { background: none; color: var(--color-text-muted); text-transform: none; letter-spacing: normal; font-size: 13px; font-weight: 600; border-radius: 0; border-bottom: 1px solid var(--color-border); padding: 10px 12px; text-align: left; }
.svc-body__content .bn-tabelle tbody th,
.svc-body__content .bn-tabelle tbody th:first-child { width: 3.5em; color: var(--color-text-muted); font-weight: 500; border-bottom: 1px solid var(--color-border-light); }
.svc-body__content .bn-tabelle td,
.svc-body__content .bn-tabelle td:first-child { padding: 10px 12px; border-bottom: 1px solid var(--color-border-light); background: none; }
.svc-body__content .bn-tabelle tbody tr:nth-child(even) td,
.svc-body__content .bn-tabelle tbody tr:nth-child(even) th { background: none; }
.svc-body__content .bn-tabelle tbody tr:hover td { background: var(--color-bg); }

/* Eileiterschwangerschaft: Lage-Schema (Baustein eileiter-lage) */
.el-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.el-fig__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.el-svg { display: block; width: 100%; height: auto; max-width: 420px; margin: 0 auto; }
.el-uterus { fill: #F3E6EA; stroke: #C98A86; stroke-width: 1.5; }
.el-hoehle { fill: #FBF6F3; stroke: #E4C9CC; stroke-width: 1; }
.el-tube { fill: none; stroke: #DDB0B8; stroke-linecap: round; }
.el-tube--isth { stroke-width: 6; }
.el-tube--amp { stroke-width: 11; }
.el-fimb { fill: none; stroke: #DDB0B8; stroke-width: 3; stroke-linecap: round; }
.el-ovar { fill: #F5EEE6; stroke: #C98A86; stroke-width: 1.3; }
.el-band { fill: none; stroke: #E4D9D2; stroke-width: 2; }
.el-bauch { fill: rgba(201, 138, 134, 0.1); stroke: #C98A86; stroke-width: 1; stroke-dasharray: 3 3; }
.el-marker circle { fill: #7A3B5C; stroke: #fff; stroke-width: 2; }
.el-marker text { font: 700 11px var(--font-body); fill: #fff; }
.el-normal circle { fill: #fff; stroke: #7A3B5C; stroke-width: 1.5; }
.el-normal path { fill: none; stroke: #7A3B5C; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.article-body__content .el-normal__text { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 0; font-size: 13px; color: var(--color-text-muted); }
.el-normal__punkt { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #7A3B5C; background: #fff; flex: none; }
.el-orte { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-body__content .el-orte { padding-left: 0; }
.article-body__content .el-orte li { margin: 0; }
.el-ort { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 5px; align-items: start; }
.el-ort__nr { width: 22px; height: 22px; border-radius: 50%; background: #7A3B5C; color: #fff; font: 700 11px/22px var(--font-body); text-align: center; }
.el-ort__text { min-width: 0; }
.el-ort__name { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--color-text); }
.el-ort__sub { display: block; font-size: 12.5px; line-height: 1.4; color: var(--color-text-muted); }
.el-ort__wert { font-weight: 700; font-size: 14.5px; color: #7A3B5C; font-variant-numeric: tabular-nums; white-space: nowrap; }
.el-ort__balken { grid-column: 2 / 4; height: 6px; border-radius: 3px; background: #F3ECE8; overflow: hidden; }
.el-ort__balken i { display: block; height: 100%; border-radius: 3px; background: #A35D6E; }
.el-ort:first-child .el-ort__balken i { background: #7A3B5C; }
.el-fig figcaption { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 720px) { .el-fig { padding: 16px 14px; } .el-fig__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Eileiterschwangerschaft: Behandlung nach hCG (Baustein eileiter-behandlung) */
.eb-fig { margin: var(--space-lg) 0 var(--space-xl); }
.article-body__content table.eb-matrix { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; min-width: 520px; margin: 0; }
.article-body__content table.eb-matrix caption { caption-side: top; text-align: left; font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); padding: 0 4px 8px; }
.article-body__content table.eb-matrix th, .article-body__content table.eb-matrix td { border: 0; text-transform: none; letter-spacing: 0; }
.article-body__content table.eb-matrix thead th { background: transparent; color: var(--color-text-muted); font-size: 12.5px; font-weight: 600; padding: 4px 6px; text-align: center; border-radius: 0; }
.article-body__content table.eb-matrix thead th:first-child { text-align: left; width: 26%; }
.article-body__content table.eb-matrix tbody th { background: transparent; color: var(--color-text); font-weight: 600; font-size: 14px; padding: 8px 6px; text-align: left; }
.article-body__content table.eb-matrix td.eb-z { text-align: center; padding: 10px 6px; border-radius: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.article-body__content table.eb-matrix td.eb-z--ja { background: #7A3B5C; color: #fff; }
.article-body__content table.eb-matrix td.eb-z--kann { background: #F3DCDF; color: #7A3B5C; }
.article-body__content table.eb-matrix td.eb-z--nein { background: #F7F4F1; color: var(--color-text-light); font-weight: 400; }
.article-body__content table.eb-matrix tbody tr:nth-child(even) th, .article-body__content table.eb-matrix tbody tr:nth-child(even) td.eb-z--nein { background: #F7F4F1; }
.article-body__content table.eb-matrix tbody tr:nth-child(even) th { background: transparent; }
.article-body__content .eb-bedingung { font-size: 13px; line-height: 1.5; color: var(--color-text-muted); margin: 8px 4px 16px; }
.eb-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.article-body__content .eb-karten { padding-left: 0; }
.eb-karte { margin: 0; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.eb-karte--operation { border-color: #7A3B5C; box-shadow: inset 0 3px 0 #7A3B5C; }
.article-body__content .eb-karte p { margin: 0; }
.article-body__content .eb-karte .eb-karte__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; color: var(--color-text); }
.article-body__content .eb-karte .eb-karte__kurz { font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); margin: 4px 0 6px; }
.eb-karte__fakten { margin: 0; font-size: 13.5px; line-height: 1.45; }
.eb-karte__fakten dt { font-size: 12px; font-weight: 600; color: #7A3B5C; margin-top: 10px; }
.eb-karte__fakten dd { margin: 1px 0 0; color: var(--color-text); }
.eb-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 760px) { .eb-karten { grid-template-columns: minmax(0, 1fr); } }

/* Regelschmerzen: was hilft (Baustein regel-hilfe) */
.rh-fig { margin: var(--space-lg) 0 var(--space-xl); }
.article-body__content .rh-fig__titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); margin: 0 0 10px; }
.rh-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-body__content .rh-karten { padding-left: 0; }
.rh-karte { margin: 0; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); display: flex; flex-direction: column; gap: 6px; }
.article-body__content .rh-karte p { margin: 0; }
.rh-karte--s4 { border-color: #7A3B5C; box-shadow: inset 3px 0 0 #7A3B5C; }
.article-body__content .rh-karte .rh-karte__name { font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--color-text); }
.article-body__content .rh-karte .rh-karte__stufe { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #7A3B5C; }
.rh-meter { display: inline-flex; gap: 3px; }
.rh-meter i { width: 18px; height: 7px; border-radius: 4px; background: #F1E6E3; }
.rh-meter i.an { background: #A35D6E; }
.rh-karte--s4 .rh-meter i.an { background: #7A3B5C; }
.rh-karte--s1 .rh-meter i.an { background: #C9B8B4; }
.rh-karte--s1 .rh-karte__label { color: var(--color-text-muted); }
.article-body__content .rh-karte .rh-karte__effekt { font-size: 14px; line-height: 1.45; color: var(--color-text); }
.article-body__content .rh-karte .rh-karte__quelle { font-size: 12px; line-height: 1.4; color: var(--color-text-muted); margin-top: auto; }
.rh-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 680px) { .rh-karten { grid-template-columns: minmax(0, 1fr); } }

/* Ernährung in der Schwangerschaft: Lebensmittel-Suche (Baustein essen-suche) */
.es-box { margin: var(--space-md) 0 var(--space-xl); padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.es-label { display: block; font-weight: 600; font-size: 14px; color: var(--color-text); margin-bottom: 6px; }
.es-feld { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #D9C3C6; border-radius: 10px; background: #fff; color: var(--color-text); }
.es-feld:focus { outline: none; border-color: #7A3B5C; box-shadow: 0 0 0 3px rgba(122, 59, 92, 0.15); }
.es-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.es-filter__btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); cursor: pointer; }
.es-filter__btn[aria-pressed="true"] { border-color: #7A3B5C; background: #F3E6EA; color: #7A3B5C; font-weight: 600; }
.es-punkt { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.es-punkt--ja, .es-stufe--ja::before { background: #5E8C6A; }
.es-punkt--erhitzt, .es-stufe--erhitzt::before { background: #C98A3E; }
.es-punkt--begrenzt, .es-stufe--begrenzt::before { background: #C98A86; }
.es-punkt--nein, .es-stufe--nein::before { background: #7A3B5C; }
.article-body__content .es-zahl { font-size: 12.5px; color: var(--color-text-muted); margin: 6px 0 10px; }
.article-body__content .es-box .table-wrap { margin: 0; max-height: 640px; overflow-y: auto; }
.article-body__content table.es-tabelle { margin: 0; }
.article-body__content table.es-tabelle thead th { position: sticky; top: 0; z-index: 1; }
.article-body__content table.es-tabelle td.es-z { white-space: nowrap; }
.es-stufe { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.es-stufe::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.es-stufe--nein { color: #7A3B5C; }
.article-body__content .es-leer { margin: 10px 0 0; font-size: 14px; color: var(--color-text-muted); }

/* Ernährung in der Schwangerschaft: Nährstoffe nach Phase (Baustein naehrstoff-zeitachse) */
.nz-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.article-body__content .nz-fig__titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); margin: 0 0 12px; }
.nz-kopf, .nz-reihe { display: grid; grid-template-columns: minmax(130px, 0.9fr) minmax(0, 2.2fr); column-gap: 14px; }
.nz-kopf__phasen, .nz-reihe__spur { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.nz-phase { font-size: 12px; font-weight: 600; color: var(--color-text-muted); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--color-border); }
.nz-reihen { list-style: none; margin: 0; padding: 0; }
.article-body__content .nz-reihen { padding-left: 0; }
.article-body__content .nz-reihen li { margin: 0; }
.nz-reihe { padding: 10px 0; border-bottom: 1px solid #F1E9E6; align-items: center; row-gap: 3px; }
.nz-reihe__name { display: block; font-weight: 600; font-size: 14.5px; color: var(--color-text); }
.nz-reihe__menge { display: block; font-size: 12.5px; color: var(--color-text-muted); }
.nz-balken { display: block; font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.2; padding: 7px 10px; border-radius: 8px; background: #7A3B5C; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-balken--fall { background: repeating-linear-gradient(135deg, #F3E6EA 0 6px, #EBD5DB 6px 12px); color: #7A3B5C; border: 1px dashed #A35D6E; }
.nz-reihe__zeit { grid-column: 2; font-size: 12px; color: var(--color-text-muted); }
.article-body__content .nz-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--color-text-muted); margin: 12px 0 0; }
.nz-muster { width: 22px; height: 12px; border-radius: 4px; background: #7A3B5C; flex: none; }
.nz-muster--fall { margin-left: 10px; background: repeating-linear-gradient(135deg, #F3E6EA 0 4px, #EBD5DB 4px 8px); border: 1px dashed #A35D6E; }
.nz-fig figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 640px) {
  .nz-fig { padding: 16px 14px; }
  .nz-kopf, .nz-reihe { grid-template-columns: minmax(0, 1fr); }
  .nz-kopf > span:first-child { display: none; }
  .nz-reihe__zeit { grid-column: 1; }
  .nz-phase { font-size: 10.5px; }
}

/* Präeklampsie: Blutdruck-Stufen (Baustein praeek-blutdruck) */
.pb-fig { margin: var(--space-lg) 0 var(--space-xl); }
.article-body__content .pb-fig__titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); margin: 0 0 10px; }
.pb-stufen { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.article-body__content .pb-stufen { padding-left: 0; }
.article-body__content .pb-stufen li { margin: 0; }
.pb-stufe { display: grid; grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface); }
.pb-stufe__wert { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--color-text); white-space: nowrap; }
.pb-stufe__name { display: block; font-weight: 600; font-size: 15px; color: var(--color-text); }
.pb-stufe__tun { display: block; font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); }
.pb-stufe--hoch { background: #F8EEF0; border-color: #DDB0B8; }
.pb-stufe--hoch .pb-stufe__wert { color: #A35D6E; }
.pb-stufe--schwer { background: #7A3B5C; border-color: #7A3B5C; }
.pb-stufe--schwer .pb-stufe__wert, .pb-stufe--schwer .pb-stufe__name { color: #fff; }
.pb-stufe--schwer .pb-stufe__tun { color: #F3E6EA; }
.pb-fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 560px) { .pb-stufe { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Präeklampsie: Risikofaktoren (Baustein praeek-risiko) */
.pr-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.article-body__content .pr-fig__titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); margin: 0 0 12px; }
.pr-zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-body__content .pr-zeilen { padding-left: 0; }
.article-body__content .pr-zeilen li { margin: 0; }
.pr-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 5px; column-gap: 10px; }
.pr-zeile__name { font-size: 14.5px; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.pr-zeile__wert { font-weight: 700; font-size: 14.5px; color: #7A3B5C; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-zeile__balken { grid-column: 1 / 3; height: 8px; border-radius: 4px; background: #F3ECE8; overflow: hidden; }
.pr-zeile__balken i { display: block; height: 100%; border-radius: 4px; background: #A35D6E; }
.pr-zeile:first-child .pr-zeile__balken i { background: #7A3B5C; }
.pr-fig figcaption { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }

/* Feindiagnostik: Ultraschall-Zeitachse (Baustein ultraschall-zeitachse) */
.uz-fig { margin: var(--space-lg) 0 var(--space-xl); padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.article-body__content .uz-fig__titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-text); margin: 0 0 12px; }
.uz-achse, .uz-zeile { display: grid; grid-template-columns: minmax(150px, 0.9fr) minmax(0, 2fr); column-gap: 14px; }
.uz-achse__skala, .uz-zeile__spur { position: relative; display: block; }
.uz-achse__skala { height: 20px; border-bottom: 1px solid var(--color-border); }
.uz-tick { position: absolute; top: 0; transform: translateX(-50%); font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.uz-zeilen { list-style: none; margin: 0; padding: 0; }
.article-body__content .uz-zeilen { padding-left: 0; }
.article-body__content .uz-zeilen li { margin: 0; }
.uz-zeile { padding: 10px 0; border-bottom: 1px solid #F1E9E6; align-items: center; row-gap: 4px; }
.uz-zeile__name { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--color-text); }
.uz-zeile__info { display: block; font-size: 12px; color: var(--color-text-muted); }
.uz-zeile__spur { height: 18px; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #F1E9E6 calc(12.5% - 1px) 12.5%); }
.uz-balken { position: absolute; top: 2px; height: 14px; border-radius: 7px; display: block; }
.uz-balken--kasse { background: #7A3B5C; }
.uz-balken--grund { background: repeating-linear-gradient(135deg, #F3E6EA 0 5px, #E2C3CC 5px 10px); border: 1px dashed #7A3B5C; box-sizing: border-box; }
.uz-balken--selbst { background: #fff; border: 1.5px solid #C98A86; box-sizing: border-box; }
.uz-zeile--fein .uz-zeile__name { color: #7A3B5C; }
.article-body__content .uz-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--color-text-muted); margin: 12px 0 0; }
.uz-muster { position: static; display: inline-block; width: 22px; height: 12px; border-radius: 6px; flex: none; margin-left: 8px; }
.uz-muster:first-child { margin-left: 0; }
.uz-fig figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 640px) {
  .uz-fig { padding: 16px 14px; }
  .uz-achse, .uz-zeile { grid-template-columns: minmax(0, 1fr); }
  .uz-achse > span:first-child { display: none; }
}
/*i18n*//* Mehrsprachigkeit (docs/i18n-architektur.md, 13 und 14): Umschalter, Mobilmenü, Footer, DE-Kürzel, Hinweis-Balken.
   Markup aus lib/build/i18n-ui.js und static/js/lang-hint.js, Richtungen logisch (RTL ohne eigene Regeln). */

/* Umschalter in der Navigation: Dropdown wie "Rechner" (nav__item--drop, nav__drop-toggle, nav__drop) */
.i18n-ums .nav__drop-toggle { gap: 5px; }
.i18n-ums.nav__item--drop .nav__drop-toggle svg.i18n-ums__globus { flex-shrink: 0; transform: none; }
.i18n-ums__code { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; }
.i18n-ums__titel { display: none; }
.i18n-ums .nav__drop {
  left: auto;
  inset-inline-end: 0;
  width: max-content;
  min-width: 190px;
  max-width: calc(100vw - 2 * var(--gutter));
  transform: translateY(6px);
}
.i18n-ums:hover .nav__drop,
.i18n-ums:has(:focus-visible) .nav__drop,
.i18n-ums .nav__drop-toggle[aria-expanded="true"] + .nav__drop { transform: none; }
.i18n-ums .nav__drop a { align-items: baseline; gap: 8px; padding: 9px 12px; }
.i18n-ums .nav__drop a[aria-current="true"] { font-weight: 600; color: var(--color-primary); }
.i18n-ums__start { font-size: var(--text-xs); font-weight: 400; color: var(--color-text-muted); white-space: nowrap; }
.i18n-ums__haus { display: inline-block; flex-shrink: 0; vertical-align: -0.1em; color: var(--color-text-muted); }

/* Desktop: Umschalter auf derselben Mittellinie wie die übrigen Navigationspunkte und der Beraterbutton */
@media (min-width: 769px) {
  .i18n-ums.nav__item--drop { display: flex; align-items: center; }
  .i18n-ums .nav__drop-toggle { line-height: 1; padding-top: 2px; }
}

/* Schmale Desktop-Breiten: nur Globus, enger, damit die Navigation nicht zusätzlich umbricht */
@media (min-width: 769px) and (max-width: 1000px) {
  .i18n-ums__code { display: none; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .nav__links:has(.i18n-ums) { gap: var(--space-md); }
}

@media (max-width: 768px) {
  /* Mobilmenü: Label "Sprache", darunter alle Sprachen umbrechend nebeneinander */
  .i18n-ums.nav__item--drop { align-self: stretch; }
  .i18n-ums__code { display: none; }
  .i18n-ums__titel { display: inline; }
  .i18n-ums .nav__drop {
    width: auto;
    min-width: 0;
    max-width: 100%;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs) var(--space-md);
  }
  .i18n-ums .nav__drop a { padding: 0; font-size: var(--text-base); }
  /* Langes Menü (Umschalter als letzter Eintrag): oben beginnen statt abschneiden, zentriert, solange es passt */
  .nav__links { justify-content: flex-start; }
  .nav__links > li:first-child { margin-top: auto; }
  .nav__links > li:last-child { margin-bottom: auto; }
}

/* Umschalter im Footer */
.i18n-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs) var(--space-md);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
}
.i18n-fuss__titel {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.i18n-fuss__liste { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); min-width: 0; }
.i18n-fuss a { color: rgba(255, 255, 255, 0.7); transition: color var(--duration-fast) ease; }
.i18n-fuss a:hover,
.i18n-fuss a:focus-visible { color: #fff; }
.i18n-fuss a:focus-visible { outline-color: #fff; }
.i18n-fuss [aria-current="true"] { color: #fff; font-weight: 600; }
.i18n-fuss .i18n-ums__start,
.i18n-fuss .i18n-ums__haus { color: rgba(255, 255, 255, 0.45); }

/* Fremdsprachenseiten: Kürzel DE an Links auf deutsche Seiten (hreflang="de"), nur Textlinks (keine Karten), nie .i18n-link */
:root:not(:lang(de)) a[hreflang="de"]:not(.i18n-link):not(:has(img, picture, svg, video, div, p, h2, h3, h4, ul, ol, figure, table))::after {
  content: "DE";
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin-inline-start: 0.4em;
  padding: 0.1em 0.3em;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: none;
  font-family: var(--font-body);
  font-size: 0.62em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  vertical-align: 0.15em;
  text-decoration: none;
  opacity: 0.7;
  transition: none;
}

/* Hinweis-Balken: fest unten, unter Header und Mobilmenü (z-index 100), mobil eine Zeile */
.i18n-hint {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(28, 25, 23, 0.08);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.3;
  color: var(--color-text);
  animation: i18n-hint-ein var(--duration-base) var(--ease-out) both;
}
.i18n-hint__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-muted);
}
.i18n-hint__wechseln,
.i18n-hint__bleiben {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.i18n-hint__wechseln { flex-shrink: 1; background: var(--color-primary); color: #fff; }
.i18n-hint__wechseln:hover { background: var(--color-primary-dark); color: #fff; }
.i18n-hint__bleiben { flex-shrink: 0; border: 0; background: none; color: var(--color-text-muted); cursor: pointer; }
.i18n-hint__bleiben:hover { background: var(--color-bg-alt); color: var(--color-text); }
.i18n-hint-offen body { padding-bottom: var(--i18n-hint-h, 0px); }

@keyframes i18n-hint-ein {
  from { transform: translateY(100%); }
  to { transform: none; }
}

/* Mobil und quer gehaltene Telefone: kompakt, höchstens rund 15 Prozent der Viewport-Höhe */
@media (max-width: 640px), (max-height: 500px) {
  .i18n-hint { gap: 8px; padding: 5px 12px calc(5px + env(safe-area-inset-bottom, 0px)); }
  .i18n-hint__wechseln,
  .i18n-hint__bleiben { min-height: 34px; padding: 6px 12px; }
}
@media (max-width: 640px) {
  .i18n-hint__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .i18n-hint { animation: none; }
}
/*/i18n*/