/* ============================================
   BENEDIKT HUGENDUBEL — style.css
   Erstellt: 2026-03-30 | Version: 1.0
   ============================================ */

/* ─── Fonts ──────────────────────────────────── */

@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BrandonText';
  src: url('Assets/Fonts/HVD Fonts - BrandonText-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vanitas';
  src: url('Assets/Fonts/Vanitas-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Variables ─────────────────────────── */

:root {
  /* Accent: per JS beim Load zufällig gesetzt */
  --accent:   #67A2A2;

  --bg:       #f5f4f0;
  --bg-2:     #eceae4;
  --text:     #1a1a1a;
  --muted:    rgba(26, 26, 26, 0.45);
  --border:   rgba(26, 26, 26, 0.12);

  --font:         'BrandonText', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Vanitas', 'BrandonText', sans-serif;

  --nav-h:    64px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ──────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img, iframe {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ─── Custom Cursor ─────────────────────────── */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease),
              height 0.2s var(--ease),
              background 0.3s ease,
              opacity 0.2s ease;
}

.cursor.hovering {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1.5px solid var(--accent);
}

/* ─── Scroll Progress ───────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 2px;
  height: 0%;
  background: var(--accent);
  z-index: 9000;
  transition: height 0.1s linear;
}

/* ─── Nav ───────────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.4s ease, border-bottom 0.4s ease;
  transform: translateZ(0);
  will-change: background;
}

#nav.scrolled {
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ─── Hero ──────────────────────────────────── */

#hero {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 40px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ─── Section Header ────────────────────────── */

section {
  padding: 100px 0 0;
}

#cine,
#color {
  padding-bottom: 0;
}

.section-header {
  padding: 0 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ─── Reveal Animation ──────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ─── Showreel ──────────────────────────────── */

.showreel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
}

.showreel-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Klicks gehen ans Overlay, nicht den Player */
}

.showreel-wrapper iframe.active {
  pointer-events: auto; /* Nach Play-Klick: Player übernimmt */
}

.showreel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(26, 26, 26, 0.28);
  z-index: 2;
  cursor: none;
  transition: opacity 0.4s ease;
}

.showreel-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  position: relative;
  width: 72px;
  height: 72px;
  background: none;
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(245, 244, 240, 0.85);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.play-btn:hover .play-ring {
  transform: scale(1.15);
  border-color: #fff;
}

.play-icon {
  position: relative;
  z-index: 1;
  color: rgba(245, 244, 240, 0.9);
  transition: color 0.3s ease;
}

.play-btn:hover .play-icon {
  color: #fff;
}

.play-icon svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.showreel-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.7);
}

/* ─── Video Grid ────────────────────────────── */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1px;
}

.video-item {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
  cursor: none;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.4s ease;
  filter: saturate(0.9);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.video-item:hover img {
  transform: scale(1.04) translateZ(0);
  filter: saturate(1.1);
}

.video-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  transform: translateZ(0);
}

.video-item:hover .video-item-overlay {
  opacity: 1;
}

.video-item-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f5f4f0;
  line-height: 1.3;
}

.video-item-client {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(245, 244, 240, 0.65);
  margin-top: 2px;
}

.video-item-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(245, 244, 240, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
  color: #f5f4f0;
}

.video-item:hover .video-item-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-item-play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

/* Type Label — rechts oben, erscheint bei Hover */
.video-item-type {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.9);
  background: rgba(26, 26, 26, 0.45);
  padding: 3px 8px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 3;
}

.video-item:hover .video-item-type {
  opacity: 1;
  transform: translateY(0);
}

/* Thumbnail Placeholder während Laden */
.video-item.loading {
  background: var(--bg-2);
}

.video-item.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(26,26,26,0.04) 50%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ─── Filmstrip ─────────────────────────────── */

.filmstrip-section {
  margin-top: 60px;
}

.filmstrip-header {
  padding: 0 40px 20px;
}

.filmstrip-wrapper {
  position: relative;
  width: 100%;
}

.filmstrip {
  display: flex;
  gap: 1px;
  overflow-x: scroll;
  /* scroll-snap deaktiviert wegen infinite-loop */
  -webkit-overflow-scrolling: touch;
  /* Scrollbar verstecken */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* Verhindert Repaint-Propagation zum Nav beim Scrollen */
  contain: layout style;
  transform: translateZ(0);
}

.filmstrip::-webkit-scrollbar {
  display: none;
}

.filmstrip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.filmstrip-item {
  flex: 0 0 auto;
  /* Cinemascope: 2.39:1 — Breite so dass 3–5 Bilder sichtbar */
  width: 26vw;
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
  background: var(--bg-2);
}

.filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.4s ease;
  filter: saturate(0.85);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.filmstrip-item:hover img {
  transform: scale(1.04) translateZ(0);
  filter: saturate(1.05);
  cursor: none;
}

/* Placeholder wenn keine Stills vorhanden */
.filmstrip-empty {
  padding: 48px 40px;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── About ─────────────────────────────────── */

#about {
  padding: 120px 40px;
}

.about-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
}

.about-awards,
.about-clients {
  padding-top: 4px;
}

.about-awards .section-label,
.about-clients .section-label {
  display: block;
  margin-bottom: 20px;
}

.about-awards ul,
.about-clients ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-clients ul {
  columns: 2;
  column-gap: 24px;
}

.about-awards li,
.about-clients li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 2;
  break-inside: avoid;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}

.services-list li {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
}

.about-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 8px;
}

.btn-accent {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 28px;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-accent:hover {
  background: var(--text);
  transform: translateY(-1px);
}

.btn-text {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: var(--text);
}

.about-image {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.8);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

/* ─── Footer ────────────────────────────────── */

footer {
  margin-top: 120px;
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer-social a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-imprint-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-imprint-link:hover {
  color: var(--text);
}

.imprint-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-style: normal;
}

.footer-imprint-link[aria-expanded="true"] .imprint-arrow {
  transform: rotate(180deg);
}

/* ─── Imprint ───────────────────────────────── */

.imprint-section {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease, border-top-color 0.45s ease;
  border-top: 1px solid transparent;
  background: var(--bg-2);
}

.imprint-section.open {
  /* max-height wird per JS auf scrollHeight gesetzt — passt sich beliebig langen Texten an */
  border-top-color: var(--border);
}

.imprint-inner {
  padding: 60px 40px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.imprint-inner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.imprint-inner p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1em;
}

.imprint-inner p:last-child {
  margin-bottom: 0;
}

.imprint-inner a:hover {
  color: var(--accent);
}

/* ─── Lightbox ──────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(245, 244, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: none;
  z-index: 10;
  padding: 8px;
  transition: color 0.2s ease;
}

.lb-close:hover { color: var(--text); }

.lb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 2px 0;
}

.lb-prev,
.lb-next {
  font-size: 0.8rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: none;
  padding: 8px 12px;
  transition: color 0.2s ease;
  letter-spacing: 0.06em;
}

.lb-prev:hover, .lb-next:hover { color: var(--text); }

/* Video Lightbox */
.lb-video-wrap {
  width: 80vw;
  max-width: 1100px;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.lb-video-wrap.active {
  display: flex;
}

.lb-video-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 2px;
}

.lb-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.lb-client {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lb-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}

.lb-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Bild Lightbox */
.lb-img-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 90vw;
}

.lb-img-wrap.active {
  display: flex;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lb-img-wrap .lb-nav {
  width: 100%;
}

/* ─── Responsive ────────────────────────────── */

@media (max-width: 900px) {
  #nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  #hero,
  .section-header,
  #about,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-scroll-indicator {
    left: 24px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filmstrip-item {
    width: 60vw;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-awards ul,
  .about-clients ul {
    columns: 2;
  }

  .about-image {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-social {
    text-align: left;
  }

  .lb-video-wrap {
    width: 92vw;
  }
}

@media (max-width: 560px) {
  /* Cursor: Custom-Cursor auf Touch-Geräten abschalten */
  .cursor { display: none; }
  body { cursor: auto; }
  button, a, .video-item, .filmstrip-item, .showreel-overlay { cursor: pointer; }
  .lb-close, .lb-prev, .lb-next { cursor: pointer; }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .filmstrip-item {
    width: 85vw;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  /* ── Mobile Video Background Preview ── */

  /* Iframe liegt direkt über dem Thumbnail */
  .video-item-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  /* Sichtbar sobald src gesetzt (iframe geladen) */
  .video-item-bg[src]:not([src=""]) {
    opacity: 1;
  }

  /* Overlay und Type-Label über dem iframe */
  .video-item-overlay,
  .video-item-type {
    z-index: 2;
  }

  /* ── Mobile Video Focus States ── */

  /* Sanfte Transition für Filter-Wechsel */
  .video-item {
    transition: filter 0.4s ease;
  }

  /* Nicht-aktive Videos: gedimmt */
  .video-item.mobile-inactive {
    filter: brightness(0.45) saturate(0.6);
  }

  /* Aktives (zentriertes) Video: Overlay und Type sichtbar */
  .video-item.mobile-active .video-item-overlay {
    opacity: 1;
  }

  .video-item.mobile-active .video-item-type {
    opacity: 1;
    transform: translateY(0);
  }
}
