/* ==========================================================================
   BEZI-FILM — STYLESHEET
   Design: "Cinematic Dark" — Kino-Schwarz, Logo-Rot, Regie-Details.
   --------------------------------------------------------------------------
   Farben & Grundwerte änderst du am einfachsten hier oben bei :root.
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ------------------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Zusätzliche, im Editor wählbare Schriften (lokal, DSGVO-konform) */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebasneue-400.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-variable.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
}

/* ---------- Design-Variablen -------------------------------------------- */
:root {
  --ink:        #0a0a0c;      /* Grund-Schwarz */
  --ink-2:      #101014;      /* Panel-Schwarz */
  --ink-3:      #17171d;      /* Karten */
  --paper:      #f4f2ec;      /* Off-White für Text */
  --muted:      #8f8f99;      /* gedämpftes Grau */
  --red:        #e8112d;      /* BeZi-Rot (Play-Dreieck) */
  --red-rgb:    232, 17, 45;  /* Akzent als RGB (für Transparenzen) */
  --red-deep:   #a30c1f;
  --line:       rgba(244, 242, 236, 0.10);
  --line-soft:  rgba(244, 242, 236, 0.05);

  --font-display: "Anton", Impact, sans-serif;
  --font-body:    "Archivo", "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", "Courier New", monospace;

  --max-w: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* clip (nicht hidden!) — verhindert horizontales Scrollen,
                         ohne den Body zu einem eigenen Scroll-Container zu machen.
                         Sonst würde window.scrollY nicht funktionieren. */
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* Filmkorn über allem (sehr dezent) */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}
/* Hintergrund-Stile (im Editor wählbar) */
body.bg-clean::after, body.bg-glow::after { display: none; }
body.bg-glow {
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(var(--red-rgb), 0.14), transparent 60%),
    var(--ink);
  background-attachment: fixed;
}

/* ---------- Basis-Layout -------------------------------------------------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }

/* Sektions-Kopf: "01 ► LEISTUNGEN" */
.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  padding-top: clamp(70px, 10vw, 130px);
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .no {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--red); letter-spacing: 0.12em;
  white-space: nowrap;
}
.sec-head .no::after { content: " ►"; font-size: 10px; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.sec-head .head-line { flex: 1; height: 1px; background: var(--line); align-self: center; }

/* ---------- Play-Dreieck (Leitmotiv) ------------------------------------- */
.tri {
  display: inline-block;
  width: 0.55em; height: 0.62em;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s, height 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }

/* Wortmarke */
.logo { display: flex; align-items: center; line-height: 0; }
.logo img {
  height: 42px; width: auto; display: block;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.logo:hover img { transform: scale(1.04); opacity: 0.9; }
@media (max-width: 480px) { .logo img { height: 36px; } }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta {
  color: var(--paper);
  border: 1px solid var(--red);
  background: rgba(232, 17, 45, 0.10);
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
/* Weiß-roter Licht-Sweep, der periodisch durch den Button läuft */
.nav-links .nav-cta::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: cta-sweep 3.6s ease-in-out infinite;
}
.nav-links .nav-cta:hover { background: rgba(232, 17, 45, 0.22); }
.nav-links .nav-cta::after { display: none; }
@keyframes cta-sweep {
  0%        { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links .nav-cta::before { animation: none; }
}

/* Burger (mobil) */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1002; }
.burger span { display: block; width: 26px; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;      /* statt inset:0 — überall unterstützt */
    width: 100%;
    height: 100vh; height: 100dvh;             /* volle Höhe garantiert */
    background: rgba(10, 10, 12, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 30px;
    /* Geschlossen: hochgeschoben UND unsichtbar/nicht klickbar (kugelsicher) */
    transform: translateY(-100%);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.5s var(--ease-out), opacity 0.4s, visibility 0.5s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-links a { font-size: 20px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/still-windpark.png") center / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  filter: saturate(0.75) contrast(1.05) brightness(0.8);
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.12) translateX(-2%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(10,10,12,0.55) 40%, rgba(10,10,12,0.35) 70%, rgba(10,10,12,0.75) 100%);
}
/* Letterbox-Balken oben/unten */
.hero::before, .hero::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px; background: #000; z-index: 3;
}
.hero::before { top: 0; }
.hero::after { bottom: 0; }

.hero-content { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 90px); width: 100%; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--red); flex: none; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 158px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: 30px;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  max-width: 560px;
  color: rgba(244, 242, 236, 0.82);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.45s forwards;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 17px 32px;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--red); color: #fff; }
.btn .tri { width: 9px; height: 11px; transition: transform 0.3s; }
.btn:hover .tri { background: #fff; transform: translateX(3px); }
.btn.btn-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.btn-solid .tri { background: #fff; }
.btn.btn-solid::before { background: var(--paper); }
.btn.btn-solid:hover { color: var(--ink); border-color: var(--paper); }
.btn.btn-solid:hover .tri { background: var(--red); }

/* Timecode-Zeile im Hero */
.hero-meta {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: clamp(30px, 5vh, 60px);
}
.hero-meta .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; padding-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--muted);
  gap: 20px;
}
.rec { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }
.hero-meta .scroll-cue { display: flex; align-items: center; gap: 10px; }
.hero-meta .scroll-cue .tri { transform: rotate(90deg); width: 8px; height: 10px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(5px); } }
@media (max-width: 640px) { .hero-meta .hide-m { display: none; } }

/* ==========================================================================
   MARQUEE-BAND
   ========================================================================== */
.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: clamp(50px, 8vw, 100px) 0 0;
  border-top: 1px solid rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 48px; }
.marquee-track .dot { width: 10px; height: 12px; background: #0a0a0c; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   LEISTUNGEN
   ========================================================================== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  --cols: 3;   /* Ziel-Spalten; wird per JS an die Anzahl angepasst */
}
.service {
  /* Kacheln wachsen und füllen jede Zeile komplett aus → nie ein graues Leerfeld */
  flex: 1 1 calc((100% - (var(--cols) - 1) * 1px) / var(--cols));
  min-width: 230px;
  background: var(--ink);
  padding: clamp(30px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
@media (max-width: 620px) { .service { flex-basis: 100%; min-width: 0; } }
.service:hover { background: var(--ink-2); }
.service .s-no {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--red); letter-spacing: 0.15em;
  display: block; margin-bottom: 46px;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.service p { color: var(--muted); font-size: 15.5px; font-weight: 300; margin-bottom: 26px; }
.service .s-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service .s-tags li {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,242,236,0.6);
  border: 1px solid var(--line);
  padding: 5px 10px;
}
/* Frame-Ecke rechts oben bei Hover */
.service::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.service:hover::after { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.p-card { grid-column: span 6; }
.p-card:nth-child(4n+1), .p-card:nth-child(4n) { grid-column: span 7; }
.p-card:nth-child(4n+2), .p-card:nth-child(4n+3) { grid-column: span 5; }
@media (max-width: 820px) { .p-card, .p-card:nth-child(n) { grid-column: span 12; } }

.p-card { cursor: pointer; position: relative; }
.p-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}
.p-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.7) contrast(1.02);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.p-card:hover .p-thumb img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }

/* Platzhalter ohne Bild */
.p-thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,17,45,0.16), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(232,17,45,0.08), transparent 50%),
    var(--ink-3);
}
.p-thumb.placeholder .ph-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em;
  color: var(--muted); text-transform: uppercase;
}

/* Frame-Ecken */
.p-thumb .corner {
  position: absolute; width: 18px; height: 18px;
  border-color: rgba(244,242,236,0.85); border-style: solid; border-width: 0;
  opacity: 0; transition: opacity 0.35s, transform 0.35s var(--ease-out);
  z-index: 3;
}
.p-thumb .c-tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; transform: translate(6px, 6px); }
.p-thumb .c-tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; transform: translate(-6px, 6px); }
.p-thumb .c-bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; transform: translate(6px, -6px); }
.p-thumb .c-br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; transform: translate(-6px, -6px); }
.p-card:hover .corner { opacity: 1; transform: translate(0, 0); }

/* Play-Overlay */
.p-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 12, 0.25);
  opacity: 0; transition: opacity 0.35s;
}
.p-card:hover .p-play { opacity: 1; }
.p-play .p-play-btn {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(232, 17, 45, 0.92);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.7);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 12px 44px rgba(232, 17, 45, 0.4);
}
.p-card:hover .p-play-btn { transform: scale(1); }
.p-play .tri { background: #fff; width: 20px; height: 24px; margin-left: 5px; }

.p-info { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 2px 0; }
.p-info .p-kunde {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 6px;
}
.p-info h3 {
  font-size: clamp(18px, 1.8vw, 23px); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
}
.p-info .p-cat {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: 5px 10px; white-space: nowrap; flex: none;
}

/* ==========================================================================
   PROZESS
   ========================================================================== */
.process { border-top: 1px solid var(--line-soft); }
.process-list { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
@media (max-width: 820px) { .step { grid-template-columns: 1fr; gap: 10px; } }
.step .tc {
  font-family: var(--font-mono); font-size: 12px; color: var(--red); letter-spacing: 0.1em;
}
.step h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  text-transform: uppercase; line-height: 1;
}
.step p { color: var(--muted); font-weight: 300; max-width: 560px; }

/* ==========================================================================
   REFERENZEN
   ========================================================================== */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.logo-tile {
  background: var(--ink);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  position: relative;
  transition: background 0.35s;
}
.logo-tile img {
  max-height: 58px; max-width: 82%;
  object-fit: contain;
  filter: grayscale(1) invert(0.88) contrast(0.72);
  opacity: 0.55;
  transition: filter 0.35s, opacity 0.35s, transform 0.35s;
}
.logo-tile:hover { background: var(--paper); }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* ==========================================================================
   ÜBER MICH
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.about-photo::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  transform: translate(16px, 16px);
  pointer-events: none;
  transition: transform 0.5s var(--ease-out);
}
.about-photo:hover::before { transform: translate(8px, 8px); }
.about-photo .photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(244,242,236,0.9);
  background: rgba(10,10,12,0.7); backdrop-filter: blur(6px);
  padding: 7px 12px;
  display: flex; align-items: center; gap: 8px;
}
.about-photo .photo-tag .rec-dot { width: 7px; height: 7px; }

.about-text .lead {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 300; line-height: 1.4;
  margin-bottom: 24px;
}
.about-text .lead strong { font-weight: 600; color: var(--red); }
.about-text p { color: var(--muted); font-weight: 300; margin-bottom: 18px; }

.facts { margin-top: 34px; border-top: 1px solid var(--line); }
.facts li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.facts li .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts li .v { text-align: right; font-weight: 500; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(232, 17, 45, 0.13), transparent 60%),
    var(--ink);
}
.contact-inner { padding-bottom: clamp(70px, 9vw, 120px); text-align: left; }
.contact h2.big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 132px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.contact h2.big .accent { color: var(--red); }
/* WhatsApp-Kontaktformular */
.wa-form { max-width: 540px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.wa-input {
  width: 100%; background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 16px; font: inherit; transition: border-color 0.2s, background 0.2s;
}
.wa-input:focus { outline: none; border-color: var(--red); background: var(--ink-3); }
.wa-input::placeholder { color: var(--muted); }
textarea.wa-input { resize: vertical; min-height: 58px; }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  align-self: flex-start;
  background: #25d366; color: #06301a; font-weight: 700;
  font-size: 14px; letter-spacing: 0.03em;
  padding: 15px 26px; border-radius: 4px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s, background 0.2s;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.22);
}
.btn-wa:hover { background: #2ce874; transform: translateY(-2px); box-shadow: 0 12px 42px rgba(37, 211, 102, 0.34); }
.btn-wa:active { transform: translateY(0); }
.wa-hint { font-size: 12.5px; color: var(--muted); font-weight: 300; margin-top: -2px; }

.contact-mail {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 300;
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
  margin-bottom: 52px;
  transition: color 0.3s, gap 0.3s;
}
.contact-mail:hover { color: var(--red); gap: 24px; }
.contact-mail .tri { width: 14px; height: 17px; flex: none; }

.contact-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .contact-cols { grid-template-columns: 1fr; } }
.contact-cols .cc-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 12px;
}
.contact-cols p, .contact-cols a { color: var(--muted); font-size: 15px; font-weight: 300; }
.contact-cols a:hover { color: var(--paper); }
.contact-cols .socials { display: flex; flex-direction: column; gap: 6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); }
.footer .f-brand {
  padding-top: clamp(48px, 7vw, 90px); padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.footer .f-brand img {
  height: clamp(38px, 6vw, 62px); width: auto; margin: 0 auto;
  opacity: 0.85;
}
.footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 26px; padding-bottom: 26px;
  flex-wrap: wrap;
}
.footer .f-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.footer .f-links { display: flex; gap: 26px; }
.footer .f-links a { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.25s; }
.footer .f-links a:hover { color: var(--paper); }

/* ==========================================================================
   VIDEO-MODAL
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 50px);
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  width: min(1060px, 100%);
  transform: translateY(26px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}
.modal.open .modal-box { transform: translateY(0) scale(1); }
.modal-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px; gap: 16px;
}
.modal-head .m-title { font-weight: 600; font-size: 18px; }
.modal-head .m-cat { font-family: var(--font-mono); font-size: 11px; color: var(--red); letter-spacing: 0.16em; text-transform: uppercase; }
.modal-close {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
  padding: 8px 0;
  transition: color 0.25s;
}
.modal-close:hover { color: var(--red); }
.modal-stage { aspect-ratio: 16 / 9; background: #000; position: relative; }
.modal-stage iframe { width: 100%; height: 100%; border: 0; }

/* Consent-Schritt (DSGVO: Video erst nach Klick laden) */
.consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; text-align: center; padding: 30px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232,17,45,0.12), transparent 60%),
    #0c0c0f;
}
.consent p { color: var(--muted); font-size: 13.5px; max-width: 460px; font-weight: 300; }
.modal-desc { color: var(--muted); font-size: 14px; font-weight: 300; margin-top: 14px; max-width: 700px; }

/* ==========================================================================
   UNTERSEITEN (Impressum / Datenschutz)
   ========================================================================== */
.subpage { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); min-height: 70vh; }
.subpage h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 90px);
  text-transform: uppercase; line-height: 0.95;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.subpage h1 .accent { color: var(--red); }
.legal { max-width: 780px; padding-bottom: clamp(70px, 9vw, 120px); }
.legal h2 {
  font-size: 21px; font-weight: 600; margin: 44px 0 14px;
  padding-top: 24px; border-top: 1px solid var(--line-soft);
}
.legal h3 { font-size: 16.5px; font-weight: 600; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); font-weight: 300; font-size: 15.5px; margin-bottom: 12px; }
.legal ul { list-style: none; }
.legal ul li { padding-left: 20px; position: relative; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.legal a { color: var(--paper); border-bottom: 1px solid var(--red); }
.legal .adr { color: var(--paper); font-weight: 400; }

/* ==========================================================================
   SCROLL-REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ==========================================================================
   EFFEKTE — Scroll-Progress + Timecode-HUD
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--red); z-index: 1001;
  box-shadow: 0 0 14px rgba(232, 17, 45, 0.65);
  will-change: width;
}
.tc-hud {
  position: fixed; right: 16px; bottom: 15px; z-index: 1001;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(10, 10, 12, 0.62); backdrop-filter: blur(8px);
  border: 1px solid var(--line); padding: 7px 12px;
  display: flex; align-items: center; gap: 9px; pointer-events: none;
}
.tc-hud .rec-dot { width: 8px; height: 8px; }
.tc-hud .tc-val { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .tc-hud { display: none; } }

/* ==========================================================================
   EFFEKTE — Play-Dreieck-Cursor
   ========================================================================== */
@media (pointer: fine) {
  html.custom-cursor, html.custom-cursor * { cursor: none !important; }
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(244, 242, 236, 0.5); border-radius: 50%;
  z-index: 10000; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              margin 0.25s var(--ease-out), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.cursor-tri {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 12px; margin: -6px 0 0 -3px;
  background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 10001; pointer-events: none;
  transition: opacity 0.2s;
  will-change: transform;
}
.cursor-ring .cr-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em;
  color: #fff; opacity: 0; transition: opacity 0.2s;
}
.cursor-ring.on-link { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: var(--red); }
.cursor-ring.on-play {
  width: 82px; height: 82px; margin: -41px 0 0 -41px;
  background: rgba(232, 17, 45, 0.92); border-color: transparent;
  box-shadow: 0 10px 40px rgba(232, 17, 45, 0.4);
}
.cursor-ring.on-play .cr-label { opacity: 1; }
.cursor-tri.hide { opacity: 0; }

/* ==========================================================================
   EFFEKTE — Magnetische Buttons
   ========================================================================== */
.magnetic { transition: transform 0.3s var(--ease-out); }

/* ==========================================================================
   EFFEKTE — Cinematic Intro
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 99999; pointer-events: auto; }
.intro-half {
  position: absolute; left: 0; right: 0; height: 50.2%;
  background: var(--ink); overflow: hidden;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
.intro-top { top: 0; border-bottom: 1px solid var(--line-soft); }
.intro-bot { bottom: 0; border-top: 1px solid var(--line-soft); }
.intro.open .intro-top { transform: translateY(-100%); }
.intro.open .intro-bot { transform: translateY(100%); }
.intro-center {
  position: fixed; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  z-index: 100000; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: opacity 0.4s;
}
.intro.open .intro-center { opacity: 0; }
.intro-center .i-tri {
  width: 34px; height: 42px; background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  animation: ipulse 1.1s ease-in-out infinite;
}
@keyframes ipulse { 50% { transform: scale(1.18); opacity: 0.8; } }
.intro-center .i-count {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.3em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.intro-center .i-count b { color: var(--paper); font-weight: 400; }

/* ==========================================================================
   REDUZIERTE BEWEGUNG
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none !important; }
}
