/* =====================================================
   Screencatch Foto Video Design — Projekt-CSS
   Richtung 2 "Kino-Hell". Theme: HELL (feststehend).
   Ueberschreibt NUR Tokens und ergaenzt Komponenten.
   Die in base.css als GESPERRT markierten Struktur-Regeln
   (Nav-Grid, Hero-Hoehe/-Anschluss, scroll-padding, z-Skala,
   Scroll-Pfeil im Fluss) werden hier NICHT angefasst.
   ===================================================== */

:root {
  /* FARBEN — fuenf Untergrund-Stufen (helle Papierwelt) */
  --bg: #fdfbfa;
  --bg-2: #f6f1ee;
  --bg-3: #efe6e2;
  --surface: #ffffff;
  --surface-2: #faf4f1;
  --text: #1b1416;
  --muted: #5d5054;
  --dim: #857579;

  /* MARKE — Weinrot aus dem Logo (gemessen #690b0b), Amber aus dem alten Template-CSS */
  --brand: #690b0b;
  --brand-2: #a3241d;
  --brand-ink: #ffffff;
  --brand-soft: rgba(105, 11, 11, .07);
  --brand-line: rgba(105, 11, 11, .26);
  --rare: #e07c09;              /* Zweitakzent: max. 2x auf der Seite */

  --line: rgba(27, 20, 22, .12);
  --line-2: rgba(27, 20, 22, .2);

  --on-brand: #ffffff;
  --on-brand-mute: rgba(255, 255, 255, .88);

  /* TYPO — Neutral-900-Stapel (R2: serifenlos) */
  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.55rem, 7.1vw, 5.4rem);
  --fs-h2: clamp(1.85rem, 4.1vw, 3.05rem);
  --fs-h3: clamp(1.18rem, 1.9vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.1rem);
  --fs-label: .76rem;

  /* RHYTHMUS — projektspezifisch, bewusst anders als die Basiswerte */
  --section: clamp(4.75rem, 9.2vw, 7.5rem);
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.6rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 22px 54px rgba(27, 20, 22, .10);
  --shadow-lg: 0 34px 78px rgba(27, 20, 22, .16);
  --ease: cubic-bezier(.22, .68, .16, 1);
}

/* ---------- Grundflaeche: zwei sehr schwache Farbschleier + Rauschtextur ---------- */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 48% at 12% 0%, rgba(105, 11, 11, .07), transparent 62%),
    radial-gradient(ellipse 64% 44% at 92% 34%, rgba(224, 124, 9, .045), transparent 60%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

/* ---------- Typo-Feinschliff ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); }

h1 {
  font-weight: 900;
  letter-spacing: -.038em;
  line-height: 1.02;
}

h2 { font-weight: 850; letter-spacing: -.032em; line-height: 1.06; }
h3 { font-weight: 800; letter-spacing: -.02em; }

.kicker {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-weight: 700;
  color: var(--brand);
}

.grad {
  background: linear-gradient(96deg, var(--brand) 8%, var(--brand-2) 62%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.progress span { box-shadow: 0 1px 4px rgba(105, 11, 11, .45); }

/* ---------- Sprunglink (base.css hat KEINE .skip-Regel — ohne die hier
   entsteht ein sichtbares Leerband ueber der Navigation) ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
}

/* ---------- CTA-Block (R1: zentriert) ---------- */
.cta-block { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-block h2 { max-width: 20ch; margin-inline: auto; }
.cta-block p { max-width: 56ch; margin: 16px auto 28px; }

/* ---------- Navigation ---------- */
.nav {
  background: rgba(253, 251, 250, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav.scrolled { background: rgba(253, 251, 250, .95); box-shadow: 0 10px 30px rgba(27, 20, 22, .07); }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-logo, .nav-actions { position: relative; z-index: 100; }

.nav-links a {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
  padding: 6px 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right .35s var(--ease);
}

.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--brand); }

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-2);
  transform: translateX(-101%);
  transition: transform .55s cubic-bezier(.6, 0, .2, 1);
}

.nav-cta:hover::before { transform: translateX(0); }
.nav-cta > * { position: relative; z-index: 1; }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe08a;
  box-shadow: 0 0 0 0 rgba(127, 224, 138, .85);
  animation: dotpulse 2.2s ease-out infinite;
}

@keyframes dotpulse {
  70% { box-shadow: 0 0 0 9px rgba(127, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 224, 138, 0); }
}

/* ---------- Hero ---------- */
.hero-media { overflow: hidden; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  animation: kenburns 27s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(0, -1.4%, 0); }
}

.hero-veil.light {
  background:
    radial-gradient(ellipse 78% 64% at 50% 46%,
      rgba(253, 251, 250, .9) 0%, rgba(253, 251, 250, .82) 34%,
      rgba(253, 251, 250, .48) 62%, rgba(253, 251, 250, 0) 88%),
    linear-gradient(180deg, rgba(253, 251, 250, .9) 0%, transparent 18%,
      transparent 70%, rgba(253, 251, 250, .96) 100%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, .7);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--brand);
}

.hero-content h1 { font-size: var(--fs-hero); max-width: 15ch; }
.hero-content p.lead { max-width: 52ch; color: #3a2f32; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin-top: clamp(1.6rem, 4vh, 2.8rem);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text);
}

.trust-row span { display: inline-flex; align-items: center; gap: 10px; }
.trust-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }



.scroll-down { border-color: var(--brand-line); color: var(--brand); background: rgba(255, 255, 255, .74); }
.scroll-down::before { border-color: var(--brand-line); }

/* ---------- Signature: Passepartout (gerahmter Abzug) ---------- */
.mat {
  background: var(--surface);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mat { display: flex; }
.mat img { display: block; width: 100%; height: auto; border-radius: 4px; }
/* Zwei Passepartouts nebeneinander: gleiche Bildhoehe, sonst steht unter dem
   flacheren Bild eine weisse Restflaeche im Rahmen. */
.grid-2 > .mat img { aspect-ratio: 16 / 10; object-fit: cover; height: auto; }

/* ---------- Kacheln ---------- */
.tile { border: 1px solid var(--line); background: var(--surface); }
.tile-bg { filter: saturate(.94) contrast(1.02); transition: transform 1.6s var(--ease), filter .6s var(--ease); }
.tile:hover .tile-bg { transform: scale(1.13); filter: saturate(1.04) contrast(1.06); }

.tile-veil {
  background: linear-gradient(180deg, rgba(253, 251, 250, .05) 0%, rgba(253, 251, 250, .64) 34%,
    rgba(253, 251, 250, .95) 62%, rgba(253, 251, 250, .995) 100%);
}

.tile-content { min-height: 372px; }
.tile-content .kicker { font-size: .7rem; letter-spacing: .3em; color: var(--brand); }
.tile-content h3 { margin: 10px 0 8px; }
.tile-content p:not(.kicker) { color: var(--muted); max-width: 34ch; font-size: .97rem; }
.tile-link { color: var(--text); border-color: var(--line-2); transition: color .3s var(--ease), border-color .3s var(--ease), gap .25s var(--ease); }

/* ---------- Zahlenband ---------- */
.stats { background: var(--bg-2); position: relative; }

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(105, 11, 11, .05), transparent 70%);
  pointer-events: none;
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--brand) 12%, var(--brand-2) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .rule { width: 32px; height: 2px; background: var(--brand); margin: 12px auto 10px; border-radius: 2px; }
.stat .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .24em; font-weight: 700; color: var(--muted); }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--brand);
  transition: right .32s var(--ease);
}

.card:hover::before { right: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }

/* ---------- Paket-Karten ---------- */
.pack { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 26px 30px; }
.pack h3 { font-size: 1.28rem; }
.pack .price { margin: 14px 0 4px; font-size: 2.05rem; font-weight: 900; letter-spacing: -.035em; color: var(--brand); font-variant-numeric: tabular-nums; }
.pack .price small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pack ul { list-style: none; text-align: left; margin: 20px 0 26px; display: grid; gap: 11px; width: 100%; }
.pack li { position: relative; padding-left: 26px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pack li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-soft); border: 1.5px solid var(--brand); }
.pack .btn { margin-top: auto; }

/* ---------- Zitate ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote p { color: var(--muted); font-size: .97rem; line-height: 1.66; }
.quote .mark { font-size: 2.6rem; line-height: .7; color: var(--brand); opacity: .3; font-weight: 900; }
.quote footer { margin-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }

/* ---------- Aktions-Band ---------- */
.deal { background: var(--brand); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.deal h3 { color: var(--on-brand); font-size: clamp(1.35rem, 3vw, 2rem); max-width: 22ch; margin: 0 auto; }
.deal p { color: var(--on-brand-mute); max-width: 52ch; margin: 14px auto 22px; }
.deal .btn-primary { background: var(--on-brand); color: var(--brand); }
.deal .btn-primary:hover { background: var(--surface-2); }

/* ---------- Galerie ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal figure { margin: 0; }
.gal a { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.gal img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.5s var(--ease), filter .6s var(--ease); filter: saturate(.95); }
.gal a:hover img { transform: scale(1.08); filter: saturate(1.05); }
.gal figcaption { margin-top: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); text-align: center; }

@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gal { grid-template-columns: 1fr; } }

/* ---------- Film-Liste ---------- */
.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.film {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.film:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.film .play { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); border: 1px solid var(--brand-line); display: grid; place-items: center; color: var(--brand); }
.film strong { display: block; font-size: 1rem; letter-spacing: -.01em; }
.film span { font-size: .82rem; color: var(--muted); }

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

/* ---------- Kontakt-Karten ---------- */
.contact-item { flex-direction: column; align-items: center; text-align: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden; }
.contact-item::before { content: ""; position: absolute; top: 0; left: 0; right: 100%; height: 2px; background: var(--brand); transition: right .32s var(--ease); }
.contact-item:hover::before { right: 0; }
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-item .kicker { font-size: .72rem; letter-spacing: .3em; }
.contact-item strong { font-size: 1.12rem; margin-top: 10px; letter-spacing: -.015em; }
.contact-item span, .contact-item a { color: var(--muted); font-size: .96rem; }
.contact-item a:hover { color: var(--brand); }

/* ---------- Partnerliste ---------- */
.links-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; list-style: none; text-align: left; }
.links-list a { color: var(--muted); font-size: .95rem; display: inline-flex; align-items: center; gap: 9px; }
.links-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.links-list a:hover { color: var(--brand); }

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

/* ---------- Text-Sektion ---------- */
.prose { max-width: 65ch; margin-inline: auto; }
.prose p { color: var(--muted); line-height: 1.68; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); position: relative; }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-line) 50%, transparent); }
.footer a { color: var(--muted); }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-bottom { color: var(--dim); font-size: .86rem; }

/* ---------- Rechtsseiten ---------- */
.legal h2 { letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); line-height: 1.68; }
.legal .note { border: 1px dashed var(--brand-line); background: var(--brand-soft); border-radius: var(--radius); padding: 20px 22px; }
.legal .note p:last-child { margin-bottom: 0; }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(3.4rem, 8vw, 6rem)); padding-bottom: clamp(2.4rem, 5vw, 3.6rem); background: var(--bg-2); border-bottom: 1px solid var(--line); text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); max-width: 18ch; margin-inline: auto; }
.page-head p { color: var(--muted); max-width: 58ch; margin: 16px auto 0; }


/* ---------- Galerie-Untermenü ---------- */
.nav-links > li.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.submenu-chevron {
  font-size: .9em;
  line-height: 1;
  transform: translateY(-1px);
}
.submenu-toggle { display: none; }
.nav-links .submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 235px;
  margin: 0;
  padding: 9px;
  list-style: none;
  display: block;
  background: rgba(253,251,250,.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(27,20,22,.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 200;
}
.nav-links > li.has-submenu:hover > .submenu,
.nav-links > li.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links .submenu li { margin: 0; padding: 0; }
.nav-links .submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: .92rem;
  white-space: nowrap;
}
.nav-links .submenu a::after { display: none; }
.nav-links .submenu a:hover,
.nav-links .submenu a.active {
  background: rgba(105,11,11,.08);
  color: var(--brand);
}

/* Album overview links */
.album-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.album-menu-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface, #fff);
  transition: transform .2s ease, box-shadow .2s ease;
}
.album-menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27,20,22,.08);
}
.album-menu-card h3 { margin: 0 0 7px; }
.album-menu-card p { margin: 0; }

/* Dedicated gallery pages */
.album-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.album-gallery figure { margin: 0; }
.album-gallery a { display: block; overflow: hidden; border-radius: 14px; background: #eee; }
.album-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.album-gallery a:hover img { transform: scale(1.035); }
.album-gallery figcaption {
  padding: 9px 3px 0;
  font-size: .9rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .album-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .album-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}



/* ---------- In-Page Galerie-Lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 12, 14, .94);
  overscroll-behavior: contain;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox__stage {
  position: relative;
  width: min(1200px, 94vw);
  height: min(88vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__image {
  max-width: 100%;
  max-height: calc(100% - 54px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,.42);
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: min(760px, 80vw);
  color: #fff;
  text-align: center;
  font-size: .95rem;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.gallery-lightbox__button {
  position: fixed;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font: 700 28px/1 system-ui, sans-serif;
  transition: background .2s ease, transform .2s ease;
}
.gallery-lightbox__button:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
.gallery-lightbox__close { top: 20px; right: 20px; font-size: 30px; }
.gallery-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover { transform: translateY(-50%) scale(1.05); }
.gallery-lightbox__counter {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.9);
  font: 600 14px/1 system-ui, sans-serif;
  letter-spacing: .04em;
}
.gallery-lightbox__hint {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.62);
  font: 12px/1.4 system-ui, sans-serif;
  pointer-events: none;
}
.gallery-lightbox__button:focus-visible,
.gallery-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
body.gallery-lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox__stage { width: 100vw; height: 82vh; }
  .gallery-lightbox__image { max-width: 96vw; max-height: calc(100% - 48px); }
  .gallery-lightbox__button { width: 44px; height: 44px; }
  .gallery-lightbox__close { top: 12px; right: 12px; }
  .gallery-lightbox__prev { left: 10px; }
  .gallery-lightbox__next { right: 10px; }
  .gallery-lightbox__caption { width: 74vw; bottom: -2px; font-size: .86rem; }
  .gallery-lightbox__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox__button { transition: none; }
}

/* ---------- Mobil / schmale Fenster ----------
   Zwei Gruende fuer den Burger schon ab 1023px:
   a) Logo + 5 Links + Anruf-Pille sprengen im Band 768–1023px die
      Aussenspalten des gesperrten 3-Zonen-Grids (Gate-Code STRUKTUR).
   b) backdrop-filter auf .nav macht die Leiste zum Bezugsrahmen fuer
      position:fixed — das Vollbild-Menue (.nav-links, inset:0) klebt sonst
      in der Leiste. Deshalb hier KEIN backdrop-filter. */
@media (max-width: 1023px) {
  .nav, .nav.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(253, 251, 250, .97);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    background: var(--bg);
    font-size: 1.32rem;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }

  .nav.open .nav-links { opacity: 1; pointer-events: auto; z-index: calc(var(--z-nav) - 1); }
  .nav-links a { font-size: 1.32rem; }
  .nav-links a::after { display: none; }
  .burger { display: flex; min-width: 44px; min-height: 44px; justify-content: center; }
  /* Muss NACH der eigenen .nav-cta-Regel stehen, sonst haengt die Anruf-Pille
     mobil in der Leiste und sprengt die rechte Grid-Spalte. */

  .nav-links > li.has-submenu { display: block; text-align: center; }
  .nav-links .nav-parent { justify-content: center; display: inline-flex; }
  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font: inherit;
    cursor: pointer;
  }
  .nav-links .submenu {
    position: static;
    transform: none;
    min-width: 0;
    width: min(320px, 88vw);
    margin: 8px auto 0;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    display: none;
    box-shadow: none;
    border-radius: 14px;
  }
  .nav-links > li.has-submenu.submenu-open > .submenu {
    display: block;
    pointer-events: auto;
  }
  .nav-links > li.has-submenu:hover > .submenu,
  .nav-links > li.has-submenu:focus-within > .submenu {
    transform: none;
  }

  .nav-cta { display: none; }
  .trust-row { display: none; }
  .tile-content { min-height: 320px; }
  .films { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-eyebrow { letter-spacing: .16em; font-size: .68rem; padding: 7px 13px; }
  .pack { padding: 26px 20px 26px; }
}

/* ---------- Bewegungs-Abschaltung ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .pulse-dot, .scroll-down, .scroll-down svg, .scroll-down::before { animation: none !important; }
  .tile-bg, .gal img { transition: none !important; }
  html { scroll-behavior: auto; }
}


/* Video Gallery */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.video-gallery-card {
  background: #fff;
  border: 1px solid rgba(105,11,11,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28,20,18,.08);
}
.video-gallery-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #181312;
}
.video-gallery-card__body { padding: 22px 22px 24px; }
.video-gallery-card__kicker {
  margin: 0 0 7px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}
.video-gallery-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.video-gallery-card p { margin: 0; line-height: 1.7; color: var(--muted, #665d59); }
.video-gallery-card__poster {
  display: block;
  margin: 16px 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}
.video-gallery-card__poster img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
.video-gallery-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: rgba(105,11,11,.045);
  border-radius: 0 12px 12px 0;
}
@media (max-width: 980px) {
  .video-gallery-grid { grid-template-columns: 1fr; }
  .video-gallery-card__body { padding: 20px; }
}

/* Video Gallery – echter Player statt separater Vorschaubildfläche */
.video-gallery-card video {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #181312;
  cursor: pointer;
}
.video-gallery-card video::-webkit-media-controls {
  display: flex !important;
}
