/* ============================================================================
   p17 Consulting GmbH — Stylesheet (v2)
   Recruiting-Palette · plakativ · flach & edel · Vollton
   ========================================================================== */

/* ----------------------------------------------------------------------------
   Fonts (selbst gehostet, DSGVO-konform)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk var';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
}

/* ----------------------------------------------------------------------------
   Design-Tokens — Geschäftsbereich Recruiting (Design.md)
   -------------------------------------------------------------------------- */
:root {
  --navy:         #1f2a44;   /* Primär */
  --navy-light:   #3c4b6e;
  --navy-dark:    #141b2c;   /* Primär Dunkel */
  --navy-2:       #354e72;   /* Sekundär */
  --navy-2-light: #5c7597;
  --navy-2-dark:  #233851;
  --royal:        #00298b;   /* Logo-Blau */
  --gold:         #bfa01f;   /* Komplementär */
  --gold-soft:    #d2b441;
  --gold-text:    #d9c069;   /* gut lesbar auf Dunkel */
  --gold-dark:    #8c7414;

  --ink:    #0e1322;
  --paper:  #f3f5f9;
  --paper-2:#e6eaf1;
  --mist:   #aeb8cc;
  --white:  #ffffff;

  /* Flächen-Logik je Sektion (Default: dunkel) */
  --bg: var(--navy-dark);
  --fg: #e9edf5;
  --muted: rgba(233, 237, 245, 0.66);
  --kicker: var(--gold-text);
  --line: rgba(255, 255, 255, 0.14);
  --card: var(--navy);

  /* Typografie */
  --font:         'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk var', 'Inter var', system-ui, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.16vw, 0.93rem);
  --step-0:  clamp(1rem,   0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.18rem,1.08rem + 0.5vw,  1.45rem);
  --step-2:  clamp(1.45rem,1.25rem + 1vw,   2.1rem);
  --step-3:  clamp(1.85rem,1.45rem + 2vw,   3rem);
  --step-4:  clamp(2.2rem, 1.55rem + 3.2vw, 4rem);
  --display: clamp(2.5rem, 1.1rem + 6.9vw, 6.6rem);

  /* Layout — flach: sehr kleine Radien, kaum Schatten */
  --header-h: 76px;
  --pad-x: clamp(1.25rem, 5vw, 7rem);
  --maxw: 1280px;
  --radius: 3px;
  --radius-lg: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --shadow: 0 14px 34px -22px rgba(5, 9, 20, 0.75);
}

/* ----------------------------------------------------------------------------
   Reset / Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--navy-2-light) transparent;
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--navy-dark); }

.skip-link {
  position: fixed; left: 1rem; top: -100%; z-index: 200;
  padding: 0.7rem 1.1rem; background: var(--gold); color: var(--navy-dark);
  border-radius: 2px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

/* ----------------------------------------------------------------------------
   Scroll-Snapping (nur Startseite)
   -------------------------------------------------------------------------- */
html.is-home { scroll-snap-type: y mandatory; }
.snap-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 2.5rem) var(--pad-x) clamp(2.5rem, 6vh, 4.5rem);
  color: var(--fg);
  background: var(--bg);
}
.wrap { max-width: var(--maxw); margin-inline: auto; width: 100%; }

/* Flächen-Themes */
.section--light { --bg: var(--paper); --fg: var(--ink); --kicker: var(--gold-dark); --card: var(--white); --line: rgba(20, 27, 44, 0.13); --muted: rgba(14, 19, 34, 0.62); }
.section--dark  { --bg: var(--navy-dark); --fg: #e9edf5; --kicker: var(--gold-text); --card: var(--navy); --line: rgba(255, 255, 255, 0.13); --muted: rgba(233, 237, 245, 0.66); }
.section--gold  { --bg: var(--gold); --fg: var(--navy-dark); --kicker: var(--navy-dark); --card: rgba(20, 27, 44, 0.06); --line: rgba(20, 27, 44, 0.22); --muted: rgba(20, 27, 44, 0.74); }

/* ----------------------------------------------------------------------------
   Typo-Helfer
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--kicker); margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}
.kicker::before { content: ""; width: clamp(26px, 4vw, 46px); height: 2px; background: currentColor; }

.h-display {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--display); line-height: 0.98; letter-spacing: -0.025em;
}
.h-section {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em;
}
.lead { font-size: var(--step-1); color: var(--muted); max-width: 46ch; line-height: 1.5; }

/* ----------------------------------------------------------------------------
   Buttons — ein konsistentes System, flach, gleiche Höhe in der Reihe
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-dark);
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: var(--step-0); line-height: 1.2; letter-spacing: 0.005em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 1em; height: 1em; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-dark); }
.btn--gold:hover { --btn-bg: var(--gold-soft); }

.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: color-mix(in srgb, currentColor 42%, transparent); }
.btn--ghost:hover { --btn-bg: color-mix(in srgb, currentColor 9%, transparent); transform: translateY(-2px); }

.btn--solid { --btn-bg: var(--navy-dark); --btn-fg: #fff; }
.btn--solid:hover { --btn-bg: var(--navy); }

.btn--lg { padding: 1.1rem 1.9rem; font-size: var(--step-1); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.btn-row .btn { flex-grow: 0; }

/* Gold-Sektion: Primärbutton wird navy, damit er auf Gold wirkt */
.section--gold .btn--gold { --btn-bg: var(--navy-dark); --btn-fg: #fff; }
.section--gold .btn--gold:hover { --btn-bg: var(--navy); }
.section--gold .btn--ghost { --btn-bd: rgba(20, 27, 44, 0.45); --btn-fg: var(--navy-dark); }

.arrow-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--kicker); }
.arrow-link svg { width: 0.9em; height: 0.9em; transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; padding-inline: var(--pad-x);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--navy-dark) 86%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  --header-h: 64px;
}
.header-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* Marke = nur Logo */
.brand { display: inline-flex; align-items: center; }
.brand img, .brand svg { width: 46px; height: 46px; display: block; transition: height 0.35s var(--ease), width 0.35s var(--ease); }
.site-header.scrolled .brand img, .site-header.scrolled .brand svg { width: 40px; height: 40px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  position: relative; color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem; font-weight: 500; padding: 0.3rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: #fff; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border-radius: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.28); position: relative; z-index: 120;
}
.burger span {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: #fff;
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { transform: translate(-50%, -6px); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
body.nav-open .burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile-Overlay — Vollton Navy */
.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-dark);
  display: grid; align-content: center; justify-items: start; gap: 0.2rem;
  padding: var(--pad-x);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s var(--ease);
  pointer-events: none;
}
body.nav-open .nav-overlay { clip-path: inset(0 0 0 0); pointer-events: auto; }
.nav-overlay a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 600;
  color: #eef1f7; letter-spacing: -0.02em; padding: 0.22rem 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.25s;
}
.nav-overlay a:hover { color: var(--gold); }
body.nav-open .nav-overlay a { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i, 0) * 0.06s); }
.nav-overlay .btn { margin-top: 1.4rem; }
.nav-overlay__meta { margin-top: 2rem; display: flex; gap: 1.4rem; }
.nav-overlay__meta a { font-size: 0.95rem; font-family: var(--font); color: var(--gold-text); }

/* Fortschritt + Punkte */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 130; height: 3px; width: 100%;
  transform: scaleX(var(--progress, 0)); transform-origin: left;
  background: var(--gold);
  transition: transform 0.1s linear;
}
.dots {
  position: fixed; right: clamp(0.9rem, 2.2vw, 2rem); top: 50%;
  transform: translateY(-50%); z-index: 90; display: grid; gap: 0.9rem;
}
.dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5); position: relative;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.dots button::after {
  content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-size: 0.72rem; font-weight: 600; white-space: nowrap; color: #fff;
  background: var(--navy-dark); border: 1px solid var(--line);
  padding: 0.25rem 0.6rem; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.dots button:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dots button:hover { transform: scale(1.2); }
.dots button.is-active { background: var(--gold); border-color: var(--gold); }
.dots[data-theme="light"] button { border-color: rgba(20, 27, 44, 0.4); }
.dots[data-theme="light"] button.is-active { background: var(--navy); border-color: var(--navy); }
.dots[data-theme="gold"] button { border-color: rgba(20, 27, 44, 0.5); }
.dots[data-theme="gold"] button.is-active { background: var(--navy-dark); border-color: var(--navy-dark); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { color: #eef2f8; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(0.9); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, var(--navy-dark) 0%, rgba(20, 27, 44, 0.92) 34%, rgba(20, 27, 44, 0.55) 68%, rgba(20, 27, 44, 0.35) 100%);
}
.hero__overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--navy-dark) 100%);
}
.hero .wrap { display: grid; gap: clamp(1.2rem, 3vh, 1.9rem); }
.hero__eyebrow { color: var(--gold-text); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--display); line-height: 0.96; letter-spacing: -0.03em;
  max-width: 17ch; text-wrap: balance;
}
.rotator {
  display: inline-block; color: var(--gold); white-space: nowrap;
  will-change: opacity, transform;
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}
.rotator.is-swapping { opacity: 0; transform: translateY(0.4em); }
.hero__sub { color: rgba(238, 242, 248, 0.84); max-width: 52ch; font-size: var(--step-1); }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero .btn-row { margin-top: 0.4rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 3.4rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.65); z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
}
.scroll-cue__mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 12px; position: relative; }
.scroll-cue__mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px;
  border-radius: 2px; background: var(--gold); transform: translateX(-50%);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%, 11px); } 100% { opacity: 0; transform: translate(-50%, 11px); } }

/* Keyword-Laufband */
.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 26, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding-block: 0.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 2.4rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   Sektion-Kopf
   ========================================================================== */
.section-head { display: grid; gap: 0.85rem; max-width: 62ch; margin-bottom: clamp(1.8rem, 4.5vh, 3rem); }

/* ============================================================================
   LEISTUNGEN — flache Karten, Volltonblöcke, Hairline-Borders
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 1.4vw, 1.2rem); }
.service {
  position: relative; display: grid; gap: 0.65rem; align-content: start;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service:hover { transform: translateY(-5px); }
.service__icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 0.4rem;
}
.section--light .service__icon { background: var(--navy); color: var(--gold-soft); }
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.1; }
.service__lead { font-weight: 600; color: var(--gold-dark); }
.section--dark .service__lead { color: var(--gold-text); }
.service p:last-child { color: var(--muted); font-size: var(--step-0); }

/* ============================================================================
   FACHBEREICHE — Vollton Navy, flache Kacheln
   ========================================================================== */
.fields { background: var(--navy-dark); }
.fields-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.7rem, 1vw, 1rem); }
.field {
  position: relative; display: grid; align-content: space-between; gap: 1.4rem;
  min-height: 220px; padding: clamp(1.2rem, 1.7vw, 1.6rem);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: #eef1f7; overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.field::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease); }
.field:hover { transform: translateY(-5px); background: var(--navy-2-dark); border-color: rgba(255, 255, 255, 0.2); }
.field:hover::before { transform: scaleY(1); }
.field__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.field__icon { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--gold-text); }
.field__icon svg { width: 22px; height: 22px; }
.field__num { font-family: var(--font-display); font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }
.field h3 { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.08; }
.field p { color: rgba(238, 241, 247, 0.68); font-size: 0.94rem; margin-top: 0.35rem; }
.field__go { position: absolute; top: 1.25rem; right: 1.25rem; width: 30px; height: 30px; display: grid; place-items: center; color: var(--gold-text); opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.field__go svg { width: 16px; height: 16px; }
.field:hover .field__go { opacity: 1; transform: none; }

/* ============================================================================
   WARUM p17 — flach, Bild + nummerierte Werte
   ========================================================================== */
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 19, 34, 0.6)); }
.why__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--navy-dark);
  padding: 0.7rem 1.1rem; font-weight: 600; font-size: 0.9rem;
}
.why__badge svg { width: 1em; height: 1em; }
.values { display: grid; gap: clamp(1rem, 2.2vh, 1.5rem); }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.value__num {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy);
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--navy) 30%, transparent);
}
.section--dark .value__num { color: var(--gold-text); border-color: rgba(255, 255, 255, 0.2); }
.value h3 { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.15; margin-bottom: 0.15rem; }
.value p { color: var(--muted); font-size: var(--step-0); }

/* ============================================================================
   BEWERBER — Vollton Gold (plakativer Conversion-Block)
   ========================================================================== */
.applicants { text-align: center; }
.applicants .wrap { display: grid; justify-items: center; gap: clamp(1.2rem, 3vh, 1.9rem); max-width: 60rem; }
.applicants h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--display); line-height: 0.98; letter-spacing: -0.03em;
  text-wrap: balance; max-width: 18ch; color: var(--navy-dark);
}
.applicants h2 em { font-style: normal; color: var(--navy-dark); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; text-decoration-color: rgba(20, 27, 44, 0.45); }
.applicants .lead { color: rgba(20, 27, 44, 0.78); max-width: 52ch; text-align: center; }
.applicants .btn-row { justify-content: center; margin-top: 0.4rem; }
.applicants__hint { font-size: 0.9rem; color: rgba(20, 27, 44, 0.66); font-weight: 500; }

/* ============================================================================
   KONTAKT
   ========================================================================== */
.contact { background: var(--ink); align-content: space-between; grid-template-rows: 1fr auto; }
.contact .wrap { display: grid; gap: clamp(2rem, 5vh, 3.2rem); }
.contact__top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.contact h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.contact__lead { color: var(--muted); margin-top: 1rem; max-width: 42ch; }
.contact__primary { margin-top: 1.6rem; }

.contact__cards { display: grid; gap: 0.6rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 0.95rem 1.15rem;
  background: var(--navy); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-card:hover { transform: translateX(5px); background: var(--navy-2-dark); }
.contact-card__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--gold-text); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card b { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.contact-card span { color: #eef1f7; font-size: var(--step-0); }

.site-footer {
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; align-items: center; justify-content: space-between;
  color: rgba(238, 241, 247, 0.55); font-size: 0.85rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.site-footer a, .site-footer .linklike { color: inherit; transition: color 0.25s; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--gold); }
.site-footer .linklike { font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__parent a { color: var(--gold-text); }

/* ============================================================================
   Arbeitgeber-Dialog
   ========================================================================== */
.lead-dialog {
  width: min(560px, 92vw); border: 1px solid var(--paper-2); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow);
}
.lead-dialog::backdrop { background: rgba(10, 14, 26, 0.62); }
.lead-dialog h3 { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 0.3rem; }
.lead-dialog p.sub { color: rgba(14, 19, 34, 0.62); margin-bottom: 1.2rem; font-size: 0.95rem; }
.field-row { display: grid; gap: 0.4rem; margin-bottom: 0.9rem; }
.field-row label { font-size: 0.85rem; font-weight: 600; }
.field-row input, .field-row textarea {
  font: inherit; padding: 0.7rem 0.9rem; border: 1.5px solid var(--paper-2);
  border-radius: 2px; background: #fff; color: var(--ink); width: 100%;
}
.field-row textarea { min-height: 96px; resize: vertical; }
.field-row input:focus, .field-row textarea:focus { outline: none; border-color: var(--navy); }
.dialog-actions { display: flex; gap: 0.7rem; justify-content: flex-end; margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; margin-top: 0.6rem; }
.form-note.ok { color: var(--gold-dark); font-weight: 600; }
.form-note.err { color: #b3261e; }

/* ============================================================================
   Cookie-Banner
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  background: var(--navy-dark); color: #eef1f7;
  border-top: 3px solid var(--gold);
  padding: clamp(1rem, 2vw, 1.3rem) var(--pad-x);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
  box-shadow: 0 -14px 34px -22px rgba(0, 0, 0, 0.8);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner__inner { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner__text { display: flex; align-items: flex-start; gap: 0.9rem; max-width: 72ch; flex: 1 1 380px; }
.cookie-banner__icon { color: var(--gold-text); flex: none; }
.cookie-banner__icon svg { width: 28px; height: 28px; }
.cookie-banner p { font-size: 0.92rem; line-height: 1.5; color: rgba(238, 241, 247, 0.82); }
.cookie-banner p b { color: #fff; }
.cookie-banner a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex: none; }

/* ============================================================================
   Reveal-Animationen
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.is-visible .reveal, .reveal.is-visible { opacity: 1; transform: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.is-home .section__inner {
      animation: pushAway linear both;
      animation-timeline: view();
      animation-range: exit 5% exit 95%;
    }
    @keyframes pushAway {
      from { opacity: 1; transform: translateY(0); }
      to   { opacity: 0; transform: translateY(-7vh); }
    }
    .hero__bg img {
      animation: kenburns linear both; animation-timeline: view(); animation-range: cover;
    }
    @keyframes kenburns { from { transform: scale(1.16) translateY(-2%); } to { transform: scale(1.16) translateY(2%); } }
  }
}

/* ============================================================================
   Legal-Seiten
   ========================================================================== */
.legal { max-width: 820px; margin-inline: auto; padding: calc(var(--header-h) + 3rem) var(--pad-x) 5rem; color: #e9edf5; }
.legal h1 { font-family: var(--font-display); font-size: var(--step-4); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.legal h2 { font-family: var(--font-display); font-size: var(--step-2); margin: 2.2rem 0 0.7rem; color: var(--gold-text); }
.legal p, .legal li { color: rgba(233, 237, 245, 0.82); margin-bottom: 0.7rem; }
.legal a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; color: var(--gold-text); font-weight: 600; text-decoration: none; }
.legal .back svg { width: 0.9em; height: 0.9em; transform: rotate(180deg); }
.legal strong { color: #fff; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.1rem; list-style: square; }
.legal ul li::marker { color: var(--gold); }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .fields-grid { grid-template-columns: repeat(3, 1fr); }
  .fields-grid .field:nth-child(4) { grid-column: 1 / 2; }
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .why__media { aspect-ratio: 16 / 10; max-height: 38vh; order: 2; }
  .contact__top { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
}
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .dots { display: none; }
  .snap-section { scroll-snap-stop: normal; }
}
@media (max-width: 620px) {
  :root { --header-h: 64px; }
  .snap-section { min-height: 100dvh; padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 1.75rem; }
  .section-head { margin-bottom: 1.1rem; gap: 0.55rem; }
  .services-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .service { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.5rem 1rem; padding: 0.9rem 1.05rem; border-top-width: 1px; border-left: 3px solid var(--gold); }
  .service__icon { grid-row: span 3; width: 46px; height: 46px; margin: 0; }
  .service h3 { font-size: var(--step-0); }
  .service__lead { font-size: 0.85rem; }
  .service p:last-child { display: none; }
  .fields-grid { display: flex; flex-direction: column; gap: 0.5rem; }
  .fields-grid .field:nth-child(4) { grid-column: auto; }
  .field { min-height: 0; padding: 0.8rem 1rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.3rem 0.9rem; }
  .field__icon { width: 40px; height: 40px; }
  .field__top { display: contents; }
  .field__num, .field p, .field::before { display: none; }
  .field__go { position: static; opacity: 1; transform: none; }
  .values { gap: 0.9rem; }
  .value__num { width: 42px; height: 42px; }
  .cookie-banner__inner { gap: 0.9rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}
@media (max-height: 720px) and (min-width: 881px) {
  .section-head { margin-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .scroll-cue { display: none; }
}

@media print {
  .site-header, .dots, .progress-bar, .scroll-cue, .marquee, .nav-overlay, .cookie-banner { display: none !important; }
  .snap-section { min-height: auto; page-break-inside: avoid; }
}
