/* Hinzmedia-Demo „Fokus“ – Gestaltung. Bewegung: fokus.js. Alles funktioniert auch ohne JS (statisch). */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #0B1020; --surface: #121A2E; --surface-2: #18223B; --line: #243052;
  --ink: #EDEFF5; --muted: #A3ABBE; --accent: #F0616D; --accent-ink: #0B1020;
  --display: "Cabinet Grotesk", "Inter Tight", system-ui, sans-serif;
  --text: "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r: 16px; --gutter: clamp(1.25rem, 5vw, 4rem); --head-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; } /* height:auto: sonst verzerrt das height-Attribut Bilder, deren Breite das CSS setzt */
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.kicker { margin: 0 0 1rem; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.h-section { margin: 0; font: 800 clamp(2.4rem, 1.4rem + 3.6vw, 5rem)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.tags li { padding: .4rem .8rem; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; font-size: .82rem; color: var(--ink); }
.band { position: relative; padding-block: clamp(5rem, 11vw, 10rem); }

/* Wort-für-Wort-Überschriften (JS teilt, CSS animiert; ohne JS normaler Text) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .is-in [data-split] .w > span, .js [data-split].is-in .w > span { transform: none; }

/* Scroll-Fortschritt */
.progress { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* Intro: Linse zeichnet sich, Blende öffnet */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; align-content: center; gap: 1.5rem; background: var(--bg);
  clip-path: circle(150% at 50% 50%); transition: clip-path 1s var(--ease-in-out); }
.intro__lens svg { width: 96px; height: 96px; }
.intro__lens circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 327; stroke-dashoffset: 327; animation: draw 1s var(--ease) .1s forwards; }
.intro__lens .dot { fill: var(--accent); stroke: none; transform-origin: 60px 60px; transform: scale(0); animation: pop .5s var(--ease) .8s forwards; }
.intro__logo { width: 180px; opacity: 0; animation: fadeUp .6s var(--ease) .5s forwards; }
.intro.is-open { clip-path: circle(0% at 50% 50%); }
.intro.is-gone { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Kopfzeile */
.head { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--head-h); display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter);
  transition: transform .45s var(--ease), background .3s; }
.head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 85%, transparent), transparent); pointer-events: none; }
.head.is-hidden { transform: translateY(-100%); }
.head__logo { flex: none; }
.head__logo img { width: 170px; height: auto; }
.head__nav { display: flex; gap: .25rem; margin-left: auto; padding: .3rem; border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.head__nav a { padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; text-decoration: none; color: var(--muted); transition: color .2s, background .2s; }
.head__nav a:hover, .head__nav a[aria-current="true"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.head__cta { padding: .7rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s; }
.head__cta:hover { box-shadow: 0 10px 40px -10px var(--accent); }
/* Menü fürs Handy: ohne JS bedienbar */
.head__menu { display: none; margin-left: auto; }
.head__menu summary { list-style: none; cursor: pointer; padding: .55rem .9rem; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 999px; font-size: .88rem; }
.head__menu summary::-webkit-details-marker { display: none; }
.head__menu nav { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); display: grid; padding: .5rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.head__menu nav a { padding: .7rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
.head__menu nav a[aria-current="true"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
@media (max-width: 1080px) { .head__nav { display: none; } .head__menu { display: block; } .head { gap: .75rem; } .head__cta { margin-left: 0; } }
@media (max-width: 520px) { :root { --head-h: 62px; } .head__logo img { width: 128px; } .head__cta { padding: .55rem .9rem; font-size: .82rem; } }
/* Auf dem Handy passt der Knopf nicht neben Logo und Menü, sonst wird das Logo winzig. „Kontakt“ steht im Menü. */
@media (max-width: 430px) { .head__cta { display: none; } }
/* Lange Wörter wie „Psychiatriekoordination“ dürfen die Seite nicht breiter machen */
@media (max-width: 600px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 18 8 8; overflow-wrap: break-word; } }

/* CTAs */
.cta-capsule { display: inline-flex; align-items: center; min-height: 3.3rem; padding: 0 1.7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 40px -14px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cta-capsule:hover { box-shadow: 0 18px 60px -12px var(--accent); }
.cta-capsule:active { scale: .98; }
.cta-line { position: relative; display: inline-flex; align-items: center; min-height: 3.3rem; padding: 0 .3rem; font-weight: 500; text-decoration: none; }
.cta-line::after { content: ""; position: absolute; left: .3rem; right: .3rem; bottom: .85rem; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease); }
.cta-line:hover::after { transform: scaleX(1); }
.cta-arrow { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.cta-arrow span { transition: transform .35s var(--ease); }
.cta-arrow:hover span { transform: translate(4px, 3px); }

/* ---------------- Film-Reise ---------------- */
.journey { position: relative; overflow-x: clip; }
.journey__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.journey__film, .journey__stills img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey__stills img { opacity: 0; transition: opacity .8s var(--ease); }
.journey__stills img.is-on { opacity: 1; }
.journey__spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); mix-blend-mode: screen; }
.journey:hover .journey__spot { opacity: 1; }
.journey__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, var(--bg) 70%, transparent)); }
.dots { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: .9rem; }
.dots__item { display: flex; align-items: center; justify-content: flex-end; gap: .8rem; text-decoration: none; color: var(--muted); font-size: .8rem; }
.dots__item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: all .4s var(--ease); }
.dots__item span { opacity: 0; transform: translateX(6px); transition: all .4s var(--ease); }
.dots__item:hover span, .dots__item.is-active span { opacity: 1; transform: none; }
.dots__item.is-active { color: var(--ink); }
.dots__item.is-active::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent); transform: scale(1.4); }
.journey__hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; }
.journey__hint span { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
.journey.is-scrolled .journey__hint { opacity: 0; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.journey__chapters { position: relative; z-index: 2; margin-top: -100svh; }
.chapter { min-height: 125svh; display: flex; align-items: center; padding: calc(var(--head-h) + 2rem) var(--gutter) 4rem; }
.chapter:first-child { min-height: 110svh; }
.chapter[data-align="right"] { justify-content: flex-end; }
.chapter__copy { position: relative; width: min(38rem, 46vw); }
.chapter__copy::before { content: ""; position: absolute; z-index: -1; inset: -3rem -5rem; pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 82%, transparent), color-mix(in srgb, var(--bg) 45%, transparent) 55%, transparent 75%); }
.chapter__num { margin: 0 0 1rem; font: 700 .9rem/1 var(--display); color: var(--accent); letter-spacing: .1em; }
.chapter__title { margin: 0; font: 800 clamp(2.8rem, 1.2rem + 5.4vw, 6.6rem)/.95 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.chapter__body { margin: 1.5rem 0 0; max-width: 40ch; color: color-mix(in srgb, var(--ink) 82%, var(--muted)); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); }
.chapter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.js .chapter__body, .js .chapter .tags, .js .chapter__actions, .js .chapter .kicker, .js .chapter__num { transform: translateY(24px); filter: blur(6px); transition: transform .9s var(--ease) .25s, filter .9s var(--ease) .25s; }
.js .chapter.is-in .chapter__body, .js .chapter.is-in .tags, .js .chapter.is-in .chapter__actions, .js .chapter.is-in .kicker, .js .chapter.is-in .chapter__num { transform: none; filter: none; }
@media (max-width: 760px) {
  .dots { display: none; }
  .chapter { align-items: flex-end; padding-bottom: 12svh; }
  .chapter[data-align="right"] { justify-content: flex-start; }
  .chapter__copy { width: 100%; }
  .chapter__copy::before { inset: -2rem -1.5rem -3rem; background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 60%, transparent) 70%, transparent); }
}

/* ---------------- Blende „Wir“ ---------------- */
.aperture { position: relative; height: 260svh; }
.aperture__stick { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.aperture__frame { position: relative; width: min(92vw, 1240px, 150svh); aspect-ratio: 16 / 9; border-radius: calc(var(--p, 1) * var(--r)); overflow: hidden; background: #000;
  clip-path: circle(calc(1.2% + var(--p, 1) * 74%) at 50% 50%); }
.aperture__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--t, 1);
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 30%, transparent) 45%, transparent 70%); }
.aperture__video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p, 1) * .25)); }
.aperture__ring { position: absolute; left: 50%; top: 50%; width: calc(min(92vw, 1240px, 150svh) * (.024 + var(--p, 1) * 1.5)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 2px solid var(--accent); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 60%, transparent), inset 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: calc(1 - var(--p, 1) * 1.3); pointer-events: none; }
.aperture__text { position: absolute; z-index: 1; left: clamp(1.25rem, 4vw, 3.5rem); bottom: clamp(1.25rem, 4vw, 3rem); right: 1.25rem; max-width: 40rem; transform: translateY(calc((1 - var(--t, 1)) * 40px)); opacity: var(--t, 1); }
.aperture__title { margin: 0; font: 800 clamp(2.4rem, 1.2rem + 4.6vw, 6rem)/.92 var(--display); letter-spacing: -.045em; }
@media (max-width: 760px) { .aperture__frame { width: 94vw; aspect-ratio: 4 / 5; } .aperture__video { object-position: 50% 50%; } }
.aperture__lead { margin: 1.25rem 0 0; max-width: 42ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: color-mix(in srgb, var(--ink) 85%, var(--muted)); }

/* ---------------- Zahlen ---------------- */
.stats { border-block: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-block: 0; padding: 0; list-style: none; }
.stats li { display: grid; gap: .3rem; }
.stats strong { font: 800 clamp(2.6rem, 1.6rem + 3vw, 4.5rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.stats li:last-child strong { color: var(--accent); }
.stats span { color: var(--muted); }
@media (max-width: 760px) { .stats__list { grid-template-columns: 1fr 1fr; } }

/* ---------------- Leistungen ---------------- */
.services__intro { margin: 1.5rem 0 0; max-width: 52ch; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.services__list { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service { position: relative; border-bottom: 1px solid var(--line); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service__head { display: flex; align-items: baseline; gap: clamp(1rem, 3vw, 2.5rem); }
.service__num { font: 700 .95rem var(--display); color: var(--accent); }
.service__name { margin: 0; font: 800 clamp(2rem, 1.2rem + 3.2vw, 4.4rem)/1 var(--display); letter-spacing: -.035em; transition: transform .6s var(--ease), color .3s; }
.service:hover .service__name { transform: translateX(12px); }
.service__arrow { margin-left: auto; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.service:hover .service__arrow { transform: translateY(6px); color: var(--accent); }
/* Die Schritte hängen zusammen: feine Linie verbindet die Nummern */
.service:not(:last-child)::after { content: ""; position: absolute; left: .55rem; top: calc(clamp(1.5rem, 3vw, 2.5rem) + 2.2rem); bottom: calc(-1 * clamp(1.5rem, 3vw, 2.5rem) + .6rem);
  width: 1px; background: linear-gradient(var(--accent), transparent 85%); opacity: .45; pointer-events: none; }
.service__body { display: grid; gap: 1rem 3rem; padding-left: calc(clamp(1rem, 3vw, 2.5rem) + 1.4rem); margin-top: 1rem; }
.service__body p { margin: 0; max-width: 60ch; color: var(--muted); }
.service__body .tags { margin-top: 0; }
.service__inline { display: none; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--surface); }
@media (min-width: 900px) { .service__body { grid-template-columns: 1.3fr 1fr; align-items: start; } }
@media (max-width: 899px), (hover: none) { .service__inline { display: block; } .service__body { padding-left: 0; } }
.services__preview { position: fixed; z-index: 30; left: 0; top: 0; width: 340px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(.7) rotate(var(--rot, 0deg)); transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
.services__preview.is-on { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)) scale(1) rotate(var(--rot, 0deg)); }
.services__preview video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px), (hover: none) { .services__preview { display: none; } }

/* ---------------- Arbeiten: horizontale Fahrt ---------------- */
.work { position: relative; padding-block: clamp(4rem, 8vw, 6rem) 0; }
.work__stick { padding-bottom: clamp(3rem, 6vw, 5rem); }
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.work__intro { margin: 0; max-width: 36ch; color: var(--muted); }
.work__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0 var(--gutter) 1rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.work__card { flex: 0 0 clamp(280px, 30vw, 440px); scroll-snap-align: start; }
.work__link { display: block; text-decoration: none; }
.work__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.work__media picture { display: block; width: 100%; height: 100%; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translateX(var(--shift, 0px)); transition: transform 1s var(--ease); }
.work__link:hover .work__media img { transform: scale(1.18) translateX(var(--shift, 0px)); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--bg) 50%, transparent), transparent 50%); }
.work__play { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; padding: .35rem .75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 600; }
.work__kind { margin: 1.1rem 0 0; color: var(--accent); font-size: .85rem; font-weight: 600; }
.work__name { margin: .25rem 0 .4rem; font: 700 clamp(1.3rem, 1.1rem + .6vw, 1.75rem)/1.15 var(--display); }
.work__text { margin: 0; color: var(--muted); font-size: .98rem; }
.work__more { display: inline-flex; gap: .4rem; margin-top: .8rem; font-weight: 600; font-size: .92rem; color: var(--ink); opacity: .7; transition: opacity .3s, gap .3s var(--ease); }
.work__link:hover .work__more { opacity: 1; gap: .8rem; }
/* Desktop: vertikales Scrollen fährt die Galerie seitlich (JS setzt .is-pinned + Höhe) */
.work.is-pinned .work__stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-bottom: 0; }
.work.is-pinned .work__track { overflow: visible; scroll-snap-type: none; transform: translateX(var(--x, 0px)); will-change: transform; }

/* ---------------- Logos ---------------- */
.logos { padding-block: clamp(4rem, 8vw, 7rem); overflow: hidden; border-top: 1px solid var(--line); }
.logos__title { margin: 0 0 2.5rem; font: 700 clamp(1.4rem, 1.1rem + 1vw, 2.1rem)/1.2 var(--display); color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 1.5rem; }
.marquee__track { display: flex; width: max-content; gap: clamp(3rem, 6vw, 5.5rem); margin: 0; padding: 1rem 0; list-style: none; animation: marquee 50s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 60s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; display: grid; place-items: center; height: 60px; }
.marquee__track img { max-height: 48px; max-width: 150px; width: auto; opacity: .75; transition: opacity .3s, transform .3s var(--ease); }
.marquee__track li:hover img { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Stimmen ---------------- */
.voices { background: var(--surface); }
.voices__stage { min-height: clamp(15rem, 30vw, 22rem); }
.quote { margin: 0; }
.quote[hidden] { display: none; }
.quote__text { margin: 0; font: 700 clamp(1.7rem, 1.1rem + 2.4vw, 3.4rem)/1.15 var(--display); letter-spacing: -.02em; max-width: 26ch; text-wrap: pretty; }
.quote figcaption { margin-top: 1.75rem; color: var(--muted); opacity: 0; transform: translateY(10px); transition: all .6s var(--ease) .6s; }
.quote.is-in figcaption, html:not(.js) .quote figcaption { opacity: 1; transform: none; }
.voices__nav { display: flex; gap: .5rem; margin-top: 3rem; }
.quote__tab { position: relative; width: 56px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.quote__tab span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quote__tab span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.quote__tab[aria-current="true"] span::after { animation: fill var(--dur, 8s) linear forwards; }
.voices.is-paused .quote__tab[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------------- Team ---------------- */
.team__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .team__grid { grid-template-columns: 1.15fr 1fr; } }
.team__media { margin: 0; }
.team__pic { border-radius: var(--r); overflow: hidden; }
.team__pic img { width: 100%; transform: scale(1.1) translateY(var(--ty, 0px)); }
.team__media figcaption { margin-top: .75rem; color: var(--muted); font-size: .85rem; }
.team__lead { margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.team__list { margin: 2rem 0 0; padding: 0; list-style: none; }
.team__list li { padding: 1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.team__list li:last-child { border-bottom: 1px solid var(--line); }
.team__list strong { color: var(--ink); font-weight: 600; }

/* ---------------- Kontakt ---------------- */
.contact { padding-block: clamp(6rem, 14vw, 12rem); background: radial-gradient(70% 60% at 85% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--bg); overflow: hidden; }
.contact__title { margin: 0; font: 800 clamp(3rem, 1.4rem + 6.4vw, 8rem)/.92 var(--display); letter-spacing: -.045em; max-width: 14ch; }
.contact__lead { margin: 1.75rem 0 0; color: var(--muted); font-size: 1.15rem; max-width: 46ch; }
.contact__links { display: flex; flex-wrap: wrap; gap: .75rem 3rem; margin-top: 3rem; }
.contact__big { position: relative; display: inline-block; font: 700 clamp(1.6rem, 1rem + 2.4vw, 3rem) var(--display); text-decoration: none; overflow-wrap: anywhere; transition: transform .35s var(--ease); }
.contact__big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); transform-origin: left; transition: transform .5s var(--ease); }
.contact__big:hover::after { transform: scaleX(1.08); }
.cta-word { position: relative; display: inline-block; margin-top: 3.5rem; font: 800 clamp(2.2rem, 1.2rem + 3.4vw, 4rem) var(--display); color: var(--accent); text-decoration: none; }
.cta-word::after { content: ""; position: absolute; left: 0; bottom: .02em; width: 100%; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.cta-word:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------------- Footer ---------------- */
.foot { padding-block: 3.5rem 4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1fr 2fr; } }
.foot__note { margin: 1rem 0 0; color: var(--ink); max-width: 30ch; }
.foot__grid--nav { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.foot__links { margin: .4rem 0 0; padding: 0; list-style: none; }
.foot__links li { padding: .2rem 0; }
.foot a { color: inherit; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__adresse { margin: 1rem 0 0; line-height: 1.6; }
.foot__h { margin: 0 0 .4rem; font-size: .9rem; color: var(--ink); }
.foot__legal p { margin: 0 0 1.25rem; max-width: 80ch; }

/* ---------------- Referenz-Detail (Dialog) ---------------- */
.ref { width: min(100vw, 1100px); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.ref::backdrop { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ref[open] { animation: refIn .6s var(--ease); }
.ref[open]::backdrop { animation: fadeIn .4s var(--ease); }
@keyframes refIn { from { transform: translateY(40px) scale(.97); clip-path: inset(20% 10% 20% 10% round 20px); } to { clip-path: inset(0 round 20px); } }
@keyframes fadeIn { from { opacity: 0; } }
.ref__inner { position: relative; }
.ref__close { position: sticky; top: 1rem; float: right; z-index: 2; margin: 1rem 1rem -4rem 0; width: 3rem; height: 3rem; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 1.6rem; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease); }
.ref__close:hover { transform: rotate(90deg); }
.ref__hero { aspect-ratio: 21 / 9; overflow: hidden; }
.ref__hero img { width: 100%; height: 100%; object-fit: cover; }
.ref__content { padding: clamp(1.5rem, 4vw, 3.5rem); }
.ref__title { margin: 0; font: 800 clamp(2rem, 1.3rem + 3vw, 3.8rem)/1 var(--display); letter-spacing: -.035em; }
.ref__lead { margin: 1rem 0 1.5rem; font: 700 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.3 var(--display); color: var(--ink); max-width: 40ch; }
.ref__content > p { max-width: 68ch; color: color-mix(in srgb, var(--ink) 78%, var(--muted)); }
.ref__h { margin: 2rem 0 0; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ref__videos { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.ref__videos--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.player { display: grid; gap: .5rem; }
.player__btn { position: relative; display: grid; place-items: center; align-content: center; gap: .8rem; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden;
  background: linear-gradient(color-mix(in srgb, var(--bg) 45%, transparent), color-mix(in srgb, var(--bg) 65%, transparent)), var(--thumb) center / cover; }
.player__icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.4rem; padding-left: .25rem;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.2s var(--ease) infinite; transition: transform .35s var(--ease); }
.player__btn:hover .player__icon { transform: scale(1.1); }
.player__title { font-weight: 600; padding-inline: 1rem; text-align: center; }
.player__note { margin: 0; font-size: .78rem; color: var(--muted); }
.player iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 22px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ref__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }
@media (max-width: 700px) { .ref { border-radius: 0; height: 100dvh; } .ref__hero { aspect-ratio: 16 / 10; } }

/* Scroll-gebundene Auftritte (Transform, keine Unsichtbarkeit) */
@supports (animation-timeline: view()) {
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes rise { from { transform: translateY(50px); } }

/* Reduzierte Bewegung: alles ruhig, alles sichtbar */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .intro { display: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee--rev, .marquee__track li[aria-hidden] { display: none; }
  .journey__hint span { animation: none; }
}

/* Offener Dialog: Seite dahinter nicht scrollen */
html:has(dialog[open]) { overflow: hidden; }
.service__body .cta-arrow { margin-top: .5rem; }

/* Kontaktformular */
.anfrage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; max-width: 52rem; margin-top: 2.5rem; }
.anfrage__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.anfrage__feld { display: grid; gap: .4rem; min-width: 0; font-size: .9rem; color: var(--muted); }
.anfrage__feld--breit, .anfrage__hinweis, .anfrage__ende { grid-column: 1 / -1; }
.anfrage input:not([type=hidden]), .anfrage select, .anfrage textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
.anfrage textarea { resize: vertical; }
.anfrage input:focus-visible, .anfrage select:focus-visible, .anfrage textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.anfrage__hinweis { margin: 0; color: var(--muted); font-size: .85rem; }
.anfrage__hinweis a { color: var(--ink); }
.anfrage__ende { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.anfrage button { border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.anfrage button:disabled { opacity: .6; cursor: progress; }
.anfrage__status { margin: 0; font-weight: 600; }
.anfrage__status[data-art="ok"] { color: #7CE0A3; }
.anfrage__status[data-art="fehler"] { color: var(--accent); }
@media (max-width: 620px) { .anfrage { grid-template-columns: minmax(0, 1fr); } }
