/* build: 20260416-5 — bei Deploy in index.html ?v=… mit anheben */
:root {
  --bg: #07090c;
  --surface: #0d1117;
  --accent-dim: rgba(232,240,74,0.1);
  --muted: rgba(240,237,232,0.4);
  --border: rgba(255,255,255,0.06);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(232,240,74,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.25s, height 0.25s;
  mix-blend-mode: difference;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 20px; height: 20px; }
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 56px; height: 56px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  /* dichter an den oberen Rand / Notch: etwas weniger Abstand als max(1rem, env) */
  padding: max(8px, calc(env(safe-area-inset-top, 0px) - 10px)) max(48px, env(safe-area-inset-right, 0px)) 24px max(48px, env(safe-area-inset-left, 0px));
  /* bis in die Safe Area: oben durchgehend schwarz, dann weich in Seitenfarbe */
  background: linear-gradient(
    to bottom,
    #000000 0px,
    #000000 max(env(safe-area-inset-top, 0px), 20px),
    #07090c calc(max(env(safe-area-inset-top, 0px), 20px) + 28px),
    rgba(7, 9, 12, 0.96) 72%,
    rgba(7, 9, 12, 0.55) 88%,
    rgba(7, 9, 12, 0) 100%
  );
  backdrop-filter: blur(0px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* ── HERO ── */
/* Echtes DOM-Overlay für Notch (nur mobil sichtbar) — zuverlässiger als reine Pseudos in Safari */
.notch-scrim {
  display: none;
  pointer-events: none;
}

#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding-bottom: max(80px, env(safe-area-inset-bottom, 0px));
  padding-left: max(48px, env(safe-area-inset-left, 0px));
  padding-right: max(48px, env(safe-area-inset-right, 0px));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,240,74,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(232,240,74,0.03) 0%, transparent 50%);
  z-index: 0;
}

/* animated grid lines */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

/* video placeholder — swap with real <video> */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  /* Eigener Stacking-Context: Verläufe/Pseudos zuverlässig über dem <img> (Safari). */
  isolation: isolate;
}

.hero-video-wrap::after {
  content: '';
  position: absolute; inset: 0;
  /* Oben fast schwarz (Notch/Statusleiste), Mitte heller, unten wieder zu. */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.5) 8%,
    rgba(7, 9, 12, 0.1) 30%,
    rgba(7, 9, 12, 0.1) 60%,
    rgba(7, 9, 12, 0.75) 85%,
    rgba(7, 9, 12, 1) 100%
  );
  z-index: 2;
}

.hero-video-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: 
    linear-gradient(135deg, #0a0f14 0%, #0d1520 50%, #080c10 100%);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.15);
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* horizon line animation */
.hero-horizon {
  position: absolute;
  top: 42%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,240,74,0.3) 30%, rgba(232,240,74,0.3) 70%, transparent);
  z-index: 1;
  animation: horizonPulse 4s ease-in-out infinite;
}

@keyframes horizonPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent); opacity: 0.5;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 160px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 16px; font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 420px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.5s ease both;
}

.hero-scroll {
  position: absolute;
  right: max(48px, env(safe-area-inset-right, 0px));
  bottom: max(80px, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  animation: fadeUp 0.8s 0.7s ease both;
}

.hero-scroll span {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── SHOWREEL ── */
#showreel {
  padding: 140px max(48px, env(safe-area-inset-right, 0px)) 140px max(48px, env(safe-area-inset-left, 0px));
  position: relative;
}

.showreel-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.showreel-label::after { content:''; flex:1; height:1px; background: var(--border); }

.showreel-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin-bottom: 60px;
  max-width: none;
  width: 100%;
}

.reel-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  cursor: none;
}

.reel-player-bg {
  position: absolute; inset: 0;
  background: 
    linear-gradient(135deg, #0d1520 0%, #111a24 100%);
  display: flex; align-items: center; justify-content: center;
}

.reel-placeholder-text {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
}

.reel-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,9,12,0.4);
  transition: background 0.3s;
}

.reel-player:hover .reel-overlay { background: rgba(7,9,12,0.2); }

.play-btn {
  width: 80px; height: 80px;
  border: 1.5px solid rgba(232,240,74,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,240,74,0.08);
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
  cursor: none;
}

.reel-player:hover .play-btn {
  transform: scale(1.1);
  background: rgba(232,240,74,0.15);
  border-color: var(--accent);
}

.play-btn svg { width: 28px; height: 28px; margin-left: 4px; }

.reel-meta {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  left: max(28px, env(safe-area-inset-left, 0px));
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}

/* ── PROJEKTE ── */
#projekte {
  padding: 140px 0;
  overflow: hidden;
}

.projekte-header {
  padding: 0 max(48px, env(safe-area-inset-right, 0px)) 0 max(48px, env(safe-area-inset-left, 0px));
  margin-bottom: 60px;
}

.section-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after { content:''; width: 40px; height:1px; background: var(--accent); opacity:.4; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 86px);
  letter-spacing: 0.02em;
  line-height: 0.9;
}

/* horizontal scroll track */
.projects-track-wrap {
  overflow-x: auto;
  padding: 0 max(48px, env(safe-area-inset-right, 0px)) 32px max(48px, env(safe-area-inset-left, 0px));
  scrollbar-width: none;
  cursor: grab;
}
.projects-track-wrap::-webkit-scrollbar { display: none; }
.projects-track-wrap:active { cursor: grabbing; }

.projects-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.project-card {
  width: 520px;
  height: 340px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.project-card:hover { transform: scale(1.02); }

.project-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-bg { transform: scale(1.05); }

/* each project has distinct color atmosphere */
.p1 .project-card-bg { background: linear-gradient(135deg, #0a1a10 0%, #1a3020 50%, #0a1510 100%); }
.p2 .project-card-bg { background: linear-gradient(135deg, #0d1520 0%, #1a2535 50%, #0a1020 100%); }
.p3 .project-card-bg { background: linear-gradient(135deg, #1a1008 0%, #2a1a0a 50%, #150d05 100%); }
.p4 .project-card-bg { background: linear-gradient(135deg, #10101a 0%, #1a1a2a 50%, #0a0a15 100%); }
.p5 .project-card-bg { background: linear-gradient(135deg, #0a1510 0%, #102010 50%, #081008 100%); }

/* abstract scene shapes */
.scene {
  position: absolute; inset: 0;
  opacity: 0.25;
}

.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,9,12,0.95) 0%, rgba(7,9,12,0.4) 50%, rgba(7,9,12,0.1) 100%);
}

.project-card-content {
  position: absolute; inset: 0;
  padding: 28px 32px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.project-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}

.project-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 13px; font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
}

.project-card-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ── ÜBER MICH ── */
#ueber {
  padding: 140px max(48px, env(safe-area-inset-right, 0px)) 140px max(48px, env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.ueber-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.ueber-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0d1520 0%, #111a24 60%, #0a1018 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.1);
}

.ueber-accent-line {
  position: absolute;
  top: 32px; left: -24px;
  width: 3px; height: 80px;
  background: var(--accent);
}

.ueber-content { display: flex; flex-direction: column; gap: 28px; }

.ueber-content .section-label { margin-bottom: 0; }

.ueber-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: 0.02em;
  line-height: 0.92;
}

.ueber-heading em {
  font-style: normal;
  color: var(--accent);
}

.ueber-text {
  font-size: 16px; font-weight: 300;
  line-height: 1.85;
  color: rgba(240,237,232,0.7);
  max-width: 440px;
}

.ueber-content .ueber-text + .ueber-text {
  margin-top: -4px;
}

.ueber-stats {
  display: flex; gap: 40px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* ── LEISTUNGEN ── */
#leistungen {
  padding: 140px max(48px, env(safe-area-inset-right, 0px)) 140px max(48px, env(safe-area-inset-left, 0px));
}

#leistungen .section-label { margin-bottom: 16px; }

#leistungen .section-heading { margin-bottom: 64px; }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.leistung-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: none;
}

.leistung-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s ease;
}

.leistung-card:hover .leistung-bg { transform: scale(1.08); }

.l1 .leistung-bg { background: linear-gradient(160deg, #0a1a10, #1a3020); }
.l2 .leistung-bg { background: linear-gradient(160deg, #0d1520, #1a2535); }
.l3 .leistung-bg { background: linear-gradient(160deg, #1a1008, #2a1a0a); }
.l4 .leistung-bg { background: linear-gradient(160deg, #10101a, #1a1a2a); }
.l5 .leistung-bg { background: linear-gradient(160deg, #0a1510, #102010); }
.l6 .leistung-bg { background: linear-gradient(160deg, #100a10, #201020); }

.leistung-overlay {
  position: absolute; inset: 0;
  background: rgba(7,9,12,0.55);
  transition: background 0.4s;
}

.leistung-card:hover .leistung-overlay { background: rgba(7,9,12,0.35); }

.leistung-content {
  position: absolute; inset: 0;
  padding: 28px 28px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}

.leistung-icon {
  width: 36px; height: 36px;
  margin-bottom: 12px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.leistung-card:hover .leistung-icon { opacity: 1; }

.leistung-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.leistung-sub {
  font-size: 12px; font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.leistung-card:hover .leistung-sub { color: rgba(240,237,232,0.65); }

.leistung-arrow {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 18px;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s, transform 0.3s;
}

.leistung-card:hover .leistung-arrow { opacity: 1; transform: translate(0, 0); }

/* ── KONTAKT ── */
#kontakt {
  padding: 160px max(48px, env(safe-area-inset-right, 0px)) max(120px, env(safe-area-inset-bottom, 0px)) max(48px, env(safe-area-inset-left, 0px));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kontakt-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(232,240,74,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.kontakt-label { justify-content: center; margin-bottom: 20px; }
.kontakt-label::after { display: none; }

.kontakt-heading {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}

.kontakt-heading em {
  font-style: normal;
  -webkit-text-stroke: 1px rgba(240,237,232,0.3);
  color: transparent;
  display: block;
}

.kontakt-sub {
  font-size: 16px; font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 64px;
  position: relative; z-index: 1;
}

.kontakt-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

.kontakt-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: none;
}

.kontakt-btn-primary {
  background: var(--accent);
  color: #07090c;
}

.kontakt-btn-primary:hover {
  background: #f5ff6e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,240,74,0.25);
}

.kontakt-btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.kontakt-btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.kontakt-btn svg { width: 16px; height: 16px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px max(48px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(48px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 11px;
  color: rgba(240,237,232,0.2);
  letter-spacing: 0.08em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── IMAGE & VIDEO PERFORMANCE ── */

/* Hero video fills container, same as old placeholder */
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
  /* kein will-change: transform — sonst eigene Compositing-Layer in Safari oft ÜBER .hero-video-wrap::after */
}

/* Showreel thumbnail fills player */
.reel-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.reel-player:hover .reel-thumb { transform: scale(1.02); }

/* YouTube iframe (injected on click) */
.reel-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Project card images fill their background div */
.project-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-bg img { transform: scale(1.05); }

/* Über mich portrait */
.ueber-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Leistung card images */
.leistung-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.leistung-card:hover .leistung-bg img { transform: scale(1.08); }

/* Prevent layout shift while images load */
.project-card-bg,
.leistung-bg,
.ueber-visual { background-color: var(--surface); }


body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9000;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  #hero {
    padding-bottom: max(56px, env(safe-area-inset-bottom, 0px));
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }

  .notch-scrim {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(env(safe-area-inset-top, 0px) + 40px);
    z-index: 4;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.92) 65%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero-content,
  .hero-scroll {
    position: relative;
    z-index: 8;
  }

  .hero-content { max-width: none; }

  .hero-sub {
    font-size: 14px;
    line-height: 1.65;
    max-width: 36em;
  }

  #showreel,
  #projekte,
  #leistungen,
  #kontakt {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-top: 80px;
    padding-bottom: max(80px, 1.5rem, env(safe-area-inset-bottom, 0px));
  }

  #projekte { padding-left: 0; padding-right: 0; }

  .projekte-header {
    padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px));
    margin-bottom: 40px;
  }

  .projects-track-wrap {
    padding: 0 24px 28px;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .projects-track { gap: 16px; }

  .project-card {
    width: min(520px, calc(100vw - max(48px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)) - 8px));
    height: auto;
    aspect-ratio: 520 / 340;
    scroll-snap-align: start;
  }

  .project-card:hover { transform: none; }
  .project-card:hover .project-card-bg { transform: none; }
  .project-card:hover .project-card-bg img { transform: none; }

  .project-card-content { padding: 22px 24px; }

  .project-desc { max-width: none; font-size: 12px; }

  .showreel-heading {
    font-size: clamp(36px, 9vw, 64px);
    margin-bottom: 40px;
  }

  .reel-meta {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .play-btn {
    width: 72px;
    height: 72px;
    cursor: pointer;
  }

  #ueber {
    grid-template-columns: 1fr;
    padding: 80px max(24px, env(safe-area-inset-right, 0px)) max(80px, 1.5rem, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    gap: 40px;
  }

  .ueber-visual { max-width: 420px; margin: 0 auto; width: 100%; }

  .ueber-accent-line { left: 0; top: 24px; }

  .ueber-text { max-width: none; font-size: 15px; }

  .ueber-stats {
    flex-wrap: wrap;
    gap: 28px 36px;
  }

  .stat-num { font-size: 40px; }

  .leistungen-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .leistung-content { padding: 20px 18px; }

  .leistung-title { font-size: 22px; }

  .leistung-sub { font-size: 11px; }

  #kontakt { padding-bottom: max(100px, env(safe-area-inset-bottom, 0px)); }

  .kontakt-heading { font-size: clamp(48px, 14vw, 96px); }

  .kontakt-sub { font-size: 15px; margin-bottom: 40px; }

  .kontakt-links {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .kontakt-btn {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    padding: 16px 24px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  }

  body { cursor: auto; }

  .cursor, .cursor-ring { display: none; }

  .leistung-card:hover .leistung-bg { transform: none; }
  .leistung-card:hover .leistung-bg img { transform: none; }
}

@media (max-width: 480px) {
  .leistungen-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(52px, 14vw, 100px); }

  .section-heading { font-size: clamp(40px, 11vw, 72px); }
}
