/* =========================================================
   B & S Dienstleistungen GmbH: Stylesheet
   Keine externen Schriftarten (DSGVO-freundlich): System-Fonts
   ========================================================= */
:root {
  --red: #d21f26;
  --red-600: #b3181e;
  --red-400: #ff4a50;
  --red-50: #fdeeee;
  --ink: #141518;
  --char: #1d1e21;
  --char-2: #26272b;
  --steel: #5d6168;
  --muted: #858a92;
  --paper: #f4f2ee;
  --paper-2: #ebe7e0;
  --white: #ffffff;
  --line: rgba(20, 21, 24, .12);
  --line-dark: rgba(255, 255, 255, .1);
  --radius: 16px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, .45);
  --shadow-soft: 0 18px 40px -22px rgba(20, 21, 24, .35);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --maxw: 1220px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(210, 31, 38, .8); }
.btn-red:hover { background: var(--red-600); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.site-header.scrolled, .site-header.solid {
  background: rgba(17, 18, 20, .84);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand-logo {
  background: #fff; border-radius: 12px; padding: 4px 8px; height: 50px;
  display: flex; align-items: center; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
}
.brand-logo img { height: 40px; width: auto; }
.brand-text { font-weight: 800; font-size: 16px; line-height: 1.15; letter-spacing: .01em; }
.brand-text small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .82; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 20px 26px;
    background: rgba(17, 18, 20, .97); border-top: 1px solid rgba(255, 255, 255, .06);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; }
}
@media (max-width: 480px) {
  .brand-text { font-size: 14px; }
  .brand-text small { display: none; }
  .brand-logo { height: 44px; }
  .brand-logo img { height: 34px; }
}

/* ---------- Story / Scroll-Animation ---------- */
#story { position: relative; background: #121315; }
.scene {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 1;
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 55%, rgba(8, 8, 10, .55) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, .6) 0%, transparent 20%, transparent 78%, rgba(8, 8, 10, .55) 100%);
}
.scene-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.story-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .06); z-index: 3; }
.story-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-400)); box-shadow: 0 0 12px rgba(210, 31, 38, .8); }

.chapter-nav {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 4;
  display: flex; flex-direction: column; gap: 14px;
}
.chapter-nav a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.chapter-nav a span { opacity: 0; transform: translateX(8px); transition: all .3s ease; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.chapter-nav a i {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); transition: all .3s ease; flex: none;
}
.chapter-nav a:hover span, .chapter-nav a.active span { opacity: 1; transform: none; }
.chapter-nav a.active i { background: var(--red); border-color: var(--red); transform: scale(1.35); box-shadow: 0 0 0 5px rgba(210, 31, 38, .25); }

.hud {
  position: absolute; left: 28px; bottom: 26px; z-index: 4; display: flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.hud .live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.hud .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-400); animation: blink 1.4s infinite; }
.hud .hud-label { text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hud-tip {
  display: none; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px);
  letter-spacing: .04em; text-transform: none; font-weight: 600; transition: opacity .4s ease;
}
.hud-tip svg { width: 15px; height: 15px; color: var(--red-400); }
@media (hover: hover) and (pointer: fine) { .hud-tip { display: inline-flex; } }
#story.inside .hud-tip { opacity: 0; }
@keyframes blink { 50% { opacity: .2; } }

/* Die Kapitel liegen über der Animation, lassen die Maus aber zu den Arbeitern durch */
.chapters { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.chapters .card, .chapters .hero .actions, .chapters .hero .eyebrow { pointer-events: auto; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; }
.chapter > .container { width: 100%; }

.card {
  max-width: 480px; color: #fff; border-radius: 22px; padding: 36px 36px 32px;
  background: linear-gradient(160deg, rgba(28, 29, 33, .86), rgba(16, 17, 19, .78));
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(46px) scale(.98);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--red), transparent);
}
.chapter.in .card { opacity: 1; transform: none; }
.chapter.right .card { margin-left: auto; }
.card .num { display: flex; align-items: center; gap: 12px; color: var(--red-400); font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.card .num::after { content: ""; flex: 0 0 40px; height: 1px; background: rgba(255, 255, 255, .25); }
.card h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 14px 0 14px; font-weight: 800; }
.card p { color: rgba(255, 255, 255, .78); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--red-400); border-bottom: 2.5px solid var(--red-400); transform: rotate(-45deg);
}
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85);
}
.card .card-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.chapter.hero { justify-content: center; text-align: center; position: relative; }
.chapter.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(10, 10, 12, .62), rgba(10, 10, 12, .2) 70%, transparent 100%);
}
.chapter.hero > .container { position: relative; }
.hero-inner { color: #fff; max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px);
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 0 4px rgba(210, 31, 38, .3); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 96px); line-height: .98; letter-spacing: -.04em; margin: 26px 0 22px; font-weight: 900;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .55);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.hero h1 em { font-style: normal; color: var(--red-400); }
.hero .lead {
  font-size: clamp(16px, 1.55vw, 20px); color: rgba(255, 255, 255, .88); max-width: 660px; margin: 0 auto 34px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .7); opacity: 0; animation: fadeUp 1s .5s ease forwards;
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s .7s ease forwards; }
.hero .eyebrow { opacity: 0; animation: fadeUp .9s .1s ease forwards; }
.scroll-hint {
  margin-top: 56px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: 0; animation: fadeUp 1s 1.1s ease forwards;
}
.scroll-hint .mouse { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .chapter { align-items: flex-end; padding: 90px 0 28px; }
  .chapter.hero { align-items: center; }
  .card { max-width: none; padding: 24px 22px 22px; border-radius: 18px; }
  .card h2 { font-size: 27px; margin: 10px 0; }
  .card p { font-size: 15px; }
  .ticks { gap: 7px; margin-top: 14px; }
  .ticks li { font-size: 14px; }
  .card .tags { display: none; }
  .chapter-nav { display: none; }
  .hud { display: none; }
  .eyebrow { font-size: 10.5px; letter-spacing: .1em; }
  .hero h1 { margin-top: 20px; }
  .hud .hud-label { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 800; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 850; }
.section-head p { color: var(--steel); font-size: 18px; }
@media (max-width: 760px) { .section { padding: 90px 0; } .section-head { margin-bottom: 42px; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* Intro strip (after story) */
.strip { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; position: relative; }
.strip-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.strip-track span::after { content: ""; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Ablauf: technische Zeichnung, die sich mit jeder Phase aufbaut */
.plan-sheet { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); overflow: hidden; }
.plan-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px;
  border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.plan-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.plan-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(210, 31, 38, .15); animation: blink 1.6s infinite; }
.plan-meta { font-family: var(--mono); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.plan-canvas {
  background-color: #fbfaf7;
  background-image: linear-gradient(rgba(20, 21, 24, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 24, .045) 1px, transparent 1px);
  background-size: 24px 24px; padding: 10px;
}
.plan { display: block; width: 100%; height: auto; font-family: var(--font); }
.plan text { font-size: 12px; fill: #3a3d44; }
.plan .mono { font-family: var(--mono); }
.plan .d { fill: none; stroke: #2a2d33; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease; }
.plan .d.thin { stroke-width: 1; }
.plan .d.red { stroke: var(--red); stroke-width: 1.6; }
.plan .f { opacity: 0; transition: opacity .45s ease; }
.plan g.on .d { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.65, .05, .25, 1) var(--dl, 0s); }
.plan g.on .f { opacity: 1; transition: opacity .7s ease var(--dl, 0s); }
.plan .axes path { fill: none; stroke: #22252b; stroke-opacity: .28; stroke-dasharray: 14 4 2 4; }
.plan .axes circle { fill: #fff; stroke: #22252b; stroke-opacity: .55; }
.plan .axes text { text-anchor: middle; font-weight: 700; font-size: 12px; fill: #22252b; }
.plan .lvl path { fill: none; stroke: #22252b; stroke-opacity: .45; }
.plan .lvl .tri { fill: #22252b; fill-opacity: .7; stroke: none; }
.plan .lvl text { font-family: var(--mono); font-size: 11px; }
.plan .win rect { fill: #fff; stroke: #2a2d33; stroke-width: 1; }
.plan .win path { stroke: #2a2d33; stroke-width: .8; }
.plan .dim path { stroke: #2a2d33; stroke-width: 1.2; }
.plan .dim text { font-family: var(--mono); font-size: 11.5px; text-anchor: middle; fill: #2a2d33; }
.plan .probe path { fill: #fff; stroke: var(--red); stroke-width: 1.6; }
.plan .probe text { font-size: 9.5px; font-weight: 800; fill: var(--red); text-anchor: middle; }
.plan .probe .lbl { text-anchor: start; font-size: 11.5px; font-weight: 700; }
.plan .laser { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 6 5; animation: laser .7s linear infinite; }
.plan .laser-val { fill: #fff; font-size: 11.5px; text-anchor: middle; font-weight: 700; }
@keyframes laser { to { stroke-dashoffset: -11; } }
.plan .lbl-y { fill: #9a7300; font-weight: 800; }
.plan .lbl-r { fill: var(--red); font-weight: 800; font-size: 11.5px; }
.plan .legend text { font-size: 11px; }
.plan .legend .cap { font-size: 10px; font-weight: 800; letter-spacing: .14em; fill: #858a92; }
.plan .lv text { font-size: 11.5px; }
.plan .lv .lv-h { font-weight: 800; font-size: 12.5px; fill: #141518; }
.plan .lv .mono { fill: var(--red); font-weight: 700; }
.plan .lv .bars { stroke: #c9ccd1; stroke-width: 6; stroke-linecap: round; }
.plan .plank { stroke: #b48a5a; stroke-width: 4; }
.plan .mini circle, .plan .mini path { fill: none; stroke: #2a2d33; stroke-width: 1.4; stroke-linecap: round; }
.plan .mini .helm { fill: #fff; stroke: #2a2d33; }
.plan .shield { fill: rgba(210, 31, 38, .05); stroke: var(--red); stroke-width: 1.3; stroke-dasharray: 6 5; }
.plan .stamp { transform-box: fill-box; transform-origin: center; transform: rotate(-12deg) scale(1.7); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.plan g.on .stamp { transform: rotate(-12deg) scale(1); opacity: .9; transition: transform .55s cubic-bezier(.2, 1.5, .4, 1) .25s, opacity .25s ease .25s; }
.plan .stamp circle { fill: rgba(255, 255, 255, .55); stroke: #1d8a43; stroke-width: 3; }
.plan .stamp circle.thin { fill: none; stroke-width: 1.2; }
.plan .stamp .tick { fill: none; stroke: #1d8a43; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.plan .stamp .st-h { text-anchor: middle; font-weight: 900; font-size: 13px; letter-spacing: 1.2px; fill: #1d8a43; }
.plan .stamp .st-d { text-anchor: middle; font-size: 11px; fill: #1d8a43; }
.plan .docs circle { fill: #1d8a43; }
.plan .docs path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan .docs text { font-size: 11.5px; font-weight: 600; fill: #22252b; }
.plan .tblock text { font-size: 10.5px; fill: #3a3d44; }
.plan .tblock .tb-h { font-weight: 800; font-size: 10.5px; letter-spacing: .06em; fill: #141518; }

.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); position: relative; }
.phases::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 20%);
  background: linear-gradient(90deg, var(--red), var(--red-400)); transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
.plan-sheet { --p: 0; }
.phases button {
  appearance: none; -webkit-appearance: none; background: none; border: 0; border-right: 1px solid var(--line); margin: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer; display: block; width: 100%; height: 100%; padding: 22px 22px 24px;
  transition: background .25s ease;
}
.phases li:last-child button { border-right: 0; }
.phases button:hover { background: var(--paper); }
.phases button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; border-radius: 0; }
.phases b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; transition: color .25s; }
.phases strong { display: block; font-size: 16.5px; line-height: 1.25; margin-bottom: 7px; color: var(--ink); }
.phases span { display: block; color: var(--steel); font-size: 14px; line-height: 1.55; }
.phases button.done b { color: var(--ink); }
.phases button.on { background: linear-gradient(180deg, rgba(210, 31, 38, .07), rgba(210, 31, 38, 0) 75%); }
.phases button.on b { color: var(--red); }
@media (max-width: 1040px) {
  .phases { grid-template-columns: 1fr; }
  .phases::before { display: none; }
  .phases button { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 20px; }
  .phases li:last-child button { border-bottom: 0; }
  .phases b { grid-row: span 2; margin: 3px 0 0; }
  .phases button.on { box-shadow: inset 3px 0 0 var(--red); }
}
@media (max-width: 640px) { .plan-bar { padding: 12px 16px; letter-spacing: .1em; } .plan-canvas { padding: 4px; } }

/* Plan-Lupe: zeigt beim Überfahren dezent einen Plan im Hintergrund */
.section[data-plan] { overflow: clip; }
.section > .container { position: relative; z-index: 1; }
.plan-lens { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.plan-lens.on { opacity: 1; }

/* Dark section */
.dark { background: var(--char); color: #fff; overflow: hidden; }
.dark .section-head p { color: rgba(255, 255, 255, .65); }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.value {
  border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border-radius: var(--radius); padding: 30px 26px; transition: transform .3s, border-color .3s;
}
.value:hover { transform: translateY(-4px); border-color: rgba(210, 31, 38, .55); }
.value .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(210, 31, 38, .14); display: grid; place-items: center; margin-bottom: 20px; color: var(--red-400); }
.value .ico svg { width: 26px; height: 26px; }
.value .ico svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.value.in .ico svg > * { animation: draw 1.4s cubic-bezier(.65, .05, .25, 1) forwards; animation-delay: calc(var(--i, 0) * .12s + .35s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.value h3 { font-size: 19px; }
.value p { color: rgba(255, 255, 255, .66); font-size: 15px; margin: 0; }
@media (max-width: 1040px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.clients { margin-top: 70px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; position: relative; }
.clients strong { margin-right: 10px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }

.wizard {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  padding: 34px 38px 30px; position: relative; scroll-margin-top: calc(var(--header-h) + 20px);
}
@media (max-width: 640px) { .wizard { padding: 24px 18px 22px; border-radius: 18px; } }
.wiz-head { margin-bottom: 30px; }
.wiz-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wiz-steps li { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.wiz-steps li b {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  background: var(--paper-2); color: var(--steel); transition: all .3s; flex: none;
}
.wiz-steps li.active { color: var(--ink); }
.wiz-steps li.active b { background: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(210, 31, 38, .15); }
.wiz-steps li.done b { background: var(--ink); color: #fff; }
.wiz-bar { height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-400)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 640px) { .wiz-steps li span { display: none; } .wiz-steps li { justify-content: center; } }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step.is-active { animation: stepIn .45s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 26px; font-weight: 850; letter-spacing: -.02em; padding: 0; margin-bottom: 6px; }
.step .lead-s { color: var(--steel); margin-bottom: 24px; }
.step h4 { font-size: 15px; margin: 28px 0 12px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; transition: all .2s ease; font-weight: 750; font-size: 15px;
}
.choice-body small { font-weight: 500; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.choice-body svg { width: 28px; height: 28px; color: var(--steel); transition: color .2s; }
.choice:hover .choice-body { border-color: rgba(20, 21, 24, .3); transform: translateY(-1px); }
.choice input:checked + .choice-body { border-color: var(--red); background: var(--red-50); box-shadow: 0 0 0 3px rgba(210, 31, 38, .12); }
.choice input:checked + .choice-body svg { color: var(--red); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--red); outline-offset: 2px; }
.choice-body::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff center/12px no-repeat; transition: all .2s;
}
.choice input:checked + .choice-body::after {
  background-color: var(--red); border-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 650; font-size: 14.5px; transition: all .2s; background: #fff;
}
.seg span i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:checked + span i { background: #fff; }
.seg input[value^="Notfall"]:checked + span { background: var(--red); border-color: var(--red); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 16px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.s3 { grid-column: span 3; }
.field.s2 { grid-column: span 2; }
.field.s4 { grid-column: span 4; }
@media (max-width: 640px) { .field.s3, .field.s2, .field.s4 { grid-column: span 6; } .field.s2.keep { grid-column: span 2; } .field.s4.keep { grid-column: span 4; } }
.field > label, .field > .label { font-weight: 700; font-size: 14px; }
.field > label .opt, .label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #faf9f7;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 21, 24, .07); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fffafa; }
.err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.help { color: var(--muted); font-size: 13px; }

.info-box {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-top: 4px;
  background: #fff7e6; border: 1px solid #f3d38c; color: #6b4b00; font-size: 14.5px; line-height: 1.5;
}
.info-box svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.info-box.red { background: var(--red-50); border-color: rgba(210, 31, 38, .3); color: #7a1216; }
.info-box.blue { background: #eef5fd; border-color: #bcd6f3; color: #123b67; }
.info-box[hidden] { display: none; }
.info-box a { font-weight: 800; }

.cond[hidden] { display: none !important; }
.cond { animation: fadeUp .4s ease; }
.field.zeitraum { margin-top: 18px; max-width: 360px; }

.dropzone {
  border: 2px dashed rgba(20, 21, 24, .2); border-radius: 16px; padding: 30px 20px; text-align: center; cursor: pointer;
  background: #faf9f7; transition: all .2s; position: relative;
}
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-50); }
.dropzone svg { width: 38px; height: 38px; color: var(--red); margin: 0 auto 10px; }
.dropzone strong { display: block; font-size: 16px; }
.dropzone span { color: var(--muted); font-size: 13.5px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .pdf { display: grid; place-items: center; height: 100%; font-weight: 800; color: var(--red); font-size: 13px; text-align: center; padding: 6px; word-break: break-all; }
.thumb button {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20, 21, 24, .8); color: #fff; font-size: 15px; line-height: 1; display: grid; place-items: center;
}
.thumb small { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(20, 21, 24, .7); color: #fff; font-size: 10.5px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.summary { background: var(--paper); border-radius: 16px; padding: 20px 22px; margin: 6px 0 22px; border: 1px solid var(--line); }
.summary h4 { margin: 0 0 12px !important; display: flex; justify-content: space-between; align-items: center; }
.summary dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 600; word-break: break-word; }
@media (max-width: 560px) { .summary dl { grid-template-columns: 1fr; } .summary dd { margin-bottom: 8px; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; line-height: 1.5; }
.field .check input { width: 20px; height: 20px; padding: 0; accent-color: var(--red); margin-top: 2px; flex: none; -webkit-appearance: checkbox; appearance: auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.form-nav .step-count { color: var(--muted); font-size: 13px; font-weight: 600; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { text-align: center; padding: 30px 10px 10px; }
.result[hidden] { display: none; }
.result .badge { width: 84px; height: 84px; border-radius: 50%; background: #e8f6ec; color: #1d8a43; display: grid; place-items: center; margin: 0 auto 22px; }
.result .badge svg { width: 42px; height: 42px; }
.result.error .badge { background: var(--red-50); color: var(--red); }
.result h3 { font-size: 28px; }
.result p { color: var(--steel); max-width: 520px; margin-left: auto; margin-right: auto; }
.ref { display: inline-block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 700; letter-spacing: .06em; margin: 6px 0 18px; }

/* Aside */
.aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1000px) { .aside { position: static; } }
.panel { background: #fff; border-radius: 20px; padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.panel h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel.emergency { background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.panel.emergency::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 31, 38, .55), transparent 70%); animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.25); opacity: .6; } }
.panel.emergency p { color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.panel.emergency .phone { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.01em; text-decoration: none; margin: 4px 0 16px; position: relative; z-index: 1; }
.panel.emergency .btn { position: relative; z-index: 1; width: 100%; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: tip; }
.tips li { position: relative; padding-left: 38px; font-size: 14.5px; color: var(--char-2); line-height: 1.5; animation: fadeUp .4s ease both; }
.tips li::before {
  counter-increment: tip; content: counter(tip); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px;
  background: var(--red-50); color: var(--red); font-weight: 800; font-size: 13px; display: grid; place-items: center;
}
.tips-for { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: block; }
.addr { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--char-2); }
.addr a { text-decoration: none; font-weight: 700; }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 14.5px; color: var(--char-2); }
.mini-steps li b { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; font-size: 13px; }
.mini-steps li strong { display: block; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1012; color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-logo { display: inline-flex; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 28px 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: #fff; display: none; place-items: center; box-shadow: 0 14px 30px -10px rgba(210, 31, 38, .9);
}
.fab-call svg { width: 24px; height: 24px; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 860px) { .fab-call { display: grid; } }

/* ---------- Karriere ---------- */
.nav a[aria-current="page"]:not(.btn) { opacity: 1; }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.job-hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: center; color: #fff; background: var(--char); overflow: hidden; }
.job-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; animation: heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09) translateX(-1%); } }
.job-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 12, 0) 22%, rgba(10, 10, 12, .62) 52%, rgba(10, 10, 12, .9) 100%), linear-gradient(180deg, rgba(10, 10, 12, .55), transparent 26%); }
.job-hero-inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 30px); padding-bottom: 50px; display: flex; justify-content: flex-end; }
.job-hero-text { max-width: 560px; }
.job-hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 900; margin: 22px 0 18px; text-shadow: 0 8px 40px rgba(0, 0, 0, .5); }
.job-hero .lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.job-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-soft); }
.why svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
.why h3 { font-size: 17.5px; margin-bottom: 8px; }
.why p { color: var(--steel); font-size: 14.5px; margin: 0; }
.career-why { padding-bottom: 60px; }
.career-jobs { padding-top: 70px; }
.job { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.job.flip .job-img { order: 2; }
.job-img { margin: 0; min-height: 320px; position: relative; overflow: hidden; }
.job-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.job:hover .job-img img { transform: scale(1.04); }
.job-body { padding: 36px 38px 34px; }
.job-tag { display: block; color: var(--red); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.job-body h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 850; margin-bottom: 12px; }
.job-body > p { color: var(--steel); }
.job-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 20px 0 24px; }
.job-lists h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.job-list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: var(--char-2); }
.job-list li::before { content: ""; position: absolute; left: 2px; top: .36em; width: 11px; height: 6px; border-left: 2.2px solid var(--red); border-bottom: 2.2px solid var(--red); transform: rotate(-45deg); }
.apply-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.apply-steps li { border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-radius: var(--radius); padding: 26px; }
.apply-steps b { width: 42px; height: 42px; border-radius: 12px; background: var(--red); display: grid; place-items: center; font-size: 17px; margin-bottom: 16px; }
.apply-steps h3 { font-size: 19px; }
.apply-steps p { color: rgba(255, 255, 255, .68); font-size: 15px; margin: 0; }
.jobs-choice { grid-template-columns: repeat(2, 1fr); }
.fach-group[hidden] { display: none; }
.fach-group h4 { margin-bottom: 4px; }
.fach-group .help { display: block; margin-bottom: 12px; }
.fach-group .seg { gap: 8px; }
.fach-group .seg span { padding: 9px 14px; font-size: 14px; }
.fach-more { margin-top: 20px; }
.field.cond[hidden] { display: none; }
.dropzone.small { padding: 22px 14px; }
.dropzone.small svg { width: 28px; height: 28px; margin-bottom: 6px; }
.dropzone.small strong { font-size: 15px; }
.upload-bar { position: relative; height: 26px; background: var(--paper-2); border-radius: 8px; overflow: hidden; margin-top: 14px; }
.upload-bar[hidden] { display: none; }
.upload-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-400)); transition: width .2s ease; }
.upload-bar em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 700; }
.result-note { font-size: 14px; color: #7a1216; }
.panel.secure { background: var(--ink); color: #fff; border: 0; }
.secure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.secure-list li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.secure-list li::before { content: ""; position: absolute; left: 2px; top: .36em; width: 12px; height: 6px; border-left: 2.2px solid var(--red-400); border-bottom: 2.2px solid var(--red-400); transform: rotate(-45deg); }
.panel-text { color: var(--steel); font-size: 14.5px; }
.faq { margin-top: 44px; max-width: 860px; }
.faq h3 { font-size: 22px; margin-bottom: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 2px; color: var(--steel); }
@media (max-width: 1040px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .job, .job.flip { grid-template-columns: minmax(0, 1fr); }
  .job.flip .job-img { order: 0; }
  .job-img { min-height: 0; aspect-ratio: 3 / 2; }
}
.job-note { margin: 18px 0 0; font-size: 13px; color: var(--steel); text-align: right; }
@media (min-width: 761px) and (max-width: 1100px) {
  .job-hero-text { max-width: 470px; }
}
@media (max-width: 760px) {
  .job-hero { align-items: flex-end; }
  /* Foto nur im oberen Teil, damit das Banner über der Überschrift sichtbar bleibt */
  .job-hero-img { height: 62%; object-position: 20% 50%; }
  .job-hero-shade { background: linear-gradient(180deg, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, .08) 22%, rgba(10, 10, 12, .08) 40%, var(--char) 62%); }
  .job-hero-inner { justify-content: flex-start; padding-bottom: 34px; }
  .job-body { padding: 24px 20px 24px; }
  .job-lists, .apply-steps, .jobs-choice { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Rechtliche Seiten ---------- */
.legal-hero { background: var(--char); color: #fff; padding: calc(var(--header-h) + 70px) 0 70px; position: relative; overflow: hidden; }
.legal-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.legal-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; position: relative; margin: 0; }
.legal-hero p { color: rgba(255, 255, 255, .6); margin: 14px 0 0; position: relative; }
.legal-hero .kicker { color: var(--red-400); position: relative; }
.legal { padding: 70px 0 110px; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.legal-toc strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.legal-toc a { text-decoration: none; color: var(--steel); }
.legal-toc a:hover { color: var(--red); }
.legal-body { background: #fff; border-radius: 22px; padding: 50px 56px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); max-width: 860px; }
.legal-body h2 { font-size: 24px; margin: 44px 0 14px; padding-top: 10px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--char-2); }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .box { background: var(--paper); border-radius: 14px; padding: 20px 24px; margin: 16px 0; border: 1px solid var(--line); }
.legal-body .todo { background: #fff3cd; border: 1px dashed #d9a400; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal-body .note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }
@media (max-width: 960px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; background: #fff; border-radius: 16px; padding: 20px 22px; border: 1px solid var(--line); }
  .legal-body { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .strip-track { animation: none; }
}
