/* ============================================================
   XProductions GmbH — Industrial Design System
   Fabrieks-corporate · Monochroom staal · Technische precisie
   ============================================================ */

/* ---------- 1. Variablen & Basis ---------- */
:root {
  --bg-0: #0c0d0e;
  --bg-1: #141516;
  --panel: #1b1d1f;
  --panel-2: #202326;
  --line: #2a2d30;
  --line-strong: #3a3d41;
  --steel: #393939;
  --steel-2: #4a4d52;
  --text: #f5f5f5;
  --text-dim: #c8c8c8;
  --muted: #a0a0a0;
  --muted-2: #6e7175;
  /* Goud: alleen microscopisch als statusdetail */
  --gold: #c9a962;
  --gold-2: #d4af37;
  --gold-3: #f0d88a;
  --gold-deep: #a8873f;
  --error: #e88585;
  --success: #9fd8a8;
  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mech: cubic-bezier(0.83, 0, 0.17, 1);
  --radius: 2px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtiel dot-grid (blueprint-textuur) over de hele pagina */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

main, .site-footer { position: relative; z-index: 1; }

img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: #f5f5f5; color: #0c0d0e; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 0; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--steel-2); }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  /* Alleen in noodgevallen breken (lange samenstellingen op smalle schermen) */
  overflow-wrap: break-word;
}

p, li { overflow-wrap: break-word; }

/* ---------- 2. Utilities ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Ankerziele unter dem fixierten Header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

/* Technische Sektions-Indexierung (Spec-Sheet-Nummerierung) */
main { counter-reset: xp-sec; }
.section, .section-tight { counter-increment: xp-sec; }
.section::after, .section-tight::after {
  content: "T-" counter(xp-sec, decimal-leading-zero) " · ±0.05";
  position: absolute;
  top: 0.9rem;
  right: 4vw;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: #565a5f;
  pointer-events: none;
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Mono-Sektionslabel mit Linienführung */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--steel-2);
}
.eyebrow::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--steel-2);
  border-radius: 0;
}

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-top: 1.1rem; max-width: 65ch; }
.center .lead { margin-inline: auto; }

/* Ehemals Gold-Verlauf → technische Outline-Schrift (Stahl) */
.text-gold {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 245, 245, 0.85);
}

.muted { color: var(--muted); }
.center-text { text-align: center; }

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

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Voorkomt dat grid-tracks meegroeien met lange woorden (min-content) */
.grid > *, .split > *, .process-grid > * { min-width: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Variante mit breiterer erster Spalte, oben ausgerichtet (z. B. Kontakt) */
.split-start {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

/* Schwebende Deko-Glows entfernt (industrielle Reduktion) */
.glow { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--steel);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
}
.pill svg { width: 0.95rem; height: 0.95rem; }

.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: var(--text-dim);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 4000;
  background: var(--panel-2);
  color: var(--text);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Noise-Overlay (Filmkorn) ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- 4. Intro-Loader (mechanisch) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-0);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s var(--ease-mech), visibility 0.45s var(--ease-mech);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
html.no-js .loader { display: none; }

.loader-inner { text-align: center; animation: loaderIn 0.55s var(--ease-mech) both; }
.loader-logo {
  width: 86px;
  margin-inline: auto;
  animation: logoReveal 0.7s var(--ease-mech) both;
}
.loader-word {
  margin-top: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.42em;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  animation: loaderIn 0.55s var(--ease-mech) 0.1s both;
}
.loader-word em { color: var(--muted-2); font-style: normal; }
.loader-bar {
  width: 190px;
  height: 2px;
  margin: 1.4rem auto 0;
  background: var(--line);
  border-radius: 0;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #f5f5f5;
  animation: loaderFill 0.9s var(--ease-mech) 0.08s forwards;
}
@keyframes loaderIn {
  from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); }
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes loaderFill { to { transform: scaleX(1); } }

/* ---------- 5. Seitenübergang (mechanisches Luik) ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--bg-1);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.34s var(--ease-mech);
  pointer-events: none;
}
.page-transition::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #f5f5f5;
}
.page-transition.active { transform: scaleY(1); pointer-events: all; }
html.pt-in .page-transition { transform: scaleY(1); transform-origin: top; transition: none; }

/* ---------- 6. Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1600;
  pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #f5f5f5;
}

/* ---------- 7. Custom Cursor: Fadenkreuz / Reticle (nur Desktop) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: #f5f5f5;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(245, 245, 245, 0.4);
  transition: width 0.22s var(--ease-out), height 0.22s var(--ease-out),
              border-color 0.22s, opacity 0.3s, transform 0.22s var(--ease-out);
}
/* Fadenkreuz-Linien */
.cursor-ring::before, .cursor-ring::after {
  content: "";
  position: absolute;
  background: rgba(245, 245, 245, 0.55);
}
.cursor-ring::before {
  left: 50%; top: -7px; bottom: -7px;
  width: 1px; margin-left: -0.5px;
}
.cursor-ring::after {
  top: 50%; left: -7px; right: -7px;
  height: 1px; margin-top: -0.5px;
}
.cursor-ring.is-hover {
  width: 46px; height: 46px;
  border-color: rgba(245, 245, 245, 0.9);
}
.cursor-ring.is-down { width: 24px; height: 24px; }
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { opacity: 1; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ---------- 8. Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 13, 14, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.35s var(--ease-out);
}
.site-header.scrolled .header-inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand img { width: 40px; height: 40px; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-text em { font-style: normal; color: var(--muted-2); }

.main-nav ul { display: flex; gap: 2rem; }
.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #f5f5f5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-mech);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--steel);
  background: var(--bg-1);
  z-index: 1501;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.8px;
  background: var(--text);
  transition: transform 0.32s var(--ease-mech), top 0.32s var(--ease-mech), width 0.25s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(12, 13, 14, 0.96);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-mech), visibility 0.35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav li { overflow: hidden; }
.mobile-nav .m-link {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  padding: 0.45rem 0;
  color: var(--text);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-mech), color 0.25s;
  transition-delay: var(--d, 0s);
}
.mobile-nav.open .m-link { transform: translateY(0); }
.mobile-nav .m-link:hover, .mobile-nav .m-link.active { color: var(--muted); }
.mobile-nav-foot {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}
.mobile-nav.open .mobile-nav-foot { opacity: 1; }
.mobile-nav-foot a { color: var(--text); }
body.nav-open { overflow: hidden; }
/* Bei geöffnetem Menü muss der Header (mit Schließen-Button) über dem Overlay liegen */
body.nav-open .site-header { z-index: 1502; }
body.nav-open .site-header .header-inner { height: 68px; }
body.nav-open .site-header {
  background: rgba(12, 13, 14, 0.92);
  border-bottom-color: var(--line);
}

/* ---------- 9. Buttons (inverted / outlined, Stahl) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  white-space: nowrap;
  transition: background-color 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-mech);
}
.btn > span, .btn > svg { position: relative; z-index: 1; }
.btn svg { width: 1rem; height: 1rem; }

/* Primär: inverted (weißer Button, schwarzer Text) */
.btn-gold {
  background: #f5f5f5;
  color: #0c0d0e;
  border-color: #f5f5f5;
}
.btn-gold:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #f5f5f5, 0 10px 34px -10px rgba(245, 245, 245, 0.28);
}
.btn-gold:active { transform: translateY(0); }

/* Sekundär: outlined mit staler Hover-Glow */
.btn-ghost {
  color: var(--text);
  border-color: var(--steel);
  background: transparent;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #f5f5f5;
  box-shadow: 0 0 26px -8px rgba(245, 245, 245, 0.25);
}

.btn-sm { padding: 0.62rem 1.25rem; font-size: 0.72rem; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- 10. Hero (full-bleed, Split-Typografie) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-video.is-playing { opacity: 0.42; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(12, 13, 14, 0.74) 0%, rgba(12, 13, 14, 0.5) 42%, rgba(12, 13, 14, 0.94) 100%);
}
/* Maßband / Meetlint am unteren Hero-Rand */
.hero-overlay::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(245, 245, 245, 0.35) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(245, 245, 245, 0.6) 0 1px, transparent 1px 40px);
  background-size: 100% 6px, 100% 12px;
  background-position: bottom left, bottom left;
  background-repeat: repeat-x;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: calc(var(--header-h) + 3rem) 0 clamp(13rem, 32vh, 22rem);
  will-change: transform;
}

/* Split-Typografie: erstes Wort links unten, zweites Wort rechts unten */
.hero-split {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(2rem, 5vh, 3.6rem);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  padding-inline: 4vw;
  pointer-events: none;
}
.hero-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 8.6vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-word-alt {
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 245, 245, 0.8);
}
.hero-word-alt .text-gold { -webkit-text-stroke-color: #f5f5f5; }

.hero-sub {
  margin-top: 1.6rem;
  max-width: 58ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-stats-hint { margin-top: 3.2rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-mini-stat { border-left: 1px solid var(--line-strong); padding-left: 1rem; }
.hero-mini-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--text);
}
.hero-mini-stat span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 1px; height: 40px;
  background: var(--line-strong);
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: #f5f5f5;
  animation: wheel 1.6s var(--ease-mech) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Kleiner Seiten-Hero (Unterseiten) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px),
    var(--bg-0);
  background-size: 26px 26px, auto;
  border-bottom: 1px solid var(--line);
}
/* Blueprint-Maßlinie im Seiten-Hero */
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 8vw;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 20ch; }
.page-hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--muted); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-current] { color: var(--text); }

/* ---------- 11. Cards / Flache Panelen (1px-Linien, scharfe Ecken) ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease-mech), border-color 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: #f5f5f5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-mech);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: gap 0.25s var(--ease-mech);
}
.card .card-link:hover { gap: 0.85rem; }
.card .card-link svg { width: 1rem; height: 1rem; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--steel);
}
.card-icon svg { width: 26px; height: 26px; }

.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- 12. KPI-Zähler (Mono-Spec-Werte) ---------- */
.kpi-band {
  position: relative;
  background: var(--bg-1);
}
.kpis { text-align: center; }
.kpi-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--text);
}
.kpi-label {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 13. Media & Video-Band (mit Maßkreuzen) ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Mess-Markierung: Ecke links oben */
.media-frame::before, .media-frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 2;
}
.media-frame::before {
  top: 10px; left: 10px;
  border-top: 1px solid rgba(245, 245, 245, 0.7);
  border-left: 1px solid rgba(245, 245, 245, 0.7);
}
.media-frame::after {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid rgba(245, 245, 245, 0.7);
  border-right: 1px solid rgba(245, 245, 245, 0.7);
}

.video-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(320px, 46vw, 560px);
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  background: var(--bg-1) center / cover no-repeat;
}
.video-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.video-band video.is-playing { opacity: 0.66; }
.video-band .vb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 14, 0.3) 0%, rgba(12, 13, 14, 0.1) 40%, rgba(12, 13, 14, 0.9) 100%);
}
.video-band .vb-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 640px;
}
.video-band .vb-content h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.video-band .vb-content p { color: var(--text-dim); margin-top: 0.7rem; }

/* ---------- 14. Prozess / Schritte ---------- */
.step { position: relative; }
.step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--steel-2);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 14b. Bewerbungs-Prozess (technische Prozess-Flow) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
/* Verbindungslinie zwischen den Schritt-Nummern */
.process-step::before {
  content: "";
  position: absolute;
  left: 1.36rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.process-step:first-child::before { top: 50%; }
.process-step:last-child::before { bottom: 50%; }
.process-num {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.process-body h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}
.process-body h3 svg {
  flex: none;
  width: 1.15rem; height: 1.15rem;
  color: var(--muted);
}
.process-body p { color: var(--muted); font-size: 0.95rem; }
.process-body .process-meta {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.process-media {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1) center / cover no-repeat;
}
.process-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.process-media video.is-playing { opacity: 0.5; }
.process-media .vb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 14, 0.42) 0%, rgba(12, 13, 14, 0.18) 45%, rgba(12, 13, 14, 0.88) 100%);
}
.process-media .process-media-caption {
  position: absolute;
  left: 1.2rem; bottom: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 15. Karriere / Stellenanzeige ---------- */
.job-head { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.conditions-box {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  border: 1px dashed var(--steel-2);
  background: var(--bg-1);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.conditions-box .card-icon { margin-bottom: 0; flex: none; width: 48px; height: 48px; }
.conditions-box .card-icon svg { width: 24px; height: 24px; }
.conditions-box h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.conditions-box p { color: var(--text-dim); font-size: 0.96rem; }

.privacy-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  background: var(--bg-1);
}
.privacy-note svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--text); margin-top: 0.15rem; }

/* ---------- 16. Formulare ---------- */
.form-shell {
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--panel);
  border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.4rem; }
.field-full { grid-column: 1 / -1; }

.field label, .field .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.req { color: var(--gold-2); } /* Micro-Statusdetail */
.opt { color: var(--muted-2); text-transform: none; letter-spacing: 0.02em; font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5a5e63; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: #f5f5f5;
  background: var(--bg-0);
  box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.1);
}
.field.has-error input, .field.has-error textarea { border-color: rgba(224, 92, 92, 0.7); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(224, 92, 92, 0.12); }
.field-error {
  min-height: 1.15em;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--error);
}

/* Honeypot (Spam-Schutz, unsichtbar) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Dropzone */
.dropzone {
  position: relative;
  border: 1px dashed var(--steel-2);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  background: var(--bg-1);
  transition: border-color 0.25s, background 0.25s;
}
.dropzone:hover, .dropzone.dragover {
  border-color: #f5f5f5;
  background: var(--bg-0);
}
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone.has-file input[type="file"] { display: none; }
.dz-empty svg {
  width: 42px; height: 42px;
  color: var(--muted);
  margin: 0 auto 0.9rem;
}
.dz-empty p { color: var(--text-dim); font-size: 0.98rem; }
.dz-empty strong { color: var(--text); }
.dz-hint {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
}
.dz-file {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1.05rem;
}
.dz-file svg { flex: none; width: 1.6rem; height: 1.6rem; color: var(--text); }
.dz-file .dz-meta { flex: 1; min-width: 0; }
.dz-file .dz-name {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dz-file .dz-size { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.dz-remove {
  flex: none;
  width: 34px; height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s, border-color 0.25s, transform 0.3s var(--ease-mech);
}
.dz-remove:hover { color: var(--error); border-color: rgba(224, 92, 92, 0.5); transform: rotate(90deg); }

.upload-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.upload-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 0;
  background: var(--line);
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: #f5f5f5;
  transition: width 0.2s ease;
}
.upload-progress-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 3.2em;
  text-align: right;
}

/* Checkbox */
.checkbox { display: flex; gap: 0.9rem; cursor: pointer; position: relative; }
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.checkbox-box {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 0.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--steel-2);
  background: var(--bg-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.checkbox-box svg {
  width: 13px; height: 13px;
  color: #0c0d0e;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.25s var(--ease-mech);
}
.checkbox input:checked + .checkbox-box {
  background: #f5f5f5;
  border-color: #f5f5f5;
  box-shadow: 0 0 14px rgba(245, 245, 245, 0.2);
}
.checkbox input:checked + .checkbox-box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible + .checkbox-box { outline: 2px solid #f5f5f5; outline-offset: 3px; }
.checkbox-text { font-size: 0.92rem; color: var(--text-dim); }
.checkbox-text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.checkbox-text a:hover { color: var(--muted); }

.form-footer { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.form-note { font-size: 0.84rem; color: var(--muted-2); }

.form-status {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-mech), padding 0.35s;
}
.form-status.visible { max-height: 200px; padding: 1rem 1.2rem; }
.form-status.info { background: var(--bg-1); border: 1px solid var(--line-strong); color: var(--text-dim); }
.form-status.error { background: rgba(224, 92, 92, 0.08); border: 1px solid rgba(224, 92, 92, 0.4); color: var(--error); }
.form-status.success { background: rgba(120, 200, 140, 0.08); border: 1px solid rgba(120, 200, 140, 0.35); color: var(--success); }

/* Erfolgs-Panel */
.form-success { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.success-check {
  width: 92px; height: 92px;
  margin: 0 auto 1.6rem;
}
.success-check circle {
  fill: none;
  stroke: var(--steel-2);
  stroke-width: 2;
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
}
.success-check path {
  fill: none;
  stroke: #f5f5f5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}
.form-success.visible circle { animation: draw 0.8s var(--ease-mech) forwards; }
.form-success.visible path { animation: draw 0.45s var(--ease-mech) 0.55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.8rem; }
.form-success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ---------- 17. Karte / Kontakt ---------- */
.map-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px),
    var(--bg-1);
  background-size: 26px 26px, auto;
}
.map-consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.map-consent svg { width: 46px; height: 46px; color: var(--muted); }
.map-consent p { color: var(--muted); font-size: 0.92rem; max-width: 46ch; }
.map-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.35) invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.9);
}

.info-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .card-icon { width: 46px; height: 46px; margin-bottom: 0; flex: none; }
.info-item .card-icon svg { width: 22px; height: 22px; }
.info-item h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.info-item p, .info-item a { color: var(--text-dim); font-size: 1rem; line-height: 1.55; }
.info-item a { transition: color 0.25s; }
.info-item a:hover { color: var(--text); }

/* ---------- 18. Rechtstexte ---------- */
.prose { max-width: 80ch; }
.prose h2 {
  font-size: 1.35rem;
  margin: 2.8rem 0 0.9rem;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1.6rem 0 0.5rem;
  color: var(--text-dim);
  font-weight: 500;
}
.prose p, .prose li { color: #b5b5b5; font-size: 0.98rem; line-height: 1.85; }
.prose p + p { margin-top: 0.7rem; }
.prose ul { margin: 0.6rem 0 0.9rem; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.4rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 6px; height: 6px;
  background: var(--steel-2);
}
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--muted); }
.prose address {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  background: var(--bg-1);
  color: var(--text-dim);
  line-height: 1.8;
  margin: 1rem 0;
}
.prose strong { color: var(--text); }

/* ---------- 19. CTA-Band (inverted Panel) ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.6rem, 5vw, 4rem);
  text-align: center;
  background: #f5f5f5;
  color: #0c0d0e;
  border: 1px solid #f5f5f5;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); max-width: 22ch; margin-inline: auto; color: #0c0d0e; }
.cta-band h2 .text-gold { -webkit-text-stroke-color: #0c0d0e; }
.cta-band p { color: #393939; margin: 1.1rem auto 2.2rem; max-width: 56ch; }
.cta-band .btn-gold {
  background: #0c0d0e;
  color: #f5f5f5;
  border-color: #0c0d0e;
}
.cta-band .btn-gold:hover {
  background: #1b1d1f;
  box-shadow: 0 0 0 1px #0c0d0e, 0 10px 34px -12px rgba(12, 13, 14, 0.5);
}
/* Maßband-Ticks am CTA-Rand */
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(12, 13, 14, 0.35) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(12, 13, 14, 0.55) 0 1px, transparent 1px 40px);
  background-size: 100% 5px, 100% 10px;
  background-position: bottom left, bottom left;
  background-repeat: repeat-x;
}

/* ---------- 20. Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.8rem;
}
.footer-brand p { color: var(--muted); font-size: 0.94rem; margin-top: 1.2rem; max-width: 34ch; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-col address { color: var(--muted); font-size: 0.95rem; line-height: 2; }
.footer-col address a { color: var(--text-dim); }
.footer-col address a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.footer-bottom ul { display: flex; gap: 1.6rem; }
.footer-bottom a { color: var(--muted); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 21. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 2500;
  transform: translate(-50%, 150%);
  max-width: min(92vw, 580px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s var(--ease-mech);
}
.toast.show { transform: translate(-50%, 0); }
.toast.error { border-color: rgba(224, 92, 92, 0.5); }

/* ---------- 22. Reveal-Animationen (Clip-Path / mechanisches Luik) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--ease-mech),
    clip-path 0.6s var(--ease-mech);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, clip-path;
}
html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
  clip-path: inset(-2% 0 -10% 0);
}
html.js [data-reveal="left"] { transform: translateX(-26px); }
html.js [data-reveal="right"] { transform: translateX(26px); }
html.js [data-reveal="zoom"] { transform: scale(0.97); }
html.js [data-reveal].revealed { transform: none; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-start { grid-template-columns: 1fr; }
  .split .media-frame { order: -1; }
  .hero-stats-hint { gap: 1.6rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-media { min-height: 260px; }
  /* Zijwaartse reveals op smalle schermen uitschakelen (voorkomt horizontale overflow) */
  html.js [data-reveal="left"], html.js [data-reveal="right"] { transform: translateY(18px); }
  html.js [data-reveal="left"].revealed, html.js [data-reveal="right"].revealed { transform: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-content { padding-bottom: clamp(15rem, 44vh, 20rem); }
  .hero-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .hero-word-alt { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
  .conditions-box { flex-direction: column; }
  .section::after, .section-tight::after { display: none; }
}
@media (max-width: 520px) {
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .header-actions .btn { display: none; }
  .step-num { font-size: 2.3rem; }
  .process-step { gap: 1rem; }
  .process-step::before { left: 1.11rem; }
  .process-num { width: 2.25rem; height: 2.25rem; font-size: 0.72rem; }
}

