/* ==========================================================================
   Fadenwerk Textilveredelung – Startseite
   ========================================================================== */

:root {
  /* Farben – abgeleitet aus dem Logo (#9BA281) */
  --ink: #14160f;
  --ink-2: #1b1e15;
  --ink-3: #272b1f;
  --linen: #f3f0e8;
  --linen-2: #e9e4d7;
  --paper: #faf8f3;
  --sage: #9ba281;
  --sage-l: #b9be9e;
  --sage-d: #646b4c;
  --sage-dd: #40452f;
  --thread: #d9d9d6;
  --text: #23251d;
  --muted: #6c6f60;
  --on-dark: #ecebe2;
  --on-dark-muted: #a9ab9c;
  --line: rgba(35, 37, 29, .12);
  --line-dark: rgba(236, 235, 226, .12);

  /* Schriften */
  --f-brand: 'Rosarivo', Georgia, 'Times New Roman', serif;
  --f-sc: 'Marcellus SC', Georgia, serif;
  --f-script: 'Alex Brush', 'Brush Script MT', cursive;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --nav-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-sc);
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-d);
}
[data-theme="dark"] .eyebrow { color: var(--sage-l); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot--pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(185, 190, 158, .6); } 50% { box-shadow: 0 0 0 7px rgba(185, 190, 158, 0); } }

.h2 {
  font-family: var(--f-brand);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-top: .35em;
}
.h2 em { color: var(--sage-d); }
[data-theme="dark"] .h2 em { color: var(--sage-l); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--linen);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--sage); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--light { --bg: var(--linen); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(236, 235, 226, .35); }
.btn--sm { padding: .8em 1.25em; font-size: .88rem; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-dark);
  transition: clip-path 1.1s cubic-bezier(.75, 0, .2, 1), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__mark { width: 92px; height: auto; overflow: visible; }
.loader__thread { fill: none; stroke: var(--sage); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards .1s; }
.loader__needle { fill: var(--thread); opacity: 0; transform-box: fill-box; animation: needleIn 1s var(--ease) forwards .25s; }
.loader__word { font-family: var(--f-brand); font-size: 1.6rem; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; color: var(--sage-l); }
.loader__count { font-family: var(--f-sc); font-size: .85rem; letter-spacing: .2em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes needleIn { from { opacity: 0; translate: -18px -24px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding-inline: var(--gutter);
  color: var(--text);
  transition: color .5s var(--ease), background-color .5s var(--ease), transform .6s var(--ease), backdrop-filter .5s;
}
.nav::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 240, 232, .78);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-scrolled::after { opacity: 1; }
.nav.is-dark { color: var(--on-dark); }
.nav.is-dark::after { background: rgba(20, 22, 15, .62); border-bottom-color: var(--line-dark); }
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__signet { width: 30px; height: 34px; overflow: visible; }
.nav__signet .t { fill: none; stroke: currentColor; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.nav__signet .n { fill: currentColor; }
.nav__type { display: grid; line-height: 1; }
.nav__word { font-family: var(--f-brand); font-size: 1.32rem; letter-spacing: .2em; text-transform: uppercase; }
.nav__sub { font-family: var(--f-sc); font-size: .6rem; letter-spacing: .38em; text-transform: uppercase; opacity: .7; margin-top: 5px; }

.nav__links { display: flex; gap: clamp(14px, 2vw, 32px); font-size: .92rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links em, .menu__links em {
  font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 99px; background: var(--sage); color: var(--ink); vertical-align: 2px; margin-left: 2px;
}
.nav__phone { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav__phone svg { width: 16px; height: 16px; fill: currentColor; opacity: .8; }
.nav.is-dark .nav__cta { --bg: var(--linen); --fg: var(--ink); }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .8s cubic-bezier(.75, 0, .2, 1);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu-open .nav { color: var(--on-dark); }
.menu-open .nav::after { opacity: 0; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { font-family: var(--f-brand); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15; display: flex; align-items: baseline; gap: 14px; }
.menu__links small { font-family: var(--f-sc); font-size: .8rem; color: var(--sage); letter-spacing: .15em; }
.menu__contact { display: grid; gap: 6px; color: var(--on-dark-muted); font-size: .95rem; }
.menu__contact a { color: var(--on-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--ink); color: var(--on-dark); }
.hero__stage {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 72% 38%, #2c3122 0%, rgba(44, 49, 34, 0) 70%),
    radial-gradient(ellipse 60% 50% at 10% 100%, #1f2318 0%, rgba(31, 35, 24, 0) 70%),
    var(--ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.hero__content {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 7vh, 80px);
  display: grid; justify-items: start; pointer-events: none;
}
.hero__content > * { pointer-events: auto; }
.hero__eyebrow { color: var(--sage-l); margin-bottom: clamp(4px, 1vh, 14px); }
.hero__title {
  font-family: var(--f-brand); font-weight: 400;
  font-size: clamp(3.2rem, 12.2vw, 13rem);
  line-height: .86; letter-spacing: .01em;
  text-transform: uppercase;
  perspective: 900px;
  color: var(--linen);
  margin-left: -.04em;
}
.hero__letters { display: inline-flex; transform-style: preserve-3d; }
.hero__letters > span {
  display: inline-block; transform-origin: 50% 100% -0.2em;
  backface-visibility: hidden;
  background: linear-gradient(180deg, #f6f3ea 30%, #b9be9e 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__by {
  font-family: var(--f-script); font-size: clamp(1.6rem, 2.8vw, 2.6rem); color: var(--sage-l);
  margin: -.15em 0 0 clamp(4px, 1vw, 16px); line-height: 1.1;
}
.hero__lead { max-width: 30ch; margin-top: clamp(10px, 2vh, 22px); color: var(--on-dark-muted); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 3vh, 30px); }

.hero__statement {
  position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%;
  max-width: min(560px, 86vw); opacity: 0; visibility: hidden; pointer-events: none;
}
.hero__statement h2 { font-family: var(--f-brand); font-weight: 400; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .95; margin: .25em 0 .4em; color: var(--linen); }
.hero__statement h2 em { color: var(--sage-l); }
.hero__statement p:last-child { color: var(--on-dark-muted); max-width: 42ch; }

.hero__eye-hint {
  position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%;
  max-width: 13ch;
  font-family: var(--f-brand); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.08; color: var(--linen);
  opacity: 0; visibility: hidden;
}
.hero__eye-hint span { color: var(--sage-l); display: block; }
.hero__eye-hint { text-shadow: 0 2px 18px rgba(20, 22, 15, .85), 0 0 2px rgba(20, 22, 15, .6); }
.hero__eye-hint::before {
  content: ''; position: absolute; inset: -60px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 40% 50%, rgba(20, 22, 15, .78) 0%, rgba(20, 22, 15, 0) 70%);
}

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 7vh, 80px);
  display: grid; justify-items: center; gap: 12px;
  font-family: var(--f-sc); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(var(--sage-l), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--linen); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.hero__portal {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px;
  border-radius: 999px; background: var(--linen);
  box-shadow: 0 0 40px 10px rgba(243, 240, 232, .55), 0 0 120px 40px rgba(185, 190, 158, .25);
  opacity: 0; pointer-events: none; will-change: transform, width, height;
}
.hero__flash { position: absolute; inset: 0; background: var(--linen); opacity: 0; pointer-events: none; display: grid; place-items: center; --p: 0; }
.hero__flash img {
  width: min(620px, 78vw);
  opacity: var(--p);
  transform: scale(calc(.88 + var(--p) * .12)) translateY(calc((1 - var(--p)) * 24px));
  filter: blur(calc((1 - var(--p)) * 6px));
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { position: relative; padding: clamp(40px, 8vh, 100px) 0 clamp(110px, 18vh, 200px); background: var(--linen); }
.intro__text {
  font-family: var(--f-brand); font-size: clamp(1.8rem, 4.2vw, 3.9rem); line-height: 1.14;
  max-width: 22ch; margin-top: 28px; color: var(--text);
}
.intro__text .w { opacity: .14; transition: none; }
.intro__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); margin-top: clamp(56px, 9vh, 110px); }
.intro__facts li { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.intro__num { font-family: var(--f-sc); font-size: .8rem; color: var(--sage-d); letter-spacing: .15em; }
.intro__facts strong { font-family: var(--f-brand); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.intro__facts span:last-child { color: var(--muted); font-size: .95rem; }
.intro__seam { position: absolute; left: 0; bottom: 18px; width: 100%; height: 90px; overflow: visible; }
.intro__seam path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-dasharray: 10 9; stroke-linecap: round; opacity: .7; }

/* ==========================================================================
   Leistungen – 3D Karussell
   ========================================================================== */
.services { position: relative; background: var(--linen); }
.services__pin {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 2vh); overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 72% 60%, #fbfaf5 0%, rgba(251, 250, 245, 0) 70%), var(--linen);
}
.services__head .h2 { font-size: clamp(2rem, 4.4vw, 4.2rem); }
.services__body { flex: 1; display: grid; grid-template-columns: minmax(280px, 1fr) 1.35fr; align-items: center; gap: clamp(20px, 4vw, 64px); min-height: 0; }

.services__info { position: relative; min-height: 380px; }
.services__count { font-family: var(--f-sc); letter-spacing: .14em; display: flex; align-items: baseline; gap: 8px; color: var(--sage-d); }
.services__current { font-size: 2.6rem; font-family: var(--f-brand); color: var(--text); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.services__total { font-size: .85rem; }
.svc {
  position: absolute; left: 0; right: 0; top: 74px;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s;
}
.svc.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease) .1s, transform .7s var(--ease) .1s, visibility 0s; }
.svc h3 { font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
.svc p { margin-top: 14px; color: var(--muted); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: .82rem; font-weight: 600; padding: .45em 1em; border-radius: 99px; border: 1px solid rgba(100, 107, 76, .35); color: var(--sage-dd); background: rgba(255, 255, 255, .45); }
.services__dots { position: absolute; left: 150px; top: 14px; display: flex; gap: 10px; }
.services__dots button { width: 28px; height: 28px; position: relative; }
.services__dots button::before { content: ''; position: absolute; inset: 11px 0; border-radius: 99px; background: rgba(100, 107, 76, .25); transition: background .4s, inset .4s var(--ease); }
.services__dots button.is-active::before { background: var(--sage-d); inset: 11px -6px; }

.ring-stage {
  --cw: clamp(220px, 23vw, 350px);
  position: relative; height: 100%; min-height: 0;
  perspective: 1800px; perspective-origin: 50% 40%;
  display: grid; place-items: center;
}
.ring {
  position: relative; width: var(--cw); aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r, 300px) * -1)) rotateX(-7deg) rotateY(0deg);
  will-change: transform;
}
.ring__card {
  position: absolute; inset: 0; margin: 0;
  border-radius: 18px; overflow: hidden;
  transform: rotateY(calc(var(--i) * 72deg)) translateZ(var(--r, 300px));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -20px rgba(31, 34, 24, .45), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  filter: brightness(var(--b, 1)) saturate(var(--s, 1));
  background: var(--linen-2);
}
.ring__card img { width: 100%; height: 100%; object-fit: cover; }
.ring__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 30%, rgba(20, 22, 15, 0) 55%, rgba(20, 22, 15, .65) 100%); pointer-events: none; }
.ring__card figcaption {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1;
  font-family: var(--f-brand); font-size: 1.5rem; color: var(--linen); display: flex; align-items: baseline; gap: 10px;
}
.ring__card figcaption span { font-family: var(--f-sc); font-size: .75rem; letter-spacing: .15em; color: var(--sage-l); }
.ring-shadow { position: absolute; left: 50%; bottom: 7%; width: calc(var(--cw) * 2.2); height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(40, 44, 30, .28) 0%, rgba(40, 44, 30, 0) 70%); filter: blur(6px); pointer-events: none; }

/* ==========================================================================
   Laufband
   ========================================================================== */
.marquee { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(60px, 11vh, 120px) 0; overflow: hidden; perspective: 1200px; }
.marquee__tilt { transform-style: preserve-3d; will-change: transform; }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__row + .marquee__row { margin-top: clamp(4px, 1vw, 12px); }
.marquee__track { display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); will-change: transform; }
.marquee__track span { font-family: var(--f-brand); font-size: clamp(3rem, 9vw, 8.5rem); line-height: 1.05; color: var(--linen); }
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.2px var(--sage-l); font-style: italic; }
.marquee__track i { font-style: normal; color: var(--sage); font-size: clamp(1.2rem, 2.4vw, 2.2rem); }

/* ==========================================================================
   Atelier
   ========================================================================== */
.atelier { padding: clamp(100px, 16vh, 190px) 0; background: var(--linen); overflow: hidden; }
.atelier__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.atelier__text > p:not(.eyebrow) { color: var(--muted); margin-top: 22px; max-width: 46ch; }
.atelier__text .h2 { margin-bottom: 8px; }
.atelier__sign { font-family: var(--f-script) !important; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--sage-d) !important; margin-top: 28px !important; line-height: 1; }
.atelier__stage { position: relative; perspective: 1400px; perspective-origin: 50% 0%; }
.atelier__media {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2;
  transform-origin: 50% 100%; transform-style: preserve-3d;
  box-shadow: 0 50px 80px -40px rgba(31, 34, 24, .5);
}
.atelier__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.atelier__badge {
  position: absolute; left: -46px; bottom: -46px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--ink); color: var(--sage-l); display: grid; place-items: center;
  box-shadow: 0 20px 40px -12px rgba(20, 22, 15, .5);
}
.atelier__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.atelier__badge text { fill: currentColor; font-family: var(--f-sc); font-size: 15.5px; letter-spacing: .24em; }
.atelier__badge > span { font-size: 1.6rem; color: var(--linen); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.process { padding: clamp(80px, 12vh, 150px) 0 clamp(100px, 15vh, 180px); background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(48px, 8vh, 90px); perspective: 1400px; }
.steps__seam { position: absolute; left: 0; right: 0; top: -38px; width: 100%; height: 60px; overflow: visible; }
.steps__seam-line { fill: none; stroke: var(--sage); stroke-width: 2.2; stroke-dasharray: 11 9; stroke-linecap: round; }
.steps__seam-draw { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step {
  position: relative; padding: 30px 26px 34px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  transform-origin: 50% 0%; transform-style: preserve-3d;
  box-shadow: 0 24px 50px -32px rgba(31, 34, 24, .35);
}
.step__no { font-family: var(--f-brand); font-size: 3.4rem; line-height: 1; color: var(--sage); display: block; }
.step h3 { font-family: var(--f-brand); font-weight: 400; font-size: 1.6rem; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: .97rem; }

/* ==========================================================================
   Für wen – Tilt-Karten
   ========================================================================== */
.audience { padding: clamp(60px, 10vh, 120px) 0 clamp(110px, 16vh, 190px); background: var(--paper); }
.audience__head { max-width: 800px; }
.audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 7vh, 80px); }
.tilt {
  position: relative; border-radius: 22px; perspective: 900px;
  transform-style: preserve-3d;
}
.tilt__inner {
  position: relative; height: 100%; padding: clamp(28px, 3vw, 40px);
  border-radius: inherit; background: var(--ink); color: var(--on-dark);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  display: grid; gap: 14px; align-content: start; min-height: 320px;
  overflow: hidden;
}
.tilt:nth-child(2) .tilt__inner { background: var(--sage-dd); }
.tilt:nth-child(3) .tilt__inner { background: var(--sage-d); }
.tilt.is-tilting .tilt__inner { transition: transform .12s linear; }
.tilt__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(236, 235, 226, .08); transform: translateZ(40px); }
.tilt__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--sage-l); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tilt h3 { font-family: var(--f-brand); font-weight: 400; font-size: 2rem; margin-top: 18px; transform: translateZ(30px); }
.tilt p { color: var(--on-dark-muted); transform: translateZ(20px); }
.tilt:nth-child(n+2) p { color: rgba(236, 235, 226, .78); }
.tilt__more { margin-top: auto; padding-top: 28px; font-family: var(--f-sc); font-size: .75rem; letter-spacing: .18em; color: var(--sage-l); transform: translateZ(25px); }
.tilt:nth-child(n+2) .tilt__more { color: var(--linen); }
.tilt__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 55%);
  opacity: 0; transition: opacity .4s; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tilt.is-tilting .tilt__glare { opacity: 1; }

/* ==========================================================================
   Shop-Teaser
   ========================================================================== */
.shop { position: relative; padding: clamp(100px, 16vh, 190px) 0; background: var(--ink-2); color: var(--on-dark); overflow: hidden; }
.shop::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(155, 162, 129, .18) 0%, rgba(155, 162, 129, 0) 70%); pointer-events: none; }
.shop__grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.shop__text > p:not(.eyebrow) { color: var(--on-dark-muted); margin: 22px 0 32px; max-width: 40ch; }
.shop__stage { perspective: 1300px; }
.shop__frame {
  position: relative; border-radius: 22px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -14deg));
  transition: transform .8s var(--ease);
}
.shop__frame img { border-radius: 22px; width: 100%; box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .7); }
.shop__tag {
  position: absolute; left: var(--x); top: var(--y);
  transform: translateZ(var(--z));
  padding: .55em 1.1em; border-radius: 99px;
  background: rgba(243, 240, 232, .92); color: var(--ink);
  font-weight: 600; font-size: .85rem; white-space: nowrap;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
}
.shop__tag--accent { background: var(--sage); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { position: relative; padding: clamp(110px, 18vh, 200px) 0; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; right: 0; top: 0; height: 100%; width: 75%; object-fit: cover; object-position: 70% 50%; opacity: .55; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(20, 22, 15, .6) 65%, rgba(20, 22, 15, .3) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(20, 22, 15, 0) 25%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact__text > p:not(.eyebrow) { color: var(--on-dark-muted); margin-top: 22px; max-width: 40ch; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard {
  position: relative; display: grid; gap: 6px; padding: 22px 24px; border-radius: 18px;
  background: rgba(236, 235, 226, .06); border: 1px solid var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s var(--ease), transform .5s var(--ease), border-color .4s;
}
.ccard:hover { background: rgba(155, 162, 129, .18); border-color: rgba(185, 190, 158, .4); transform: translateY(-3px); }
.ccard--wide { grid-column: 1 / -1; }
.ccard__label { font-family: var(--f-sc); font-size: .72rem; letter-spacing: .2em; color: var(--sage-l); text-transform: uppercase; }
.ccard__value { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; overflow-wrap: anywhere; }
.ccard__hint { position: absolute; right: 22px; top: 20px; font-size: .8rem; color: var(--on-dark-muted); }
.contact__note { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: .92rem; margin-top: 6px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 60px 0 40px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 60px; align-items: center; }
.footer__logo { width: clamp(170px, 18vw, 230px); margin: -26px 0 -30px -16px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; color: var(--on-dark); font-size: .95rem; }
.footer__nav a:hover, .footer__legal a:hover { color: var(--sage-l); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .85rem; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer__legal span:first-child { margin-right: auto; }

/* ==========================================================================
   Reveal-Helfer
   ========================================================================== */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0; }
.split-line > span { display: inline-block; will-change: transform; transform-origin: 0 100%; }

/* Fallback ohne WebGL */
.no-webgl .hero__stage { background: linear-gradient(90deg, rgba(20, 22, 15, .92) 25%, rgba(20, 22, 15, .2) 75%), url('../assets/img/nadel.jpg') 70% 50% / cover no-repeat, var(--ink); }
.no-webgl .hero__canvas, .no-webgl .hero__portal { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .services__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: stretch; gap: 8px; }
  .services__info { order: 2; min-height: 250px; }
  .ring-stage { order: 1; --cw: clamp(170px, 34vw, 260px); }
  .svc { top: 56px; }
  .services__current { font-size: 2rem; }
  .atelier__grid, .shop__grid, .contact__grid { grid-template-columns: 1fr; }
  .atelier__stage { order: -1; }
  .atelier__badge { left: auto; right: 12px; bottom: -40px; width: 120px; height: 120px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__seam { display: none; }
  .audience__grid { grid-template-columns: 1fr; }
  .tilt__inner { min-height: 0; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav__signet { width: 24px; height: 28px; }
  .nav__word { font-size: 1.1rem; }
  .nav__sub { font-size: .52rem; }
  .hero__content { bottom: 26px; }
  .hero__title { font-size: 13vw; }
  .hero__lead { max-width: 28ch; font-size: .98rem; }
  .hero__ctas .btn { padding: .95em 1.3em; font-size: .9rem; }
  .hero__scroll { display: none; }
  .hero__statement { top: auto; bottom: 14vh; translate: none; }
  .hero__eye-hint { top: calc(var(--nav-h) + 4vh); translate: none; max-width: none; font-size: 1.5rem; }
  .hero__eye-hint span { display: inline; }
  .intro__facts { grid-template-columns: 1fr; gap: 0; }
  .intro__facts li { padding: 18px 0; }
  .services__pin { min-height: 560px; }
  .services__head .h2 { font-size: 2rem; }
  .services__info { min-height: 270px; }
  .svc p { font-size: .95rem; margin-top: 8px; }
  .tags { margin-top: 14px; }
  .tags li { font-size: .76rem; }
  .ring-stage { --cw: clamp(150px, 46vw, 220px); }
  .ring__card figcaption { font-size: 1.15rem; left: 14px; bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .ccard__hint { position: static; }
  .contact__bg img { width: 100%; opacity: .3; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .shop__tag { font-size: .72rem; }
}

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro__text .w { opacity: 1; }
}
