/* RiesWasser Karriereseite — CI-konforme Variante.
   Baut auf colors_and_type-ci.css auf.
   Visuelle Anpassungen: Wellenmotive statt Kreisraster,
   hellere Foto-Platzhalter, runde Ecken 12-20px,
   Primärblau (#00AEEF) als Akzent, dezente Schatten. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* <picture> bleibt layout-transparent — bestehende CSS-Regeln greifen am inneren <img> wie zuvor */
picture { display: contents; }
body {
  font-family: var(--rw-font-body);
  color: var(--rw-text);
  background: var(--rw-stein-50);   /* sehr helles Blaugrau */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--rw-quellblau); color: #fff; }

/* =================================================================
   Barrierefreiheit (WCAG 2.1 AA)
   ================================================================= */

/* Screenreader-Only — visuell unsichtbar, für AT verfügbar */
.rw-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-Link — bei Fokus sichtbar (WCAG SC 2.4.1) */
.rw-skiplink {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  background: var(--rw-tiefenblau);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--rw-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: top 180ms ease-out;
}
.rw-skiplink:focus,
.rw-skiplink:focus-visible {
  top: 12px;
  outline: 3px solid var(--rw-quellblau-300);
  outline-offset: 2px;
}

/* Globaler Fokus-Indikator (WCAG SC 2.4.7) — solide, kontraststark.
   Browser-Default-Outline durch konsistente, sichtbare Variante ersetzen. */
:focus-visible {
  outline: 3px solid var(--rw-tiefenblau);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Auf dunklen / blauen Sektionen aufhellen */
.rw-section--blue :focus-visible,
.rw-footer :focus-visible,
.rw-modal :focus-visible {
  outline-color: var(--rw-aqua);
}
/* Bei Buttons mit hoher Backgroundfarbe etwas heller, damit der Outline sich abhebt */
.rw-btn-primary:focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,43,92,0.45);
}

/* Bewegungsreduktion (WCAG SC 2.3.3 best practice + 2.2.2) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --rw-line: var(--rw-border);
  --rw-stone-50:  var(--rw-stein-50);
  --rw-stone-100: var(--rw-stein-100);
  --rw-stone-200: var(--rw-border-strong);
  --rw-stone-700: var(--rw-stein-700);
}

/* =================================================================
   Buttons — CI-konform: Primärblau / Tiefblau · Radius 14 px · dezente
   Schatten · nicht verspielt
   ================================================================= */
.rw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--rw-font-body); font-size: 14.5px; font-weight: 600;
  padding: 13px 22px; border-radius: 14px; border: 1.5px solid transparent;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 180ms var(--rw-ease-standard),
              color 180ms var(--rw-ease-standard),
              border-color 180ms var(--rw-ease-standard),
              box-shadow 180ms var(--rw-ease-standard),
              transform 180ms var(--rw-ease-standard);
  white-space: nowrap;
}
.rw-btn i { width: 16px; height: 16px; transition: transform 200ms; }
.rw-btn:hover i:last-child { transform: translateX(2px); }

/* Primary: Primärblau-Fläche, weißer Text, sehr dezenter Schatten */
.rw-btn-primary {
  background: var(--rw-quellblau);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,43,92,0.06);
}
.rw-btn-primary:hover {
  background: var(--rw-quellblau-700);
  box-shadow: 0 2px 8px rgba(0,43,92,0.10);
  transform: translateY(-1px);
}
.rw-btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,43,92,0.06); }

/* Secondary: Outline in Tiefblau-Text, weißer Hintergrund, kein Schatten */
.rw-btn-secondary {
  background: #fff;
  color: var(--rw-tiefenblau);
  border-color: var(--rw-line);
}
.rw-btn-secondary:hover {
  border-color: var(--rw-tiefenblau);
  background: #fff;
}

/* Deep: Tiefblau-Fläche, weiß — alternative Primary in dunklen Sektionen */
.rw-btn-deep {
  background: var(--rw-tiefenblau);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,43,92,0.10);
}

/* Eyebrow */
.rw-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 18px;
}
.rw-eyebrow::before {
  content:'';
  width: 28px; height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 6'><path d='M0 3 Q 3.5 0, 7 3 T 14 3 T 21 3 T 28 3' stroke='%2300AEEF' stroke-width='1.2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}
.rw-eyebrow-on-dark { color: var(--rw-aqua); }
.rw-eyebrow-on-dark::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 6'><path d='M0 3 Q 3.5 0, 7 3 T 14 3 T 21 3 T 28 3' stroke='%236FD3F5' stroke-width='1.2' fill='none'/></svg>");
}

/* =================================================================
   Legal-Page (Barrierefreiheit, etc.) — schlanke Content-Seite
   ================================================================= */
.rw-legal {
  padding: 88px 0 128px;
  background: var(--rw-surface-sunken);
}
.rw-legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}
.rw-legal h1 {
  font-family: var(--rw-font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--rw-tiefenblau);
  margin: 12px 0 16px;
}
.rw-legal-lede {
  font-family: var(--rw-font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--rw-text-muted);
  margin: 0 0 32px;
  max-width: 640px;
}
.rw-legal-rule {
  border: 0;
  border-top: 1px solid var(--rw-border);
  margin: 0 0 40px;
}
.rw-legal-card {
  background: #fff;
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-xl);
  padding: 44px 48px;
  box-shadow: 0 16px 40px -20px rgba(0,43,92,0.10);
  position: relative;
  overflow: hidden;
}
.rw-legal-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}
.rw-legal .rw-prose h2 { font-size: 26px; margin-top: 40px; }
.rw-legal .rw-prose h2:first-child { margin-top: 0; }
.rw-legal .rw-prose ul,
.rw-legal .rw-prose ol {
  margin: 0 0 var(--rw-space-4);
  padding-left: 1.3em;
}
.rw-legal .rw-prose li {
  margin: 0 0 var(--rw-space-2);
  line-height: 1.65;
}
.rw-legal .rw-prose li::marker {
  color: var(--rw-quellblau);
}
.rw-legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--rw-quellblau-100);
  color: var(--rw-quellblau-700);
  border-radius: 999px;
  font-family: var(--rw-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.rw-legal-meta i { width: 14px; height: 14px; }
.rw-legal-callout {
  background: var(--rw-quellblau-100);
  border-left: 3px solid var(--rw-quellblau);
  border-radius: 0 var(--rw-radius) var(--rw-radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-family: var(--rw-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--rw-tiefenblau);
}
.rw-legal-callout strong { color: var(--rw-tiefenblau); }

/* Inhaltsverzeichnis (TOC) */
.rw-legal-toc {
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-lg);
  padding: 20px 24px;
  margin: 0 0 32px;
  box-shadow: 0 8px 24px -16px rgba(0,43,92,0.08);
}
.rw-legal-toc-title {
  font-family: var(--rw-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 10px;
}
.rw-legal-toc ol {
  margin: 0;
  padding-left: 1.4em;
  font-family: var(--rw-font-body);
  font-size: 14.5px;
  line-height: 1.7;
}
.rw-legal-toc li::marker { color: var(--rw-quellblau); font-weight: 600; }
.rw-legal-toc a {
  color: var(--rw-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms, color 150ms;
}
.rw-legal-toc a:hover {
  color: var(--rw-quellblau-700);
  border-bottom-color: var(--rw-quellblau-300);
}
.rw-legal-toc a strong { color: var(--rw-tiefenblau); }

/* Sections + :target-Highlight */
.rw-legal-section {
  scroll-margin-top: 96px;
  padding: 4px 12px 4px;
  margin: 0 -12px;
  border-radius: var(--rw-radius);
  transition: background-color 0.6s ease-out;
}
.rw-legal-section:target {
  animation: rw-legal-pulse 2.4s ease-out;
}
@keyframes rw-legal-pulse {
  0%   { background-color: var(--rw-quellblau-100); box-shadow: 0 0 0 8px var(--rw-quellblau-100); }
  60%  { background-color: var(--rw-quellblau-100); box-shadow: 0 0 0 8px var(--rw-quellblau-100); }
  100% { background-color: transparent;            box-shadow: 0 0 0 0 transparent; }
}

/* Hinweis-Box innerhalb einer Section (z.B. „Sie sehen den für Bewerber relevanten Abschnitt") */
.rw-legal-section-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--rw-quellblau-100);
  border-left: 3px solid var(--rw-quellblau);
  border-radius: 0 var(--rw-radius) var(--rw-radius) 0;
  padding: 12px 16px;
  margin: 0 0 24px;
  font-family: var(--rw-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--rw-tiefenblau);
}
.rw-legal-section-note i {
  width: 16px; height: 16px;
  color: var(--rw-quellblau-700);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stand-Datum unten */
.rw-legal-stand {
  margin-top: 40px !important;
  padding-top: 20px;
  border-top: 1px solid var(--rw-border);
  font-size: 13.5px !important;
  color: var(--rw-text-muted) !important;
  font-style: italic;
}@media (max-width: 720px) {
  .rw-legal { padding: 56px 0 80px; }
  .rw-legal-inner { padding: 0 20px; }
  .rw-legal-card { padding: 32px 24px; }
}

/* =================================================================
   Header
   ================================================================= */
.rw-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rw-line);
}
.rw-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 80px;
  display: flex; align-items: center; gap: 32px;
}
/* Logo (Header) — echtes RWV-Signet + Wordmark */
.rw-logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.rw-logo-mark {
  width: 56px; height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
  mix-blend-mode: multiply;     /* killt JPG-Weiß auf hellem Header-BG */
}
.rw-logo-text {
  display: flex; flex-direction: column;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.rw-logo-text strong {
  font-family: var(--rw-font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--rw-text-muted);
}
.rw-logo-text > span {
  font-family: var(--rw-font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--rw-tiefenblau);
  margin-top: 2px;
}@media (max-width: 880px) { .rw-logo-text { display: none; } }

.rw-nav { display: flex; gap: 2px; flex: 1; margin-left: 16px; }
.rw-nav-item {
  font-size: 14px; font-weight: 500; color: var(--rw-text);
  background: none; border: none; padding: 10px 14px; border-radius: 8px;
  letter-spacing: -0.005em;
  position: relative;
  transition: color 150ms, background 150ms;
  text-decoration: none;
}
.rw-nav-item:hover { color: var(--rw-tiefenblau); background: var(--rw-stein-100); }
.rw-nav-item.is-active { color: var(--rw-tiefenblau); }
.rw-nav-item.is-active::after {
  content:''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6' preserveAspectRatio='none'><path d='M0 3 Q 5 0, 10 3 T 20 3 T 30 3 T 40 3' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

/* Mainsite-Link im Header (ersetzt Stördienst-Button) */
.rw-mainsite {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rw-tiefenblau); color: #fff;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,43,92,0.20), 0 4px 14px rgba(0,43,92,0.18);
  transition: transform 200ms, background 200ms;
  text-decoration: none;
  flex-shrink: 0;
}
.rw-mainsite:hover { transform: translateY(-1px); background: var(--rw-tiefenblau-700); }
.rw-mainsite:focus-visible {
  outline: 2px solid var(--rw-quellblau-300);
  outline-offset: 2px;
}
.rw-mainsite-icon { width: 16px; height: 16px; color: var(--rw-aqua); flex-shrink: 0; }
.rw-mainsite-stack { display: flex; flex-direction: column; line-height: 1.1; }
.rw-mainsite-label { color: var(--rw-aqua); font-weight: 500; font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; }
.rw-mainsite-url { font-family: var(--rw-font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Mobile-only Header-CTA — Standardmäßig versteckt, ab 720px aktiv */
.rw-headercta { display: none; }

/* =================================================================
   Foto-Platzhalter — hell, mit Wellen, sauber
   ================================================================= */
.rw-photo {
  position: relative; overflow: hidden;
  border-radius: var(--rw-radius-lg);
  background:
    linear-gradient(180deg, rgba(111,211,245,0.20) 0%, rgba(238,245,247,0.96) 100%),
    var(--rw-stein-100);
  border: 1px solid rgba(0,174,239,0.10);
  color: var(--rw-tiefenblau);
  min-height: 280px;
}
.rw-photo::before {
  content:''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 96' preserveAspectRatio='none'><path d='M0 48 Q 40 18, 80 48 T 160 48 T 240 48 T 320 48' stroke='%2300AEEF' stroke-width='1' fill='none' opacity='.20'/><path d='M0 72 Q 40 42, 80 72 T 160 72 T 240 72 T 320 72' stroke='%2300AEEF' stroke-width='1' fill='none' opacity='.14'/></svg>");
  background-size: 320px 96px;
  background-repeat: repeat;
  pointer-events: none;
  opacity: 0.9;
}
/* Strata-Variante: Schichten (Aquifer-Querschnitt), in CI-konformen Blautönen */
.rw-photo--strata {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(238,245,247,0.30) 100%),
    repeating-linear-gradient(180deg,
      rgba(111,211,245,0.40) 0 28px,
      rgba(0,174,239,0.18) 28px 56px,
      rgba(238,245,247,0.95) 56px 92px,
      rgba(183,196,204,0.40) 92px 140px,
      rgba(107,138,168,0.30) 140px 196px,
      rgba(0,43,92,0.55) 196px 100%);
  border-color: rgba(0,43,92,0.16);
}
.rw-photo--lightland .rw-photo-caption-title { color: #fff; }
.rw-photo--lightland .rw-photo-corner { color: rgba(255,255,255,0.7); }
.rw-photo--lightland .rw-photo-caption-eyebrow { color: rgba(255,255,255,0.78); }

/* Variante mit echtem Foto: img füllt Container, dunkler Verlauf für Caption-Lesbarkeit */
.rw-photo.has-img { background: var(--rw-tiefenblau); border-color: transparent; }
.rw-photo.has-img::before { display: none; }
.rw-photo.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,43,92,0.72) 0%, rgba(0,43,92,0.18) 38%, rgba(0,43,92,0) 60%);
  z-index: 2; pointer-events: none;
}
.rw-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.rw-photo.has-img .rw-photo-caption-title { color: #fff; }
.rw-photo.has-img .rw-photo-caption-eyebrow { color: var(--rw-aqua); }
.rw-photo.has-img .rw-photo-corner { color: rgba(255,255,255,0.85); }
.rw-photo.has-img .rw-photo-label,
.rw-photo.has-img .rw-photo-caption,
.rw-photo.has-img .rw-photo-corner,
.rw-photo.has-img .rw-hero-sticker { z-index: 3; }
.rw-photo-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2;
}
.rw-photo-caption-eyebrow {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rw-tiefenblau-300); margin-bottom: 8px;
}
.rw-photo-caption-title {
  font-family: var(--rw-font-display); font-weight: 600; font-size: 18px;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--rw-tiefenblau);
  margin: 0; max-width: 440px; text-wrap: balance;
}
.rw-photo-corner {
  position: absolute; bottom: 20px; right: 24px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--rw-font-body); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(0,43,92,0.55);
  gap: 2px;
}

/* =================================================================
   HERO — drei Varianten, hell und sauber
   ================================================================= */
.rw-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rw-line); }
.rw-hero-title .accent { color: var(--rw-quellblau); font-weight: 600; }
.rw-hero-title .softer { color: var(--rw-tiefenblau-300); font-weight: 500; font-style: italic; }
.rw-hero--b .rw-hero-title .accent { color: var(--rw-aqua); font-style: normal; }
.rw-hero--b .rw-hero-title .softer { color: var(--rw-aqua); }

/* =================================================================
   HERO — Variant Split: Foto rechts, fadet via Mask-Gradient sanft
   in den hellen Verlauf-Hintergrund; Text liegt darüber
   ================================================================= */
.rw-hero--split {
  position: relative;
  background: linear-gradient(180deg, #EDF6FA 0%, #DCEAF1 100%);
  padding: 88px 0 120px;
  overflow: hidden;
  border-bottom: 0;
  min-height: 720px;
}
.rw-hero--split::before {
  /* sanfter Glow oben links */
  content: ''; position: absolute;
  top: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,174,239,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Foto-Wrap absolut auf der rechten Seite, fadet nach links zu transparent */
.rw-hero-split-photo-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: 1;
  pointer-events: none;
}
.rw-hero-split-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
  display: block;
  mask-image: linear-gradient(to left, #000 55%, rgba(0,0,0,0.95) 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 55%, rgba(0,0,0,0.95) 78%, transparent 100%);
}
.rw-hero-split-wave {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to left, #000 30%, rgba(0,0,0,0.8) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 30%, rgba(0,0,0,0.8) 65%, transparent 100%);
}

.rw-hero-split-inner {
  position: relative; z-index: 3;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  min-height: 460px;
  display: flex; align-items: center;
}

/* Textspalte */
.rw-hero-split-text { max-width: 540px; }
.rw-hero-split-eyebrow {
  display: inline-block;
  font-family: var(--rw-font-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rw-quellblau);
  margin-bottom: 24px;
}
.rw-hero-split-title {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.08; letter-spacing: -0.020em;
  color: var(--rw-tiefenblau);
  margin: 0 0 28px;
  text-wrap: balance;
}
.rw-hero-split-title .accent { color: var(--rw-quellblau); font-weight: 700; }
.rw-hero-split-lede {
  font-family: var(--rw-font-body); font-weight: 400;
  font-size: 16px; line-height: 1.75;
  color: var(--rw-text-muted);
  margin: 0 0 36px;
  max-width: 50ch;
}
.rw-hero-split-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
}

/* USP-Karte: weißes Fenster, überlappend unten */
.rw-hero-split-usps-wrap {
  position: relative; z-index: 5;
  max-width: 1280px; margin: 56px auto 0; padding: 0 40px;
}
.rw-hero-split-usps {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  box-shadow: 0 22px 50px -22px rgba(0,43,92,0.22);
}
.rw-hero-split-usp {
  display: flex; align-items: center; gap: 14px;
  min-width: 0;
}
.rw-hero-split-usp + .rw-hero-split-usp {
  border-left: 1px solid var(--rw-line);
  padding-left: 18px;
}
.rw-hero-split-usp-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--rw-quellblau-100);
  color: var(--rw-quellblau);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.rw-hero-split-usp-icon i { width: 20px; height: 20px; }
.rw-hero-split-usp-text {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; line-height: 1.3;
}
.rw-hero-split-usp-text strong {
  font-family: var(--rw-font-display); font-weight: 600;
  font-size: 14px; letter-spacing: -0.008em;
  color: var(--rw-tiefenblau);
}
.rw-hero-split-usp-text span {
  font-family: var(--rw-font-body); font-weight: 400;
  font-size: 13px; color: var(--rw-text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .rw-hero--split { padding: 64px 0 56px; min-height: 0; }
  .rw-hero-split-inner { min-height: 0; }
  /* Foto wandert auf Tablet/Mobile als Hintergrundbild mit stärkerem Fade,
     bleibt aber dezent — der Text muss lesbar sein */
  .rw-hero-split-photo-wrap { width: 70%; opacity: 0.6; }
  .rw-hero-split-photo {
    mask-image: linear-gradient(to left, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 60%, transparent 100%);
  }
  .rw-hero-split-text { max-width: 480px; }
  .rw-hero-split-usps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .rw-hero-split-usp:nth-child(4),
  .rw-hero-split-usp:nth-child(5) { border-left: none; padding-left: 0; }
  .rw-hero-split-usp:nth-child(2),
  .rw-hero-split-usp:nth-child(3) { border-left: 1px solid var(--rw-line); padding-left: 18px; }
  .rw-hero-split-usp:nth-child(4) { border-top: 1px solid var(--rw-line); padding-top: 18px; }
  .rw-hero-split-usp:nth-child(5) { border-top: 1px solid var(--rw-line); padding-top: 18px; border-left: 1px solid var(--rw-line); padding-left: 18px; }
}@media (max-width: 720px) {
  .rw-hero--split { padding: 48px 0 48px; }
  .rw-hero-split-inner { padding: 0 24px; }
  /* Foto auf Mobil komplett dezent als Hintergrund */
  .rw-hero-split-photo-wrap { width: 100%; opacity: 0.18; }
  .rw-hero-split-photo {
    mask-image: linear-gradient(to bottom, transparent 0%, #000 50%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 50%);
  }
  .rw-hero-split-usps-wrap { padding: 0 24px; margin: 40px auto 0; }
  .rw-hero-split-usps { grid-template-columns: 1fr; padding: 18px 20px; gap: 14px; }
  .rw-hero-split-usp + .rw-hero-split-usp,
  .rw-hero-split-usp:nth-child(4),
  .rw-hero-split-usp:nth-child(5) {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--rw-line); padding-top: 14px;
  }
}

/* =================================================================
   Section heads
   ================================================================= */
.rw-section { padding: 120px 0; }
.rw-section--white { background: #fff; }
.rw-section--gray {
  background: var(--rw-stein-50);
  position: relative;
}
.rw-section--blue {
  background: var(--rw-tiefenblau); color: #fff;
  position: relative; overflow: hidden;
}
.rw-section--blue::before {
  content:''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 88% 12%, rgba(0,174,239,0.18), transparent 55%);
  pointer-events: none;
}
.rw-section--blue::after {
  /* Wellen unten */
  content:''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0 60 Q 240 20, 480 60 T 960 60 T 1440 60' stroke='%236FD3F5' stroke-width='1.2' fill='none' opacity='.35'/><path d='M0 84 Q 240 48, 480 84 T 960 84 T 1440 84' stroke='%236FD3F5' stroke-width='1' fill='none' opacity='.22'/><path d='M0 104 Q 240 72, 480 104 T 960 104 T 1440 104' stroke='%236FD3F5' stroke-width='1' fill='none' opacity='.12'/></svg>");
  background-size: 100% 120px;
  background-repeat: no-repeat;
  opacity: 0.85;
}

.rw-section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin: 0 auto 64px;
  max-width: 1280px; padding: 0 40px;
  position: relative; z-index: 1;
}
.rw-section-head h2 {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 44px; line-height: 1.12;
  letter-spacing: -0.022em; color: var(--rw-tiefenblau); margin: 0; text-wrap: balance;
  max-width: 640px;
}
.rw-section--blue .rw-section-head h2 { color: #fff; }
.rw-section--blue .rw-eyebrow { color: var(--rw-aqua); }
.rw-section--blue .rw-eyebrow::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 6'><path d='M0 3 Q 3.5 0, 7 3 T 14 3 T 21 3 T 28 3' stroke='%236FD3F5' stroke-width='1.2' fill='none'/></svg>");
}
.rw-section-head p { color: var(--rw-text-muted); max-width: 380px; font-size: 16px; line-height: 1.65; margin: 0; text-wrap: pretty; }
.rw-section--blue .rw-section-head p { color: var(--rw-text-on-dark-muted); }

.rw-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* =================================================================
   Why us
   ================================================================= */
.rw-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rw-line);
  position: relative;
}
.rw-why-grid::after {
  /* Wellenlinie an der Top-Kante als Brand-Detail */
  content:''; position: absolute; left: 0; right: 0; top: -2px;
  height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1' fill='none' opacity='.55'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}
.rw-why-card {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--rw-line);
  display: flex; flex-direction: column; gap: 16px;
}
.rw-why-card:last-child { border-right: none; padding-right: 0; }
.rw-why-card:not(:first-child) { padding-left: 32px; }
.rw-why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--rw-quellblau-100); color: var(--rw-quellblau-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.rw-why-icon i { width: 24px; height: 24px; }
.rw-why-card h3 {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 22px; line-height: 1.25;
  letter-spacing: -0.012em; color: var(--rw-tiefenblau); margin: 0;
}
.rw-why-card p {
  font-family: var(--rw-font-body); font-size: 15px; line-height: 1.65; color: var(--rw-text-muted); margin: 0;
}

/* =================================================================
   Benefits — Karten auf Tiefblau
   ================================================================= */
.rw-benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; z-index: 1;
}
.rw-benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--rw-radius);
  padding: 28px 24px 30px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 200ms, border-color 200ms, transform 200ms;
  backdrop-filter: blur(2px);
}
.rw-benefit-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(111,211,245,0.45);
  transform: translateY(-3px);
}
.rw-benefit-num {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--rw-aqua);
}
.rw-benefit-card h3 {
  font-family: var(--rw-font-display); font-weight: 600; font-size: 19px; line-height: 1.3;
  color: #fff; margin: 0; letter-spacing: -0.012em;
  text-wrap: balance;
}
.rw-benefit-card p {
  font-family: var(--rw-font-body); font-size: 14px; line-height: 1.6; color: var(--rw-text-on-dark-muted); margin: 0;
}
.rw-benefit-tag {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  padding: 4px 11px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
}

/* =================================================================
   Offene Stelle — detaillierte Single-Job-Komponente
   ================================================================= */
.rw-jobdetail-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.rw-jobdetail {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px -20px rgba(0,43,92,0.12);
  position: relative;
}
.rw-jobdetail::before {
  /* schmale Wellenleiste oben als Brand-Akzent */
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 4' preserveAspectRatio='none'><path d='M0 2 Q 45 0, 90 2 T 180 2 T 270 2 T 360 2 T 450 2 T 540 2 T 630 2 T 720 2 T 810 2 T 900 2 T 990 2 T 1080 2' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}

/* Head */
.rw-jobdetail-head {
  padding: 44px 48px 32px;
  border-bottom: 1px solid var(--rw-border-soft);
}
.rw-jobdetail-head-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 20px;
}
.rw-jobdetail-num {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rw-text-muted);
}
.rw-jobdetail-status {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: var(--rw-success-bg); color: #3F7A4D;
  display: inline-flex; align-items: center; gap: 6px;
}
.rw-jobdetail-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: #3F7A4D;
}
.rw-jobdetail-title {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12; letter-spacing: -0.022em;
  color: var(--rw-tiefenblau);
  margin: 0 0 12px;
  text-wrap: balance;
}
.rw-jobdetail-title-mwd {
  color: var(--rw-quellblau);
  font-weight: 500;
}
.rw-jobdetail-sub {
  font-family: var(--rw-font-body); font-size: 16px; line-height: 1.65;
  color: var(--rw-text-muted);
  margin: 0 0 24px;
  max-width: 64ch;
}
.rw-jobdetail-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.rw-jobdetail-tags li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rw-stein-50);
  border: 1px solid var(--rw-line);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  font-size: 12.5px; font-weight: 500;
  color: var(--rw-tiefenblau);
}
.rw-jobdetail-tags li i { width: 14px; height: 14px; color: var(--rw-quellblau); }

/* Head-CTA-Zeile: primärer Bewerben-Button + Aufklapp-Toggle */
.rw-jobdetail-head-cta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rw-border-soft);
}
.rw-jobdetail-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: none;
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 14px; letter-spacing: -0.005em;
  color: var(--rw-quellblau-700);
  cursor: pointer;
  padding: 8px 0;
  transition: color 180ms;
}
.rw-jobdetail-toggle:hover { color: var(--rw-tiefenblau); }
.rw-jobdetail-toggle i {
  width: 16px; height: 16px;
  transition: transform 280ms var(--rw-ease-standard);
}
.rw-jobdetail-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.rw-jobdetail-toggle-show { display: inline; }
.rw-jobdetail-toggle-hide { display: none; }
.rw-jobdetail-toggle[aria-expanded="true"] .rw-jobdetail-toggle-show { display: none; }
.rw-jobdetail-toggle[aria-expanded="true"] .rw-jobdetail-toggle-hide { display: inline; }

/* Collapsible Body */
.rw-jobdetail-body[hidden] {
  display: none;
}
.rw-jobdetail-body {
  animation: rw-jobdetail-expand 320ms var(--rw-ease-standard);
}
@keyframes rw-jobdetail-expand {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reusable h4 mit Wellen-Marker davor */
.rw-jobdetail-h4 {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.010em;
  color: var(--rw-tiefenblau);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.rw-jobdetail-h4-mark {
  display: inline-block; width: 28px; height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 6'><path d='M0 3 Q 3.5 0, 7 3 T 14 3 T 21 3 T 28 3' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Anerkannte Qualifikationen */
.rw-jobdetail-qualis {
  padding: 32px 48px;
  background: var(--rw-stein-50);
  border-bottom: 1px solid var(--rw-border-soft);
}
.rw-jobdetail-qualis-intro {
  font-size: 15px; line-height: 1.65; color: var(--rw-text-muted);
  margin: 0 0 20px; max-width: 70ch;
}
.rw-jobdetail-qualis-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  counter-reset: quali;
}
.rw-jobdetail-qualis-list > li {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}
.rw-jobdetail-qualis-list > li:hover {
  border-color: var(--rw-quellblau-300);
  box-shadow: var(--rw-shadow-2);
  transform: translateY(-1px);
}
.rw-jobdetail-quali-num {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 18px;
  color: var(--rw-quellblau);
  background: var(--rw-quellblau-100);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.rw-jobdetail-qualis-list > li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-jobdetail-qualis-list > li strong {
  font-family: var(--rw-font-display); font-weight: 600;
  font-size: 14.5px; color: var(--rw-tiefenblau);
  line-height: 1.35; letter-spacing: -0.008em;
}
.rw-jobdetail-qualis-list > li span {
  font-size: 12.5px; color: var(--rw-text-muted);
  line-height: 1.4;
}

/* Grid: Aufgaben | Profil */
.rw-jobdetail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.rw-jobdetail-block {
  padding: 32px 48px;
}
.rw-jobdetail-block + .rw-jobdetail-block {
  border-left: 1px solid var(--rw-border-soft);
}
.rw-jobdetail-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.rw-jobdetail-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--rw-text);
}
.rw-jobdetail-list li i {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rw-quellblau);
  stroke-width: 2.5;
}

/* Wir bieten */
.rw-jobdetail-benefits {
  padding: 32px 48px;
  background: var(--rw-stein-50);
  border-top: 1px solid var(--rw-border-soft);
}
.rw-jobdetail-benefits-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.rw-jobdetail-benefits-grid li {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius);
  padding: 16px 18px;
  display: flex; gap: 14px; align-items: center;
}
.rw-jobdetail-benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--rw-quellblau-100);
  color: var(--rw-quellblau);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.rw-jobdetail-benefit-icon i { width: 18px; height: 18px; }
.rw-jobdetail-benefits-grid li div {
  display: flex; flex-direction: column; min-width: 0;
}
.rw-jobdetail-benefits-grid li strong {
  font-family: var(--rw-font-display); font-weight: 600;
  font-size: 14px; color: var(--rw-tiefenblau);
  line-height: 1.3; letter-spacing: -0.008em;
}
.rw-jobdetail-benefits-grid li span {
  font-size: 12.5px; color: var(--rw-text-muted);
  line-height: 1.4;
}

/* Footer: Ansprechpartner + CTA */
.rw-jobdetail-foot {
  padding: 32px 48px;
  border-top: 1px solid var(--rw-border-soft);
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFB 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.rw-jobdetail-contact { display: flex; flex-direction: column; gap: 4px; }
.rw-jobdetail-contact-eyebrow {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 6px;
}
.rw-jobdetail-contact-name {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 20px; color: var(--rw-tiefenblau);
  letter-spacing: -0.012em;
}
.rw-jobdetail-contact-role {
  font-size: 13.5px; color: var(--rw-text-muted);
  margin-bottom: 10px;
}
.rw-jobdetail-contact-lines {
  display: flex; flex-direction: column; gap: 6px;
}
.rw-jobdetail-contact-lines a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--rw-font-mono);
  font-size: 13.5px;
  color: var(--rw-tiefenblau);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: color 180ms;
}
.rw-jobdetail-contact-lines a:hover { color: var(--rw-quellblau); }
.rw-jobdetail-contact-lines a i {
  width: 15px; height: 15px;
  color: var(--rw-quellblau);
}

.rw-jobdetail-cta {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.rw-jobdetail-cta .rw-btn { font-size: 15px; padding: 14px 26px; }
.rw-jobdetail-cta-hint {
  font-size: 13px; line-height: 1.55;
  color: var(--rw-text-muted);
  margin: 0;
  max-width: 38ch;
  text-align: right;
}
.rw-jobdetail-cta-hint strong { color: var(--rw-tiefenblau); font-weight: 600; }

/* Responsive */
@media (max-width: 880px) {
  .rw-jobdetail-wrap { padding: 0 24px; }
  .rw-jobdetail-head { padding: 32px 28px 24px; }
  .rw-jobdetail-qualis,
  .rw-jobdetail-benefits { padding: 28px 28px; }
  .rw-jobdetail-block { padding: 28px 28px; }
  .rw-jobdetail-block + .rw-jobdetail-block { border-left: none; border-top: 1px solid var(--rw-border-soft); }
  .rw-jobdetail-grid { grid-template-columns: 1fr; }
  .rw-jobdetail-qualis-list,
  .rw-jobdetail-benefits-grid { grid-template-columns: 1fr; }
  .rw-jobdetail-foot { padding: 28px; grid-template-columns: 1fr; gap: 24px; }
  .rw-jobdetail-cta { align-items: flex-start; }
  .rw-jobdetail-cta-hint { text-align: left; }
}
.rw-ausb-list-status.muted { color: var(--rw-text-muted); background: var(--rw-stein-100); }
.rw-ausb-figure .rw-photo { height: 520px; border-radius: var(--rw-radius-xl); box-shadow: 0 18px 40px -20px rgba(0,43,92,0.18); }

/* =================================================================
   Bewerbungsprozess
   ================================================================= */
.rw-process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  border-top: 1px solid var(--rw-line);
  position: relative;
}
.rw-process-grid::before {
  content:''; position: absolute; left: 40px; right: 40px; top: -2px;
  height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1' fill='none' opacity='.55'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}
.rw-process-step {
  padding: 40px 28px 8px 0;
  border-right: 1px solid var(--rw-line);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.rw-process-step:not(:first-child) { padding-left: 28px; }
.rw-process-step:last-child { border-right: none; padding-right: 0; }
.rw-process-num {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--rw-quellblau-700);
}
.rw-process-step h3 {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 22px; line-height: 1.2;
  letter-spacing: -0.015em; color: var(--rw-tiefenblau); margin: 0; text-wrap: balance;
}
.rw-process-step p { font-size: 14px; line-height: 1.65; color: var(--rw-text-muted); margin: 0; }
.rw-process-meta {
  margin-top: auto; padding-top: 16px;
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--rw-text-muted);
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.rw-process-meta i { width: 12px; height: 12px; color: var(--rw-quellblau); }

/* =================================================================
   Vor Ort — Bento-Galerie
   ================================================================= */
.rw-bento {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.rw-bento-tile {
  position: relative;
  margin: 0;
  border-radius: var(--rw-radius-lg);
  overflow: hidden;
  background: var(--rw-stein-100);
  box-shadow: 0 8px 28px -16px rgba(0,43,92,0.20);
  isolation: isolate;
}
.rw-bento-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--rw-ease-standard);
  will-change: transform;
}
.rw-bento-tile:hover img { transform: scale(1.045); }
.rw-bento-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,30,64,0) 40%,
    rgba(0,30,64,0.30) 70%,
    rgba(0,30,64,0.70) 100%);
  pointer-events: none;
  z-index: 1;
}
.rw-bento-caption {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rw-bento-eyebrow {
  font-family: var(--rw-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-aqua);
}
.rw-bento-title {
  font-family: var(--rw-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* Tile-Größen (Bento-Asymmetrie) */
.rw-bento-tile--lg   { grid-column: span 6;  grid-row: span 2; }
.rw-bento-tile--sm   { grid-column: span 3;  grid-row: span 1; }
.rw-bento-tile--wide { grid-column: span 12; grid-row: span 2; }

/* Größere Titel auf der LG-Hero-Kachel */
.rw-bento-tile--lg .rw-bento-title { font-size: 32px; line-height: 1.1; letter-spacing: -0.018em; }

/* Tablet — 6-Spalten-Grid */
@media (max-width: 980px) {
  .rw-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    padding: 0 24px;
  }
  .rw-bento-tile--lg   { grid-column: span 6; grid-row: span 2; }
  .rw-bento-tile--sm   { grid-column: span 3; grid-row: span 1; }
  .rw-bento-tile--wide { grid-column: span 6; grid-row: span 2; }
  .rw-bento-tile--lg .rw-bento-title { font-size: 26px; }
}

/* Mobile — 1-Spalten-Stack */
@media (max-width: 640px) {
  .rw-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    padding: 0 16px;
    gap: 12px;
  }
  .rw-bento-tile--lg,
  .rw-bento-tile--sm,
  .rw-bento-tile--wide { grid-column: span 1; grid-row: span 1; }
  .rw-bento-tile--lg { grid-row: span 2; }
  .rw-bento-tile--lg .rw-bento-title { font-size: 24px; }
  .rw-bento-title { font-size: 19px; }
}

/* =================================================================
   Versorgungsgebiet — schematische Karte + Stats
   ================================================================= */
.rw-gebiet-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
.rw-gebiet-map {
  margin: 0;
  background: #fff;
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-xl);
  padding: 20px 24px 16px;
  box-shadow: 0 16px 40px -20px rgba(0,43,92,0.10);
  position: relative;
  overflow: hidden;
}
.rw-gebiet-map::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}
.rw-gebiet-map-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rw-radius);
}
.rw-gebiet-mapnote {
  font-family: var(--rw-font-body);
  font-size: 12.5px;
  color: var(--rw-text-muted);
  margin: 12px 4px 4px;
  text-align: center;
  font-style: italic;
}

.rw-gebiet-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}

/* Stat-Kacheln */
.rw-gebiet-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rw-gebiet-stat {
  background: #fff;
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 4px 14px -8px rgba(0,43,92,0.10);
}
.rw-gebiet-stat-num {
  font-family: var(--rw-font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.0;
  letter-spacing: -0.022em;
  color: var(--rw-tiefenblau);
  font-variant-numeric: tabular-nums;
}
.rw-gebiet-stat-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--rw-quellblau-700);
  margin-left: 2px;
  letter-spacing: -0.01em;
}
.rw-gebiet-stat-label {
  font-family: var(--rw-font-body);
  font-size: 12px;
  line-height: 1.4;
  color: var(--rw-text);
  margin-top: 6px;
}
.rw-gebiet-stat-label span {
  display: block;
  font-size: 11px;
  color: var(--rw-text-muted);
  margin-top: 2px;
}

/* Legende */
.rw-gebiet-legend {
  background: #fff;
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-lg);
  padding: 18px 20px;
  box-shadow: 0 4px 14px -8px rgba(0,43,92,0.08);
}
.rw-gebiet-legend-title {
  font-family: var(--rw-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 12px;
}
.rw-gebiet-legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rw-gebiet-legend li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--rw-font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--rw-text-muted);
}
.rw-gebiet-legend li strong {
  color: var(--rw-tiefenblau);
  font-weight: 600;
}
.rw-gebiet-legend-sym {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--rw-tiefenblau);
}
.rw-gebiet-legend-sym svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

/* Responsive */
@media (max-width: 980px) {
  .rw-gebiet-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .rw-gebiet-side { position: static; }
}@media (max-width: 640px) {
  .rw-gebiet-wrap { padding: 0 16px; gap: 20px; }
  .rw-gebiet-stats { grid-template-columns: 1fr; }
  .rw-gebiet-map { padding: 16px 16px 12px; }
  .rw-gebiet-stat-num { font-size: 26px; }
  .rw-gebiet-stat-unit { font-size: 15px; }
}

/* =================================================================
   Stimmen
   ================================================================= */
.rw-stimmen-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.rw-stimmen-col { display: flex; flex-direction: column; gap: 24px; }
.rw-stimme {
  background: #fff; border: 1px solid var(--rw-line); border-radius: var(--rw-radius-lg);
  padding: 40px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.rw-stimme:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: var(--rw-shadow-2);
}
.rw-stimme--lead { padding: 56px 56px 48px; }
.rw-stimme-mark {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 72px; line-height: 0.7;
  color: var(--rw-quellblau); letter-spacing: -0.04em; margin-bottom: 16px;
}
.rw-stimme blockquote {
  margin: 0 0 32px; padding: 0;
  font-family: var(--rw-font-display); font-weight: 500; font-size: 22px; line-height: 1.45;
  letter-spacing: -0.012em; color: var(--rw-tiefenblau); text-wrap: pretty;
}
.rw-stimme--lead blockquote { font-size: 28px; line-height: 1.35; }
.rw-stimme-attr {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--rw-line);
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center;
}
.rw-stimme--lead .rw-stimme-attr { grid-template-columns: 80px 1fr; gap: 20px; }
.rw-stimme-avatar {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--rw-tiefenblau);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--rw-font-display); font-weight: 700; font-size: 18px; letter-spacing: 0;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.rw-stimme-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.rw-stimme--lead .rw-stimme-avatar { width: 80px; height: 80px; font-size: 24px; }
.rw-stimme-avatar::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(0,174,239,0.45), transparent 60%);
}
.rw-stimme-avatar span { position: relative; z-index: 1; }
.rw-stimme-name { font-family: var(--rw-font-display); font-weight: 600; font-size: 16px; color: var(--rw-tiefenblau); letter-spacing: -0.01em; }
.rw-stimme-role {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rw-text-muted); margin-top: 2px;
}

/* =================================================================
   Standort / Wört
   ================================================================= */
.rw-standort-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.rw-standort-text {
  padding: 16px 64px 16px 0;
}
.rw-standort-text h2 {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 42px; line-height: 1.1;
  letter-spacing: -0.022em; color: var(--rw-tiefenblau); margin: 0 0 24px; text-wrap: balance;
}
.rw-standort-text p { font-size: 17px; line-height: 1.65; color: var(--rw-text-muted); margin: 0 0 16px; max-width: 480px; }
.rw-standort-facts {
  list-style: none; padding: 0; margin: 32px 0 0;
}
.rw-standort-facts li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rw-line);
  font-size: 14px;
}
.rw-standort-facts li:first-child { border-top: 1px solid var(--rw-line); }
.rw-standort-facts li > span:first-child { color: var(--rw-text-muted); }
.rw-standort-facts li > span:last-child {
  font-family: var(--rw-font-display); font-weight: 600;
  color: var(--rw-tiefenblau);
  font-variant-numeric: tabular-nums;
}
.rw-standort-figure { display: grid; grid-template-rows: 1.6fr 1fr; gap: 16px; min-height: 580px; }
.rw-standort-figure .rw-photo { border-radius: var(--rw-radius-xl); box-shadow: 0 18px 40px -20px rgba(0,43,92,0.16); }
.rw-standort-figure .rw-photo-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rw-standort-figure .rw-photo-lower .rw-photo { border-radius: var(--rw-radius-lg); min-height: auto; }

/* =================================================================
   FAQ
   ================================================================= */
.rw-faq-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
}
.rw-faq-side h2 {
  font-family: var(--rw-font-display); font-weight: 700; font-size: 42px; line-height: 1.1;
  letter-spacing: -0.022em; color: var(--rw-tiefenblau); margin: 0 0 24px; text-wrap: balance;
}
.rw-faq-side p { font-size: 16px; line-height: 1.65; color: var(--rw-text-muted); margin: 0 0 24px; }
.rw-faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.rw-faq-item {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius);
  transition: border-color 200ms, box-shadow 200ms;
}
.rw-faq-item.is-open {
  border-color: transparent;
  box-shadow: var(--rw-shadow-2);
}
.rw-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; background: none; border: none; padding: 22px 24px;
  text-align: left;
  font-family: var(--rw-font-display); font-weight: 600; font-size: 17px; line-height: 1.35;
  letter-spacing: -0.01em; color: var(--rw-tiefenblau);
  transition: color 150ms;
  text-wrap: balance;
}
.rw-faq-q:hover { color: var(--rw-quellblau-700); }
.rw-faq-q-icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--rw-quellblau-100); color: var(--rw-quellblau-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 250ms var(--rw-ease-standard), background 200ms, color 200ms;
}
.rw-faq-q-icon i { width: 16px; height: 16px; }
.rw-faq-item.is-open .rw-faq-q-icon {
  transform: rotate(45deg);
  background: var(--rw-quellblau);
  color: #fff;
}
.rw-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 320ms var(--rw-ease-standard);
}
.rw-faq-a-inner {
  padding: 0 24px 22px;
  font-size: 15.5px; line-height: 1.7; color: var(--rw-text-muted); max-width: 720px;
}
.rw-faq-item.is-open .rw-faq-a { max-height: 460px; }

/* =================================================================
   Quiz-Bewerbung — Multi-Step-Form (im Modal gerendert)
   ================================================================= */

/* Hauptkarte */
.rw-quiz {
  background: #fff;
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius-xl);
  padding: 36px 44px 32px;
  box-shadow: 0 16px 40px -20px rgba(0,43,92,0.12);
  position: relative;
  overflow: hidden;
}
.rw-quiz::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}

/* Progress */
.rw-quiz-progress {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.rw-quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--rw-stein-100);
  border-radius: 999px;
  overflow: hidden;
}
.rw-quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rw-quellblau), var(--rw-aqua));
  border-radius: 999px;
  transition: width 360ms var(--rw-ease-standard);
}
.rw-quiz-progress-meta {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 14px; color: var(--rw-tiefenblau);
  font-variant-numeric: tabular-nums;
}
.rw-quiz-progress-of {
  font-family: var(--rw-font-body); font-weight: 500;
  font-size: 12px; color: var(--rw-text-muted);
  text-transform: lowercase;
}

/* Step */
.rw-quiz-step { display: none; }
.rw-quiz-step.is-active {
  display: block;
  animation: rw-quiz-fade 320ms var(--rw-ease-standard);
}
@keyframes rw-quiz-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rw-quiz-step-num {
  display: inline-block;
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 12px;
}
.rw-quiz-question {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px); line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--rw-tiefenblau);
  margin: 0 0 10px;
  text-wrap: balance;
}
.rw-quiz-hint {
  font-size: 14.5px; line-height: 1.6;
  color: var(--rw-text-muted);
  margin: 0 0 24px;
  max-width: 60ch;
}

/* Options */
.rw-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.rw-quiz-options--inline { flex-direction: row; flex-wrap: wrap; gap: 8px; }

.rw-quiz-option {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid #6B7884; /* WCAG 1.4.11 — UI-Kontrast ≥ 3:1 */
  border-radius: var(--rw-radius);
  cursor: pointer;
  transition: border-color 180ms, background 180ms, transform 180ms;
}
.rw-quiz-option:hover { border-color: var(--rw-quellblau-700); }
/* WCAG 2.4.7 — visueller Fokus, da das eigentliche <input> visuell versteckt ist */
.rw-quiz-option:has(input:focus-visible) {
  outline: 3px solid var(--rw-tiefenblau);
  outline-offset: 2px;
}
.rw-quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.rw-quiz-option-bullet {
  width: 20px; height: 20px;
  border: 1.5px solid var(--rw-border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color 180ms, background 180ms;
}
.rw-quiz-option-bullet::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--rw-quellblau);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 200ms var(--rw-ease-standard);
}
.rw-quiz-option:has(input:checked) {
  border-color: var(--rw-quellblau);
  background: var(--rw-quellblau-100);
}
.rw-quiz-option:has(input:checked) .rw-quiz-option-bullet {
  border-color: var(--rw-quellblau);
}
.rw-quiz-option:has(input:checked) .rw-quiz-option-bullet::after {
  transform: scale(1);
}
.rw-quiz-option-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-quiz-option-content strong {
  font-family: var(--rw-font-display); font-weight: 600;
  font-size: 15px; color: var(--rw-tiefenblau);
  letter-spacing: -0.008em; line-height: 1.35;
}
.rw-quiz-option-content span {
  font-size: 13px; color: var(--rw-text-muted);
  line-height: 1.45;
}

/* Chips (compact options) */
.rw-quiz-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--rw-stein-50);
  border: 1.5px solid #6B7884; /* WCAG 1.4.11 */
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--rw-font-body); font-weight: 500;
  font-size: 14px;
  color: var(--rw-tiefenblau);
  transition: border-color 180ms, background 180ms;
}
.rw-quiz-chip:hover { border-color: var(--rw-quellblau-700); }
.rw-quiz-chip:has(input:focus-visible) {
  outline: 3px solid var(--rw-tiefenblau);
  outline-offset: 2px;
}
.rw-quiz-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rw-quiz-chip:has(input:checked) {
  background: var(--rw-quellblau);
  border-color: var(--rw-quellblau);
  color: #fff;
  font-weight: 600;
}

/* Sub-Block (Step 3 + 4) */
.rw-quiz-sub { margin-top: 24px; }
.rw-quiz-sub:first-of-type { margin-top: 0; }
.rw-quiz-sub-label {
  display: block;
  font-family: var(--rw-font-display); font-weight: 600;
  font-size: 14.5px; color: var(--rw-tiefenblau);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.rw-quiz-optional {
  font-family: var(--rw-font-body); font-weight: 500;
  font-size: 12.5px; color: var(--rw-text-muted);
  margin-left: 4px;
}

/* Inputs */
.rw-quiz-input {
  width: 100%;
  font-family: var(--rw-font-body); font-size: 15px;
  padding: 13px 16px;
  border-radius: 12px;
  /* WCAG 1.4.11 — UI-Komponenten brauchen mind. 3:1 Kontrast gegenüber Hintergrund */
  border: 1.5px solid #6B7884;
  background: #fff;
  color: var(--rw-text);
  transition: border-color 180ms, box-shadow 180ms;
}
.rw-quiz-input:focus-visible {
  outline: 3px solid var(--rw-tiefenblau);
  outline-offset: 2px;
  border-color: var(--rw-quellblau);
}
.rw-quiz-input:focus:not(:focus-visible) {
  border-color: var(--rw-quellblau);
  box-shadow: 0 0 0 4px rgba(0, 43, 92, 0.18);
}
.rw-quiz-input.is-error { border-color: var(--rw-danger); }
.rw-quiz-textarea { resize: vertical; min-height: 84px; }
.rw-quiz-input-hint {
  display: block;
  font-size: 12.5px; color: var(--rw-text-muted);
  margin-top: 6px;
}

/* Form Grid (Step 5) */
.rw-quiz-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.rw-quiz-input-group { display: flex; flex-direction: column; }
.rw-quiz-input-group--wide { grid-column: 1 / -1; }
.rw-quiz-consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--rw-stein-50);
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius);
}
.rw-quiz-consent input {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--rw-quellblau);
  flex-shrink: 0;
}
.rw-quiz-consent label {
  font-size: 13px; line-height: 1.55;
  color: var(--rw-text-muted);
}
.rw-quiz-consent label a {
  color: var(--rw-quellblau-700);
  text-decoration: underline; text-underline-offset: 2px;
}

/* Success */
.rw-quiz-success {
  text-align: center; padding: 16px 0 8px;
}
.rw-quiz-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--rw-success-bg);
  color: #3F7A4D;
  margin-bottom: 20px;
}
.rw-quiz-success-icon i { width: 32px; height: 32px; stroke-width: 3; }
.rw-quiz-success h3 {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 26px; color: var(--rw-tiefenblau);
  margin: 0 0 12px;
  letter-spacing: -0.018em;
}
.rw-quiz-success p {
  font-size: 15.5px; line-height: 1.65;
  color: var(--rw-text-muted);
  margin: 0 auto 8px;
  max-width: 50ch;
}
.rw-quiz-success p strong { color: var(--rw-tiefenblau); font-weight: 600; }
.rw-quiz-success-hint { font-size: 13.5px !important; margin-top: 16px !important; }
.rw-quiz-success-hint a {
  color: var(--rw-quellblau-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Navigation */
.rw-quiz-nav {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rw-border-soft);
}
.rw-quiz-nav .rw-btn { font-size: 14.5px; }
.rw-quiz-nav [data-quiz-next],
.rw-quiz-nav [data-quiz-submit] { margin-left: auto; }
.rw-quiz-error {
  font-size: 13px; color: var(--rw-danger);
  display: inline-flex; align-items: center; gap: 6px;
  flex: 1;
}

/* Responsive (quiz) */
@media (max-width: 720px) {
  .rw-quiz-form-grid { grid-template-columns: 1fr; }
  .rw-quiz-nav { flex-wrap: wrap; }
  .rw-quiz-nav [data-quiz-next],
  .rw-quiz-nav [data-quiz-submit] { margin-left: 0; width: 100%; justify-content: center; }
}

/* =================================================================
   Initiativbewerbung — 2-Spalten-Layout am Seitenende
   ================================================================= */
.rw-initiativ-wrap {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 40px;
}
.rw-initiativ-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 32px;
  align-items: start;
}
/* Submit-Button rechtsbündig in der Form */
.rw-initiativ .rw-quiz-nav .rw-btn { margin-left: auto; }

/* Sidebar */
.rw-initiativ-aside {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 96px;
}

/* Kontakt-Kachel */
.rw-initiativ-contact {
  background: #fff;
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-xl);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -20px rgba(0,43,92,0.10);
}
.rw-initiativ-contact::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'><path d='M0 2 Q 50 0, 100 2 T 200 2 T 300 2 T 400 2 T 500 2 T 600 2 T 700 2 T 800 2 T 900 2 T 1000 2 T 1100 2 T 1200 2' stroke='%2300AEEF' stroke-width='1.4' fill='none'/></svg>");
  background-size: 100% 4px;
  background-repeat: no-repeat;
}
.rw-initiativ-contact-eyebrow {
  font-family: var(--rw-font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rw-quellblau-700);
  margin-bottom: 14px;
}
.rw-initiativ-contact-name {
  font-family: var(--rw-font-display); font-weight: 700;
  font-size: 20px; color: var(--rw-tiefenblau);
  letter-spacing: -0.012em;
}
.rw-initiativ-contact-role {
  font-family: var(--rw-font-body);
  font-size: 13.5px; color: var(--rw-text-muted);
  margin-bottom: 16px;
}
.rw-initiativ-contact-lines {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rw-border);
}
.rw-initiativ-contact-lines a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--rw-font-mono); font-size: 14px;
  color: var(--rw-tiefenblau);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: color 180ms;
}
.rw-initiativ-contact-lines a:hover { color: var(--rw-quellblau); }
.rw-initiativ-contact-lines a i {
  width: 16px; height: 16px; color: var(--rw-quellblau);
}
.rw-initiativ-contact-note {
  font-family: var(--rw-font-body);
  font-size: 13.5px; line-height: 1.55;
  color: var(--rw-text-muted);
  margin: 16px 0 0;
}

/* Trust-Kachel */
.rw-initiativ-trust {
  background: var(--rw-stein-50);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.rw-initiativ-trust-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--rw-font-body);
  font-size: 13.5px; line-height: 1.55;
  color: var(--rw-text-muted);
}
.rw-initiativ-trust-item i {
  width: 16px; height: 16px;
  color: var(--rw-quellblau);
  flex-shrink: 0;
  margin-top: 2px;
}
.rw-initiativ-trust-item strong { color: var(--rw-tiefenblau); font-weight: 600; }

/* Success-Kachel — zentriert, schmaler */
.rw-initiativ-success {
  max-width: 640px;
  margin: 0 auto;
}@media (max-width: 980px) {
  .rw-initiativ-layout { grid-template-columns: 1fr; }
  .rw-initiativ-aside { position: static; }
  .rw-initiativ-wrap { padding: 0 24px; }
}@media (max-width: 720px) {
  .rw-initiativ-wrap { padding: 0 16px; }
  .rw-initiativ .rw-quiz-nav { flex-wrap: wrap; }
  .rw-initiativ .rw-quiz-nav .rw-btn { width: 100%; justify-content: center; margin-left: 0; }
}

/* =================================================================
   Quiz-Modal (Popup)
   ================================================================= */
.rw-modal {
  /* Reset native <dialog> styling */
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  inset: 0;
  overflow: hidden;
}
.rw-modal::backdrop {
  background: rgba(0, 30, 64, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Open-state — needed both for native open attr and JS fallback */
.rw-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rw-modal-card {
  position: relative;
  width: min(720px, 100% - 32px);
  max-height: min(92vh, 880px);
  background: var(--rw-white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 30, 64, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rw-modal-in 220ms var(--rw-ease-emphasized);
}
@keyframes rw-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.rw-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--rw-border);
  flex-shrink: 0;
}
.rw-modal-head .rw-eyebrow { margin-bottom: 6px; }
.rw-modal-title {
  font-family: var(--rw-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--rw-tiefenblau);
  margin: 0;
}
.rw-modal-close {
  flex-shrink: 0;
  appearance: none;
  background: var(--rw-surface-sunken);
  border: 1px solid var(--rw-border);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rw-text-muted);
  cursor: pointer;
  transition: background var(--rw-duration) var(--rw-ease-standard),
              color var(--rw-duration) var(--rw-ease-standard),
              border-color var(--rw-duration) var(--rw-ease-standard);
}
.rw-modal-close:hover {
  background: var(--rw-quellblau-100);
  border-color: var(--rw-quellblau-300);
  color: var(--rw-tiefenblau);
}
.rw-modal-close:focus-visible {
  outline: 2px solid var(--rw-quellblau);
  outline-offset: 2px;
}
.rw-modal-close i { width: 18px; height: 18px; }

.rw-modal-body {
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}
.rw-modal-body .rw-quiz {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rw-modal-body .rw-quiz::before { display: none; }

.rw-modal-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--rw-border);
  padding: 16px 28px;
  margin: 0;
  background: var(--rw-surface-raised);
  flex-shrink: 0;
}
.rw-modal-foot .rw-btn { font-size: 14.5px; }
.rw-modal-foot [data-quiz-next],
.rw-modal-foot [data-quiz-submit] { margin-left: auto; }@media (max-width: 720px) {
  .rw-modal-foot { padding: 12px 20px; flex-wrap: wrap; }
  .rw-modal-foot [data-quiz-next],
  .rw-modal-foot [data-quiz-submit] { margin-left: 0; width: 100%; justify-content: center; }
}

/* Respect [hidden] on rw-btn (otherwise inline-flex wins over UA rule) */
.rw-btn[hidden],
[hidden] { display: none !important; }

/* Lock body scroll when modal is open */
body.rw-modal-open {
  overflow: hidden;
}@media (max-width: 720px) {
  .rw-modal-card { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .rw-modal-head { padding: 16px 20px 12px; }
  .rw-modal-title { font-size: 18px; }
  .rw-modal-body { padding: 20px; }
  .rw-modal-foot { padding: 12px 20px; }
}

/* =================================================================
   Footer
   ================================================================= */
.rw-footer {
  background: linear-gradient(180deg, var(--rw-tiefenblau-700) 0%, #001530 100%);
  color: #fff; padding: 96px 0 24px;
  position: relative; overflow: hidden;
}
.rw-footer::before {
  /* obere Wellenlinie als Brand-Akzent */
  content:''; position: absolute; left: 0; right: 0; top: 0;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 24 Q 240 0, 480 24 T 960 24 T 1440 24' stroke='%2300AEEF' stroke-width='1.4' fill='none' opacity='.50'/><path d='M0 40 Q 240 16, 480 40 T 960 40 T 1440 40' stroke='%236FD3F5' stroke-width='1.2' fill='none' opacity='.30'/></svg>");
  background-size: 100% 60px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.rw-footer::after {
  /* dezentes Rohrnetz-Raster, anstelle Kreisraster */
  content:''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 20% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 20% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.rw-footer-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px;
}
.rw-footer-brand p { font-family: var(--rw-font-body); font-size: 15px; line-height: 1.65; color: var(--rw-text-on-dark-muted); max-width: 280px; margin-top: 20px; }
/* Footer-Logo: weißer Kreis mit Signet + Wordmark in Weiß */
.rw-footer-logo {
  display: inline-flex; align-items: center; gap: 14px;
}
.rw-footer-logo-badge {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #fff;
  display: grid; place-items: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.rw-footer-logo-badge img {
  width: 100%; height: auto; display: block;
  mix-blend-mode: multiply;
}
.rw-footer-logo-text {
  display: flex; flex-direction: column;
  line-height: 1.15;
  color: #fff;
}
.rw-footer-logo-text strong {
  font-family: var(--rw-font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rw-aqua);
}
.rw-footer-logo-text > span {
  font-family: var(--rw-font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.012em;
  color: #fff;
  margin-top: 3px;
}
.rw-footer-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rw-aqua); margin-bottom: 20px;
  font-family: var(--rw-font-body);
}
.rw-footer-col p { font-size: 14px; line-height: 1.7; color: var(--rw-text-on-dark-muted); margin: 0 0 12px; }
.rw-footer-col a { color: #fff; transition: color 150ms; display: inline-flex; align-items: center; gap: 6px; }
.rw-footer-col a:hover { color: var(--rw-aqua); }
.rw-footer-ext {
  width: 12px; height: 12px;
  opacity: 0.6;
  transition: opacity 150ms;
}
.rw-footer-col a:hover .rw-footer-ext { opacity: 1; }
.rw-footer-bottom {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 64px auto 0; padding: 24px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--rw-font-body); font-weight: 500;
  font-size: 12px; letter-spacing: 0.04em; color: var(--rw-text-on-dark-muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1100px) {
  .rw-hero--a .rw-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .rw-hero-feature { margin-bottom: 0; }
  .rw-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .rw-process-grid { grid-template-columns: repeat(2, 1fr); }
  .rw-process-step { border-bottom: 1px solid var(--rw-line); }
  .rw-jobs-grid { grid-template-columns: 1fr; }
  .rw-stimmen-grid { grid-template-columns: 1fr; }
  .rw-ausb-grid, .rw-standort-grid, .rw-faq-grid, .rw-apply-grid { grid-template-columns: 1fr; gap: 32px; }
  .rw-standort-text { padding-right: 0; }
  .rw-footer-inner { grid-template-columns: 1fr 1fr; }
  .rw-why-grid { grid-template-columns: 1fr; }
  .rw-why-card { border-right: none; border-bottom: 1px solid var(--rw-line); padding: 32px 0; }
  .rw-why-card:last-child { border-bottom: none; }
  .rw-why-card:not(:first-child) { padding-left: 0; }
  .rw-hero-title { font-size: 56px !important; }
  .rw-hero--c .rw-hero-title { font-size: 72px !important; }
  .rw-section-head { flex-direction: column; align-items: flex-start; }
  .rw-section-head p { max-width: 100%; }
  .rw-nav { display: none; }
  .rw-form { grid-template-columns: 1fr; }
}@media (max-width: 720px) {
  .rw-section { padding: 80px 0; }
  .rw-section-head { margin-bottom: 40px; }
  .rw-section-head h2 { font-size: 32px; }
  .rw-benefits-grid { grid-template-columns: 1fr; }
  .rw-stimmen-grid, .rw-ausb-grid, .rw-standort-grid, .rw-faq-grid, .rw-apply-grid { padding: 0 24px; }
  .rw-section-head, .rw-container { padding: 0 24px; }
  .rw-header-inner { padding: 0 16px; gap: 12px; }
  .rw-stimme--lead, .rw-stimme { padding: 32px 24px; }
  .rw-stimme--lead blockquote { font-size: 22px; }

  /* Header auf Mobile: Mainsite-Pill + Bewerben-CTA raus,
     Voll-Name des Arbeitgebers wieder einblenden (Sticky-CTA unten übernimmt Bewerben). */
  .rw-mainsite { display: none; }
  .rw-headercta { display: none; }
  .rw-logo-text { display: flex; }

  /* Bewerbungsprozess: 4 Spalten → 1 Spalte, horizontale Trennlinien */
  .rw-process-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .rw-process-grid::before {
    left: 16px; right: 16px;
  }
  .rw-process-step {
    border-right: none;
    border-bottom: 1px solid var(--rw-line);
    padding: 32px 0 28px;
  }
  .rw-process-step:not(:first-child) { padding-left: 0; }
  .rw-process-step:last-child {
    border-bottom: none;
    padding-bottom: 8px;
  }
  .rw-process-step h3 { font-size: 22px; }
  .rw-process-meta { padding-top: 12px; }

  /* Footer: 4 Spalten → 1 Spalte, schmalere Paddings, gestapelte Bottom-Zeile */
  .rw-footer { padding: 64px 0 28px; }
  .rw-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }
  .rw-footer-brand p { max-width: none; margin-top: 16px; }
  .rw-footer-bottom {
    margin-top: 40px;
    padding: 20px 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =================================================================
   Sticky Mobile-CTA — nur unter 720px sichtbar
   ================================================================= */
.rw-mobile-cta {
  display: none;
}
@media (max-width: 720px) {
  .rw-mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    background: var(--rw-quellblau);
    color: #fff;
    font-family: var(--rw-font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.005em;
    cursor: pointer;
    box-shadow:
      0 10px 30px -8px rgba(0,43,92,0.45),
      0 4px 12px -4px rgba(0,174,239,0.35);
    transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
  }
  .rw-mobile-cta:active {
    transform: translateY(1px);
    background: var(--rw-quellblau-700);
  }
  .rw-mobile-cta:focus-visible {
    outline: 2px solid var(--rw-tiefenblau);
    outline-offset: 2px;
  }
  .rw-mobile-cta i {
    width: 18px; height: 18px;
  }
  /* etwas Platz unten am body, damit kein Inhalt unter dem Button verschwindet */
  body {
    padding-bottom: 88px;
  }
  /* Innerhalb des Quiz-Modal nicht anzeigen */
  body.rw-modal-open .rw-mobile-cta {
    display: none;
  }
}
