/* =========================================================
   Sozialwerk Heuser — Redesign 2026
   Brand: Navy #000C66 · Cream #FFF6EC · Montserrat
   Added: Gold CTA (aus dem Wappen) · Fraunces Display
   ========================================================= */
@view-transition { navigation: auto; }

:root {
  --navy: #000c66;
  --navy-950: #00052e;
  --navy-900: #000846;
  --navy-700: #1b2685;
  --navy-500: #4450a8;
  --ink: #0b1238;
  --text: #3d4470;
  --muted: #6b7196;
  --line: rgba(0, 12, 102, .12);
  --cream: #fff6ec;
  --cream-2: #f9ead6;
  --paper: #fffcf8;
  --gold: #f2b441;
  --gold-600: #dc9a22;
  --gold-100: #fdf0d3;
  --red: #b0282b;
  --green: #1f9d45;
  --white: #fff;

  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(0, 12, 102, .06);
  --shadow: 0 18px 50px -18px rgba(0, 12, 102, .28);
  --shadow-lg: 0 40px 90px -30px rgba(0, 8, 70, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --fs-base: 17px;
}
html.a11y-large { --fs-base: 19.5px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
h1, h2, .display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "SOFT" 50, "opsz" 100; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h1 em, h2 em, .display em { font-style: italic; color: var(--gold-600); font-weight: 400; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: .005em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--bg) 80%, transparent); }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--gold:hover { --bg: #f5c25d; }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .16); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 1.06rem; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--pulse { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 180, 65, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(242, 180, 65, 0); } }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--navy); }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .8); font-size: .82rem; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__left { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.a11y-btn { color: #fff; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); font-size: .8rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa0c3; display: inline-block; position: relative; }
.status-dot.is-open { background: #3ddc6e; }
.status-dot.is-open::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc6e; animation: ping 1.8s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 248, .82);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(255, 252, 248, .94); border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.logo img { height: 50px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .logo img { height: 42px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--navy); border-radius: 10px; transition: background .25s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--navy); padding: 8px 12px; border-radius: 999px; transition: background .25s; }
.header__phone:hover { background: var(--gold-100); }
.header__phone small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); line-height: 1; }
.header__phone span { line-height: 1.15; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; align-items: center; justify-content: center; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-600)); transform-origin: 0 50%; transform: scaleX(0); }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff; padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); visibility: hidden; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; }
.mnav__top img { height: 42px; }
.mnav__close { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.mnav nav { display: flex; flex-direction: column; margin-top: 40px; }
.mnav nav a { font-family: var(--f-display); font-size: 2.1rem; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.mnav.is-open nav a { opacity: 1; transform: none; }
.mnav.is-open nav a:nth-child(2) { transition-delay: .05s; } .mnav.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mnav.is-open nav a:nth-child(4) { transition-delay: .15s; } .mnav.is-open nav a:nth-child(5) { transition-delay: .2s; } .mnav.is-open nav a:nth-child(6) { transition-delay: .25s; }
.mnav__cta { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh - 124px, 920px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(0, 5, 46, .92) 0%, rgba(0, 8, 70, .74) 38%, rgba(0, 8, 70, .2) 70%, rgba(0, 8, 70, .35) 100%),
  linear-gradient(0deg, rgba(0, 5, 46, .6), transparent 40%); }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.28rem); color: rgba(255, 255, 255, .86); max-width: 38ch; margin-bottom: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: .5em; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; color: #fff; }
.pill .i { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__proof { display: flex; align-items: center; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); max-width: 560px; }
.hero__proof img { height: 64px; width: auto; }
.hero__proof p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.hero__proof strong { color: #fff; }
.hero__dots { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero__dots button span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hero__dots button.is-active span { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__caption { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; font-size: .78rem; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: .5em; }
.jobs-switch { display: inline-flex; align-items: center; gap: .6em; margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.jobs-switch a { color: var(--gold); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ---------- Quiz Card ---------- */
.quiz { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; }
.quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.quiz__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.quiz__count { font-size: .8rem; font-weight: 600; color: var(--muted); }
.quiz__bar { height: 6px; background: var(--cream-2); border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-600)); border-radius: inherit; transition: width .6s var(--ease); }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: stepIn .55s var(--ease); }
.quiz__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.quiz__q { font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
.quiz__opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 14px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--line);
  font-weight: 600; font-size: .95rem; color: var(--navy); line-height: 1.25;
  transition: border-color .25s, background .25s, transform .3s var(--ease), box-shadow .3s;
}
.quiz__opt:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quiz__opt.is-selected { border-color: var(--gold-600); background: var(--gold-100); }
.quiz__opt .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; flex: none; color: var(--navy); transition: background .25s; }
.quiz__opt:hover .ico, .quiz__opt.is-selected .ico { background: var(--gold); }
.quiz__opt--center { justify-content: center; text-align: center; }
.quiz__hint { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #eaf7ee; color: #16622f; font-size: .88rem; display: flex; gap: 10px; align-items: flex-start; }
.quiz__hint[hidden] { display: none; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 24px; }
.quiz__back { font-size: .88rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: .3em; }
.quiz__back:hover { color: var(--navy); }
.quiz__back[hidden] { display: inline-flex; visibility: hidden; }
.quiz__safe { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4em; }
.quiz__foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.quiz__foot span { display: inline-flex; align-items: center; gap: .35em; }
.quiz__foot .i { color: var(--green); }
.quiz__summary { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.quiz__summary span { font-size: .75rem; font-weight: 600; background: var(--cream); color: var(--navy); padding: 4px 10px; border-radius: 999px; }

/* ---------- Forms ---------- */
.field { position: relative; margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s; appearance: none;
}
.field textarea { height: 120px; resize: vertical; padding-top: 26px; }
.field select { padding-top: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000c66' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(0, 12, 102, .08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .72rem; font-weight: 600; color: var(--navy-500); }
.field.is-invalid input, .field.is-invalid select { border-color: #d0453b; background: #fff7f6; }
.field .err { display: none; font-size: .78rem; color: #c0392b; margin-top: 4px; font-weight: 600; }
.field.is-invalid .err { display: block; }
.field.is-valid input { border-color: var(--green); }
.field .ok { position: absolute; right: 14px; top: 19px; color: var(--green); opacity: 0; transition: opacity .3s; }
.field.is-valid .ok { opacity: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--muted); margin: 6px 0 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin-top: 1px; }
.check a { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); background: var(--paper); transition: all .25s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--navy); overflow: hidden; padding: 16px 0; font-weight: 700; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; font-size: 1rem; }
.marquee__track span::after { content: "✦"; font-size: .9rem; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: clamp(24px, 3vw, 40px); position: relative; }
.stat__num { font-family: var(--f-display); font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--navy); font-weight: 500; letter-spacing: -.03em; display: flex; align-items: baseline; }
.stat__num small { font-size: .5em; color: var(--gold-600); margin-left: 2px; }
.stat__label { margin-top: 10px; font-weight: 600; color: var(--muted); font-size: .92rem; }
.stats-wrap { margin-top: -70px; position: relative; z-index: 5; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { grid-column: span 4; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 400px; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; cursor: pointer; transform-style: preserve-3d; }
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 6; min-height: 460px; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 5, 46, 0) 25%, rgba(0, 5, 46, .88) 100%); transition: background .5s; }
.svc:hover img { transform: scale(1.07); }
.svc:hover::before { background: linear-gradient(180deg, rgba(0, 5, 46, .15) 0%, rgba(0, 5, 46, .94) 100%); }
.svc__ico { position: absolute; top: 22px; left: 22px; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.svc__ico .i { width: 24px; height: 24px; }
.svc h3 { color: #fff; font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: .35em; }
.svc p { color: rgba(255, 255, 255, .82); font-size: .95rem; margin: 0; max-width: 42ch; }
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), margin .5s var(--ease); }
.svc__more > div { overflow: hidden; }
.svc:hover .svc__more, .svc:focus-within .svc__more { grid-template-rows: 1fr; margin-top: 16px; }
.svc__arrow { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; transform: rotate(-45deg) scale(.8); opacity: 0; transition: all .5s var(--ease); }
.svc:hover .svc__arrow { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.9rem; color: var(--navy); position: relative; z-index: 1; box-shadow: 0 0 0 10px var(--cream); }
.step h3 { margin-bottom: .4em; }
.step p { font-size: .95rem; margin: 0 auto; max-width: 30ch; }
.step__time { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--gold-600); background: var(--gold-100); padding: 4px 10px; border-radius: 999px; }

/* ---------- Locations ---------- */
.loc-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.map { height: 620px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 100px; background: var(--cream-2); z-index: 1; }
.map .leaflet-popup-content-wrapper { border-radius: 14px; font-family: var(--f-body); }
.map .leaflet-popup-content { margin: 12px 14px; }
.pop h4 { margin: 0 0 4px; font-size: .95rem; }
.pop p { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.pop a { font-weight: 700; font-size: .82rem; color: var(--navy); }
.pin { width: 40px; height: 40px; border-radius: 50% 50% 50% 0; background: var(--navy); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 12, 102, .4); border: 3px solid #fff; transition: background .3s, transform .3s; }
.pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.pin.is-hot { background: var(--gold-600); transform: rotate(-45deg) scale(1.2); }
.loc-list { display: grid; gap: 14px; }
.loc-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; background: #fff; border-radius: var(--r); padding: 12px; border: 1px solid var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s; }
.loc-card:hover, .loc-card.is-hot { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.loc-card__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3.4; }
.loc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.loc-card:hover .loc-card__img img { transform: scale(1.08); }
.loc-card__body { padding: 6px 6px 6px 0; display: flex; flex-direction: column; }
.loc-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.loc-card__meta { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .35em; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--cream); color: var(--navy); }
.tag--region { background: var(--navy); color: #fff; }
.loc-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.loc-card[hidden] { display: none; }

/* ---------- Milieu ---------- */
.milieu { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.milieu__media { position: sticky; top: 110px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.milieu__media img { width: 100%; height: 118%; object-fit: cover; }
.milieu__badge { position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(255, 252, 248, .92); backdrop-filter: blur(12px); border-radius: var(--r); padding: 18px 20px; }
.milieu__badge blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--navy); line-height: 1.35; }
.milieu__badge cite { display: block; margin-top: 8px; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--muted); }
.principle { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.principle:last-of-type { border-bottom: 1px solid var(--line); }
.principle__n { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold-600); line-height: 1; }
.principle h3 { margin-bottom: .3em; }
.principle p { margin: 0; }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/8; box-shadow: var(--shadow-lg); background: var(--navy); cursor: pointer; isolation: isolate; }
.video img, .video video { width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 5, 46, .7), rgba(0, 5, 46, .1)); z-index: 0; transition: opacity .5s; }
.video.is-playing::after, .video.is-playing .video__ui { opacity: 0; pointer-events: none; }
.video__ui { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 56px); color: #fff; transition: opacity .5s; }
.video__ui h3 { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.6rem); max-width: 18ch; margin: 0; }
.play { z-index: 1; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 110px; height: 110px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; transition: transform .5s var(--ease); }
.play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(242, 180, 65, .6); animation: ping 2.2s infinite; }
.play .i { width: 36px; height: 36px; fill: currentColor; margin-left: 5px; }
.video:hover .play { transform: scale(1.08); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.calc__in { padding: clamp(28px, 4vw, 56px); }
.calc__out { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 180, 65, .35), transparent 65%); top: -120px; right: -120px; }
.calc__label { font-size: .85rem; font-weight: 700; color: var(--navy); margin: 22px 0 10px; display: block; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.seg button { height: 56px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: 1.1rem; color: var(--navy); background: var(--paper); transition: all .25s; }
.seg button:hover { border-color: var(--navy); }
.seg button.is-active { background: var(--gold); border-color: var(--gold); }
.seg--2 { grid-template-columns: 1fr 1fr; }
.seg--2 button { font-size: .95rem; }
.calc__amount { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; color: var(--gold); letter-spacing: -.03em; margin: 8px 0 6px; position: relative; }
.calc__out p { color: rgba(255, 255, 255, .8); position: relative; }
.calc__note { font-size: .74rem; color: rgba(255, 255, 255, .55) !important; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-card { margin-top: 28px; background: var(--navy); color: rgba(255, 255, 255, .85); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; }
.faq-card strong { color: #fff; font-size: 1.1rem; }
.faq-person { display: flex; gap: 14px; align-items: center; }
.faq-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 60px 24px 0; }

/* ---------- Testimonials ---------- */
.career { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.slider { position: relative; min-width: 0; }
.career > *, .hero .container > *, .final .container > *, .loc-layout > *, .detail > *, .two-col > *, .contact-grid > *, .faq-layout > *, .milieu > * { min-width: 0; }
.slider__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 min(100%, 440px); scroll-snap-align: start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.section--cream .tcard, .tcard--light { background: #fff; border-color: var(--line); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.tcard blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: inherit; }
.tcard__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.tcard__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tcard__who strong { display: block; color: #fff; }
.tcard--light .tcard__who strong, .section--cream .tcard__who strong { color: var(--navy); }
.tcard__who span { font-size: .82rem; opacity: .75; }
.slider__nav { display: flex; gap: 10px; margin-top: 22px; }
.slider__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; opacity: .8; transition: all .3s; }
.slider__nav button:hover { opacity: 1; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
.benefit-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #fff; font-size: .95rem; }
.benefit-list .i { color: var(--gold); }
ul.clean { list-style: none; padding: 0; margin: 0; }

/* ---------- Blog ---------- */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16/10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 1.15rem; }
.post p { font-size: .92rem; }
.post .link-arrow { margin-top: auto; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg img { width: 100%; height: 120%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 5, 46, .95) 0%, rgba(0, 8, 70, .82) 55%, rgba(0, 8, 70, .6) 100%); }
.final .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.final h2 { color: #fff; }
.final h2 em { color: var(--gold); }
.final__list { display: grid; gap: 14px; margin: 28px 0; }
.final__list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.final__list .ico { width: 36px; height: 36px; border-radius: 50%; background: rgba(242, 180, 65, .18); color: var(--gold); display: grid; place-items: center; flex: none; }
.callbox { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); max-width: 420px; }
.callbox__ico { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; flex: none; }
.callbox small { display: block; color: rgba(255, 255, 255, .7); font-size: .8rem; }
.callbox strong { font-size: 1.35rem; color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 80px 0 110px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer img.logo-w { height: 58px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: all .3s; }
.footer__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer__bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

/* ---------- Floating & Mobile Bar ---------- */
.mbar { display: none; }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; transform: translateY(140%); transition: transform .6s var(--ease); }
.fab.is-visible { transform: none; }
.fab__bubble { background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow); font-size: .88rem; font-weight: 600; max-width: 230px; line-height: 1.35; position: relative; }
.fab__bubble button { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; }
.fab__btn { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; }
.fab__btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2s infinite; }
.fab__btn .i { width: 28px; height: 28px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 5, 46, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; width: min(100%, 620px); max-height: calc(100svh - 32px); overflow: auto; border-radius: var(--r-lg); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; }
.modal--exit .modal__dialog { width: min(100%, 860px); display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; }
.exit__img { position: relative; min-height: 100%; }
.exit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exit__body { padding: clamp(24px, 4vw, 44px); }
.exit__body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(calc(100% - 40px), 420px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: .85rem; transform: translateY(150%); transition: transform .6s var(--ease); }
.cookie.is-visible { transform: none; }
.cookie p { margin: 0 0 14px; }
.cookie strong { color: var(--navy); display: block; margin-bottom: 4px; font-size: .95rem; }
.cookie__btns { display: flex; gap: 8px; }
.cookie__btns .btn { flex: 1; }

/* ---------- Page Hero (subpages) ---------- */
.phero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); background: var(--navy-950); }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 125%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 5, 46, .92), rgba(0, 8, 70, .55) 70%, rgba(0, 8, 70, .3)); }
.phero h1 { color: #fff; max-width: 16ch; }
.phero h1 em { color: var(--gold); }
.phero p.lead { color: rgba(255, 255, 255, .85); max-width: 56ch; }
.crumbs { font-size: .82rem; color: rgba(255, 255, 255, .7); margin-bottom: 20px; display: flex; gap: .5em; align-items: center; }
.crumbs a:hover { color: var(--gold); }
.phero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

/* ---------- Filters (Standorte) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--shadow); margin-top: -46px; position: relative; z-index: 5; }
.filterbar .chips { margin: 0; }
.filterbar__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.filterbar__count { margin-left: auto; font-weight: 700; color: var(--navy); }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fcard__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.07); }
.fcard__img .tag { position: absolute; top: 14px; left: 14px; }
.fcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.fcard h3 { font-size: 1.2rem; margin-bottom: 4px; }
.fcard__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 16px; }
.fcard[hidden] { display: none; }
.empty { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }

/* ---------- Facility detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.contact-card { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-card h3 { font-size: 1.15rem; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.contact-row .i { color: var(--gold-600); margin-top: 3px; }
.contact-row a { font-weight: 700; color: var(--navy); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.features li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--navy); font-size: .93rem; line-height: 1.4; }
.features .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.features .ico .i { width: 15px; height: 15px; stroke-width: 3; }
.gallery { columns: 3 220px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin-bottom: 12px; border-radius: 14px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.person { background: var(--cream); border-radius: var(--r); padding: 20px; }
.person strong { display: block; color: var(--navy); }
.person span { font-size: .85rem; color: var(--muted); display: block; margin-bottom: 10px; }
.person a { font-weight: 700; color: var(--navy); display: inline-flex; gap: .4em; align-items: center; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0, 5, 46, .94); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.is-open { display: flex; animation: fade .3s; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 12px; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; translate: 0 -50%; } .lb-next { right: 16px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }
.mini-map { height: 280px; border-radius: var(--r); overflow: hidden; }

/* ---------- Karriere ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk { background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; position: relative; overflow: hidden; }
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.perk__ico { width: 58px; height: 58px; border-radius: 18px; background: var(--cream); color: var(--navy); display: grid; place-items: center; margin-bottom: 20px; transition: background .4s, transform .5s var(--ease); }
.perk:hover .perk__ico { background: var(--gold); transform: rotate(-8deg) scale(1.06); }
.perk__ico .i { width: 26px; height: 26px; }
.perk h3 { font-size: 1.12rem; }
.perk p { font-size: .93rem; margin: 0; }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; background: #fff; border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--line); transition: all .4s var(--ease); }
.job:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.job h3 { font-size: 1.08rem; margin: 0 0 2px; }
.job small { color: var(--muted); font-size: .85rem; }
.apply { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); color: var(--text); }
.apply h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; }
.file { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: 14px; cursor: pointer; font-size: .9rem; color: var(--muted); margin-bottom: 12px; transition: border-color .3s, background .3s; }
.file:hover { border-color: var(--navy); background: var(--paper); }
.file input { display: none; }
.file strong { color: var(--navy); }

/* ---------- About / Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 110px; top: 0; width: 2px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 28px 0; position: relative; }
.tl__year { font-family: var(--f-display); font-size: 1.9rem; color: var(--navy); line-height: 1; }
.tl::after { content: ""; position: absolute; left: 104px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.tl h3 { margin-bottom: .3em; }
.tl p { margin: 0; max-width: 60ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); }
.value ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.value li { display: flex; gap: 10px; font-size: .93rem; }
.value li .i { color: var(--gold-600); margin-top: 3px; }
.plist { counter-reset: p; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plist li { counter-increment: p; background: #fff; border-radius: var(--r); padding: 22px 22px 22px 70px; position: relative; border: 1px solid var(--line); font-size: .95rem; }
.plist li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-600); }
.img-duo { position: relative; }
.img-duo .a { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow); }
.img-duo .b { position: absolute; width: 50%; right: -24px; bottom: -40px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.img-duo img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cinfo__item { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); transition: all .4s var(--ease); }
a.cinfo__item:hover { border-color: var(--navy); transform: translateX(4px); }
.cinfo__ico { width: 52px; height: 52px; border-radius: 16px; background: var(--gold-100); color: var(--navy); display: grid; place-items: center; flex: none; }
.cinfo__item small { display: block; color: var(--muted); font-size: .8rem; }
.cinfo__item strong { color: var(--navy); font-size: 1.08rem; }
.open-badge { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #eef0f7; color: var(--muted); }
.open-badge.is-open { background: #e6f6ec; color: #16622f; }
.formcard { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dir a { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); font-size: .88rem; transition: all .3s; display: block; }
.dir a:hover { border-color: var(--navy); }
.dir strong { display: block; color: var(--navy); }

/* ---------- Danke ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.check-anim { width: 120px; height: 120px; margin: 0 auto 30px; }
.check-anim circle { stroke: var(--gold); stroke-width: 4; fill: none; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s var(--ease) forwards; }
.check-anim path { stroke: var(--navy); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin: 40px 0; }
.next-steps div { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.next-steps b { font-family: var(--f-display); font-size: 1.6rem; color: var(--gold-600); display: block; }

/* ---------- Reveal (JS-gesteuert) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; }
.toast { position: fixed; left: 50%; bottom: 100px; translate: -50% 0; z-index: 120; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .9rem; opacity: 0; transform: translateY(20px); transition: all .5s var(--ease); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .header__phone small { display: none; }
}
@media (max-width: 1024px) {
  .hero .container, .final .container, .career, .milieu, .faq-layout, .loc-layout, .calc, .two-col, .contact-grid, .detail, .phero--split .container { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 56px; padding-bottom: 80px; }
  .milieu__media, .faq-aside, .detail__aside, .map { position: relative; top: 0; }
  .milieu__media { aspect-ratio: 16/11; }
  .map { height: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 6; min-height: 380px; }
  .blog, .grid-cards, .perks, .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal--exit .modal__dialog { grid-template-columns: 1fr; }
  .exit__img { min-height: 180px; }
  .img-duo .b { right: 12px; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; --fs-base: 16px; }
  html.a11y-large { --fs-base: 18.5px; }
  .topbar__left .topbar__item:not(:first-child), .topbar__right .hide-sm { display: none; }
  .header__phone, .header__cta .btn { display: none; }
  .logo img { height: 40px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero__actions .btn { width: 100%; }
  .hero__proof { display: none; }
  .hero__caption { display: none; }
  .stats-wrap { margin-top: -40px; }
  .stat { padding: 22px 18px; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: auto; min-height: 340px; }
  .svc__more { grid-template-rows: 1fr; margin-top: 14px; }
  .svc__arrow { opacity: 1; transform: none; width: 40px; height: 40px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .loc-card { grid-template-columns: 110px 1fr; gap: 12px; }
  .loc-card__actions .btn--ghost { display: none; }
  .quiz__opts, .quiz__opts.cols-3 { grid-template-columns: 1fr; }
  .quiz__opt { padding: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
  .seg { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .blog, .grid-cards, .perks, .values, .features, .plist, .benefit-list, .next-steps, .dir { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 130px; }
  .video { aspect-ratio: 4/5; }
  .play { width: 84px; height: 84px; }
  .faq__a > div { padding-right: 0; }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .timeline::before, .timeline__fill { left: 8px; }
  .tl { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl::after { left: 2px; top: 30px; }
  .filterbar { padding: 16px; gap: 14px; }
  .filterbar__count { margin-left: 0; }
  .fab { display: none; }
  .cookie { left: 12px; right: 12px; width: auto; bottom: 86px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, .96); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 12, 102, .1);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { min-height: 52px; padding: 0 14px; font-size: .95rem; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 94svh; }
}

/* Reduzierte Bewegung (Systemeinstellung) — per ?motion=1 übersteuerbar */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.reduce-motion [data-reveal] { opacity: 1; transform: none; }
html.reduce-motion .marquee__track { animation: none; }
.map .leaflet-tile-pane, .mini-map .leaflet-tile-pane { filter: grayscale(.55) sepia(.18) saturate(1.1) brightness(1.03); }
.check > span { flex: 1; }
.modal .quiz__head { padding-right: 46px; }
html.reduce-motion .timeline__fill, html:not(.js) .timeline__fill { transform: none; }
.quiz__count { white-space: nowrap; }
@media (max-width: 720px) {
  .hero .hero__badges { gap: 6px; margin-bottom: 18px; }
  .hero__badges .pill { font-size: .72rem; padding: 6px 10px; white-space: nowrap; }
  .hero__lead { font-size: 1rem; margin-bottom: 1.4rem; }
  .hero__actions .btn--ghost-light { display: none; }
  .hero .container { padding-top: 36px; gap: 28px; }
  .quiz__label { font-size: .68rem; letter-spacing: .08em; }
  .quiz__q { font-size: 1.3rem; }
  body { padding-bottom: 76px; }
}
.btn { max-width: 100%; }
@media (max-width: 720px) {
  .btn--lg { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
  .calc__out .btn { width: 100%; }
}
.phero--split .container > * { min-width: 0; }
.apply, .formcard, .quiz { min-width: 0; }
.loc-card > *, .fcard, .post { min-width: 0; }
.loc-card h3 { overflow-wrap: anywhere; }
/* Cookie-Hinweis auf dem Handy kompakt – verdeckt den Funnel im Hero nicht */
@media (max-width: 720px) {
  .cookie { padding: 12px 14px; font-size: .76rem; line-height: 1.45; bottom: 84px; }
  .cookie strong { display: none; }
  .cookie p { margin-bottom: 10px; }
  .cookie .btn--sm { min-height: 40px; font-size: .85rem; }
}
