/* Rainer Hösl Website | style.css */

/* Fonts: Poppins, lokal gehostet (SIL Open Font License) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Poppins-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Poppins-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Poppins-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Poppins-Bold.woff2') format('woff2');
}

/* Design Tokens */
:root {
  --midnight-900: #060f24;
  --midnight-800: #0b1b3d;
  --midnight-700: #132854;
  --ink: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --glass-dark: rgba(255, 255, 255, 0.05);
  --mist: #f1f5f9;
  --cloud: #f8fafc;
  --paper: #ffffff;
  --cobalt-600: #2563eb;
  --cobalt-700: #1d4ed8;
  --cobalt-300: #93c5fd;
  --cobalt-50: #eff6ff;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-50: #fffbeb;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --rose-700: #be123c;
  --rose-200: #fecdd3;
  --rose-50: #fff1f2;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 112px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 61, 0.04), 0 2px 8px rgba(11, 27, 61, 0.04);
  --shadow-md: 0 12px 32px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 15, 36, 0.28);
  --container-max: 1200px;
  --nav-height: 76px;
  --measure: 760px;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Komponenten */
:where(.rh), :where(.rh) * { box-sizing: border-box; }
.rh { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.rh) :where(h1, h2, h3, p, ul, blockquote) { margin: 0; padding: 0; }
:where(.rh) :where(ul) { list-style: none; }
:where(.rh) :where(img) { display: block; max-width: 100%; }
:where(.rh) :where(a) { color: inherit; }
.rh-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); }
.rh-num { font-variant-numeric: tabular-nums lining-nums; }

/* Eyebrow */
.rh-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-700); margin-bottom: var(--space-4); }
.rh-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.rh-eyebrow--dark { color: var(--amber-500); }
.rh-eyebrow--cobalt { color: var(--cobalt-600); }

/* Buttons */
.rh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--radius-sm); border: 1px solid transparent; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease; }
.rh-btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.rh-btn:hover svg { transform: translateX(3px); }
.rh-btn:focus-visible { outline: 3px solid var(--cobalt-300); outline-offset: 3px; }
.rh-btn--primary { background: var(--amber-500); color: var(--midnight-800); }
.rh-btn--primary:hover { background: var(--amber-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28); }
.rh-btn--ghost { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.rh-btn--ghost:hover { background: var(--glass-dark); border-color: var(--slate-300); }
.rh-btn--dark { background: var(--midnight-800); color: var(--paper); }
.rh-btn--dark:hover { background: var(--midnight-700); transform: translateY(-1px); }
.rh-btn--dark:focus-visible { outline-color: var(--cobalt-600); }
.rh-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Navigation */
.rh-nav { position: sticky; top: 0; z-index: 100; background: rgba(11, 27, 61, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.rh-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--nav-height); }
.rh-nav__brand { font-size: 16px; font-weight: 600; color: var(--paper); text-decoration: none; letter-spacing: -0.005em; white-space: nowrap; }
.rh-nav__links { display: flex; gap: var(--space-6); }
.rh-nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--slate-300); text-decoration: none; padding: 6px 0; transition: color .2s ease; }
.rh-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber-500); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.rh-nav__links a:hover { color: var(--paper); }
.rh-nav__links a:hover::after, .rh-nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.rh-nav__menu { display: none; height: 40px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: transparent; color: var(--paper); font: 600 14px var(--font-sans); }
@media (max-width: 900px) { .rh-nav__links { display: none; } .rh-nav__menu { display: inline-flex; align-items: center; } }

/* Dark surfaces with dot grid */
.rh-dark { background-color: var(--midnight-800); color: var(--paper); }
.rh-grid-bg { background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px); background-size: 24px 24px; }

/* Hero */
.rh-hero { position: relative; overflow: hidden; padding: 96px 0 112px; background-color: var(--midnight-800); color: var(--paper); }
.rh-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); pointer-events: none; }
.rh-hero__grid { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-8); align-items: center; }
.rh-hero__title { font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin-bottom: var(--space-5); text-wrap: balance; }
.rh-hero__title span { color: var(--amber-500); }
.rh-hero__sub { font-size: 20px; line-height: 1.6; color: var(--slate-300); max-width: 600px; margin-bottom: 40px; }
.rh-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-7); }
.rh-hero__roles { display: flex; flex-wrap: wrap; gap: var(--space-2); border-top: 1px solid var(--line-dark); padding-top: var(--space-5); }
.rh-hero__roles li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--glass-dark); font-size: 14px; font-weight: 500; color: var(--slate-300); }
.rh-hero__roles li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500); }
@media (max-width: 960px) { .rh-hero__grid { grid-template-columns: 1fr; } .rh-hero__title { font-size: 48px; } }

/* Portrait */
.rh-portrait { position: relative; }
.rh-portrait::before { content: ""; position: absolute; top: -14px; right: -14px; bottom: 14px; left: 14px; border: 1px solid var(--amber-500); border-radius: var(--radius-lg); opacity: 0.55; pointer-events: none; }
.rh-portrait__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--midnight-700); box-shadow: var(--shadow-lg); }
.rh-portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 30%; }
.rh-portrait__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px var(--space-5) var(--space-5); background: linear-gradient(180deg, rgba(11, 27, 61, 0) 0%, rgba(11, 27, 61, 0.88) 70%); color: var(--paper); }
.rh-portrait__name { font-size: 20px; font-weight: 600; line-height: 1.3; }
.rh-portrait__role { font-size: 14px; color: var(--slate-300); }
.rh-portrait--light::before { border-color: var(--line); opacity: 1; }
.rh-portrait--light .rh-portrait__frame { box-shadow: var(--shadow-md); }

/* Stations */
.rh-stations { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0; }
.rh-stations__label { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 20px; }
.rh-stations__list { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.rh-stations__list li { font-size: 16px; font-weight: 600; color: var(--slate-500); letter-spacing: -0.005em; transition: color .2s ease; }
.rh-stations__list li:hover { color: var(--ink); }

/* Sections */
.rh-section { padding: var(--space-9) 0; }
.rh-section--cloud { background: var(--cloud); }
.rh-section--dark { background-color: var(--midnight-800); color: var(--paper); background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px); background-size: 24px 24px; }
.rh-head { max-width: var(--measure); margin-bottom: var(--space-7); }
.rh-head__title { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px; text-wrap: balance; }
.rh-head__lead { font-size: 20px; line-height: 1.6; color: var(--slate-700); }
.rh-section--dark .rh-head__title { color: var(--paper); }
.rh-section--dark .rh-head__lead { color: var(--slate-300); }
@media (max-width: 768px) { .rh-section { padding: var(--space-8) 0; } .rh-head__title { font-size: 30px; } }

/* Stat cards (Why now) */
.rh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-bottom: var(--space-8); }
.rh-stat { position: relative; overflow: hidden; background: var(--midnight-800); color: var(--paper); border-radius: var(--radius-md); padding: 40px; display: flex; flex-direction: column; }
.rh-stat__num { font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; color: var(--amber-500); font-variant-numeric: tabular-nums; margin-bottom: var(--space-4); }
.rh-stat--cobalt .rh-stat__num { color: var(--cobalt-300); }
.rh-stat__desc { font-size: 16px; line-height: 1.6; color: var(--slate-300); max-width: 440px; margin-bottom: var(--space-6); }
.rh-stat__src { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--slate-400); }
@media (max-width: 768px) { .rh-stats { grid-template-columns: 1fr; } }

/* Role filter (Zielkunde) */
.rh-filter { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); margin-bottom: var(--space-6); box-shadow: var(--shadow-sm); }
.rh-filter button { height: 40px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--slate-700); font: 600 14px var(--font-sans); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.rh-filter button:hover { color: var(--ink); background: var(--cloud); }
.rh-filter button[aria-pressed="true"] { background: var(--midnight-800); color: var(--paper); }
.rh-filter button:focus-visible { outline: 3px solid var(--cobalt-600); outline-offset: 2px; }

/* Challenge cards (Probleme) */
.rh-challenges { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-8); }
.rh-challenge { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease; }
.rh-challenge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--cobalt-600); }
.rh-challenge[hidden] { display: none; }
.rh-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 6px; background: var(--cobalt-50); color: var(--cobalt-700); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.rh-challenge__title { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.rh-challenge__text { font-size: 16px; line-height: 1.65; color: var(--slate-700); }
@media (max-width: 960px) { .rh-challenges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rh-challenges { grid-template-columns: 1fr; } }

/* Info boxes (Symptome / Was passiert) */
.rh-dual { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.rh-box { border-radius: var(--radius-md); padding: 40px; background: var(--paper); border: 1px solid var(--line); }
.rh-box--warn { background: var(--rose-50); border-color: var(--rose-200); }
.rh-box__title { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); margin-bottom: var(--space-5); }
.rh-list { display: flex; flex-direction: column; gap: var(--space-4); }
.rh-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.6; color: var(--slate-700); }
.rh-list__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-50); color: var(--cobalt-700); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: -3px; }
.rh-box--warn .rh-list__mark { background: var(--paper); color: var(--rose-700); border: 1px solid var(--rose-200); }
.rh-list--check li { grid-template-columns: 22px 1fr; gap: 12px; }
.rh-list--check svg { width: 22px; height: 22px; color: var(--cobalt-600); margin-top: 2px; }
@media (max-width: 860px) { .rh-dual { grid-template-columns: 1fr; } }

/* Pillars (Why with you) */
.rh-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.rh-pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 40px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1); }
.rh-pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rh-pillar__num { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--cobalt-600); margin-bottom: 10px; }
.rh-pillar--amber .rh-pillar__num { color: var(--amber-700); }
.rh-pillar__title { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .rh-pillars { grid-template-columns: 1fr; } }

/* Steps (Vorgehen) */
.rh-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.rh-steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: var(--line-dark); }
.rh-step { position: relative; }
.rh-step__node { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight-800); border: 1px solid var(--amber-500); margin-bottom: var(--space-5); }
.rh-step__node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber-500); }
.rh-step__card { background: var(--glass-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-md); padding: var(--space-6); height: calc(100% - 64px); }
.rh-step__badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--amber-500); color: var(--midnight-800); font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.rh-step__title { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--paper); margin-bottom: 12px; }
.rh-step__text { font-size: 16px; line-height: 1.65; color: var(--slate-300); }
@media (max-width: 860px) { .rh-steps { grid-template-columns: 1fr; } .rh-steps::before { display: none; } .rh-step__card { height: auto; } }

/* KPI (Referenzen) */
.rh-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-5); }
.rh-kpi { background: var(--midnight-800); color: var(--paper); border-radius: var(--radius-md); padding: 40px var(--space-6) var(--space-6); display: flex; flex-direction: column; }
.rh-kpi__value { font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; color: var(--emerald-500); font-variant-numeric: tabular-nums; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.rh-kpi__desc { font-size: 16px; line-height: 1.6; color: var(--slate-300); }
.rh-kpi-wide { display: flex; align-items: center; gap: 20px; background: var(--midnight-700); border: 1px solid var(--line-dark); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); color: var(--paper); }
.rh-kpi-wide__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-500); color: var(--midnight-800); }
.rh-kpi-wide__icon svg { width: 20px; height: 20px; }
.rh-kpi-wide__text { font-size: 16px; line-height: 1.5; font-weight: 600; }
@media (max-width: 900px) { .rh-kpis { grid-template-columns: 1fr; } }

/* About (10 Jahre, Trained Coach) */
.rh-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-8); align-items: start; }
.rh-quote { position: relative; margin: var(--space-6) 0; padding: var(--space-5) 0 var(--space-5) 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 20px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.rh-quote::before { content: "\201E"; position: absolute; left: 0; top: 4px; font-size: 52px; line-height: 1; font-weight: 700; color: var(--amber-500); }
.rh-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.rh-value { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-5); }
.rh-value__title { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.rh-value__text { font-size: 14px; line-height: 1.6; color: var(--slate-700); }
@media (max-width: 960px) { .rh-about { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rh-values { grid-template-columns: 1fr; } }

/* CTA */
.rh-cta { position: relative; overflow: hidden; padding: 128px 0; text-align: center; background-color: var(--midnight-800); color: var(--paper); }
.rh-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); pointer-events: none; }
.rh-cta > * { position: relative; }
.rh-cta__title { font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 20px; }
.rh-cta__sub { font-size: 20px; line-height: 1.6; color: var(--slate-300); max-width: 640px; margin: 0 auto 40px; }
.rh-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.rh-cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 40px; font-size: 14px; color: var(--slate-300); }
.rh-cta__meta a { color: var(--amber-500); font-weight: 600; text-decoration: none; }
.rh-cta__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.rh-footer { background: var(--midnight-900); color: var(--slate-400); border-top: 1px solid var(--line-dark); padding: 40px 0; font-size: 14px; }
.rh-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); }
.rh-footer strong { color: var(--slate-300); font-weight: 600; }
.rh-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.rh-footer__legal button, .rh-cookie__text button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.rh-footer__legal button { color: var(--slate-300); font-weight: 500; }
.rh-footer__legal button:hover { color: var(--paper); text-decoration-color: var(--amber-500); }
.rh-footer__legal button:focus-visible, .rh-cookie__text button:focus-visible, .rh-modal__close:focus-visible { outline: 3px solid var(--cobalt-300); outline-offset: 3px; border-radius: 4px; }

/* Modal (Impressum, Datenschutz, Cookie Richtlinie) */
.rh-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: var(--space-5); }
.rh-modal[hidden] { display: none; }
.rh-modal--inline { position: absolute; }
.rh-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 15, 36, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rh-modal__panel { position: relative; width: 100%; max-width: 760px; max-height: min(85vh, 860px); display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.rh-modal--inline .rh-modal__panel { max-height: 640px; }
.rh-modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--line); }
.rh-modal__title { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.rh-modal__close { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .2s ease; }
.rh-modal__close:hover { background: var(--cloud); }
.rh-modal__close svg { width: 18px; height: 18px; }
.rh-modal__close:focus-visible { outline-color: var(--cobalt-600); }
.rh-modal__body { overflow-y: auto; padding: var(--space-6); overscroll-behavior: contain; }
.rh-legal { font-size: 14px; line-height: 1.7; color: var(--slate-700); overflow-wrap: anywhere; }
.rh-legal h3 { font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--ink); margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.rh-legal h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rh-legal h4 { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink); margin: var(--space-5) 0 6px; }
.rh-legal p { margin: 0 0 var(--space-3); }
.rh-legal a { color: var(--cobalt-600); text-underline-offset: 3px; }
.rh-legal strong { color: var(--ink); font-weight: 600; }
.rh-legal__meta, .rh-legal__src { color: var(--slate-500); }

/* Cookie Hinweis */
.rh-cookie { position: fixed; left: var(--space-5); bottom: var(--space-5); z-index: 900; display: flex; align-items: center; gap: var(--space-5); max-width: 520px; padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.rh-cookie[hidden] { display: none; }
.rh-cookie--inline { position: absolute; }
.rh-cookie__text { font-size: 14px; line-height: 1.55; color: var(--slate-700); }
.rh-cookie__text button { color: var(--cobalt-600); text-decoration-color: currentColor; }
.rh-cookie__ok { flex-shrink: 0; min-width: 72px; }
@media (max-width: 600px) { .rh-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } .rh-modal { padding: 12px; } .rh-modal__body { padding: var(--space-5); } .rh-cta__actions .rh-btn { width: 100%; } }

/* Small screens */
@media (max-width: 600px) {
  .rh-nav__inner .rh-btn--sm { display: none; }
  .rh-hero { padding: 64px 0 80px; }
  .rh-hero__title { font-size: 36px; line-height: 1.15; }
  .rh-hero__sub { font-size: 16px; }
  .rh-hero__ctas .rh-btn { width: 100%; }
  .rh-cta__title { font-size: 36px; }
  .rh-stat__num, .rh-kpi__value { font-size: 36px; }
  .rh-stat, .rh-box, .rh-pillar { padding: var(--space-6) var(--space-5); }
}

/* Sprachumschalter */
.rh-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--slate-400); }
.rh-lang a { color: var(--slate-300); text-decoration: none; padding: 6px 2px; transition: color .2s ease; }
.rh-lang a:hover { color: var(--paper); }
.rh-lang a[aria-current="true"] { color: var(--amber-500); }
.rh-lang a:focus-visible { outline: 3px solid var(--cobalt-300); outline-offset: 2px; border-radius: 4px; }

/* Page */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--nav-height); }
@media (max-width: 900px) {
  .rh-nav__links.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: var(--nav-height); left: 0; right: 0; padding: 16px 24px 24px; background: var(--midnight-800); border-bottom: 1px solid var(--line-dark); }
  .rh-nav__links.open a { display: block; padding: 10px 0; font-size: 16px; }
}
