/* ==========================================================================
   MARVIN DRECHSEL — PREMIUM PHOTOGRAPHER / VIDEOGRAPHER
   Cinematic Editorial Design System
   style.css — Complete Production Stylesheet
   ========================================================================== */

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   01. FONT-FACE DECLARATIONS
   02. CSS CUSTOM PROPERTIES
   03. BASE RESET & GLOBAL
   04. TYPOGRAPHY UTILITIES
   05. SELECTION & SCROLLBAR
   06. SPECIAL ELEMENTS (Overlay, Progress, Cursor, Grain)
   07. NAVIGATION
   08. HERO SECTION
   09. KEYFRAME ANIMATIONS
   10. CONTAINER & SECTION UTILITIES
   11. BUTTONS
   12. REVEAL ANIMATIONS
   13. SELECTED WORK SECTION
   14. ABOUT TEASER
   15. SERVICES PREVIEW
   16. TESTIMONIAL SECTION
   17. CTA SECTION
   18. FOOTER
   19. PORTFOLIO PAGE
   20. LIGHTBOX
   21. ABOUT PAGE
   22. SERVICES PAGE
   23. BEFORE-AFTER SLIDER
   24. CONTACT PAGE
   25. LEGAL PAGES
   26. UTILITY CLASSES
   27. RESPONSIVE BREAKPOINTS
   28. PREFERS-REDUCED-MOTION
   ========================================================================== */


/* ==========================================================================
   01. FONT-FACE DECLARATIONS
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-normal.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit.woff2') format('woff2');
  font-weight: 200 500;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   02. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Colors */
  --bg-cream: #FAF9F6;
  --bg-warm: #F3F0EB;
  --bg-dark: #171411;
  --bg-dark-accent: #1E1B17;
  --text-dark: #1A1714;
  --text-muted: #7A746D;
  --text-light: #FAF9F6;
  --text-light-muted: rgba(250, 249, 246, 0.5);
  --gold: #C2A472;
  --gold-hover: #A88B5A;
  --gold-light: rgba(194, 164, 114, 0.15);
  --border-light: #E6E2DC;
  --border-dark: rgba(250, 249, 246, 0.08);

  /* Shadows */
  --shadow: 0 20px 60px rgba(23, 20, 17, 0.08);
  --shadow-hover: 0 30px 80px rgba(23, 20, 17, 0.12);

  /* Spacing */
  --section-pad-y: clamp(80px, 12vw, 160px);
  --section-pad-x: clamp(20px, 5vw, 80px);
  --content-max: 1440px;
  --nav-h: 80px;

  /* Easing */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-cinema: cubic-bezier(0.77, 0, 0.175, 1);

  /* Durations */
  --duration-fast: 0.3s;
  --duration-medium: 0.6s;
  --duration-slow: 0.9s;
}


/* ==========================================================================
   03. BASE RESET & GLOBAL
   ========================================================================== */

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

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

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body {
    cursor: none;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
}

@media (min-width: 1024px) {
  button {
    cursor: none;
  }
}

input,
textarea,
select {
  font-family: inherit;
}


/* ==========================================================================
   04. TYPOGRAPHY UTILITIES
   ========================================================================== */

.text-link {
  color: var(--gold);
  transition: color var(--duration-fast);
}

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

.divider-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}


/* ==========================================================================
   05. SELECTION & SCROLLBAR
   ========================================================================== */

::selection {
  background: var(--gold-light);
  color: var(--text-dark);
}

::-moz-selection {
  background: var(--gold-light);
  color: var(--text-dark);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-warm);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-hover);
}


/* ==========================================================================
   06. SPECIAL ELEMENTS
   ========================================================================== */

/* --- Page Load Overlay --- */
#page-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-dark);
  transform-origin: top;
  transition: transform 0.8s var(--ease-cinema) 0.3s;
}

#page-overlay.is-loaded {
  transform: translateY(-100%);
}

#page-overlay.is-removed {
  display: none;
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 999;
  background: transparent;
  pointer-events: none;
}

#scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--gold);
  opacity: 0.5;
  transition: width 0.1s linear;
}

/* --- Custom Cursor (Desktop Only) --- */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  transition: width 0.4s var(--ease-out),
              height 0.4s var(--ease-out),
              opacity 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

#cursor-ring::after {
  content: '';
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  white-space: nowrap;
}

/* Cursor hover state */
body.cursor--hover #cursor-dot {
  width: 4px;
  height: 4px;
}

body.cursor--hover #cursor-ring {
  width: 64px;
  height: 64px;
  opacity: 0.2;
}

/* Cursor gallery state */
body.cursor--gallery #cursor-ring {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

body.cursor--gallery #cursor-ring::after {
  content: 'VIEW';
  opacity: 1;
}

@media (max-width: 1023px) {
  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}

/* --- Film Grain Overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}


/* ==========================================================================
   07. NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.5s var(--ease-smooth),
              backdrop-filter 0.5s var(--ease-smooth),
              box-shadow 0.5s var(--ease-smooth);
}

.nav--scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light);
}

/* Subpage nav: solid from the start (no transparent → solid transition) */
.nav--subpage {
  background: rgba(250, 249, 246, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light);
}

.nav--subpage .nav__brand {
  color: var(--text-dark) !important;
}

.nav--subpage .nav__link {
  color: var(--text-dark) !important;
}

.nav--subpage .nav__line {
  background: var(--text-dark) !important;
}

/* Inner Layout */
.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav__brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.2em;
  color: var(--text-light);
  transition: color 0.5s var(--ease-smooth);
  text-transform: uppercase;
}

.nav--scrolled .nav__brand {
  color: var(--text-dark);
}

/* Desktop Links */
.nav__links {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

@media (max-width: 1023px) {
  .nav__links {
    display: none;
  }
}

.nav__link {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.6rem, 0.75vw, 0.72rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color 0.5s var(--ease-smooth);
  padding-bottom: 2px;
}

.nav--scrolled .nav__link {
  color: var(--text-dark);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* CTA link — always gold regardless of scroll state */
.nav__link--cta {
  color: var(--gold) !important;
}

/* Hamburger Toggle */
.nav__toggle {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
}

@media (max-width: 1023px) {
  .nav__toggle {
    display: flex;
  }
}

.nav__line {
  width: 100%;
  height: 1px;
  background: var(--text-light);
  transition: transform 0.4s var(--ease-out),
              opacity 0.4s var(--ease-out),
              background 0.5s var(--ease-smooth);
  display: block;
}

.nav--scrolled .nav__line {
  background: var(--text-dark);
}

/* Hamburger open state */
.nav-overlay--open .nav__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-overlay--open .nav__line:nth-child(2) {
  opacity: 0;
}

.nav-overlay--open .nav__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Fullscreen Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-cinema);
}

.nav-overlay--open {
  transform: translateY(0);
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.nav-overlay__link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: 0.08em;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out),
              color 0.3s var(--ease-out);
}

.nav-overlay--open .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for overlay links */
.nav-overlay--open .nav-overlay__link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay--open .nav-overlay__link:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay--open .nav-overlay__link:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay--open .nav-overlay__link:nth-child(4) { transition-delay: 0.4s; }
.nav-overlay--open .nav-overlay__link:nth-child(5) { transition-delay: 0.5s; }

.nav-overlay__link:hover {
  color: var(--gold);
}

.nav-overlay__social {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.nav-overlay__social a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  transition: color 0.3s var(--ease-out);
}

.nav-overlay__social a:hover {
  color: var(--gold);
}


/* ==========================================================================
   08. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

/* Hero Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}


/* Hero Overlay Gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(23, 20, 17, 0.35) 0%,
    rgba(23, 20, 17, 0.05) 35%,
    rgba(23, 20, 17, 0.15) 65%,
    rgba(23, 20, 17, 0.65) 100%
  );
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 0 var(--section-pad-x);
  width: 100%;
}

/* Hero Name — large cinematic type */
.hero__name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}

/* Individual letter spans animated by JS */
.hero__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

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

/* Hero Divider Line */
.hero__divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.hero__divider--visible {
  opacity: 1;
  transform: scaleX(1);
}

/* Hero Title */
.hero__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.hero__title--visible {
  opacity: 1;
}

/* Hero Subtitle */
.hero__subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.hero__subtitle--visible {
  opacity: 1;
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.hero__scroll--visible {
  opacity: 1;
}

.hero__scroll-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}


/* ==========================================================================
   09. KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.6);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ==========================================================================
   10. CONTAINER & SECTION UTILITIES
   ========================================================================== */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--warm {
  background: var(--bg-warm);
}

.section--cream {
  background: var(--bg-cream);
}

/* Section Label */
.section__label {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.6rem, 0.75vw, 0.7rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* Section Title */
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: inherit;
  margin-bottom: 24px;
}

/* Section Subtitle */
.section__subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}


/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.65rem, 0.8vw, 0.72rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .btn {
    cursor: none;
  }
}

/* Outline Button */
.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn--outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--outline:hover {
  color: var(--bg-dark);
}

.btn--outline:active {
  transform: scale(0.98);
}

/* Dark Outline Button */
.btn--dark {
  border: 1px solid var(--text-light);
  color: var(--text-light);
  background: transparent;
}

.btn--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn--dark:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn--dark:active {
  transform: scale(0.98);
}

/* Filled Button */
.btn--filled {
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
}

.btn--filled:hover {
  background: var(--gold-hover);
}

.btn--filled:active {
  transform: scale(0.98);
}


/* ==========================================================================
   12. REVEAL ANIMATIONS
   ========================================================================== */

/* Standard reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* Stagger children */
.reveal--stagger .reveal:nth-child(1)  { transition-delay: 0s;    }
.reveal--stagger .reveal:nth-child(2)  { transition-delay: 0.1s;  }
.reveal--stagger .reveal:nth-child(3)  { transition-delay: 0.2s;  }
.reveal--stagger .reveal:nth-child(4)  { transition-delay: 0.3s;  }
.reveal--stagger .reveal:nth-child(5)  { transition-delay: 0.4s;  }
.reveal--stagger .reveal:nth-child(6)  { transition-delay: 0.5s;  }

/* Image clip-path reveal */
.reveal-img {
  overflow: hidden;
  position: relative;
}

.reveal-img__inner {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-cinema),
              transform 1.2s var(--ease-cinema);
  transform: scale(1.15);
}

.reveal-img--visible .reveal-img__inner {
  clip-path: inset(0% 0 0 0);
  transform: scale(1);
}


/* ==========================================================================
   13. SELECTED WORK SECTION
   ========================================================================== */

.work-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--content-max);
  margin: 0 auto;
}

.work-section__header {
  margin-bottom: 60px;
}

.work-section__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Row 1: first item spans 2 cols */
.work-item:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
}

.work-item:nth-child(2) {
  margin-top: 40px;
  aspect-ratio: 3 / 2;
}

/* Row 2: equal items */
.work-item:nth-child(3),
.work-item:nth-child(4),
.work-item:nth-child(5) {
  aspect-ratio: 3 / 2;
}

/* Work Item */
.work-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}

@media (min-width: 1024px) {
  .work-item {
    cursor: none;
  }
}

/* Work Item Image */
.work-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92);
  transition: filter 0.6s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.work-item:hover .work-item__img {
  filter: saturate(1.05);
  transform: scale(1.04);
}

/* Work Item Overlay */
.work-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 20, 17, 0.7) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.work-item:hover .work-item__overlay {
  opacity: 1;
}

/* Work Item Category Label */
.work-item__category {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}

.work-item:hover .work-item__category {
  opacity: 1;
  transform: translateY(0);
}

/* Work Section Link */
.work-section__link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease-out);
}

.work-section__link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}

.work-section__link:hover::after {
  transform: translateX(4px);
}


/* ==========================================================================
   14. ABOUT TEASER
   ========================================================================== */

.about-teaser {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg-warm);
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Image Column */
.about-teaser__img-col {
  position: relative;
}

.about-teaser__img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  max-height: 650px;
}

.about-teaser__img-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.about-teaser__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: filter 0.6s var(--ease-out);
}

.about-teaser__img-wrap:hover .about-teaser__img {
  filter: saturate(1);
}

/* Content Column */
.about-teaser__content {
  padding-top: clamp(40px, 8vw, 80px);
}

.about-teaser__text {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-teaser__quote {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--text-dark);
  line-height: 1.6;
}

.about-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s var(--ease-out);
}

.about-teaser__link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}

.about-teaser__link:hover::after {
  transform: translateX(4px);
}


/* ==========================================================================
   15. SERVICES PREVIEW
   ========================================================================== */

.services-preview {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--content-max);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

/* Service Card */
.service-card {
  padding: 48px 40px;
  border: 1px solid var(--border-light);
  transition: border-color 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: block;
  position: relative;
  z-index: 1;
}

.service-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-card__desc {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.8;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   16. TESTIMONIAL SECTION
   ========================================================================== */

.testimonial-section {
  background: var(--bg-dark);
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
}

.testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial__quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.12;
  display: block;
  margin-bottom: -40px;
  user-select: none;
  -webkit-user-select: none;
}

.testimonial__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 40px;
}

.testimonial__author {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ==========================================================================
   17. CTA SECTION
   ========================================================================== */

.cta-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
  background: var(--bg-cream);
}

.cta-section__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.cta-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  line-height: 1.2;
  color: var(--text-dark);
}


/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--section-pad-y) var(--section-pad-x) 0;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

/* Footer Brand */
.footer__brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer__tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-light-muted);
  font-style: italic;
}

/* Footer Column Label */
.footer__col-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

/* Footer Links */
.footer__social-link,
.footer__nav-link {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 12px;
  transition: color 0.3s var(--ease-out);
}

.footer__social-link:hover,
.footer__nav-link:hover {
  color: var(--gold);
}

/* Footer Bottom Bar */
.footer__bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light-muted);
  letter-spacing: 0.05em;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light-muted);
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease-out);
}

.footer__legal-link:hover {
  color: var(--gold);
}


/* ==========================================================================
   19. PORTFOLIO PAGE
   ========================================================================== */

/* Page Hero (all inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 80px) var(--section-pad-x) 60px;
  text-align: center;
  background: var(--bg-cream);
}

.page-hero__label {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.6rem, 0.75vw, 0.7rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--text-dark);
  line-height: 1.1;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
  padding: 0 var(--section-pad-x);
}

/* Filter Tab */
.filter-tab {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 28px;
  position: relative;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
  background: none;
  border: none;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .filter-tab {
    cursor: none;
  }
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.filter-tab--active {
  color: var(--text-dark);
}

.filter-tab--active::after {
  width: 100%;
}

.filter-tab:hover {
  color: var(--text-dark);
}

/* Gallery Grid */
.gallery-grid {
  padding: 0 var(--section-pad-x) var(--section-pad-y);
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 12px;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 3 / 2;
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

@media (min-width: 1024px) {
  .gallery-item {
    cursor: none;
  }
}

.gallery-item.is-hidden {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
  display: none;
}

/* Every 4th item spans 2 columns */
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9);
  display: block;
  transition: filter 0.6s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.gallery-item:hover .gallery-item__img {
  filter: saturate(1);
  transform: scale(1.04);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 20, 17, 0.65) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-item__label {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   20. LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(23, 20, 17, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

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

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

/* Close Button */
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.3s var(--ease-out);
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  background: none;
  border: none;
  z-index: 1;
}

@media (min-width: 1024px) {
  .lightbox__close {
    cursor: none;
  }
}

.lightbox__close:hover {
  color: var(--gold);
}

/* Navigation Arrows */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
  font-size: 1.5rem;
  background: none;
  z-index: 1;
}

@media (min-width: 1024px) {
  .lightbox__nav {
    cursor: none;
  }
}

.lightbox__prev {
  left: 24px;
}

.lightbox__next {
  right: 24px;
}

.lightbox__nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Lightbox Info */
.lightbox__info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(400px, 90vw);
}

.lightbox__counter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-light-muted);
}

.lightbox__progress {
  width: 100%;
  height: 2px;
  background: var(--border-dark);
  position: relative;
  border-radius: 1px;
}

.lightbox__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
  border-radius: 1px;
}


/* ==========================================================================
   21. ABOUT PAGE
   ========================================================================== */

/* About Hero — Two Column Split */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: 0;
}

.about-hero__img-col {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  inset: 0;
  filter: saturate(0.9);
}

.about-hero__content {
  background: var(--bg-cream);
  padding: clamp(80px, 12vw, 160px) clamp(40px, 6vw, 100px);
  padding-top: calc(var(--nav-h) + 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Stats Section */
.stats-section {
  position: relative;
  /* Ersetze 'dein-bild.jpg' durch deinen echten Pfad */
  background-image: url('images/behind-the-scenes/1 (6).jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax-Effekt: Bild bleibt beim Scrollen stehen */
  padding: 100px 0; /* Mehr Platz oben/unten wirkt edler */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Das transparente Banner (Overlay) */
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Ein dunkler Verlauf wirkt oft schöner als ein flaches Grau */
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 2; /* Damit die Zahlen ÜBER dem Grau liegen */
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  color: #ffffff; /* Weißer Text für besseren Kontrast */
}

.stat-item__number {
  font-size: 3.5rem;
  color: #d4af37; /* Dein Gold-Ton */
  display: block;
  font-family: 'Playfair Display', serif; /* Falls du eine Serif-Schrift nutzt */
}

.stat-item__label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8); /* Leicht transparentes Weiß */
}

/* Die dunkle Schicht über dem Bild */
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 0.5 = 50% Transparenz. Höherer Wert = dunkler */
  z-index: 1;
}

/* Sorgt dafür, dass die Zahlen ÜBER dem Overlay liegen */
.stats-grid {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

/* Optional: Damit deine Zahlen (Gold?) auf dem Bild gut aussehen */
.stat-item__number {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  /* Falls du die goldene Farbe behalten willst, hier den Hex-Code lassen */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-item__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
  display: block;
}

/* Philosophy Section — full-bleed image with text overlay */
.philosophy-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.philosophy-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.philosophy-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.4);
}

.philosophy-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--section-pad-x);
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

.philosophy-section__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.5;
}

/* Behind the Scenes Gallery */
.bts-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: var(--content-max);
  margin: 0 auto;
}

.bts-gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bts-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: filter 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
  display: block;
}

.bts-gallery__item:hover img {
  filter: saturate(1);
  transform: scale(1.04);
}


/* ==========================================================================
   22. SERVICES PAGE
   ========================================================================== */

/* Service Block — alternating image/content layout */
.service-block {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 500px;
  max-width: var(--content-max);
  margin: 0 auto var(--section-pad-y);
  align-items: stretch;
}

.service-block__img-col {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.service-block__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9);
  transition: filter 0.6s var(--ease-out);
}

.service-block__img-col:hover .service-block__img {
  filter: saturate(1);
}

.service-block__content {
  padding: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-warm);
}

/* Alternate content background */
.service-block:nth-child(even) .service-block__content {
  background: var(--bg-cream);
}

.service-block__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.service-block__text {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Reverse layout */
.service-block--reverse {
  grid-template-columns: 45fr 55fr;
}

.service-block--reverse .service-block__img-col {
  order: 2;
}

.service-block--reverse .service-block__content {
  order: 1;
}


/* ==========================================================================
   23. BEFORE-AFTER SLIDER
   ========================================================================== */

.ba-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg-cream);
  text-align: center;
}

.ba-sliders {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px var(--section-pad-x);
}

/* BA Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 1024px) {
  .ba-slider {
    cursor: col-resize;
  }
}

.ba-slider__img-before,
.ba-slider__img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* After image — clipped to reveal from RIGHT side (left=before, right=after) */
.ba-slider__img-after {
  clip-path: inset(0 0 0 var(--ba-pos, 50%));
}

/* Divider Line */
.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  transform: translateX(-50%);
  width: 2px;
  background: var(--gold);
  z-index: 2;
  pointer-events: none;
}

/* Handle Circle */
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos, 50%);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(194, 164, 114, 0.3);
}

@media (min-width: 1024px) {
  .ba-slider__handle {
    cursor: col-resize;
  }
}

.ba-slider__handle::before {
  content: '‹';
  color: var(--bg-dark);
  font-size: 1.2rem;
  margin-right: 2px;
  line-height: 1;
}

.ba-slider__handle::after {
  content: '›';
  color: var(--bg-dark);
  font-size: 1.2rem;
  margin-left: 2px;
  line-height: 1;
}

/* Before / After Labels */
.ba-label {
  position: absolute;
  top: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: rgba(23, 20, 17, 0.6);
  padding: 6px 12px;
  z-index: 4;
  pointer-events: none;
}

.ba-label--before {
  left: 20px;
}

.ba-label--after {
  right: 20px;
}


/* ==========================================================================
   24. CONTACT PAGE
   ========================================================================== */

/* Contact Split Layout */
.contact-split {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 0;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x) var(--section-pad-y);
}

.contact-split__form-col {
  padding-right: clamp(40px, 5vw, 80px);
}

.contact-split__info-col {
  padding: 60px 0 0;
}

/* Form */
.contact-form {
  width: 100%;
}

/* Form Group */
.form-group {
  position: relative;
  margin-bottom: 40px;
}

/* Floating Label */
.form-group__label {
  position: absolute;
  bottom: 12px;
  left: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out),
              font-size 0.3s var(--ease-out),
              letter-spacing 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
  pointer-events: none;
}

.form-group--focused .form-group__label,
.form-group--filled .form-group__label {
  transform: translateY(-28px);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Input, Textarea, Select */
.form-group__input,
.form-group__textarea,
.form-group__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group--focused .form-group__input,
.form-group--focused .form-group__textarea,
.form-group--focused .form-group__select {
  border-bottom-color: var(--gold);
}

.form-group--valid .form-group__input,
.form-group--valid .form-group__textarea,
.form-group--valid .form-group__select {
  border-bottom-color: var(--gold);
}

/* Valid Checkmark */
.form-group__check {
  position: absolute;
  right: 0;
  bottom: 12px;
  opacity: 0;
  color: var(--gold);
  font-size: 1rem;
  transition: opacity 0.3s var(--ease-out);
}

.form-group--valid .form-group__check {
  opacity: 1;
}

/* Textarea */
.form-group__textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 16px;
}

/* Select */
.form-group__select {
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A746D' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

/* Contact Info Column */
.contact-info__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 32px;
  line-height: 1.3;
  color: var(--text-dark);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.contact-info__value {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info__note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}


/* ==========================================================================
   25. LEGAL PAGES
   ========================================================================== */

.legal-page {
  padding: calc(var(--nav-h) + 60px) var(--section-pad-x) var(--section-pad-y);
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  line-height: 1.1;
}

.legal-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin: 40px 0 16px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.legal-page p,
.legal-page li {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--gold);
  transition: text-decoration 0.2s;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}

.legal-page ul li {
  margin-bottom: 8px;
}


/* ==========================================================================
   26. UTILITY CLASSES
   ========================================================================== */

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gold accent text */
.text-gold {
  color: var(--gold);
}

/* Centered content */
.text-center {
  text-align: center;
}

/* Italic / serif emphasis */
.text-italic {
  font-style: italic;
}

/* Muted text */
.text-muted {
  color: var(--text-muted);
}

/* Small gap helper */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* Flex utilities */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Aspect ratios */
.ratio-square { aspect-ratio: 1 / 1; }
.ratio-video  { aspect-ratio: 16 / 9; }
.ratio-photo  { aspect-ratio: 4 / 3; }
.ratio-portrait { aspect-ratio: 3 / 4; }

/* Object fit */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   27. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- 1280px: Large screens --- */
@media (max-width: 1280px) {
  .work-grid {
    gap: 12px;
  }
}

/* --- 1023px: Tablet and below --- */
@media (max-width: 1023px) {
  /* About teaser */
  .about-teaser__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-teaser__content {
    padding-top: 0;
  }

  /* Service blocks */
  .service-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-block--reverse .service-block__img-col {
    order: 0;
  }

  .service-block--reverse .service-block__content {
    order: 1;
  }

  /* About hero */
  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-hero__img-col {
    min-height: 50vh;
  }

  .about-hero__content {
    padding-top: 60px;
  }

  /* Contact */
  .contact-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-split__form-col {
    padding-right: 0;
  }
}

/* --- 768px: Small tablet / large mobile --- */
@media (max-width: 768px) {
  /* Work grid */
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-item:nth-child(1) {
    grid-column: span 1;
    aspect-ratio: 3 / 2;
  }

  .work-item:nth-child(2) {
    margin-top: 0;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  /* BA Slider */
  .ba-slider {
    aspect-ratio: 1 / 1;
  }

  /* BTS Gallery */
  .bts-gallery {
    grid-template-columns: 1fr 1fr;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* --- 480px: Mobile --- */
@media (max-width: 480px) {
  /* Work grid */
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item:nth-child(1),
  .work-item:last-child,
  .work-item--wide {
    grid-column: span 1;
    aspect-ratio: 3 / 2;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer bottom */
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 3 / 2;
  }

  /* Hero name */
  .hero__name {
    letter-spacing: 0.06em;
  }

  /* Nav overlay social */
  .nav-overlay__social {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  /* Service card padding */
  .service-card {
  padding: 28px 26px;
}

  /* Lightbox nav */
  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  /* BA slider */
  .ba-slider {
    aspect-ratio: 4 / 3;
  }
}


/* ==========================================================================
   28. PREFERS-REDUCED-MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  /* Kill all transitions and animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep opacity transitions for show/hide states (accessibility) */
  .reveal,
  .reveal-img__inner,
  .hero__letter,
  .hero__divider,
  .hero__title,
  .hero__subtitle,
  .hero__scroll,
  .lightbox,
  .nav-overlay {
    transition: opacity 0.01ms !important;
    transform: none !important;
    clip-path: none !important;
  }

  /* Ensure visible states are actually visible */
  .reveal--visible {
    opacity: 1;
    transform: none;
  }

  .reveal-img--visible .reveal-img__inner {
    clip-path: none;
    transform: none;
  }

  .hero__letter--visible,
  .hero__divider--visible,
  .hero__title--visible,
  .hero__subtitle--visible,
  .hero__scroll--visible {
    opacity: 1;
    transform: none;
  }

  /* Disable Ken Burns */
  .hero__bg img {
    animation: none;
  }

  /* Disable scroll pulse */
  .hero__scroll-line {
    animation: none;
    opacity: 0.6;
  }

  /* Disable grain animation */
  .grain {
    opacity: 0.02;
  }
}

/* Disable parallax on tablets and below */
@media (max-width: 1023px) {
  [data-parallax] {
    transform: none !important;
  }
}

/* ==========================================================================
   HOME — SERVICES PREVIEW FIX
   ========================================================================== */

.services-preview {
  padding-top: clamp(72px, 9vw, 110px);
  padding-bottom: clamp(72px, 9vw, 110px);
}

.services-preview__header {
  text-align: center;
  margin-bottom: 28px !important;
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.service-card {
  min-height: 0;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--border-light);
  box-shadow: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__icon {
  margin-bottom: 18px;
  font-size: 1.5rem;
  line-height: 1;
}

.service-card__title {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.2;
}

.service-card__desc {
  line-height: 1.65;
  margin-bottom: 14px;
}

.services-preview__link {
  text-align: center;
  margin-top: 32px !important;
}

@media (max-width: 768px) {
  .services-preview__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 26px 22px;
  }

  .services-preview__link {
    margin-top: 24px !important;
  }
}

/* ==========================================================================
   GLOBAL SPACING FIX
   ========================================================================== */

:root {
  --section-pad-y: clamp(56px, 7vw, 96px);
}

/* Allgemeine Section-Abstände straffen */
.section,
.work-section,
.about-teaser,
.services-preview,
.testimonial-section,
.cta-section,
.ba-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* Überschriftenbereiche enger */
.work-section__header,
.section__subtitle,
.cta-section__title {
  margin-bottom: 28px;
}

/* ==========================================================================
   HOME — SELECTED WORK FIX NACH ENTFERNUNG DES 10. BILDES
   ========================================================================== */

/* Startseite: normales sauberes 3-Spalten-Grid ohne Sonderlogik */
.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.home-work-item {
  aspect-ratio: 4 / 3;
}

.home-work-item--last {
  grid-column: auto;
}

/* Falls auf der Startseite noch .work-grid / .work-item aktiv sind,
   überschreiben wir die alte Speziallogik sauber */
.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* ==========================================================================
   CLEAN WORK GRID (FIXED)
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.work-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 4 / 3;
}

/* ==========================================================================
   HOME — SERVICES PREVIEW KOMPAKTER
   ========================================================================== */

.services-preview {
  padding-top: clamp(56px, 7vw, 90px);
  padding-bottom: clamp(56px, 7vw, 90px);
}

.services-preview__header {
  text-align: center;
  margin-bottom: 24px !important;
}

.services-preview__grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.service-card {
  min-height: 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.56);
}

.service-card__icon {
  margin-bottom: 14px;
}

.service-card__title {
  margin-bottom: 8px;
  line-height: 1.2;
}

.service-card__desc {
  line-height: 1.6;
}

/* ==========================================================================
   HOME — CTA BLOCK STRAFFER
   ========================================================================== */

.cta-section {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.cta-section__eyebrow {
  margin-bottom: 10px;
}

.cta-section__title {
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-section .section__subtitle,
.cta-section p {
  margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER KOMPAKTER
   ========================================================================== */

.footer {
  padding-top: clamp(52px, 7vw, 80px);
}

.footer__inner {
  gap: 36px;
  padding-bottom: 36px;
}

.footer__bottom {
  padding: 18px 0;
}

/* ==========================================================================
   IMAGE BOTTOM STRIP FIX
   ========================================================================== */

.reveal-img {
  overflow: hidden;
}

.reveal-img__inner {
  display: block;
  width: 100%;
  height: 100%;
}

.reveal-img__inner > img,
.reveal-img__inner picture,
.reveal-img__inner picture > img,
.home-work-item img,
.gallery-item__img,
.about-gallery__item img,
.bts-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.home-work-item,
.gallery-item,
.about-gallery__item,
.bts-gallery__item {
  line-height: 0;
}

.home-work-item,
.gallery-item,
.about-gallery__item,
.bts-gallery__item,
.about-teaser__img-wrap,
.service-block__img-col {
  line-height: 0;
}

/* ==========================================================================
   ABOUT PAGE — CONTRAST & LAYOUT FIX
   ========================================================================== */

/* About teaser sauberer ausrichten */
.about-teaser__inner {
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.about-teaser__img-wrap {
  aspect-ratio: 4 / 5;
  max-height: none;
  line-height: normal;
}

.about-teaser__content {
  padding-top: 0;
}

.about-teaser__text {
  max-width: 64ch;
  line-height: 1.85;
}

/* Stats-Bereich: ruhiger, kontrastreicher, performanter */
.stats-section {
  position: relative;
  background-image: url('images/behind-the-scenes/1 (6).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: clamp(72px, 10vw, 120px) var(--section-pad-x);
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 12, 10, 0.58) 0%,
      rgba(15, 12, 10, 0.46) 45%,
      rgba(15, 12, 10, 0.62) 100%
    );
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  color: var(--text-light);
}

.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: #d2b27a;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.stat-item__label {
  display: block;
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.82);
}

/* Mobile */
@media (max-width: 900px) {
  .about-teaser__inner,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-teaser__img-wrap {
    max-width: 520px;
    margin: 0 auto;
  }

  .about-teaser__content {
    text-align: left;
  }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {
  .home-work-grid,
  .work-grid,
  .services-preview__grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 20px;
  }

  .section,
  .work-section,
  .about-teaser,
  .services-preview,
  .testimonial-section,
  .cta-section,
  .ba-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   PERFORMANCE PATCH — LOOK BEHALTEN, LAST SENKEN
   Ganz unten in style.css einfügen
   ========================================================================== */

/* 1) Scroll-Lock für nav/lightbox passend zur neuen main.js */
html.nav-open,
body.nav-open,
html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
}

/* 2) Custom Cursor komplett deaktivieren
   Die neue main.js schaltet ihn schon aus.
   Hier verhindern wir zusätzlich unnötiges Rendering/CSS-Kosten. */
@media (min-width: 1024px) {
  body {
    cursor: auto !important;
  }

  a,
  button,
  .gallery-item,
  .work-item,
  .filter-tab,
  .service-card,
  .lightbox__close,
  .lightbox__nav {
    cursor: pointer !important;
  }

  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
}

/* 3) Grain deutlich leichter
   Behalten den Charakter, aber ohne schweren Overlay-Look */
.grain {
  opacity: 0.014 !important;
  mix-blend-mode: normal !important;
}

/* Auf Mobil ganz aus */
@media (max-width: 1023px) {
  .grain {
    display: none !important;
  }
}

/* 4) Navigation leichter rendern
   Blur reduzieren, gleiche Premium-Anmutung behalten */
.nav {
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    color 0.35s var(--ease-smooth);
}

.nav--scrolled {
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav--subpage {
  background: rgba(250, 249, 246, 0.97) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Falls Blur auf schwächeren Browsern hakt */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .nav--scrolled,
  .nav--subpage {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(250, 249, 246, 0.98);
  }
}

/* 5) Hero-Video stabiler */
.hero__bg,
.hero__bg video,
.hero__bg img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero__bg video.hero-video {
  object-fit: cover;
}

/* 6) Reveal-Bilder leichter
   Weniger GPU-Last als das bisherige starke clip+scale-Verhalten */
.reveal-img {
  overflow: hidden;
}

.reveal-img__inner {
  width: 100%;
  height: 100%;
  clip-path: inset(12% 0 0 0);
  transform: translate3d(0, 18px, 0) scale(1.03);
  transition:
    clip-path 0.8s var(--ease-cinema),
    transform 0.8s var(--ease-cinema),
    opacity 0.5s var(--ease-out);
  will-change: auto;
}

.reveal-img--visible .reveal-img__inner {
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scale(1);
}

/* 7) Bilder allgemein stabiler rendern */
.home-work-item img,
.gallery-item__img,
.about-gallery__item img,
.bts-gallery__item img,
.about-teaser__img,
.service-block__img,
.about-hero__img {
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 8) Hover-Effekte minimal leichter, Look bleibt erhalten */
.home-work-item img,
.gallery-item__img,
.work-item__img,
.about-gallery__item img,
.bts-gallery__item img {
  transition:
    transform 0.45s var(--ease-out),
    filter 0.45s var(--ease-out);
}

.home-work-item:hover img,
.gallery-item:hover .gallery-item__img,
.work-item:hover .work-item__img,
.about-gallery__item:hover img,
.bts-gallery__item:hover img {
  transform: scale(1.02);
}

/* 9) Service Cards etwas günstiger */
.service-card {
  transition:
    border-color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(23, 20, 17, 0.08);
}

/* 10) Partnerlogos ruhiger */
.partner-card {
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out);
}

.partner-card:hover {
  transform: translateY(-2px);
}

/* 11) About / Stats performanter und konsistenter
   Überschreibt die ältere fixed-Version sauber */
.stats-section {
  position: relative;
  background-image: url('images/behind-the-scenes/1 (6).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll !important;
  padding: clamp(72px, 9vw, 116px) var(--section-pad-x);
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 15, 13, 0.60) 0%,
    rgba(18, 15, 13, 0.44) 48%,
    rgba(18, 15, 13, 0.60) 100%
  );
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  color: var(--text-light);
}

.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: #d2b27a;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.stat-item__label {
  display: block;
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.82);
}

/* 12) Inhalt unterhalb der Falz später rendern */
.work-section,
.about-teaser,
.services-preview,
.testimonial-section,
.cta-section,
.partners-section,
.footer,
.portfolio-shell,
.ba-section,
.about-story,
.about-gallery-section,
.about-values,
.contact-split,
.legal-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* 13) Skip-Link ausblenden, weil du ihn nicht willst */
.skip-link {
  display: none !important;
}

/* 14) Kleine Zusatzoptimierung für mobile */
@media (max-width: 767px) {
  .nav--scrolled,
  .nav--subpage {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .service-card:hover,
  .partner-card:hover,
  .home-work-item:hover img,
  .gallery-item:hover .gallery-item__img,
  .work-item:hover .work-item__img {
    transform: none;
    box-shadow: none;
  }
}

/* ==========================================================================
   CONTACT FORM FIX — NORMALE LABELS STATT FLOATING LABELS
   ========================================================================== */

.contact-form .form-group {
  position: static !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.contact-form .form-group__label {
  position: static !important;
  transform: none !important;
  left: auto !important;
  bottom: auto !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--text-dark) !important;
  pointer-events: auto !important;
}

.contact-form .form-group--focused .form-group__label,
.contact-form .form-group--filled .form-group__label,
.contact-form .form-group--valid .form-group__label {
  transform: none !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.14em !important;
  color: var(--text-dark) !important;
}

.contact-form .form-group__input,
.contact-form .form-group__textarea,
.contact-form .form-group__select {
  width: 100% !important;
  border: 1px solid var(--border-light) !important;
  border-bottom: 1px solid var(--border-light) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--text-dark) !important;
  padding: 15px 16px !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  outline: none !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.contact-form .form-group__input::placeholder,
.contact-form .form-group__textarea::placeholder {
  color: #948d85 !important;
  opacity: 1 !important;
}

.contact-form .form-group__textarea {
  min-height: 170px !important;
  resize: vertical !important;
}

.contact-form .form-group__input[type="date"] {
  min-height: 58px !important;
}

.contact-form .form-group__select {
  padding-right: 42px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}

.contact-form .form-group__check {
  display: none !important;
}

.about-contact-list {
  margin-top: 28px;
  display: grid;
  gap: 0;
}

.about-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.about-contact-item__icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(194, 164, 114, 0.35);
  background: rgba(194, 164, 114, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: var(--gold);
}

.about-contact-item__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-contact-item__body {
  min-width: 0;
}

.about-contact-item__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

.about-contact-item__value,
.about-contact-item__value a {
  color: var(--text-dark);
  line-height: 1.65;
  word-break: break-word;
  transition: color var(--duration-fast);
}

.about-contact-item__value a:hover {
  color: var(--gold);
}

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}


.hero__overlay,
.hero__content,
.hero__scroll {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   END OF STYLESHEET
   Marvin Drechsel — Cinematic Editorial
   ========================================================================== */


