/* =========================================
   GESTALTUNG.CSS
   Seitenspezifische Styles – baut auf style.css auf.
   Aslan Filmwerkstatt – gestaltung.html

   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
   ========================================= */

header {
  background: #1f1a17 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
header .brand img {
  width: 68px;
  height: 68px;
}
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;
}
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
   Konsistent mit Fotografie / Videoproduktion
   ========================================= */
.hero-sub {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  display: block !important;
  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.58) 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.885em;
  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); }
}


/* =========================================
   SEKTIONS-BASIS
   ========================================= */
.gs-section {
  position: relative;
  background: var(--bg);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gs-section.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================
   GS-WRAPPER
   ========================================= */
.gs-wrapper {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}


/* =========================================
   DIVIDER
   ========================================= */
.gs-divider {
  width: 100%;
  max-width: var(--maxw);
  margin: 2rem 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%
  );
}


/* =========================================
   PARALLAX-DIVIDER
   ========================================= */
.gs-parallax-divider {
  position: relative;
  min-height: clamp(12rem, 28vw, 22rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.gs-parallax-divider__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.gs-parallax-divider__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 25, 25, 0.92) 0%,
    rgba(27, 25, 25, 0.55) 40%,
    rgba(27, 25, 25, 0.55) 60%,
    rgba(27, 25, 25, 0.92) 100%
  );
}
.gs-parallax-divider__inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}
.gs-parallax-divider__title {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 7vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: clamp(0.08em, 1.5vw, 0.35em);
  color: var(--text);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.gs-parallax-divider__sub {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 249, 250, 0.55);
  margin: 0;
}
@supports (-webkit-touch-callout: none) {
  .gs-parallax-divider__bg {
    background-attachment: scroll;
  }
}


/* =========================================
   TRENNER
   ========================================= */
.gs-trenner {
  text-align: center;
  padding: 3.5rem 1.25rem 2rem;
}
.trenner-titel {
  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;
}
.trenner-sub {
  font-family: var(--ff-base);
  font-weight: 300;
  font-size: clamp(0.68rem, 1.5vw, 0.84rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tone-4);
  margin: 0;
}


/* =========================================
   EYEBROW
   ========================================= */
.gs-eyebrow {
  display: block;
  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.6rem;
}


/* =========================================
   INTRO
   ========================================= */
.gs-intro {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.gs-intro h2 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.gs-intro p {
  color: rgba(254, 249, 250, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
}
.gs-intro__accent {
  font-family: var(--ff-accent);
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  color: var(--accent);
  margin: 2rem 0 0;
  letter-spacing: 0.02em;
}


/* =========================================
   PROJEKT-KONTEXT
   ========================================= */
.gs-project {
  padding: 2.5rem 0 2rem;
}
.gs-project__desc {
  color: rgba(254, 249, 250, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 42rem;
}


/* =========================================
   FLASCHEN-GRID
   Drei separate Bilder (je 700×1400 px).
   Max-width begrenzt, damit sie auf Desktop
   nicht überdimensioniert wirken.
   ========================================= */
.gs-bottles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0;
  max-width: 42rem;
  margin-inline: auto;
}

.gs-bottle {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0f0e0e;
  position: relative;
  cursor: zoom-in;
  box-shadow:
    0 0 0 1px rgba(166, 111, 63, 0.10),
    0 8px 40px rgba(0, 0, 0, 0.45);
}

.gs-bottle img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gs-bottle:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.gs-bottle__label {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1rem 0.75rem 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 60%, transparent);
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254, 249, 250, 0.8);
  text-align: center;
}

.gs-bottles-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--tone-4);
  margin: 1.5rem 0;
  letter-spacing: 0.04em;
}


/* =========================================
   SHOWCASE-FRAMES
   ========================================= */
.gs-showcase {
  margin: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0f0e0e;
  box-shadow:
    0 0 0 1px rgba(166, 111, 63, 0.10),
    0 8px 40px rgba(0, 0, 0, 0.45);
}
.gs-showcase img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gs-showcase:hover img {
  transform: scale(1.015);
}
.gs-showcase--contain {
  display: flex;
  flex-direction: column;
}
.gs-showcase--contain img {
  object-fit: contain;
  background: #0f0e0e;
}
.gs-showcase--wide {
  width: 100%;
}
.gs-showcase--bordered {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141212;
}
.gs-showcase__caption {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--ff-base);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--tone-4);
}
.gs-showcase[data-lightbox]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}


/* =========================================
   FLYER-MORPH
   ========================================= */
.gs-flyer-morph {
  position: relative;
}
.gs-flyer-morph__before,
.gs-flyer-morph__after {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}
.gs-flyer-morph__after {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.gs-flyer-morph--revealed .gs-flyer-morph__after {
  opacity: 1;
}
.gs-flyer-morph:hover .gs-flyer-morph__after {
  transform: scale(1.015);
}


/* =========================================
   DUO-GRID
   ========================================= */
.gs-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0;
  margin-bottom: 3rem;
  align-items: start;
  max-width: 42rem;
  margin-inline: auto;
}


/* =========================================
   WEB-FEATURE – Text + Mockup
   Text oben, Mockup darunter volle Breite.
   Ab Desktop: Text links, Mockup volle Breite darunter.
   ========================================= */
.gs-web-feature {
  padding: 2.5rem 0 2rem;
}
.gs-web-feature__text {
  max-width: 42rem;
  margin-bottom: 0;
}
.gs-web-feature__title {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin: 0 0 0.75rem;
}
.gs-web-feature__text p {
  color: rgba(254, 249, 250, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}


/* =========================================
   DEVICE-MOCKUP
   Volle Breite, abgerundete Ecken,
   Bottom-Gradient blendet die helle Standfläche
   sanft in den dunklen Seitenhintergrund über.
   ========================================= */
.gs-mockup {
  margin: 0;
  padding: 1.5rem 0 2.5rem;
  max-width: var(--maxw);
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gs-mockup img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

/* Gradient-Overlay: blendet die untere Kante
   (weiße/helle Standfläche der Geräte) sanft
   in #1b1919 über. Stoppt bei ~30% Höhe,
   damit die Geräte selbst nicht verdunkelt werden. */
.gs-mockup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(27, 25, 25, 1) 0%,
    rgba(27, 25, 25, 0.85) 30%,
    rgba(27, 25, 25, 0) 100%
  );
  pointer-events: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.gs-mockup:hover img {
  transform: scale(1.01);
}


/* =========================================
   SUB-PROJECT
   ========================================= */
.gs-sub-project {
  padding: 2.5rem 0 3rem;
}
.gs-sub-project__meta {
  margin-bottom: 1.5rem;
}
.gs-sub-project__title {
  font-family: var(--ff-head);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.gs-sub-project__meta p {
  color: rgba(254, 249, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* =========================================
   SERVICES
   ========================================= */
.gs-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.gs-service-col h3 {
  font-family: var(--ff-head);
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin: 0 0 1rem;
}
.gs-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gs-service-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(254, 249, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.gs-service-list li:last-child {
  border-bottom: none;
}
.gs-service-list li::before {
  content: "—";
  color: var(--accent);
  margin-right: 0.6rem;
  font-weight: 700;
}
.gs-service-list li:hover {
  color: var(--text);
  padding-left: 0.3rem;
}


/* =========================================
   SERVICES NOTE
   ========================================= */
.gs-services-note {
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.025);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.gs-services-note p {
  color: rgba(254, 249, 250, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}


/* =========================================
   CTA
   ========================================= */
.gs-section--cta {
  background:
    linear-gradient(rgba(27, 25, 25, 0.88), rgba(27, 25, 25, 0.88)),
    url("../img/Printmedien_Banner.jpg") center / cover no-repeat;
  padding-top: 4rem !important;
  padding-bottom: 6rem !important;
}
.gs-cta {
  text-align: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.gs-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 1.1rem;
  line-height: 1.15;
}
.gs-cta__text {
  color: rgba(254, 249, 250, 0.62);
  font-size: 0.97rem;
  line-height: 1.72;
  max-width: 32rem;
  margin: 0 auto 2rem;
}


/* =========================================
   LIGHTBOX
   ========================================= */
.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;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  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: 1;
}
.lightbox__close:hover {
  color: var(--text-warm);
}
.lightbox__media-wrap {
  width: calc(100vw - 5rem);
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   FAB
   ========================================= */
.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 ≥ 640px
   ========================================= */
@media (min-width: 640px) {
  .gs-wrapper {
    padding-inline: 1.5rem;
  }
  .gs-duo {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .gs-services {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .gs-sub-project {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: start;
  }
}


/* =========================================
   RESPONSIVE – Desktop ≥ 900px
   ========================================= */
@media (min-width: 900px) {
  .gs-wrapper {
    padding-inline: 2rem;
  }
  .gs-intro {
    padding: clamp(4rem, 7vw, 5.5rem) 0;
  }
  .gs-duo {
    gap: 2rem;
  }
  .gs-trenner {
    padding: 4.5rem 1.25rem 2.5rem;
  }
  .gs-services {
    gap: 3rem;
  }
  .gs-parallax-divider {
    min-height: 20rem;
  }
}


/* =========================================
   RESPONSIVE – Kleines Mobil ≤ 420px
   ========================================= */
@media (max-width: 420px) {
  .gs-bottles {
    gap: 0.5rem;
  }
}


/* =========================================
   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;
  }
  .gs-section {
    opacity: 1 !important;
    transform: none !important;
  }
  .gs-flyer-morph__after {
    opacity: 1 !important;
  }
}



/* ---------------------------------------------------------
   HERO-LABEL – Desktop
   --------------------------------------------------------- */
@media (min-width: 911px) {
  .hero-label {
    letter-spacing: 1.475em;
  }
}
