/* ==========================================================================
   think why · Development Studio — Designsystem "Poster Frame"
   Layout-Idee: monochromer Rahmen (Tinte + Papier) mit plakativen, randlosen
   Farbblöcken im Why-Gelb des Logos. Das animierte Slash-Feld "/ / /" aus der
   think-why-Marke ist die Hintergrundtextur.
   Bewusst ein einziger Look (kein Dark-Mode-Umschalten): Hell/Dunkel wechselt
   als Sektionsrhythmus, alle Farben sind explizit gesetzt.
   ========================================================================== */
:root {
  /* Farbe – aus think-why.com abgeleitet */
  --ink: #1a1719;          /* Tinte, Primärtext, dunkle Bühnen */
  --ink-2: #26222a;        /* Fläche auf Tinte */
  --paper: #faf6f0;        /* Grundfläche */
  --cream: #f2e8dc;        /* Markencreme, Farbblock */
  --sand: #d1cabc;         /* Linien, Sekundärblock */
  --stone: #66625b;        /* Sekundärtext auf Papier */
  --why: #ffff00;          /* Why-Gelb – Markenspannung, CTAs */
  --code: #4cfe00;         /* Development-Studio-Signal, sparsam */
  --signal: #ff3100;       /* Fokus/Hinweis, sehr sparsam */
  --on-ink: #f6f1ea;
  --on-ink-soft: #b7b0a6;
  --line: rgba(26, 23, 25, .14);
  --line-ink: rgba(246, 241, 234, .16);

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

  --t-mega: clamp(3.1rem, 9.6vw, 9.5rem);
  --t-xl: clamp(2.4rem, 6vw, 5.4rem);
  --t-lg: clamp(1.9rem, 4vw, 3.4rem);
  --t-md: clamp(1.35rem, 2.2vw, 1.9rem);
  --t-body: clamp(1rem, 1.1vw, 1.125rem);
  --t-sm: .9rem;
  --t-xs: .75rem;

  /* Raum & Form */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --r-sm: 6px; --r-md: 14px; --r-lg: 28px; --r-pill: 999px;
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 450;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--why); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: var(--t-xl); font-weight: 850; }
h3 { font-size: var(--t-md); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; max-width: 64ch; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 520px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: "/"; color: currentColor; opacity: .5; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; font-weight: 500; }
.muted { color: var(--stone); }
.mark { background: linear-gradient(transparent 58%, var(--why) 58%, var(--why) 92%, transparent 92%); padding-inline: .08em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--why); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em; border-radius: var(--r-pill); border: 0;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 700 .98rem/1 var(--f-body); letter-spacing: .01em; cursor: pointer;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
  will-change: transform; isolation: isolate; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: scale(0); transform-origin: var(--mx, 50%) var(--my, 50%);
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: scale(2.2); }
.btn:hover { color: var(--why); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::after { background: var(--why); }
.btn--ghost:hover { color: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--on-ink); }
.btn--ink::after { background: var(--why); }
.btn--ink:hover { color: var(--ink); }

.textlink { font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.textlink:hover { background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--on-ink); border-bottom: 1px solid var(--line-ink);
  transition: transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-sub {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase;
  padding-left: 14px; border-left: 1px solid var(--line-ink); color: var(--on-ink);
}
.brand-sub b { display: block; font-weight: 600; }
.brand-sub span { color: var(--code); }
.brand-sub span::after { content: "_"; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 600; padding: .55em .85em; border-radius: var(--r-pill); transition: background .25s, color .25s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink-2); color: var(--why); }
.nav .btn { margin-left: 8px; padding: .8em 1.2em; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--on-ink); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 8px; transition: transform .3s var(--ease); }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; background: var(--ink); padding: 16px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); gap: 2px; transform: translateY(-120%); transition: transform .45s var(--ease); border-bottom: 1px solid var(--line-ink); }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.15rem; padding: .8em .6em; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
  .brand-sub { font-size: 10px; padding-left: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.slashfield { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero h1 { font-size: var(--t-mega); font-weight: 900; letter-spacing: -.045em; line-height: .92; max-width: 13ch; color: #fff; }
.hero h1 .h1-kicker { display: block; font-family: var(--f-mono); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.6rem; mix-blend-mode: normal; color: var(--why); }
.rotator { display: inline-grid; vertical-align: top; }
.rotator > span { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .5s var(--ease), filter .5s; }
.rotator > span:not(.is-on) { opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(6px); }
.rotator > span.is-out { opacity: 0; transform: translateY(-.45em) rotate(-3deg); filter: blur(6px); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-7); margin-top: clamp(32px, 4vw, 56px); align-items: end; }
.hero-bottom p { color: var(--on-ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; }
.hero-bottom p strong { color: var(--on-ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .hero-bottom { grid-template-columns: 1fr; } .hero-ctas { justify-content: flex-start; } }

.proofbar { position: relative; z-index: 2; border-top: 1px solid var(--line-ink); }
.proofbar .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0; }
.proof { padding: 26px 20px 28px 0; border-right: 1px solid var(--line-ink); }
.proof + .proof { padding-left: 20px; }
.proof:last-child { border-right: 0; }
.proof b { display: block; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--why); font-variant-numeric: tabular-nums; }
.proof span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-soft); }
@media (max-width: 760px) { .proofbar .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof:nth-child(2) { border-right: 0; } .proof:nth-child(-n+2) { border-bottom: 1px solid var(--line-ink); } .proof:nth-child(3) { padding-left: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--why); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.03em; padding: .45em .5em; white-space: nowrap; display: flex; align-items: center; gap: 1em; }
.marquee-track span::after { content: "/"; font-weight: 300; opacity: .45; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--cream { background: var(--cream); }
.section--why { background: var(--why); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--s-7); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { color: var(--stone); }
.section--ink .section-head p { color: var(--on-ink-soft); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Statement mit Scroll-Highlight */
.statement { font-family: var(--f-display); font-size: clamp(1.8rem, 4.4vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; max-width: 22ch; }
.statement .w { color: color-mix(in srgb, var(--ink) 22%, transparent); transition: color .35s; }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { background: var(--why); box-shadow: 0 0 0 .08em var(--why); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-8); align-items: end; }
.statement-side { display: grid; gap: var(--s-5); }
@media (max-width: 960px) { .statement-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Leistungs-Kacheln ---------- */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.svc {
  --c: var(--cream); --fg: var(--ink);
  position: relative; grid-column: span 4; min-height: 340px; padding: 30px; border-radius: var(--r-lg);
  background: var(--c); color: var(--fg); text-decoration: none; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.svc:hover { border-radius: 44px; }
.svc--wide { grid-column: span 8; }
.svc--why { --c: var(--why); }
.svc--ink { --c: var(--ink-2); --fg: var(--on-ink); }
.svc--sand { --c: var(--sand); }
.svc--code { --c: var(--ink-2); --fg: var(--on-ink); }
.svc--paper { --c: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.svc-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.svc-tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px currentColor; opacity: .8; }
.svc-arrow { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--why); font-size: 1.35rem; transition: transform .5s var(--ease-spring), background .3s; }
.svc--ink .svc-arrow, .svc--code .svc-arrow { background: var(--why); color: var(--ink); }
.svc:hover .svc-arrow { transform: rotate(-45deg) scale(1.12); }
.svc h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 850; letter-spacing: -.03em; }
.svc p { margin-top: 12px; font-size: .98rem; opacity: .85; }
.svc-blob { position: absolute; z-index: -1; width: 220px; aspect-ratio: 1; border-radius: 50%; right: -70px; bottom: -90px; background: var(--why); transform: scale(.4); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.svc--why .svc-blob { background: #fff; }
.svc:hover .svc-blob { transform: scale(1.5); opacity: 1; }
.svc--ink:hover .svc-blob, .svc--code:hover .svc-blob { opacity: .18; }
.svc-code { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; color: var(--code); opacity: .9; white-space: pre; overflow: hidden; }
@media (max-width: 1080px) { .svc, .svc--wide { grid-column: span 6; } }
@media (max-width: 680px) { .svc, .svc--wide { grid-column: span 12; min-height: 0; } }

/* ---------- System-Vergleich ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.compare-col { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; align-content: start; }
.compare-col + .compare-col { border-left: 1.5px solid var(--line-ink); }
.compare-col h3 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; }
.compare-col .fit { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--why); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--on-ink-soft); font-size: .98rem; }
.compare li::before { content: "/"; color: var(--why); font-weight: 900; }
.compare li strong { color: var(--on-ink); font-weight: 650; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare-col + .compare-col { border-left: 0; border-top: 1.5px solid var(--line-ink); } }

/* ---------- Prozess ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; left: 0; top: 27px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--ink); transition: width .2s linear; }
.step { position: relative; padding-right: 22px; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); font-family: var(--f-mono); font-weight: 600; font-size: 14px; position: relative; z-index: 1; transition: background .4s, transform .5s var(--ease-spring); }
.step.on .step-dot { background: var(--why); transform: scale(1.08); }
.step h3 { margin-top: 24px; font-size: 1.3rem; }
.step p { margin-top: 10px; font-size: .95rem; color: var(--stone); }
.step .deliv { margin-top: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink); }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process::before, .process::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process::after { height: calc(var(--p, 0) * 100%); bottom: auto; width: 2px; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-right: 0; }
  .step-dot { grid-row: span 3; }
  .step h3 { margin-top: 12px; }
}

/* ---------- Referenzen ---------- */
.refs-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.ref { scroll-snap-align: start; }
@media (max-width: 680px) { .refs-scroller { grid-auto-columns: 84%; } }
.ref {
  --c: var(--cream);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 380px; padding: 26px; border-radius: var(--r-lg); background: var(--c); text-decoration: none; overflow: hidden;
  transition: transform .5s var(--ease);
}
.ref:hover { transform: translateY(-6px); }
.ref-client { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ref h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.ref-mono { position: absolute; right: -14px; top: 40px; font-family: var(--f-display); font-weight: 900; font-size: 11rem; line-height: .8; letter-spacing: -.08em; opacity: .09; pointer-events: none; transition: transform .8s var(--ease); }
.ref:hover .ref-mono { transform: translateX(-20px) rotate(-4deg); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 9px; border-radius: var(--r-pill); background: rgba(26, 23, 25, .08); }
.ref--ink { --c: var(--ink-2); color: var(--on-ink); }
.ref--ink .tag { background: rgba(246, 241, 234, .1); }
.ref--why { --c: var(--why); }
.ref--sand { --c: var(--sand); }
.ref--white { --c: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.refs-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--why); font-size: 1.2rem; cursor: pointer; transition: transform .35s var(--ease-spring); }
.round-btn:hover { transform: scale(1.1); }

/* ---------- Karriere-Block ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.checklist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(26, 23, 25, .25); font-weight: 600; }
.checklist li span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; padding-top: 4px; }
.ats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ats span { padding: 8px 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font-size: .85rem; font-weight: 600; }

/* Großer Kreis-Visual */
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.orbit-core { position: absolute; inset: 22%; border-radius: 50%; background: var(--ink); color: var(--why); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.03em; padding: 12%; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--ink); animation: spin 40s linear infinite; }
.orbit-ring:nth-child(2) { inset: 9%; border-style: solid; border-width: 1px; animation-duration: 28s; animation-direction: reverse; }
.orbit-chip { position: absolute; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 2px var(--ink); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 750; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--why); font-size: 1.5rem; font-weight: 400; transition: transform .4s var(--ease-spring), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--why); color: var(--ink); }
.faq .ans { padding: 0 60px 26px 0; color: #3b3639; display: grid; gap: 10px; }
.section--ink .faq { border-color: var(--on-ink); }
.section--ink .faq details { border-color: var(--line-ink); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); isolation: isolate; }
.cta .wrap { padding-block: clamp(80px, 11vw, 160px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); align-items: end; position: relative; z-index: 2; }
.cta h2 { font-size: var(--t-xl); }
.cta h2 em { font-style: normal; color: var(--why); }
.contact-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border-radius: var(--r-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); }
.avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--why); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.8rem; letter-spacing: -.04em; }
.contact-card b { display: block; font-size: 1.15rem; }
.contact-card small { display: block; color: var(--on-ink-soft); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.contact-card .tel { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--why); text-decoration: none; user-select: all; }
.cta .stack { display: grid; gap: 18px; }
@media (max-width: 900px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-soft); font-size: .92rem; border-top: 1px solid var(--line-ink); }
.site-footer .wrap { padding-block: 64px 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--why); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-base { border-top: 1px solid var(--line-ink); }
.footer-base .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; font-size: .82rem; grid-template-columns: none; }
.footer-slashes { font-family: var(--f-mono); color: var(--why); letter-spacing: .3em; white-space: nowrap; overflow: hidden; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.crumbs { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-soft); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--why); }
.crumbs li { list-style: none; display: flex; gap: 8px; } .crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--why); }
.hero--sub h1 { font-size: var(--t-xl); max-width: 16ch; }
.answer-box { margin-top: 40px; max-width: 760px; padding: 24px 26px; border-radius: var(--r-md); background: var(--ink-2); box-shadow: inset 4px 0 0 var(--why); color: var(--on-ink); }
.answer-box .eyebrow { color: var(--why); margin-bottom: 10px; }
.answer-box p { font-size: 1.05rem; }
.prose { display: grid; gap: 20px; }
.prose h2 { font-size: var(--t-lg); }
.prose h3 { margin-top: 12px; }
.prose p, .prose li { color: #3b3639; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; font-size: .95rem; transition: background .25s, transform .35s var(--ease-spring); }
.chip:hover { background: var(--why); transform: translateY(-3px) rotate(-2deg); }
.chip small { font-family: var(--f-mono); font-weight: 500; font-size: 11px; margin-left: 6px; color: var(--stone); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 12px; align-content: start; }
.feature .k { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; }
.feature p { color: #3b3639; font-size: .98rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; background: var(--cream); }
tr:last-child td { border-bottom: 0; }
td code, .prose code { font-family: var(--f-mono); font-size: .86em; background: var(--cream); padding: 2px 6px; border-radius: 4px; word-break: break-word; }

/* Datenfluss (Akeneo, KI) */
.flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; align-items: stretch; }
.flow-node { position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: var(--ink-2); color: var(--on-ink); display: grid; gap: 10px; align-content: start; box-shadow: inset 0 0 0 1px var(--line-ink); }
.flow-node--why { background: var(--why); color: var(--ink); box-shadow: none; }
.flow-node .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.flow-node b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.flow-node p { font-size: .92rem; color: inherit; opacity: .8; }
.flow-link { position: relative; width: 56px; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--why) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1s linear infinite; }
.flow-link::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--why); }
@keyframes dash { to { background-position: 28px 0; } }
.flow { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); }
.flow--3 { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); }
@media (max-width: 900px) {
  .flow, .flow--3 { grid-template-columns: 1fr; gap: 0; }
  .flow-link { width: 2px; height: 40px; justify-self: center; background: repeating-linear-gradient(180deg, var(--why) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: dashv; }
  .flow-link::after { right: -5px; top: auto; bottom: -8px; border-left-color: transparent; border-top-color: var(--why); }
}
@keyframes dashv { to { background-position: 0 28px; } }

/* Sprach-Ticker (KI-Übersetzung) */
.langs { display: grid; gap: 10px; }
.lang-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink); }
.lang-row code { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink); background: var(--why); border-radius: var(--r-pill); padding: 4px 0; text-align: center; }
.lang-row span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-row small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-ink-soft); }
.lang-row small.ai { color: var(--code); }
.lang-row.typing span::after { content: "▍"; color: var(--code); animation: blink .8s steps(1) infinite; }

/* Referenzkarten mit Bild */
.ref--media { padding: 0; gap: 0; justify-content: flex-start; min-height: 0; }
.ref-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--sand); }
.ref-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), object-position 4s var(--ease); }
.ref--media:hover .ref-img img { transform: scale(1.06); }
.ref-meta { display: grid; gap: 10px; padding: 22px 24px 26px; align-content: start; }
.ref-meta h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.ref-grid .ref--media { min-height: 0; }
.tag--sys { background: var(--ink) !important; color: var(--why); }
.ref--ink .tag--sys { background: var(--why) !important; color: var(--ink); }

/* Referenz-Detailseite */
.hero--ref .wrap:first-of-type { padding-bottom: clamp(32px, 4vw, 48px); }
.hero--ref h1 { max-width: 20ch; }
.ref-hero-img { position: relative; z-index: 2; padding-bottom: 0 !important; }
.ref-hero-img img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: top; border-radius: var(--r-lg) var(--r-lg) 0 0; display: block; }
.ref-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.ref-body p { font-size: 1.05rem; }
.ref-facts { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.ref-facts dl { margin: 0; display: grid; gap: 0; }
.ref-facts dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); }
.ref-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-soft); padding-top: 3px; }
.ref-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.ref-facts .textlink { color: var(--why); }
.ref-facts h3 { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-soft); }
.ref-facts .tag { background: rgba(246, 241, 234, .1); }
@media (max-width: 960px) { .ref-layout { grid-template-columns: 1fr; } .ref-facts { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.shot { margin: 0; display: grid; gap: 10px; min-width: 0; }
.shot img { width: 100%; height: auto; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.shot figcaption { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--stone); }
.shot--tall { grid-column: 1 / -1; border-radius: var(--r-md); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink); border-radius: var(--r-md) var(--r-md) 0 0; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--on-ink-soft); opacity: .5; }
.shot-bar i:first-child { background: var(--why); opacity: 1; }
.shot-bar span { margin-left: 12px; font-family: var(--f-mono); font-size: 11.5px; color: var(--on-ink-soft); background: var(--ink-2); padding: 4px 12px; border-radius: var(--r-pill); }
.shot-frame { height: min(78vh, 760px); overflow-y: auto; overscroll-behavior: contain; border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: 0 0 0 1px var(--line); background: #fff; scrollbar-width: thin; }
.shot-frame img { border-radius: 0; box-shadow: none; }
.shot--tall .shot-bar + .shot-frame { margin-top: -10px; }
.gallery:has(.shot:only-child) { grid-template-columns: 1fr; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .shot-frame { height: 70vh; } }

.ref-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; }
.ref-pager a { display: grid; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: var(--cream); text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.ref-pager a:hover { background: var(--why); transform: translateY(-4px); }
.ref-pager a[rel="next"] { text-align: right; }
.ref-pager small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.ref-pager b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 850; letter-spacing: -.02em; }
.ref-pager span { color: var(--stone); font-size: .95rem; }
.ref-pager-all { background: var(--ink) !important; color: var(--on-ink); align-content: center; text-align: center; }
.ref-pager-all:hover { color: var(--ink); background: var(--why) !important; }
.ref-pager-all small { color: var(--on-ink-soft); }
@media (max-width: 760px) { .ref-pager { grid-template-columns: 1fr; } .ref-pager a[rel="next"] { text-align: left; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Consent-Dialog */
.consent { position: fixed; z-index: 80; left: 0; bottom: 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); width: min(100%, 520px); pointer-events: none; }
.consent-card { pointer-events: auto; position: relative; overflow: hidden; display: grid; gap: 16px; padding: 26px 26px 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); box-shadow: 0 0 0 1px var(--line-ink), 0 24px 60px rgba(0, 0, 0, .35); max-height: calc(100vh - 32px); overflow-y: auto;
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.consent.is-open .consent-card { transform: none; opacity: 1; }
.consent:not(.is-open) { visibility: hidden; transition: visibility 0s .6s; }
.consent-slashes { font-family: var(--f-mono); color: var(--why); letter-spacing: .3em; font-size: 12px; }
.consent h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; }
.consent p { font-size: .92rem; color: var(--on-ink-soft); max-width: none; }
.consent a { color: var(--why); font-weight: 600; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.consent-actions .btn { justify-content: center; padding: .9em 1em; font-size: .92rem; }
.consent-btn-alt { --bg: transparent; --fg: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--on-ink); }
.consent-btn-alt::after { background: var(--why); }
.consent-btn-alt:hover { color: var(--ink); }
.consent-link { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--on-ink); font: 600 .9rem var(--f-body); text-decoration: underline; text-decoration-color: var(--why); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.consent-actions [data-act="save"] { grid-column: 1 / -1; }
.consent-cats { display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.consent-cat { padding: 14px 0; border-bottom: 1px solid var(--line-ink); display: grid; gap: 6px; }
.consent-cat p { font-size: .85rem; }
.consent-services { font-family: var(--f-mono); font-size: 11px !important; letter-spacing: .03em; }
.consent-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.consent-switch small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--code); margin-left: auto; }
.consent-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-track { position: relative; width: 44px; height: 24px; border-radius: var(--r-pill); background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--on-ink-soft); flex-shrink: 0; transition: background .25s; }
.consent-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--on-ink-soft); transition: transform .3s var(--ease-spring), background .25s; }
.consent-switch input:checked + .consent-track { background: var(--why); box-shadow: none; }
.consent-switch input:checked + .consent-track::after { transform: translateX(20px); background: var(--ink); }
.consent-switch input:disabled + .consent-track { opacity: .6; }
.consent-switch input:focus-visible + .consent-track { outline: 3px solid var(--signal); outline-offset: 3px; }
@media (max-width: 420px) { .consent-actions { grid-template-columns: 1fr; } }
.consent-embed-ph { display: grid; gap: 14px; place-items: start; padding: 28px; border-radius: var(--r-md); background: var(--ink); color: var(--on-ink); }
[data-consent-embed] iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.linklike:hover { color: var(--why); }

/* Rechtstexte (Impressum, Datenschutz) */
.hero--legal .wrap { padding-block: clamp(40px, 6vw, 88px) clamp(36px, 5vw, 64px); }
.legal { max-width: 78ch; display: grid; gap: 14px; color: #3b3639; }
.legal h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); color: var(--ink); margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink); }
.legal h4 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-top: 14px; line-height: 1.3; }
.legal p, .legal li { max-width: none; overflow-wrap: anywhere; }
.legal ul, .legal ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.legal a { font-weight: 600; text-decoration-color: var(--why); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.legal .mail { font-weight: 700; color: var(--ink); background: var(--cream); padding: 1px 6px; border-radius: 4px; user-select: all; }
.legal > p:first-child { font-size: 1.1rem; color: var(--ink); }

/* Filter (Referenzen) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 10px 16px; border-radius: var(--r-pill); border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); font: 700 .9rem var(--f-body); cursor: pointer; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--why); }
.filter small { font-family: var(--f-mono); font-weight: 500; opacity: .7; margin-left: 4px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ref-grid .ref { min-height: 320px; }
.ref-grid .ref.is-hidden { display: none; }
@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ref-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
/* Sichtbarer Ruhezustand; die Animation ist nur Zugabe (Thumbnail-sicher). */
/* JS setzt .rv-wait nur auf Elemente unterhalb des ersten Viewports. */
.rv-wait { opacity: 0; transform: translateY(32px); }
.rv-wait.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Cursor-Folger ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
