/* =========================================
   STARTSEITE.CSS
   Seitenspezifische Styles – baut auf style.css auf.
   Aslan Filmwerkstatt – index.html
   ========================================= */

/* =========================================
   NAVBAR OVERRIDES FÜR STARTSEITE
   Größerer Home-Button + proportionaler Burger
   ========================================= */

header {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
/* Logo-Bild: größer als auf Unterseiten */
header .brand img {
  width: 68px;
  height: 68px;
}

/* Radiales Glühen um das runde Icon –
   weicher Übergang des Bildrahmens in die Navbar.
   Schattenfarbe #303030 für einen warmen, dezenten Glow. */
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(48, 48, 48, 0.7) 35%,
    rgba(48, 48, 48, 0.4) 55%,
    transparent 75%
  );
  z-index: -1;
  pointer-events: none;
}

/* Burger: höher skaliert, damit er zum größeren Logo passt */
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;
}

/* Nav-Padding etwas großzügiger für den Atemraum */
header nav {
  padding: 0.9rem 1.25rem;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

*,
*::before,
*::after {
  min-width: 0;
}

/* =========================================
   DESIGN-TOKENS OVERRIDE
   Vereinheitlicht Hintergrund identisch mit
   videoproduktion.css
   ========================================= */
:root {
  --bg: #1b1919;
  --bg-deep: #1b1919;

  /* Abstände */
  --banner-py: clamp(5rem, 10vw, 9rem);
  --section-py: clamp(3.5rem, 7vw, 7rem);
}

/* =========================================
   HERO
   ========================================= */
#hero.s-hero {
  position: relative;
  min-height: clamp(28rem, 58svh, 34rem);
  display: flex;
  align-items: flex-end;
  padding: 0 !important;
  overflow: hidden;
}

/* Hintergrundbild – ausgeblendet zugunsten des fixierten
   parallax-bg-layer im Body */
.s-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.s-hero .hero-bg img {
  visibility: hidden;
}

/* Dramatischer Verlauf über dem fixierten Bild */
.s-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 25, 25, 0.42) 0%,
    rgba(27, 25, 25, 0.3) 35%,
    rgba(27, 25, 25, 0.72) 72%,
    rgba(27, 25, 25, 1) 100%
  );
}

/* Inhalt */
#hero.s-hero .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 1.5rem clamp(4.1rem, 7vw, 5.2rem);
  transform: translateY(-1.1rem);
}

/* H1 Animation */
.s-hero h1 {
  opacity: 0;
  color: var(--text);
  font-family: var(--ff-head);
  font-size: clamp(1rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0.06em;
  margin: 0;
}

.s-hero h1.fade-in {
  animation: fadeSlideUp 1.5s ease forwards;
}

/* Hero-Label */
.s-hero .hero-label {
  font-family: var(--ff-accent);
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  color: var(--accent);
  margin: 0 0 0.35rem;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.2s forwards;
}

/* Untertitel */
.s-hero .hero-claim {
  font-family: var(--ff-accent);
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(254, 249, 250, 0.72);
  margin: 0.35rem 0 1.1rem;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.5s forwards;
}

/* Scroll-Indikator */
.hero-scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  opacity: 0.7;
}

.hero-scroll__line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(
    to bottom,
    rgba(254, 249, 250, 0) 0%,
    rgba(254, 249, 250, 0.5) 100%
  );
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* =========================================
   PERFORMANTER PARALLAX-HINTERGRUND
   ========================================= */
.parallax-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../img/Beleuchtung_Hintergrund.jpg") center / cover no-repeat;
  will-change: transform;
  transform: translateZ(0);
}

/* =========================================
   PARALLAX-BANNER
   ========================================= */
.parallax-banner {
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(27, 25, 25, 1) 0%,
    rgba(27, 25, 25, 0) 20%,
    rgba(27, 25, 25, 0) 80%,
    rgba(27, 25, 25, 1) 100%
  );
  min-height: 22rem;
  padding: var(--banner-py) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.banner-kicker {
  font-family: var(--ff-head);
  font-size: clamp(1rem, 6vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.banner-sub {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: clamp(0.72rem, 2.2vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(254, 249, 250, 0.62);
  margin: 0 0 0.5rem;
}

/* =========================================
   GEMEINSAME CONTENT-SEKTION-BASIS
   ========================================= */
.s-content {
  position: relative;
  padding: var(--section-py) 1.5rem !important;
  background: var(--bg-deep);
}

.s-content__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--maxw);
  margin-inline: auto;
  align-items: center;
}

/* Bild in Content-Section */
.content-image {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-image:hover img {
  transform: scale(1.025);
}

/* Eyebrow-Label */
.content-eyebrow {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* Content-Text */
.content-text h2 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.content-text p {
  color: rgba(254, 249, 250, 0.78);
  font-size: 0.97rem;
  line-height: 1.7;
}

.content-text .btn-cta {
  margin-top: 1.25rem;
}

/* Spezifische Hintergrundbilder mit Overlay */
.s-fotografie {
  background:
    linear-gradient(rgba(27, 25, 25, 0.82), rgba(27, 25, 25, 0.82)),
    url("../img/Startseite_Hintergrund-Fotografie.jpg") center/cover no-repeat;
}

/* HINTERGRUNDBILD: Startseite_Hintergrund-Gestaltung.png
   Format: Querformat, ca. 1920×1080 px.
   Motiv-Empfehlung: Draufsicht auf einen Arbeitstisch mit
   Druckproben, Farbfächern und Laptop. Warm-dunkle Töne. */
.s-gestaltung {
  background:
    linear-gradient(rgba(27, 25, 25, 0.8), rgba(27, 25, 25, 0.8)),
    url("../img/Startseite_Hintergrund-Gestaltung.jpg") center/cover no-repeat;
}

.s-verleih {
  background:
    linear-gradient(rgba(27, 25, 25, 0.78), rgba(27, 25, 25, 0.78)),
    url("../img/Startseite_Hintergrund-Verleih.jpg") center/cover no-repeat;
}

/* =========================================
   SEKTION: WILLKOMMEN
   ========================================= */
.s-willkommen {
  position: relative;
  padding: var(--section-py) 1.5rem !important;
  background:
    linear-gradient(rgba(27, 25, 25, 0.8), rgba(27, 25, 25, 0.8)),
    url("../img/Startseite_Hintergrund-Willkommen.jpg") center/cover no-repeat;
}

.s-willkommen__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--maxw);
  margin-inline: auto;
  align-items: start;
}

/* Linke Bildsäule */
.willkommen-media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

/* Collage */
.willkommen-collage {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.willkommen-collage img {
  width: 100%;
  height: auto;
  display: block;
}

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

.willkommen-text p {
  color: rgba(254, 249, 250, 0.8);
  font-size: 0.97rem;
  line-height: 1.75;
}

.willkommen-text .btn-cta {
  margin-top: 1.25rem;
}

/* =========================================
   FILMSTREIFEN (3 Portraits)
   ========================================= */
.filmstrip {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.filmstrip__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #000;
  padding: 0.28rem 0;
  position: relative;
}

/* Perforation oben und unten */
.filmstrip__track::before,
.filmstrip__track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.28rem;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 0.35rem,
    rgba(255, 255, 255, 0.18) 0.35rem,
    rgba(255, 255, 255, 0.18) 0.7rem
  );
}

.filmstrip__track::before {
  top: 0;
}
.filmstrip__track::after {
  bottom: 0;
}

.filmstrip__frame {
  margin: 0;
  padding: 0.16rem;
}

.filmstrip__frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.4s ease;
}

.filmstrip__frame:hover img {
  filter: grayscale(30%) contrast(1.05);
}

/* =========================================
   VERLEIH SPEZIFISCH
   ========================================= */
.equipment-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
}

.equipment-trio figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.equipment-trio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.equipment-trio figure:hover img {
  transform: scale(1.04);
}

/* =========================================
   SEKTION: KONTAKT
   ========================================= */
.s-kontakt {
  position: relative;
  padding: var(--section-py) 1.5rem !important;
  background:
    linear-gradient(rgba(27, 25, 25, 0.76), rgba(27, 25, 25, 0.76)),
    url("../img/Startseite_Hintergrund-Kontakt.jpg") center/cover no-repeat;
}

.s-kontakt__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: var(--maxw);
  margin-inline: auto;
}

.kontakt-address {
  text-align: left !important;
}

.kontakt-address h2#kontakt-heading {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1.25rem;
  color: var(--text);
  text-align: left !important;
  margin-inline: 0;
}

.kontakt-address address p {
  color: rgba(254, 249, 250, 0.72);
  line-height: 1.8;
  margin: 0.5rem 0;
}

.kontakt-address a {
  color: var(--accent);
}

.kontakt-address a:hover {
  color: var(--accent-2);
}

/* Button volle Breite auf mobil */
.btn-cta--full {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

/* =========================================
   SCROLL REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal--delay {
  transition-delay: 0.15s;
}
.reveal--delay2 {
  transition-delay: 0.28s;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   FAB – Nach oben
   ========================================= */
.gs-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;
}

.gs-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gs-fab:hover,
.gs-fab:focus-visible {
  background: var(--accent);
  color: var(--bg-deep);
}

/* =========================================
   RESPONSIVE – Tablet ≥ 640 px
   ========================================= */
@media (min-width: 640px) {
  .s-willkommen__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: var(--maxw);
    align-items: center;
  }

  .willkommen-media {
    gap: 0.9rem;
    width: 100%;
  }

  .willkommen-collage,
  .filmstrip {
    width: 100%;
    max-width: none;
  }

  .willkommen-text {
    width: 100%;
    align-self: center;
  }

  .s-content__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  /* Verleih: Text links, Bild rechts */
  .s-content__inner--reverse .content-text {
    order: 1;
  }
  .s-content__inner--reverse .content-image {
    order: 2;
  }

  .s-kontakt__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

/* =========================================
   RESPONSIVE – Desktop ≥ 900 px
   ========================================= */
@media (min-width: 900px) {
  .s-willkommen__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--maxw);
    align-items: center;
  }

  .willkommen-media {
    gap: 1rem;
    width: 100%;
  }

  .willkommen-collage,
  .filmstrip {
    width: 100%;
    max-width: none;
  }

  .willkommen-text {
    width: 100%;
    align-self: center;
  }

  .s-content__inner {
    gap: 4rem;
  }

  .equipment-trio {
    gap: 1.25rem;
  }
}

/* =========================================
   REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }

  .s-hero h1,
  .hero-label,
  .hero-claim {
    opacity: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-scroll {
    display: none;
  }
}
