/* ──────────────────────────────────────────────
   BLACK PHÖNIX MEDIA — Website Styles v0.1
   Author: Serge · BPM
   Architecture: Vanilla CSS, BPM Voice tokens,
   Liquid Glass system, dark-first.
   ────────────────────────────────────────────── */

/* ===== FONTS ===== */
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NoirPro';
  src: url('../fonts/NoirPro-Heavy.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== TOKENS — BPM Brand ===== */
:root {
  /* Colors — exakt aus BPM Brand Voice v1.0 */
  --void: #0F1117;
  --obsidian: #1A1C24;
  --slate: #252833;
  --ash: #3D414F;
  --mist: #8A8D99;
  --frost: #C8CAD2;
  --pearl: #F0EDE6;
  --ignite: #E8400A;
  --ignite-deep: #B83008;
  --ignite-subtle: #2A0F08;

  /* Typography */
  --font-display: 'NoirPro', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:    'NoirPro', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    'RobotoMono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale */
  --text-eyebrow:    11px;
  --text-caption:    13px;
  --text-body:       16px;
  --text-body-lg:    clamp(18px, 1.5vw, 24px);
  --text-sub-lead:   clamp(20px, 1.8vw, 28px);
  --text-h3:         28px;
  --text-h2:         42px;
  --text-h1:         clamp(48px, 9vw, 110px);

  --tracking-eyebrow: 0.20em;
  --tracking-caption: 0.10em;
  --tracking-display: -0.035em;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Radii */
  --radius-pill:  999px;
  --radius-card:  16px;
  --radius-input: 8px;

  /* Layout */
  --max-width: 1360px;
  --nav-height: 88px;

  /* Glass system */
  --glass-blur: 16px;
  --glass-blur-strong: 28px;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden — iOS Safari/Brave ignoriert overflow-x: hidden auf html/body.
     clip verhindert verlässlich horizontalen Page-Scroll. */
  overflow-x: clip;
}
body {
  background: var(--void);
  color: var(--frost);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ===== UTIL — Liquid Glass ===== */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.08) 78%,
    rgba(255, 255, 255, 0.32) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.glass-strong {
  position: relative;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.12) 22%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.12) 78%,
    rgba(255, 255, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mist);
}
.section-num {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ignite);
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-6);
  height: var(--nav-height);
  pointer-events: none;
}
.site-nav > * { pointer-events: auto; }
.site-nav .brand            { justify-self: start; }
.site-nav .pill-nav         { justify-self: center; }
.site-nav .nav-cta          { justify-self: end; }
.site-nav .nav-mobile-toggle { justify-self: end; }

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}
.brand:hover .brand-logo { transform: scale(1.05); }

.pill-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--radius-pill);
}
.pill-nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.pill-nav-link:hover { color: var(--pearl); background: rgba(255, 255, 255, 0.04); }
.pill-nav-link.is-active { color: var(--pearl); background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background-color 0.4s ease,
    box-shadow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-cta:hover {
  color: var(--pearl);
  background: var(--ignite);
  box-shadow: 0 8px 32px rgba(232, 64, 10, 0.45);
}
.nav-cta.glass::before {
  transition: opacity 0.4s ease;
}
.nav-cta.glass:hover::before {
  opacity: 0;
}

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  align-items: center;
  justify-content: center;
}
.nav-mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--frost);
  position: relative;
}
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--frost);
}
.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after  { top:  6px; }
.nav-mobile-toggle span,
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  transition: transform 0.3s cubic-bezier(0.2, 0.65, 0.2, 1), top 0.3s cubic-bezier(0.2, 0.65, 0.2, 1), background 0.2s ease;
}
/* Hamburger morpht zu X wenn Drawer offen */
.nav-mobile-toggle.is-open span { background: transparent; }
.nav-mobile-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-mobile-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ===== MOBILE DRAWER — Fullscreen Liquid Glass ===== */
/* Backdrop nicht mehr separat — Drawer ist selbst fullscreen */
.nav-mobile-backdrop { display: none; }

.nav-mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99;
  /* Liquid Glass — Page-Content schimmert verschwommen durch */
  background: rgba(15, 17, 23, 0.45);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  /* Drop-Down von oben + Fade */
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    visibility 0.55s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-7)) var(--space-6) var(--space-7);
  gap: var(--space-6);
}
.nav-mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
/* Top-Highlight wie bei .glass — gibt dem Drawer den Liquid-Edge-Look */
.nav-mobile-drawer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.nav-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 480px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.nav-mobile-drawer-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.5vw, 48px);
  letter-spacing: -0.02em;
  color: var(--pearl);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.65, 0.2, 1);
  /* Stagger-Animation — initial state */
  opacity: 0;
  transform: translateY(24px);
}
.nav-mobile-drawer-links a:hover,
.nav-mobile-drawer-links a.is-active {
  color: var(--ignite);
}
/* Stagger: jeder Link kommt zeitversetzt rein wenn Drawer öffnet */
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a:nth-child(1) { transition-delay: 0.18s, 0.18s, 0s; }
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a:nth-child(2) { transition-delay: 0.25s, 0.25s, 0s; }
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a:nth-child(3) { transition-delay: 0.32s, 0.32s, 0s; }
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a:nth-child(4) { transition-delay: 0.39s, 0.39s, 0s; }
.nav-mobile-drawer.is-open .nav-mobile-drawer-links a:nth-child(5) { transition-delay: 0.46s, 0.46s, 0s; }

.nav-mobile-drawer .btn {
  position: relative;
  z-index: 1;
  margin-top: var(--space-4);
  justify-content: center;
  /* Stagger für CTA — kommt nach den Links rein */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease 0.55s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}
.nav-mobile-drawer.is-open .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Body-Scroll-Lock wenn Drawer offen */
body.has-mobile-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile-drawer,
  .nav-mobile-drawer-links a,
  .nav-mobile-drawer .btn {
    transition: opacity 0.2s ease, visibility 0.2s !important;
    transform: none !important;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + var(--space-7)) var(--space-6) 14vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  z-index: 0;
  opacity: 0.5;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.12);
  transform-origin: center top;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 45% at center 70%, rgba(15, 17, 23, 0.65) 0%, rgba(15, 17, 23, 0.2) 60%, rgba(15, 17, 23, 0) 100%),
    linear-gradient(180deg,
      rgba(15, 17, 23, 0.2)  0%,
      rgba(15, 17, 23, 0.35) 40%,
      rgba(15, 17, 23, 0.75) 75%,
      rgba(15, 17, 23, 0.95) 92%,
      var(--void) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--frost);
}
.hero-eyebrow .num { color: var(--ignite); }
.hero-eyebrow .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ignite);
  box-shadow: 0 0 12px var(--ignite);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: 1.0;
  letter-spacing: var(--tracking-display);
  color: var(--pearl);
  max-width: 18ch;
  margin: 0 auto;
}
.hero-title .static-line { display: block; }

/* Word rotator — inline-grid stack: alle Wörter in derselben Grid-Zelle.
   Container nimmt Breite des breitesten Worts, Höhe = 1 Line.
   Keine Layout-Sprünge zwischen "gesehen" und "verstanden". */
.rotator {
  display: inline-grid;
  vertical-align: baseline;
}
.rotator-word {
  grid-column: 1;
  grid-row: 1;
  color: var(--ignite);
  white-space: nowrap;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.35em);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rotator-word.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.rotator-word.is-leaving {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-0.35em);
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-body-lg);
  line-height: 1.45;
  color: var(--frost);
  max-width: 52ch;
  margin: 0 auto;
}
.hero-sub-lead {
  display: block;
  color: var(--pearl);
  font-weight: 500;
  font-size: var(--text-sub-lead);
  margin-bottom: 0.4em;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--ignite);
  color: var(--pearl);
  box-shadow: 0 8px 32px rgba(232, 64, 10, 0.32);
}
.btn-solid:hover {
  background: var(--ignite-deep);
  box-shadow: 0 10px 40px rgba(232, 64, 10, 0.48);
}
.btn-glass {
  color: var(--pearl);
}
.btn-glass:hover { background: var(--glass-bg-strong); }
.btn .arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ===== SCROLL HINT ===== */
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero-scroll > span {
  opacity: 0.5;
  animation: scroll-breath 3.6s ease-in-out infinite;
}
.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 48px;
  background: rgba(138, 141, 153, 0.18);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(232, 64, 10, 0.0) 10%,
    rgba(232, 64, 10, 0.9) 50%,
    rgba(232, 64, 10, 0.0) 90%,
    transparent 100%
  );
  filter: drop-shadow(0 0 4px rgba(232, 64, 10, 0.5));
  transform: translateY(-100%);
  animation: scroll-trail 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes scroll-trail {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}
@keyframes scroll-breath {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after,
  .hero-scroll > span { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .pill-nav { display: none !important; }
  .nav-cta  { display: none !important; }
  .nav-mobile-toggle { display: flex; }
  .site-nav {
    grid-template-columns: 1fr auto;
    padding: var(--space-3) var(--space-4);
  }
  .brand-logo { height: 44px; }
}

/* Mobile Hero — Video nur oben, Text unten auf solid void.
   Höhe gecappt: min(100svh, 880px) damit auf langen Mobile-Viewports
   das Video nicht den ganzen Screen frisst und der Text sichtbar bleibt. */
@media (max-width: 768px) {
  .hero {
    --hero-h: min(100svh, 880px);
    --hero-video-h: min(60svh, 528px);
    min-height: var(--hero-h);
    justify-content: flex-end;
    padding: calc(var(--nav-height) + 2vh) var(--space-4) 14vh;
  }
  .hero-video {
    height: var(--hero-video-h);
    bottom: auto;
    object-position: 50% 25%;
    opacity: 0.65;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(15, 17, 23, 0)    0%,
      rgba(15, 17, 23, 0.25) 30%,
      rgba(15, 17, 23, 0.7)  calc(var(--hero-video-h) - 80px),
      var(--void) var(--hero-video-h),
      var(--void) 100%
    );
  }
  .hero-content { gap: var(--space-4); max-width: 100%; }
  .hero-title {
    font-size: clamp(34px, 9.5vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 100%;
  }
  .hero-scroll { display: none; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════
   SECTION SYSTEM
   ════════════════════════════════════════════ */
.section {
  position: relative;
  padding: var(--space-11) var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Background Patterns — full-bleed Texture-Layer in BPM Ash,
   sanft am Rand ausgeblendet (fade-edges Mask).
   Nutzt isolation für eigenen Stacking-Context und left/right calc()
   statt transform — robuster gegen backdrop-filter-Children. */
.section.has-bg-grid,
.section.has-bg-dots {
  isolation: isolate;
}
.section.has-bg-grid::before,
.section.has-bg-dots::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 100%);
  mask-mode: alpha;
  -webkit-mask-mode: alpha;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.section.has-bg-grid::before {
  background-image:
    linear-gradient(to right, var(--ash) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ash) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
}
.section.has-bg-dots::before {
  background-image: radial-gradient(var(--ash) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.32;
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 64ch;
}
.section-header.is-centered {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}
.section-header.is-centered .section-lead {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.section-marker .num { color: var(--ignite); }
.section-marker::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--ignite), transparent);
}
.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--pearl);
  text-wrap: balance;
}
.section-lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--frost);
  max-width: 56ch;
}

@media (max-width: 768px) {
  .section { padding: var(--space-9) var(--space-4); }
  .section-header { margin-bottom: var(--space-6); gap: var(--space-3); }
}

/* ════════════════════════════════════════════
   GLOW CARD — Pointer-tracked spotlight
   Vanilla-Adaption von 21st.dev spotlight-card.
   Wiederverwendbar für Service, Portfolio, Features.
   ════════════════════════════════════════════ */
.glow-card {
  --base: 13;          /* Ignite hue HSL ~13 (= #E8400A) */
  --spread: 0;         /* Kein Hue-Shift — immer im Brand-Range */
  --radius: 18;
  --border: 1.5;
  --backdrop: rgba(255, 255, 255, 0.025);
  --backup-border: rgba(255, 255, 255, 0.08);
  --size: 220;
  --bg-spot-opacity: 0;       /* Background-Glow komplett aus — nur Border leuchtet */
  --border-spot-opacity: 1;
  --border-light-opacity: 0.75;
  --border-size: calc(var(--border) * 1px);
  --spotlight-size: calc(var(--size) * 1px);
  --hue: calc(var(--base) + (var(--xp, 0) * var(--spread)));

  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: calc(var(--radius) * 1px);
  border: var(--border-size) solid var(--backup-border);
  background-color: var(--backdrop);
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue, 13) 90% 70% / var(--bg-spot-opacity)),
    transparent 70%
  );
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-position: 50% 50%;
  background-attachment: fixed;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.4s ease, background-color 0.4s ease;
}
.glow-card::before,
.glow-card::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* "Border" effekt via padding + content-box mask trick.
     padding gibt die Border-Dicke, mask + composite exclude schneidet
     den content-box-Bereich aus, sodass nur der Padding-Ring sichtbar bleibt. */
  padding: var(--border-size);
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.glow-card::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue, 13) 92% 47% / var(--border-spot-opacity)),
    transparent 100%
  );
  filter: brightness(1.2);
}
.glow-card::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(0 100% 100% / var(--border-light-opacity)),
    transparent 100%
  );
}

.glow-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
}
.glow-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--pearl);
}
.glow-card-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--frost);
}

/* ════════════════════════════════════════════
   SECTION 02 — Was du davon hast (Glow Cards)
   ════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   SECTION 03 — Service (Stufen + Menü)
   ════════════════════════════════════════════ */
.service-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-9);
}
@media (max-width: 900px) {
  .service-stages { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   04 — KI als Werkzeug
   Wrapper .ki-block enthält Tile-Grid (auf Wrapper-Ebene)
   plus zwei Sub-Sections. Tile-Grid läuft über beide,
   faded mittig im Video aus (vor der Kopf-Position).
   ════════════════════════════════════════════ */
.ki-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--void);
  /* Extra Atemraum vor der nächsten Section (Workshop) — sonst klebt der
     Workshop-Inhalt visuell am KI-Video. */
  margin-bottom: var(--space-10);
}
.ki-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-11) var(--space-6);
}
.ki-tile-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), 1fr);
  grid-template-rows: repeat(var(--rows, 1), 1fr);
  pointer-events: none;
  /* Tiles laufen nur durch die Glass-Box-Section. Fade endet ungefähr
     beim Übergang zum Video — das Video selbst hat einen gemalten
     Top-Verlauf der den Übergang darstellt, kein Overlay nötig. */
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 7%,
    #000 32%,
    transparent 48%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 7%,
    #000 32%,
    transparent 48%);
}
.ki-tile {
  --i: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono), 'Courier New', monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  /* Default in BPM Ash (gleiche Farbe wie Grid/Dotted Pattern),
     lerpt bei Cursor-Nähe linear zu Ignite. */
  color: color-mix(in srgb, var(--ash) calc((1 - var(--i)) * 100%), var(--ignite));
  opacity: calc(0.4 + var(--i) * 0.6);
  text-shadow: 0 0 calc(var(--i) * 20px) rgba(232, 64, 10, 0.85);
  transform: scale(calc(1 + var(--i) * 0.22));
  transition: transform 0.18s ease, color 0.18s ease, text-shadow 0.18s ease, opacity 0.18s ease;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
}
.ki-tile.is-glitch {
  animation: ki-tile-glitch 0.22s ease;
}
@keyframes ki-tile-glitch {
  0%   { transform: scale(1);   color: var(--ignite); }
  50%  { transform: scale(1.35); color: var(--pearl); text-shadow: 0 0 16px var(--pearl); }
  100% { transform: scale(1);   color: var(--ignite); }
}

.ki-content-box {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-7);
  border-radius: 20px;
  background: rgba(15, 17, 23, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 24px 60px -20px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.ki-content-box .section-marker {
  justify-content: center;
  margin-bottom: var(--space-5);
}
/* Eigene Headline für KI-Box — fett, balanciert auf 3 Zeilen.
   88 Zeichen Total / 3 Zeilen = ~30 Zeichen pro Zeile. */
.ki-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -0.022em;
  line-height: 1.14;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
  max-width: 32ch;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .ki-section { min-height: 60vh; padding: var(--space-7) var(--space-4); }
  .ki-content-box { padding: var(--space-5) var(--space-5); }
  .ki-tile { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ki-tile { transition: none; }
  .ki-tile.is-glitch { animation: none; }
}

/* ════════════════════════════════════════════
   04 — KI Video-Section
   Direkt unter der Tile-Grid-Box. Video im Hintergrund,
   dunkler Overlay, Text-Platzhalter im unteren Drittel.
   Top-Fade von --void → transparent für nahtlosen Übergang
   aus dem Tile-Grid.
   ════════════════════════════════════════════ */
.ki-video-section {
  position: relative;
  width: 100%;
  min-height: 92vh;
  overflow: hidden;
}
.ki-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  /* Top + Bottom des Videos selbst transparent ausfaden →
     kein sichtbarer Cut zwischen Video und --void-Hintergrund. */
  mask-image: linear-gradient(to bottom,
    transparent 0%, #000 7%,
    #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%, #000 7%,
    #000 86%, transparent 100%);
}
.ki-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Bottom-Fade verstärkt — keine orangene Linie mehr unten */
    linear-gradient(to bottom,
      transparent 65%,
      rgba(15, 17, 23, 0.55) 80%,
      rgba(15, 17, 23, 0.92) 92%,
      var(--void) 100%),
    /* Minimaler konstanter Tone-Down (10%) */
    rgba(15, 17, 23, 0.1);
}
.ki-video-content {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: inherit;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-9) var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* Glass-Box im unteren Drittel */
  align-items: center;
}
/* Glass-Box die "über" Serge schwebt — Backdrop-Blur sorgt für
   Lesbarkeit ohne dass das Video abgedunkelt werden muss.
   Breiter und flacher → Text fließt natürlicher ohne enge Umbrüche. */
.ki-video-card {
  max-width: 920px;
  width: 100%;
  padding: var(--space-5) var(--space-7);
  border-radius: 20px;
  background: rgba(15, 17, 23, 0.5);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 24px 60px -20px rgba(0, 0, 0, 0.55);
  text-align: center;
}
.ki-video-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--frost);
  margin: 0;
}

@media (max-width: 768px) {
  .ki-video-section { min-height: 100vh; min-height: 100svh; }
  .ki-video-content {
    padding: var(--space-6) var(--space-4) var(--space-5);
    justify-content: flex-end;
  }
  .ki-video-card { padding: var(--space-4) var(--space-5); }
  .ki-video-text { font-size: 14px; line-height: 1.55; }
  /* Person rückt höher im Bild → 70%+ Körper unterhalb des Headsets sichtbar. */
  .ki-video-bg { object-position: center 12%; }
}
.service-stage-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ignite);
  margin-bottom: var(--space-2);
}
.service-stage-step {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.service-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-5);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.service-menu-item:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(232, 64, 10, 0.35);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 12px 28px -10px rgba(232, 64, 10, 0.22);
}
.service-menu-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ignite);
}
.service-menu-content { display: flex; flex-direction: column; gap: 4px; }
.service-menu-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--pearl);
}
.service-menu-desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 15px;
  color: var(--frost);
}
.service-menu-arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mist);
  transition: color 0.3s ease, transform 0.3s ease;
}
.service-menu-item:hover .service-menu-arrow {
  color: var(--ignite);
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .service-menu-item { grid-template-columns: 40px 1fr auto; gap: var(--space-3); padding: var(--space-4); }
  .service-menu-title { font-size: 18px; }
  .service-menu-desc { font-size: 14px; }
}

/* ════════════════════════════════════════════
   SECTION 04 — Workshop
   ════════════════════════════════════════════ */
.workshop-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-8);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232, 64, 10, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.workshop-block-text { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.workshop-block-visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--obsidian), var(--slate));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
}
.workshop-block-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .workshop-block { grid-template-columns: 1fr; padding: var(--space-6); }
}

/* ════════════════════════════════════════════
   WORKSHOP — Studio Gallery
   ════════════════════════════════════════════ */
.studio-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}
.studio-intro .section-marker { margin-bottom: var(--space-3); }
.studio-intro .section-headline { margin-bottom: var(--space-4); }

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.studio-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.studio-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 22%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.06) 78%,
    rgba(255, 255, 255, 0.22) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.studio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.studio-gallery-item:hover img {
  transform: scale(1.03);
}

.studio-gallery-cta {
  margin-top: var(--space-7);
  text-align: center;
}

.workshop-format-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.workshop-format-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.workshop-format-num {
  font-family: var(--font-mono);
  color: var(--ignite);
  font-size: 13px;
  letter-spacing: 0.12em;
  min-width: 28px;
  padding-top: 2px;
}

@media (max-width: 640px) {
  .studio-gallery { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   SECTION 07 — Kurs Cover (statt Module-Grid)
   ════════════════════════════════════════════ */
.kurs-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.kurs-cover-image {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}
.kurs-cover-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0) 50%, rgba(15, 17, 23, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0.6;
}
.kurs-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.kurs-cover-image:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 64, 10, 0.4);
  box-shadow: 0 30px 80px rgba(232, 64, 10, 0.2);
}
.kurs-cover-image:hover::before { opacity: 0.3; }
.kurs-cover-image:hover img { transform: scale(1.03); }
.kurs-cover-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.kurs-cover-play-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(232, 64, 10, 0.92);
  color: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding-left: 6px;
  box-shadow: 0 12px 40px rgba(232, 64, 10, 0.5);
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.kurs-cover-image:hover .kurs-cover-play-circle { transform: scale(1.08); }

@media (max-width: 768px) {
  .kurs-cover-play-circle { width: 64px; height: 64px; font-size: 22px; }
}

/* ════════════════════════════════════════════
   SECTION 05 — Vertraut von (Logo Slider)
   Infinite slider + progressive blur edges
   ════════════════════════════════════════════ */
.logo-slider {
  position: relative;
  width: 100%;
  height: 96px;
  overflow: hidden;
  margin-top: var(--space-6);
}
.logo-slider-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  height: 100%;
  animation: logo-slide 36s linear infinite;
}
.logo-slider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 100%;
  opacity: 0.65;
  transition: opacity 0.35s ease;
}
.logo-slider-item:hover { opacity: 1; }
.logo-slider-item img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* Quadratische / hohe Logos — bekommen mehr Höhe damit sie nicht winzig wirken. */
.logo-slider-item img.is-tall {
  height: 64px;
  max-width: 140px;
}
/* Farbige Logos auf reines Weiß bringen — Originale bleiben unverändert. */
.logo-slider-item img.is-color {
  filter: brightness(0) invert(1);
}
@keyframes logo-slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* Progressive Blur Edges — 8 Layer per Side, generiert via JS.
   Jedes Layer hat einen eigenen Mask-Window + progressiv steigenden
   backdrop-blur (0, 1px, 2px ... 7px). Wo Layer überlappen, addiert sich
   der Blur — Glaswand-Effekt. Plus solid void color-fade als Top-Layer. */
.logo-slider-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 240px;
  z-index: 3;
  pointer-events: none;
}
.logo-slider-edge--left  { left: 0; }
.logo-slider-edge--right { right: 0; }
.logo-slider-edge .pb-color-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.logo-slider-edge--left  .pb-color-fade { background: linear-gradient(to right, var(--void) 0%, transparent 100%); }
.logo-slider-edge--right .pb-color-fade { background: linear-gradient(to left,  var(--void) 0%, transparent 100%); }

/* ════════════════════════════════════════════
   SECTION 06 — Portfolio (Grid)
   ════════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--obsidian), var(--slate));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}
.portfolio-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.portfolio-item-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ignite);
}
.portfolio-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--pearl);
}
.portfolio-item-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
  opacity: 0.5;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════
   Portfolio Bento — Startseite Preview (4 Disziplinen)
   ════════════════════════════════════════════ */
.portfolio-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}
.portfolio-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--obsidian);
  text-decoration: none;
  display: block;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-bento-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}
.portfolio-bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.portfolio-bento-card:hover img {
  transform: scale(1.04);
}
.portfolio-bento-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 2;
  pointer-events: none;
}
.portfolio-bento-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
  margin-bottom: 6px;
}
.portfolio-bento-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--pearl);
  text-wrap: balance;
}

/* Layout — Desktop ≥1100px */
.portfolio-bento-reel  { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.portfolio-bento-web   { grid-column: 5 / span 8; grid-row: 1; aspect-ratio: 16 / 9; }
.portfolio-bento-foto  { grid-column: 5 / span 4; grid-row: 2; aspect-ratio: 1 / 1; }
.portfolio-bento-audio { grid-column: 9 / span 4; grid-row: 2; aspect-ratio: 1 / 1; }

/* Web-Card: Top der Seite zeigen (Hero) statt Center-Crop */
.portfolio-bento-web img { object-position: top; }

/* Tablet — 2×2 Grid, alle Items als 4:5 Cards */
@media (max-width: 1100px) {
  .portfolio-bento { grid-template-columns: repeat(2, 1fr); }
  .portfolio-bento-reel,
  .portfolio-bento-web,
  .portfolio-bento-foto,
  .portfolio-bento-audio {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
}

/* Mobile — Stack, je Item native Aspect */
@media (max-width: 640px) {
  .portfolio-bento { grid-template-columns: 1fr; gap: var(--space-2); }
  .portfolio-bento-reel { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; width: 100%; }
  .portfolio-bento-web { aspect-ratio: 16 / 10; }
  .portfolio-bento-foto { aspect-ratio: 4 / 5; max-width: 340px; margin: 0 auto; width: 100%; }
  .portfolio-bento-audio { aspect-ratio: 1 / 1; max-width: 340px; margin: 0 auto; width: 100%; }
}

/* ════════════════════════════════════════════
   Portfolio Web — Auto-Scroll Live-Demo Cards
   ════════════════════════════════════════════ */
.portfolio-web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.portfolio-web-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--obsidian), var(--slate));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-web-card:hover,
.portfolio-web-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}
.portfolio-web-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--obsidian);
}
.portfolio-web-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  animation: portfolio-web-scroll 22s ease-in-out infinite;
  will-change: transform;
}
.portfolio-web-card:hover .portfolio-web-img,
.portfolio-web-card:focus-within .portfolio-web-img {
  animation-play-state: paused;
}
@keyframes portfolio-web-scroll {
  0%, 6%   { transform: translateY(0); }
  50%, 56% { transform: translateY(calc(-1 * var(--scroll, 80%))); }
  100%     { transform: translateY(0); }
}
.portfolio-web-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pearl);
  background: rgba(15, 17, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.portfolio-web-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ignite);
  box-shadow: 0 0 8px var(--ignite);
}
.portfolio-web-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.portfolio-web-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ignite);
}
.portfolio-web-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--pearl);
  text-wrap: balance;
}
.portfolio-web-story {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ash);
  margin-top: 6px;
}
.portfolio-web-domain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
  margin-top: 10px;
  transition: color 0.3s ease, gap 0.3s ease;
}
.portfolio-web-card:hover .portfolio-web-domain,
.portfolio-web-card:focus-visible .portfolio-web-domain {
  color: var(--pearl);
  gap: 10px;
}
@media (max-width: 900px) { .portfolio-web-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-web-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .portfolio-web-img { animation: none; }
}

/* ════════════════════════════════════════════
   Portfolio Branding — Entwurf → Logo (Hover/Tap crossfade)
   ════════════════════════════════════════════ */
.portfolio-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.portfolio-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--obsidian), var(--slate));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-brand-card:hover,
.portfolio-brand-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  outline: none;
}
.portfolio-brand-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-bg, var(--obsidian));
  isolation: isolate;
}
.portfolio-brand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.6s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.portfolio-brand-img--draft {
  object-fit: cover;
  object-position: center;
  opacity: 1;
  z-index: 1;
}
.portfolio-brand-img--logo {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 2;
  transform: scale(1.04);
}
.portfolio-brand-card:hover .portfolio-brand-img--draft,
.portfolio-brand-card.is-flipped .portfolio-brand-img--draft {
  opacity: 0;
  transform: scale(1.02);
}
.portfolio-brand-card:hover .portfolio-brand-img--logo,
.portfolio-brand-card.is-flipped .portfolio-brand-img--logo {
  opacity: 1;
  transform: scale(1);
}
.portfolio-brand-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pearl);
  background: rgba(15, 17, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.portfolio-brand-card:hover .portfolio-brand-hint,
.portfolio-brand-card.is-flipped .portfolio-brand-hint {
  opacity: 0;
}
.portfolio-brand-hint-desktop { display: inline; }
.portfolio-brand-hint-mobile  { display: none; }
@media (hover: none) and (pointer: coarse) {
  .portfolio-brand-hint-desktop { display: none; }
  .portfolio-brand-hint-mobile  { display: inline; }
}
.portfolio-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.portfolio-brand-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ignite);
}
.portfolio-brand-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--pearl);
  text-wrap: balance;
}
.portfolio-brand-story {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ash);
  margin-top: 6px;
}
.portfolio-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
  margin-top: 10px;
  transition: color 0.3s ease, gap 0.3s ease;
}
.portfolio-brand-card:hover .portfolio-brand-cta,
.portfolio-brand-card:focus-visible .portfolio-brand-cta {
  color: var(--pearl);
  gap: 10px;
}
@media (max-width: 900px) { .portfolio-brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-brand-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .portfolio-brand-img { transition: none; }
}

/* ════════════════════════════════════════════
   Case Modal — Iframe Lightbox für Brand-Cases
   ════════════════════════════════════════════ */
.case-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  animation: lightbox-fade 0.2s ease-out;
}
.case-modal[hidden] { display: none; }
.case-modal-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  max-height: 92vh;
  background: #06060A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.case-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #06060A;
}
.case-modal-close,
.case-modal-open {
  position: absolute;
  top: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pearl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 1;
}
.case-modal-close {
  right: 24px;
  font-size: 28px;
  line-height: 1;
  font-family: var(--font-display);
}
.case-modal-open {
  right: 84px;
}
.case-modal-open svg {
  width: 18px;
  height: 18px;
}
.case-modal-close:hover,
.case-modal-open:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
@media (max-width: 768px) {
  .case-modal { padding: 0; }
  .case-modal-frame { max-height: 100vh; border-radius: 0; }
  .case-modal-close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .case-modal-open  { top: 16px; right: 72px; width: 44px; height: 44px; }
}

/* ════════════════════════════════════════════
   Portfolio Videos — Showreel + Wide (16:9) + Reel (9:16) Grid
   ════════════════════════════════════════════ */

/* Showreel — full-width hero placeholder */
.portfolio-showreel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.portfolio-showreel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: linear-gradient(135deg, var(--obsidian) 0%, var(--void) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}
.portfolio-showreel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(232, 64, 10, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.portfolio-showreel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  z-index: 1;
}
.portfolio-showreel-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ignite);
}
.portfolio-showreel-msg {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--frost);
  letter-spacing: -0.01em;
}

/* 16:9 Wide-Format Videos (Imagefilm + Produktvideo) */
.portfolio-video-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (max-width: 768px) {
  .portfolio-video-grid-wide { grid-template-columns: 1fr; }
}

.portfolio-video-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.portfolio-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
/* Video-Modal — öffnet beim Click auf eine Wide-Video-Card */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  animation: lightbox-fade 0.2s ease-out;
}
.video-modal[hidden] { display: none; }
.video-modal-frame {
  position: relative;
  width: 100%;
  max-width: 1400px;
  max-height: 88vh;
  background: var(--obsidian);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pearl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 1;
}
.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
@media (max-width: 768px) {
  .video-modal { padding: var(--space-3); }
  .video-modal-close { top: 16px; right: 16px; width: 44px; height: 44px; }
}
.portfolio-video-frame iframe,
.portfolio-reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Click-to-Load Trigger Button (Cover + Glass-Play-Overlay) */
.portfolio-vimeo-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--obsidian);
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.portfolio-vimeo-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.portfolio-vimeo-play {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pearl);
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-vimeo-play svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
  flex-shrink: 0;
}
.portfolio-vimeo-play-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.portfolio-vimeo-trigger:hover img {
  transform: scale(1.03);
  filter: brightness(0.92);
}
.portfolio-vimeo-trigger:hover .portfolio-vimeo-play {
  background: rgba(232, 64, 10, 0.92);
  border-color: rgba(232, 64, 10, 1);
  color: var(--pearl);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232, 64, 10, 0.4);
}
.portfolio-vimeo-trigger:focus-visible {
  outline: 2px solid var(--pearl);
  outline-offset: -2px;
}

/* 9:16 Reels Grid */
.portfolio-reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
@media (max-width: 1100px) {
  .portfolio-reel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .portfolio-reel-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

.portfolio-reel-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.portfolio-reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.portfolio-reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Card-Title (under both video types) */
.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.4;
  color: var(--frost);
  letter-spacing: -0.005em;
  padding: 0 var(--space-1);
}

/* Instagram Glass-Pill (only on reels) */
.portfolio-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-left: var(--space-1);
}
.portfolio-instagram-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.portfolio-instagram-link:hover {
  background: rgba(232, 64, 10, 0.08);
  border-color: rgba(232, 64, 10, 0.4);
  color: var(--ignite);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════
   Portfolio Audio — Cover + Plattform-Pillen
   ════════════════════════════════════════════ */
.portfolio-audio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.portfolio-audio-grid:has(.portfolio-audio-card:nth-child(2)) {
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-audio-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.portfolio-audio-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.portfolio-audio-grid:has(.portfolio-audio-card:nth-child(2)) .portfolio-audio-card {
  grid-template-columns: 1fr;
  text-align: left;
}

.portfolio-audio-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.portfolio-audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-audio-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.portfolio-audio-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ignite);
}
.portfolio-audio-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
}
.portfolio-audio-story {
  font-size: 15px;
  line-height: 1.6;
  color: var(--frost);
  margin: 0;
  max-width: 52ch;
}
.portfolio-audio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.portfolio-audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.portfolio-audio-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.portfolio-audio-pill:hover {
  transform: translateY(-1px);
  color: var(--pearl);
}
.portfolio-audio-pill--spotify:hover {
  background: rgba(30, 215, 96, 0.1);
  border-color: rgba(30, 215, 96, 0.5);
  color: #1ed760;
}
.portfolio-audio-pill--apple:hover {
  background: rgba(178, 110, 240, 0.1);
  border-color: rgba(178, 110, 240, 0.5);
  color: #b26ef0;
}
.portfolio-audio-pill--ronin:hover {
  background: rgba(232, 64, 10, 0.1);
  border-color: rgba(232, 64, 10, 0.5);
  color: var(--ignite);
}

@media (max-width: 760px) {
  .portfolio-audio-card,
  .portfolio-audio-grid:has(.portfolio-audio-card:nth-child(2)) .portfolio-audio-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: var(--space-4);
    gap: var(--space-4);
  }
  .portfolio-audio-cover {
    max-width: 320px;
    margin: 0 auto;
  }
  .portfolio-audio-grid:has(.portfolio-audio-card:nth-child(2)) {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════
   Portfolio Photo-Grid — 20 Foto-Kacheln, klickbar (Lightbox)
   ════════════════════════════════════════════ */
.portfolio-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
@media (max-width: 900px) { .portfolio-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-photo-grid { grid-template-columns: 1fr; } }
.portfolio-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.portfolio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.6s ease;
}
.portfolio-photo:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}
.portfolio-photo:hover img { transform: scale(1.04); }
.portfolio-photo:focus-visible {
  outline: 2px solid var(--pearl);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════
   Lightbox — Fullscreen Overlay für Foto-Detail
   ════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightbox-fade 0.2s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  display: block;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: var(--pearl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.lightbox-close { top: 24px; right: 24px; font-size: 28px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .lightbox-close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .lightbox-prev { left: 12px; width: 44px; height: 44px; }
  .lightbox-next { right: 12px; width: 44px; height: 44px; }
  .lightbox-img { max-width: 96vw; max-height: 84vh; }
}

/* ════════════════════════════════════════════
   SECTION 07 — Kurs (Free, Hormozi-Move)
   ════════════════════════════════════════════ */
.kurs-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(232, 64, 10, 0.10);
  border: 1px solid rgba(232, 64, 10, 0.32);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
  width: fit-content;
}
.kurs-trust-tag .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ignite);
  box-shadow: 0 0 8px var(--ignite);
}
.kurs-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.kurs-module {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}
.kurs-module:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 64, 10, 0.4);
}
.kurs-module-thumb {
  aspect-ratio: 16 / 9;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
}
.kurs-module-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.kurs-module-meta {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kurs-module-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
}
.kurs-module-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--pearl);
  line-height: 1.3;
}
.kurs-module-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mist);
}
@media (max-width: 900px) { .kurs-modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kurs-modules { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════
   Kurs Outro — Footer-Bild mit Top-Verlauf
   ════════════════════════════════════════════ */
.kurs-outro {
  position: relative;
  width: 100%;
  margin-top: var(--space-9);
  isolation: isolate;
  overflow: hidden;
}
.kurs-outro::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 35%;
  background: linear-gradient(to bottom, var(--void) 0%, rgba(15, 17, 23, 0.6) 35%, rgba(15, 17, 23, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.kurs-outro-image {
  display: block;
  width: 100vw;
  height: auto;
  margin: 0;
  position: relative;
  z-index: 0;
}
@media (max-width: 768px) {
  .kurs-outro { margin-top: var(--space-7); }
  .kurs-outro::before { height: 28%; }
}

/* ════════════════════════════════════════════
   SECTION 09 — Kontakt Channels (Mail + Telegram)
   ════════════════════════════════════════════ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  width: 100%;
  max-width: 1080px;
  margin: var(--space-5) auto 0;
}
@media (max-width: 900px) {
  .contact-channels { grid-template-columns: 1fr; }
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.4s ease;
  text-align: left;
}
.contact-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 64, 10, 0.4);
  background: rgba(232, 64, 10, 0.04);
  box-shadow: 0 8px 32px rgba(232, 64, 10, 0.18);
}
.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232, 64, 10, 0.10);
  border: 1px solid rgba(232, 64, 10, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ignite);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.contact-channel:hover .contact-channel-icon {
  background: rgba(232, 64, 10, 0.20);
  border-color: rgba(232, 64, 10, 0.5);
}
.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}
.contact-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact-channel-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--pearl);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-channel .arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mist);
  transition: color 0.3s ease, transform 0.3s ease;
}
.contact-channel:hover .arrow {
  color: var(--ignite);
  transform: translateX(4px);
}
@media (max-width: 720px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   SECTION 08 — Über mich
   ════════════════════════════════════════════ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-7);
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(135deg, var(--obsidian), var(--ash));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.about-text { display: flex; flex-direction: column; gap: var(--space-4); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.about-stat-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.02em;
  color: var(--pearl);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-stat-num .accent { color: var(--ignite); }
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 6px;
  display: block;
}
@media (max-width: 900px) {
  .about-block { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
}

/* ════════════════════════════════════════════
   SECTION 09 — Kontakt
   ════════════════════════════════════════════ */
.contact-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-9) var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}
.contact-options {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-4);
}

/* ════════════════════════════════════════════
   BRAND FOOTER — Mega Signature
   Großer Outline-Schriftzug mit Hover-Reveal-Glow
   und Page-Load-Stroke-Animation. BPM-Brand-konform:
   nur Ignite + Pearl, kein Regenbogen.
   ════════════════════════════════════════════ */
.brand-footer {
  position: relative;
  padding: var(--space-9) 0 var(--space-5);
  overflow: hidden;
  background: var(--void);
  isolation: isolate;
}
.brand-footer-bg {
  position: absolute;
  inset: 0;
  /* Sehr dezenter Ignite-Glow nur unten/Mitte — kein Sunset-Look */
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(232, 64, 10, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.brand-footer-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: clamp(72px, 13vw, 160px);
  display: block;
  user-select: none;
  cursor: default;
  max-width: none;
  margin: 0;
}
.brand-text-base,
.brand-text-stroke,
.brand-text-glow {
  font-family: 'NoirPro', sans-serif;
  font-weight: 800;
  font-size: 176px;
  letter-spacing: -5px;
  fill: transparent;
  text-transform: uppercase;
}
.brand-text-base {
  stroke: rgba(200, 202, 210, 0.26);  /* var(--frost) sichtbar */
  stroke-width: 1.9;
}
.brand-text-stroke {
  stroke: rgba(232, 64, 10, 0.45);     /* Ignite gedämpft */
  stroke-width: 1.9;
  stroke-dasharray: 5200;
  stroke-dashoffset: 5200;
  /* Animation startet erst wenn IntersectionObserver
     die .is-revealed Klasse setzt (in main.js). */
}
.brand-footer.is-revealed .brand-text-stroke {
  animation: brand-stroke-draw 7s cubic-bezier(0.4, 0, 0.15, 1) 0.3s forwards;
}
@keyframes brand-stroke-draw {
  to { stroke-dashoffset: 0; }
}
.brand-text-glow {
  stroke: var(--ignite);
  stroke-width: 2.6;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: drop-shadow(0 0 12px rgba(232, 64, 10, 0.5));
}
.brand-footer-svg:hover .brand-text-glow {
  opacity: 1;
}

@media (max-width: 768px) {
  .brand-footer { padding: var(--space-7) 0 var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-text-stroke {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ════════════════════════════════════════════
   SITE FOOTER (Mini-Strip drunter)
   ════════════════════════════════════════════ */
/* 3-Spalten-Layout: links Rechts-Links · mitte Instagram · rechts Meta + Home-Icon */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-7) var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
}
.site-footer-links {
  display: flex;
  gap: var(--space-5);
  justify-self: start;
}
.site-footer-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.site-footer-links a:hover {
  color: var(--ignite);
  text-shadow: 0 0 14px rgba(232, 64, 10, 0.45);
}
.site-footer .site-footer-social {
  justify-self: center;
}
.site-footer-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-self: end;
}
.site-footer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}
.site-footer-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.site-footer-home svg {
  width: 16px;
  height: 16px;
}
.site-footer-home:hover {
  color: var(--ignite);
  border-color: rgba(232, 64, 10, 0.45);
  background: rgba(232, 64, 10, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-5);
    padding: var(--space-7) var(--space-5);
  }
  .site-footer-links { justify-self: center; }
  .site-footer-right { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-slider-track { animation: none; }
}

/* ════════════════════════════════════════════
   WOW-EFFECTS
   1. Custom Cursor (Dot + Ring, mix-blend-difference)
   2. Scroll-Reveal (Blur + Slide-Up bei In-View)
   3. Magnetic Hover (CTAs ziehen Cursor an sich)
   4. Hero-Parallax (CSS-Var setzt JS — siehe .hero-video)
   5. Count-Up (animierte Stats — kein eigenes CSS, nur JS)
   ════════════════════════════════════════════ */

/* 1 — CUSTOM CURSOR */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--pearl);
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(240, 237, 230, 0.6);
  transition: width 0.28s cubic-bezier(0.2, 0.6, 0.2, 1),
              height 0.28s cubic-bezier(0.2, 0.6, 0.2, 1),
              margin 0.28s cubic-bezier(0.2, 0.6, 0.2, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              opacity 0.2s ease;
}
.cursor-dot.is-hover { opacity: 0; }
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(232, 64, 10, 0.8);
  background: rgba(232, 64, 10, 0.05);
}
@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none;
  }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* 2 — SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(8px);
  transition:
    opacity 0.85s ease,
    transform 0.95s cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 0.85s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity, filter;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
/* Nach Abschluss der Reveal-Animation transform komplett entfernen.
   Sonst bleibt die Karte ein 3D-Compositing-Layer und
   `background-attachment: fixed` (Glow-Card-Spotlight) bricht. */
[data-reveal].is-settled {
  transform: none;
  filter: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* 3 — MAGNETIC HOVER */
.magnetic {
  display: inline-flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.2, 1);
  will-change: transform;
}
@media (pointer: coarse) {
  .magnetic { transition: none; }
}

/* ════════════════════════════════════════════
   PORTFOLIO PAGE — Filter-Pills (Anker-Sprung pro Kategorie)
   portfolio.html
   ════════════════════════════════════════════ */
/* Portfolio-Filter-Pills — einzelne Glass-Pills (wie .social-bar auf about.html).
   Desktop: alle 5 in einer Reihe. Mobile: flex-wrap → 3 oben + 2 unten. */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-7) auto 0;
}
.portfolio-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  /* Sichtbarer Glass-Background — die Section ist statisch dunkel,
     deshalb stärker als die generische .glass-Definition. */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost);
  transition: color 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease,
              transform 0.3s cubic-bezier(0.2, 0.65, 0.2, 1);
  will-change: transform;
}
.portfolio-filter-link:hover {
  color: var(--ignite);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(232, 64, 10, 0.45);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .portfolio-filters { gap: var(--space-2); }
  .portfolio-filter-link {
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

/* ════════════════════════════════════════════
   ABOUT-PAGE — Editorial Story-Blöcke (Wer / Was / Wie)
   about.html — alternierendes 2-Spalten-Grid mit Foto + Text
   und großem Outline-Glyph als Ghost-Background.
   ════════════════════════════════════════════ */
.about-story {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 6fr;
  gap: 0;
  align-items: center;
  isolation: isolate;
  margin-bottom: var(--space-11);
}
.about-story.is-reverse { grid-template-columns: 6fr 7fr; }
.about-story:last-child { margin-bottom: 0; }

/* Reverse: Bild rechts, Text links */
.about-story.is-reverse .about-story-media { order: 2; }

.about-story-media {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--obsidian);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-story-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.6s ease;
  filter: brightness(0.96) saturate(1.04);
}
.about-story:hover .about-story-media img {
  transform: scale(1.03);
  filter: brightness(1.04) saturate(1.12);
}

/* Liquid-Glass-Box — heller Tint, starker Blur, Brightness-Dim für Lesbarkeit */
.about-story-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-7);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(32px) saturate(1.7) brightness(0.78);
  -webkit-backdrop-filter: blur(32px) saturate(1.7) brightness(0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --tx: 0;
  transform: translateX(var(--tx));
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
  will-change: transform;
  overflow: hidden;
}

/* Specular highlight — der subtile "Glanz"-Streifen oben für Liquid-Look */
.about-story-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0) 78%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Subtile Wobble-Animation auf Hover — sanftes Atmen, Base-Translate beibehalten */
@keyframes story-glass-wobble-left {
  0%, 100% { transform: translateX(var(--tx)) rotate(0) translateY(0); }
  33%      { transform: translateX(var(--tx)) rotate(0.4deg) translateY(-3px); }
  66%      { transform: translateX(var(--tx)) rotate(-0.4deg) translateY(-3px); }
}
@keyframes story-glass-wobble-right {
  0%, 100% { transform: translateX(var(--tx)) rotate(0) translateY(0); }
  33%      { transform: translateX(var(--tx)) rotate(-0.4deg) translateY(-3px); }
  66%      { transform: translateX(var(--tx)) rotate(0.4deg) translateY(-3px); }
}

.about-story-text:hover {
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: no-preference) {
  .about-story:not(.is-reverse) .about-story-text:hover {
    animation: story-glass-wobble-left 2.6s ease-in-out infinite;
  }
  .about-story.is-reverse .about-story-text:hover {
    animation: story-glass-wobble-right 2.6s ease-in-out infinite;
  }
}

/* Desktop: Glass-Box ragt deutlich ins Bild rein */
@media (min-width: 901px) {
  .about-story:not(.is-reverse) .about-story-text { --tx: -18%; }
  .about-story.is-reverse .about-story-text { --tx: 18%; }
}

/* Text-Inhalte über glass-highlight stacken */
.about-story-marker,
.about-story-headline,
.about-story-body {
  position: relative;
  z-index: 2;
}

.about-story-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.about-story-marker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ignite);
  display: inline-block;
}

.about-story-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
}

.about-story-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--frost);
  max-width: 56ch;
  margin: 0;
}

.story-inline-link {
  color: var(--pearl);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ignite);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.story-inline-link:hover {
  color: var(--ignite);
  border-color: transparent;
}

/* Mobile: stack, Glass-Box ragt von unten ins Bild rein */
@media (max-width: 900px) {
  .about-story,
  .about-story.is-reverse {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--space-9);
  }
  .about-story.is-reverse .about-story-media { order: 0; }
  .about-story-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .about-story-text {
    margin-top: -64px;
    margin-left: var(--space-4);
    margin-right: var(--space-4);
    padding: var(--space-6);
    --tx: 0;
  }
}

@keyframes story-glass-wobble-mobile {
  0%, 100% { transform: translateY(0) rotate(0); }
  33%      { transform: translateY(-2px) rotate(0.3deg); }
  66%      { transform: translateY(-2px) rotate(-0.3deg); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .about-story .about-story-text:hover,
  .about-story.is-reverse .about-story-text:hover {
    animation: story-glass-wobble-mobile 2.6s ease-in-out infinite;
  }
}

/* ════════════════════════════════════════════
   ABOUT-PAGE — Fullscreen Hero mit Foto
   about.html
   ════════════════════════════════════════════ */
.about-hero {
  position: relative;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-9) var(--space-6) var(--space-7);
  overflow: hidden;
  isolation: isolate;
}
.about-hero-img,
.about-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  z-index: 0;
  opacity: 0.85;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Dezenter Top-Schatten (Nav-Lesbarkeit) */
    linear-gradient(to bottom, rgba(15, 17, 23, 0.55) 0%, rgba(15, 17, 23, 0) 22%),
    /* Center-Vignette (Gesicht freibleibend, Ränder dunkler) */
    radial-gradient(ellipse 70% 55% at center 35%, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.35) 100%),
    /* Bottom-Fade zur Brand-Farbe (wie auf Hero) */
    linear-gradient(to bottom, rgba(15, 17, 23, 0) 45%, rgba(15, 17, 23, 0.6) 70%, var(--void) 100%);
  pointer-events: none;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 0;
}
.about-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--pearl);
  margin: 0;
}
.about-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--frost);
  max-width: 560px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .about-hero {
    min-height: min(100svh, 880px);
    padding: var(--space-8) var(--space-5) var(--space-9);
  }
  .about-hero-img { object-position: center 20%; }
}

/* ════════════════════════════════════════════
   WORKSHOP-PAGE — Fullscreen Hero mit Video
   workshop.html — analog zu .about-hero, aber Video statt Foto.
   ════════════════════════════════════════════ */
.workshop-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-9) var(--space-6) var(--space-10);
  overflow: hidden;
  isolation: isolate;
  /* full-bleed: sicherstellen dass kein Body/Wrapper-Padding Streifen erzeugt */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.workshop-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0.72;
  filter: blur(1px) saturate(0.92);
}
.workshop-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Flat-Dim — gleichmäßige Verdunkelung über das ganze Video */
    linear-gradient(rgba(15, 17, 23, 0.4), rgba(15, 17, 23, 0.4)),
    /* Top-Schatten für Nav-Lesbarkeit */
    linear-gradient(to bottom, rgba(15, 17, 23, 0.85) 0%, rgba(15, 17, 23, 0) 28%),
    /* Center-Vignette — kräftiger, drückt Ränder ins Schwarz */
    radial-gradient(ellipse 75% 60% at center 45%, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.65) 100%),
    /* Bottom-Fade mit Ignite-Akzent → void */
    linear-gradient(to bottom, rgba(15, 17, 23, 0) 30%, rgba(232, 64, 10, 0.1) 65%, rgba(15, 17, 23, 0.85) 82%, var(--void) 100%);
  pointer-events: none;
}
.workshop-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.workshop-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 108px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
}
.workshop-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--frost);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .workshop-hero {
    min-height: min(100svh, 880px);
    padding: var(--space-8) var(--space-5) var(--space-9);
  }
}

/* ════════════════════════════════════════════
   KURS-PAGE — Fullscreen Hero mit Foto
   kurs.html — analog zu .about-hero, mit Foto-Background.
   ════════════════════════════════════════════ */
.kurs-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-9) var(--space-6) var(--space-7);
  overflow: hidden;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.kurs-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  z-index: 0;
  opacity: 0.85;
}
.kurs-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(15, 17, 23, 0.6) 0%, rgba(15, 17, 23, 0) 22%),
    radial-gradient(ellipse 75% 60% at center 40%, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.4) 100%),
    linear-gradient(to bottom, rgba(15, 17, 23, 0) 40%, rgba(232, 64, 10, 0.08) 70%, rgba(15, 17, 23, 0.7) 85%, var(--void) 100%);
  pointer-events: none;
}
.kurs-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 0;
}
.kurs-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 108px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
}
.kurs-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--frost);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .kurs-hero {
    min-height: min(100svh, 880px);
    padding: var(--space-8) var(--space-5) var(--space-9);
  }
}

/* ════════════════════════════════════════════
   SERVICE-PAGE — Fullscreen Hero mit Foto
   service.html — analog zu .about-hero, mit Foto-Background.
   ════════════════════════════════════════════ */
.service-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-9) var(--space-6) var(--space-7);
  overflow: hidden;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.service-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
  opacity: 0.85;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(15, 17, 23, 0.6) 0%, rgba(15, 17, 23, 0) 22%),
    radial-gradient(ellipse 75% 60% at center 40%, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.4) 100%),
    linear-gradient(to bottom, rgba(15, 17, 23, 0) 40%, rgba(232, 64, 10, 0.08) 70%, rgba(15, 17, 23, 0.7) 85%, var(--void) 100%);
  pointer-events: none;
}
.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 0;
}
.service-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 108px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--pearl);
  margin: 0;
}
.service-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--frost);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .service-hero {
    min-height: min(100svh, 880px);
    padding: var(--space-8) var(--space-5) var(--space-9);
  }
}

/* ════════════════════════════════════════════
   SERVICE-BLOCKS — Editorial Stack
   Alternating Big-Number + Liquid-Glass-Card pro Service.
   ════════════════════════════════════════════ */
.service-block {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-6);
  align-items: center;
  isolation: isolate;
}
.service-block.is-reverse { grid-template-columns: 7fr 5fr; }
.service-block.is-reverse .service-block-num { order: 2; text-align: right; }

.service-block-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(232, 64, 10, 0.4);
  background: rgba(232, 64, 10, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 64, 10, 0.85);
  flex-shrink: 0;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.service-block-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}
.service-block-card:hover .service-block-icon {
  border-color: rgba(232, 64, 10, 0.7);
  background: rgba(232, 64, 10, 0.08);
  color: var(--ignite);
}

/* Card-Header: Marker links, Icon rechts, gleiche Höhe */
.service-block-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.service-block-num {
  position: relative;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(180px, 22vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 64, 10, 0.4);
          text-stroke: 1.5px rgba(232, 64, 10, 0.4);
  user-select: none;
  pointer-events: none;
}

.service-block-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-7);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(28px) saturate(1.6) brightness(0.82);
  -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}
.service-block-card:hover {
  transform: translateY(-4px) rotate(0.25deg);
  box-shadow:
    0 36px 80px -24px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.service-block.is-reverse .service-block-card:hover {
  transform: translateY(-4px) rotate(-0.25deg);
}

.service-block-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.service-block-marker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ignite);
  display: inline-block;
}

.service-block-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--pearl);
  margin: 0;
  text-wrap: balance;
}

.service-block-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--frost);
  max-width: 56ch;
  margin: 0;
}

/* Process- + Tools-Section: Mono-Label + Chip-Reihe */
.service-block-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.service-block-meta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-block-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

/* Process Flow: Chips mit Chevron dazwischen */
.service-block-process {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-block-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--frost);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.service-block-card:hover .service-block-step {
  border-color: rgba(232, 64, 10, 0.25);
}
.service-block-step:not(:last-child)::after {
  content: "→";
  margin-left: var(--space-3);
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 12px;
  position: relative;
  top: 1px;
}

/* Tools: kleine, ruhigere Pills */
.service-block-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.service-block-tool {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.service-block-card:hover .service-block-tool {
  color: var(--frost);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Garantie-Callout — kleines Pill, Ignite-Tint */
.service-block-guarantee {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 64, 10, 0.28);
  background: rgba(232, 64, 10, 0.06);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ignite);
  align-self: flex-start;
}
.service-block-guarantee::before {
  content: "●";
  font-size: 7px;
  color: var(--ignite);
}

.service-block-card .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Mobile: Stack number above card, smaller, glass-card padding tightens */
@media (max-width: 900px) {
  .service-block,
  .service-block.is-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .service-block.is-reverse .service-block-num { order: 0; text-align: left; }
  .service-block-num {
    font-size: clamp(120px, 30vw, 180px);
  }
  .service-block-card { padding: var(--space-6); }
  .service-block-process {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }
  .service-block-process::-webkit-scrollbar { display: none; }
  .service-block-step { flex-shrink: 0; }
}

/* Schmale Mobile-Screens: alles auf 100% einrasten, damit nichts über den
   Viewport hinaus rendert. Grid-Items brauchen min-width: 0 (Default ist
   auto = Content-Width, was Container über Viewport pushen kann). */
@media (max-width: 600px) {
  .section {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
    width: 100%;
    max-width: 100%;
  }
  .service-block,
  .service-block.is-reverse {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }
  .service-block > * {
    min-width: 0;
    max-width: 100%;
  }
  .service-block-card {
    padding: var(--space-5) var(--space-4);
    width: 100%;
    max-width: 100%;
  }
  .service-block-num {
    font-size: clamp(72px, 20vw, 110px);
    line-height: 0.85;
  }
  .service-block-headline {
    font-size: 26px;
    line-height: 1.12;
  }
  .service-block-card .btn { align-self: stretch; justify-content: center; }
}

/* ════════════════════════════════════════════
   PORTFOLIO-PAGE — Fullscreen Hero mit Foto
   portfolio.html — analog zu .about-hero, mit Foto-Background.
   ════════════════════════════════════════════ */
.portfolio-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-9) var(--space-6) var(--space-7);
  overflow: hidden;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.portfolio-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
  opacity: 0.85;
}
.portfolio-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(15, 17, 23, 0.6) 0%, rgba(15, 17, 23, 0) 22%),
    radial-gradient(ellipse 75% 60% at center 40%, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.4) 100%),
    linear-gradient(to bottom, rgba(15, 17, 23, 0) 40%, rgba(232, 64, 10, 0.08) 70%, rgba(15, 17, 23, 0.7) 85%, var(--void) 100%);
  pointer-events: none;
}
.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 0;
}
.portfolio-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 108px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--pearl);
  margin: 0;
}
.portfolio-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--frost);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .portfolio-hero {
    min-height: min(100svh, 880px);
    padding: var(--space-8) var(--space-5) var(--space-9);
  }
}

/* ════════════════════════════════════════════
   LEGAL PAGES — Impressum, Datenschutz, AGB
   Lesbare Typografie für Fließtext, klare Hierarchie.
   ════════════════════════════════════════════ */
.legal-section .section-header {
  margin-bottom: var(--space-7);
}
.legal-content {
  max-width: 760px;          /* Comfortable reading line-length */
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--frost);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--pearl);
  margin: var(--space-7) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--frost);
  margin: var(--space-5) 0 var(--space-3);
}
.legal-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--frost);
}
.legal-content em {
  color: var(--frost);
  font-style: italic;
}
.legal-content p {
  margin-bottom: var(--space-4);
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.legal-content ul li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}
.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ignite);
  font-family: var(--font-mono);
  font-weight: 500;
}
.legal-content a {
  color: var(--ignite);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 64, 10, 0.4);
  transition: border-color 0.25s ease;
}
.legal-content a:hover {
  border-bottom-color: var(--ignite);
}
.legal-content strong {
  color: var(--pearl);
  font-weight: 600;
}
.legal-note {
  margin-top: var(--space-7);
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--ignite);
  background: rgba(232, 64, 10, 0.04);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mist);
}

@media (max-width: 768px) {
  .legal-content { font-size: 15px; }
  .legal-content h2 { font-size: 19px; margin-top: var(--space-6); }
}

/* ════════════════════════════════════════════
   ABOUT-PAGE — CTA-Section am Ende
   Full-Bleed Background-Video, Text rechts (Desktop) / unten (Mobile).
   Top + Bottom-Fade integriert via Mask aufs Video selbst.
   ════════════════════════════════════════════ */
.about-cta-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  background: var(--void);
  isolation: isolate;
}
/* Wrapper um Video + Overlay.
   Desktop: full-bleed absolute (Background-Look).
   Mobile (siehe Media-Query unten): relative im Stack mit fixem 16:9. */
.about-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Sehr lange Mask — Top und Bottom faden über je 22% transparent aus. */
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.4) 8%,
    #000 22%,
    #000 78%,
    rgba(0,0,0,0.4) 92%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.4) 8%,
    #000 22%,
    #000 78%,
    rgba(0,0,0,0.4) 92%,
    transparent 100%);
}
.about-cta-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Right-Side-Fade — sanfter, mehr Stops für fließenden Übergang */
    linear-gradient(to right,
      rgba(15, 17, 23, 0.1) 0%,
      rgba(15, 17, 23, 0.2) 30%,
      rgba(15, 17, 23, 0.45) 55%,
      rgba(15, 17, 23, 0.7) 80%,
      rgba(15, 17, 23, 0.82) 100%),
    /* Konstanter Tone-Down */
    rgba(15, 17, 23, 0.12);
}
.about-cta-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-11) var(--space-6);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* Text rechts ausgerichtet */
}
.about-cta-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 460px;
}
.about-cta-text .section-headline {
  margin: 0;
}
.about-cta-text .section-lead {
  margin: 0;
  color: var(--frost);
}
.about-cta-text .btn {
  margin-top: var(--space-3);
}

@media (max-width: 900px) {
  .about-cta-section {
    min-height: 0;            /* Section passt sich dem Stack-Inhalt an */
    display: flex;
    flex-direction: column;
  }
  /* Media-Wrapper aus dem Absolute raus → fließt im Stack als 16:9-Block */
  .about-cta-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .about-cta-video {
    object-position: center center;
    /* Mobile-Mask: Top sanft rein, Bottom sehr lang aus damit Video weich
       in den Text-Bereich drunter läuft. */
    mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0,0,0,0.4) 5%,
      #000 14%,
      #000 70%,
      rgba(0,0,0,0.5) 88%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0,0,0,0.4) 5%,
      #000 14%,
      #000 70%,
      rgba(0,0,0,0.5) 88%,
      transparent 100%);
  }
  .about-cta-overlay {
    background:
      /* Mobile: dezenter Tone-Down + Bottom-Fade als Übergang zum Text drunter */
      linear-gradient(to bottom,
        rgba(15, 17, 23, 0.12) 0%,
        rgba(15, 17, 23, 0.2) 50%,
        rgba(15, 17, 23, 0.55) 85%,
        rgba(15, 17, 23, 0.85) 100%),
      rgba(15, 17, 23, 0.08);
  }
  .about-cta-content {
    /* Text-Block ragt in den unteren Video-Bereich rein — Überlappung mit
       dem ausgefadeten Bottom des Videos. Kein abgesetzter Fremdkörper. */
    margin-top: calc(var(--space-9) * -1);
    padding: 0 var(--space-5) var(--space-9);
    min-height: 0;
    justify-content: center;
    align-items: stretch;
    position: relative;
    z-index: 2;
  }
  .about-cta-text {
    align-items: center;
    text-align: center;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    gap: var(--space-3);
  }
  .about-cta-text .section-headline {
    font-size: clamp(28px, 6.5vw, 38px);
    line-height: 1.1;
  }
  .about-cta-text .section-lead {
    font-size: 15px;
  }
  .about-cta-text .btn {
    margin-top: var(--space-3);
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-cta-content { padding: var(--space-6) var(--space-4) var(--space-8); }
}

/* ════════════════════════════════════════════
   LITE YOUTUBE EMBED
   Click-to-Load — kein Tracking vor User-Interaction.
   Vor Klick: lokales Thumbnail + Liquid-Glass Play-Button.
   Nach Klick: IFrame mit youtube-nocookie + autoplay.
   ════════════════════════════════════════════ */
.lite-yt {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  isolation: isolate;
}
.lite-yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.4s ease;
  z-index: 0;
}
.lite-yt::before {
  /* Tone-Down + Vignette — Thumbnail wird leicht abgedunkelt damit Play-Button + Text klar lesbar */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(15,17,23,0) 0%, rgba(15,17,23,0.45) 100%),
    rgba(15, 17, 23, 0.15);
  transition: background 0.4s ease;
}
.lite-yt:hover .lite-yt-thumb { transform: scale(1.04); }
.lite-yt:hover::before {
  background:
    radial-gradient(ellipse at center, rgba(15,17,23,0) 0%, rgba(15,17,23,0.35) 100%),
    rgba(15, 17, 23, 0.08);
}

.lite-yt-play {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--pearl);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.lite-yt-play svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.lite-yt-play-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.lite-yt:hover .lite-yt-play {
  background: rgba(232, 64, 10, 0.92);
  border-color: rgba(232, 64, 10, 1);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232, 64, 10, 0.4);
  color: var(--pearl);
}

/* Beide Texte (Badge + Info) zusammen in einer Liquid-Glass-Pille */
.lite-yt-meta {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 8px 24px -8px rgba(0, 0, 0, 0.4);
  max-width: calc(100% - var(--space-9));
}
.lite-yt-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ignite);  /* Ignite-Akzent als visueller Anker */
  padding-right: var(--space-3);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.lite-yt-info {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--frost);
  line-height: 1.45;
}

/* IFrame nach dem Klick — fyllt den Container, ersetzt Thumbnail + Play */
.lite-yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

/* Wenn aktiviert: alles davor wird ausgeblendet, nur IFrame bleibt */
.lite-yt.is-loaded .lite-yt-thumb,
.lite-yt.is-loaded .lite-yt-play,
.lite-yt.is-loaded .lite-yt-meta,
.lite-yt.is-loaded::before {
  display: none;
}

@media (max-width: 600px) {
  .lite-yt {
    border-radius: 16px;
  }
  .lite-yt-play {
    width: 68px;
    height: 68px;
  }
  .lite-yt-play svg {
    width: 26px;
    height: 26px;
  }
  /* Pille bleibt horizontal aber kompakter — Text wraps in 2 Zeilen wenn nötig */
  .lite-yt-meta {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    max-width: none;
    padding: 8px 13px;
    gap: 10px;
    border-radius: 16px;  /* Auf Mobile rounded statt voll-pill — bessere Multi-Line-Optik */
  }
  .lite-yt-badge {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    padding-right: 10px;
    align-self: stretch;
    display: flex;
    align-items: center;
  }
  .lite-yt-info {
    font-size: 10.5px;
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  /* Sehr schmale Phones: Pille auf 2 Zeilen mit visueller Trennung statt
     border-right (sieht bei Multi-Line schlecht aus) */
  .lite-yt-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 9px 14px;
  }
  .lite-yt-badge {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 6px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lite-yt-thumb,
  .lite-yt-play,
  .lite-yt::before {
    transition: none;
  }
  .lite-yt:hover .lite-yt-thumb { transform: none; }
  .lite-yt:hover .lite-yt-play { transform: translate(-50%, -50%); }
}

/* ════════════════════════════════════════════
   SOCIAL BAR — About-Hero (3 Liquid-Glass-Pills)
   YouTube · Instagram · LinkedIn
   ════════════════════════════════════════════ */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.65, 0.2, 1), background 0.25s ease;
  will-change: transform;
}
.social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.social-link:hover {
  color: var(--ignite);
  transform: translateY(-2px);
}
.social-link:hover svg {
  color: var(--ignite);
}
@media (max-width: 480px) {
  .social-bar { gap: var(--space-2); }
  .social-link { padding: 9px 14px; font-size: 10px; letter-spacing: 0.15em; }
  .social-link svg { width: 14px; height: 14px; }
}

/* ════════════════════════════════════════════
   FOOTER — BPM Instagram-Link
   ════════════════════════════════════════════ */
.site-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
.site-footer-social svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.site-footer-social:hover {
  color: var(--ignite);
  border-color: rgba(232, 64, 10, 0.45);
  text-shadow: 0 0 12px rgba(232, 64, 10, 0.35);
}

/* ===== SMOOTH SCROLL (Lenis) =====
   Lenis setzt automatisch .lenis + .lenis-smooth auf <html> beim Init.
   - scroll-behavior:auto !important überschreibt das globale smooth
     (sonst kämpfen native + Lenis miteinander → ruckelt).
   - .lenis-stopped wird gesetzt wenn lenis.stop() läuft (Modal offen).
   - data-lenis-prevent für scrollbare Sub-Container (z.B. Drawer).
*/
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ════════════════════════════════════════════
   WORKSHOP — Themen-Grid (5 Glow Cards)
   3 Spalten Desktop, 2 Spalten Tablet, 1 Spalte Mobile.
   Letzte 2 Cards in Row 2 (3+2) — visuell ok.
   ════════════════════════════════════════════ */
.themen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 1100px) {
  .themen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .themen-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   WORKSHOP — Testimonial-Proof (WhatsApp-Beleg)
   Sitzt im about-story-text als Glass-Frame
   ════════════════════════════════════════════ */
.testimonial-proof {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: 14px;
  margin: 0;
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
}
.testimonial-proof img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.testimonial-proof figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 0 var(--space-2) var(--space-1);
}

/* ════════════════════════════════════════════
   WORKSHOP — Garantie-Block (Risk Reversal)
   Centered Glass-Strong-Card.
   ════════════════════════════════════════════ */
.garantie-block {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(var(--space-7), 6vw, var(--space-9));
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.garantie-block .section-marker {
  justify-content: center;
}
.garantie-block .section-headline {
  font-size: clamp(30px, 3.8vw, 48px);
}
.garantie-block .section-lead {
  max-width: 58ch;
  margin: 0 auto;
}
.garantie-block .btn {
  margin-top: var(--space-3);
}

/* ════════════════════════════════════════════
   COOKIE-INFO-BANNER — kompakt, unten rechts, reiner Info-Hinweis
   ════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1100;
  max-width: 360px;
  width: calc(100% - var(--space-4) * 2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-inner {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: var(--space-4) var(--space-5);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cookie-banner-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--frost);
}
.cookie-banner-text a {
  color: var(--ignite);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--pearl); }
.cookie-banner-ack {
  align-self: flex-end;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ignite);
  color: var(--pearl);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-banner-ack:hover {
  background: var(--ignite-deep);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .cookie-banner {
    left: var(--space-3);
    right: var(--space-3);
    bottom: var(--space-3);
    width: auto;
    max-width: none;
  }
  .cookie-banner-text { font-size: 11.5px; }
}
