/* =========================================
   VERLEIH.CSS
   Seitenspezifische Styles – baut auf style.css auf.
   Aslan Filmwerkstatt – verleih.html

   DESIGNPRINZIP: Werkzeug-/Service-Charakter.
   Reduzierter als Videoproduktion/Fotografie,
   aber gleiche Farbwelt und Struktur.
   Hintergrund: cinematisches #1b1919.

   Erstellt mit Unterstützung von Claude (Anthropic).
   ========================================= */


/* =========================================
   GLOBALER OVERFLOW-SCHUTZ
   ========================================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
*, *::before, *::after {
  min-width: 0;
}


/* =========================================
   DESIGN-TOKEN OVERRIDE
   ========================================= */
:root {
  --bg:      #1b1919;
  --bg-deep: #1b1919;
  --diag:    clamp(1.5rem, 3.5vw, 4.5rem);
}


/* =========================================
   NAVBAR OVERRIDES – Gleiche Größen wie Startseite
   ========================================= */
header {
  background: #1a1c20 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

header .brand img {
  width: 68px;
  height: 68px;
}

/* Radiales Glühen – passend zum kühlen Blaugrau */
header .brand {
  position: relative;
  display: inline-block;
  line-height: 0;
}
header .brand::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 51, 64, 0.7) 35%,
    rgba(46, 51, 64, 0.4) 55%,
    transparent 75%
  );
  z-index: -1;
  pointer-events: none;
}

header .nav-toggle {
  width: 38px;
  height: 28px;
}
header .nav-toggle::before { top: 0; }
header .nav-toggle span    { top: 13px; }
header .nav-toggle::after  { bottom: 0; }

header nav {
  padding: 0.9rem 1.25rem;
}


/* =========================================
   HERO – Unterseiten-Variante
   ========================================= */
.hero-sub {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;   /* override #hero { min-height: 100svh } */
  display: block !important;  /* override #hero { display: flex }      */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
  line-height: 0;
}

.hero-bg {
  position: relative;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.62) contrast(1.08);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 25, 25, 0.05) 0%,
    rgba(27, 25, 25, 0.50) 60%,
    rgba(27, 25, 25, 0.85) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: calc(var(--diag) + 1.5rem);
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 1.5rem;
  max-width: var(--maxw);
  margin-inline: auto;
  line-height: normal;
  overflow: hidden;
}

.hero-label {
  font-family: var(--ff-base);
  font-weight: 400;
  font-size: clamp(0.65rem, 1.8vw, 0.9rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(254, 249, 250, 0.65);
  margin: 0 0 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-content h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.0rem, 6vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
}
.hero-content h1.fade-in {
  animation: fadeInUp 1.2s ease forwards;
}

.hero-claim {
  font-family: var(--ff-accent);
  font-weight: 400;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(254, 249, 250, 0.72);
  margin: 0.5rem 0 0;
  overflow: hidden;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}


/* =========================================
   VERLEIH WRAPPER – max-width Container
   ========================================= */
.vl-wrapper {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}


/* =========================================
   INTRO-SEKTION
   ========================================= */
.vl-intro {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vl-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.vl-intro__text h2 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.vl-intro__eyebrow {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.vl-intro__text p {
  color: rgba(254, 249, 250, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
}

.vl-intro__image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.vl-intro__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vl-intro__image:hover img {
  transform: scale(1.025);
}


/* =========================================
   SO FUNKTIONIERT'S – 3 Schritte
   ========================================= */
.vl-steps {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vl-steps__heading {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-warm);
  text-align: center;
  margin: 0 0 2.5rem;
}

.vl-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.vl-step {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  counter-increment: step;

  /* Scroll-Reveal */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.vl-step.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Nummer-Badge */
.vl-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.vl-step h3 {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.vl-step p {
  color: rgba(254, 249, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}


/* =========================================
   DIVIDER – Gradient-Linie (wie Foto/Video)
   ========================================= */
.vl-divider {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 15%,
    var(--accent) 50%,
    rgba(255, 255, 255, 0.08) 85%,
    transparent 100%
  );
  padding: 0;
}


/* =========================================
   TRENNER (Überschrift über Equipment)
   ========================================= */
.vl-trenner {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem clamp(2rem, 4vw, 3rem);
}

.vl-trenner__title {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 5.5vw, 2.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: clamp(0.04em, 1.2vw, 0.35em);
  color: var(--text-warm);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.vl-trenner__sub {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: clamp(0.65rem, 1.5vw, 0.84rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tone-4);
  margin: 0;
}


/* =========================================
   EQUIPMENT-GRID
   ========================================= */
.vl-equipment {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.vl-equipment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Einzelne Equipment-Karte */
.vl-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

  /* Scroll-Reveal */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.vl-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.vl-card:hover {
  border-color: rgba(166, 111, 63, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Bild-Bereich */
.vl-card__image {
  position: relative;
  overflow: hidden;
  background: #0f0e0e;
}
.vl-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  padding: 1rem;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.vl-card:hover .vl-card__image img {
  transform: scale(1.04);
}

/* Preis-Badge oben links */
.vl-card__price {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(27, 25, 25, 0.88);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  z-index: 1;
}
.vl-card__price small {
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--tone-4);
}


/* =========================================
   PRODUKT-KARUSSELL (innerhalb vl-card)
   Erstellt mit Unterstützung von Claude (Anthropic).
   ========================================= */
.vl-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vl-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}

.vl-carousel__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  padding: 1rem;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.vl-carousel__track img:hover {
  transform: scale(1.04);
}

/* Pfeile – immer sichtbar, links/rechts */
.vl-carousel__prev,
.vl-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 25, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.vl-carousel__prev { left: 0.5rem; }
.vl-carousel__next { right: 0.5rem; }

.vl-carousel__prev:hover,
.vl-carousel__prev:focus-visible,
.vl-carousel__next:hover,
.vl-carousel__next:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
}

/* Dots – zentriert am unteren Rand */
.vl-carousel__dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.vl-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vl-carousel__dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.vl-carousel__dot:hover {
  border-color: var(--accent);
}

/* Einzelbild (ohne Karussell) – Hover-Scale bleibt */

/* Text-Bereich */
.vl-card__body {
  padding: 1.25rem;
}

.vl-card__category {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tone-4);
  margin: 0 0 0.4rem;
}

.vl-card__name {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.vl-card__desc {
  color: rgba(254, 249, 250, 0.62);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Kaution-Hinweis (optional pro Karte) */
.vl-card__deposit {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tone-4);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(179, 138, 97, 0.25);
  border-radius: 4px;
}


/* =========================================
   CTA – Weiteres Equipment / Anfrage
   ========================================= */
.vl-cta {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background:
    linear-gradient(rgba(27, 25, 25, 0.85), rgba(27, 25, 25, 0.85)),
    url("../img/Videoproduktion_Banner.png") center / cover no-repeat;
}

.vl-cta__headline {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 5.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: clamp(0.04em, 1.2vw, 0.35em);
  text-transform: uppercase;
  color: var(--text-warm);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.vl-cta__text {
  color: rgba(254, 249, 250, 0.62);
  font-size: 0.95rem;
  line-height: 1.72;
  max-width: 32rem;
  margin: 0 auto 2rem;
}


/* =========================================
   HINWEIS-BOX (Kaution / Mietbedingungen)
   ========================================= */
.vl-notice {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 2rem 1.25rem 3rem;
}

.vl-notice__box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.vl-notice__title {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.vl-notice__box p {
  color: rgba(254, 249, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0.4rem 0;
}

/* Download-Button innerhalb der Notice-Box */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.6rem 1.2rem;
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--accent);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-download:hover,
.btn-download:focus {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn-download svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}


/* =========================================
   WIDGET-CONTAINER (optional, falls
   externes Widget eingebettet werden soll)
   ========================================= */
.vl-widget {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 2rem 1.25rem 4rem;
}
.vl-widget iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  min-height: 600px;
}


/* =========================================
   LIGHTBOX – Vollbild-Galerie
   Erstellt mit Unterstützung von Claude (Anthropic).
   ========================================= */
.vl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 10, 10, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}
.vl-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

/* Schließen-Button */
.vl-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: rgba(254, 249, 250, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
  z-index: 3;
}
.vl-lightbox__close:hover,
.vl-lightbox__close:focus-visible {
  color: var(--text-warm);
}

/* Bild-Container */
.vl-lightbox__media {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vl-lightbox__media img {
  max-width: 100%;
  max-height: 88vh;
  display: block;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pfeile in der Lightbox */
.vl-lightbox__prev,
.vl-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 25, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
/* Sicherheitsabstand zu den Bildrändern */
.vl-lightbox__prev { left: -4rem; }
.vl-lightbox__next { right: -4rem; }

.vl-lightbox__prev:hover,
.vl-lightbox__prev:focus-visible,
.vl-lightbox__next:hover,
.vl-lightbox__next:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
}

/* Dots in der Lightbox */
.vl-lightbox__dots {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.vl-lightbox__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.vl-lightbox__dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Bildzähler */
.vl-lightbox__counter {
  position: absolute;
  bottom: -2rem;
  right: 0;
  font-family: var(--ff-base);
  font-size: 0.75rem;
  color: rgba(254, 249, 250, 0.4);
  letter-spacing: 0.06em;
}

/* Pfeile ausblenden bei Einzelbild */
.vl-lightbox--single .vl-lightbox__prev,
.vl-lightbox--single .vl-lightbox__next,
.vl-lightbox--single .vl-lightbox__dots,
.vl-lightbox--single .vl-lightbox__counter {
  display: none;
}

/* Mobil: Pfeile näher ans Bild */
@media (max-width: 900px) {
  .vl-lightbox__prev { left: 0.5rem; }
  .vl-lightbox__next { right: 0.5rem; }
  .vl-lightbox__prev,
  .vl-lightbox__next {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.1rem;
    background: rgba(27, 25, 25, 0.8);
  }
}


/* =========================================
   FAB – Nach oben
   ========================================= */
.vl-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-family: var(--ff-base);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease,
              background 0.2s ease, color 0.2s ease;
}
.vl-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.vl-fab:hover,
.vl-fab:focus-visible {
  background: var(--accent);
  color: var(--bg-deep);
}


/* =========================================
   RESPONSIVE – Tablet ≥ 640px
   ========================================= */
@media (min-width: 640px) {
  .vl-wrapper {
    padding-inline: 1.5rem;
  }

  .vl-intro__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .vl-steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .vl-equipment__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}


/* =========================================
   RESPONSIVE – Desktop ≥ 900px
   ========================================= */
@media (min-width: 900px) {
  .vl-wrapper {
    padding-inline: 2rem;
  }

  .vl-intro__inner {
    gap: 4rem;
  }

  .vl-steps__grid {
    gap: 2rem;
  }

  .vl-equipment__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}


/* =========================================
   RESPONSIVE – Kleines Mobil ≤ 420px
   ========================================= */
/* (420px hero-override entfernt – base clamp reicht) */

@media (max-width: 639px) {
  .hero-label {
    letter-spacing: 1em;
  }
}

@media (min-width: 911px) {
  .hero-label {
    letter-spacing: 1.2em;
  }
}

/* =========================================
   REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .hero-content h1 {
    opacity: 1 !important;
  }
  .vl-step,
  .vl-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
