/* =========================================================
   Karriereseite Kurz, Zorn & Partner
   Überarbeitung nach Feedback: Konzept-Farbwelt, 1170 px Inhaltsbreite,
   Smooth Scroll, einheitliche Reveals, neuer Stimmen-Slider
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Farbwelt aus dem Konzept (aus den Konzept-Screenshots ausgemessen) */
  --canvas: #FFFFFF;
  /* Farbpalette (Kundenvorgabe 13.10.2026): Logo-Blau, Deep Navy, Ice Blue, Ocean Blue */
  --paper: #EDF4FC;          /* Ice Blue: helle Flächen */
  --surface: #E0EAF6;        /* Platzhalter, Hover-Flächen */
  --ink: #16263E;            /* altes Dunkelblau: Fließtext */
  --navy: #16263E;           /* dunkle Flächen (Partner, Zitat, Standorte, Kontakt) und ihre Lasuren */
  --ink-muted: #5C6778;      /* 5,7 : 1 auf Weiß, 5,2 : 1 auf Paper */
  --blue: #042D68;           /* CI-Blau: Fokusring, Textlinks */
  /* Vorschlag 13.10.2026: Logo-Blau als Akzent statt Gold, Buttons und Hintergründe hellblau, Gold für Überschriften-Akzente */
  --accent: #072A67;         /* Logo-Blau: Linien, Fortschritt, Aufzählungszeichen, Timeline-Linie */
  --accent-text: #072A67;    /* kleine Akzentschrift auf Hell */
  --accent-on-dark: #329FC4; /* auf Navy reicht Logo-Blau nicht: Ocean Blue */
  --gold: #AD8F4B;           /* Logo-Gold: Überschriften-Akzent „&“ */
  --gold-text: #826B38;      /* Gold auf Hell (4,6 : 1) */
  --gold-light: #C6A25E;     /* Gold auf Navy */
  --navy-surface: #1A2C52;   /* Bild-Hintergrund vor dem Laden (Navy-Kapitel) */
  --brand: #072A67;          /* Logo-Blau, gemessen im Original-Logo (Median der Vollfläche, 13.10.2026) */
  --highlight: #329FC4;      /* Ocean Blue: Buttons, Filter, „Mehr erfahren“, Floating Button, Play-Button; Schrift darauf immer Weiß */
  --highlight-hover: var(--brand);   /* Hover aller Buttons: Logo-Blau */
  --ink-inverse-muted: #fff;   /* Text auf dunklen Flächen immer Weiß (Abstimmung 13.10.2026) */
  --line: rgba(22, 38, 62, 0.14);
  --line-strong: rgba(22, 38, 62, 0.28);
  --line-inverse: rgba(255, 255, 255, 0.16);

  --amp: var(--gold-text);     /* Farbe des „&“ (Gold), je Fläche überschrieben */

  --font: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  /* Einheitliche Inhaltsbreite für Navigation und alle Inhalte */
  --container: 1170px;
  --margin: clamp(20px, 5vw, 4rem);
  --gutter: 24px;
  --inner: min(var(--container), 100vw - 2 * var(--margin));
  --bleed: calc((100vw - var(--inner)) / 2);

  --nav-h: 76px;
  /* Vertikale Section-Abstände: Desktop/Laptop 100, Tablet 80, Mobil 60 */
  --space-section: 100px;
  --space-block: 56px;

  /* Rundungen: --radius für alle Container (Bilder, Karten, Flächen, Kacheln),
     --radius-s nur für Bedienelemente (Buttons, Pfeile, Labels, Fokus) */
  --radius: 4px;
  --radius-m: var(--radius);
  --radius-s: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0.05, 0.36, 1);

  --z-nav: 100;
  --z-menu: 90;
  --z-skip: 200;
}

@media (max-width: 1023px) {
  :root { --space-section: 80px; --space-block: 48px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --nav-h: 64px; --space-section: 44px; --space-block: 28px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
html:not(.lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
}

/* Lenis (Smooth Scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;              /* Fließtext 16 px */
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
/* Headlines in Logo-Blau; auf dunklen Flächen weiß (über --heading-color) */
h1, h2, h3, h4 { color: var(--heading-color, var(--brand)); }
.reasons__quote, .partners, .contact, .job-apply { --heading-color: #fff; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
i { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

.skip {
  position: absolute;
  left: var(--margin);
  top: 0.75rem;
  z-index: var(--z-skip);
  padding: 0.75rem 1.125rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-s);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* Flächen */
.section--paper { background: var(--paper); --amp: var(--gold-text); }

/* ---------- Typografie ---------- */
.display-xl {
  font-size: clamp(2.75rem, 1.45rem + 4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
}
/* Einheitliche Headline-Stufen (12. Runde: wieder präsenter, große Headlines Bold)
   H1 .display-xl | H2 .display-l | H3 .h3 | H4 .h4
   Längere H2: komplett Logo-Blau, zweiter Teil (.soft) als transparente, hellere Variante in eigener Zeile (auf Navy Weiß 60 %) */
.display-l {
  font-size: clamp(2.125rem, 1.4rem + 2.15vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.display-l .soft { display: block; color: rgba(7, 42, 103, 0.55); font-weight: 600; }
.h3 {
  font-size: clamp(1.3125rem, 1.12rem + 0.6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
}
.h4,
.reason h4 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.display-m {
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.heading-s {
  font-size: clamp(1.1875rem, 1.08rem + 0.35vw, 1.4375rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.body-l {
  font-size: 1.125rem;          /* Intro-/Einleitungstext 18 px */
  line-height: 1.55;
}
/* Eyebrow: ruhige Kategoriezeile über jeder Section-Headline (Referenz „Top-Arbeitgeber in der Region“):
   normale Schreibweise, Regular, 18 px; Logo-Blau auf hellen Flächen, Ocean Blue auf Navy; immer 16 px Abstand zur Headline. */
.kicker {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--brand);
}
.partners .kicker,
.locations .kicker,
.contact .kicker { color: #fff; }
@media (max-width: 767px) {
  .kicker { font-size: 1rem; }
}

.amp { color: var(--amp); font-weight: inherit; }
.accent { color: var(--accent); }
.section--paper .accent { color: var(--accent-text); }
.soft { color: var(--ink-muted); font-weight: 400; }
.placeholder-text { color: var(--ink-muted); }

.rule {
  border: 0;
  height: 1px;
  margin: 0;
  background: var(--line);
}
.rule--inverse { background: var(--line-inverse); }

/* Mobil: Headlines kleiner */
@media (max-width: 767px) {
  .display-l { font-size: clamp(1.875rem, 1.2rem + 3.2vw, 2.25rem); line-height: 1.08; letter-spacing: -0.028em; overflow-wrap: break-word; }
  .h3 { font-size: 1.1875rem; }
  .display-m { font-size: 1.375rem; }
}

/* ---------- Sehr große Bildschirme ----------
   Bis 1920 px bleibt alles unverändert. Darüber wachsen Grundschrift und Inhaltsbreite proportional zur
   Fensterbreite (1920 px = 16 px), höchstens bis 26 px, damit Texte auf großen Monitoren nicht winzig wirken. */
@media (min-width: 1921px) {
  html { font-size: min(calc(100vw / 120), 26px); }
  :root { --container: 73.125rem; --nav-h: 4.75rem; --margin: 4rem; --gutter: 1.5rem; --space-section: 6.25rem; --space-block: 3.5rem; }
}

/* ---------- Buttons & Links ---------- */
/* Buttons nach Referenz (Cookie-Buttons): normale Schreibweise, Medium, ohne Laufweite, ohne Pfeil, eckig.
   Alle Buttons als Goldfläche; auch „Mehr erfahren“ in der Stellenliste (.job__cta) als Fläche in Ocean Blue, Hover Logo-Blau.
   Hinweis: Weiß auf Gold erreicht 3,1 : 1 und liegt damit unter WCAG AA für normale Schrift. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;              /* 48 px; wächst auf sehr großen Bildschirmen mit */
  padding: 0 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
/* Mini-Hover: Buttons wachsen minimal (nur mit Maus, nicht bei reduzierter Bewegung) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover,
  .btn.jobs-fab.is-visible:hover,
  .job:hover .job__cta { transform: scale(1.03); }
  .btn:active,
  .btn.jobs-fab.is-visible:active { transform: scale(0.98); }
}

/* Textlink „Mehr erfahren“ (Stellenkacheln): Typografie wie die Buttons, Pfeil ↗ dauerhaft sichtbar, beim Hover leicht nach rechts oben */
.btn,
.job-tile__more {
  position: relative;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease),
    transform 200ms var(--ease);
}
.job-tile__more::after {
  content: "";
  position: absolute;
  right: 1.375rem;
  top: 50%;
  width: 0.6875rem;
  height: 0.6875rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 L10 2 M3.5 2 H10 V8.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 L10 2 M3.5 2 H10 V8.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(0, -50%);
  transition: transform 300ms var(--ease);
  pointer-events: none;
}
.job-tile:hover .job-tile__more::after,
.job-tile:focus-visible .job-tile__more::after { transform: translate(2px, calc(-50% - 2px)); }
@media (prefers-reduced-motion: reduce) {
  .btn, .job-tile__more, .job-tile__more::after { transition: none; }
}
.btn--primary { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.btn--primary:hover { background: var(--highlight-hover); border-color: var(--highlight-hover); }
.btn--secondary { background: var(--ink); }
.btn--secondary:hover { background: var(--blue); }
.btn--compact { height: 2.625rem; padding: 0 1.25rem; }
@media (max-width: 767px) {
  .btn { height: 3rem; }
  .btn--compact { height: 2.625rem; }
}

.tlink {
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 300ms var(--ease);
}
.tlink:hover { background-size: 100% 1px, 100% 1px; }

.arrows { display: flex; gap: 0.5rem; }
.arrow {
  width: 2.875rem;
  height: 2.875rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.arrow:active { transform: scale(0.96); }
.arrow:disabled { opacity: 0.35; cursor: default; background: none; color: var(--ink); border-color: var(--line); }

/* Fortschrittslinien (Stimmen, Slider) */
.tick {
  position: relative;
  flex: 1;
  height: 1.75rem;
}
.tick::before,
.tick > span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}
.tick::before { background: var(--line); }
.tick > span {
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.tick.is-active > span { transform: scaleX(1); }
.tick:hover::before { background: var(--line-strong); }

@media (prefers-reduced-motion: no-preference) {
  .is-autoplay .tick.is-active > span {
    transform: scaleX(0);
    animation: tick-fill var(--tick-duration, 8000ms) linear forwards;
  }
  .is-paused .tick.is-active > span { animation-play-state: paused; }
}
@keyframes tick-fill { to { transform: scaleX(1); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  /* immer Weiß: das Logo (JPG mit weißem Grund) bleibt so auch über hellen Flächen sauber */
  background: var(--canvas);
  transition: box-shadow 300ms var(--ease);
}
/* Deckendes Weiß: Das Logo (JPG mit weißem Grund) blendet per multiply nur ohne backdrop-filter sauber */
.nav.is-solid,
.nav.is-open {
  background: var(--canvas);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: height 300ms var(--ease);
}
.nav.is-solid .nav__inner { height: 4.125rem; }

.nav__logo { flex: none; display: block; }
.nav__logo img {
  width: clamp(12.375rem, 15.8vw, 14.875rem);   /* rund 30 % größer als ursprünglich (26.10.2026) */
  mix-blend-mode: multiply;
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2.125rem);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__links > a,
.nav__trigger {
  position: relative;
  padding-block: 0.5rem;
  white-space: nowrap;
}
.nav__links > a::after,
.nav__trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}
.nav__links > a:hover::after,
.nav__links > a.is-active::after,
.nav__trigger:hover::after,
.nav__trigger.is-active::after,
.nav__item.is-open .nav__trigger::after { transform: scaleX(1); }

/* Dropdown „Offene Stellen“ */
.nav__item { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav__caret {
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: -0.1875rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 300ms var(--ease);
}
.nav__item.is-open .nav__caret { transform: translateY(3px) rotate(-135deg); }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: -1.25rem;
  width: 22.5rem;
  padding: 0.75rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(22, 38, 62, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease), transform 400ms var(--ease), visibility 0s linear 400ms;
}
/* unsichtbare Brücke, damit das Menü beim Hinüberfahren offen bleibt */
.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1rem;
  height: 1rem;
}
.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms var(--ease), transform 400ms var(--ease), visibility 0s;
}
.nav__jobs { display: flex; flex-direction: column; }
.nav__jobs a,
.nav__all {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.nav__jobs a:hover,
.nav__jobs a:focus-visible { background: var(--paper); }
.nav__all {
  margin-top: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 600;
  color: var(--accent-text);
}
.nav__all:hover { background: var(--paper); }

.nav__cta { flex: none; height: 2.625rem; padding: 0 1.375rem; }
.nav__cta-mobile,
.nav__toggle { display: none; }

.nav__toggle {
  align-items: center;
  gap: 0.625rem;
  height: 2.5rem;
  padding: 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav__toggle-lines {
  position: relative;
  width: 1.375rem;
  height: 0.625rem;
}
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 300ms var(--ease), top 300ms var(--ease);
}
.nav__toggle-lines::before { top: 0; }
.nav__toggle-lines::after { top: 0.5312rem; }
.nav.is-open .nav__toggle-lines::before { top: 0.2656rem; transform: rotate(45deg); }
.nav.is-open .nav__toggle-lines::after { top: 0.2656rem; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 2rem 2.5rem;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links > a,
.menu__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  padding-block: 0.875rem;
  border-top: 1px solid var(--line);
  text-align: left;
}
/* „Offene Stellen“ klappt im Mobilmenü als Untermenü auf */
.menu__caret {
  width: 0.5625rem;
  height: 0.5625rem;
  margin-right: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 300ms var(--ease);
}
.menu__group-toggle[aria-expanded="true"] .menu__caret { transform: translateY(2px) rotate(225deg); }
.menu__sub { padding: 2px 0 0.875rem; }
.menu__sub[hidden] { display: none; }
.menu__jobs {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
}
.menu__jobs a {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-muted);
}
.menu__all {
  display: inline-block;
  margin: 0.625rem 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-left: auto; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 379px) {
  .nav__toggle-label { display: none; }
}

/* ---------- 1 · Hero: klare vertikale Leserichtung ----------
   Headline ↓ Unterzeile ↓ Button ↓ Stimmen-Slider (Fokus). Viel Weißraum oben, keine Links-/Rechts-Komposition.
   Hero und Stimmen bilden zusammen eine durchgehende Navy-Fläche. */
/* Hero und Stimmen-Slider: weiße Fläche, Schrift Navy, „&“ Gold */
.hero,
.voices {
  background: var(--canvas);
  color: var(--ink);
  --heading-color: var(--brand);
  --amp: var(--gold-text);
}
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4.5rem, 13vh, 9.5rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
}
.hero__sentinel {
  position: absolute;
  top: 1.5rem;
  height: 1px;
  width: 1px;
}
/* Headline und Unterzeile links, Button rechts auf Höhe der Unterzeile */
.hero__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.hero__title {
  max-width: 16ch;
  font-size: clamp(2.75rem, 1.55rem + 3.6vw, 4.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__line > span { display: block; }
.hero__sub {
  margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.008em;
  font-weight: 400;
  color: var(--ink);
}
.hero__cta { flex: none; }
/* Stimmen aus dem Team: eigener Block unter dem Hero (Schatten schließt die Subpixel-Fuge zum Hero) */
.voices { padding-bottom: var(--space-section); }

/* Slider nach Referenz: Hochformat-Slides ohne Abstand, mittlere Slide aktiv.
   Innerhalb der Inhaltsbreite, damit links und rechts Luft zum Bildschirmrand bleibt. */
.team {
  max-width: calc(var(--container) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
  --tick-duration: 14000ms; /* Zitate sind vollständig sichtbar: genug Zeit zum Lesen */
}
.team__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  /* Containerbreite als Maß für die Slides */
  container-type: inline-size;
  touch-action: pan-y; /* waagerechtes Wischen bleibt beim Slider */
}
.team__track {
  display: flex;
  gap: 0.75rem;
  will-change: transform;
  transition: transform 1100ms var(--ease-inout);
}
.team__track.is-jumping,
.team__track.is-jumping * { transition: none !important; }

/* Ab 1024 px zwei große Personen im Fokus, links und rechts schauen die anderen beiden angeschnitten hervor */
.team__slide {
  position: relative;
  flex: none;
  width: 41cqw;
  height: max(47cqw, 36rem);
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--navy);
}
.team__slide.is-active { cursor: default; }

.team__photo { position: absolute; inset: 0; overflow: hidden; }
/* Bildfläche mit Parallax-Versatz innerhalb der Slide. Feste 4:5, damit das Porträt auch in hohen Slides
   nicht aufgezoomt wird und das Gesicht über dem Zitat bleibt; darunter läuft es in Navy aus. */
.team__media {
  position: absolute;
  top: 0;
  left: -6%;
  right: -6%;
  aspect-ratio: 4 / 5;
  transition: transform 1100ms var(--ease-inout);
}
.team__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to top, var(--navy), rgba(22, 38, 62, 0));
}
/* Porträt-Ausschnitt je Person (Zoom und Fokuspunkt als Inline-Variablen),
   damit Köpfe gleich groß sind und oben gleich viel Luft haben */
.team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--py, 0%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--ox, 50%) var(--oy, 8%);
}

/* Zurückgenommene Nachbarn: schwarz-weiß mit heller Lasur, Personen im Fokus in Farbe */
.team__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  transition: opacity 1000ms var(--ease-inout);
  pointer-events: none;
}
.team__slide.is-active .team__photo::after { opacity: 0; }
.team__media img { transition: filter 1000ms var(--ease-inout); }
.team__slide:not(.is-active) .team__media img { filter: grayscale(1) contrast(1.05); }

/* Zitat als Overlay am unteren Rand: Verlauf wächst mit der Textlänge, sodass nur so viel Bild verdeckt wird wie nötig.
   Bei den angeschnittenen Nachbarn ausgeblendet. */
.team__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 4.5rem 1.625rem 1.375rem;
  color: #fff;
  background: linear-gradient(to top, rgba(22, 38, 62, 0.94) 0, rgba(22, 38, 62, 0.86) calc(100% - 4.5rem), rgba(22, 38, 62, 0) 100%);
  transition: opacity 500ms var(--ease);
}
.team__slide:not(.is-active) .team__caption { opacity: 0; }
.team__ph-flag { display: none; }
.show-placeholders .team__ph-flag {
  display: block;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-s);
  background: rgba(22, 38, 62, 0.86);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 600;
}
.team__quote { font-size: 0.875rem; line-height: 1.45; text-wrap: pretty; }
.team__quote p + p { margin-top: 0.6em; }
.team__name {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.team__controls {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.team__controls .tick { height: 1.25rem; }
.team__controls .arrows { gap: 0.375rem; }
.team__controls .arrow { width: 2.125rem; height: 2.125rem; font-size: 0.9375rem; }
.team__ticks { display: flex; gap: 0.625rem; flex: 1; }
.team__controls .arrows { order: -1; }
/* Steuerung auf Navy */
.voices .tick::before { background: var(--line); }
.voices .tick:hover::before { background: var(--line-strong); }
.voices .tick > span { background: var(--accent); }
.voices .arrow { color: var(--ink); border-color: var(--line-strong); }
.voices .arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Schmalere Fenster: eine Person im Fokus, Nachbarn angeschnitten */
@media (min-width: 1024px) and (max-width: 1279px) {
  .team__quote { font-size: 0.8125rem; line-height: 1.42; }
  .team__caption { padding-inline: 1.25rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .team__slide { width: 68cqw; height: 36rem; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--nav-h) + 2.25rem); }
  /* Mobil: Headline frei und ausgeglichen umbrechen statt fester Desktop-Zeilen */
  .hero__title { font-size: clamp(2.25rem, 10vw, 2.625rem); text-wrap: balance; }
  .hero__line,
  .hero__line > span { display: inline; overflow: visible; padding: 0; margin: 0; }
  .js .hero__line > span { animation: none !important; transform: none !important; }
  .hero__sub { margin-top: 1rem; }
  .hero__grid { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero__cta { margin-top: 1.5rem; }
  .team__track { gap: 0.5rem; }
  .team__slide { width: 86cqw; height: 29rem; }
  /* eigener vertikaler Ausschnitt je Porträt im mobilen Format */
  .team__media img { object-position: 50% var(--py-m, 0%); transform-origin: var(--ox, 50%) var(--py-m, 0%); }
  .team__caption { padding: 3.5rem 0.875rem 1rem; background: linear-gradient(to top, rgba(22, 38, 62, 0.94) 0, rgba(22, 38, 62, 0.86) calc(100% - 3.5rem), rgba(22, 38, 62, 0) 100%); }
  .team__quote { font-size: 0.8125rem; line-height: 1.42; }
  .team__name { font-size: 0.9375rem; margin-top: 0.625rem; }
  .team__controls { gap: 1.25rem; }
}

/* Lade-Auftritt */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__line > span {
    transform: translateY(105%);
    animation: line-up 1100ms var(--ease) forwards;
  }
  .js .hero__line:nth-child(2) > span { animation-delay: 90ms; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .js .hero__title { opacity: 0; animation: fade-up 1000ms var(--ease) 80ms forwards; }
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 2 · Zwei Welten: Kopf zweispaltig, drei Karten mit überlappender Textbox ---------- */
.worlds { padding-block: var(--space-section); }
.worlds__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
}
/* Kopf untereinander: Headline, darunter Text, darunter Button */
.worlds__head-main { grid-column: 1 / -1; }
.worlds__intro {
  grid-column: 1 / 8;
  margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
}
.worlds__intro p { color: var(--ink); }

/* Drei Inhalte nebeneinander als beige Textflächen ohne Bild, gleich breit und gleich hoch */
/* Karten teilen sich über Subgrid dieselben Zeilen (Titel · Text):
   alle Titel stehen auf einer Höhe, die Texte sitzen vertikal mittig in der Zeile des längsten Textes. */
.worlds__cards {
  margin-top: var(--space-block);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: var(--gutter);
  row-gap: 0;
}
.world-card {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
/* Beige Fläche, Inhalt zentriert, großzügiger Innenabstand */
.world-card__body {
  position: relative;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0.875rem;
  padding: clamp(2rem, 3.2vw, 2.75rem) clamp(1.5rem, 2.6vw, 2.5rem);
  background: var(--paper);
  text-align: center;
}
.world-card__title {
  align-self: center;
  font-size: clamp(1.1875rem, 1.06rem + 0.4vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.014em;
  font-weight: 600;
  text-wrap: balance;
}
.world-card__body p { align-self: center; color: var(--ink); overflow-wrap: break-word; text-wrap: pretty; }

/* zweiter Button nur mobil (unter dem Block), der Kopf-Button nur ab Tablet */
.worlds__cta-mobile { display: none; }

/* Tablet: Kopf untereinander */
@media (max-width: 1023px) {
  .worlds__head-main, .worlds__intro { grid-column: 1 / -1; }
  .worlds__intro { margin-top: 1.5rem; max-width: 56ch; }
}

/* Mobil: Karten untereinander, Button unter den Karten */
@media (max-width: 767px) {
  /* mobil ohne Subgrid: jede Karte für sich, Abstand nur zwischen den Karten */
  .worlds__cards { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .world-card { display: flex; flex-direction: column; grid-row: auto; }
  .world-card__body { display: block; grid-row: auto; }
  .world-card__title { margin-bottom: 0.75rem; }
  .world-card__body { padding: 1.75rem 1.5rem; }
  .world-card__title { font-size: 1.125rem; }
  .worlds__cta-desktop { display: none; }
  .worlds__cta-mobile { display: block; margin-top: 1.5rem; }
}

/* ---------- 3 · Einblicke (Filmstreifen) ---------- */
.strip { padding-block: var(--space-section); }
.strip__title { margin-bottom: var(--space-block); }
.strip__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Einzug aus der echten Breite (ohne Scrollbar), damit das erste Bild auf der Inhaltsachse beginnt */
  scroll-padding-inline: max(var(--margin), calc((100% - var(--container)) / 2));
  padding-inline: max(var(--margin), calc((100% - var(--container)) / 2));
  padding-block: 0.25rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__item {
  flex: none;
  height: clamp(22.5rem, 38vw, 33.75rem);
  aspect-ratio: var(--ratio);
  scroll-snap-align: start;
}
.strip__photo {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
}
.strip__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.strip__controls { margin-top: 1.75rem; }

.ph {
  position: relative;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
}
.ph__label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-muted);
}
.ph__label i { color: var(--line-strong); padding-inline: 2px; }

@media (max-width: 767px) {
  .strip__controls { display: none; }
}

/* ---------- 4 · Mandate: beige, Intro oben, zwei Bild-/Text-Kompositionen nebeneinander ----------
   Weiße Textfläche leicht nach rechts versetzt und etwas ins Bild gezogen (Referenz), ohne Rundungen. */
.mandates { padding-block: var(--space-section); --offset: 32px; }
.mandates__head { max-width: 48.75rem; }
.mandates__title { max-width: 22ch; }
.mandates__text { margin-top: clamp(1.25rem, 2.2vw, 1.75rem); max-width: 60ch; color: var(--ink); }

.mandates__topics {
  margin-top: var(--space-block);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(var(--gutter) + var(--offset) + 1.5rem);
  align-items: stretch;
}
.mtopic { display: flex; flex-direction: column; margin-right: var(--offset); }
.mtopic__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mtopic__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mtopic__body {
  position: relative;
  flex: 1;
  margin: -4rem calc(-1 * var(--offset)) 0 var(--offset);
  border-radius: var(--radius);
  padding: clamp(2rem, 3.2vw, 2.75rem) clamp(1.75rem, 3vw, 2.5rem) clamp(2.25rem, 3.6vw, 3rem);
  background: var(--paper);
}
.mtopic__title { font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); line-height: 1.2; letter-spacing: -0.016em; font-weight: 600; margin-bottom: 0.875rem; }
.mtopic__text { color: var(--ink); max-width: 46ch; }

@media (max-width: 1023px) {
  .mandates { --offset: 20px; }
}
@media (max-width: 767px) {
  .mandates { --offset: 12px; }
  .mandates__topics { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .mtopic__body { margin-top: -2rem; padding: 1.5rem 1.25rem; }
}

/* ---------- 5 · Gute Gründe: alle 14 direkt sichtbar ----------
   14 Karten mit Icon, Titel und Text. Darunter Button und das Testimonial über die volle Breite. */
.reasons { padding-block: var(--space-section); }
.reasons__title { margin-bottom: var(--space-block); text-align: center; }
.reasons > .wrap > .kicker { text-align: center; }
/* 14 Gründe ohne Kartenfläche (Inspiration Kundenreferenz): Icon weiß auf Gold-Kachel,
   Titel und Originaltext zentriert. Drei Spalten, letzte Reihe mittig. */
.reasons__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(2.75rem, 4.4vw, 3.75rem) var(--gutter);
}
.reason {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding-inline: clamp(0.5rem, 1.6vw, 1.5rem);
}
/* Letzte Reihe mit zwei Karten mittig */
.reason:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
/* Letzte Reihe mit einer Karte mittig */
.reason:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
/* Icon: Outline-Zeichnung (Logo-Blau, Akzent Ocean Blue), ohne Kachel */
.reason__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.5rem;
}
.reason__icon img { width: 3.5rem; height: 3.5rem; }
.reason__title {
  max-width: 30ch;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.008em;
  font-weight: 600;
  text-wrap: balance;
}
.reason__text {
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.reasons__cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: flex; justify-content: center; }

/* Testimonial: Foto fest im Hintergrund (Fläche gleitet beim Scrollen darüber), kräftige Navy-Tönung,
   Zitat zentriert mit Text-Reveal. Technik: clip-path am Container + position: fixed am Bild,
   funktioniert anders als background-attachment: fixed auch auf iOS. */
.reasons__quote {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  margin-top: var(--space-section);
  margin-bottom: calc(-1 * var(--space-section));
  padding-block: clamp(7rem, 12vw, 11rem);
  background: var(--navy);
  color: #fff;
  --amp: var(--gold-light);
}
/* Beim Hereinscrollen wächst die Fläche von der Inhaltsbreite auf die volle Breite
   (animiert wird derselbe Ausschnitt, der auch das fixierte Foto begrenzt). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reasons__quote {
      animation: quote-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes quote-grow {
  from { clip-path: inset(0 var(--bleed)); }
  to { clip-path: inset(0 0); }
}
.reasons__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.reasons__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
/* Desktop: Foto nach rechts versetzt, damit das Gesicht neben dem Zitat steht; linke Kante weich ausgeblendet */
@media (min-width: 768px) {
  .reasons__bg img {
    transform: translateX(24%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  }
}
.reasons__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 38, 62, 0.8);
}
.reasons__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 55rem;
  margin-inline: auto;
  text-align: center;
}
.reasons__figure blockquote p {
  font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

@media (max-width: 1023px) {
  .reasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason, .reason:nth-last-child(2):nth-child(3n + 1), .reason:last-child:nth-child(3n + 1) { grid-column: auto; }
  .reason:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: 50%; }
}
@media (max-width: 767px) {
  .reasons__list { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .reason:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .reasons__quote { padding-block: 5.5rem; }
  .reasons__bg img { object-position: 72% 30%; }
  .reasons__figure blockquote p { font-size: 1.375rem; }
  .reason { gap: 0.625rem; padding-inline: 0; }
  .reason__icon { width: 3.25rem; height: 3.25rem; }
  .reason__icon img { width: 3.25rem; height: 3.25rem; }
  .reason__title { font-size: 1.0625rem; }
  .reason__text { font-size: 0.9375rem; }
}

/* ---------- 6 · Stellen ---------- */
.jobs { padding-block: var(--space-section); }
.jobs__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: var(--space-block);
}
.jobs__head .display-l { grid-column: 1 / -1; max-width: 80%; }
.jobs__head .kicker { grid-column: 1 / -1; }
.jobs__sub { grid-column: 1 / -1; margin-top: 1rem; color: var(--ink); }

/* Filter */
/* eigene Zeile unter der Headline, damit die Filter einzeilig bleiben */
.jobs__filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.chip {
  height: 2.625rem;
  padding: 0 1.125rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease);
}
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.jobs__list li.is-hidden { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .jobs__list li.is-entering { animation: job-in 500ms var(--ease) both; }
}
@keyframes job-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.jobs__list { position: relative; border-bottom: 1px solid var(--line-strong); }
.jobs__list li { position: relative; border-top: 1px solid var(--line-strong); }

.job {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: clamp(1.5rem, 2.4vw, 2.125rem) 1rem;
  transition: background-color 250ms var(--ease);
}
/* Hover linear und reduziert: nur Hintergrund, bündig mit den Trennlinien, ohne Rundung und Bewegung */
.job:hover { background: var(--paper); }
.job:focus-visible { outline-offset: 0; }
.job__main {
  grid-column: 1 / 10;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
h3.job__title,
.job__title {
  font-size: clamp(1.1875rem, 1.06rem + 0.45vw, 1.4375rem);
  line-height: 1.25;
  letter-spacing: -0.014em;
  font-weight: 600;
  text-wrap: balance;
}
.job__meta { font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); }
.jobs__empty { margin-top: var(--space-block); max-width: 56ch; color: var(--ink); }
.jobs__empty[hidden] { display: none; }
.job__meta i, .contact__plain i { color: var(--line-strong); padding-inline: 0.25rem; }
.job__cta {
  grid-column: 10 / -1;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 2.625rem;
  padding: 0 1.25rem;
  border: 1px solid var(--highlight);
  border-radius: var(--radius-s);
  background: var(--highlight);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease), transform 200ms var(--ease);
}
.job:hover .job__cta,
.job:focus-visible .job__cta { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 1023px) {
  .jobs__head .display-l { grid-column: 1 / -1; max-width: none; }
  .job__main { grid-column: 1 / 10; }
}
@media (max-width: 767px) {
  .job { grid-template-columns: minmax(0, 1fr); row-gap: 0.625rem; padding-inline: 0.75rem; }
  .job__main { grid-column: 1; justify-self: start; }
  .job__cta { grid-column: 1; justify-self: start; margin-top: 0.375rem; }
}

/* ---------- 6a · Presse: Banner als CTA ----------
   Karte in Inhaltsbreite, links Navy mit Text und Button, rechts das Foto, weicher Übergang per Verlauf. */
.press { padding-block: 0 var(--space-section); }
.press__banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(21.25rem, 30vw, 27.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  --heading-color: #fff;
  isolation: isolate;
}
.press__bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 28%;
}
/* Verlauf: links deckendes Navy für den Text, nach rechts frei für das Foto */
.press__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(22, 38, 62, 0.75) 50%, rgba(22, 38, 62, 0.15) 72%, rgba(22, 38, 62, 0) 100%);
}
.press__text { max-width: min(30rem, 52%); padding: clamp(2.25rem, 4.5vw, 4rem); }
.press .kicker { color: #fff; }
.press__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.press__lead { margin-top: 1rem; color: var(--ink-inverse-muted); font-size: 1.0625rem; line-height: 1.55; overflow-wrap: break-word; hyphens: auto; }
.press__cta { margin-top: 1.75rem; }
@media (max-width: 767px) {
  .press__banner { flex-direction: column; align-items: stretch; min-height: 0; }
  .press__bg { position: relative; z-index: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; order: -1; object-position: 45% 25%; }
  .press__banner::before { content: none; }
  .press__text { max-width: none; padding: 1.75rem 1.375rem 2rem; }
}

/* ---------- 6b · Bewerbungsprozess (senkrechte Timeline) ----------
   Links untereinander: Headline, Text, Button (mitlaufend). Rechts vier Schritte entlang
   einer durchgehenden Linie, die sich beim Scrollen von oben nach unten in Ocean Blue füllt. */
.process { padding-block: var(--space-section); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.process__head {
  grid-column: 1 / 6;
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
}
.process__intro {
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}
.process__text { color: var(--ink); max-width: 46ch; }

.process__timeline {
  --node: 3.5rem;
  grid-column: 7 / -1;
  display: grid;
}
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 2.4vw, 2rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}
.process__step:last-child { padding-bottom: 0; }
/* Linienabschnitt vom Knoten bis zum nächsten Knoten: lückenlos, dadurch eine durchgehende Linie */
.process__step:not(:last-child)::before,
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: var(--node);
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}
.process__step:not(:last-child)::after {
  background: var(--accent);
  transform-origin: top;
}
.process__num {
  position: relative;
  z-index: 1;
  width: var(--node);
  height: var(--node);
  display: grid;
  place-items: center;
  border-radius: 50%;   /* Zahlen der Timeline als Kreise (bewusste Ausnahme von den eckigen Flächen) */
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}
/* Schritt erreicht: Knoten wird Ocean Blue (ohne Scroll-Timeline per JS, bei reduzierter Bewegung sofort) */
.process__step.is-active .process__num { background: var(--highlight); color: #fff; }
.process__body { padding-top: calc(var(--node) / 2 - 0.8em); }
.process__title {
  margin-bottom: 0.625rem;
  font-size: clamp(1.1875rem, 1.06rem + 0.4vw, 1.4375rem);
  line-height: 1.28;
  letter-spacing: -0.014em;
  font-weight: 600;
  text-wrap: pretty;
}
.process__desc { color: var(--ink); max-width: 46ch; }

/* Füllung: scrollgesteuert, sonst als einmalige Animation beim Einblenden */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .process__step:not(:last-child)::after {
      animation: process-fill linear both;
      animation-timeline: view();
      animation-range: cover 30% cover 55%;
    }
    /* Knoten wird Ocean Blue, sobald er etwa die Bildschirmmitte erreicht (synchron zur Linie) */
    .process__num {
      animation: process-node linear both;
      animation-timeline: view();
      animation-range: cover 40% cover 46%;
    }
  }
  @supports not (animation-timeline: view()) {
    .js .process__step:not(:last-child)::after {
      transform: scaleY(0);
      transition: transform 900ms var(--ease) 300ms;
    }
    .js .process__step.is-active:not(:last-child)::after { transform: scaleY(1); }
  }
}
@keyframes process-node {
  from { background-color: var(--brand); color: #fff; }
  to { background-color: var(--highlight); color: #fff; }
}
@keyframes process-fill {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (max-width: 1023px) {
  .process__head { grid-column: 1 / -1; position: relative; top: auto; margin-bottom: var(--space-block); }
  .process__timeline { grid-column: 1 / -1; max-width: 40rem; --node: 3rem; }
}
@media (max-width: 767px) {
  .process__timeline { --node: 40px; }
  .process__step { column-gap: 1rem; padding-bottom: 2.25rem; }
  .process__num { font-size: 0.875rem; }
}

/* ---------- 1c · Video „Kanzleirundgang“ (Platzhalter, zweite Section) ----------
   Beige Section direkt nach dem Hero, Eyebrow und Headline zentriert, darunter 16:9 über die Containerbreite.
   Bis das Video vorliegt: Kanzleifoto als Vorschaubild mit rundem Play-Button (ohne Funktion). */
.video { padding-block: var(--space-section); }
.video > .wrap > .kicker { text-align: center; }
.video__title { max-width: 22ch; margin: 0 auto var(--space-block); text-align: center; }
.video__player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* leichte Navy-Lasur, damit der Play-Button ruhig steht */
.video__player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 38, 62, 0.18);
  pointer-events: none;
  transition: opacity 250ms var(--ease);
}
/* Vorschaubild ist als Ganzes klickbar; beim Klick ersetzt der Player Vorschau und Button */
.video__trigger { position: absolute; inset: 0; z-index: 1; width: 100%; cursor: pointer; }
.video__el { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.video__player.is-playing::after { opacity: 0; }
/* Play-Button: runder Goldkreis mit weißem Dreieck, beim Hover über dem Video minimal größer */
.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(4.5rem, 7vw, 6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 10px 30px rgba(22, 38, 62, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease), background-color 300ms var(--ease);
}
.video__play-icon {
  width: 22%;
  aspect-ratio: 7 / 8;
  margin-left: 6%;   /* optisch zentriert */
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .video__player:hover .video__play { transform: translate(-50%, -50%) scale(1.06); background: var(--brand); }
}
@media (max-width: 767px) {
  .video__title { margin-bottom: 1.75rem; }
  /* kleiner, damit er wenig vom Bild verdeckt; klickbar bleibt die ganze Bildfläche */
  .video__play { width: 2.5rem; box-shadow: 0 4px 12px rgba(22, 38, 62, 0.25); }
  .video__play-icon { width: 30%; }
}

/* ---------- 3 · Partner: Foto über die volle Breite, Zitat links mit weichem Verlauf (kein Farbblock) ---------- */
.partners {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(35rem, 48vw, 53.75rem);
  background: var(--navy);
  color: #fff;
  --amp: var(--gold-light);
  overflow: hidden;
  /* linke Kante des Zitats = linke Kante der Navigation (Logo, Container 1170 px) */
  container-type: inline-size;
}
.partners__media,
.partners__panel { grid-area: 1 / 1; }
.partners__media, .partners__panel { --qx: max(var(--margin), calc((100cqw - var(--container)) / 2)); }
.partners__media { position: relative; margin: 0; background: var(--navy-surface); }
.partners__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 22%;
}
/* weicher Verlauf von links, rechts bleibt das Foto unverändert */
.partners__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 38, 62, 0.82) 0, rgba(22, 38, 62, 0.62) calc(var(--qx) + 300px), rgba(22, 38, 62, 0.22) calc(var(--qx) + 560px), rgba(22, 38, 62, 0) calc(var(--qx) + 760px));
}
.partners__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: var(--space-section) var(--margin) var(--space-section) var(--qx);
}
.partners__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: min(34rem, calc(40cqw - var(--qx)));   /* Text endet spätestens bei 40 % der Breite, vor den Partnern */
}
.partners__text .kicker { margin-bottom: -0.75rem; }  /* Flex-Abstand 28 px auf die einheitlichen 16 px bringen */
.partners blockquote { font-size: clamp(1.25rem, 0.8rem + 1vw, 1.75rem); line-height: 1.32; letter-spacing: -0.015em; font-weight: 500; }
.partners blockquote p { text-indent: -0.42em; }
.partners .placeholder-text { color: var(--ink-inverse-muted); }
.partners__by { display: flex; align-items: flex-start; gap: 1.125rem; line-height: 1.4; }
.partners__by .amp { font-size: 1.125rem; font-weight: 600; }
.partners__person { display: flex; flex-direction: column; gap: 2px; }
.partners__person strong { font-size: 1.125rem; font-weight: 600; }
.partners__person span { font-size: 0.875rem; color: var(--ink-inverse-muted); }

/* Tablet und mobil: Foto oben (3:2), Text darunter auf Weiß */
@media (max-width: 1023px) {
  .partners { grid-template-rows: auto auto; min-height: 0; background: var(--canvas); color: var(--ink); --amp: var(--gold-text); --heading-color: var(--brand); }
  .partners__media { grid-area: 1 / 1; aspect-ratio: 3 / 2; }
  .partners__media::after { content: none; }
  .partners__media img { object-position: 62% 30%; }
  .partners__panel { grid-area: 2 / 1; }
  .partners__text { max-width: 40rem; }
  .partners .kicker { color: var(--brand); }
  .partners__person span { color: var(--ink-muted); }
  .partners blockquote { font-size: 1.375rem; }
}

/* Scroll-gekoppelter Text-Reveal (Partner-Zitat): main.js setzt --rp (0–1) am Zitat.
   Jedes Zeichen hat seine Position --p (0–1) und wird über eine weiche Kante von
   stark zurückgenommen (0,14) zu voll sichtbar. Der sichtbare Text bleibt aria-hidden,
   der unveränderte Originaltext steht für Screenreader und Suchmaschinen daneben (.sr-only). */
.is-text-reveal { --rp: 0; }
.reveal-word { white-space: nowrap; }
.reveal-char {
  opacity: calc(0.14 + 0.86 * clamp(0, (var(--rp) * 1.14 - var(--p)) / 0.14, 1));
}
.is-text-reveal-after {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.is-text-reveal-after.is-shown { opacity: 1; transform: none; }

/* ---------- 8 · Events ---------- */
.events { padding-block: var(--space-section); }
.events__title {
  max-width: 80%;
  margin-bottom: var(--space-block);
}
/* Kompaktes Raster: 5 Spalten × 4 Reihen ohne Lücken: große Kacheln Lauf (2 × 2, oben links) und Laufteam (2 × 2, unten rechts),
   breite Kacheln Sushi-Gruppe und Laufteam (2 × 1), Grill-Foto hochkant (1 × 2), Rest einzeln;
   Kacheln fahren beim Hereinscrollen gestaffelt von unten ein (data-reveal) */
.events__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(4, clamp(8.125rem, 11vw, 12.5rem));
  gap: clamp(0.625rem, 1.2vw, 1rem);
}
.ev {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
}
.ev img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ev:hover img { transform: scale(1.04); }
}
.ev--big  { grid-column: 1 / 3; grid-row: 1 / 3; }
.ev--big img { object-position: 50% 55%; }
.ev--a    { grid-column: 3;     grid-row: 1; }
.ev--a img { object-position: 50% 48%; }
.ev--g    { grid-column: 4;     grid-row: 1 / 3; }
.ev--g img { object-position: 50% 55%; }
.ev--b    { grid-column: 5;     grid-row: 1; }
.ev--b img { object-position: 50% 52%; }
.ev--c    { grid-column: 3;     grid-row: 2; }
.ev--d    { grid-column: 5;     grid-row: 2; }
.ev--d img { object-position: 50% 40%; }
.ev--big2 { grid-column: 1 / 3; grid-row: 3; }
.ev--big2 img { object-position: 50% 42%; }
.ev--e    { grid-column: 3;     grid-row: 3; }
.ev--f    { grid-column: 3;     grid-row: 4; }
.ev--f img { object-position: 50% 40%; }
.ev--h    { grid-column: 1 / 3; grid-row: 4; }
.ev--h img { object-position: 50% 32%; }
.ev--i    { grid-column: 4 / 6; grid-row: 3 / 5; }
.ev--i img { object-position: 50% 80%; }

/* Tablet: 4 Spalten, Grill-Foto entfällt aus dem Hochkant-Raster und reiht sich ein; Laufteam-Gruppe unten volle Breite (2 Reihen) */
@media (max-width: 1023px) {
  .events__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: clamp(7.5rem, 18vw, 10.625rem); }
  .ev--big  { grid-column: 1 / 3; grid-row: 1 / 3; }
  .ev--a    { grid-column: 3; grid-row: 1; }
  .ev--b    { grid-column: 4; grid-row: 1; }
  .ev--c    { grid-column: 3; grid-row: 2; }
  .ev--d    { grid-column: 4; grid-row: 2; }
  .ev--big2 { grid-column: 1 / 3; grid-row: 3; }
  .ev--e    { grid-column: 3; grid-row: 3; }
  .ev--g    { grid-column: 4; grid-row: 3; }
  .ev--f    { grid-column: 1 / 3; grid-row: 4; }
  .ev--h    { grid-column: 3 / 5; grid-row: 4; }
  .ev--i    { grid-column: 1 / -1; grid-row: 5 / 7; }
}
/* Mobil: zwei Spalten, große Bilder über die volle Breite */
@media (max-width: 767px) {
  .events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0.625rem; }
  .ev, .ev--big, .ev--a, .ev--b, .ev--c, .ev--d, .ev--big2, .ev--e, .ev--f, .ev--g, .ev--h, .ev--i { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .ev--big, .ev--big2, .ev--g, .ev--h, .ev--i { grid-column: 1 / -1; }
}

/* ---------- Floating Button „Offene Stellen“ ----------
   Quadratisch (80 px, mobil 72 px), Text zweizeilig, halbtransparentes Milchglas (Weiß 62 %, Blur), Hover Gold, unten rechts. Sichtbar überall außer im Hero (main.js)
   und bei geöffnetem Mobilmenü. */
.btn.jobs-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: var(--z-menu);
  width: 5rem;
  height: 5rem;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  border-color: var(--highlight);
  background: var(--highlight);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms,
    background-color 250ms var(--ease), color 250ms var(--ease);
}
.btn.jobs-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s,
    background-color 250ms var(--ease), color 250ms var(--ease);
}
.btn.jobs-fab:hover { background: var(--highlight-hover); border-color: var(--highlight-hover); color: #fff; }
.nav.is-open ~ .btn.jobs-fab { opacity: 0; visibility: hidden; }
@media (max-width: 767px) {
  .btn.jobs-fab { right: 1rem; bottom: 1rem; width: 4.5rem; height: 4.5rem; padding: 0; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.jobs-fab, .btn.jobs-fab.is-visible { transform: none; transition: none; }
}

/* ---------- 9 · Standorte: Navy, links gezeichnete Karte (ca. 58 %), rechts Inhalt ----------
   Karte als Illustration: weiße, leicht unregelmäßige Kontur, Location-Pins in Ocean Blue nur für die
   beiden Standorte, umliegende Orte klein und zurückgenommen. Keine Cards, keine Rahmen. */
.locations {
  padding-block: var(--space-section);
  overflow-x: clip;
  background: var(--navy);
  color: #fff;
  --heading-color: #fff;
  --amp: var(--gold-light);
}
.locations :focus-visible { outline-color: var(--accent-on-dark); }
.locations__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas: "map map map map map map map info info info info info";
  column-gap: var(--gutter);
  align-items: start;
}
/* Desktop: Karte und Inhalt beide sticky – die jeweils kürzere Spalte bleibt stehen, die längere läuft mit */
.locations__info { grid-area: info; position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.locations__head { grid-area: head; }
.locations__title { max-width: 16ch; }
.locations .display-l .soft { color: #fff; }
.locations__intro { margin-top: 1.25rem; max-width: 40ch; color: var(--ink-inverse-muted); }
.locations__list { grid-area: list; margin-top: clamp(2rem, 3.4vw, 2.75rem); }
.location { padding-block: 1.375rem; }
.location:first-child { padding-top: 0; }
.location + .location { border-top: 1px solid var(--line-inverse); }
.location__city { font-size: 1.25rem; line-height: 1.3; font-weight: 600; margin-bottom: 0.5rem; }
.location__address { color: var(--ink-inverse-muted); line-height: 1.55; font-variant-numeric: tabular-nums; }
.location__phone { margin-top: 0.625rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.locations .tlink { background-image: linear-gradient(var(--accent-on-dark), var(--accent-on-dark)), linear-gradient(var(--line-inverse), var(--line-inverse)); }

/* Karte läuft links bis an den Bildschirmrand (Linien gehen über den Rand hinaus) */
/* Karte ragt links über die Inhaltsspalte hinaus, aber höchstens bis zu einer Gesamtbreite von 1400 px */
.map { grid-area: map; position: sticky; top: calc(var(--nav-h) + 1.5rem); margin: 0 clamp(0px, 2vw, 2rem) 0 calc(-1 * min(var(--bleed), (87.5rem - var(--inner)) / 2)); overflow: hidden; }
.map__svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.map__outline { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.map__labels text { fill: #fff; font-size: 20px; }
.map__labels .map__region { fill: #fff; font-size: 34px; letter-spacing: 0.1em; text-transform: uppercase; }
.map__pin--town path { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.map__pin--town circle { fill: #fff; }
.map__towns text { fill: #fff; font-size: 19px; font-weight: 500; }
.map__pin--office path { fill: var(--accent-on-dark); }
.map__pin--office circle { fill: var(--ink); }
.map__name { fill: #fff; font-size: 23px; font-weight: 600; letter-spacing: -0.005em; }

@media (max-width: 1023px) {
  .locations__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "map" "list"; grid-template-rows: auto; }
  .locations__info { display: contents; }
  .map { position: static; }
  .map { margin: 2.25rem 0 0; margin-left: calc(-1 * var(--margin)); margin-right: calc(-1 * var(--margin)); }
  .locations__list { margin-top: 2.25rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .locations__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .location, .location:first-child { padding-top: 1.375rem; border-top: 1px solid var(--line-inverse); }
}
@media (max-width: 767px) {
  .map { margin-inline: calc(-1 * var(--margin)); }
  .map__name { font-size: 29px; }
  .map__towns text { font-size: 23px; }
  .map__labels text { font-size: 28px; }
  .map__labels .map__region { font-size: 36px; }
  .map__town--minor { display: none; }
  .location:first-child { padding-top: 1.375rem; border-top: 1px solid var(--line-inverse); }
}

/* ---------- 9b · Kontakt: Büro-Foto fest im Hintergrund, Navy-Tönung ----------
   Gleiche Technik wie beim Testimonial: clip-path am Container + position: fixed am Bild (auch iOS). */
.contact {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  color: #fff;
  padding-block: var(--space-section);
  background: var(--navy);
  --amp: var(--gold-light);
}
.contact :focus-visible { outline-color: var(--accent-on-dark); }
.contact__bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: rgba(22, 38, 62, 0.86); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.contact__text { grid-column: 1 / 6; }
.contact__lead { margin-top: 1.5rem; max-width: 42ch; color: var(--ink-inverse-muted); }
.contact__cta { margin-top: 2.25rem; }
.contact__person { grid-column: 7 / -1; }
/* Porträt klein und rund (bewusste Ausnahme von den eckigen Flächen), ohne Rand */
.contact__media {
  flex: none;
  width: clamp(6.25rem, 9vw, 8rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-surface);
}
.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}
.contact__name {
  margin-top: 0;
  font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
}
.contact__role { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--ink-inverse-muted); }
/* Telefon und E-Mail links untereinander, Porträt rechts daneben */
.contact__details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  max-width: 35rem;
  margin-top: 1.75rem;
}
.contact__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.contact__links .tlink {
  background-image: linear-gradient(var(--accent-on-dark), var(--accent-on-dark)), linear-gradient(var(--line-inverse), var(--line-inverse));
}
.contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}

@media (max-width: 1023px) {
  .contact__text, .contact__person { grid-column: 1 / -1; }
  .contact__person { margin-top: var(--space-block); max-width: 35rem; }
}
@media (max-width: 767px) {
  .contact__details { gap: 1rem; margin-top: 1.25rem; }
  .contact__media { width: 5.25rem; }
  .contact__links { font-size: 1rem; }
  .contact__links a { white-space: nowrap; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2rem;
  align-items: start;
}
.footer__brand { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 0.875rem; }
.footer__brand p { max-width: 16rem; color: var(--ink); font-weight: 500; line-height: 1.45; }
.footer__logo {
  width: 100%;
  max-width: 13.125rem;
  mix-blend-mode: multiply;
}
.footer__entity { grid-column: span 3; }
.footer__entity strong { display: block; color: var(--ink); font-weight: 600; }
.footer__links {
  grid-column: 11 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__entity { grid-column: span 6; }
  .footer__links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
}
@media (max-width: 767px) {
  .footer__entity { grid-column: 1 / -1; }
}

/* ---------- Scroll-into-view: weich von unten, gestaffelt ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not([data-reveal="draw"]) {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition:
      opacity 1100ms var(--ease) var(--reveal-delay, 0ms),
      transform 1300ms var(--ease) var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-in:not([data-reveal="draw"]) {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Platzhalterbilder ---------- */
/* Einheitliche, dezente Bildanmutung für alle Stockfotos (Fotostrecke), entfällt mit den Originalfotos */
img[data-placeholder],
[data-placeholder] img,
[data-placeholder-portrait] img,
/* Stockfotos tragen data-placeholder. Mit ?platzhalter in der URL werden sie zur Abstimmung markiert. */
.show-placeholders [data-placeholder] { position: relative; }
.show-placeholders [data-placeholder]::after {
  content: "Platzhalter: " attr(data-placeholder);
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-s);
  background: rgba(22, 38, 62, 0.86);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 600;
}

/* =========================================================
   Stellen-Detailseiten (einheitliches Template)
   ========================================================= */
.job-hero {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vh, 5rem));
  padding-bottom: var(--space-block);
}
.job-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.job-hero__back span[aria-hidden] { transition: transform 300ms var(--ease); }
.job-hero__back:hover span[aria-hidden] { transform: translateX(-4px); }
.job-hero__title { max-width: 22ch; }
/* Button, darunter der Hinweis */
.job-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
}
.job-hero__note { color: var(--ink-muted); font-size: 1rem; }

/* Eckdaten minimal im weißen Bereich über „Über uns“: kleine Labels, kein Kasten */
.job-facts {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem clamp(1.25rem, 2vw, 1.75rem);
}
.job-facts__item { display: flex; flex-direction: column; gap: 2px; }
.job-facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.job-facts dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.job-body { padding-block: var(--space-section); }
.job-body__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.job-content {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4.5rem);
}
.job-block > .h3 { margin-bottom: 1.5rem; }
.job-block p + p { margin-top: 1rem; }
.job-block p { color: var(--ink); max-width: 62ch; }
.job-block .job-block__lead { color: var(--ink); }
/* Überleitung zur Liste („Folgende Aufgaben …“) etwas abgesetzt, Liste mit Luft darunter */
.job-block .kicker { color: var(--brand); }
.job-block p + .job-list { margin-top: 1.25rem; }
.job-block p:not(.kicker):has(+ .job-list, + .job-block__sub) { color: var(--ink); font-weight: 500; }
.job-list {
  display: grid;
  gap: 0.875rem;
}
.job-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 2.5rem; }
.job-list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.55;
}
.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.875rem;
  height: 2px;
  background: var(--accent);
}
.job-block__sub {
  margin: 1.75rem 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Bewerbungsfläche in Logo-Blau */
.job-apply {
  grid-column: 9 / -1;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-m);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  --amp: var(--gold-light);
}
.job-apply .kicker { color: #fff; }
.job-apply__title { margin-bottom: 0.875rem; }
.job-apply p + p { margin-top: 0.75rem; }
.job-apply p { color: var(--ink-inverse-muted); font-size: 1rem; }
.job-apply .btn { width: 100%; margin-block: 1.5rem 1.25rem; }
/* Auf niedrigen Bildschirmen ist die Box höher als der sichtbare Bereich: dann mitscrollen statt kleben,
   damit „Jetzt bewerben“ und die Ansprechperson nicht abgeschnitten werden */
@media (max-height: 860px) {
  .job-apply { position: relative; top: auto; }
}
/* Fläche ist Logo-Blau: Button-Hover hier weiß statt Logo-Blau, sonst verschwindet er */
.job-apply .btn--primary:hover, .job-apply .btn--primary:focus-visible { background: #fff; border-color: #fff; color: var(--brand); }
.job-apply__contact {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-inverse);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 1rem;
}
.job-apply__contact strong { color: #fff; font-weight: 600; font-size: 1.0625rem; }
.job-apply__contact a { color: #fff; }
.job-apply .tlink {
  background-image: linear-gradient(var(--accent-on-dark), var(--accent-on-dark)), linear-gradient(var(--line-inverse), var(--line-inverse));
}
.job-apply :focus-visible { outline-color: var(--accent-on-dark); }

.job-more { padding-block: clamp(2.5rem, 5vw, 4rem); }
/* „Weitere offene Stellen“ bewusst klein: Überschrift und Kacheln deutlich zurückgenommen */
.job-more .display-l { margin-bottom: 1.125rem; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }

/* Mobile: fixe Bewerbungsleiste */
.job-bar { display: none; }

@media (max-width: 1023px) {
  .job-content, .job-apply { grid-column: 1 / -1; }
  .job-apply { position: relative; top: auto; margin-top: var(--space-block); }
}
@media (max-width: 767px) {
  .job-list--cols { grid-template-columns: minmax(0, 1fr); }
  .job-bar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-menu);
    padding: 0.75rem var(--margin) calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--canvas);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform 400ms var(--ease);
  }
  .job-bar.is-visible { transform: none; }
  .job-bar .btn { width: 100%; }
  .has-job-bar .footer { padding-bottom: 6.5rem; }
}

.nowrap { white-space: nowrap; }


/* Stellen-Detailseiten: weitere Stellen als sehr kompakte Kacheln (Titel + Textlink mit Pfeil) */
.job-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
}
.job-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.625rem;
  height: 100%;
  padding: 0.875rem 1rem;
  background: var(--canvas);
  border-radius: var(--radius-m);
}
.job-tile__title {
  font-size: 0.9375rem;
  line-height: 1.35;
  letter-spacing: -0.004em;
  font-weight: 600;
  text-wrap: balance;
}
/* Textlink statt Button: kein Rahmen, Pfeil direkt dahinter */
.job-tile__more {
  display: inline-flex;
  align-items: center;
  padding: 0 1.125rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-text);
  transition: color 250ms var(--ease);
}
.job-tile__more::after { right: 0; width: 0.625rem; height: 0.625rem; }
.job-tile:hover .job-tile__more { color: var(--ink); }
@media (max-width: 1023px) {
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .job-grid { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
}

/* Mobil: Logo, „Offene Stellen“ und Menü-Schalter passen gemeinsam in die Kopfzeile */
@media (max-width: 767px) {
  .nav__inner { gap: 0.875rem; }
  .nav__logo img { width: 10.5rem; }
  .nav__cta-mobile { padding: 0 1rem; font-size: 0.9375rem; }
  .nav__toggle { flex: none; }
}


/* ---------- Rechtliches: Impressum und Datenschutz ---------- */
.legal-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal { padding-block: var(--space-block) var(--space-section); }
.legal__body { max-width: calc(48.75rem + 2 * var(--margin)); margin-inline: 0 auto; }
@media (min-width: 1024px) {
  .legal__body { margin-inline: auto; max-width: calc(var(--container) + 2 * var(--margin)); }
  .legal__body > * { max-width: 48.75rem; }
}
.legal-entity,
.legal-block { padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.legal-entity:first-of-type,
.legal-block:first-of-type { border-top: 0; padding-top: 0; }
.legal-entity h2,
.legal-block h2 { margin-bottom: 1.25rem; }
.legal-entity__form { display: block; margin-top: 0.25rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.legal-block h3,
.legal-entity h3 { margin: 1.75rem 0 0.625rem; }
.legal-entity p + p,
.legal-block p + p { margin-top: 0.75rem; }
.legal-block p,
.legal-entity p,
.legal-list { color: var(--ink); }
.legal-note { margin-top: 1.25rem; color: var(--ink-muted); font-size: 0.9375rem; }
.legal-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem var(--gutter); }
.legal-facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.25rem; }
.legal-facts dd { margin: 0; }
.legal-list { margin: 0.75rem 0; padding-left: 1.2em; list-style: disc; }
.legal-list li + li { margin-top: 0.375rem; }
.legal-list li::marker { color: var(--accent-text); }
/* Offene Angaben: deutlich als TODO markiert */
.legal-todo {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: #FBF3DF;
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  color: var(--ink);
}
.legal-todo-inline { background: #FBF3DF; padding: 0 0.25rem; }
@media (max-width: 767px) {
  .legal-facts { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================
   Mobil-Optimierung (bis 767 px): Typo-Hierarchie, Abstands-Hierarchie,
   Navigation, Bild-Slider. Desktop bleibt unverändert.
   Abstände: Section 44 px > Headline→Inhalt 28 px > Inhalt→Inhalt 20–24 px
   > Text→Button 16–20 px > zusammengehörig 8–12 px
   ========================================================= */
.menu__apply { margin-top: 1.75rem; margin-bottom: auto; }
@media (min-width: 768px) {
  .menu__apply { display: none; }
}
@media (max-width: 767px) {
  /* Fließtext 15 px, Intro-Texte ebenfalls 15 px, Zeilenabstand kompakter */
  body { font-size: 0.9375rem; line-height: 1.58; }
  .body-l { font-size: 0.9375rem; line-height: 1.58; }
  .world-card__body p,
  .process__desc,
  .job-block p,
  .legal-block p,
  .legal-entity p { font-size: 0.9375rem; }

  /* Navigation: oben nur Logo und Menü, Bewerbung im geöffneten Menü */
  .nav__cta-mobile { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav__logo img { width: 11.5rem; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 2.25rem; }
  .voices { padding-top: 1.75rem; }
  .team__controls { margin-top: 0.75rem; }

  /* Section 2 */
  .worlds__intro { margin-top: 1rem; gap: 1.25rem; }
  .worlds__cards { margin-top: 1.5rem; }

  /* #Insights: genau ein vollständiges Bild pro Bildschirmbreite, einheitliches Format */
  /* Abstand = Seitenrand: Das nächste Bild beginnt exakt am Bildschirmrand, nichts ragt herein */
  .strip__track { gap: var(--margin); }
  .strip__item {
    width: calc(100vw - 2 * var(--margin));
    height: auto;
    aspect-ratio: 4 / 3;
    scroll-snap-stop: always;
  }
  .strip__photo img { object-position: 50% 35%; }


  /* Gute Gründe */

  /* Stellen */
  .job { padding-block: 1.125rem; }

  /* Bewerbungsprozess */
  .process__intro { margin-top: 1rem; gap: 1.25rem; }
  .process__head { margin-bottom: 1.75rem; }
  .process__step { padding-bottom: 1.75rem; }

  /* Partner, Events, Standorte, Kontakt */
  .partners__panel { padding: var(--space-section) var(--margin); }
  .partners__by { gap: 0.875rem; }
  .partners__by .amp,
  .partners__person strong { font-size: 1rem; }
  .partners__person span { font-size: 0.8125rem; }
  .location { padding: 1.25rem 0 1.75rem; }
  .contact__lead { margin-top: 1rem; }
  .contact__cta { margin-top: 1.25rem; }
  .contact__person { margin-top: 2rem; }
}

/* Mobil: Buttons kompakter */
@media (max-width: 767px) {
  .btn { height: 2.875rem; padding: 0 1.5rem; }
  .btn--compact { height: 2.625rem; padding: 0 1.125rem; }
}

/* #Insights: Wisch-Hinweis nur mobil, verschwindet nach dem ersten Wischen */
.strip__hint { display: none; }
@media (max-width: 767px) {
  .strip__hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    transition: opacity 400ms var(--ease);
  }
  .strip__hint span { color: var(--accent-text); }
  .strip.is-swiped .strip__hint { opacity: 0; }
}

/* Tablet (768–1023 px): drei Karten bleiben nebeneinander, etwas kompaktere Textbox */
@media (min-width: 768px) and (max-width: 1023px) {
  .world-card__body { padding: 1.75rem 1.25rem; }
  .world-card__body p { font-size: 0.9375rem; }
}

/* Slider-Steuerung sitzt in der Slider-Breite (kein doppelter Seitenrand) */
.team .team__controls.wrap { padding-inline: 0; max-width: none; }
