/* ==========================================================================
   WEBDUNK — Showcase Landingpage (Fullpage-Slideshow)
   Datei : assets/css/style.css
   Stil   : Clean & modern, ausschliesslich Schwarz / Weiss / Grau
   Hinweis: Reines CSS (kein @apply), unabhaengig vom Tailwind-Play-CDN.

   Modi
   - html.fp  : Fullpage-Slideshow aktiv (GSAP geladen). Jede .slide ist exakt
                einen Viewport hoch, der Track wird per transform verschoben.
   - ohne .fp : Fallback (kein JS / GSAP fehlt) — normale Scroll-Seite, jede
                Sektion mindestens einen Viewport hoch.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --ink: #0A0A0A;
  --graphite: #141414;
  --steel: #3F3F46;
  --slate: #6B6B6B;
  --line: #E2E2E2;
  --mist: #F5F5F5;
  --ash: #EDEDED;
  --white: #FFFFFF;

  --rail-w: 80px;              /* fixe linke Menueleiste */
  --bar-h: 56px;               /* Mobile Top-Bar */
  --dock-h: 52px;              /* Hoehe der Laufbaender am unteren Rand */

  /* Viewport-Hoehe: 100vh als Fallback, dvh wo verfuegbar (iOS-Toolbar-Bug).
     main.js setzt zusaetzlich --app-h aus window.innerHeight (aeltere iOS). */
  --app-h: 100vh;

  --ghost-light: #BDBDBD;      /* Seitenziffer auf hellen Slides */
  --ghost-dark: #A0A0A0;       /* Seitenziffer auf dunklen Slides (gut lesbar) */

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, .05, .36, 1);
}
@supports (height: 100dvh) { :root { --app-h: 100dvh; } }
@media (min-width: 768px) { :root { --dock-h: 64px; } }


/* --------------------------------------------------------------------------
   2 · RESET & BASIS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.screen--dark :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120, 120, 120, .35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate); }

.skip-link {
  position: fixed; left: -999px; top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px; border-radius: 4px;
}
.skip-link:focus { left: 12px; }

.mobile-bar { height: var(--bar-h); }


/* --------------------------------------------------------------------------
   3 · FULLPAGE-ENGINE — Deck, Track, Slides
   -------------------------------------------------------------------------- */
.with-rail { padding-left: 0; }
@media (min-width: 768px) { .with-rail { padding-left: var(--rail-w); } }

/* Fallback (ohne .fp): normale Seite mit sanftem Snap */
html:not(.fp) { scroll-snap-type: y proximity; }
.slide {
  position: relative;
  width: 100%;
  min-height: var(--app-h);
  scroll-snap-align: start;
}

/* Aktiver Fullpage-Modus: Dokument scrollt nicht mehr, nur noch der Track */
html.fp, html.fp body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;          /* kein Pull-to-Refresh / Bounce */
}
html.fp .deck {
  position: fixed; inset: 0; z-index: 1;
  overflow: hidden;
  overflow: clip;                     /* verhindert Fokus-Scroll im Container */
  padding-left: 0;
}
@media (min-width: 768px) { html.fp .deck { left: var(--rail-w); } }

html.fp .deck__track { position: relative; will-change: transform; backface-visibility: hidden; }

html.fp .slide {
  height: var(--app-h);
  min-height: 0;
  overflow: hidden;                   /* Hintergrund + Dock bleiben fix */
  contain: layout paint;
}

/* Inhalt einer Slide: scrollt INTERN, falls er hoeher als der Viewport ist.
   Erst am oberen/unteren Ende loest Rad/Wisch den Slide-Wechsel aus. */
.slide__scroller { position: relative; z-index: 1; }
html.fp .slide__scroller {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, .35) transparent;
}

.screen__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: var(--app-h);
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--bar-h) + 2.5rem);
  padding-bottom: calc(var(--dock-pad, 0px) + 4.5rem);
}
html.fp .screen__inner { min-height: 100%; }
@media (min-width: 768px) {
  .screen__inner { padding-top: 5rem; padding-bottom: calc(var(--dock-pad, 0px) + 5rem); }
}
/* Hero: Platz fuer Scroll-Pfeil ueber dem Laufband */
#home .screen__inner { padding-bottom: calc(var(--dock-pad, 0px) + 6.5rem); }

/* Slides mit Laufband am unteren Rand */
.slide.has-dock { --dock-pad: var(--dock-h); }

.screen--dark { background: var(--ink); color: #fff; }
.screen--light { background: var(--white); color: var(--ink); }
.screen--mist { background: var(--mist); }

/* Footer als letzte Slide */
.slide--footer .footer-inner {
  min-height: var(--app-h);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--bar-h) + 2.5rem); padding-bottom: 2.5rem;
}
html.fp .slide--footer .footer-inner { min-height: 100%; }
@media (min-width: 768px) { .slide--footer .footer-inner { padding-top: 4rem; } }

/* Seiten-Punkte rechts (Desktop) */
.fp-dots { display: none; }
@media (min-width: 1024px) {
  html.fp .fp-dots {
    position: fixed; right: 22px; top: 50%; z-index: 30;
    display: flex; flex-direction: column; gap: 10px;
    transform: translateY(-50%);
    mix-blend-mode: difference;                    /* sichtbar auf hell & dunkel */
  }
}
.fp-dot {
  width: 8px; height: 8px; border-radius: 99px; padding: 0;
  background: rgba(255, 255, 255, .35);
  transition: height .45s var(--ease-out), background-color .45s var(--ease-out);
}
.fp-dot:hover { background: rgba(255, 255, 255, .7); }
.fp-dot.is-active { height: 26px; background: #fff; }


/* --------------------------------------------------------------------------
   4 · TYPOGRAFIE-BAUSTEINE
   -------------------------------------------------------------------------- */
.hero-title {
  font-size: clamp(3.4rem, 15vw, 13.5rem);
  font-weight: 900; line-height: .9; letter-spacing: -0.055em; margin: 0;
}
.section-title {
  font-size: clamp(2.4rem, 7.2vw, 6rem);
  font-weight: 800; line-height: .94; letter-spacing: -0.045em; margin: 0;
}
.section-sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.62; max-width: 48ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--slate);
}
.eyebrow--light { color: rgba(255, 255, 255, .5); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; flex: none; }

.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 .35rem; opacity: .55;
}
.meta-value { margin: 0; font-size: .95rem; }


/* --------------------------------------------------------------------------
   5 · BUTTONS & CHIPS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 14px 26px; font-size: .9rem; font-weight: 500;
  border-radius: 99px; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out),
              border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translate3d(0, 2px, 0); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ash); }
.btn--ghost-dark { border-color: #cfcfcf; color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: #fff; border-color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 99px;
  font-size: .78rem; letter-spacing: .02em;
  border: 1px solid var(--line); background: #fff;
}
.chip--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); }
.chip--filter { transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out); }
.chip--filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.screen--dark .chip--filter.is-active { background: #fff; color: var(--ink); border-color: #fff; }


/* --------------------------------------------------------------------------
   MARKEN-LOGO
   -------------------------------------------------------------------------- */
.brand-logo { display: block; width: auto; height: 34px; }
.brand-logo--rail { width: 44px; height: auto; margin: 0 auto; transition: opacity .35s var(--ease-out); }
.rail-brand:hover .brand-logo--rail { opacity: .7; }
.brand-logo--invert { filter: invert(1); }


/* --------------------------------------------------------------------------
   6 · FIXE LINKE MENÜLEISTE (RAIL)
   -------------------------------------------------------------------------- */
.rail { width: var(--rail-w); }
.rail-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }

.rail-link {
  position: relative;
  display: flex; width: 100%; align-items: center; justify-content: center; gap: .75rem;
  padding: .7rem .5rem; border-radius: 4px;
  font-size: .82rem; color: var(--slate);
  transition: color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.rail-link__num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; opacity: .7; }

.rail-link::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 0;
  background: var(--ink); transform: translateY(-50%);
  transition: height .45s var(--ease-out);
}
.rail-link:hover, .rail-link.is-active { color: var(--ink); background: var(--mist); }
.rail-link.is-active::before { height: 60%; }

.rail-link::after {
  content: attr(data-label);
  position: absolute; left: calc(100% + 10px); top: 50%;
  transform: translate3d(-10px, -50%, 0) scale(.94);
  transform-origin: left center;
  background: var(--ink); color: #fff;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 3px; white-space: nowrap; z-index: 6;
  opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .42s var(--ease-out);
}
.rail-link:hover::after, .rail-link:focus-visible::after {
  opacity: 1; transform: translate3d(0, -50%, 0) scale(1);
}

.rail-menu { display: flex; width: 100%; align-items: center; justify-content: center; gap: .7rem; padding: .6rem 1rem; }
.rail-menu__icon { display: inline-flex; width: 22px; height: 10px; flex-direction: column; justify-content: space-between; }
.rail-menu__icon span {
  display: block; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}
.rail-menu:hover .rail-menu__icon span:last-child { width: 60%; }


/* --------------------------------------------------------------------------
   7 · HALF-SCREEN OVERLAY DRAWER (50vw Desktop / 100vw Mobile)
   -------------------------------------------------------------------------- */
.drawer {
  width: 100vw;
  height: var(--app-h);
  transform: translate3d(-100%, 0, 0);
  border-right: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .22);
  will-change: transform;
}
@media (min-width: 768px) { .drawer { width: 50vw; } }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.drawer-backdrop[hidden] { display: none; }

.drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.drawer-close:hover { background: var(--ink); color: #fff; }

.drawer-link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 600; letter-spacing: -0.03em; color: var(--slate);
  transition: color .4s var(--ease-out), padding-left .5s var(--ease-out);
}
.drawer-link:hover, .drawer-link.is-active { color: var(--ink); padding-left: .6rem; }
.drawer-link__num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; opacity: .6; }
.drawer-link__arrow {
  margin-left: auto; opacity: 0; transform: translate3d(-8px, 0, 0);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.drawer-link:hover .drawer-link__arrow { opacity: 1; transform: none; }


/* --------------------------------------------------------------------------
   8 · HERO-ATMOSPHÄRE + SCROLL-INDIKATOR (Pfeil nach unten)
   -------------------------------------------------------------------------- */
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: 0;
  background:
    radial-gradient(60% 55% at 22% 34%, rgba(255, 255, 255, .13), transparent 70%),
    radial-gradient(45% 45% at 82% 12%, rgba(255, 255, 255, .07), transparent 72%);
  filter: blur(6px); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
}

.scroll-cue {
  position: absolute; left: 50%; z-index: 4;
  bottom: calc(var(--dock-pad, 0px) + 18px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  transition: color .35s var(--ease-out);
}
.scroll-cue:hover { color: #fff; }
.scroll-cue__label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.scroll-cue__arrow {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .28);
  animation: cueBounce 2.2s var(--ease-inout) infinite;
}
.scroll-cue__arrow svg { width: 18px; height: 18px; }
.scroll-cue:hover .scroll-cue__arrow { border-color: #fff; }
@keyframes cueBounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, 7px, 0); }
}
@media (max-height: 640px) { .scroll-cue__label { display: none; } }

/* Film-Grain über der gesamten Seite */
.grain {
  position: fixed; inset: -200%; z-index: 60; pointer-events: none; opacity: .22;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
  mix-blend-mode: multiply;
}
@keyframes grainShift {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-3%, 2%, 0); }
  40%  { transform: translate3d(2%, -3%, 0); }
  60%  { transform: translate3d(-2%, -2%, 0); }
  80%  { transform: translate3d(3%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Slide-Fortschritt oben (difference => sichtbar auf hell & dunkel) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.scroll-progress__bar {
  display: block; height: 100%; width: 0%;
  background: #fff; mix-blend-mode: difference;
  transition: width .9s var(--ease-inout);
}

/* Custom Cursor (nur Zeigegeräte) */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 65; pointer-events: none;
  border-radius: 99px; opacity: 0; mix-blend-mode: difference;
  transition: opacity .3s linear;
}
.cursor--dot { width: 6px; height: 6px; background: #fff; margin: -3px 0 0 -3px; }
.cursor--ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(255, 255, 255, .8);
  transition: opacity .3s linear, width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), background-color .35s var(--ease-out);
}
.cursor--ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .18); }
.cursor-visible .cursor { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }


/* --------------------------------------------------------------------------
   9 · LAUFBÄNDER / MARQUEES — immer unten am Bildschirmrand (Dock)
   Endlos-Loop per GSAP (xPercent -> translate3d). Ohne GSAP: CSS-Keyframes.
   -------------------------------------------------------------------------- */
.marquee {
  position: relative; z-index: 3;
  display: flex; align-items: center; overflow: hidden;
  border-top: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.marquee--dock {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--dock-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.marquee--dark { background: var(--ink); color: #fff; border-color: rgba(255, 255, 255, .12); }
.marquee--mist { background: var(--mist); color: var(--slate); }

.marquee__track { display: flex; flex: none; will-change: transform; transform: translate3d(0, 0, 0); }
.marquee__group {
  display: flex; flex: none; align-items: center;
  gap: clamp(24px, 3vw, 42px); padding-right: clamp(24px, 3vw, 42px);
  white-space: nowrap;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 42px);
  font-size: clamp(.95rem, 1.6vw, 1.45rem);
  font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase;
}
.marquee__item::after {
  content: ''; width: 6px; height: 6px; border-radius: 99px; background: currentColor; opacity: .35;
}
.marquee--css .marquee__track { animation: marqueeLoop 32s linear infinite; }
.marquee--css[data-marquee="reverse"] .marquee__track { animation-direction: reverse; }
@keyframes marqueeLoop { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }


/* --------------------------------------------------------------------------
   10 · SEITENZIFFERN (Ghost-Nummern) — unten rechts, ueber dem Dock
   -------------------------------------------------------------------------- */
.ghost {
  position: absolute; z-index: 0;
  right: clamp(1rem, 3vw, 3rem);
  bottom: calc(var(--dock-pad, 0px) + clamp(.75rem, 2vh, 1.5rem));
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 900; line-height: .8; letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ghost-stroke, var(--ghost-light));
  pointer-events: none; user-select: none;
}
.screen--light .ghost { --ghost-stroke: var(--ghost-light); }
.screen--dark  .ghost { --ghost-stroke: var(--ghost-dark); }
/* Fallback ohne text-stroke: gefuellte, graue Ziffer */
@supports not (-webkit-text-stroke: 1px black) {
  .ghost { color: var(--ghost-stroke, var(--ghost-light)); opacity: .35; }
}
/* Unterpunkt (z. B. 3.1 Print Specs): etwas kraeftiger, damit die Zahl gut lesbar ist */
.ghost--sub { -webkit-text-stroke-width: 2px; letter-spacing: -0.04em; }
.screen--dark .ghost--sub { --ghost-stroke: #B4B4B4; }

/* Hero: bewusst graue, gut sichtbare Ziffer "1" */
#home .ghost { --ghost-stroke: var(--ghost-dark); }

@media (max-width: 767.98px) {
  .ghost { font-size: clamp(4rem, 22vw, 7rem); opacity: .7; }
}


/* --------------------------------------------------------------------------
   11 · SPLIT-TEXT + REVEAL-BASIS
   -------------------------------------------------------------------------- */
.split-line { display: block; overflow: hidden; padding-bottom: .04em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split-char, .split-inner { display: inline-block; will-change: transform; }

/* Nur mit aktivem JS vorab verstecken (sonst bleibt ohne JS alles sichtbar) */
.js [data-reveal] { opacity: 0; }
.js [data-hero] { opacity: 0; }
.js .split-char, .js .split-inner { transform: translate3d(0, 110%, 0); }
/* Nach dem Einblenden (oder per Failsafe) bleiben Headlines garantiert sichtbar */
.js .is-entered .split-char, .js .is-entered .split-inner { transform: none; }


/* --------------------------------------------------------------------------
   12 · KLICK-LOTSE — Ablauf in 4 Schritten (ersetzt die Demo-Vorschau)
   -------------------------------------------------------------------------- */
.kl-process {
  position: relative; overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 18px;
  background: var(--ink); color: #fff;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .6);
}
.kl-process::before {                      /* dezenter Lichtschein oben rechts */
  content: ''; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent);
  pointer-events: none;
}
.kl-process__title {
  margin: .6rem 0 0; max-width: 24ch;
  font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em;
}
.kl-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: none; }
.kl-step {
  position: relative;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: .9rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: padding-left .5s var(--ease-out);
}
.kl-step:hover { padding-left: .4rem; }
.kl-step__num {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .8);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.kl-step:hover .kl-step__num { background: #fff; color: var(--ink); border-color: #fff; }
.kl-step__title { margin: .3rem 0 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }
.kl-step__text { margin: .3rem 0 0; font-size: .86rem; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.kl-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: .7rem 0 0; padding: 0; }
.kl-tags li {
  padding: 5px 11px; border-radius: 99px; font-size: .74rem;
  border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .8);
}
.kl-process__foot {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12);
}

/* --------------------------------------------------------------------------
   13 · KARTEN, PANELS & LISTEN
   -------------------------------------------------------------------------- */
.panel { border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.panel--dark { background: var(--graphite); border-color: rgba(255, 255, 255, .1); color: #fff; }
.panel--pad { padding: 26px; }

.benefit {
  padding: 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: transform .6s var(--ease-out), border-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.benefit:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .5); }
.benefit__idx { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: var(--slate); }
.benefit__title { margin: 10px 0 6px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.benefit__text { margin: 0; font-size: .9rem; line-height: 1.62; color: var(--slate); }
.screen--dark .benefit { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
.screen--dark .benefit__text { color: rgba(255, 255, 255, .6); }

.work-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  min-height: 160px; padding: 20px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; isolation: isolate;
  transition: color .6s var(--ease-out), border-color .6s var(--ease-out);
}
.work-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translate3d(0, 101%, 0); transition: transform .75s var(--ease-inout);
}
.work-card:hover { color: #fff; border-color: var(--ink); }
.work-card:hover::after { transform: translate3d(0, 0, 0); }
.work-card__meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: var(--slate); transition: color .6s var(--ease-out); }
.work-card__title { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.work-card__url { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--slate); transition: color .6s var(--ease-out); }
.work-card:hover .work-card__meta, .work-card:hover .work-card__url { color: rgba(255, 255, 255, .62); }
.work-card__arrow { transition: transform .6s var(--ease-out); }
.work-card:hover .work-card__arrow { transform: translate3d(5px, -5px, 0); }
.work-card.is-hidden { display: none; }

.screen--dark .work-card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
.screen--dark .work-card::after { background: #fff; }
.screen--dark .work-card:hover { color: var(--ink); border-color: #fff; }
.screen--dark .work-card__meta, .screen--dark .work-card__url { color: rgba(255, 255, 255, .5); }
.screen--dark .work-card:hover .work-card__meta,
.screen--dark .work-card:hover .work-card__url { color: rgba(10, 10, 10, .62); }

.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { position: relative; padding-left: 18px; font-size: .88rem; line-height: 1.9; color: var(--slate); }
.service-list li::before { content: ''; position: absolute; left: 0; top: .82em; width: 6px; height: 1px; background: currentColor; }


/* --------------------------------------------------------------------------
   14 · NEWSLETTER- & WHATSAPP-KARTE (Teil von 04 · Shopdunk & Support)
   -------------------------------------------------------------------------- */
.nl-box {
  margin: 2.5rem auto 0;
  width: 100%;
  max-width: 760px;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  background: #F4F4F4;
  border: 1px solid #E0E0E0;
  border-radius: 18px;
}
.nl-box__title {
  margin: .9rem auto 0; max-width: 22ch;
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em;
}
.nl-box__actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.nl-form { display: flex; flex-direction: column; gap: .7rem; width: 100%; max-width: 540px; }
@media (min-width: 640px) { .nl-form { flex-direction: row; } }
.nl-input {
  flex: 1; min-width: 0; height: 50px; padding: 0 20px;
  border: 1px solid #D4D4D4; border-radius: 99px; background: #fff; color: var(--ink);
  font: inherit; font-size: .92rem;
  transition: border-color .35s var(--ease-out);
}
.nl-input::placeholder { color: #9a9a9a; }
.nl-input:focus { outline: none; border-color: var(--ink); }
.nl-input[aria-invalid="true"] { border-color: #c0392b; }
.nl-status { min-height: 1.1rem; margin: 0; font-size: .8rem; color: var(--steel); }
.nl-box__or {
  display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 280px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate);
}
.nl-box__or::before, .nl-box__or::after { content: ''; flex: 1; height: 1px; background: #DADADA; }
/* Dunkle Variante, falls die Karte in einer dunklen Sektion steht */
.screen--dark .nl-box { background: #1A1A1A; border-color: #2C2C2C; }
.screen--dark .nl-input { background: #0F0F0F; border-color: #333; color: #fff; }


/* --------------------------------------------------------------------------
   15 · TEXTIL-VISUALS
   -------------------------------------------------------------------------- */
.tee svg { overflow: visible; }
.tee__body { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; }
.tee__print-area { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; stroke-dasharray: 7 6; }
.tee__logo { fill: #fff; font: 700 15px 'Inter', sans-serif; letter-spacing: .2em; }
.tee__logo-sub { fill: rgba(255, 255, 255, .55); font: 400 7px 'JetBrains Mono', monospace; letter-spacing: .28em; }

.swatch { position: relative; height: 104px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.swatch::after {
  content: ''; position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.swatch--cotton { background: repeating-linear-gradient(45deg, #f4f4f4 0 6px, #e8e8e8 6px 12px); }
.swatch--fleece { background: repeating-linear-gradient(90deg, #303030 0 5px, #232323 5px 10px); }
.swatch--workwear { background: repeating-linear-gradient(0deg, #1B1B1B 0 6px, #262626 6px 12px); }
.swatch__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.swatch--cotton .swatch__label { color: var(--ink); }
.swatch:not(.swatch--cotton) .swatch__label { color: #fff; }


/* --------------------------------------------------------------------------
   16 · PRINT-SPECS (Unterpunkt von 03 · Textilpresser)
   -------------------------------------------------------------------------- */
.spec-list { margin: 0; border-bottom: 1px solid var(--line); }
.spec-row { display: grid; gap: .35rem; padding: 15px 0; border-top: 1px solid var(--line); }
.spec-row dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.spec-row dd { margin: 0; font-size: .92rem; line-height: 1.55; }
@media (min-width: 900px) { .spec-row { grid-template-columns: 200px 1fr; align-items: baseline; gap: 1.5rem; } }
.screen--dark .spec-list,
.screen--dark .spec-row { border-color: rgba(255, 255, 255, .12); }
.screen--dark .spec-row dt { color: rgba(255, 255, 255, .5); }
.screen--dark .spec-row dd { color: rgba(255, 255, 255, .82); }


/* --------------------------------------------------------------------------
   17 · ACCORDION (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid rgba(255, 255, 255, .14); }
.acc:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.acc__head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 0; text-align: left; }
.acc__title { font-size: 1rem; font-weight: 500; }
.acc__icon { position: relative; width: 14px; height: 14px; flex: none; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; background: currentColor; transition: transform .45s var(--ease-out); }
.acc__icon::before { left: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
.acc__icon::after { top: 0; left: 50%; height: 100%; width: 1px; transform: translateX(-50%); }
.acc.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__panel { overflow: hidden; height: 0; }
.acc__inner { padding-bottom: 22px; font-size: .88rem; line-height: 1.75; color: rgba(255, 255, 255, .62); }
.acc__inner h4 { margin: 1.1rem 0 .3rem; font-size: .92rem; color: #fff; }
.acc__inner h4:first-child { margin-top: 0; }
.acc__inner p { margin: 0 0 .55rem; }
.acc__inner a { text-decoration: underline; text-underline-offset: 3px; }


/* --------------------------------------------------------------------------
   18 · FORMULAR (dunkle Sektion)
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.field__input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: #fff; padding: 11px 0; font-size: .95rem; font-family: inherit; border-radius: 0;
  transition: border-color .4s var(--ease-out);
}
.field__input::placeholder { color: rgba(255, 255, 255, .28); }
.field__input:focus { outline: none; border-color: #fff; }
select.field__input { appearance: none; }
select.field__input option { color: #0A0A0A; }
.field--error .field__input { border-color: #ff9a9a; }
.field__error { min-height: .9rem; margin: 0; font-size: .75rem; color: #ff9a9a; }

.checkbox { display: flex; align-items: flex-start; gap: .7rem; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.checkbox .field__input { width: auto; flex: none; margin-top: .22rem; padding: 0; border: 0; accent-color: #fff; }

.form-status { margin: 0; font-size: .85rem; color: #fff; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.form-status.is-visible { opacity: 1; transform: none; }


/* --------------------------------------------------------------------------
   19 · FOOTER & MISC
   -------------------------------------------------------------------------- */
.to-top {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); transition: color .4s var(--ease-out);
}
.to-top:hover { color: #fff; }
.to-top svg { transition: transform .45s var(--ease-out); }
.to-top:hover svg { transform: translate3d(0, -3px, 0); }

.footer-head { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer-link { font-size: .85rem; color: rgba(255, 255, 255, .62); transition: color .4s var(--ease-out); }
.footer-link:hover { color: #fff; }


/* --------------------------------------------------------------------------
   20 · BARRIEREFREIHEIT / REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js [data-hero], .js .split-char, .js .split-inner {
    opacity: 1 !important;
    transform: none !important;
  }
  .grain { animation: none; }
}