/* =========================================================
   LEIMBACH MASCHINENBAU GMBH — Design System
   Kontrast-Mix: helle Inhaltsflächen, dunkle Vollbild-Sektionen
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Farben */
  --ink:        #08090A;
  --steel-950:  #0E1113;
  --steel-900:  #14181B;
  --steel-800:  #1C2226;
  --steel-700:  #2A3237;
  --steel-600:  #3E4950;
  --steel-500:  #5C6A73;
  --steel-400:  #8A959D;
  --steel-300:  #B4BEC5;
  --steel-200:  #D8DEE2;
  --steel-100:  #EBEEF0;
  --paper:      #F5F6F7;
  --white:      #FFFFFF;

  --signal:      #FF5A1F;
  --signal-soft: #FF7A47;
  --signal-deep: #D33F09;
  --ember:       #FFB020;

  /* Semantik */
  --bg:        var(--white);
  --fg:        var(--steel-900);
  --muted:     var(--steel-500);
  --line:      rgba(20, 24, 27, .12);
  --line-soft: rgba(20, 24, 27, .07);

  /* Typo */
  --ff-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-body:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --fs-eyebrow: clamp(.68rem, .62rem + .2vw, .78rem);
  --fs-small:   clamp(.82rem, .78rem + .2vw, .9rem);
  --fs-body:    clamp(1rem, .96rem + .22vw, 1.075rem);
  --fs-lead:    clamp(1.1rem, 1rem + .55vw, 1.375rem);
  --fs-h4:      clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --fs-h3:      clamp(1.35rem, 1.15rem + .9vw, 1.9rem);
  --fs-h2:      clamp(2rem, 1.4rem + 2.6vw, 3.9rem);
  --fs-h1:      clamp(2.6rem, 1.5rem + 4.6vw, 6.2rem);
  --fs-mega:    clamp(3.2rem, 1.2rem + 8.4vw, 10rem);

  /* Raster & Rhythmus */
  --wrap:    1320px;
  --wrap-nr: 1080px;
  --gut:     clamp(1.15rem, .6rem + 2.2vw, 2.5rem);
  --sect:    clamp(4.5rem, 2.5rem + 7vw, 9.5rem);

  /* Radien / Schatten */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(8,9,10,.05), 0 4px 14px rgba(8,9,10,.05);
  --sh-2: 0 2px 6px rgba(8,9,10,.06), 0 18px 46px rgba(8,9,10,.09);
  --sh-3: 0 30px 80px rgba(8,9,10,.20);

  /* Motion */
  --e-out:  cubic-bezier(.22,1,.36,1);
  --e-io:   cubic-bezier(.65,.05,.36,1);
  --t-fast: .22s var(--e-out);
  --t-med:  .45s var(--e-out);
  --t-slow: .85s var(--e-out);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-ligatures: none;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--signal); color: #fff; }

/* ---------- 3. TYPOGRAFIE ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.022em; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.24; letter-spacing: -.014em; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--steel-600);
  letter-spacing: -.012em;
}
.muted { color: var(--muted); }
.mono  { font-family: var(--ff-mono); font-size: var(--fs-small); letter-spacing: .04em; }
.acc   { color: var(--signal); }

/* ---------- 4. LAYOUT ---------- */
.wrap    { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap-nr { width: min(100% - (var(--gut) * 2), var(--wrap-nr)); margin-inline: auto; }
.sect    { padding-block: var(--sect); position: relative; }
.sect--tight { padding-block: calc(var(--sect) * .62); }

.sect-head { max-width: 62ch; margin-bottom: clamp(2.4rem, 1.4rem + 3vw, 4.2rem); }
.sect-head .eyebrow { margin-bottom: 1.15rem; }
.sect-head h2 + .lead { margin-top: 1.35rem; }

.sect-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end;
}
.sect-head--split .lead { margin-top: 0; padding-bottom: .35rem; }
@media (max-width: 860px) { .sect-head--split { grid-template-columns: 1fr; } }

/* Dunkle Sektion */
.dark {
  background: var(--ink);
  color: var(--steel-200);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: var(--steel-300); }
.dark .muted { color: var(--steel-400); }
.dark::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}

/* Hauchfeines Hintergrundraster */
.gridlines::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  pointer-events: none;
  z-index: 0;
}
.gridlines-light::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,24,27,.055) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  pointer-events: none;
  z-index: 0;
}
.dark > .wrap, .gridlines-light > .wrap { position: relative; z-index: 2; }

/* Diagonal-Warnstreifen */
.stripes {
  height: 10px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--signal) 0 12px,
    var(--ink) 12px 24px
  );
  opacity: .9;
}
.dark .stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--signal) 0 12px,
    #0F1214 12px 24px
  );
}

/* ---------- 5. PRELOADER ---------- */
.preload {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .6s var(--e-out), visibility .6s;
}
.preload__inner { text-align: center; width: min(78vw, 460px); }
.preload__logo {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -.05em;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem);
  color: #fff;
  line-height: 1;
}
.preload__logo span { color: var(--signal); }
.preload__sub {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-top: .85rem;
}
.preload__bar {
  margin-top: 1.9rem;
  height: 2px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.preload__fill {
  height: 100%; width: 0%;
  background: var(--signal);
  transition: width .25s linear;
}
.preload__num {
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--steel-400);
  margin-top: .7rem;
  letter-spacing: .12em;
}
.preload.is-done { opacity: 0; visibility: hidden; }

/* ---------- 6. SCROLLFORTSCHRITT ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--signal), var(--ember));
  z-index: 900;
  will-change: transform;
}

/* ---------- 7. CURSOR ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 950;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .3s;
}
.cursor {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.85);
  transition: opacity .3s, width .3s var(--e-out), height .3s var(--e-out), background .3s;
}
.cursor-dot { width: 5px; height: 5px; background: #fff; }
.cursor.is-on, .cursor-dot.is-on { opacity: 1; }
.cursor.is-hot { width: 62px; height: 62px; background: rgba(255,255,255,.14); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ---------- 8. HEADER ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  transition: transform .5s var(--e-out), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.hdr__in {
  width: min(100% - (var(--gut) * 2), 1560px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
  transition: height .4s var(--e-out);
}
.hdr.is-stuck {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.hdr.is-stuck .hdr__in { height: 68px; }
.hdr.is-hidden { transform: translateY(-102%); }

/* --- Header über dunklem Hero: helle Variante --- */
.hdr:not(.is-stuck)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 168px;
  background: linear-gradient(to bottom, rgba(8,9,10,.62) 0%, rgba(8,9,10,.28) 55%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}
.hdr { isolation: isolate; }
.hdr:not(.is-stuck) .logo__name { color: #fff; }
.hdr:not(.is-stuck) .logo__sub  { color: rgba(255,255,255,.58); }
.hdr:not(.is-stuck) .nav__link  { color: rgba(255,255,255,.82); }
.hdr:not(.is-stuck) .nav__link:hover,
.hdr:not(.is-stuck) .nav__link.is-active { color: #fff; }
.hdr:not(.is-stuck) .hdr__tel { color: rgba(255,255,255,.82); }
.hdr:not(.is-stuck) .hdr__tel:hover { color: var(--signal); }
.hdr:not(.is-stuck) .burger { border-color: rgba(255,255,255,.3); }
.hdr:not(.is-stuck) .burger:hover { background: rgba(255,255,255,.12); }
.hdr:not(.is-stuck) .burger span { background: #fff; }
.hdr:not(.is-stuck) .hdr__cta > .btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.hdr:not(.is-stuck) .hdr__cta > .btn::before { background: var(--signal); }
.hdr:not(.is-stuck) .hdr__cta > .btn:hover { color: #fff; }

/* Bei geöffnetem Mobilmenü immer die helle Variante erzwingen */
body.is-locked .hdr { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-locked .hdr::before { display: none; }
body.is-locked .hdr .logo__name { color: #fff; }
body.is-locked .hdr .logo__sub  { color: rgba(255,255,255,.58); }
body.is-locked .hdr .burger { border-color: rgba(255,255,255,.3); }
body.is-locked .hdr .burger span { background: #fff; }
body.is-locked .hdr .hdr__cta > .btn { --btn-bg: #fff; --btn-fg: var(--ink); }

/* Logo */
.logo { display: flex; align-items: center; gap: .72rem; flex: none; }
.logo__mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: transform .5s var(--e-out);
}
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo__mark svg { width: 21px; height: 21px; }
.logo__txt { line-height: 1; }
.logo__name {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: -.035em;
  display: block;
  color: var(--ink);
  transition: color .4s;
}
.logo__sub {
  font-family: var(--ff-mono);
  font-size: .555rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel-500);
  display: block;
  margin-top: .28rem;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: .1rem; }
.nav__link {
  position: relative;
  padding: .62rem .82rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--steel-700);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .82rem; right: .82rem; bottom: .3rem;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .38s var(--e-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

/* Dropdown */
.nav__item { position: relative; }
.nav__item > .nav__link.has-sub::before {
  content: "";
  position: absolute; right: .1rem; top: 50%;
  width: 4px; height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: .5;
}
.nav__item > .nav__link.has-sub { padding-right: 1.3rem; }
.subnav {
  position: absolute;
  top: calc(100% + 4px); left: -.4rem;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--e-out), transform .3s var(--e-out), visibility .3s;
}
.nav__item:hover .subnav,
.nav__item:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block;
  padding: .62rem .8rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--steel-700);
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.subnav a span {
  display: block;
  font-weight: 400;
  font-size: .76rem;
  color: var(--steel-500);
  margin-top: .1rem;
}
.subnav a:hover { background: var(--paper); color: var(--ink); padding-left: 1.05rem; }

.hdr__cta { display: flex; align-items: center; gap: .8rem; flex: none; }
.hdr__tel {
  font-family: var(--ff-mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--steel-700);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: color var(--t-fast);
}
.hdr__tel:hover { color: var(--signal); }
.hdr__tel svg { width: 14px; height: 14px; }

@media (max-width: 1180px) { .nav, .hdr__tel { display: none; } }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  position: relative;
  flex: none;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.burger:hover { background: var(--paper); }
.burger span {
  position: absolute; left: 13px;
  width: 20px; height: 1.8px;
  background: var(--ink);
  transition: transform .4s var(--e-out), opacity .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 1180px) { .burger { display: block; } }

/* Mobile-Menü */
.mmenu {
  position: fixed; inset: 0;
  z-index: 790;
  background: var(--ink);
  padding: 108px var(--gut) 2.5rem;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .78s var(--e-io);
  visibility: hidden;
}
.mmenu.is-open { clip-path: circle(160% at calc(100% - 46px) 46px); visibility: visible; }
.mmenu__list { display: flex; flex-direction: column; }
.mmenu__list li {
  border-bottom: 1px solid rgba(255,255,255,.09);
  opacity: 0;
  transform: translateY(22px);
}
.mmenu.is-open .mmenu__list li {
  animation: mmIn .6s var(--e-out) forwards;
  animation-delay: calc(var(--i) * 55ms + 180ms);
}
@keyframes mmIn { to { opacity: 1; transform: none; } }
.mmenu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1rem + 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: #fff;
  transition: color var(--t-fast), transform var(--t-fast);
}
.mmenu__list a:hover { color: var(--signal); transform: translateX(10px); }
.mmenu__list a i {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: .62rem;
  color: var(--steel-600);
  letter-spacing: .12em;
}
.mmenu__foot {
  margin-top: 2.6rem;
  display: grid;
  gap: .5rem;
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: var(--steel-400);
}
.mmenu__foot a:hover { color: var(--signal); }

/* ---------- 9. BUTTONS ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .68rem;
  padding: 1.02rem 1.7rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--e-out), transform .35s var(--e-out), box-shadow .35s var(--e-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--signal);
  transform: translateY(101%);
  transition: transform .45s var(--e-io);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; box-shadow: 0 14px 34px rgba(255,90,31,.28); }
.btn:active { transform: scale(.985); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--e-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--signal { --btn-bg: var(--signal); }
.btn--signal::before { background: var(--ink); }
.btn--signal:hover { box-shadow: 0 14px 34px rgba(8,9,10,.3); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--signal); }
.dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.22); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--sm { padding: .78rem 1.25rem; font-size: .82rem; }
.btn--wide { width: 100%; }

/* Textlink mit Pfeil */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .875rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform .42s var(--e-out);
}
.tlink:hover::after { transform-origin: 0 50%; transform: scaleX(1); }
.tlink svg { width: 14px; height: 14px; transition: transform .35s var(--e-out); }
.tlink:hover svg { transform: translateX(5px); }
.dark .tlink { color: #fff; }
.tlink--acc { color: var(--signal); }

/* ---------- 10. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: 130px;
}
.hero__media {
  position: absolute; inset: -8% 0 -8% 0;
  z-index: -3;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.16) brightness(.52);
  transform: scale(1.12);
  animation: heroZoom 22s var(--e-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 12% 100%, rgba(255,90,31,.30) 0%, transparent 58%),
    radial-gradient(90% 70% at 92% 8%, rgba(40,110,190,.22) 0%, transparent 60%),
    linear-gradient(to top, rgba(8,9,10,.97) 0%, rgba(8,9,10,.72) 38%, rgba(8,9,10,.42) 72%, rgba(8,9,10,.72) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .2;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__scan {
  position: absolute; inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.028) 0 1px, transparent 1px 4px);
  pointer-events: none;
  opacity: .8;
}
/* Lichtschwenk */
.hero__sweep {
  position: absolute;
  top: -30%; left: -30%;
  width: 55%; height: 170%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,150,80,.11) 42%, rgba(255,190,120,.20) 50%, rgba(255,150,80,.11) 58%, transparent);
  filter: blur(28px);
  transform: rotate(9deg);
  animation: sweep 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 100% { transform: translateX(-16%) rotate(9deg); opacity: .5; }
  50%      { transform: translateX(190%) rotate(9deg); opacity: 1; }
}
/* Vertikale Raster-Linien */
.hero__rules {
  position: absolute; inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  pointer-events: none;
}

.hero__inner {
  width: min(100% - (var(--gut) * 2), 1560px);
  margin-inline: auto;
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.4rem);
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: clamp(1.2rem, .8rem + 1.4vw, 2.1rem);
}
.hero__eyebrow::before {
  content: "";
  width: 46px; height: 1px;
  background: var(--signal);
}
.hero__eyebrow b { font-weight: 500; color: rgba(255,255,255,.62); }

.hero h1 {
  font-size: var(--fs-mega);
  font-weight: 900;
  line-height: .87;
  letter-spacing: -.055em;
  text-transform: uppercase;
  max-width: 16ch;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--e-out);
}
.hero.is-in h1 .ln > span { transform: translateY(0); }
.hero h1 .ln:nth-child(2) > span { transition-delay: .11s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .22s; }
.hero h1 .outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  color: transparent;
}
.hero h1 em { font-style: normal; color: var(--signal); }

/* Rotierendes Schlagwort */
.rotator {
  display: inline-grid;
  vertical-align: baseline;
  overflow: hidden;
  height: .95em;
  line-height: .95;
}
.rotator > span {
  grid-area: 1 / 1;
  color: var(--signal);
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .5s var(--e-out), transform .6s var(--e-out);
}
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }

.hero__grid {
  margin-top: clamp(1.8rem, 1rem + 3vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(1.6rem, 1rem + 3vw, 4rem);
  align-items: end;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__copy {
  font-size: clamp(1rem, .93rem + .4vw, 1.16rem);
  line-height: 1.62;
  color: rgba(255,255,255,.74);
  max-width: 52ch;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--e-out) .5s, transform .9s var(--e-out) .5s;
}
.hero.is-in .hero__copy { opacity: 1; transform: none; }
.hero__actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--e-out) .64s, transform .9s var(--e-out) .64s;
}
.hero.is-in .hero__actions { opacity: 1; transform: none; }

/* Spec-Karte */
.hero__specs {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.5rem 1.6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--e-out) .76s, transform 1s var(--e-out) .76s;
}
.hero.is-in .hero__specs { opacity: 1; transform: none; }
.hero__specs h3 {
  font-family: var(--ff-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.1rem;
}
.hero__specs dl { display: grid; gap: .1rem; }
.hero__specs .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.hero__specs .row:last-child { border-bottom: 0; }
.hero__specs dt { font-size: .84rem; color: rgba(255,255,255,.62); }
.hero__specs dd {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: #fff;
}
.hero__specs dd small { font-size: .68rem; font-weight: 500; color: var(--signal); margin-left: .2rem; }

/* Hero-Fußleiste */
.hero__bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(8,9,10,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__bar-in {
  width: min(100% - (var(--gut) * 2), 1560px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .95rem 0;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__bar-in ul { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.hero__bar-in li { display: flex; align-items: center; gap: .5rem; }
.hero__bar-in li::before {
  content: ""; width: 5px; height: 5px;
  background: var(--signal);
  transform: rotate(45deg);
}
.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
}
.scrollcue i {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, var(--signal), transparent);
  display: block;
  animation: cueDrop 1.9s var(--e-io) infinite;
}
@keyframes cueDrop { 0%,100% { transform: scaleY(.35); transform-origin: 0 0; } 50% { transform: scaleY(1); } }
@media (max-width: 760px) { .hero__bar-in ul { display: none; } .hero__bar-in { justify-content: center; } }

/* ---------- 11. PAGE-HERO (Unterseiten) ---------- */
.phero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(9rem, 6rem + 9vw, 13.5rem) 0 clamp(3.2rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.phero__media { position: absolute; inset: -10% 0 -10% 0; z-index: -3; will-change: transform; }
.phero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.45) contrast(1.12) brightness(.44);
}
.phero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(110% 100% at 5% 100%, rgba(255,90,31,.24), transparent 60%),
    linear-gradient(to top, rgba(8,9,10,.96), rgba(8,9,10,.62) 60%, rgba(8,9,10,.82));
}
.phero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .18; mix-blend-mode: overlay;
}
.phero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.05em;
  line-height: .93;
  max-width: 18ch;
}
.phero .lead { margin-top: 1.5rem; max-width: 62ch; color: rgba(255,255,255,.74); }
.phero .eyebrow { margin-bottom: 1.2rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 1.6rem;
}
.crumbs a:hover { color: var(--signal); }
.crumbs span { opacity: .45; }

/* ---------- 12. MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 1.05rem 0;
  --mq-speed: 42s;
}
.dark .marquee, .marquee--dark {
  background: var(--steel-950);
  border-color: rgba(255,255,255,.1);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: mq var(--mq-speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 1.5rem;
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel-500);
  white-space: nowrap;
}
.marquee--dark .marquee__track span { color: var(--steel-400); }
.marquee__track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--signal);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 13. LEISTUNGS-KARTEN ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.6rem);
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .55s var(--e-out), box-shadow .55s var(--e-out), border-color .4s;
  will-change: transform;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-800); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.5) contrast(1.06) brightness(.8);
  transition: transform 1s var(--e-out), filter .6s;
}
.card:hover .card__media img { transform: scale(1.07); filter: grayscale(0) contrast(1.04) brightness(.92); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,9,10,.72), transparent 62%);
}
.card__num {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  background: var(--signal);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  padding: .42rem .72rem;
}
.card__body { padding: clamp(1.3rem, 1rem + .9vw, 1.9rem); display: flex; flex-direction: column; flex: 1; gap: .8rem; }
.card__body h3 { transition: color .35s; }
.card:hover .card__body h3 { color: var(--signal); }
.card__body p { font-size: .94rem; color: var(--steel-500); line-height: 1.6; }
.card__tags { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .2rem; }
.tag {
  font-family: var(--ff-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-500);
  border: 1px solid var(--line);
  padding: .26rem .55rem;
  border-radius: 999px;
}
.dark .tag { color: var(--steel-300); border-color: rgba(255,255,255,.16); }
.card__foot { margin-top: auto; padding-top: 1.1rem; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Dunkle Karte */
.card--dark { background: var(--steel-900); border-color: rgba(255,255,255,.1); color: var(--steel-300); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--steel-400); }
.card--dark:hover { border-color: rgba(255,90,31,.4); }

/* Icon-Karte */
.icard {
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--e-out), background .4s;
}
.icard::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--e-out);
}
.icard:hover::before { transform: scaleX(1); }
.icard:hover { transform: translateY(-5px); border-color: var(--steel-200); }
.icard__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--signal);
  margin-bottom: 1.15rem;
  transition: background .4s, transform .5s var(--e-out);
}
.icard:hover .icard__ico { background: var(--signal); color: #fff; transform: rotate(-8deg); }
.icard__ico svg { width: 22px; height: 22px; }
.icard h4 { margin-bottom: .55rem; }
.icard p { font-size: .92rem; color: var(--steel-500); line-height: 1.6; }
.dark .icard { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.1); }
.dark .icard__ico { background: rgba(255,255,255,.07); }
.dark .icard p { color: var(--steel-400); }

/* ---------- 14. KENNZAHLEN ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.stats--light { background: var(--line); border-color: var(--line); }
.stat { background: var(--ink); padding: clamp(1.5rem, 1rem + 1.6vw, 2.6rem); }
.stats--light .stat { background: #fff; }
.stat__num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.055em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: .06em;
}
.stats--light .stat__num { color: var(--ink); }
.stat__num i { font-style: normal; color: var(--signal); }
.stat__lbl {
  margin-top: .8rem;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-400);
  line-height: 1.5;
}
.stats--light .stat__lbl { color: var(--steel-500); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 15. SPLIT / FEATURE ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 5.5rem);
  align-items: center;
}
.split--rev .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .split--rev .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media .frame {
  position: relative;
  overflow: hidden;
  background: var(--steel-800);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.4s var(--e-out);
}
.split__media.is-vis img { transform: scale(1); }
.split__media .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: 100% 50%;
  transition: transform 1.1s var(--e-io);
}
.split__media.is-vis .frame::after { transform: scaleX(0); }
.split__badge {
  position: absolute;
  right: -14px; bottom: -14px;
  background: var(--signal);
  color: #fff;
  padding: 1.1rem 1.4rem;
  max-width: 220px;
}
.split__badge b {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.split__badge span {
  display: block;
  margin-top: .4rem;
  font-family: var(--ff-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .88;
}

/* Checkliste */
.checks { display: grid; gap: .95rem; margin-top: 1.9rem; }
.checks li {
  display: block;
  position: relative;
  padding-left: 2.1rem;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--steel-600);
}
.dark .checks li { color: var(--steel-300); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 18px; height: 18px;
  background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.checks li b { color: var(--fg); font-weight: 700; }
.dark .checks li b { color: #fff; }

/* ---------- 16. PROZESS ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.dark .steps { border-color: rgba(255,255,255,.12); }
.step {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1rem, .6rem + 2vw, 3rem);
  padding: clamp(1.6rem, 1rem + 1.6vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background .4s, padding-left .45s var(--e-out);
}
.dark .step { border-color: rgba(255,255,255,.12); }
.step:hover { padding-left: 1.1rem; }
.step:hover .step__n { color: var(--signal); }
.step__n {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--steel-200);
  transition: color .4s;
}
.dark .step__n { color: var(--steel-700); }
.step h4 { line-height: 1.2; }
.step p { color: var(--steel-500); font-size: .96rem; line-height: 1.62; }
.dark .step p { color: var(--steel-400); }
@media (max-width: 820px) {
  .step { grid-template-columns: 64px 1fr; gap: 1rem 1.2rem; }
  .step p { grid-column: 2; }
}

/* ---------- 17. AKKORDEON ---------- */
.acc-list { border-top: 1px solid var(--line); }
.dark .acc-list { border-color: rgba(255,255,255,.12); }
.acc-item { border-bottom: 1px solid var(--line); }
.dark .acc-item { border-color: rgba(255,255,255,.12); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, .9rem + 1vw, 1.7rem) 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: clamp(1.02rem, .95rem + .5vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.32;
  color: var(--fg);
  transition: color .3s;
}
.dark .acc-btn { color: #fff; }
.acc-btn:hover { color: var(--signal); }
.acc-ico {
  position: relative;
  width: 26px; height: 26px;
  flex: none;
  margin-top: .1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .35s, border-color .35s, transform .45s var(--e-out);
}
.dark .acc-ico { border-color: rgba(255,255,255,.2); }
.acc-ico::before, .acc-ico::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--e-out), opacity .3s;
}
.acc-ico::before { width: 11px; height: 1.5px; }
.acc-ico::after  { width: 1.5px; height: 11px; }
.acc-item.is-open .acc-ico { background: var(--signal); border-color: var(--signal); color: #fff; transform: rotate(180deg); }
.acc-item.is-open .acc-ico::after { opacity: 0; }
/* Ohne JavaScript bleiben alle Antworten sichtbar */
.acc-panel { overflow: hidden; }
html.js .acc-panel { height: 0; transition: height .45s var(--e-out); }
html.js .acc-item.is-open .acc-panel { height: auto; }
.acc-panel__in {
  padding-bottom: clamp(1.2rem, .9rem + 1vw, 1.7rem);
  max-width: 78ch;
  color: var(--steel-500);
  font-size: .98rem;
  line-height: 1.68;
}
.dark .acc-panel__in { color: var(--steel-400); }
.acc-panel__in p + p { margin-top: .85rem; }
.acc-panel__in ul { display: grid; gap: .45rem; margin-top: .85rem; }
.acc-panel__in ul li { padding-left: 1.1rem; position: relative; }
.acc-panel__in ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; background: var(--signal); transform: rotate(45deg);
}

/* ---------- 18. TABELLEN ---------- */
.spec {
  border: 1px solid var(--line);
  background: #fff;
}
.dark .spec { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.12); }
.spec caption {
  text-align: left;
  padding: 1.1rem 1.3rem;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel-500);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.dark .spec caption { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--steel-400); }
.spec th, .spec td {
  padding: .95rem 1.3rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: .92rem;
  vertical-align: top;
}
.dark .spec th, .dark .spec td { border-color: rgba(255,255,255,.08); }
.spec th { font-weight: 600; color: var(--steel-600); width: 42%; }
.dark .spec th { color: var(--steel-300); }
.spec td { font-family: var(--ff-mono); font-size: .86rem; color: var(--fg); }
.dark .spec td { color: #fff; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec tbody tr { transition: background .3s; }
.spec tbody tr:hover { background: var(--paper); }
.dark .spec tbody tr:hover { background: rgba(255,255,255,.04); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 19. CTA-BAND ---------- */
.cta-band {
  position: relative;
  background: var(--signal);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.055) 0 2px, transparent 2px 16px);
}
.cta-band__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.6rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
@media (max-width: 860px) { .cta-band__in { grid-template-columns: 1fr; } }
.cta-band h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -.045em;
  color: #fff;
  max-width: 20ch;
}
.cta-band p { margin-top: 1rem; max-width: 52ch; color: rgba(255,255,255,.88); font-size: 1.05rem; }
/* Primärbutton: dunkel, wird beim Hover weiß */
.cta-band .btn:not(.btn--light) { --btn-bg: var(--ink); --btn-fg: #fff; }
.cta-band .btn:not(.btn--light)::before { background: #fff; }
.cta-band .btn:not(.btn--light):hover { color: var(--ink); box-shadow: 0 14px 34px rgba(8,9,10,.25); }

/* Sekundärbutton: weiß, wird beim Hover dunkel */
.cta-band .btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.cta-band .btn--light::before { background: var(--ink); }
.cta-band .btn--light:hover { color: #fff; box-shadow: 0 14px 34px rgba(8,9,10,.25); }
.cta-band__acts { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- 20. KONTAKT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cinfo__row dt {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-500);
}
.cinfo__row dd { font-size: 1rem; font-weight: 600; }
.cinfo__row dd a { transition: color .3s; }
.cinfo__row dd a:hover { color: var(--signal); }
.cinfo__row dd small { display: block; font-weight: 400; font-size: .86rem; color: var(--steel-500); margin-top: .2rem; }
@media (max-width: 560px) { .cinfo__row { grid-template-columns: 1fr; gap: .3rem; } }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 1.45rem 1rem .68rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .95rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field select { cursor: pointer; padding-top: 1.45rem; }
.field label {
  position: absolute;
  left: 1rem; top: 1.05rem;
  font-size: .95rem;
  color: var(--steel-500);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .28s var(--e-out), color .28s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--signal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,90,31,.12);
}
.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field.has-val label {
  transform: translateY(-13px) scale(.74);
  color: var(--signal);
}
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: #D92D20; }
.field__err { display: none; font-size: .76rem; color: #D92D20; margin-top: .35rem; }
.field.is-bad .field__err { display: block; }

.check-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .84rem;
  color: var(--steel-500);
  line-height: 1.55;
}
.check-line input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--signal); }
.check-line a { text-decoration: underline; text-underline-offset: 2px; }

.form__note {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.form__ok {
  display: none;
  padding: 1.1rem 1.3rem;
  background: rgba(255,90,31,.08);
  border-left: 3px solid var(--signal);
  font-size: .92rem;
  color: var(--steel-700);
}
.form__ok.is-on { display: block; animation: fadeUp .5s var(--e-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.map-frame {
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,24,27,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,27,.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-frame__pin { position: relative; z-index: 2; }
.map-frame__pin b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.map-frame__pin span { font-family: var(--ff-mono); font-size: .74rem; color: var(--steel-500); }
.map-frame__dot {
  width: 16px; height: 16px;
  background: var(--signal);
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
}
.map-frame__dot::after {
  content: "";
  position: absolute; inset: -8px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  animation: ping 2.2s var(--e-out) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- 21. REFERENZ-KARTEN ---------- */
.ref {
  position: relative;
  overflow: hidden;
  background: var(--steel-900);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.ref img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(.6) brightness(.6);
  transition: transform 1.1s var(--e-out), filter .6s;
}
.ref::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,9,10,.94) 6%, rgba(8,9,10,.35) 62%, rgba(8,9,10,.5));
}
.ref:hover img { transform: scale(1.07); filter: grayscale(.15) brightness(.72); }
.ref__body { padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: #fff; width: 100%; }
.ref__meta {
  font-family: var(--ff-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: .75rem;
}
.ref__body h3 { color: #fff; margin-bottom: .6rem; }
.ref__body p { font-size: .92rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.ref__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.ref__facts div b {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.ref__facts div span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ---------- 22. ZITAT ---------- */
.quote {
  max-width: 30ch;
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.032em;
}
.quote__mark {
  font-size: 3.6rem;
  line-height: .6;
  color: var(--signal);
  display: block;
  margin-bottom: .6rem;
}
.quote__by {
  display: block;
  font-style: normal;
  margin-top: 1.6rem;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-400);
  font-weight: 400;
}

/* ---------- 23. FOOTER ---------- */
.ftr { background: var(--ink); color: var(--steel-400); position: relative; overflow: hidden; }
.ftr::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .12; mix-blend-mode: overlay; pointer-events: none;
}
.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-block: clamp(3.4rem, 2rem + 5vw, 6rem);
  position: relative; z-index: 2;
}
@media (max-width: 960px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }
.ftr .logo__name { color: #fff; }
.ftr__about { max-width: 40ch; font-size: .92rem; line-height: 1.68; margin-top: 1.5rem; color: var(--steel-400); }
.ftr h5 {
  font-family: var(--ff-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 1.35rem;
}
.ftr ul { display: grid; gap: .68rem; }
.ftr ul a {
  font-size: .92rem;
  color: var(--steel-300);
  transition: color .3s, transform .3s var(--e-out);
  display: inline-block;
}
.ftr ul a:hover { color: var(--signal); transform: translateX(4px); }
.ftr address { font-style: normal; font-size: .92rem; line-height: 1.75; color: var(--steel-300); }
.ftr address a:hover { color: var(--signal); }
.ftr__bot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--steel-500);
  position: relative; z-index: 2;
}
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.ftr__bot a:hover { color: var(--signal); }

.ftr__wordmark {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(3rem, 1rem + 13vw, 13rem);
  line-height: .8;
  letter-spacing: -.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.038);
  padding-bottom: clamp(.6rem, .4rem + 1vw, 1.4rem);
  user-select: none;
  position: relative; z-index: 1;
  white-space: nowrap;
  overflow: hidden;
}

/* Back to top */
.totop {
  position: fixed;
  right: clamp(1rem, .5rem + 1.4vw, 1.9rem);
  bottom: clamp(1rem, .5rem + 1.4vw, 1.9rem);
  width: 48px; height: 48px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  z-index: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s var(--e-out), visibility .4s, background .3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--signal); }
.totop svg { width: 17px; height: 17px; }

/* ---------- 24. SCROLL-REVEAL ---------- */
[data-rv] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--e-out), transform .95s var(--e-out);
  transition-delay: var(--rvd, 0ms);
}
[data-rv="left"]  { transform: translateX(-34px); }
[data-rv="right"] { transform: translateX(34px); }
[data-rv="scale"] { transform: scale(.955); }
[data-rv="clip"]  { opacity: 1; clip-path: inset(0 100% 0 0); transform: none; transition: clip-path 1.15s var(--e-io); }
[data-rv].is-vis  { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* ---------- 25. UTILITIES ---------- */
.hr { height: 1px; background: var(--line); border: 0; }
.dark .hr { background: rgba(255,255,255,.12); }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.mt-4 { margin-top: 3.4rem; }
.mb-2 { margin-bottom: 1.6rem; }
.mb-3 { margin-bottom: 2.4rem; }
.center { text-align: center; }
.center .sect-head { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.flex-acts { display: flex; flex-wrap: wrap; gap: .85rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem,.6rem + 1.4vw,1.6rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem,.6rem + 1.4vw,1.6rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(1rem,.6rem + 1.4vw,1.6rem); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 2.8rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: .7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.05rem; color: var(--steel-600); }
.prose ul { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.prose ul li { position: relative; padding-left: 1.2rem; color: var(--steel-600); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; background: var(--signal); transform: rotate(45deg);
}
.prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-500);
  background: #fff;
}
.pill i { width: 6px; height: 6px; background: #12B76A; border-radius: 50%; box-shadow: 0 0 0 3px rgba(18,183,106,.18); }
.dark .pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: var(--steel-300); }

/* Demo-Hinweis */
.demo-note {
  position: fixed;
  left: 0; bottom: 0;
  z-index: 690;
  background: var(--ink);
  color: rgba(255,255,255,.62);
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .5rem .9rem;
  border-top-right-radius: 6px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-right: 1px solid rgba(255,255,255,.14);
}
.demo-note b { color: var(--signal); }
@media (max-width: 760px) { .demo-note { display: none; } }

/* ---------- 26. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero h1 .ln > span { transform: none !important; }
  .hero__copy, .hero__actions, .hero__specs { opacity: 1 !important; transform: none !important; }
  .split__media .frame::after { display: none; }
  .split__media img { transform: none !important; }
}

/* ---------- 27. PRINT ---------- */
@media print {
  .hdr, .mmenu, .totop, .preload, .progress, .cursor, .cursor-dot, .demo-note, .marquee { display: none !important; }
  .dark, .phero, .hero { background: #fff !important; color: #000 !important; }
  .dark h1, .dark h2, .dark h3, .phero h1 { color: #000 !important; }
  body { font-size: 11pt; }
}
