/* Stil+Find – web1 · Version 2 „in Bewegung“ */

:root {
  --bg: #f0f0f0;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #3c3c3c;
  --muted: #6b6b6b;
  --line: #d6d6d6;
  --dark: #0a0a0a;
  --dark-2: #161616;
  --on-dark: #f4f4f4;
  --on-dark-2: #a8a8a8;
  --accent: #fa9302;
  --accent-ink: #b86a00;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.2rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  padding-top: var(--header-h);
}
body.home { padding-top: 0; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #000; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(980px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: #000; color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.display { font-size: clamp(3.2rem, 10.5vw, 10.5rem); line-height: .9; letter-spacing: -0.05em; font-weight: 800; }
.kicker { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; display: block; }
.on-dark .kicker, .kicker.light { color: var(--accent); }
.plus { color: var(--accent); }
.arrow { width: 20px; height: 14px; flex: none; }

/* ---------- Vorab-Zustände (nur mit GSAP, siehe boot.js) ---------- */
.motion [data-reveal] { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion [data-clip] { clip-path: inset(100% 0 0 0); }
/* SplitText-Masken: Platz für Unterlängen (g, p, y) */
[data-split="chars"] > div { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  background: var(--paper); color: var(--ink);
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s;
  view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.js .dark-start .site-header:not(.is-light) { background: transparent; color: #fff; box-shadow: none; }
.js .dark-start .site-header:not(.is-light) .brand img { filter: invert(1); }
[data-parallax] { height: 118% !important; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; position: relative; z-index: 2; }
.brand img { width: 50px; height: 50px; transition: filter .4s; }
.brand-name { font-weight: 700; font-size: 1.02rem; line-height: 1.1; letter-spacing: .01em; }
.brand-name small { display: block; font-weight: 400; font-size: .76rem; opacity: .7; letter-spacing: .04em; }

.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.8vw, 44px); }
.nav a { text-decoration: none; font-size: 1.05rem; position: relative; display: inline-block; overflow: hidden; padding: 4px 0; }
.nav a span { display: block; transition: transform .5s var(--ease); }
.nav a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav a:hover span { transform: translateY(-100%); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; margin-right: -10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 2px; background: currentColor; position: absolute; left: 11px; transition: transform .45s var(--ease), background-color .3s;
}
.nav-toggle span { top: 23px; }
.nav-toggle span::before { content: ""; left: 0; top: -8px; }
.nav-toggle span::after { content: ""; left: 0; top: 8px; }
.nav-open .nav-toggle span { background-color: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; }

/* ---------- Cursor (nur Desktop, per JS erzeugt) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid #fff;
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, border-color .3s;
}
.cursor-ring b { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.is-media .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; }
.cursor.is-media .cursor-ring b { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Versions-Umschalter ---------- */
.vswitch {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; padding: 4px; gap: 2px;
  background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
}
.vswitch a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; opacity: .7; transition: opacity .2s, background-color .2s; }
.vswitch a:hover { opacity: 1; }
.vswitch a[aria-current="page"] { background: var(--accent); color: #000; opacity: 1; }

/* ---------- Intro-Loader (per JS erzeugt) ---------- */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--dark); display: grid; place-items: center; color: #fff; }
.loader svg { width: min(34vw, 170px); height: auto; overflow: visible; }
.loader .l-box { fill: none; stroke: #fff; stroke-width: 5; }
.loader .l-txt { font: 800 34px var(--font); fill: #fff; letter-spacing: 2px; }
.loader .l-plus { font: 800 30px var(--font); fill: var(--accent); }
.loader .l-count { position: absolute; right: var(--gutter); bottom: 24px; font-size: .9rem; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-2); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.6) 100%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 7vh, 72px); }
.hero-kicker { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: clamp(16px, 3vh, 32px); color: rgba(255,255,255,.85); }
.hero-title { max-width: 12ch; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(24px, 4vh, 48px); border-top: 1px solid rgba(255,255,255,.35); padding-top: 18px; }
.hero-sub { font-size: clamp(.95rem, 1.4vw, 1.15rem); margin: 0; color: rgba(255,255,255,.9); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.scroll-cue i { display: block; width: 1.5px; height: 42px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Karte im Braun-Stil, schiebt sich über den Hero */
.intro { position: relative; z-index: 3; margin-top: -18vh; }
.intro-card {
  width: min(1060px, 100% - 2 * var(--gutter)); margin-inline: auto; background: var(--paper);
  padding: clamp(28px, 4.5vw, 44px) clamp(22px, 6vw, 72px) clamp(40px, 6vw, 80px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.35);
}
.rotator { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.9rem); text-align: center; }
.rotator li { padding: 10px 6px; overflow: hidden; }
.rotator li + li { border-left: 2px solid var(--accent); }
.rotator li span { display: inline-block; }
.intro-card h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; margin-bottom: .55em; }
.intro-card .lead { font-size: clamp(1.15rem, 2vw, 1.7rem); color: var(--ink-2); line-height: 1.5; }

/* Links mit Pfeil */
.more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease), color .3s;
}
.more:hover { background-size: 100% 2px; }
.more .arrow { transition: transform .4s var(--ease); }
.more:hover .arrow { transform: translateX(6px); }

/* Magnetischer Button */
.btn-magnet {
  --size: clamp(120px, 14vw, 170px);
  display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  background: var(--accent); color: #000; font-weight: 800; font-size: 1.05rem; text-decoration: none; text-align: center; line-height: 1.2;
  transition: background-color .3s, color .3s;
}
.btn-magnet:hover { background: #fff; }
.btn-magnet span { display: block; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 12vw, 170px) 0; }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.8rem); letter-spacing: -0.04em; }
.section-head .prose { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-top: 24px; color: var(--ink-2); }
.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark .prose, .on-dark p { color: var(--on-dark-2); }

/* Laufband */
.marquee { overflow: hidden; background: var(--accent); color: #000; padding-block: clamp(14px, 2vw, 22px); margin-top: clamp(80px, 12vw, 170px); }
.marquee + .marquee { margin-top: 0; background: var(--dark); color: transparent; -webkit-text-stroke: 1.5px var(--on-dark); }
.marquee-track { display: flex; width: max-content; }
.marquee-track span { font-size: clamp(2rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; padding-right: .5em; }
.marquee-track span::after { content: "✦"; padding-left: .5em; font-size: .5em; vertical-align: .35em; }
.no-motion .marquee-track, html:not(.motion) .marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement mit Wort-Füllung */
.statement p { font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.statement .word { display: inline-block; }

/* Referenz-Mosaik */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 30px); margin-top: clamp(48px, 7vw, 96px); }
.tile { position: relative; overflow: hidden; background: #ddd; display: block; text-decoration: none; color: inherit; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile .label {
  position: absolute; left: 16px; bottom: 0; background: var(--paper); color: var(--ink);
  padding: 14px 18px 16px; width: min(380px, calc(100% - 32px)); line-height: 1.4;
}
.tile .label strong { display: block; font-size: 1.1rem; }
.tile .label span { font-size: 1rem; color: var(--ink-2); }
.mosaic .m-a { grid-column: span 8; aspect-ratio: 16 / 11; }
.mosaic .m-b { grid-column: span 4; aspect-ratio: auto; }
.mosaic .m-c { grid-column: span 5; aspect-ratio: 5 / 6; }
.mosaic .m-d { grid-column: span 7; aspect-ratio: auto; }
.pos-left { object-position: 22% 50%; }
.pos-top { object-position: 50% 25%; }

/* Horizontal-Scroll */
.hscroll { background: var(--dark); color: var(--on-dark); overflow: hidden; margin-top: clamp(80px, 12vw, 170px); }
.hscroll-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 24px) 48px; }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.hscroll-head h2 { font-size: clamp(2.4rem, 7vw, 6.6rem); letter-spacing: -0.05em; line-height: .92; }
.hscroll-head p { max-width: 420px; color: var(--on-dark-2); font-size: 1.05rem; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); width: max-content; }
.hcard {
  width: clamp(260px, 30vw, 420px); flex: none; background: var(--dark-2); color: var(--on-dark); text-decoration: none;
  transform-style: preserve-3d; perspective: 900px; will-change: transform;
}
.hcard .media { aspect-ratio: 4 / 3; overflow: hidden; background: #222; }
.hcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hcard:hover img { transform: scale(1.06); }
.hcard .body { padding: 20px 22px 26px; }
.hcard .num { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.hcard h3 { font-size: 1.3rem; margin: 8px 0 8px; }
.hcard p { font-size: .98rem; color: var(--on-dark-2); line-height: 1.5; margin: 0; }
.hscroll-bar { height: 2px; background: rgba(255,255,255,.18); margin-top: clamp(28px, 4vw, 48px); position: relative; }
.hscroll-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.hscroll-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 18px; font-size: .9rem; color: var(--on-dark-2); }
.hscroll-foot .more { margin-top: 0; color: var(--on-dark); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.stat { border-top: 2px solid currentColor; padding-top: 22px; }
.stat b { display: block; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; color: var(--accent); vertical-align: .9em; margin-left: .05em; }
.stat span { display: block; margin-top: 12px; font-size: 1.02rem; color: var(--on-dark-2); }
.section.on-dark { padding-bottom: clamp(80px, 12vw, 170px); }
.section.on-dark + .section { }

/* S-T-I-L */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.usp-item svg { width: 132px; height: 140px; overflow: visible; margin-bottom: 20px; }
.usp-item .g-stroke { font: 800 150px var(--font); fill: var(--ink); fill-opacity: 1; stroke: var(--accent); stroke-width: 3; }
.motion .usp-item .g-stroke { fill-opacity: 0; stroke-dasharray: 700; stroke-dashoffset: 700; }
.usp-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.usp-item p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.55; }

/* Leistungsliste mit Vorschau */
.svc { list-style: none; border-bottom: 1px solid var(--ink); }
.svc a {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; text-decoration: none;
  border-top: 1px solid var(--ink); padding: clamp(18px, 2.4vw, 30px) 0; position: relative; overflow: hidden;
}
.svc a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); z-index: -1; }
.svc li { position: relative; z-index: 0; }
.svc .n { font-size: .9rem; font-weight: 700; color: var(--muted); transition: color .4s; }
.svc .t { font-size: clamp(1.9rem, 5.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.svc .d { font-size: .98rem; color: var(--muted); max-width: 260px; text-align: right; transition: color .4s; }
.svc .arrow { width: 34px; height: 24px; color: var(--accent); transform: translateX(-20px); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.svc .thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc a:hover::before { transform: scaleY(1); }
  .svc a:hover .t { transform: translateX(18px); color: #fff; }
  .svc a:hover .n, .svc a:hover .d { color: #bbb; }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 55; width: clamp(280px, 26vw, 380px); aspect-ratio: 4 / 3;
  pointer-events: none; overflow: hidden; opacity: 0; transform: scale(.6); border-radius: 2px;
}
.svc-preview > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.svc-preview > .is-active { opacity: 1; }

/* Video-Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(160px, 20vw, 280px); gap: clamp(12px, 1.6vw, 20px); }
.bento .tile { background: #111; }
.bento .b1 { grid-column: span 4; grid-row: span 2; }
.bento .b2 { grid-column: span 2; }
.bento .b3 { grid-column: span 2; }
.bento .b4 { grid-column: span 3; }
.bento .b5 { grid-column: span 3; }
.bento .label { left: 12px; width: auto; max-width: calc(100% - 24px); padding: 10px 14px 12px; }

/* BRAUN-Feature */
.feature { position: relative; overflow-x: clip; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); position: relative; z-index: 1; }
.feature-media { overflow: hidden; min-height: 420px; }
.feature-media img { width: 100%; height: 118%; object-fit: cover; }
.feature-body { padding: clamp(28px, 5vw, 72px); align-self: center; }
.feature-body h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.035em; margin-bottom: .6em; }
.feature-body p { font-size: 1.1rem; color: var(--ink-2); }
.outline-run { font-size: clamp(5rem, 16vw, 15rem); font-weight: 800; letter-spacing: -0.05em; line-height: .85; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px #cfcfcf; margin-bottom: -0.2em; user-select: none; }

/* News */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.news-card { background: var(--paper); text-decoration: none; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.news-card .media { overflow: hidden; aspect-ratio: 4 / 3; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card .body { padding: 22px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: .9rem; color: var(--muted); }
.news-card h3 { font-size: 1.2rem; margin: 6px 0 10px; }
.news-card p { font-size: 1rem; color: var(--ink-2); flex: 1; }
.news-card .more { margin-top: 16px; font-size: 1rem; align-self: flex-start; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.news-card:hover img { transform: scale(1.07); }

/* Großer Kontakt-Abschluss */
.finale { background: var(--dark); color: var(--on-dark); padding-block: clamp(90px, 14vw, 200px) clamp(60px, 8vw, 110px); margin-top: clamp(80px, 12vw, 170px); }
.finale h2 { font-size: clamp(3rem, 11vw, 11rem); letter-spacing: -0.055em; line-height: .88; font-weight: 800; }
.finale-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.finale-links a { display: block; font-size: clamp(1.4rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; text-decoration: none; line-height: 1.35;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; transition: background-size .6s var(--ease), color .3s; width: fit-content; }
.finale-links a:hover { background-size: 100% 3px; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: 0 110px; }
.site-footer .rule { height: 3px; background: var(--on-dark); margin-bottom: clamp(48px, 6vw, 72px); transform-origin: 0 50%; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; font-size: 1.02rem; line-height: 1.65; color: var(--on-dark-2); }
.footer-cols h2 { font-size: 1.1rem; color: var(--on-dark); margin-bottom: 16px; line-height: 1.3; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--accent); }
.footer-cols ul { list-style: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: clamp(40px, 5vw, 64px); list-style: none; padding: 0; font-size: .95rem; color: var(--on-dark-2); }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-note { margin-top: 14px; font-size: .82rem; color: #777; }
.finale + .site-footer { padding-top: 0; }
main + .site-footer { padding-top: clamp(80px, 10vw, 140px); }

/* ---------- Unterseiten ---------- */
.page-head { position: relative; height: clamp(420px, 72svh, 760px); margin-top: calc(-1 * var(--header-h)); color: #fff; overflow: hidden; background: var(--dark); }
.page-head.plain { height: auto; margin-top: 0; background: none; color: var(--ink); padding-top: clamp(40px, 7vw, 90px); }
.page-head video, .page-head .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.2) 45%, rgba(0,0,0,.65)); }
.page-head .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(110px, 16vh, 170px); }
.page-head.plain .wrap { padding-bottom: 0; }
.page-head h1 { font-size: clamp(3rem, 11vw, 10rem); letter-spacing: -0.055em; line-height: .88; font-weight: 800; overflow-wrap: anywhere; }
.crumbs { font-size: .9rem; margin-bottom: 22px; opacity: .85; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "›"; margin-right: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.page-card {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px);
  width: min(1060px, 100% - 2 * var(--gutter)); margin: calc(-1 * clamp(70px, 11vh, 120px)) auto 0;
  background: var(--paper); padding: clamp(28px, 4.5vw, 56px) clamp(22px, 4vw, 48px) clamp(36px, 5vw, 72px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.35);
}
.page-head.plain + .page-card { margin-top: clamp(32px, 5vw, 56px); }
.page-card .tagline { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.page-card .lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; color: var(--ink-2); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 30px); margin-top: clamp(60px, 8vw, 110px); }
.pair .tile { aspect-ratio: 4 / 3; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.split + .split { margin-top: clamp(56px, 8vw, 110px); }
.split h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -0.035em; }
.split .prose { font-size: 1.15rem; color: var(--ink-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.card { background: var(--paper); padding: 30px 30px 34px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.55; }
.card .num { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; color: var(--accent); }

.pcard { background: var(--paper); text-decoration: none; display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; }
.pcard .media { aspect-ratio: 3 / 2; overflow: hidden; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 22px 26px 28px; }
.pcard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcard p { font-size: 1rem; color: var(--ink-2); line-height: 1.55; }

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.checks h3 { font-size: 1.25rem; padding-bottom: 14px; border-bottom: 2px solid currentColor; margin-bottom: 20px; }
.checks ul { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 1.05rem; line-height: 1.5; }
.checks svg { width: 22px; height: 22px; margin-top: 3px; }
.checks svg path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.motion .checks svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }

/* Stapel-Karten */
.stack { display: grid; gap: 24px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper);
  min-height: min(62vh, 520px); box-shadow: 0 -20px 60px -30px rgba(0,0,0,.25); transform-origin: 50% 0;
}
.stack-card:nth-child(2) { top: calc(var(--header-h) + 48px); }
.stack-card:nth-child(3) { top: calc(var(--header-h) + 72px); }
.stack-card .media { overflow: hidden; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-card .body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.stack-card .step { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--accent); display: block; margin-bottom: 18px; }
.stack-card h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.stack-card p { font-size: 1.1rem; color: var(--ink-2); }

/* Ablauf mit Linie */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); position: relative; padding-top: 40px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; }
.motion .steps-line i { transform: scaleX(0); }
.steps .dot { position: absolute; top: -8px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bg); }
.steps > div { position: relative; }
.steps h3 { font-size: 1.3rem; margin: 0 0 10px; }
.steps .n { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.05em; display: block; line-height: 1; margin-bottom: 14px; }
.steps p { font-size: 1.05rem; color: var(--ink-2); }

.band { margin-top: clamp(56px, 8vw, 110px); overflow: hidden; }
.band img, .band video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Technik: Sticky-Medien */
.tech { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.tech + .tech { margin-top: clamp(80px, 11vw, 150px); }
.tech-media { position: sticky; top: calc(var(--header-h) + 24px); }
.tech-media .tile { aspect-ratio: 4 / 3; }
.tech-media h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -0.045em; margin-bottom: 22px; }
.tech-media .count { font-size: .9rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .12em; display: block; margin-bottom: 10px; }
.specs { display: grid; gap: 18px; }
.spec { background: var(--paper); padding: 26px 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; }
.spec h3 { font-size: 1.25rem; grid-column: 1; }
.spec .tag { grid-column: 2; grid-row: 1; align-self: start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: #fff; padding: 4px 9px; }
.spec ul { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 10px; }
.spec li { font-size: .98rem; line-height: 1.45; color: var(--ink-2); padding-left: 18px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--accent); }

/* Zeitleiste */
.timeline { position: relative; list-style: none; }
.timeline > .tl-line { position: absolute; display: block; padding: 0; left: clamp(120px, 22vw, 300px); top: 0; bottom: 0; width: 3px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; }
.motion .tl-line i { transform: scaleY(0); }
.timeline > li { display: grid; grid-template-columns: clamp(120px, 22vw, 300px) 1fr; padding-bottom: clamp(56px, 7vw, 96px); position: relative; }
.timeline .year { font-size: clamp(2.4rem, 6vw, 5.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; padding-right: 28px; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.timeline .year small { display: block; font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--accent-ink); margin-top: 10px; }
.timeline .entry { padding-left: clamp(28px, 4vw, 56px); position: relative; }
.timeline .entry::before { content: ""; position: absolute; left: -8px; top: 14px; width: 19px; height: 19px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.timeline h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.timeline p { font-size: 1.1rem; color: var(--ink-2); max-width: 640px; }
.timeline figure { margin-top: 24px; overflow: hidden; width: fit-content; max-width: 100%; }
.timeline figure img { max-height: 360px; width: auto; }
.timeline figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }

.clip-x { overflow-x: clip; }
.bignum { align-items: center; }
.stat-big { font-size: clamp(4.5rem, 13vw, 12rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.contact-panel .btn-magnet { margin-top: 10px; }
.big-word { font-size: clamp(4rem, 15vw, 14rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--ink); white-space: nowrap; }

/* Kontakt / Rechtliches */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 2.4vw, 30px); }
.contact-panel { background: var(--paper); padding: clamp(28px, 5vw, 64px); }
.contact-panel strong { display: block; font-size: 1.05rem; margin-bottom: 28px; }
.contact-panel .big { display: block; font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; text-decoration: none; padding-bottom: 10px; margin-bottom: 30px; border-bottom: 2px solid var(--ink); overflow-wrap: anywhere; transition: color .3s, border-color .3s; }
.contact-panel .big:hover { color: var(--accent-ink); border-color: var(--accent); }
.contact-grid .tile { min-height: 360px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.info-grid a { text-decoration: none; border-bottom: 1px solid currentColor; }
.info-grid a:hover { color: var(--accent-ink); }
.legal { background: var(--paper); padding: clamp(28px, 5vw, 72px); }
.legal h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 1.08rem; color: var(--ink-2); }
.legal a { overflow-wrap: anywhere; }

.cta { background: var(--dark); color: var(--on-dark); padding: clamp(36px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -0.045em; line-height: .95; }
.cta p { color: var(--on-dark-2); margin-top: 14px; font-size: 1.1rem; }

/* ---------- Seitenübergänge ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .5s cubic-bezier(.7, 0, .3, 1) both vt-out; }
::view-transition-new(root) { animation: .7s cubic-bezier(.16, 1, .3, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6vh) scale(.97); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (min-width: 861px) and (max-width: 1100px) { .brand-name { display: none; } }

@media (max-width: 1020px) {
  .stats, .usp { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr 1fr; }
  .news-card:nth-child(3) { display: none; }
  .grid-3, .info-grid { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .svc .d { display: none; }
  .spec ul { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  body { font-size: 1.08rem; }
  .brand img { width: 42px; height: 42px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--dark); color: #fff;
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px; visibility: hidden;
    clip-path: circle(0% at calc(100% - 34px) 33px); transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav-open .nav { visibility: visible; clip-path: circle(150% at calc(100% - 34px) 33px); }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; }
  .nav-open .site-header .brand img { filter: invert(1); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .nav-open .nav li { opacity: 1; transform: none; }
  .nav-open .nav li:nth-child(1) { transition-delay: .15s; }
  .nav-open .nav li:nth-child(2) { transition-delay: .2s; }
  .nav-open .nav li:nth-child(3) { transition-delay: .25s; }
  .nav-open .nav li:nth-child(4) { transition-delay: .3s; }
  .nav-open .nav li:nth-child(5) { transition-delay: .35s; }
  .nav a { display: block; font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); overflow: visible; }
  .nav a span::after { display: none; }
  .nav a:hover span { transform: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav a[aria-current="page"]::after { display: none; }
  body.nav-open { overflow: hidden; }

  .hero-foot { flex-direction: column; align-items: flex-start; }
  .intro { margin-top: -12vh; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .tile { grid-column: auto; aspect-ratio: 4 / 3; }
  .hscroll-pin { min-height: 0; padding-block: clamp(64px, 12vw, 100px); }
  .hscroll-head { flex-direction: column; align-items: flex-start; }
  .hscroll-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .hcard { scroll-snap-align: center; width: 78vw; }
  .svc a { grid-template-columns: 1fr 88px; gap: 16px; }
  .svc .n, .svc .arrow { display: none; }
  .svc .thumb { display: block; width: 88px; aspect-ratio: 1; object-fit: cover; }
  .svc-preview { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .bento .b1 { grid-column: span 2; grid-row: span 1; }
  .bento .b2, .bento .b3, .bento .b4, .bento .b5 { grid-column: span 1; }
  .feature-grid, .split, .page-card, .contact-grid, .tech, .stack-card { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 4 / 3; }
  .pair { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .tech-media { position: static; }
  .stack-card { min-height: 0; }
  .stack-card .media { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; }
  .steps-line { left: 0; top: 0; bottom: 0; right: auto; width: 3px; height: auto; }
  .steps-line i { transform-origin: 50% 0; }
  .motion .steps-line i { transform: scaleY(0); }
  .steps .dot { left: -48px !important; top: 6px; }
  .timeline > li { grid-template-columns: 1fr; }
  .timeline > .tl-line { left: 8px; }
  .timeline .year { position: static; padding: 0 0 12px 40px; }
  .timeline .entry { padding-left: 40px; }
  .timeline .entry::before { display: none; }
}

@media (max-width: 600px) {
  .stats, .usp, .news, .grid-3, .info-grid { grid-template-columns: 1fr; }
  .news-card:nth-child(3) { display: flex; }
  .brand-name small { display: none; }
  .rotator { font-size: .95rem; }
  .rotator li { padding: 6px 3px; overflow-wrap: anywhere; hyphens: auto; }
  .tile .label { left: 10px; right: 10px; width: auto; }
  .vswitch { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .marquee-track { animation: none !important; }
}

@media print {
  .site-header, .vswitch, .cursor, .progress, video { display: none !important; }
  body { background: #fff; padding-top: 0; }
}
