/* ==========================================================================
   COMBO MG GmbH — combo-mg.de
   Design: dusk navy + warm LED amber; Bricolage Grotesque (Display) +
           Hanken Grotesk (Text) + IBM Plex Mono (Labels)
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-konform) ----------
   Display: Bricolage Grotesque (variabel opsz+wght) — Überschriften
   Text:    Hanken Grotesk (variabel wght) — Fließtext, UI
   Mono:    IBM Plex Mono — technische Labels/Meta */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --night: #0b1723;
  --night-2: #102337;
  --night-3: #16304a;
  --steel: #8ba1b4;
  --amber: #ffae33;
  --amber-deep: #d98a0f;
  --amber-glow: rgba(255, 174, 51, 0.16);
  --paper: #f6f6f3;
  --white: #ffffff;
  --ink: #15222d;
  --muted: #57676f;
  --line: #e5e7e3;
  --line-dark: rgba(255, 255, 255, 0.13);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 50px -18px rgba(11, 23, 35, 0.22);
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--amber); color: var(--night);
  padding: 0.7rem 1.2rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ----------
   Große Überschriften: Bricolage Grotesque (Display, mit Charakter)
   Kleinere Titel (h3/h4): Hanken Grotesk fett — ruhig und gut lesbar */
h1, h2 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3, h4 { font-family: var(--font-sans); line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; }
p  { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--amber); flex: none;
}
.on-dark .eyebrow { color: var(--amber); }

.lead { font-size: 1.2rem; color: var(--muted); }
.on-dark .lead { color: var(--steel); }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head p { margin-top: 1rem; }
.section-head--zentriert { margin-inline: auto; text-align: center; }
.section-head--zentriert p { margin-inline: auto; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--white); }
/* Startseite: Leistungen (weiß) kompakter an das Partner-Band (papier) anschließen */
#leistungen { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
#partner { padding: clamp(3.2rem, 6.5vw, 5rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: var(--radius);
  font-weight: 620; font-size: 1rem; line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--amber { background: var(--amber); color: var(--night); box-shadow: 0 10px 30px -10px rgba(255, 174, 51, 0.55); }
.btn--amber:hover { background: #ffbd57; }
.btn--night { background: var(--night); color: var(--white); }
.btn--night:hover { background: var(--night-3); }
.btn--ghost { border-color: var(--line-dark); color: var(--white); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--ghost-ink { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost-ink:hover { border-color: var(--night); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: 2rem; width: min(1320px, 94vw); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.brand-logo { height: 50px; width: auto; }
.footer .brand-logo { height: 58px; }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 540; font-size: 0.99rem;
  color: rgba(255, 255, 255, 0.86); padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }

.header-contact { display: flex; align-items: center; gap: 1.1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.9); transition: color 0.35s;
}
.header-phone svg { width: 16px; height: 16px; color: var(--amber); }
.header-phone:hover { color: var(--amber); }
.header .btn { padding: 0.72rem 1.25rem; font-size: 0.94rem; }

.header--solid { background: rgba(11, 23, 35, 0.92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -14px rgba(11, 23, 35, 0.5); }

/* Header on light pages */
.page-light .header { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.page-light .nav a { color: var(--ink); }
.page-light .nav a:hover, .page-light .nav a[aria-current="page"] { color: var(--amber-deep); border-bottom-color: var(--amber); }
.page-light .header-phone { color: var(--ink); }
.page-light .header-phone svg { color: var(--amber-deep); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle { color: var(--white); }
.page-light .nav-toggle { color: var(--night); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Scroll story ---------- */
.story { position: relative; height: 560vh; background: var(--night); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* Im GSAP-Modus übernimmt ScrollTrigger-Pinning statt CSS-Sticky
   (Sticky funktioniert nicht innerhalb des ScrollSmoother-Containers) */
.story--gsap .story-sticky { position: relative; top: auto; }
.story-canvas, .story-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-video { display: none; }
.story-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(75deg, rgba(11, 23, 35, 0.78) 0%, rgba(11, 23, 35, 0.38) 46%, rgba(11, 23, 35, 0.12) 100%);
}
.story-shade::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 22vh;
  background: linear-gradient(to bottom, transparent, rgba(11, 23, 35, 0.65));
}

.story-chapter {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.story-chapter.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.story-chapter .container { width: min(1320px, 94vw); }
.story-copy { max-width: 640px; color: var(--white); }

.story-copy h1 .glow, .story-copy h2 .glow { color: var(--amber); text-shadow: 0 0 34px rgba(255, 174, 51, 0.45); }
.story-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.story-copy p { margin-top: 1.3rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.85); }

.phase-tag {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.2rem;
}
.phase-tag .phase-id {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4em; padding: 0.34em 0.5em;
  border: 1px solid var(--amber); border-radius: 4px;
  letter-spacing: 0.08em;
}

.story-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.story-quickcontact {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem;
  font-family: var(--font-mono); font-size: 0.92rem;
}
.story-quickcontact a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: rgba(255, 255, 255, 0.88); text-decoration: none;
}
.story-quickcontact a:hover { color: var(--amber); }
.story-quickcontact svg { width: 17px; height: 17px; color: var(--amber); }

/* Progress rail */
.story-rail {
  position: absolute; right: 3vw; top: 50%; transform: translateY(-50%);
  z-index: 4; display: flex; flex-direction: column; gap: 1.5rem;
}
.story-rail button {
  position: relative; width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55); background: transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.story-rail button.is-active { border-color: var(--amber); background: var(--amber); transform: scale(1.25); box-shadow: 0 0 16px rgba(255, 174, 51, 0.6); }
.story-rail .rail-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75); white-space: nowrap;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.story-rail button.is-active .rail-label, .story-rail button:hover .rail-label { opacity: 1; }

.story-scrollhint {
  position: absolute; bottom: 3.4vh; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  transition: opacity 0.4s;
}
.story-scrollhint::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: hint-drop 1.8s var(--ease) infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.story.is-done .story-scrollhint { opacity: 0; }

/* Static fallback (mobile / reduced motion) */
.story--static { height: auto; }
.story--static .story-sticky { position: relative; height: auto; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 3.5rem; }
.story--static .story-canvas, .story--static .story-rail, .story--static .story-scrollhint { display: none; }
.story--static .story-video { display: block; }
.story--static .story-chapter { position: relative; inset: auto; opacity: 1; visibility: visible; pointer-events: auto; }
.story--static .story-chapter[data-chapter]:not([data-chapter="0"]) { display: none; }
.story-static-chapters { display: none; }
.story--static + .story-static-chapters { display: block; background: var(--night); padding: 1rem 0 4rem; }
.static-chapter { border-top: 1px solid var(--line-dark); padding: 2.4rem 0; color: var(--white); }
.static-chapter p { color: var(--steel); margin-top: 0.7rem; }

/* ---------- Quick contact strip ---------- */
.contact-strip { background: var(--night-2); color: var(--white); border-top: 1px solid var(--line-dark); }
.contact-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: 1.3rem 0;
}
.contact-strip-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.contact-strip-links { display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: center; }
.contact-strip-links a { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--white); text-decoration: none; font-weight: 560; }
.contact-strip-links a:hover { color: var(--amber); }
.contact-strip-links svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.value-card svg { width: 30px; height: 30px; color: var(--amber-deep); margin-bottom: 1.1rem; }
.value-card h3 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 3 / 2; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1.7rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service-body h3 { font-size: 1.22rem; }
.service-phase { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; color: var(--amber-deep); }
.service-body p { font-size: 0.97rem; color: var(--muted); flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--night); margin-top: 0.4rem; }
.service-more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-more svg { transform: translateX(4px); }
.service-card:hover .service-more { color: var(--amber-deep); }

/* ---------- Service detail rows (leistungen.html) ---------- */
.service-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.6rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.service-row:first-of-type { border-top: 0; }
.service-row:nth-child(even) .service-row-media { order: -1; }
.service-row-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.9rem; }
.check-list { margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1rem; }
.check-list svg { width: 19px; height: 19px; flex: none; margin-top: 0.2rem; color: var(--amber-deep); }

/* ---------- Project grid ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

/* Referenz-Karte (verlinkt auf die Projektseite) */
.project-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(11, 23, 35, 0.5); border-color: #d7dcd6; }
.project-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-card-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.project-card-cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-deep); }
.project-card-title { font-size: 1.12rem; line-height: 1.2; }
.project-card-more {
  margin-top: auto; padding-top: 0.6rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 640; color: var(--ink);
}
.project-card-more svg { width: 17px; height: 17px; color: var(--amber-deep); transition: transform 0.3s var(--ease); }
.project-card:hover .project-card-more svg { transform: translateX(4px); }

/* ---------- Projektübersicht (projekte.html) ----------
   Eigenständiger "Projektarchiv"-Hero: zentriert (alle anderen Heros sind
   linksbündig), entsättigtes Foto hinter feinem Blaupausen-Raster,
   unten ein Kennzahlenband mit Haarlinien. */
.prj-hero {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--white);
  padding: calc(var(--header-h) + clamp(3.6rem, 8vw, 6rem)) 0 0;
  text-align: center;
}
.prj-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.14; filter: saturate(0.3) contrast(1.08);
}
.prj-hero-raster {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 161, 180, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 161, 180, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 100%);
}
.prj-hero::after {
  content: ""; position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: 760px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 174, 51, 0.13), transparent);
  pointer-events: none;
}
.prj-hero .container { position: relative; z-index: 2; max-width: 860px; }
.prj-kicker {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber);
}
.prj-kicker::before, .prj-kicker::after {
  content: ""; width: 34px; height: 1px; background: var(--amber-deep); opacity: 0.7;
}
.prj-hero h1 { margin-top: 1.1rem; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.prj-punkt { color: var(--amber); }
.prj-lead {
  margin: 1.3rem auto 0; max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.65; color: var(--steel);
}
.prj-stats { margin-top: clamp(2.6rem, 6vw, 4.2rem); border-top: 1px solid var(--line-dark); position: relative; z-index: 2; }
.prj-stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.prj-stat {
  padding: clamp(1.2rem, 2.5vw, 1.7rem) 1rem; text-align: center;
  display: grid; gap: 0.25rem;
}
.prj-stat + .prj-stat { border-left: 1px solid var(--line-dark); }
.prj-stat strong { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--amber); }
.prj-stat span { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }

/* Filterleiste über dem Raster */
.prj-werkzeuge {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.9rem 1.4rem; margin-bottom: 1.8rem;
}
.prj-werkzeuge[hidden] { display: none; }
.prj-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prj-chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 0.45rem 1.05rem;
  font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.prj-chip:hover { border-color: var(--amber-deep); color: var(--amber-deep); }
.prj-chip.aktiv { background: var(--night); color: var(--white); border-color: var(--night); }
.prj-anzahl-text { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Projekt-Detailseite ---------- */
.projekt-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.projekt-beschreibung p { font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.projekt-beschreibung p + p { margin-top: 1.1rem; }
.projekt-seite { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; position: sticky; top: calc(var(--header-h) + 1.2rem); }
.projekt-seite-titel { font-size: 1.05rem; }
.projekt-seite .check-list { margin-top: 1rem; }
.projekt-seite .check-list li { font-size: 0.96rem; }

.projekt-galerie { margin-top: clamp(2.2rem, 5vw, 3.6rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.projekt-galerie[hidden] { display: none; }
.projekt-galerie-item {
  padding: 0; border: 0; cursor: pointer; background: var(--night-2);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: block;
}
.projekt-galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; }
.projekt-galerie-item:hover img { transform: scale(1.05); opacity: 0.92; }
.projekt-galerie-item:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Lightbox ---------- */
body.lightbox-offen { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 14, 22, 0.92); padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-bild { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.lightbox-zu, .lightbox-nav {
  position: absolute; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; border-radius: 50%; cursor: pointer; transition: background 0.25s;
}
.lightbox-zu:hover, .lightbox-nav:hover { background: var(--amber); color: var(--night); border-color: var(--amber); }
.lightbox-zu { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 46px; height: 46px; }
.lightbox-zu svg { width: 22px; height: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); }

/* ---------- Über uns: 3D-Bühne ----------
   Foto-Karte mit leichter 3D-Neigung (richtet sich bei Hover auf) vor einer
   gedreht liegenden, getönten Fläche; Kennzahlen als schwebende Badges. */
.ueber { overflow-x: clip; } /* Einschub-Animationen dürfen keinen H-Scroll erzeugen */
.ueber-buehne {
  position: relative;
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(2.4rem, 6vw, 5rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 2rem;
}
.ueber-flaeche {
  position: absolute; z-index: 0;
  top: 0; bottom: 4%; left: 30%; right: -4%;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 174, 51, 0.10), transparent 55%),
    linear-gradient(135deg, #eaf0f4, #e2eaf1);
  border-radius: 28px;
  transform: rotate(-2.5deg);
}
.ueber-bild-wrap { position: relative; z-index: 1; perspective: 1300px; }
.ueber-bild {
  border-radius: 18px; overflow: hidden;
  transform: rotateY(-8deg) rotateX(1.5deg);
  transform-style: preserve-3d;
  box-shadow: 24px 34px 60px -30px rgba(11, 23, 35, 0.5);
  transition: transform 0.65s var(--ease), box-shadow 0.65s var(--ease);
}
.ueber-bild-wrap:hover .ueber-bild { transform: rotateY(0deg) rotateX(0deg); box-shadow: 0 26px 50px -26px rgba(11, 23, 35, 0.42); }
.ueber-bild img { display: block; width: 100%; height: auto; }
.ueber-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1.05rem; border-radius: 14px;
  box-shadow: 0 18px 36px -18px rgba(11, 23, 35, 0.5);
}
.ueber-badge strong { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; }
.ueber-badge span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35; }
.ueber-badge--jahr { top: -1.1rem; left: -0.9rem; background: var(--night); }
.ueber-badge--jahr strong { color: var(--amber); }
.ueber-badge--jahr span { color: var(--steel); }
.ueber-badge--projekte { bottom: -1.3rem; right: -0.7rem; background: var(--white); border: 1px solid var(--line); }
.ueber-badge--projekte strong { color: var(--amber-deep); }
.ueber-badge--projekte span { color: var(--muted); }
.ueber-text { position: relative; z-index: 1; }
/* Gestaffelter Auftritt: erst schiebt das Bild ein, kurz darauf der Text */
.ueber-bild-wrap.reveal { transition-duration: 0.9s; }
.ueber-text.reveal { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .ueber-bild { transform: none; }
}

/* ---------- Partner logos ---------- */
/* Partner-Laufband: unendliche Logo-Schleife von rechts nach links,
   volle Breite mit weichen Kanten, pausiert bei Hover. */
.partner-marquee {
  position: relative; overflow: hidden;
  margin-top: clamp(2.4rem, 4.5vw, 3.4rem);
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partner-track {
  display: flex; width: max-content;
  animation: partner-lauf 42s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-group {
  display: flex; align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding-right: clamp(1rem, 2vw, 1.6rem);
}
.partner-logo {
  flex: 0 0 auto;
  width: clamp(158px, 16vw, 208px); height: clamp(74px, 8vw, 96px);
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: #9aa39b;
  box-shadow: 0 12px 30px -22px rgba(11, 23, 35, 0.55);
  transition: transform 0.35s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.35s;
}
.partner-logo:hover {
  color: var(--amber-deep); border-color: var(--amber);
  transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(11, 23, 35, 0.45);
}
@keyframes partner-lauf {
  to { transform: translateX(calc(-100% / 3)); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .partner-group:not(:first-child) { display: none; }
  .partner-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .partner-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Career ---------- */
.career-panel {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.job-card {
  background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 1.9rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.job-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.job-card h3 { color: var(--white); margin-bottom: 0.4rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 1.1rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--steel); margin-bottom: 0.9rem; }
.job-card p { color: var(--steel); font-size: 0.97rem; }
.job-card .btn { margin-top: 1.3rem; }

/* Job detail page */
.job-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

/* ---------- Downloads ---------- */
.download-list { display: grid; gap: 0.9rem; max-width: 780px; }
.download-item {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.download-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.download-item.is-pending { opacity: 0.65; pointer-events: none; }
.download-icon {
  flex: none; width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow); color: var(--amber-deep);
}
/* Textspalte darf schrumpfen; lange Wortzusammensetzungen umbrechen */
.download-item > span + span { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.download-icon svg { width: 22px; height: 22px; }
.download-name { font-weight: 620; }
.download-info { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.15rem; }
.download-item > svg { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field label .req { color: var(--amber-deep); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: 1rem; width: 100%; min-width: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
/* Formulare als Grid-Kinder dürfen schrumpfen (verhindert 2px-Überlauf mobil) */
.job-detail > *, .contact-layout > * { min-width: 0; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow);
}
.form-field textarea { min-height: 150px; resize: vertical; }
/* Select mit eigenem Pfeil und genug Abstand zum Rahmen */
.form-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2357676f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 14px;
}
.form-field select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d98a0f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }

/* Moderne Einwilligungs-Checkbox */
.form-consent { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); grid-column: 1 / -1; }
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 22px; height: 22px; margin: 0.05rem 0 0; position: relative; cursor: pointer;
  border: 1.5px solid #c3c8c1; border-radius: 6px; background: var(--white);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.form-consent input[type="checkbox"]:hover { border-color: var(--amber); }
.form-consent input[type="checkbox"]:checked { background: var(--amber); border-color: var(--amber); }
.form-consent input[type="checkbox"]::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid var(--night); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); transition: transform 0.16s var(--ease);
}
.form-consent input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.form-consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--amber-glow); }
.form-consent a { color: var(--ink); text-underline-offset: 2px; }
.form-note { font-size: 0.82rem; color: var(--muted); grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-file { border: 1.5px dashed #c9cdc6; border-radius: var(--radius); padding: 1rem; display: flex; align-items: center; gap: 0.8rem; cursor: pointer; transition: border-color 0.25s; }
.form-file:hover { border-color: var(--amber); }
.form-file svg { width: 22px; height: 22px; color: var(--amber-deep); flex: none; }
.form-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-file span { font-size: 0.92rem; color: var(--muted); }

.form-alert { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #fdecec; color: #8c2626; border: 1px solid #f3c8c8; }

/* ---------- Contact section ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info-list { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow); color: var(--amber-deep);
}
.contact-info-item .ci-icon svg { width: 22px; height: 22px; }
.contact-info-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: 0.98rem; text-decoration: none; }
.contact-info-item a:hover { color: var(--amber-deep); }
.hours-table { font-family: var(--font-mono); font-size: 0.88rem; color: var(--muted); border-collapse: collapse; }
.hours-table td { padding: 0.15rem 1.4rem 0.15rem 0; }

.route-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-weight: 600; color: var(--ink) !important; }
.route-link svg { width: 16px; height: 16px; color: var(--amber-deep); }

/* ---------- Premium-Kontaktpanel (Startseite) ---------- */
.kontakt-panel {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
}
.kontakt-info {
  position: relative; display: flex; align-items: flex-end;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white); min-height: 100%; overflow: hidden;
}
.kontakt-info-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.kontakt-info::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 23, 35, 0.5) 0%, rgba(11, 23, 35, 0.82) 55%, rgba(11, 23, 35, 0.95) 100%);
}
.kontakt-info-inhalt { position: relative; z-index: 2; width: 100%; }
.kontakt-info-titel { font-size: 1.25rem; color: var(--white); }
.kontakt-info-text { color: var(--steel); font-size: 0.96rem; margin-top: 0.5rem; }
.kontakt-liste { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.kontakt-liste li { display: flex; gap: 0.9rem; align-items: flex-start; }
.kontakt-liste-icon {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); color: var(--amber);
  backdrop-filter: blur(4px);
}
.kontakt-liste-icon svg { width: 19px; height: 19px; }
.kontakt-liste-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.kontakt-liste-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.kontakt-liste-text a, .kontakt-liste-wert { color: var(--white); text-decoration: none; font-weight: 560; font-size: 1.02rem; line-height: 1.4; }
.kontakt-liste-text a:hover { color: var(--amber); }
.kontakt-liste-wert { font-weight: 480; font-size: 0.96rem; }
.kontakt-route {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem;
  color: var(--amber); font-weight: 600; font-size: 0.9rem; text-decoration: none;
}
.kontakt-route svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.kontakt-route:hover svg { transform: translate(2px, -2px); }
.kontakt-form-wrap { padding: clamp(1.6rem, 3.5vw, 2.8rem); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); max-width: 700px; margin-inline: auto; }
.cta-banner p { color: var(--steel); margin: 1.1rem auto 0; }
.cta-banner .story-cta { justify-content: center; }
.cta-glow {
  position: absolute; left: 50%; top: -40%; transform: translateX(-50%);
  width: 900px; height: 500px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 174, 51, 0.14), transparent);
  pointer-events: none;
}
.cta-watermark {
  position: absolute; right: -3%; top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: min(380px, 38vw); opacity: 0.1;
  pointer-events: none; user-select: none;
}

/* ---------- Footer (kompakt) ---------- */
.footer { background: var(--night); color: var(--steel); padding: clamp(2.4rem, 4vw, 3.2rem) 0 1.3rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 1.4rem 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line-dark); }
.footer h4 { color: var(--white); font-size: 0.82rem; margin-bottom: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer p { font-size: 0.88rem; max-width: 34ch; margin-top: 0.3rem; }
.footer ul { display: grid; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--steel); text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--amber); }
.footer .brand { margin-bottom: 0.6rem; }
.footer .brand-logo { height: 44px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 1.2rem; font-size: 0.82rem; }
.footer-legal nav { display: flex; gap: 1.4rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero p { margin-top: 1.2rem; color: var(--steel); font-size: 1.15rem; }
.page-hero-glow { position: absolute; right: -10%; top: -30%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 174, 51, 0.12), transparent); pointer-events: none; z-index: 1; }

/* Hintergrundfoto im Seiten-Hero: Bild + dunkler Verlauf (links dunkler,
   damit die Überschrift lesbar bleibt) */
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero--foto::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 23, 35, 0.96) 0%, rgba(11, 23, 35, 0.86) 38%, rgba(11, 23, 35, 0.55) 72%, rgba(11, 23, 35, 0.4) 100%),
    linear-gradient(0deg, rgba(11, 23, 35, 0.6) 0%, transparent 45%);
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.45rem; margin: 2.6rem 0 0.9rem; }
.legal-content h3 { font-size: 1.12rem; margin: 1.8rem 0 0.6rem; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 0.8rem; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content a { color: var(--ink); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Danke page ---------- */
.thanks-hero { min-height: 72vh; display: flex; align-items: center; background: var(--night); color: var(--white); padding-top: var(--header-h); }
.thanks-hero .danke-logo {
  width: 100px; height: 100px; padding: 16px;
  background: var(--white); border-radius: 22px;
  box-shadow: 0 22px 60px -20px rgba(255, 174, 51, 0.5);
  margin-bottom: 1.8rem;
}
.thanks-hero .eyebrow { color: var(--amber); }
.thanks-hero p { color: var(--steel); margin-top: 1.2rem; }

/* ---------- Karriere: Vorteile ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit svg { width: 28px; height: 28px; color: var(--amber-deep); margin-bottom: 0.9rem; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.benefit p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Karriere: Stellen-Board (Akkordeon) ---------- */
.job-board { display: grid; gap: 1rem; }
.job-count { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1.4rem; }
.job-count strong { color: var(--amber-deep); }

/* Filterleiste */
.job-filter { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.9rem; margin-bottom: 1.6rem; }
.job-filter-feld { position: relative; }
.job-filter input, .job-filter select {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: 0.97rem; color: var(--ink); appearance: none;
}
.job-filter input { padding-left: 2.6rem; }
.job-filter select { padding-right: 2.4rem; cursor: pointer; }
.job-filter input:focus, .job-filter select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow); }
.job-filter-feld .filter-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.job-filter-feld.hat-select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* Stellen-Liste (Zeilen) */
.job-listing { display: grid; gap: 1.2rem; }
.job-row {
  display: grid; grid-template-columns: 1fr minmax(240px, 0.5fr); gap: 1.4rem 2.4rem;
  align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.job-row:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.job-row-title { font-size: clamp(1.2rem, 2.3vw, 1.5rem); font-stretch: 108%; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
.job-row-title a { color: var(--night); text-decoration: none; }
.job-row-title a:hover { color: var(--amber-deep); }
.job-row-teaser { color: var(--muted); font-size: 0.97rem; max-width: 62ch; }
.job-row-meta { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--amber-deep); }
.job-row-side { display: flex; flex-direction: column; justify-content: center; gap: 1rem; border-left: 1px solid var(--line); padding-left: clamp(1.2rem, 2.4vw, 2rem); }
.job-row-loc { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.92rem; color: var(--muted); }
.job-row-loc svg { width: 17px; height: 17px; color: var(--amber-deep); flex: none; margin-top: 0.15rem; }
.job-row-side .btn { width: 100%; }
.job-empty { border: 1.5px dashed #c9cdc6; border-radius: var(--radius); padding: 2.4rem 1.4rem; text-align: center; color: var(--muted); background: rgba(255,255,255,0.5); }

/* Stellendetail-Seite */
.stelle-back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--steel); text-decoration: none; margin-bottom: 1.4rem; }
.stelle-back svg { width: 16px; height: 16px; }
.stelle-back:hover { color: var(--amber); }
.stelle-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.stelle-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; padding: 0.36rem 0.8rem; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-dark); color: var(--steel); }
.stelle-badge svg { width: 14px; height: 14px; color: var(--amber); }

/* Stellendetail: Aufgaben / Profil / Wir bieten als klare, gestapelte Blöcke */
.stelle-blocks { display: grid; gap: 1.1rem; margin-top: 2rem; }
.stelle-block {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 2.6vw, 1.6rem);
}
.stelle-block-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.stelle-block-icon {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow); color: var(--amber-deep);
}
.stelle-block-icon svg { width: 21px; height: 21px; }
.stelle-block-head h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.stelle-block .check-list { margin-top: 0; gap: 0.7rem; }
.stelle-block .check-list li { font-size: 0.98rem; }

.jobx {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.jobx:hover { box-shadow: var(--shadow); }
.jobx.offen { border-color: var(--amber); box-shadow: var(--shadow); }

.jobx-head {
  display: flex; align-items: flex-start; gap: 1.2rem;
  width: 100%; text-align: left; background: none; border: 0;
  padding: clamp(1.2rem, 2.6vw, 1.8rem); cursor: pointer;
}
.jobx-head-main { flex: 1; min-width: 0; }
.jobx-title { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-stretch: 108%; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
.jobx-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jobx-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  padding: 0.32rem 0.7rem; border-radius: 20px;
  background: var(--paper); color: var(--muted); border: 1px solid var(--line);
}
.jobx-badge svg { width: 13px; height: 13px; color: var(--amber-deep); }
.jobx-teaser { margin-top: 0.9rem; color: var(--muted); font-size: 0.96rem; max-width: 70ch; }

.jobx-toggle {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.jobx-toggle svg { width: 20px; height: 20px; color: var(--night); transition: transform 0.35s var(--ease); }
.jobx:hover .jobx-toggle { border-color: var(--amber); }
.jobx.offen .jobx-toggle { background: var(--amber); border-color: var(--amber); }
.jobx.offen .jobx-toggle svg { transform: rotate(45deg); }

/* Aufklappen: grid-rows-Trick für sanfte Höhe */
.jobx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.jobx.offen .jobx-body { grid-template-rows: 1fr; }
.jobx-body-inner { overflow: hidden; }
.jobx-body-pad { padding: 0 clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.4rem, 2.6vw, 1.9rem); border-top: 1px solid var(--line); margin-top: 0.2rem; padding-top: 1.5rem; }
.jobx-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
.jobx-cols h4 {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 0.9rem;
}
.jobx-cols .check-list li { font-size: 0.94rem; }
.jobx-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.8rem; }
.jobx-apply .hinweis { font-size: 0.85rem; color: var(--muted); }

/* Skeleton beim Laden */
.job-skeleton { display: grid; gap: 1rem; }
.job-skeleton-item { height: 96px; border-radius: var(--radius); background: linear-gradient(100deg, #edefea 30%, #f6f7f4 50%, #edefea 70%); background-size: 200% 100%; animation: schimmer 1.3s infinite; }
@keyframes schimmer { to { background-position: -200% 0; } }

/* ---------- Downloads: Karten-Grid ---------- */
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.download-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.download-card:not(.is-pending):hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.download-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.download-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow); color: var(--amber-deep); flex: none;
}
.download-card-icon svg { width: 24px; height: 24px; }
.download-card-typ { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; padding: 0.22rem 0.6rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.download-card-name { font-weight: 640; font-size: 1.04rem; line-height: 1.3; overflow-wrap: anywhere; }
.download-card-status { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 0.6rem; }
.download-card-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  font-weight: 620; color: var(--night);
}
.download-card-cta svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.download-card:hover .download-card-cta { color: var(--amber-deep); }
.download-card:hover .download-card-cta svg { transform: translateY(2px); }
.download-card.is-pending { opacity: 0.72; }
.download-card.is-pending .download-card-icon { background: #eef0ec; color: #9aa39b; }
.download-card.is-pending .download-card-cta { color: var(--muted); }

/* ==========================================================================
   Leistungen-Seite
   ========================================================================== */
/* ---------- Hero mit Aura-Effekten ---------- */
.lst-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--white);
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
}
.lst-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; opacity: 0.28; }
.lst-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 23, 35, 0.9) 0%, rgba(11, 23, 35, 0.55) 60%, rgba(11, 23, 35, 0.75) 100%),
    linear-gradient(180deg, rgba(11, 23, 35, 0.35), rgba(11, 23, 35, 0.9));
}
.lst-aura { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; opacity: 0.8; }
.lst-aura--1 { width: 440px; height: 440px; top: -140px; right: 4%; background: radial-gradient(closest-side, rgba(255, 174, 51, 0.4), transparent); animation: aura-1 15s var(--ease) infinite; }
.lst-aura--2 { width: 380px; height: 380px; bottom: -160px; left: -3%; background: radial-gradient(closest-side, rgba(37, 99, 168, 0.42), transparent); animation: aura-2 19s var(--ease) infinite; }
@keyframes aura-1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-34px, 44px); } }
@keyframes aura-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(46px, -32px); } }

.lst-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); }
.lst-hl { color: var(--amber); text-shadow: 0 0 40px rgba(255, 174, 51, 0.3); }
.lst-hero-lead { color: var(--steel); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 60ch; margin-top: 1.3rem; }

.lst-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.lst-nav-card {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark);
  border-radius: 14px; padding: 1.05rem 1.15rem; backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lst-nav-card:hover { transform: translateY(-5px); border-color: var(--amber); background: rgba(255, 174, 51, 0.08); }
.lst-nav-phase {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  color: var(--night); background: var(--amber);
}
.lst-nav-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.lst-nav-text strong { font-size: 1.02rem; }
.lst-nav-text span { font-size: 0.8rem; color: var(--steel); }
.lst-nav-card > svg { flex: none; width: 18px; height: 18px; color: var(--steel); transition: transform 0.3s var(--ease), color 0.3s; }
.lst-nav-card:hover > svg { color: var(--amber); transform: translateX(3px); }

/* Auftritt der Hero-Elemente beim Laden */
.lst-anim { opacity: 0; transform: translateY(26px); animation: lst-in 0.85s var(--ease) forwards; }
.lst-hero-inner > .lst-anim:nth-child(1) { animation-delay: 0.1s; }
.lst-hero-inner > .lst-anim:nth-child(2) { animation-delay: 0.22s; }
.lst-hero-inner > .lst-anim:nth-child(3) { animation-delay: 0.34s; }
.lst-hero-inner > .lst-anim:nth-child(4) { animation-delay: 0.46s; }
@keyframes lst-in { to { opacity: 1; transform: none; } }

/* ---------- Service-Zeilen (bild-betont) ---------- */
/* overflow-x: clip fängt die seitlichen Reveal-Transforms ab (kein H-Scroll) */
.lst-services { padding-top: clamp(3rem, 5vw, 4.5rem); overflow-x: clip; }
.lst-services .service-row { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.service-row-media { position: relative; }
.service-row-media img { transition: transform 0.7s var(--ease); }
.service-row-media:hover img { transform: scale(1.05); }
.service-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em;
  padding: 0.45rem 0.8rem; border-radius: 10px;
  background: rgba(11, 23, 35, 0.72); backdrop-filter: blur(6px);
  color: var(--amber); border: 1px solid rgba(255, 174, 51, 0.4);
}

/* ---------- FAQ-Akkordeon ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 840px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item.offen { border-color: var(--amber); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.1rem, 2.2vw, 1.4rem) clamp(1.2rem, 2.4vw, 1.6rem);
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.12rem);
  letter-spacing: -0.005em; color: var(--ink);
}
.faq-q:hover { color: var(--amber-deep); }
.faq-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-icon svg { width: 16px; height: 16px; color: var(--night); transition: transform 0.35s var(--ease); }
.faq-item.offen .faq-icon { background: var(--amber); border-color: var(--amber); }
.faq-item.offen .faq-icon svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.offen .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { color: var(--muted); max-width: none; padding: 0 clamp(1.2rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.4vw, 1.5rem); font-size: 0.98rem; }

/* ---------- Reveal-Varianten (Richtung) ---------- */
.reveal.reveal--left { transform: translateX(-42px); }
.reveal.reveal--right { transform: translateX(42px); }
.ueber-bild-wrap.reveal.reveal--right { transform: translateX(96px); }
.reveal.reveal--left.is-visible, .reveal.reveal--right.is-visible { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .jobx-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .header-contact { display: none; }
  .nav-toggle { display: flex; }
  /* Scroll-Story-Navigation (Punkte/Labels rechts) nie auf kleinen Screens
     zeigen – auch wenn nach Drehen/Resize noch der Desktop-Scrub aktiv ist */
  .story-rail, .story-scrollhint { display: none !important; }

  .mobile-nav {
    position: fixed; inset: 0; z-index: 90; background: var(--night);
    display: flex; flex-direction: column; justify-content: center; padding: 2rem 8vw;
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
  .mobile-nav a { color: var(--white); text-decoration: none; font-size: 1.7rem; font-weight: 640; font-stretch: 112%; padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--amber); }
  .mobile-nav .mobile-nav-contact { margin-top: 2rem; display: grid; gap: 0.9rem; }
  .mobile-nav .mobile-nav-contact a { border: 0; font-size: 1.05rem; font-family: var(--font-mono); display: flex; align-items: center; gap: 0.7rem; }
  .mobile-nav .mobile-nav-contact svg { width: 18px; height: 18px; color: var(--amber); }
  body.nav-open { overflow: hidden; }

  .grid-2, .grid-3, .career-panel, .contact-layout, .job-detail, .service-row { grid-template-columns: 1fr; }
  .ueber-buehne { grid-template-columns: 1fr; gap: 3rem; }
  .ueber-flaeche { display: none; }
  .ueber-bild { transform: rotateY(-5deg); }
  .ueber-badge--jahr { left: -0.4rem; }
  .ueber-badge--projekte { right: -0.2rem; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .projekt-layout { grid-template-columns: 1fr; }
  .projekt-seite { position: static; }
  .projekt-galerie { grid-template-columns: repeat(2, 1fr); }
  .prj-werkzeuge { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .jobx-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .jobx-head { gap: 0.9rem; }
  .lst-nav { grid-template-columns: 1fr; }
  .kontakt-panel { grid-template-columns: 1fr; }
  .kontakt-info { padding-top: clamp(2rem, 8vw, 3rem); }
  .job-filter { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 1fr; }
  .job-row-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; flex-direction: row; align-items: center; justify-content: space-between; }
  .job-row-side .btn { width: auto; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .value-grid, .project-grid { grid-template-columns: 1fr; }
  .projekt-galerie { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .prj-stats-inner { grid-template-columns: 1fr; }
  .prj-stat { padding: 0.85rem 1rem; grid-template-columns: auto 1fr; align-items: baseline; gap: 0.8rem; text-align: left; }
  .prj-stat + .prj-stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .prj-lead { font-size: 1rem; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  /* Kompaktes, ausgewogenes Footer-Layout auf dem Handy:
     Marke oben über volle Breite, dann Leistungen | Unternehmen nebeneinander,
     Kontakt wieder über volle Breite (Adresse bricht sauber um) */
  .footer { padding: clamp(2rem, 8vw, 2.6rem) 0 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; padding-bottom: 1.5rem; }
  .footer-grid > :nth-child(1), .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
  .footer .brand-logo { height: 40px; }
  .footer .brand { margin-bottom: 0.9rem; }
  .footer p { font-size: 0.86rem; max-width: 40ch; }
  .footer h4 { font-size: 0.74rem; margin-bottom: 0.55rem; }
  .footer ul { gap: 0.5rem; }
  .footer a, .footer li { font-size: 0.92rem; }
  .footer-grid > :nth-child(4) ul { grid-template-columns: 1fr 1fr; gap: 0.5rem 1.4rem; }
  .footer-grid > :nth-child(4) li:last-child { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; padding-top: 1rem; gap: 0.7rem; }
  .footer-legal nav { gap: 1.6rem; }
  .contact-strip-links { gap: 1rem; flex-direction: column; align-items: flex-start; }
  .story-cta .btn { width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .jobx-apply .btn { width: 100%; }
  .job-row-side { flex-direction: column; align-items: stretch; }
  .job-row-side .btn { width: 100%; }
  /* Kleinere Schrift an Stellen, die auf dem Handy sonst zu viele Zeilen belegen */
  .lead { font-size: 1.02rem; }
  .page-hero p { font-size: 1.02rem; }
  .story-copy p { font-size: 0.98rem; line-height: 1.55; }
  .form-consent { font-size: 0.8rem; gap: 0.6rem; }
  .form-consent input[type="checkbox"] { width: 20px; height: 20px; }
  .form-consent input[type="checkbox"]::after { left: 6px; top: 3px; }
  .form-note { font-size: 0.76rem; }
  .form-field label { font-size: 0.88rem; }
  .kontakt-liste-text a, .kontakt-liste-wert { font-size: 0.96rem; }
}

@media (min-width: 901px) {
  .mobile-nav { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, .story-rail, .story-scrollhint, .nav-toggle { display: none; }
}
