/* MR.STEUER Recruiting · mobile first */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 500 850;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/worksans.woff2") format("woff2-variations"), url("fonts/worksans.woff2") format("woff2");
  font-weight: 400 650;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy: #002061;
  --navy-deep: #00133d;
  --navy-soft: #0a2a6e;
  --ink: #0b1733;
  --muted: #55617c;
  --paper: #ffffff;
  --tint: #eef2f9;
  --line: #d7deea;
  --gold: #c8a97e;
  --gold-light: #e9cfa0;
  --gold-deep: #7d5f2e;
  --on-navy: #ffffff;
  --on-navy-muted: rgba(255, 255, 255, 0.72);
  --on-navy-line: rgba(255, 255, 255, 0.14);
  --danger: #b42318;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: 20px;
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "lnum";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

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

/* Typografie */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 {
  font-size: clamp(2.15rem, 8.4vw, 4.5rem);
  font-weight: 820;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.125rem; font-weight: 720; font-stretch: 104%; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 1.125rem; line-height: 1.55; max-width: 34em; }
/* Stelle im Kopfbereich: ruhige Kapsel statt Versal-Etikett */
.stelle-tag {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  max-width: 100%; margin: 0;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(233, 207, 160, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.875rem; line-height: 1.3; color: #fff;
}
.stelle-tag b { font-weight: 600; }
.stelle-tag .ort-tag { color: var(--gold-light); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.stelle-tag .ort-tag::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
.stelle-tag .punkt {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #7ee0a3; box-shadow: 0 0 0 0 rgba(126, 224, 163, 0.55);
  animation: puls 2.4s ease-out infinite;
}
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(126, 224, 163, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(126, 224, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 224, 163, 0); }
}
.gold { color: var(--gold); }
.mark { color: var(--gold-deep); }

/* Kopfzeile */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 18px 0;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { height: 20px; width: auto; }
.top a.top-cta { display: none; }
.top .top-tag {
  font-size: 0.875rem; font-weight: 500;
  color: var(--on-navy-muted); text-decoration: none;
}

/* Knoepfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 650; font-size: 1.0625rem; text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold {
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 48%, #b18d58 100%);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px -10px rgba(200, 169, 126, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0) scale(0.985); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-block { width: 100%; }
.micro { font-size: 0.875rem; color: var(--on-navy-muted); margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro svg { width: 15px; height: 15px; color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(200, 169, 126, 0.16) 0%, rgba(200, 169, 126, 0) 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(10, 42, 110, 0.9) 0%, rgba(10, 42, 110, 0) 70%),
    var(--navy);
  color: var(--on-navy);
  padding: 92px 0 56px;
  overflow: hidden;
  overflow: clip;
}
.hero::after {
  /* Linienraster wie ein Formularbogen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 85%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 18px; color: var(--on-navy-muted); }
.hero .cta-row { margin-top: 28px; display: grid; gap: 4px; }
.proof {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--on-navy-line);
  display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.875rem; color: var(--on-navy-muted);
}
.proof b { color: #fff; font-weight: 650; }
.proof .stars { color: var(--gold); letter-spacing: 1px; }

/* Bescheid-Karte (SFA) */
.bescheid {
  position: relative;
  background: #fbfaf7;
  color: var(--ink);
  border-radius: 6px;
  padding: 22px 20px 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform: rotate(-1.2deg);
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.bescheid::before {
  /* Lochrand links */
  content: ""; position: absolute; left: 8px; top: 18px; bottom: 18px; width: 6px;
  background-image: radial-gradient(circle, rgba(11, 23, 51, 0.16) 2.2px, transparent 2.6px);
  background-size: 6px 26px;
}
.bescheid-kopf { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; padding-left: 10px; }
.bescheid h2 {
  font-size: 1.35rem; font-stretch: 106%; letter-spacing: -0.01em; margin: 12px 0 2px; padding-left: 10px;
}
.bescheid .sub { font-size: 0.8125rem; color: var(--muted); padding-left: 10px; }
.zeilen { list-style: none; margin: 16px 0 0; padding: 0 0 0 10px; }
.zeilen li {
  display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: baseline; gap: 8px;
  padding: 9px 0; border-bottom: 1px dashed #cfd5e2; font-size: 0.9375rem;
}
.zeilen .nr { font-family: var(--mono); font-size: 0.7rem; color: #8a93a8; font-variant-numeric: tabular-nums; }
.zeilen .wert { font-family: var(--mono); font-size: 0.8125rem; color: var(--navy); font-weight: 500; text-align: right; }
.bescheid-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 12px; margin-top: 16px; padding-left: 10px; }
.bescheid-fuss p { font-size: 0.78rem; color: var(--muted); flex: 1 1 170px; line-height: 1.4; }
.stempel {
  font-family: var(--display); font-weight: 820; font-stretch: 118%;
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #9a7535; border: 2.5px solid #9a7535; border-radius: 6px;
  padding: 6px 10px; transform: rotate(-9deg);
  box-shadow: inset 0 0 0 2px rgba(154, 117, 53, 0.18);
  opacity: 0.92; white-space: nowrap;
}

/* Zwei-Wege-Karte (StB) */
.wege {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--on-navy-line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid; gap: 18px;
  max-width: 480px; width: 100%; justify-self: center;
  backdrop-filter: blur(2px);
}
.weg { display: grid; gap: 10px; }
.weg-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.weg-kopf b { font-family: var(--display); font-stretch: 108%; font-weight: 760; font-size: 1.05rem; }
.weg-kopf span { font-size: 0.8125rem; font-weight: 500; }
.weg ol { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; display: grid; gap: 10px; }
.weg ol::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; }
.weg li { position: relative; font-size: 0.9375rem; line-height: 1.4; }
.weg li::before { content: ""; position: absolute; left: -18px; top: 5px; width: 12px; height: 12px; border-radius: 50%; }
.weg li small { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 2px; }
.weg-a { color: rgba(255, 255, 255, 0.55); }
.weg-a .weg-kopf span { color: rgba(255, 255, 255, 0.45); }
.weg-a ol::before { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0 4px, transparent 4px 8px); }
.weg-a li::before { background: var(--navy); border: 2px solid rgba(255, 255, 255, 0.35); }
.weg-a li:last-child::before { content: "?"; display: grid; place-items: center; font: 700 9px/1 var(--body); color: rgba(255, 255, 255, 0.6); }
.weg-b { color: #fff; padding-top: 18px; border-top: 1px solid var(--on-navy-line); }
.weg-b .weg-kopf span { color: var(--gold-light); }
.weg-b ol::before { background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.weg-b li::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(200, 169, 126, 0.22); }
.weg-b li small { color: var(--gold-light); }

/* Abschnitte */
.sec { padding: 64px 0; }
.sec--tint { background: var(--tint); }
.sec--navy { background: var(--navy); color: var(--on-navy); }
.sec--deep { background: var(--navy-deep); color: var(--on-navy); }
.sec-kopf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 760px; margin-bottom: 36px; }
.sec-kopf p { color: var(--muted); font-size: 1.0625rem; }
.sec--navy .sec-kopf p, .sec--deep .sec-kopf p { color: var(--on-navy-muted); }

/* Schmerzpunkte */
.schmerz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.schmerz article {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.schmerz .ico { width: 44px; height: 44px; border-radius: 12px; background: #fdf3f2; color: var(--danger); display: grid; place-items: center; }
.schmerz .ico svg { width: 22px; height: 22px; }
.schmerz h3 { margin-bottom: 4px; }
.schmerz p { color: var(--muted); font-size: 0.975rem; }
.wende {
  margin-top: 28px; padding: 22px; border-radius: var(--radius);
  background: var(--navy); color: #fff; display: grid; gap: 6px;
}
.wende b { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.wende span { color: var(--on-navy-muted); font-size: 0.975rem; }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.gruppe { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.gruppe h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.gruppe h3 .tag { font-size: 0.75rem; color: var(--gold-deep); background: #f6efe3; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.liste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.45; }
.liste li svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 1px; }
.liste li b { font-weight: 650; }
.liste li small { display: block; color: var(--muted); font-size: 0.875rem; }
.gruppe--haupt { border: 0; background: var(--navy); color: #fff; }
.gruppe--haupt h3 .tag { background: rgba(200, 169, 126, 0.18); color: var(--gold-light); }
.gruppe--haupt .liste li svg { color: var(--gold); }
.gruppe--haupt .liste li small { color: var(--on-navy-muted); }

/* Fakten */
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fakt { padding: 18px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.fakt b { display: block; white-space: nowrap; font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.4rem, 6.4vw, 1.9rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.fakt span { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.sec--navy .fakt, .sec--deep .fakt { background: rgba(255, 255, 255, 0.05); border-color: var(--on-navy-line); }
.sec--navy .fakt b, .sec--deep .fakt b { color: #fff; }
.sec--navy .fakt span, .sec--deep .fakt span { color: var(--on-navy-muted); }
.ort { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ort svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }

.btn-voll { width: 100%; }
.abstand-oben { margin-top: 28px; }
.faq-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }

/* Aufgaben und Profil */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.karte { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.karte h3 { margin-bottom: 6px; }

/* Ablauf */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt; position: relative;
  padding: 20px 20px 20px 72px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--on-navy-line);
}
.ablauf li::before {
  content: counter(schritt); position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; color: var(--navy-deep);
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
}
.ablauf h3 { color: #fff; }
.ablauf p { color: var(--on-navy-muted); font-size: 0.975rem; margin-top: 4px; }

/* Person */
.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: linear-gradient(160deg, #dfe6f3, #f6f8fc); }
.person b { font-family: var(--display); font-stretch: 106%; font-weight: 760; font-size: 1.15rem; display: block; }
.person span { color: var(--muted); font-size: 0.9375rem; }
.kontaktwege { display: grid; gap: 8px; margin-top: 18px; }
.kontaktwege a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 600; overflow-wrap: anywhere; }
.kontaktwege a svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }

/* Martin */
.vorstand { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.vorstand figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.vorstand figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 20%; }
.vorstand figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(0, 19, 61, 0.86); border: 1px solid rgba(200, 169, 126, 0.35); padding: 10px 14px; border-radius: 10px; }
.vorstand figcaption b { display: block; font-family: var(--display); font-weight: 760; font-stretch: 106%; }
.vorstand figcaption span { font-size: 0.8125rem; color: var(--on-navy-muted); }
/* Zahlen wie "12,7 Mio." brauchen Platz: neben dem Vorstandsfoto immer zwei mal zwei */
.vorstand .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 0.8125rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--on-navy-line); color: var(--on-navy-muted); }
.chips span b { color: var(--gold-light); font-weight: 650; }
.presse { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--on-navy-line); }
.presse p { font-size: 0.875rem; color: var(--on-navy-muted); }
.presse div { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 14px; }
.presse img { height: 22px; width: auto; opacity: 0.75; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

/* Schluss */
.schluss { text-align: left; }
.schluss h2 { max-width: 15em; }
.schluss .lead { margin-top: 14px; color: var(--on-navy-muted); }
.schluss .btn { margin-top: 26px; }

/* Fusszeile */
.fuss { background: var(--navy-deep); color: var(--on-navy-muted); padding: 32px 0 110px; font-size: 0.875rem; }
.fuss .wrap { display: grid; gap: 14px; }
.fuss img { height: 16px; width: auto; opacity: 0.8; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fuss a { color: var(--on-navy-muted); text-decoration: none; }
.fuss a:hover { color: #fff; }

/* Haftende Leiste mobil */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 19, 61, 0.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--on-navy-line);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.leiste.sichtbar { transform: translateY(0); }
.leiste .btn { width: 100%; min-height: 52px; }

/* Uebersicht */
.auswahl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 30px; }
.auswahl a {
  display: grid; gap: 8px; text-decoration: none; padding: 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--on-navy-line); color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.auswahl a:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.auswahl small { font-size: 0.875rem; font-weight: 500; color: var(--gold-light); }
.auswahl b { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.auswahl span { color: var(--on-navy-muted); font-size: 0.975rem; }
.auswahl i { font-style: normal; font-weight: 650; color: var(--gold-light); display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.auswahl i svg { width: 18px; height: 18px; flex: none; }

/* Danke */
.danke { min-height: 100svh; display: grid; align-content: center; padding: 100px 0 60px; }
.danke .haken { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }
.danke .haken svg { width: 34px; height: 34px; }
.danke h1 { margin-top: 26px; font-size: clamp(2rem, 7.4vw, 3.6rem); }
.danke .lead { margin-top: 16px; color: var(--on-navy-muted); }
.danke .naechste { margin-top: 32px; display: grid; gap: 12px; max-width: 560px; }
.danke .naechste div { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--on-navy-line); background: rgba(255, 255, 255, 0.04); }
.danke .naechste b { color: #fff; display: block; }
.danke .naechste span { color: var(--on-navy-muted); font-size: 0.9375rem; }

/* ----------------------------------------------------------------------- */
/* Funnel                                                                   */
/* ----------------------------------------------------------------------- */
.funnel[hidden] { display: none; }
.funnel {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 10, 32, 0.6);
  display: grid; align-items: stretch; justify-items: center;
}
.funnel-box {
  width: 100%; max-width: 560px; height: 100%; height: 100dvh; min-height: 0; overflow: hidden;
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-rows: auto auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  animation: hoch 0.28s ease;
}
@keyframes hoch { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.funnel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); background: var(--navy); color: #fff; }
.funnel-kopf img { height: 15px; width: auto; }
.funnel-kopf .stelle { min-width: 0; font-size: 0.8125rem; font-weight: 500; color: var(--gold-light); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.funnel-zu { width: 40px; height: 40px; border: 1px solid var(--on-navy-line); border-radius: 10px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.funnel-zu svg { width: 18px; height: 18px; }
.fortschritt { height: 4px; background: var(--tint); }
.fortschritt span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 0.3s ease; }
.funnel-inhalt { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px var(--gutter) 28px; -webkit-overflow-scrolling: touch; }
.schritt-nr { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.funnel h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); margin-top: 8px; }
.funnel h2:focus, .funnel h2:focus-visible { outline: none; }
.funnel .hinweis { color: var(--muted); font-size: 0.9375rem; margin-top: 8px; }
.ausschluss-aktionen { display: grid; gap: 10px; margin-top: 24px; }
.ausschluss-aktionen .btn { width: 100%; text-decoration: none; }
.ausschluss-zurueck { justify-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.optionen { display: grid; gap: 10px; margin-top: 22px; }
.option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 14px 16px; text-align: left; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 1rem; line-height: 1.3;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.option::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3cbdb; flex: none; transition: all 0.15s; }
.option:hover { border-color: #aab5cb; }
.option:active { transform: scale(0.99); }
.option[aria-pressed="true"] { border-color: var(--navy); background: #f2f5fb; }
.option[aria-pressed="true"]::after { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 4px #f2f5fb; }
.funnel-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.zurueck { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 10px 4px; display: inline-flex; align-items: center; gap: 6px; }
.zurueck[hidden] { visibility: hidden; display: inline-flex; }
.zurueck svg { width: 16px; height: 16px; }
.vertraulich { font-size: 0.8125rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.vertraulich svg { width: 15px; height: 15px; color: var(--gold-deep); }

.felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; position: relative; }
.feld label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"] {
  width: 100%; min-height: 54px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.feld input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 32, 97, 0.12); }
.feld.fehler input { border-color: var(--danger); }
.feld .meldung { color: var(--danger); font-size: 0.8125rem; margin-top: 6px; display: none; }
.feld.fehler .meldung { display: block; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.upload { border: 1.5px dashed #b9c3d6; border-radius: 12px; padding: 14px 16px; background: #f7f9fc; }
.upload label { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0; }
.upload .ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--navy); }
.upload .ico svg { width: 20px; height: 20px; }
.upload b { display: block; font-size: 0.9375rem; }
.upload small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload .datei { display: none; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 0.875rem; }
.upload .datei.da { display: flex; }
.upload .datei span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload .datei button { background: none; border: 0; color: var(--danger); font-weight: 600; cursor: pointer; font-size: 0.8125rem; flex: none; }
.upload.fehler { border-color: var(--danger); }
.upload .meldung { color: var(--danger); font-size: 0.8125rem; margin-top: 8px; display: none; }
.upload.fehler .meldung { display: block; }

.zustimmung { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.zustimmung input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.zustimmung a { color: var(--navy); }
.zustimmung.fehler { color: var(--danger); }

.senden { margin-top: 20px; }
.senden .btn { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.laeuft { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0, 19, 61, 0.25); border-top-color: var(--navy-deep); animation: dreh 0.8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
.fehlerbox { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fdf3f2; color: var(--danger); font-size: 0.875rem; display: none; }
.fehlerbox.da { display: block; }
.fehlerbox a { color: var(--danger); font-weight: 600; }

/* ----------------------------------------------------------------------- */
/* Ab Tablet                                                                */
/* ----------------------------------------------------------------------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .sec { padding: 96px 0; }
  .schmerz { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schmerz article { grid-template-columns: 1fr; }
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gruppe--haupt { grid-row: span 2; }
  .fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
  .btn-voll { width: auto; }
  .auswahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel { align-items: center; padding: 24px; }
  .funnel-box { height: auto; max-height: min(780px, calc(100vh - 48px)); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5); }
  .leiste { display: none; }
  .fuss { padding-bottom: 32px; }
}
@media (min-width: 1000px) {
  .top { padding: 26px 0; }
  .top img { height: 24px; }
  .top a.top-cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
  .top .top-tag { display: none; }
  .hero { padding: 140px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 56px; }
  /* Zweispaltig: Ueberschrift an der Spaltenbreite ausrichten, damit lange Woerter wie "Niederlassung" (knapp 7,9 Schriftgroessen breit) heil bleiben */
  .hero:not(.danke) .wrap > div:first-child { container-type: inline-size; }
  .hero:not(.danke) h1 { font-size: min(4.5rem, calc(6.66vw - 8px)); font-size: min(4.5rem, 12.3cqi); }
  /* Uebersicht hat keine rechte Spalte: einspaltig, Karten nebeneinander */
  .hero--start .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero--start .wrap > div { max-width: 820px; }
  .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .cta-row { justify-items: start; }
  .vorstand { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .fakt { padding: 16px 12px; }
  .fakt b { font-size: 1.3rem; }
  .btn { padding: 0 14px; gap: 8px; font-size: 1rem; }
}

@media (max-width: 359px) {
  .stelle-tag { font-size: 0.8125rem; padding: 7px 12px 7px 10px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
