/* ==========================================================================
   Lebensart Gruppe – Arbeitgeber-Welt
   Brand Guideline v1.4: Calibri Light/Bold, Graphit/Platin + Leinen/Lehm/Koralle,
   keine Schatten, keine Verläufe, Texte linksbündig, Bilder nie ohne Rand.
   ========================================================================== */

/* ---------- Schrift: Calibri lokal, sonst Carlito (metrisch identisch) ---------- */
@font-face {
  font-family: "SLA";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("Calibri Light"), local("CalibriLight"), url("../fonts/carlito-400.woff2") format("woff2");
}
@font-face {
  font-family: "SLA";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Calibri"), url("../fonts/carlito-400.woff2") format("woff2");
}
@font-face {
  font-family: "SLA";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: local("Calibri Italic"), local("Calibri-Italic"), url("../fonts/carlito-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "SLA";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Calibri Bold"), local("Calibri-Bold"), url("../fonts/carlito-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --graphit: #313638;
  --platin: #e8e9eb;
  --leinen: #e0dfd5;
  --lehm: #e3b362;
  --koralle: #ec6461;

  --graphit-80: color-mix(in srgb, var(--graphit) 80%, var(--platin));
  --graphit-60: color-mix(in srgb, var(--graphit) 60%, var(--platin));
  --graphit-20: color-mix(in srgb, var(--graphit) 20%, var(--platin));
  --graphit-10: color-mix(in srgb, var(--graphit) 10%, var(--platin));
  --leinen-60: color-mix(in srgb, var(--leinen) 60%, var(--graphit));
  --koralle-20: color-mix(in srgb, var(--koralle) 20%, var(--platin));

  --bg: var(--platin);
  --fg: var(--graphit);
  --muted: var(--graphit-80);
  --line: var(--graphit-20);

  --font: "SLA", Calibri, Carlito, "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(3.25rem, 12vw, 9.5rem);
  --fs-h2: clamp(2.125rem, 5.4vw, 4.25rem);
  --fs-h3: clamp(1.375rem, 2.4vw, 1.875rem);
  --fs-body-l: clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 1.1vw, 1.125rem);
  --fs-small: 0.875rem;

  --gutter: clamp(1rem, 4.5vw, 3rem);
  --maxw: 92rem;
  --section: clamp(4.5rem, 11vw, 9rem);
  --header-h: 4rem;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --dur: 0.6s;

  color-scheme: light;
}

@media (min-width: 64rem) {
  :root { --header-h: 5rem; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  interpolate-size: allow-keywords;
}
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { font-weight: 700; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.skip-link {
  position: fixed; left: var(--gutter); top: 0.75rem; z-index: 100;
  padding: 0.75rem 1.25rem; background: var(--graphit); color: var(--platin);
  border-radius: var(--radius-pill); text-decoration: none;
  translate: 0 -200%; transition: translate 0.2s;
}
.skip-link:focus { translate: 0 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografie ---------- */
.display {
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.display .light, .display b { display: block; }
.display .light { font-weight: 300; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }
.h3 { font-size: var(--fs-h3); }
.body-l { font-size: var(--fs-body-l); line-height: 1.35; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-small); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 0.55em; height: 0.55em; border-radius: 50%;
  background: var(--koralle);
}
.eyebrow--light { color: var(--platin); }
.footnote { margin-top: 2.5rem; font-size: var(--fs-small); color: var(--muted); }
.link-caps {
  display: inline-block; margin-top: 0.75rem;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .h2 { margin-bottom: 1.5rem; }
.section-head .body-l { color: var(--muted); }

.frame { overflow: hidden; background: var(--leinen); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3rem; padding: 0.5rem 1.25rem 0.5rem 1.5rem;
  border: 1px solid var(--btn-bd); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { transition: translate 0.3s var(--ease); }
.btn--dark { --btn-bg: var(--graphit); --btn-fg: var(--platin); --btn-bd: var(--graphit); }
.btn--light { --btn-bg: var(--platin); --btn-fg: var(--graphit); --btn-bd: var(--platin); }
.btn--outline { --btn-bd: currentColor; }
.btn--block { width: 100%; justify-content: space-between; }
@media (hover: hover) {
  .btn:hover .icon { translate: 4px 0; }
  .btn--dark:hover, .btn--light:hover { --btn-bg: var(--koralle); --btn-fg: var(--graphit); --btn-bd: var(--koralle); }
  .btn--outline:hover { --btn-bg: var(--graphit); --btn-fg: var(--platin); --btn-bd: var(--graphit); }
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  transition: background-color 0.25s, color 0.25s;
}
.icon-btn--outline { border: 1px solid currentColor; }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) {
  .icon-btn:not(:disabled):hover { background: var(--graphit); color: var(--platin); }
}

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.5rem; padding: 0.25rem 1rem;
  border: 1px solid currentColor; border-radius: var(--radius-pill);
  font-size: 0.9375rem; text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
@media (hover: hover) { .chip:hover { background: var(--graphit); color: var(--platin); border-color: var(--graphit); } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  padding-inline: var(--gutter);
  background: var(--platin);
  transition: translate 0.4s var(--ease), background-color 0.3s;
}
.site-header.is-hidden { translate: 0 -100%; }
.site-header.is-scrolled { border-bottom: 1px solid var(--line); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand img { width: clamp(9.5rem, 30vw, 13rem); }
.brand__tag {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding-left: 0.75rem; border-left: 1px solid var(--graphit-60); line-height: 1.6;
}
@media (max-width: 23rem) { .brand__tag { display: none; } }

.nav { display: none; }
.nav ul { display: flex; list-style: none; padding: 0.25rem; gap: 0.125rem; border: 1px solid var(--line); background: var(--platin); }
.nav a {
  display: block; padding: 0.625rem 0.9rem; font-size: 0.9375rem; text-decoration: none;
  position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.4rem; height: 1px;
  background: currentColor; scale: 0 1; transform-origin: left; transition: scale 0.3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after, .nav a[aria-current="page"]::after { scale: 1 1; }
.nav-cta { display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-right: -0.75rem; }

@media (min-width: 64rem) { .nav-cta { display: flex; } }
@media (min-width: 75rem) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile-Menü (Popover API) */
.mobile-menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border: 0; background: var(--platin); color: var(--graphit);
  display: none; flex-direction: column;
  opacity: 0; translate: 0 -1rem;
  transition: opacity 0.3s, translate 0.4s var(--ease), display 0.4s allow-discrete, overlay 0.4s allow-discrete;
}
.mobile-menu:popover-open { display: flex; opacity: 1; translate: 0 0; }
@starting-style { .mobile-menu:popover-open { opacity: 0; translate: 0 -1rem; } }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { width: clamp(9.5rem, 30vw, 13rem); }
.mobile-menu__top .icon-btn { margin-right: -0.75rem; }
.mobile-menu nav { flex: 1; display: flex; align-items: center; }
.mobile-menu__list { list-style: none; padding: 0; width: 100%; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1rem; padding-block: 0.6rem;
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; line-height: 1; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__list span { font-size: var(--fs-small); font-weight: 700; color: var(--graphit-60); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--header-h) var(--gutter) 0;
  min-height: clamp(34rem, 100svh, 62rem);
  display: grid;
}
.hero__media { grid-area: 1 / 1; position: relative; overflow: hidden; background: var(--graphit); }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  filter: brightness(0.62);
}
.hero__content {
  grid-area: 1 / 1; align-self: end; z-index: 1;
  padding: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(5rem, 9vw, 5.5rem);
  color: var(--platin); max-width: 76rem;
}
.hero h1 { font-size: clamp(3rem, min(9.5vw, 13svh), 8.5rem); margin-bottom: 1.5rem; }
.hero__lead { font-size: var(--fs-body-l); line-height: 1.35; max-width: 38rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__scroll {
  position: absolute; z-index: 1;
  right: calc(var(--gutter) + clamp(1rem, 4vw, 3rem)); bottom: clamp(1.25rem, 4vw, 3rem);
  width: 3rem; height: 3rem; display: grid; place-items: center;
  color: var(--platin); border: 1px solid currentColor; border-radius: 50%;
}
.hero__scroll .icon { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 5px; } }

@supports (animation-timeline: scroll()) {
  .hero__media img {
    animation: hero-drift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-drift { to { scale: 1.12; translate: 0 4%; } }
}

/* ---------- Split (Mission) ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__text .h2 { margin-bottom: 1.75rem; }
.split__text p + p { margin-top: 1rem; }
.split__text .body-l { color: var(--fg); }
.split__text p:not(.body-l):not(.eyebrow) { color: var(--muted); }
.split__text .btn { margin-top: 2rem; }
.split__media { aspect-ratio: 4 / 3; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); }
  .split__media { aspect-ratio: 4 / 3.4; }
}

/* ---------- Quote ---------- */
.quote-section { background: var(--graphit); color: var(--leinen); }
.quote { max-width: 70rem; }
.quote blockquote p {
  font-size: clamp(1.75rem, 4.4vw, 3.5rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em;
  text-indent: -0.4em;
}
.quote blockquote :is(b, strong) { color: var(--lehm); }
.quote figcaption { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1rem; border-left: 3px solid var(--koralle); }
.quote__name { font-weight: 700; font-size: 1.25rem; }
.quote__role { font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Werte ---------- */
.values__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 24rem);
  gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.values__grid::-webkit-scrollbar { display: none; }
.value-card {
  position: relative; scroll-snap-align: start;
  aspect-ratio: 3 / 4.2; overflow: hidden; background: var(--graphit);
  color: var(--platin);
}
.value-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.7); transition: scale 1.2s var(--ease), filter 0.6s;
}
.value-card__toggle {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0.25rem 1rem;
  padding: 1.25rem; text-align: left;
}
.value-card__no { grid-column: 1; font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; }
.value-card__title { grid-column: 1; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.value-card__toggle .icon {
  grid-column: 2; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; padding: 0.6rem;
  border: 1px solid currentColor; border-radius: 50%; transition: rotate 0.4s var(--ease), background-color 0.3s;
}
.value-card__body {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-start;
  padding: 1.25rem; padding-top: 1.5rem;
  background: var(--koralle); color: var(--graphit);
  font-size: var(--fs-body-l); line-height: 1.3;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s var(--ease);
}
.value-card.is-open .value-card__body { clip-path: inset(0 0 0 0); }
.value-card.is-open .value-card__toggle { color: var(--graphit); }
.value-card.is-open .value-card__toggle .icon { rotate: 45deg; }
@media (hover: hover) and (min-width: 64rem) {
  .value-card:hover img { scale: 1.05; }
  .value-card:hover .value-card__body { clip-path: inset(0 0 0 0); }
  .value-card:hover .value-card__toggle { color: var(--graphit); }
  .value-card:hover .value-card__toggle .icon { rotate: 45deg; }
}
@media (max-width: 55.99rem) {
  .js .values__grid > .reveal { opacity: 1; translate: none; }
}
@media (min-width: 56rem) {
  .values__grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); align-items: start; overflow: visible; margin: 0; padding: 0; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
  .value-card:nth-child(2) { margin-top: clamp(2rem, 5vw, 4rem); }
  .values { padding-bottom: calc(var(--section) + 4rem); }
}

/* ---------- Zahlen ---------- */
.stats { background: var(--leinen); }
.stats__title { max-width: 48rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.stats__layout { display: grid; gap: 2.5rem; }
.stats__media { aspect-ratio: 4 / 3; }
.stats__list { display: grid; }
.stat {
  display: grid; gap: 0.5rem 1.5rem; align-items: end;
  padding-block: 1.5rem; border-bottom: 1px solid var(--graphit-20);
}
.stat:first-child { padding-top: 0; }
.stat__num {
  font-size: clamp(4.25rem, 14vw, 9rem); font-weight: 700; line-height: 0.85; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--graphit);
}
.stat__num small { font-size: 0.35em; font-weight: 300; letter-spacing: 0; }
.stat dd { max-width: 26rem; color: var(--graphit); }
@media (min-width: 40rem) {
  .stat { grid-template-columns: auto 1fr; }
  .stat dd { padding-bottom: 0.4rem; }
}
@media (min-width: 64rem) {
  .stats__layout { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .stats__media { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 3 / 4; }
  .stat { margin-left: calc(var(--i, 0) * 4%); }
}

/* ---------- Geschichte / Karussell ---------- */
.story__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.story__head > div:first-child { max-width: 46rem; }
.story__head .h2 { margin-bottom: 1.25rem; }
.story__head .body-l { color: var(--muted); }
.carousel-nav { display: none; gap: 0.5rem; }
.carousel-nav.is-active { display: flex; }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(0.75rem, 1.5vw, 1.25rem);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)) var(--gutter);
  scroll-padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)) var(--gutter);
  scrollbar-width: none;
  list-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: none; scroll-snap-align: start; }
.carousel__track img, .values__grid img { -webkit-user-drag: none; user-select: none; }
@media (hover: hover) and (pointer: fine) { .carousel__track { cursor: grab; } }
.is-dragging { scroll-snap-type: none !important; cursor: grabbing !important; user-select: none; }

.tl-card { width: min(78vw, 21rem); }
.tl-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--leinen); margin-bottom: 1.25rem; }
.tl-card__year { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.tl-card p:not(.tl-card__year) { color: var(--muted); max-width: 19rem; }
.tl-card--cta {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  aspect-ratio: 4 / 5; height: fit-content; padding: 1.5rem; background: var(--koralle); color: var(--graphit);
}
.tl-card--cta .tl-card__big { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.05; color: var(--graphit) !important; }

.story.is-pinned { padding-block: 0; }
.story.is-pinned .story__pin {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
}
.story.is-pinned .carousel__track { scroll-snap-type: none; }
.story.is-pinned .tl-card img { height: var(--tl-img, auto); }
.story.is-pinned .tl-card--cta { aspect-ratio: auto; height: auto; }
@media (max-width: 47.99rem) { .story.is-pinned .carousel-nav { display: none; } }
@media (max-width: 63.99rem) { .story.is-pinned .story__pin { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); } }
.story.is-pinned .story__head { margin-bottom: clamp(1.5rem, 4svh, 3.5rem); }

.progress { height: 2px; background: var(--graphit-20); margin-top: 2rem; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--graphit); transform-origin: left; scale: 0.1 1; transition: scale 0.2s linear; }

/* ---------- Berufsfelder ---------- */
.fields__grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.field-card a {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.25rem 1rem; align-items: start;
  padding-block: 1rem; text-decoration: none; border-bottom: 1px solid var(--line);
}
.field-card figure { grid-row: 1 / span 3; aspect-ratio: 1; }
.field-card img { transition: scale 0.9s var(--ease); }
.field-card h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.1; }
.field-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.35; }
.field-card__meta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); font-weight: 700; margin-top: 0.25rem; }
.field-card__meta .icon { transition: translate 0.3s var(--ease); }
@media (hover: hover) {
  .field-card a:hover img { scale: 1.06; }
  .field-card a:hover .field-card__meta .icon { translate: 4px 0; }
}
@media (min-width: 48rem) {
  .fields__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem clamp(1rem, 2vw, 1.5rem); border: 0; }
  .field-card a { grid-template-columns: 1fr; padding: 0; border: 0; gap: 0.5rem; }
  .field-card figure { grid-row: auto; aspect-ratio: 4 / 3; margin-bottom: 0.75rem; }
  .field-card h3 { font-size: var(--fs-h3); }
  .field-card p { font-size: var(--fs-body); max-width: 26rem; }
}
@media (min-width: 72rem) { .fields__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Vorteile ---------- */
.benefits { background: var(--graphit); color: var(--leinen); }
.benefits .section-head .body-l { color: var(--leinen); }
.benefits__grid { display: grid; gap: 0; }
.benefit { padding-block: 1.5rem; border-top: 1px solid var(--leinen-60); }
.benefit h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.15; margin-bottom: 0.5rem; }
.benefit p { color: color-mix(in srgb, var(--leinen) 85%, var(--graphit)); max-width: 30rem; }
.benefit--feature { background: var(--lehm); color: var(--graphit); padding: 1.75rem; border: 0; margin-bottom: 1rem; }
.benefit--feature h3 { font-size: var(--fs-h3); font-weight: 300; }
.benefit--feature p { color: var(--graphit); }
.benefit__kicker { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
@media (min-width: 48rem) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .benefit--feature { grid-column: 1 / -1; margin-bottom: 1.5rem; }
}
@media (min-width: 72rem) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .benefit--feature { grid-column: span 1; grid-row: span 3; margin: 0 0 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
  .benefit--feature h3 { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: 1rem; }
}

/* ---------- Standorte ---------- */
.places__layout { display: grid; gap: 2rem; }
.places__map { background: var(--leinen); padding: clamp(1rem, 3vw, 2rem); }
.map { width: 100%; max-height: 68svh; margin-inline: auto; overflow: visible; }
.map__lines line { stroke: var(--graphit-60); stroke-width: 1; stroke-dasharray: 3 4; }
.map__region { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--graphit-60); }
.map-dot { cursor: pointer; outline: none; }
.map-dot circle.hit { fill: transparent; }
.map-dot circle.dot { fill: var(--graphit); transition: r 0.3s var(--ease), fill 0.2s; }
.map-dot circle.ring { fill: none; stroke: var(--koralle); stroke-width: 2; opacity: 0; transition: opacity 0.2s, r 0.3s var(--ease); }
.map-dot text { font-size: 13px; fill: var(--graphit); paint-order: stroke; stroke: var(--leinen); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.map-dot.is-muted { opacity: 0.35; }
.map-dot.is-planned circle.dot { fill: var(--leinen); stroke: var(--graphit); stroke-width: 1.5; stroke-dasharray: 2 2; }
.map-dot.is-planned text { fill: var(--graphit-60); }
.map-dot.is-active circle.dot, .map-dot:hover circle.dot, .map-dot:focus-visible circle.dot { fill: var(--koralle); r: 8; }
.map-dot.is-active circle.ring, .map-dot:focus-visible circle.ring { opacity: 1; r: 14; }
.map-dot.is-active text { font-weight: 700; }

.tabs { display: inline-flex; padding: 0.25rem; border: 1px solid var(--line); border-radius: var(--radius-pill); margin-bottom: 1.25rem; }
.tab { min-height: 2.75rem; padding: 0 1.25rem; border-radius: var(--radius-pill); transition: background-color 0.25s, color 0.25s; }
.tab[aria-selected="true"] { background: var(--graphit); color: var(--platin); }

.places__list { border-top: 1px solid var(--line); }
.place { border-bottom: 1px solid var(--line); }
.place__head {
  width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem;
  padding-block: 1rem; text-align: left;
}
.place__name { font-size: 1.375rem; font-weight: 700; line-height: 1.1; }
.place__name small { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.15rem; }
.place__count { font-size: var(--fs-small); white-space: nowrap; }
.place__count b { font-size: 1rem; }
.place__head .icon { transition: rotate 0.3s var(--ease); }
.place__head[aria-expanded="true"] .icon { rotate: 45deg; }
.place__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.place__body > div { overflow: hidden; }
.place__head[aria-expanded="true"] + .place__body { grid-template-rows: 1fr; }
.place__body p { color: var(--muted); max-width: 34rem; }
.place__body .btn { margin-block: 1rem 1.25rem; }
@media (min-width: 64rem) {
  .places__layout { grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .places__map { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Bewerbungsprozess ---------- */
.hiring { background: var(--leinen); }
.steps { display: grid; gap: 2rem; counter-reset: step; }
.step { padding-top: 1.25rem; border-top: 2px solid var(--graphit); }
.step__no { display: block; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 300; line-height: 1; margin-bottom: 1rem; }
.step h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--graphit); }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 2.5vw, 2.5rem); } }

.hiring__extra { display: grid; gap: 2.5rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.callout { background: var(--platin); padding: clamp(1.5rem, 4vw, 2.75rem); align-self: start; }
.callout .h3 { margin-bottom: 1rem; font-weight: 300; }
.callout p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.75rem; }
.faq .h3 { margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid var(--graphit-20); }
.faq details:first-of-type { border-top: 1px solid var(--graphit-20); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.1rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: rotate 0.3s var(--ease); }
.faq details[open] summary .icon { rotate: 45deg; }
.faq details p { padding-bottom: 1.25rem; max-width: 40rem; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (min-width: 64rem) { .hiring__extra { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); } }

/* ---------- Geschichten ---------- */
.journal__track .story-card { width: min(82vw, 22rem); }
.story-card button {
  display: flex; flex-direction: column; gap: 0.75rem; width: 100%; height: 100%; text-align: left;
  border: 1px solid var(--line); padding: 0.75rem 0.75rem 1rem; background: var(--platin);
  transition: border-color 0.3s;
}
.story-card figure { aspect-ratio: 4 / 3; }
.story-card img { transition: scale 0.9s var(--ease); }
.story-card__tags { display: flex; gap: 0.75rem; font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 0.2em; padding-inline: 0.25rem; }
.story-card__title { font-size: 1.3125rem; font-weight: 700; line-height: 1.15; padding-inline: 0.25rem; flex: 1; }
.story-card__more {
  align-self: flex-end; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid currentColor; border-radius: 50%; transition: background-color 0.25s, color 0.25s;
}
@media (hover: hover) {
  .story-card button:hover { border-color: var(--graphit); }
  .story-card button:hover img { scale: 1.05; }
  .story-card button:hover .story-card__more { background: var(--graphit); color: var(--platin); }
}

/* ---------- Mitmachen ---------- */
.join { background: var(--koralle); color: var(--graphit); }
.join__title { margin-bottom: clamp(2rem, 5vw, 3rem); }
.join__title .light, .join__title b { display: inline; }
.search {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.375rem 0.375rem 1.125rem;
  border: 1px solid var(--graphit); border-radius: var(--radius-pill); background: var(--platin);
}
.search input {
  flex: 1; min-width: 0; height: 2.75rem; border: 0; background: transparent; outline: none;
  font-size: 1.0625rem;
}
.search input::placeholder { color: var(--graphit-60); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.search:focus-within { outline: 3px solid var(--graphit); outline-offset: 2px; }
.search--xl { max-width: 48rem; margin-bottom: 1.5rem; }
.search--xl .btn span { display: none; }
.search--xl .btn { padding-inline: 1rem; }
@media (min-width: 40rem) {
  .search--xl { padding-left: 1.5rem; }
  .search--xl input { height: 3.5rem; font-size: 1.25rem; }
  .search--xl .btn span { display: inline; }
  .search--xl .btn { padding-inline: 1.5rem 1.25rem; min-height: 3.5rem; }
}
.join .chip { border-color: var(--graphit); }
.join__statement {
  margin-top: clamp(3rem, 8vw, 6rem); max-width: 60rem;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 300; line-height: 1.12;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--graphit); color: var(--leinen); padding-block: clamp(3.5rem, 8vw, 6rem) calc(2rem + env(safe-area-inset-bottom)); }
.site-footer__logo { width: min(100%, 22rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.site-footer__grid { display: grid; gap: 2.25rem; }
.site-footer h2 { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; color: var(--lehm); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { line-height: 1.6; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid var(--leinen-60); font-size: var(--fs-small);
}
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  position: fixed; z-index: 40;
  left: var(--gutter); right: var(--gutter); bottom: calc(0.75rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem; padding: 0 1.25rem 0 1.5rem;
  background: var(--graphit); color: var(--platin); border-radius: var(--radius-pill);
  text-decoration: none;
  translate: 0 calc(100% + 2rem); transition: translate 0.45s var(--ease);
}
.mobile-cta.is-visible { translate: 0 0; }
@media (min-width: 64rem) { .mobile-cta { display: none; } }

/* ---------- Dialog / Sheet ---------- */
.sheet {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; height: auto;
  padding: 0; border: 0; background: var(--platin); color: var(--graphit);
  overscroll-behavior: contain;
  opacity: 0; translate: 0 2rem;
  transition: opacity 0.3s, translate 0.45s var(--ease), display 0.45s allow-discrete, overlay 0.45s allow-discrete;
}
.sheet[open] { opacity: 1; translate: 0 0; }
@starting-style { .sheet[open] { opacity: 0; translate: 0 2rem; } }
.sheet::backdrop { background: rgb(49 54 56 / 0); transition: background-color 0.35s, display 0.45s allow-discrete, overlay 0.45s allow-discrete; }
.sheet[open]::backdrop { background: rgb(49 54 56 / 0.55); }
@starting-style { .sheet[open]::backdrop { background: rgb(49 54 56 / 0); } }
.sheet__inner { padding: clamp(1.5rem, 4vw, 3rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); position: relative; }
.sheet__close { position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 1rem; background: var(--platin); border: 1px solid var(--line); z-index: 2; }
.sheet .h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
.sheet p + p { margin-top: 1rem; }
.sheet__source { margin-top: 2rem !important; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 48rem) {
  .sheet { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(46rem, 92vw); translate: 2rem 0; }
  .sheet[open] { translate: 0 0; }
  @starting-style { .sheet[open] { translate: 2rem 0; } }
}
html:has(dialog[open]), html:has(.mobile-menu:popover-open) { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; translate: 0 1.75rem;
  transition: opacity var(--dur) var(--ease), translate calc(var(--dur) * 1.4) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ---------- Seitenübergänge ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.site-header { view-transition-name: header; }
