/* ==========================================================================
   Acid Visuals — style.css
   Ruhiges, editoriales System. Die Säure (#007bff) bricht nur punktuell durch.
   ========================================================================== */

:root {
  --bg: #000000;
  --fg: #eaf2ff;
  --acid: #007bff;
  --splash: #66b3ff;
  --residue: #003d80;
  --muted: #6e7e96;
  /* Flüssigkeitsfarben der 4 Vials (identisch mit js/gl.js → VIALS) */
  --v-photo: #7cc8ff;
  --v-film: #2f86ff;
  --v-art: #0a45d8;
  --v-logo: #061a6e;
  --line: rgba(234, 242, 255, 0.13);
  --line-strong: rgba(234, 242, 255, 0.28);

  --f-display: "Inter Tight", "Space Grotesk", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 2.6vw, 40px);
  --header-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--acid); color: #000; }
:focus-visible { outline: 1px solid var(--acid); outline-offset: 3px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}
.muted { color: var(--muted); }
.acid { color: var(--acid); }
.wrap { padding-inline: var(--gutter); }

.display-xl, .display-l {
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.84;
  text-transform: lowercase;
}
.display-xl { font-size: clamp(72px, 15vw, 240px); }
.display-l  { font-size: clamp(44px, 7.4vw, 124px); }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; max-width: 34ch; }
.body-copy { color: rgba(234, 242, 255, 0.78); max-width: 52ch; }
.body-copy + .body-copy { margin-top: 1em; }

/* Headlines leicht angeätzt */
.corroded { filter: url(#corrode); }

/* JS-gesteuerte Materialisierung: vorher unsichtbar */
.js [data-materialize] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js [data-materialize] { opacity: 1; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  justify-self: start;
}
.brand img { display: block; height: 30px; width: auto; }
.brand__drop {
  width: 9px; height: 12px;
  background: var(--acid);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: translateY(1px);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
}
.nav { display: flex; gap: clamp(14px, 2.4vw, 40px); }
.nav a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.nav a::before, .nav a::after { color: var(--acid); opacity: 0; transition: opacity 0.25s; }
.nav a::before { content: "[ "; }
.nav a::after  { content: " ]"; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cat, var(--fg)); }
.nav a::before, .nav a::after { color: var(--cat, var(--acid)); }
.nav a:hover::before, .nav a:hover::after,
.nav a[aria-current="page"]::before, .nav a[aria-current="page"]::after { opacity: 1; }
.header-meta { justify-self: end; white-space: nowrap; }
.header-meta time { color: var(--fg); }
.burger { display: none; justify-self: end; }

/* Mobile-Navigation */
.mnav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px var(--gutter) 40px;
}
.mnav[hidden] { display: none; }
.mnav a.mnav__link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: clamp(48px, 15vw, 92px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.02;
  text-transform: lowercase;
  border-bottom: 1px solid var(--line);
}
.mnav a.mnav__link .mono { color: var(--muted); }
.mnav a.mnav__link { transition: color 0.25s, text-shadow 0.25s; }
.mnav a[aria-current="page"] { color: var(--cat, var(--acid)); }
.mnav a.mnav__link:hover { color: var(--cat, var(--fg)); }

/* ==========================================================================
   Eaten rule — Trennlinie mit Fraß-Loch + Tropfen
   ========================================================================== */
.rule {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 1px;
  margin-inline: var(--gutter);
}
.rule__seg { height: 1px; flex: 1 1 auto; background: var(--line-strong); }
.rule__seg--l { background: linear-gradient(90deg, var(--line-strong) calc(100% - 90px), var(--splash)); }
.rule__seg--r { background: linear-gradient(270deg, var(--line-strong) calc(100% - 90px), var(--splash)); }
.rule__hole { position: relative; flex: 0 0 120px; height: 1px; }
.rule__hole svg {
  position: absolute;
  left: 0; top: -4px;
  width: 120px; height: 90px;
  overflow: visible;
  fill: var(--acid);
  filter: drop-shadow(0 0 4px rgba(0, 123, 255, 0.8));
}
.rule__hole .stub { fill: var(--splash); }
.rule__hole .speck { fill: var(--splash); opacity: 0.7; }

/* ---------- Drips (gemeinsam) ---------- */
.drip-svg { overflow: visible; fill: var(--acid); }
.dr-stalk {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: dr-stalk 4.2s var(--ease) infinite;
}
.dr-drop {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: dr-drop 4.2s cubic-bezier(0.5, 0, 0.9, 0.5) infinite;
}
@keyframes dr-stalk {
  0%   { transform: scaleY(0.18); }
  52%  { transform: scaleY(1); }
  60%  { transform: scaleY(0.42); }
  100% { transform: scaleY(0.18); }
}
@keyframes dr-drop {
  0%, 44% { transform: translateY(0) scale(0); opacity: 0; }
  52%     { transform: translateY(0) scale(1); opacity: 1; }
  100%    { transform: translateY(78px) scale(0.72); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-stalk, .dr-drop { animation: none; }
  .dr-drop { opacity: 0; }
}

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
main { display: block; }
.section { padding-block: clamp(80px, 11vw, 180px); }
.sec-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 96px);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.6vw, 24px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__gl { position: absolute; inset: 0; z-index: 0; }
/* Fullscreen-Showreel: die Arbeit zuerst */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.75) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
}
/* Säurekante unten: Video läuft in die Seite aus */
.hero__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid) 20%, var(--splash) 50%, var(--acid) 80%, transparent);
  box-shadow: 0 0 18px var(--acid);
}
.hero__now { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.hero__now:hover [data-now-title] { color: var(--splash); }
.hero__now.is-swap [data-now-title] { animation: now-swap 0.5s var(--ease); }
@keyframes now-swap { from { opacity: 0; transform: translateY(4px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.hero__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); animation: blink 1.4s steps(1) infinite; }
.hero .mono { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.gl { width: 100%; height: 100%; }
.gl-fallback { display: none; }
.no-gl .gl { display: none; }
.no-gl .gl-fallback { display: block; }
.hero__gl .gl-fallback { position: absolute; right: 8%; top: 20%; width: 42%; }

.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 22px;
  pointer-events: none;
}
.hero__top > * { pointer-events: auto; }
.pulse {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acid);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6);
  animation: pulse 2.4s infinite;
  vertical-align: 1px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}
.hero__vertical {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: clamp(20px, 3vw, 40px);
  pointer-events: none;
}
.hero__bottom > * { pointer-events: auto; }

.hero__sub { color: var(--fg); }
.hero__scroll { color: var(--muted); transition: color 0.2s; }
.hero__scroll:hover { color: var(--fg); }

/* ==========================================================================
   SOLUTIONS / VIALS
   ========================================================================== */
.solutions { padding-top: clamp(70px, 9vw, 140px); }
.solutions__intro { align-items: end; row-gap: 28px; }
.solutions__intro h2 { grid-column: 1 / span 8; }
.solutions__intro .lead { grid-column: 9 / span 4; }

.vials {
  position: relative;
  height: clamp(420px, 68vh, 720px);
  margin-top: clamp(30px, 4vw, 60px);
}
.vials__labels { position: absolute; inset: auto 0 0 0; height: 0; }
.vial-btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 14px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}
.vial-btn__name {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  line-height: 1;
}
.vial-btn .mono { color: var(--muted); }
@media (max-width: 1200px) { .vial-btn .mono:last-child { display: none; } }
.vial-btn__name { transition: color 0.3s, text-shadow 0.3s; }
.vial-btn:hover .vial-btn__name, .vial-btn.is-hover .vial-btn__name,
.vial-btn[aria-pressed="true"] .vial-btn__name { color: var(--cat, var(--splash)); text-shadow: 0 0 18px var(--cat-glow, transparent); }

/* Kategorie-Farbe je Ziel: Vials, Menü und Mobile-Menü leuchten in der Farbe ihrer Flüssigkeit */
a[href="photography.html"] { --cat: var(--v-photo); }
a[href="film.html"] { --cat: var(--v-film); }
a[href="digital-art.html"] { --cat: var(--v-art); --cat-glow: rgba(10, 69, 216, 0.55); }
a[href="logo-brand.html"] { --cat: var(--v-logo); --cat-glow: rgba(60, 100, 255, 0.6); }
.nav a[href="digital-art.html"]:hover, .nav a[href="logo-brand.html"]:hover,
.nav a[href="digital-art.html"][aria-current="page"], .nav a[href="logo-brand.html"][aria-current="page"],
.mnav a[href="digital-art.html"]:hover, .mnav a[href="logo-brand.html"]:hover,
.mnav a[href="digital-art.html"][aria-current="page"], .mnav a[href="logo-brand.html"][aria-current="page"] { text-shadow: 0 0 14px var(--cat-glow); }
.vial-btn[aria-pressed="true"] .mono { color: var(--fg); }
.no-gl .vials { height: auto; padding-block: 40px; }
.no-gl .vials__labels { position: static; height: auto; display: flex; justify-content: space-around; }
.no-gl .vial-btn { position: static; transform: none; }

/* ==========================================================================
   KATEGORIEN
   ========================================================================== */
.cat {
  padding-top: clamp(70px, 9vw, 150px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.cat.is-leaving { opacity: 0; transform: translateY(24px); }
.cat[hidden] { display: none; }

.cat__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: clamp(12px, 2vw, 32px);
  padding-top: clamp(36px, 5vw, 72px);
  margin-bottom: clamp(40px, 6vw, 90px);
}
.cat__num {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(54px, 7vw, 116px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--fg);
}
.cat__title {
  font-size: clamp(76px, 15vw, 250px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.8;
  text-transform: lowercase;
  margin-bottom: -0.06em;
}
.cat__title sup {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  vertical-align: top;
  color: var(--muted);
  margin-left: 0.6em;
  position: relative;
  top: 1.2em;
}
.cat__meta { text-align: right; color: var(--muted); max-width: 30ch; }
.cat__meta b { color: var(--fg); font-weight: 400; }

/* Projekt-Meta: [ TITEL ] // [ JAHR ] // [ CLIENT ] */
.pmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pmeta span:first-child { color: var(--fg); }
.pmeta .sep { color: var(--acid); }
.pmeta span { color: var(--muted); }

/* ---------- Bild-Karten: Burn-Hover ---------- */
.proj__media { display: block; position: relative; }
.rim-glow { filter: drop-shadow(0 0 0 rgba(0, 123, 255, 0)); transition: filter 0.6s var(--ease); }
.rim-glow:hover { filter: drop-shadow(0 0 12px rgba(0, 123, 255, 0.55)); }
.burn { position: relative; overflow: hidden; background: #0a0d12; }
.burn img, .burn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.7s var(--ease), transform 1.4s var(--ease);
}
.burn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(102, 179, 255, 0.4), rgba(0, 123, 255, 0.2) 16%, rgba(0, 61, 128, 0.08) 34%, transparent 52%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.proj__media:hover .burn img,
.proj__media:hover .burn video,
.proj__media:focus-visible .burn img {
  filter: contrast(1.12) saturate(1.2);
  transform: scale(1.02);
}
.proj__media:hover .burn::after { opacity: 1; }

[data-rim] { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }

/* ---------- 02 Video ---------- */
.dissolving { filter: url(#dissolve); }
.video-main { grid-column: 1 / -1; }
.video-b { grid-column: 1 / span 5; margin-top: clamp(40px, 5vw, 80px); }
.video-c { grid-column: 7 / span 6; margin-top: clamp(100px, 12vw, 200px); }
.vframe { position: relative; }
.vframe__hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(10px, 1.4vw, 20px);
  pointer-events: none;
  z-index: 2;
}
.vframe__row { display: flex; justify-content: space-between; }
.rec::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--acid);
  animation: blink 1.2s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.1; } }
.play {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: clamp(56px, 6vw, 88px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(234, 242, 255, 0.6);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.play::after {
  content: "";
  border-left: 13px solid var(--fg);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.proj__media:hover .play { background: var(--acid); border-color: var(--acid); }
[data-video] { cursor: pointer; }
[data-video] .play { transition: opacity 0.4s, background 0.3s, border-color 0.3s; }
[data-video].is-playing .play { opacity: 0; }

/* Fehlendes Bild: ruhiger Platzhalter statt kaputtem Icon */
.burn.is-missing img { visibility: hidden; }
.burn.is-missing::before {
  content: "[ " attr(data-missing) " ]";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, #05080d 0 14px, #0a0f17 14px 15px);
}

/* ==========================================================================
   PAGE HERO (Unterseiten)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px));
  padding-bottom: clamp(40px, 6vw, 90px);
}
.page-hero__top { display: flex; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 56px); }
.page-hero__grid { align-items: end; row-gap: 28px; }
.page-hero__grid > h1 { grid-column: 1 / span 8; }
.page-hero__grid > .lead,
.page-hero__grid > .page-hero__aside { grid-column: 9 / span 4; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  padding-top: clamp(50px, 6vw, 90px);
}
/* 7. Karte (Logo Package) füllt die letzte Reihe */
.price--wide { grid-column: 1 / -1; }
@media (min-width: 901px) { .price--wide .price__list { columns: 2; column-gap: 32px; } .price--wide .btn { align-self: flex-start; min-width: 280px; } }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  min-height: 520px;
  isolation: isolate;
}
.price__edge {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line-strong);
  filter: url(#etch);
  transition: border-color 0.4s, box-shadow 0.4s;
  pointer-events: none;
}
.price:hover .price__edge {
  border-color: var(--acid);
  box-shadow: 0 0 22px rgba(0, 123, 255, 0.35), inset 0 0 22px rgba(0, 123, 255, 0.12);
}
.price--key .price__edge { border-color: var(--acid); }
.price__top { display: flex; justify-content: space-between; color: var(--muted); }
.price__name {
  margin-top: clamp(40px, 5vw, 70px);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.price__amount {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
}
.price__amount .mono { color: var(--muted); letter-spacing: 0.08em; margin-top: 4px; }
.price__unit { margin-top: 10px; color: var(--muted); }
.price__list { margin-top: 28px; border-top: 1px solid var(--line); }
.price__list li {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: rgba(234, 242, 255, 0.82);
}
.price__list li::before { content: "//"; font-family: var(--f-mono); font-size: 11px; color: var(--acid); padding-top: 3px; }
.price .btn { margin-top: auto; }
.price__list { margin-bottom: 28px; }

.btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--acid { background: var(--acid); border-color: var(--acid); color: #000; font-weight: 500; }
.btn--acid:hover { background: var(--splash); border-color: var(--splash); box-shadow: 0 0 26px rgba(0, 123, 255, 0.55); }
.btn span[aria-hidden] { transition: transform 0.25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

.terms { padding-top: clamp(80px, 10vw, 160px); }
.terms__row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.terms__row:last-child { border-bottom: 1px solid var(--line); }
.terms__row h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -0.04em; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-split { align-items: start; row-gap: 48px; }
.portrait { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.portrait__glow { filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.35)); }
.portrait__img { aspect-ratio: 4 / 5; background: #0a0d12; }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; }
.portrait .pmeta { margin-top: 18px; }
.about-text { grid-column: 7 / span 6; padding-top: 8px; }
.about-text h1 { margin: 22px 0 clamp(32px, 4vw, 60px); }
.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }

.skills { padding-top: clamp(90px, 12vw, 200px); }
.skill {
  display: grid;
  grid-template-columns: 70px 1fr minmax(0, 340px);
  gap: clamp(12px, 2vw, 32px);
  align-items: end;
  padding-block: clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--line);
}
.skill:last-child { border-bottom: 1px solid var(--line); }
.skill__name {
  font-size: clamp(60px, 12vw, 200px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.8;
  transition: color 0.4s;
}
.skill:hover .skill__name { color: var(--acid); }
a.skill { color: inherit; text-decoration: none; cursor: pointer; }
a.skill .skill__name::after { content: " →"; font-size: 0.35em; vertical-align: 0.6em; opacity: 0; transition: opacity 0.3s; }
a.skill:hover .skill__name::after, a.skill:focus-visible .skill__name::after { opacity: 1; }
.skill p { color: rgba(234, 242, 255, 0.75); padding-bottom: 0.6em; }

.tools { padding-top: clamp(80px, 10vw, 160px); align-items: center; row-gap: 32px; }
.tools__list { grid-column: 1 / span 8; }
.tools__list li {
  font-size: clamp(26px, 3.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.12;
  display: inline;
}
.tools__list li:not(:last-child)::after {
  content: " // ";
  color: var(--acid);
  font-weight: 400;
  font-family: var(--f-mono);
  font-size: 0.5em;
  vertical-align: 0.35em;
}
.tools__gl { grid-column: 9 / span 4; aspect-ratio: 16 / 10; position: relative; border: 1px solid var(--line); }
.tools__gl .mono { position: absolute; left: 10px; top: 8px; z-index: 1; color: var(--muted); }
.tools__gl .gl-fallback { position: absolute; inset: 20%; width: 60%; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.statement {
  font-size: clamp(76px, 17vw, 290px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.8;
  text-transform: uppercase;
}
.statement span { display: block; }
.statement .dissolving { color: var(--acid); padding-right: 0.06em; }
.contact-split { padding-top: clamp(60px, 8vw, 130px); row-gap: 64px; }
.contact-form { grid-column: 1 / span 7; display: grid; gap: 4px; }
.field { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--line-strong); padding-block: 18px 12px; transition: border-color 0.3s; }
.field:focus-within { border-color: var(--acid); }
.field label { color: var(--muted); }
.field:focus-within label { color: var(--acid); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fg);
  font: 500 clamp(18px, 1.6vw, 24px) / 1.35 var(--f-display);
  letter-spacing: -0.02em;
  resize: vertical;
  caret-color: var(--acid);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(110, 126, 150, 0.6); }
.field textarea { min-height: 150px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-foot .btn { min-width: 240px; }
.form-status { color: var(--muted); }
.form-status.is-ok { color: var(--splash); }
.form-status.is-error { color: #ff6b7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.direct { grid-column: 9 / span 4; display: grid; gap: 48px; align-content: start; }
.direct dl div { padding-block: 14px; border-top: 1px solid var(--line); }
.direct dd { font-family: var(--f-display); text-transform: none; font-size: clamp(18px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.direct dd a:hover { color: var(--acid); }
.social a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: color 0.25s, padding 0.25s var(--ease);
}
.social a:last-child { border-bottom: 1px solid var(--line); }
.social a:hover { color: var(--acid); padding-left: 8px; }

/* ==========================================================================
   FOOTER + ACID-BASSIN
   ========================================================================== */
.footer {
  --surf: clamp(110px, 12vw, 170px); /* Höhe bis zur Säure-Oberfläche */
  position: relative;
  margin-top: clamp(60px, 8vw, 140px);
  padding-top: var(--surf);
  overflow: hidden;
  isolation: isolate;
}
.footer__grid { padding-block: clamp(70px, 7vw, 110px) 24px; row-gap: 40px; position: relative; z-index: 1; }
.footer .mono, .footer .muted { color: rgba(234, 242, 255, 0.62); }
.footer__brand { grid-column: 1 / span 5; }
.footer__brand img { width: clamp(170px, 26vw, 340px); height: auto; }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 32ch; }
.footer__col { grid-column: span 2; display: grid; gap: 6px; align-content: start; }
.footer__col:first-of-type { grid-column: 7 / span 2; }
.footer__col .mono:first-child { color: var(--muted); margin-bottom: 8px; }
.footer__col a { font-weight: 600; letter-spacing: -0.02em; transition: color 0.2s; width: fit-content; }
.footer__col a:hover { color: var(--acid); }
.footer__meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 14px;
  border-top: 1px solid rgba(234, 242, 255, 0.16);
  margin-inline: var(--gutter);
  padding-bottom: 22px;
}
/* Das Bassin füllt den ganzen Footer — der Inhalt schwimmt in der Säure */
.bassin { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bassin canvas { width: 100%; height: 100%; }
.bassin__label { position: absolute; right: var(--gutter); top: calc(var(--surf) + 22px); color: rgba(234, 242, 255, 0.5); }


/* ==========================================================================
   VIALS als Navigation
   ========================================================================== */
a.vial-btn { cursor: pointer; }
.vial-btn.is-soon { cursor: default; }
.vial-btn.is-soon .vial-btn__name { color: var(--muted); }
.vial-btn.is-nudge .mono:last-child { animation: nudge 0.9s var(--ease); }
@keyframes nudge { 0%, 100% { color: var(--muted); } 30% { color: var(--acid); } }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.gallery-wrap { padding-top: clamp(40px, 5vw, 80px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 56px); }
.chips button {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chips button sup { font-size: 0.8em; margin-left: 2px; }
.chips button:hover { color: var(--fg); border-color: var(--fg); }
.chips button[aria-pressed="true"] { color: #000; background: var(--acid); border-color: var(--acid); }

.gallery { columns: 3 300px; column-gap: clamp(14px, 1.8vw, 28px); }
.g-item { break-inside: avoid; margin-bottom: clamp(28px, 3.4vw, 56px); position: relative; }
.g-item[hidden] { display: none; }
.g-item .burn img { height: auto; }
.g-item__badge {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--splash);
  border: 1px solid rgba(102, 179, 255, 0.4);
}
.g-item .pmeta span:first-child { color: var(--muted); }
.g-item .pmeta span:nth-child(3) { color: var(--fg); }

/* ==========================================================================
   DETAILSEITE
   ========================================================================== */
.work { padding-top: calc(var(--header-h) + 22px); }
.work__bar { display: flex; justify-content: space-between; padding-block: 12px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 56px); }
.work__back { transition: color 0.2s; }
.work__back:hover { color: var(--acid); }
.work__missing { padding-block: 80px; }
.work__missing a { color: var(--acid); }
.work__grid { align-items: start; row-gap: 40px; }
.work__media { grid-column: 1 / span 8; }
.work__media figcaption { margin-top: 10px; }
.work__media .burn img { height: auto; }
button.proj__media { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.work__info { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.work__title {
  margin: 18px 0 clamp(24px, 3vw, 40px);
  font-size: clamp(44px, 5.4vw, 92px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: lowercase;
  overflow-wrap: anywhere;
}
.work__meta {
  font-size: 9.5px;
  line-height: 1.4;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.work__meta div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding-block: 2px; }
.work__meta dt { color: var(--muted); }
.work__meta dd { color: rgba(234, 242, 255, 0.8); overflow-wrap: anywhere; text-transform: none; letter-spacing: 0.03em; }
.work__info > .work__meta { margin-bottom: 0; border-bottom: 0; }
.work__tech { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.work__tech summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.work__tech summary::-webkit-details-marker { display: none; }
.work__tech summary:hover, .work__tech[open] summary { color: var(--fg); }
.work__tech summary span { color: var(--acid); font-size: 14px; transition: transform 0.3s var(--ease); }
.work__tech[open] summary span { transform: rotate(45deg); }
.work__tech .work__meta { border: 0; margin: 0; padding-top: 0; animation: tech-in 0.35s var(--ease); }
@keyframes tech-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.work__text { white-space: pre-line; color: rgba(234, 242, 255, 0.78); font-size: 15px; line-height: 1.6; margin-bottom: 28px; max-width: 46ch; }
.work__info .btn { width: 100%; }

.work__extra { padding-top: clamp(70px, 9vw, 140px); }
.extra-grid { columns: 3 260px; column-gap: clamp(14px, 1.8vw, 28px); }
.extra-grid figure { break-inside: avoid; margin-bottom: 32px; }
.extra-grid .burn img { height: auto; }

.work__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(70px, 9vw, 140px);
  border-top: 1px solid var(--line);
}
.work__pager a { display: grid; gap: 8px; padding-block: 22px; transition: color 0.25s; }
.work__pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 20px; }
.work__pager b { font-size: clamp(24px, 3vw, 48px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; text-transform: lowercase; }
.work__pager a:hover { color: var(--acid); }

/* ---------- Video ---------- */
.video-frame {
  background: #05080d; overflow: hidden;
  /* nie höher als der sichtbare Bildschirm: Hochformat-Videos werden schmaler statt abgeschnitten */
  width: min(100%, calc((100vh - var(--header-h) - 150px) * var(--ar, 1.7778)));
  width: min(100%, calc((100svh - var(--header-h) - 150px) * var(--ar, 1.7778)));
  margin-inline: auto;
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.g-item__badge--play { color: #fff; background: var(--acid); border-color: var(--acid); }

/* ---------- Serien-Slider ---------- */
.slider__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #05080d;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; padding: 0; cursor: zoom-in; }
.slider__slide img { width: 100%; height: 100%; object-fit: contain; }
.slider__ui {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
}
.slider__ui > button {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  font-size: 16px;
  color: var(--fg);
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.slider__ui > button:hover:not(:disabled) { background: var(--acid); border-color: var(--acid); color: #000; }
.slider__ui > button:disabled { opacity: 0.3; cursor: default; }
.slider__dots { display: flex; gap: 6px; flex: 1; }
.slider__dots button { width: 22px; height: 3px; padding: 0; background: var(--line-strong); transition: background 0.25s, width 0.25s; }
.slider__dots button[aria-current="true"] { width: 38px; background: var(--acid); }
.slider__count { color: var(--fg); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 2 * clamp(16px, 4vw, 56px)); width: auto; height: auto; box-shadow: 0 0 60px rgba(0, 123, 255, 0.18); cursor: default; }
.lightbox__close { position: absolute; top: 16px; right: var(--gutter); color: var(--fg); }
.lightbox__close:hover { color: var(--acid); }

/* ==========================================================================
   TEXTUREN — ganzflächig hinter allen Inhalten (bis der Footer sie überdeckt)
   ========================================================================== */
.tex-metal    { --tex: url(../assets/tex/metal.webp); }
.tex-grid     { --tex: url(../assets/tex/grid.webp);  --tex-size: 520px auto; --tex-repeat: repeat; --tex-o: 0.22; }
.tex-clouds   { --tex: url(../assets/tex/clouds.webp); }
.tex-dots     { --tex: url(../assets/tex/dots.webp); }
.tex-halftone { --tex: url(../assets/tex/halftone.webp); }
.tex-liquid   { --tex: url(../assets/tex/liquid.webp); --tex-o: 0.26; }
.tex-grid-diag  { --tex: url(../assets/tex/grid-diag.webp); --tex-o: 0.2; }
.tex-clouds-alt { --tex: url(../assets/tex/clouds-alt.webp); }

body[class*="tex-"] { background: transparent; }
body[class*="tex-"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--tex) center / var(--tex-size, cover) var(--tex-repeat, no-repeat);
  opacity: var(--tex-o, 0.34);
  pointer-events: none;
}
/* 3D-Flächen: Schwarz wird durchsichtig, nur Logo/Vials leuchten über der Textur */
.gl, .hero__gl, .tools__gl { mix-blend-mode: screen; }

/* ==========================================================================
   CURATOR CURSOR
   ========================================================================== */
.curator {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  filter: url(#trail-blur);
  mix-blend-mode: screen;
}
@media (pointer: coarse) { .curator { display: none; } }

/* ==========================================================================
   RESPONSIVE — 900px
   ========================================================================== */
@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .brand img { height: 26px; }
  .footer__brand img { width: 180px; }
  .nav, .header-meta { display: none; }
  .site-header__row { grid-template-columns: 1fr auto; }
  .burger { display: block; }

  .hero__vertical { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__top { flex-direction: column; gap: 14px; }
  .hero__gl .gl-fallback { left: 8%; right: 8%; width: auto; top: 22%; }

  .grid-12 > * { grid-column: 1 / -1 !important; }
  .work__info { position: static; }
  .work__pager b { font-size: 22px; }
  .gallery { columns: 2 150px; }
  .solutions__intro .lead { max-width: none; }
  .vials { height: 400px; }
  .vial-btn { bottom: 4px; padding: 8px 4px; }
  .vial-btn .mono:last-child { display: none; }

  .cat__head { grid-template-columns: auto 1fr; }
  .cat__meta { grid-column: 1 / -1; text-align: left; }
  .cat__title sup { display: block; margin: 0.9em 0 0; top: 0; white-space: nowrap; line-height: 1; }
  .video-b, .video-c { margin-top: 32px; }

  .prices { grid-template-columns: 1fr; }
  .price { min-height: 0; }
  .terms__row { grid-template-columns: 1fr; gap: 6px; }

  .portrait { position: relative; top: 0; }
  .skill { grid-template-columns: 1fr; gap: 8px; }
  .skill .mono { order: -1; }
  .tools__gl { aspect-ratio: 16 / 11; }
  .facts div { grid-template-columns: 110px 1fr; }

  .field { grid-template-columns: 1fr; gap: 6px; }
  .form-foot .btn { width: 100%; }

  .footer__brand, .footer__col, .footer__col:first-of-type { grid-column: span 6 !important; }
  .footer__brand { grid-column: 1 / -1 !important; }
}

@media (max-width: 520px) {
  .gallery { columns: 1; }
}

/* ==========================================================================
   404 — die Seite hat sich aufgelöst
   ========================================================================== */
.tex-404 { --tex-o: 0.18; }
.e404__hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(60px, 8vw, 120px); }
.e404__code { position: relative; margin: 0 0 clamp(60px, 9vw, 140px); line-height: 0.78; }
.e404__digits {
  display: flex;
  justify-content: space-between;
  font-size: clamp(150px, 34vw, 560px);
  font-weight: 900;
  letter-spacing: -0.08em;
  filter: url(#melt);
  user-select: none;
}
.e404__digits .acid { text-shadow: 0 0 60px rgba(0, 123, 255, 0.45); }
.e404__canvas { position: absolute; left: 0; top: 0; display: none; filter: url(#melt); pointer-events: none; }
.e404__canvas.is-live { display: block; }
.e404__drops { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; }
.e404__hint { transition: color 0.3s; }
.e404__lab { display: grid; }
.e404__lab .e404__log { border-bottom: 0; }
.e404__meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 30, 0.55);
  font-size: 11px;
  color: var(--muted);
}
.e404__meter [data-eaten] { color: var(--acid); min-width: 4ch; text-align: right; }
.e404__bar { height: 4px; background: rgba(234, 242, 255, 0.08); overflow: hidden; }
.e404__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--splash), var(--acid)); box-shadow: 0 0 10px var(--acid); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s var(--ease); }
.e404__grid { row-gap: 48px; align-items: start; }
.e404__text { grid-column: 1 / span 6; display: grid; gap: 22px; }
.e404__text .display-l { color: var(--acid); filter: url(#dissolve); }
.e404__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.e404__side { grid-column: 8 / span 5; display: grid; gap: 36px; }
.e404__log {
  margin: 0;
  min-height: 9.5em;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 30, 0.55);
  font-size: 12px;
  line-height: 1.8;
  color: var(--splash);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.e404__caret { color: var(--acid); animation: blink 1s steps(1) infinite; }
.e404__vials { display: grid; }
.e404__vials .mono.muted { margin-bottom: 8px; }
.e404__vials a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: color 0.25s, padding-left 0.3s var(--ease);
}
.e404__vials a .mono { margin-left: auto; color: var(--muted); font-weight: 400; letter-spacing: 0.1em; }
.e404__vials i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.e404__vials a:hover { color: var(--cat, var(--fg)); padding-left: 8px; }
@media (max-width: 900px) {
  .e404__text, .e404__side { grid-column: 1 / -1; }
  .e404__cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .e404__caret { animation: none; } }

/* ==========================================================================
   KONTAKT — 90er-Homepage auf VHS (Matrix-Regen, Scanlines, Tracking)
   ========================================================================== */
.vhs-page { background: #000; }
.vhs {
  --vhs-font: var(--f-mono);  /* JetBrains Mono — eigene Schrift statt Pixel-Font */
  --old-blue: #4da3ff;
  position: relative;
  padding: calc(var(--header-h) + 34px) var(--gutter) 70px;
  font-family: Verdana, Tahoma, Geneva, sans-serif;  /* 90er-Web, ohne Serifen */
  color: #cfe3ff;
  overflow: hidden;
}
.vhs__rain { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0.55; pointer-events: none; }

/* Scanlines + Rauschen + Tracking-Balken über allem */
.vhs__fx {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.55  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: vhs-noise 0.5s steps(4) infinite;
}
@keyframes vhs-noise { 0% { background-position: 0 0, 0 0; } 25% { background-position: 0 1px, -40px 30px; } 50% { background-position: 0 0, 60px -20px; } 75% { background-position: 0 2px, -20px -50px; } 100% { background-position: 0 0, 30px 40px; } }
.vhs__track {
  position: absolute; left: 0; right: 0; height: 9vh; top: -10vh;
  background: linear-gradient(180deg, transparent, rgba(120, 180, 255, 0.10) 40%, rgba(200, 225, 255, 0.22) 50%, rgba(120, 180, 255, 0.10) 60%, transparent);
  filter: blur(1px);
  animation: vhs-track 7s linear infinite;
}
@keyframes vhs-track { 0% { top: -10vh; } 60%, 100% { top: 110vh; } }
/* Vignette wie ein alter Röhrenbildschirm */
.vhs::after {
  content: ""; position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.75) 100%);
}

/* OSD in den Ecken */
.vhs__osd { position: fixed; inset: calc(var(--header-h) + 10px) 18px 14px; z-index: 41; pointer-events: none; font-family: var(--vhs-font); font-size: clamp(13px, 1.3vw, 17px); font-weight: 500; text-transform: uppercase; color: #e9f3ff; text-shadow: 2px 0 rgba(0, 123, 255, 0.9), -2px 0 rgba(0, 220, 255, 0.5); letter-spacing: 0.06em; }
.vhs__osd > span { position: absolute; }
.vhs__osd-tl { left: 0; top: 0; }
.vhs__osd-tr { right: 0; top: 0; }
.vhs__osd-bl { left: 0; bottom: 0; }
.vhs__osd-br { right: 0; bottom: 0; }
.vhs__play { font-weight: 400; animation: blink 1s steps(1) infinite; }

/* Die "alte Homepage" */
.old { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; display: grid; gap: 16px; animation: vhs-jitter 6s steps(1) infinite; }
@keyframes vhs-jitter { 0%, 91%, 100% { transform: none; filter: none; } 92% { transform: translateX(-4px) skewX(-1deg); filter: hue-rotate(-12deg); } 93% { transform: translateX(5px); } 94% { transform: translateX(-2px) skewX(0.6deg); } 95% { transform: none; } }
.old a { color: var(--old-blue); text-decoration: underline; }
.old a:hover { background: var(--acid); color: #000; text-decoration: none; }
.rgb { text-shadow: -2px 0 rgba(0, 220, 255, 0.75), 2px 0 rgba(0, 60, 255, 0.95); }

.old__marquee { overflow: hidden; white-space: nowrap; border: 2px inset #2a4f8f; background: #000814; font-family: var(--vhs-font); font-size: 13px; letter-spacing: 0.08em; color: var(--splash); padding: 2px 0; }
.old__marquee span { display: inline-block; animation: marquee 22s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Windows-95-Fenster, aber blau/schwarz */
.win { border: 2px outset #3b6fc4; background: rgba(0, 6, 22, 0.88); box-shadow: 4px 4px 0 #000; }
.win__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 2px 4px 2px 8px;
  background: linear-gradient(90deg, #001a66, var(--acid));
  font-family: var(--vhs-font); font-size: 12px; font-weight: 500; color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
}
.win__btns { display: flex; gap: 3px; }
.win__btns i { width: 18px; height: 16px; display: grid; place-items: center; font-style: normal; font-size: 14px; line-height: 1; color: #001a66; background: #9fc4ff; border: 2px outset #d6e6ff; }
.win__body { padding: 16px; }

.win--logo .win__body { display: grid; gap: 10px; text-align: center; }
.vhs-logo { position: relative; height: clamp(150px, 26vw, 260px); background: #000; border: 2px inset #2a4f8f; }
.vhs-logo .gl-fallback { position: absolute; inset: 15%; width: 70%; image-rendering: pixelated; }
.old__h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 10vw, 128px); line-height: 0.85; letter-spacing: -0.05em; color: #e9f3ff; position: relative; display: inline-flex; align-items: flex-start; justify-content: center; gap: 0.1em; }
/* 90er-"NEU!"-Sticker: gezackter Stern, dreht langsam, pulsiert */
.old__new {
  position: relative; isolation: isolate; flex: none;
  display: inline-grid; place-items: center; width: 5em; height: 5em; margin: -1.8em 0 0 -1.3em;
  font: 900 clamp(16px, 2vw, 26px)/1 var(--f-display); letter-spacing: -0.01em; color: #000; text-shadow: none;
  transform: rotate(-14deg); filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.85));
  animation: new-pulse 0.9s ease-in-out infinite alternate;
}
.old__new::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 45%, #9fd0ff, var(--acid) 55%, #0047b3);
  clip-path: polygon(50.0% 0.0%, 54.8% 13.3%, 62.9% 1.7%, 64.2% 15.8%, 75.0% 6.7%, 72.5% 20.6%, 85.4% 14.6%, 79.4% 27.5%, 93.3% 25.0%, 84.2% 35.8%, 98.3% 37.1%, 86.7% 45.2%, 100.0% 50.0%, 86.7% 54.8%, 98.3% 62.9%, 84.2% 64.2%, 93.3% 75.0%, 79.4% 72.5%, 85.4% 85.4%, 72.5% 79.4%, 75.0% 93.3%, 64.2% 84.2%, 62.9% 98.3%, 54.8% 86.7%, 50.0% 100.0%, 45.2% 86.7%, 37.1% 98.3%, 35.8% 84.2%, 25.0% 93.3%, 27.5% 79.4%, 14.6% 85.4%, 20.6% 72.5%, 6.7% 75.0%, 15.8% 64.2%, 1.7% 62.9%, 13.3% 54.8%, 0.0% 50.0%, 13.3% 45.2%, 1.7% 37.1%, 15.8% 35.8%, 6.7% 25.0%, 20.6% 27.5%, 14.6% 14.6%, 27.5% 20.6%, 25.0% 6.7%, 35.8% 15.8%, 37.1% 1.7%, 45.2% 13.3%);
  animation: new-spin 9s linear infinite;
}
@keyframes new-spin { to { transform: rotate(360deg); } }
@keyframes new-pulse { from { transform: rotate(-14deg) scale(0.94); } to { transform: rotate(-8deg) scale(1.08); } }
.old__intro { font-size: 16px; line-height: 1.55; max-width: 60ch; margin: 0 auto; }

.old__cols { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: start; }
.old__side { display: grid; gap: 16px; }
.old__nav { display: grid; gap: 6px; font-size: 15px; }
.old__counter { display: grid; justify-items: center; gap: 4px; }
.old__digits { font-family: var(--vhs-font); font-size: 22px; font-weight: 500; letter-spacing: 0.14em; color: var(--splash); background: #000; border: 2px inset #2a4f8f; padding: 0 8px; text-shadow: 0 0 8px var(--acid); }
.old__counter small { font-family: var(--vhs-font); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #7f9cc8; }
.old__direct { display: grid; gap: 2px; font-size: 14px; }
.old__direct dt { font-weight: bold; color: #9fc4ff; margin-top: 6px; }
.old__direct dd { word-break: break-word; }
.old__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge88 {
  width: 88px; height: 31px; display: grid; grid-template-columns: auto 1fr; align-items: stretch;
  border: 1px solid #6fa8ff; font-family: var(--vhs-font); font-size: 10px; font-weight: 500; line-height: 1; text-decoration: none !important;
}
.badge88 b { display: grid; place-items: center; padding: 0 5px; background: var(--acid); color: #000; font-weight: 400; }
.badge88 span { display: grid; place-items: center; background: #000814; color: #9fc4ff; }
.badge88:hover b { background: var(--splash); }

/* Gästebuch-Formular */
.contact-form.old__form { grid-column: auto; display: grid; gap: 12px; font-size: 15px; }
.old__form .field { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; border: 0; padding: 0; }
.old__form .field label { color: #9fc4ff; font-weight: bold; padding-top: 4px; }
.old__form .field:focus-within label { color: var(--splash); }
.old__form input, .old__form textarea {
  width: 100%; font: 15px/1.4 var(--f-mono); color: #e9f3ff;
  background: #000; border: 2px inset #2a4f8f; padding: 5px 7px; border-radius: 0;
}
.old__form input:focus, .old__form textarea:focus { outline: 1px dotted var(--splash); outline-offset: 2px; }
.old__form input::placeholder, .old__form textarea::placeholder { color: #3f5f8f; }
.old__form .form-foot { display: grid; gap: 12px; padding-top: 4px; }
.old__form .form-status { font-family: var(--vhs-font); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #7f9cc8; }
.old__form .form-status.is-ok { color: var(--splash); }
.old__form .form-status.is-error { color: #ff5d7a; }
.old__btns { display: flex; justify-content: flex-end; gap: 10px; }
.btn95 {
  font: 500 12px var(--vhs-font); letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px; cursor: pointer;
  color: #001a66; background: #9fc4ff; border: 3px outset #d6e6ff; border-radius: 0;
}
.btn95:active { border-style: inset; }
.btn95--go { background: var(--acid); color: #000; border-color: #66b3ff; }
.btn95--go:hover { background: var(--splash); }
.btn95:disabled { opacity: 0.6; cursor: wait; }

.old__construction {
  height: 34px; display: grid; place-items: center; border: 2px solid #000;
  background: repeating-linear-gradient(-45deg, var(--acid) 0 18px, #000 18px 36px);
}
.old__construction span { font-family: var(--vhs-font); font-size: 12px; font-weight: 500; letter-spacing: 0.24em; color: #e9f3ff; background: #000; padding: 0 10px; }
.old__foot { text-align: center; font-size: 13px; color: #7f9cc8; display: grid; gap: 4px; }

@media (max-width: 900px) {
  .old__cols { grid-template-columns: 1fr; }
  .old__main { order: -1; }
  .old__form .field { grid-template-columns: 1fr; gap: 4px; }
  .vhs__osd { font-size: 18px; inset: calc(var(--header-h) + 6px) 10px 10px; }
  .old__btns .btn95 { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .vhs__fx, .vhs__track, .old, .old__marquee span, .vhs__play, .old__new, .old__new::before { animation: none; }
}

/* ==========================================================================
   POP — Hover-Effekte (Inspiration: uiverse.io, im acid-Stil umgesetzt)
   ========================================================================== */
/* 3) Galerie: 3D-Neigung + Sucher-Ecken */
.g-item { perspective: 900px; }
.proj__media.is-tilting { transition: transform 0.12s linear, filter 0.6s var(--ease); }
.proj__media { transform-style: preserve-3d; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); will-change: transform; }
.corners {
  position: absolute; inset: -6px; z-index: 3; pointer-events: none;
  --c: var(--acid); --l: 18px; --t: 2px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l);
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.04); transform-origin: center;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.8));
}
.proj__media:hover .corners, .proj__media:focus-visible .corners { opacity: 1; transform: scale(1); }

/* 4) Menü: kurzer RGB-Glitch beim Hover */
.nav a:hover, .mnav a.mnav__link:hover { animation: glitch 0.35s steps(2) 1; }
@keyframes glitch {
  0% { text-shadow: -2px 0 rgba(0, 220, 255, 0.8), 2px 0 rgba(0, 60, 255, 0.9); transform: translateX(1px); }
  33% { text-shadow: 2px 0 rgba(0, 220, 255, 0.8), -2px 0 rgba(0, 60, 255, 0.9); transform: translateX(-1px); }
  66% { text-shadow: -1px 0 rgba(0, 220, 255, 0.6), 1px 0 rgba(0, 60, 255, 0.7); transform: none; }
  100% { text-shadow: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav a:hover, .mnav a.mnav__link:hover { animation: none !important; }
  .proj__media { transform: none !important; }
}

/* ---------- Flüssiger Acid-Button ---------- */
.btn--acid { position: relative; isolation: isolate; background: transparent; border-color: transparent; }
.btn--acid:hover { background: transparent; border-color: transparent; box-shadow: none; }
.btn__goo {
  position: absolute; left: -2px; right: -2px; top: -2px; bottom: -110px; z-index: -1; pointer-events: none;
  filter: url(#goo-liquid);
}
.btn__goo i { position: absolute; display: block; background: var(--acid); transition: background 0.35s; }
.btn__goo .btn__fill { left: 2px; right: 2px; top: 2px; bottom: 110px; border-radius: 2px; }
.btn--acid:hover .btn__goo i { background: var(--splash); }
.btn--acid:hover .btn__goo { filter: url(#goo-liquid) drop-shadow(0 0 14px rgba(0, 123, 255, 0.55)); }
/* Tropfen: sitzen unsichtbar in der Unterkante, wachsen beim Hover heraus und lösen sich */
.btn__goo i:not(.btn__fill) {
  bottom: 102px; width: 22px; height: 22px; border-radius: 50%;
  transform: translateY(0) scale(0.6);
  transition: transform 0.6s var(--ease), background 0.35s;
}
.btn__goo i:nth-child(2) { left: 14%; }
.btn__goo i:nth-child(3) { left: 41%; width: 30px; height: 30px; }
.btn__goo i:nth-child(4) { left: 63%; width: 18px; height: 18px; }
.btn__goo i:nth-child(5) { left: 86%; width: 20px; height: 20px; }
.btn--acid:hover .btn__goo i:not(.btn__fill) { animation: goo-drip 2.6s cubic-bezier(0.55, 0, 0.75, 0.4) infinite; }
.btn--acid:hover .btn__goo i:nth-child(3) { animation-duration: 3.1s; animation-delay: 0.5s; }
.btn--acid:hover .btn__goo i:nth-child(4) { animation-delay: 1.3s; }
.btn--acid:hover .btn__goo i:nth-child(5) { animation-duration: 3.4s; animation-delay: 0.9s; }
@keyframes goo-drip {
  0%   { transform: translateY(-6px) scale(0.6); }
  45%  { transform: translateY(14px) scale(1); }       /* wölbt sich heraus, Hals bleibt verbunden */
  60%  { transform: translateY(24px) scale(0.9); }     /* Hals reisst */
  100% { transform: translateY(100px) scale(0.5); opacity: 0; }
}

/* ---------- Preiskarten: Säure frisst den oberen Rand auf und tropft ---------- */
@property --gap { syntax: "<length>"; inherits: true; initial-value: 0px; }
.price { --gap: 0px; transition: --gap 0.8s var(--ease); }
.price:hover { --gap: 46px; }
/* Lücke nur in der oberen Kante (6 px hoher Streifen), Rest der Kante bleibt */
.price__edge {
  -webkit-mask:
    linear-gradient(#000 0 0) 0 6px / 100% 100% no-repeat,
    linear-gradient(90deg, #000 calc(var(--hx, 50%) - var(--gap)), transparent 0 calc(var(--hx, 50%) + var(--gap)), #000 0) 0 0 / 100% 6px no-repeat;
          mask:
    linear-gradient(#000 0 0) 0 6px / 100% 100% no-repeat,
    linear-gradient(90deg, #000 calc(var(--hx, 50%) - var(--gap)), transparent 0 calc(var(--hx, 50%) + var(--gap)), #000 0) 0 0 / 100% 6px no-repeat;
}
.price__hole {
  position: absolute; left: calc(var(--hx, 50%) - 60px); top: -4px; z-index: 1; pointer-events: none;
  width: 120px; height: 90px;
  clip-path: inset(0 50% 0 50%); opacity: 0;
  transition: clip-path 0.8s var(--ease), opacity 0.3s;
}
.price:hover .price__hole { clip-path: inset(-10px -10px -10px -10px); opacity: 1; }
.price__hole svg { width: 100%; height: 100%; overflow: visible; fill: var(--acid); filter: drop-shadow(0 0 4px rgba(0, 123, 255, 0.8)); }
.price__hole .stub { fill: var(--splash); }
.price__hole .speck { fill: var(--splash); opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  .btn--acid:hover .btn__goo i:not(.btn__fill) { animation: none; transform: translateY(6px) scale(0.9); }
  .price { transition: none; }
  .price__hole .dr-stalk, .price__hole .dr-drop { animation: none; }
}

/* ==========================================================================
   Cookie-Banner
   ========================================================================== */
.consent { position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 120; width: min(460px, calc(100vw - 2 * var(--gutter))); transition: opacity 0.35s, transform 0.45s var(--ease); }
/* Einblenden per Animation: ohne Animation ist der Banner trotzdem sichtbar */
.consent.is-in { animation: consent-in 0.45s var(--ease); }
.consent:not(.is-in) { opacity: 0; transform: translateY(16px); }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent[hidden], .consent [hidden] { display: none !important; }
.consent__box {
  display: grid; gap: 16px; padding: 20px;
  background: rgba(3, 6, 12, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 123, 255, 0.12);
  font-family: var(--f-display); color: var(--fg);
}
.consent__top { display: flex; justify-content: space-between; color: var(--acid); }
.consent__text { font-size: 14px; line-height: 1.5; color: rgba(234, 242, 255, 0.82); }
.consent__text a { color: var(--splash); text-decoration: underline; text-underline-offset: 3px; }
.consent__cats { display: grid; border-top: 1px solid var(--line); }
.consent__cat { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.consent__cat b { display: block; font-size: 14px; font-weight: 600; }
.consent__cat small { display: block; font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.consent__cat input { position: absolute; opacity: 0; pointer-events: none; }
.consent__switch { width: 38px; height: 20px; border: 1px solid var(--line-strong); border-radius: 20px; position: relative; transition: background 0.25s, border-color 0.25s; }
.consent__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform 0.25s var(--ease), background 0.25s; }
.consent__cat input:checked + .consent__switch { background: rgba(0, 123, 255, 0.25); border-color: var(--acid); }
.consent__cat input:checked + .consent__switch::after { transform: translateX(18px); background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.consent__cat input:disabled + .consent__switch { opacity: 0.55; }
.consent__cat input:focus-visible + .consent__switch { outline: 1px solid var(--splash); outline-offset: 3px; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btns .btn { justify-content: center; padding: 13px 10px; font-size: 11px; }
.consent__btns .btn:not(.btn--acid):hover { border-color: var(--acid); color: var(--fg); }
.consent__btns .btn--acid { grid-column: 1 / -1; }
.consent.is-expanded .consent__box { max-height: calc(100vh - 2 * var(--gutter)); overflow: auto; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a, .footer__legal button { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .consent, .consent.is-in { transition: none; animation: none; } }

/* ==========================================================================
   Rechtliches (Datenschutz, Impressum)
   ========================================================================== */
.legal { max-width: 860px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); display: grid; gap: 14px; }
.legal .lead { max-width: 52ch; margin-bottom: 18px; }
.legal h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.legal h2 .mono { color: var(--acid); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; }
.legal p { color: rgba(234, 242, 255, 0.8); line-height: 1.65; max-width: 68ch; }
.legal a, .legal__link { color: var(--splash); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal__table { display: grid; border-top: 1px solid var(--line-strong); margin: 6px 0 4px; }
.legal__row { display: grid; grid-template-columns: 120px 110px 1fr 100px; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: rgba(234, 242, 255, 0.8); }
.legal__row--head { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .legal__row { grid-template-columns: 1fr 1fr; } .legal__row--head { display: none; } .legal__row span:nth-child(3) { grid-column: 1 / -1; } }

/* ==========================================================================
   Startseite: About-Teaser unter den Vials
   ========================================================================== */
.teaser { padding: clamp(70px, 9vw, 140px) 0 0; }
/* Startseite: kein extra Luftraum zwischen Teaser und Säure-Footer */
.footer--tight { margin-top: clamp(10px, 2vw, 30px); }
.teaser .rule { margin-top: 18px; }
.teaser__grid { align-items: center; row-gap: 36px; padding-top: clamp(40px, 6vw, 80px); }
.teaser__img { grid-column: 2 / span 4; display: block; }
.teaser__img .portrait__img { aspect-ratio: 4 / 5; overflow: hidden; }
.teaser__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.teaser__img:hover img { transform: scale(1.03); filter: contrast(1.08) saturate(1.1); }
.teaser__text { grid-column: 6 / span 6; display: grid; gap: 22px; }
.teaser__text .display-l { text-transform: lowercase; font-size: clamp(38px, 4.6vw, 74px); }
.teaser__img { grid-column: 2 / span 3; }
.teaser__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.teaser__foot .btn { min-width: 240px; }
.teaser__status { color: var(--fg); }
@media (max-width: 900px) {
  .teaser__img { grid-column: 1 / -1 !important; max-width: 340px; }
  .teaser__foot .btn { width: 100%; }
}

/* ==========================================================================
   Preise: Tabs + 3 Stufen (Mini / Standard = Empfohlen / Mega)
   ========================================================================== */
.prices-wrap { padding-top: clamp(40px, 5vw, 70px); }
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(34px, 4vw, 56px); }
.ptabs [role="tab"] {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font: 800 clamp(18px, 1.8vw, 24px) / 1 var(--f-display); letter-spacing: -0.03em; text-transform: lowercase; cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.ptabs [role="tab"] .mono { font-weight: 400; color: var(--muted); }
.ptabs [role="tab"]:hover { color: var(--fg); border-color: var(--acid); }
.ptabs [role="tab"][aria-selected="true"] { color: #000; background: var(--acid); border-color: var(--acid); box-shadow: 0 0 24px rgba(0, 123, 255, 0.45); }
.ptabs [role="tab"][aria-selected="true"] .mono { color: rgba(0, 0, 0, 0.6); }
.ptabs [role="tab"]:focus-visible { outline: 1px solid var(--splash); outline-offset: 3px; }

.tiers { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: clamp(14px, 1.6vw, 24px); align-items: stretch; padding-top: 18px; }
.tiers[hidden] { display: none; }
.tiers .price { min-height: 0; }
/* Empfohlen: grösser, leuchtet, sitzt höher — dahin soll der Blick */
.tiers .price--key { transform: translateY(-18px); background: linear-gradient(180deg, rgba(0, 123, 255, 0.12), rgba(0, 123, 255, 0.02) 60%); }
.tiers .price--key .price__edge { border-color: var(--acid); box-shadow: 0 0 34px rgba(0, 123, 255, 0.35), inset 0 0 30px rgba(0, 123, 255, 0.08); }
.price__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  padding: 6px 14px; background: var(--acid); color: #000; white-space: nowrap; box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}
/* Mega: Anker — wirkt bewusst "viel", ruhiger gestaltet */
.tiers .price--mega .price__amount { color: rgba(234, 242, 255, 0.85); }
.tiers .price .btn:not(.btn--acid) { margin-top: auto; }
.tiers .price .btn:not(.btn--acid):hover { border-color: var(--acid); color: var(--fg); }
.tiers .price .price__list { margin-bottom: 26px; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; padding-top: 24px; }
  .tiers .price--key { transform: none; order: -1; }   /* auf dem Handy: Empfohlen zuerst */
  .ptabs [role="tab"] { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
/* Bearbeitung: zwei Reihen (Foto / Video) mit Zwischentitel */
.tiers__group { grid-column: 1 / -1; color: var(--splash); padding-top: 26px; border-top: 1px solid var(--line); margin-top: 10px; }
.tiers__group:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.tiers .tiers__group + .price, .tiers .tiers__group + .price ~ .price { margin-top: 10px; }
@media (max-width: 900px) { .tiers:has(.tiers__group) .price--key { order: 0; } }
/* "Nur Bearbeitung" / "Nur Schnitt": schlichte Anfrage-Karte über die ganze Breite */
.tiers .price--ask { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px; margin-top: 10px; }
.price--ask .price__name { margin-top: 10px; font-size: clamp(24px, 2.4vw, 34px); }
.price__ask-lead { margin-top: 8px; color: rgba(234, 242, 255, 0.75); }
.price__ask-lead span { display: block; color: var(--muted); font-size: 0.92em; margin-top: 2px; }
.price__ask-side { display: grid; justify-items: end; gap: 14px; }
.price__amount--ask { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--splash); margin: 0; }
.price--ask .btn { min-width: 220px; margin-top: 0 !important; }
@media (max-width: 900px) {
  .tiers .price--ask { grid-template-columns: 1fr; }
  .price__ask-side { justify-items: stretch; }
}

/* Hochformat-Arbeiten auf Tablets (z. B. iPad hochkant): Bild/Video links, Info-Text daneben statt darunter */
@media (min-width: 600px) and (max-width: 900px) {
  .work__grid--tall { grid-template-columns: auto minmax(220px, 1fr); column-gap: 24px; align-items: start; }
  .work__grid--tall > .work__media { grid-column: 1 !important; width: min(58vw, calc((100svh - var(--header-h) - 150px) * 0.5625)); }
  .work__grid--tall > .work__info { grid-column: 2 !important; position: sticky; top: calc(var(--header-h) + 24px); }
  .work__grid--tall .video-frame { width: 100%; margin: 0; }
}

/* ==========================================================================
   Startseite: Anfrage-CTA vor dem Footer
   ========================================================================== */
.cta { padding-top: clamp(90px, 11vw, 170px); }
.cta .rule { margin-top: 18px; }
.cta__grid { align-items: end; row-gap: 32px; padding-top: clamp(40px, 6vw, 80px); }
.cta__title { grid-column: 1 / span 7; text-transform: lowercase; }
.cta__side { grid-column: 8 / span 5; display: grid; gap: 24px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__btns .btn { flex: 1 1 210px; }
.cta__mail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--fg); }
.cta__mail a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.cta__mail a:hover { color: var(--splash); border-color: var(--acid); }

/* Vial-Namen dürfen auf schmaleren Screens umbrechen statt sich zu überlappen */
@media (max-width: 1280px) {
  .vial-btn { white-space: normal; }
  .vial-btn__name { max-width: 6.2em; font-size: clamp(18px, 2.1vw, 30px); line-height: 0.95; }
}

/* ==========================================================================
   Menü: "Projekte" mit Unterpunkten (Desktop-Dropdown, Mobile darunter)
   ========================================================================== */
.nav { align-items: center; }
.nav__drop { position: relative; }
.nav__drop > a::after { content: " ▾"; opacity: 0.6; }
.nav__drop:hover > a::after, .nav__drop > a[aria-current="page"]::after { opacity: 1; }
.nav__sub {
  position: absolute; left: -14px; top: 100%; z-index: 60; min-width: 190px;
  display: grid; gap: 2px; padding: 12px 14px; margin-top: 10px;
  background: rgba(3, 6, 12, 0.96); border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 123, 255, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* Hover-Brücke */
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { padding: 6px 0; }
.nav__sub a::before, .nav__sub a::after { content: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--cat, var(--fg)); }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 10px 0 14px 4px; border-bottom: 1px solid var(--line); }
.mnav__sub a { font-size: clamp(20px, 5.5vw, 30px); font-weight: 800; letter-spacing: -0.04em; color: var(--muted); transition: color 0.2s; }
.mnav__sub a:hover, .mnav__sub a[aria-current="page"] { color: var(--cat, var(--fg)); }

/* ==========================================================================
   Projekte-Seite
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); padding-top: clamp(40px, 5vw, 70px); }
.cat-card { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-strong); isolation: isolate; }
.cat-card__img { position: absolute; inset: 0; z-index: -1; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.62); transition: transform 1.2s var(--ease), filter 0.6s; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75)); }
.cat-card__info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(16px, 2vw, 28px); }
.cat-card__info .mono { color: rgba(234, 242, 255, 0.75); }
.cat-card__name { font-size: clamp(40px, 5.6vw, 92px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.85; color: var(--fg); transition: color 0.3s; }
.cat-card__go { justify-self: start; color: var(--fg); }
.cat-card__go span { display: inline-block; transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); filter: saturate(1.1) brightness(0.8); }
.cat-card:hover { border-color: var(--cat, var(--acid)); box-shadow: 0 0 30px rgba(0, 123, 255, 0.25); }
.cat-card:hover .cat-card__name { color: var(--cat, var(--splash)); }
.cat-card:hover .cat-card__go span { transform: translateX(5px); }
.latest { padding-top: clamp(80px, 10vw, 150px); }
.latest .gallery { padding-top: clamp(28px, 3vw, 44px); }
@media (max-width: 700px) { .cats { grid-template-columns: 1fr; } }

/* About: freigestelltes Porträt, 3D-Logo rechts oben hinter dem Kopf (Layout nach Linton-Skizze) */
.portrait:has(.portrait-stage) { grid-column: 1 / span 6; }
.portrait-stage { position: relative; aspect-ratio: 1480 / 1390; isolation: isolate; }
.portrait-stage__gl { position: absolute; left: 22%; top: -6%; width: 80%; height: 46%; z-index: 0; pointer-events: none; }
.portrait-stage__fallback { display: none; position: absolute; left: 30%; top: 6%; width: 62%; z-index: 0; }
.portrait-stage.no-gl .portrait-stage__gl { display: none; }
.portrait-stage.no-gl .portrait-stage__fallback { display: block; }
.portrait-stage__img { position: absolute; z-index: 1; left: 10%; top: 9%; height: 91%; width: auto; max-width: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(0, 123, 255, 0.18)); }
@media (max-width: 900px) { .portrait-stage { max-width: 560px; } }
/* About ab Tablet: Text rechts neben dem Porträt, unter dem 3D-Logo */
@media (min-width: 600px) {
  .about-split { --stage-h: min(88vh, 940px); }
  .about-split > .portrait:has(.portrait-stage) { grid-column: 1 / -1 !important; grid-row: 1; position: relative; top: auto; }
  .about-split .portrait-stage { width: min(100%, calc(var(--stage-h) * 1.065)); max-width: none; }
  .about-split > .about-text { grid-column: 7 / span 6 !important; grid-row: 1; position: relative; z-index: 2;
    padding-top: calc(min(100cqw, var(--stage-h) * 1.065) * 0 + var(--stage-h) * 0.34); }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .about-split { --stage-h: min(70vh, 760px); }
  .about-split > .about-text { grid-column: 6 / span 7 !important; }
}
@media (min-width: 600px) { .about-split .portrait:has(.portrait-stage) > .pmeta { display: none; } }  /* Bildunterschrift würde in den Text laufen */
/* iPhone: Porträt-Ausschnitt (Kopf bis Hüfte), Logo hinter dem Kopf */
@media (max-width: 599px) {
  .portrait:has(.portrait-stage) { position: relative; top: auto; }
  .portrait-stage { aspect-ratio: 4 / 5; overflow: hidden; max-width: none; width: 100%; }
  .portrait-stage__img { left: 50%; top: 13%; height: 165%; transform: translateX(-62%); }
  .portrait-stage__gl { left: 18%; top: -2%; width: 95%; height: 36%; }
  .portrait-stage__fallback { left: 30%; top: 6%; width: 64%; }
}
/* About ab Tablet (v2): Bild wächst mit dem Text und steht immer unten bündig, Logo grösser oben */
@media (min-width: 600px) {
  .about-split { --logo-h: clamp(240px, 30vw, 440px); align-items: stretch; }
  .about-split > .portrait:has(.portrait-stage) { align-self: stretch; display: flex; flex-direction: column; }
  .about-split .portrait-stage { aspect-ratio: auto; width: 100%; flex: 1; min-height: 0; }
  .about-split .portrait-stage__img { left: 4%; top: auto; bottom: 0; height: calc(100% - var(--logo-h) * 0.32); width: auto;
    max-width: 44%; object-fit: contain; object-position: bottom left; }
  .about-split .portrait-stage__gl { left: 16%; top: 0; width: 84%; height: var(--logo-h); }
  .about-split .portrait-stage__fallback { left: 24%; top: 4%; width: 66%; }
  .about-split > .about-text { padding-top: calc(var(--logo-h) * 0.92); padding-bottom: 8px; }
}
@media (min-width: 600px) and (max-width: 1100px) { .about-split .portrait-stage__img { max-width: 38%; left: 2%; } }
/* Fakten (Name, Base, Instagram, Status) unter Bild + Text, über die ganze Breite */
.about-split > .facts--below { grid-column: 1 / -1 !important; grid-row: 2; margin-top: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .about-split > .facts--below { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
  .about-split > .facts--below > div { grid-template-columns: 1fr; gap: 6px; } }
@media (min-width: 600px) { .about-split { --logo-h: clamp(260px, 34vw, 500px); } }

/* Startseite: About-Teaser als blaue Fläche, Text links, Bild rechts */
.teaser--blue { background: var(--acid); color: #fff; padding-bottom: clamp(60px, 8vw, 120px); margin-top: clamp(60px, 8vw, 120px); position: relative; overflow: hidden; }
.teaser--blue::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; mix-blend-mode: multiply;
  background: radial-gradient(circle at 1px 1px, #001a66 1px, transparent 1.6px) 0 0 / 6px 6px; }
.teaser--blue > * { position: relative; }
.teaser--blue .sec-head, .teaser--blue .sec-head .muted { color: rgba(255, 255, 255, 0.85); }
.teaser--blue .rule__seg { background: rgba(255, 255, 255, 0.45); }
.teaser--blue .rule__hole svg, .teaser--blue .rule__hole .stub, .teaser--blue .rule__hole .speck { fill: #fff; }
.teaser--blue .display-l { color: #fff; }
.teaser--blue .display-l .muted { color: #001a66; }
.teaser--blue .lead { color: rgba(255, 255, 255, 0.92); }
.teaser--blue .teaser__status, .teaser--blue .teaser__status .muted { color: #fff; }
.teaser--blue .pulse { background: #fff; }
.teaser--blue .portrait__glow { filter: drop-shadow(0 18px 40px rgba(0, 20, 80, 0.45)); }
.teaser--blue .teaser__img .portrait__img { aspect-ratio: 1 / 1; background: #cfdcef; }
.btn--dark { background: #000; border-color: #000; color: #fff; }
.btn--dark:hover { background: #001a66; border-color: #001a66; color: #fff; }
@media (min-width: 600px) {
  .teaser--blue .teaser__text { grid-column: 1 / span 6 !important; grid-row: 1; }
  .teaser--blue .teaser__img { grid-column: 7 / span 6 !important; grid-row: 1; max-width: none; }
}
.btn--light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--light:hover { background: #fff; color: #001a66; border-color: #fff; }
.teaser--blue .teaser__foot .btn { min-width: 0; flex: 1 1 210px; }
.teaser--blue .teaser__foot { gap: 12px; }
.teaser--blue .teaser__status { flex-basis: 100%; }
/* Startseite: blauer Teaser direkt über dem Footer */
.teaser--blue + .footer, main:has(> .teaser--blue:last-child) + .footer { margin-top: 0; }

/* About-Teaser (normal, dunkel): Text links, Bild rechts ab Tablet */
@media (min-width: 600px) {
  .teaser .teaser__text { grid-column: 1 / span 6 !important; grid-row: 1; }
  .teaser .teaser__img { grid-column: 7 / span 6 !important; grid-row: 1; max-width: none; }
}
.teaser__img .portrait__img { aspect-ratio: 1 / 1; }
.teaser { padding-bottom: clamp(70px, 9vw, 140px); }

/* Startseite: Anfrage-CTA in Acid-Blau, direkt über dem Footer */
.cta--blue { background: var(--acid); color: #fff; margin-top: 0; padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.cta--blue::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; mix-blend-mode: multiply;
  background: radial-gradient(circle at 1px 1px, #001a66 1px, transparent 1.6px) 0 0 / 6px 6px; }
.cta--blue > * { position: relative; }
.cta--blue .sec-head, .cta--blue .sec-head .muted { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.35); }
.cta--blue .cta__title { color: #fff; }
.cta--blue .cta__dark { color: #001a66; }
.cta--blue .lead { color: rgba(255, 255, 255, 0.92); }
.cta--blue .cta__mail, .cta--blue .cta__mail a, .cta--blue .cta__mail .muted { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta--blue .pulse { background: #fff; }
.cta--blue + .footer, main:has(> .cta--blue:last-child) + .footer { margin-top: 0; }

/* Slider: viele Punkte dürfen auf dem Handy nicht aus dem Bild laufen */
.slider__dots { flex-wrap: wrap; min-width: 0; justify-content: center; }
@media (max-width: 600px) { .slider__dots { display: none; } }

/* About-Teaser (normal, dunkel): Text links, Bild rechts ab Tablet */
@media (min-width: 600px) {
  .teaser .teaser__text { grid-column: 1 / span 6 !important; grid-row: 1; }
  .teaser .teaser__img { grid-column: 7 / span 6 !important; grid-row: 1; max-width: none; }
}
.teaser__img .portrait__img { aspect-ratio: 1 / 1; }
.teaser { padding-bottom: clamp(70px, 9vw, 140px); }

/* Startseite: Anfrage-CTA in Acid-Blau, direkt über dem Footer */
.cta--blue { background: var(--acid); color: #fff; padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.cta--blue::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; mix-blend-mode: multiply;
  background: radial-gradient(circle at 1px 1px, #001a66 1px, transparent 1.6px) 0 0 / 6px 6px; }
.cta--blue > * { position: relative; }
.cta--blue .sec-head, .cta--blue .sec-head .muted { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.35); }
.cta--blue .cta__title { color: #fff; }
.cta--blue .cta__dark { color: #001a66; }
.cta--blue .lead { color: rgba(255, 255, 255, 0.92); }
.cta--blue .cta__mail, .cta--blue .cta__mail a, .cta--blue .cta__mail .muted { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta--blue .pulse { background: #fff; }
main:has(> .cta--blue:last-child) + .footer { margin-top: 0; }

/* Slider: viele Punkte dürfen auf dem Handy nicht aus dem Bild laufen */
.slider__dots { flex-wrap: wrap; min-width: 0; justify-content: center; }
@media (max-width: 600px) { .slider__dots { display: none; } }

/* Hero: Anfrage-Buttons direkt über dem Showreel */
.hero__cta { display: grid; gap: 14px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__btns .btn { min-width: 220px; }
.btn--glass { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: var(--acid); background: rgba(0, 123, 255, 0.25); color: #fff; }
@media (max-width: 600px) { .hero__btns .btn { flex: 1 1 100%; min-width: 0; } }

/* ==========================================================================
   Startseite: Intro mit Logo-Animation — erst Scrollen zeigt die Seite
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 200; overflow: hidden; touch-action: none; --p: 0; background: #000; }
/* Fallback ohne WebGL: gleiche Fläche wie die Startseite (Metall), Logo als Bild */
.intro::before { content: ""; position: absolute; inset: 0; background: url(../assets/tex/metal.webp) center / cover; opacity: .34; pointer-events: none; }
.intro.is-gl { background: transparent; }
.intro.is-gl::before, .intro.is-gl .intro__img { display: none; }
html.is-intro, html.is-intro body { overflow: hidden; }
/* Hero-Texte erst nach dem Intro einblenden, damit durchs Logo nur das Showreel zu sehen ist */
html.is-intro .hero__top, html.is-intro .hero__vertical, html.is-intro .hero__bottom { opacity: 0; }
.hero__top, .hero__vertical, .hero__bottom { transition: opacity .8s ease .2s; }
.intro__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro__img { position: absolute; left: 50%; top: 50%; width: min(62vw, 1100px); height: auto; transform: translate(-50%, -50%); }
@media (max-width: 700px) { .intro__img { width: 86vw; } }
.intro.is-out { transition: opacity .5s ease; opacity: 0; }
.intro__sub, .intro__skip { position: absolute; left: 0; right: 0; text-align: center; opacity: 0; animation: intro-in .9s .8s ease forwards; }
.intro__sub { bottom: calc(68px + env(safe-area-inset-bottom)); padding: 0 16px; }
.intro__skip { bottom: calc(24px + env(safe-area-inset-bottom)); margin: 0 auto; width: max-content; background: none; border: 0; padding: 8px 12px; color: var(--fg); font: inherit; letter-spacing: inherit; text-transform: inherit; display: flex; gap: 10px; cursor: pointer; animation-delay: 1.2s; }
.intro__skip span { display: inline-block; animation: intro-bob 1.4s ease-in-out infinite; color: var(--acid); }
.intro.is-moving .intro__sub, .intro.is-moving .intro__skip { opacity: calc(1 - var(--p) * 6); animation: none; transition: opacity .2s; }
@keyframes intro-in { to { opacity: 1; } }
@keyframes intro-bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .intro__sub, .intro__skip, .intro__skip span { animation: none; opacity: 1; }
}

/* ==========================================================================
   Sedcard (versteckte Seite, Link: /sedcard)
   ========================================================================== */
/* Hintergrund: tiefes Blau-Schwarz, flüssige Textur, zwei Säure-Lichter, die langsam wandern */
html:has(.sed-body) { background: #02040c; }
.sed-body { background: transparent; }
.sed-body::before, .sed-body::after { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; }
.sed-body::before {
  background:
    radial-gradient(38% 32% at 22% 28%, rgba(0, 123, 255, .34), transparent 70%),
    radial-gradient(34% 30% at 78% 72%, rgba(10, 69, 216, .38), transparent 70%),
    radial-gradient(26% 22% at 70% 18%, rgba(124, 200, 255, .14), transparent 70%);
  filter: blur(30px);
  animation: sed-glow 22s ease-in-out infinite alternate;
}
.sed-body::after { inset: 0; background: url(../assets/tex/liquid.webp) center / cover; opacity: .16; mix-blend-mode: screen; }
@keyframes sed-glow {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(6%, -4%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-5%, 5%, 0) rotate(-6deg) scale(1.02); }
}
.sed-body .footer { position: relative; z-index: 1; }

.sed-hero { padding-top: clamp(90px, 11vw, 140px); }
.sed-hero__name { line-height: .86; margin-top: clamp(20px, 3vw, 40px); }

/* Bilder */
.sed-shot { display: block; padding: 0; border: 0; background: #0b0b0b; cursor: zoom-in; overflow: hidden; position: relative; }
.sed-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sed-shot::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s, box-shadow .3s; pointer-events: none; }
.sed-shot:hover img { transform: scale(1.05); }
.sed-shot:hover::after, .sed-shot:focus-visible::after { border-color: var(--acid); box-shadow: inset 0 0 40px rgba(0, 123, 255, .4); }
.sed-shot__no { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: #fff; mix-blend-mode: difference; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.sed-shot:hover .sed-shot__no { opacity: 1; transform: none; }
/* Titel-Karte */
.sed-card { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: clamp(12px, 1.6vw, 24px); padding-block: clamp(48px, 6vw, 90px); }
.sed-shot--head, .sed-shot--full { aspect-ratio: 2 / 3; }
.sed-shot--full { margin-top: clamp(30px, 6vw, 90px); }
.sed-card__info { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.sed-facts { margin: 0; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; }
.sed-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.sed-facts div:hover { background: rgba(0, 123, 255, .1); padding-left: 10px; }
.sed-facts dt { color: var(--muted); }
.sed-facts dd { margin: 0; text-transform: uppercase; }
.sed-card__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Gruppen */
.sed-group { padding-block: clamp(40px, 6vw, 90px); }
.sed-group__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; margin-bottom: clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.sed-group__num { color: var(--acid); font-size: 13px; }
.sed-group__title { font-size: clamp(34px, 6vw, 84px); line-height: .9; letter-spacing: -.04em; font-weight: 700; }
.sed-group__count { color: var(--fg); }
/* Flex statt Grid: unvollständige letzte Reihe wird mittig gesetzt; gerade Spalten laufen per Parallax versetzt */
.sed-grid { --gap: clamp(8px, 1vw, 14px); --sy: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); padding-bottom: 60px; }
.sed-grid .sed-shot { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); aspect-ratio: 2 / 3; }
.sed-grid .sed-shot--wide { flex-basis: calc((100% - 3 * var(--gap)) / 2 + var(--gap)); aspect-ratio: auto; }
.sed-grid .sed-shot:nth-child(even) { transform: translateY(calc(var(--sy) * 1px)); }
.sed-end { padding-block: clamp(70px, 10vw, 150px); text-align: center; display: grid; justify-items: center; gap: 28px; }
@media (max-width: 900px) {
  .sed-card { grid-template-columns: 1fr 1fr; }
  .sed-card__info { grid-column: 1 / -1; }
  .sed-grid .sed-shot { flex-basis: calc((100% - var(--gap)) / 2); }
  .sed-grid .sed-shot--wide { flex-basis: 100%; aspect-ratio: 4 / 3; }
  .sed-group__head { grid-template-columns: auto 1fr; }
  .sed-group__head > :last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sed-body::before { animation: none; }
  .sed-grid .sed-shot:nth-child(even) { transform: none; }
}
/* Sedcard: Kategorie-Links + Infos-Titel */
.sed-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.sed-cats a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); transition: background .25s, border-color .25s, color .25s; }
.sed-cats a:hover { background: var(--acid); border-color: var(--acid); color: #000; }
.sed-info__head { grid-template-columns: auto 1fr; margin-bottom: 0; }
#infos, .sed-group[id] { scroll-margin-top: 80px; }
.sed-card__info { justify-content: flex-start; gap: 26px; }
.sed-group__head.sed-info__head > :last-child { grid-column: auto; }
.sed-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
/* Kopfzeile direkt über einer Säure-Linie: keine zweite Linie, Abstand übernimmt die Säure-Linie */
.sec-head:has(+ .rule) { border-bottom: 0; margin-bottom: 0; }
.sec-head + .rule { margin-bottom: clamp(40px, 6vw, 96px); }
/* Preiskarte: Zweitpreis (z. B. Reel ohne Dreh) */
.price__alt { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); font-size: 12px; letter-spacing: .04em; line-height: 1.5; }
.price__alt strong { color: var(--acid); font-weight: 500; white-space: nowrap; }
/* Navigation: alle Punkte exakt auf einer Linie (das ▾ bei „Projekte“ hat sonst eine höhere Zeile) */
.nav { align-items: center; }
.nav > a, .nav__drop > a { display: inline-flex; align-items: center; line-height: 1; }
.nav__drop > a::after { font-size: 9px; line-height: 1; margin-left: .45em; content: "▾"; }
.nav__drop { display: flex; align-items: center; }
/* Galerie als Masonry (Spalten setzt js/gallery.js) */
.gallery.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: clamp(14px, 1.8vw, 28px); }
.gallery.is-masonry .g-col { flex: 1 1 0; min-width: 0; }
/* Bilderschutz: nicht markier-/ziehbar, kein „Bild sichern“ per Long-Press auf iPhone */
img, video { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.burn, .sed-shot, .lightbox, .slider__track, .proj__media, .portrait__img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* Detailseite: Bild bzw. Serien-Slider nie höher als der sichtbare Bildschirm (Hochformat wird schmaler statt abgeschnitten) */
.work__media > .slider, .work__media > .proj__media {
  display: block;
  width: min(100%, calc((100vh - var(--header-h) - 150px) * var(--ar, 1.5)));
  width: min(100%, calc((100svh - var(--header-h) - 150px) * var(--ar, 1.5)));
  margin-inline: auto;
}
.work__media > figcaption { text-align: center; }
@media (min-width: 600px) and (max-width: 900px) {
  .work__grid--tall .work__media > .slider, .work__grid--tall .work__media > .proj__media { width: 100%; }
}
/* Über mich: ohne Trennlinie vor „Disziplinen“ etwas näher an die Fakten */
.page-hero + .skills { padding-top: clamp(40px, 5vw, 80px); }
/* Disziplinen: die Liste hat schon eine Linie oben, die Kopfzeile braucht keine zweite */
.skills .sec-head { border-bottom: 0; margin-bottom: 6px; }
.page-hero:has(+ .skills) { padding-bottom: clamp(16px, 2vw, 32px); }
/* Abstände zwischen Galerie und Anfrage-Block straffen */
.g-col > .g-item:last-child, .gallery > .g-item:last-child { margin-bottom: 0; }
.gallery-wrap + .cta, .latest + .cta { padding-top: clamp(56px, 6vw, 96px); }
/* in der Anfrage übernimmt cta__grid den Abstand unter der Säure-Linie (sonst doppelt) */
.cta .sec-head + .rule { margin-bottom: 0; }
/* Anfrage-Titel: so gross, dass das längste Wort in seine 7 Spalten passt (sonst überdeckt es den Text daneben) */
@media (min-width: 901px) { .cta__title { font-size: clamp(72px, 10.5vw, 176px); } }
/* Startseite: die Säure-Wellen des Footers laufen über die Unterkante des Kamera-Bilds (kein leerer Abstand) */
main > .teaser:last-child { padding-bottom: 0; }
main:has(> .teaser:last-child) + .footer { margin-top: calc(var(--surf) * -0.8); z-index: 2; pointer-events: none; }
main:has(> .teaser:last-child) + .footer .footer__grid, main:has(> .teaser:last-child) + .footer .footer__meta { pointer-events: auto; }
/* Handy/Tablet: Text steht unter dem Bild → Platz lassen, damit die Wellen erst unter dem Button beginnen */
@media (max-width: 599px) { main > .teaser:last-child { padding-bottom: calc(clamp(110px, 12vw, 170px) * 0.8 + 28px); } }
/* Kontakt: Wellen direkt unter dem Webring-Fuss (kein grosser Leerraum) */
.vhs { padding-bottom: 40px; }
.vhs + .footer { margin-top: calc(var(--surf) * -0.3); z-index: 2; pointer-events: none; }
.vhs + .footer .footer__grid, .vhs + .footer .footer__meta { pointer-events: auto; }
