@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

/* ========================================
   WAGENEFFEKT – Dark Theme Styles
   ======================================== */

/* --- CSS Custom Properties / Theme --- */
:root {
  --color-bg: #1a1a1a;
  --color-bg-alt: #222;
  --color-anthracite: #2d2d2d;
  --color-anthracite-light: #3a3a3a;
  --color-accent: #AB273C;
  --color-accent-hover: #c42e46;
  --color-text: #e0e0e0;
  --color-text-dim: #999;
  --color-overlay: rgba(0, 0, 0, 0.6);

  --font-primary: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --transition-default: 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  --transition-smooth: 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  --transition-snappy: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-curtain: 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

/* Auf Content-Seiten (ohne Slideshow) normal scrollbar */
body.content-page-layout {
  overflow-y: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Auf der Startseite (mit Slideshow) normal scrollen */
body.home-page-layout {
  overflow-y: auto;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-default);
}

a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   VERTIKAL-SLIDESHOW CONTAINER
   ======================================== */
.slideshow-container {
  width: 100%;
  scroll-snap-type: y mandatory;
}

.slides-wrapper {
  width: 100%;
}

/* Jede Slide = 100vh */
.slide {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Fortschrittslinie – linker Rand (stufenlos) */
.slide-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(to bottom, var(--color-accent), #ff6b6b);
  z-index: 200;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(212, 32, 32, 0.5);
}

/* ========================================
   SLIDE 1 – COMING SOON / HERO
   ======================================== */
.hero-slide {
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  filter: brightness(0.45) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(26, 26, 26, 0.3) 0%,
      rgba(26, 26, 26, 0.7) 50%,
      var(--color-bg) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}

/* Branding / Logo Text – Chrome/Metallic-Effekt */
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  overflow: hidden;
  /* Chrome/Metallic Gradient */
  background: linear-gradient(180deg,
      #e8e8e8 0%,
      #ffffff 15%,
      #a0a0a0 30%,
      #e0e0e0 45%,
      #ffffff 55%,
      #808080 70%,
      #c0c0c0 85%,
      #e0e0e0 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: chromeShine 6s ease-in-out infinite;
}

@keyframes chromeShine {

  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 0% 100%;
  }
}

.brand-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Coming Soon Badge */
.coming-badge {
  display: inline-block;
  padding: 0.6rem 2.5rem;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3rem;
  position: relative;
  background: transparent;
  transition: all var(--transition-default);
}

.coming-badge::before,
.coming-badge::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--color-accent);
  top: 50%;
  transform: translateY(-50%);
}

.coming-badge::before {
  left: -8px;
}

.coming-badge::after {
  right: -8px;
}

/* Divider-Linie */
.divider {
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Teaser-Text */
.hero-text {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: #ffffff;
  max-width: 650px;
  margin: 0 0 0 auto;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.55;
}

/* ========================================
   VIDEO OVERLAY – VERSTÄRKTER SCHLEIER
   ======================================== */
.hero-video-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg,
      rgba(26, 26, 26, 0.75) 0%,
      rgba(26, 26, 26, 0.45) 25%,
      rgba(26, 26, 26, 0.3) 50%,
      rgba(26, 26, 26, 0.5) 75%,
      rgba(26, 26, 26, 0.8) 100%);
  mix-blend-mode: multiply;
}

/* ========================================
   RAUTEN-ABSCHLUSS AM UNTEREN VIDEO-ENDE
   ======================================== */
.hero-slide::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
  background: var(--color-bg);
  clip-path: polygon(0% 100%,
      25% 0%,
      50% 100%,
      75% 0%,
      100% 100%);
}

/* ========================================
   VIDEO OVERLAY – GEOMETRIC DIAMONDS
   ======================================== */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Basis-Raute */
.hero-video-overlay .diamond {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(171, 39, 60, 0.25);
  transform: rotate(45deg) scale(0);
  opacity: 0;
  animation: diamondAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Gefüllte Variante */
.hero-video-overlay .diamond-filled {
  border: none;
  background: rgba(171, 39, 60, 0.08);
  box-shadow: 0 0 30px rgba(171, 39, 60, 0.05), inset 0 0 30px rgba(171, 39, 60, 0.03);
}

/* Schwebende Animation für jede Raute */
.hero-video-overlay .diamond-float {
  animation: diamondAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    diamondFloat 6s ease-in-out infinite;
}

.hero-video-overlay .diamond-float:nth-child(2n) {
  animation-duration: 1.2s, 7s;
  animation-delay: 0.3s, 0.3s;
}

.hero-video-overlay .diamond-float:nth-child(3n) {
  animation-duration: 1.2s, 5s;
  animation-delay: 0.6s, 0.6s;
}

.hero-video-overlay .diamond-float:nth-child(4n) {
  animation-duration: 1.2s, 8s;
  animation-delay: 0.9s, 0.9s;
}

.hero-video-overlay .diamond-float:nth-child(5n) {
  animation-duration: 1.2s, 6.5s;
  animation-delay: 1.2s, 1.2s;
}

@keyframes diamondAppear {
  0% {
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

@keyframes diamondFloat {

  0%,
  100% {
    transform: rotate(45deg) scale(1) translateY(0);
  }

  25% {
    transform: rotate(45deg) scale(1.05) translateY(-8px);
  }

  50% {
    transform: rotate(45deg) scale(1) translateY(0);
  }

  75% {
    transform: rotate(45deg) scale(0.95) translateY(6px);
  }
}

/* Parallelogramm-Variante (gestreckte Raute) */
.hero-video-overlay .parallelogram {
  position: absolute;
  width: 100px;
  height: 60px;
  border: 2px solid rgba(171, 39, 60, 0.2);
  transform: skewX(-20deg) scale(0);
  opacity: 0;
  animation: paraAppear 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-video-overlay .parallelogram-filled {
  border: none;
  background: rgba(171, 39, 60, 0.06);
}

.hero-video-overlay .parallelogram-float {
  animation: paraAppear 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    paraFloat 5s ease-in-out infinite;
}

.hero-video-overlay .parallelogram-float:nth-child(2n) {
  animation-duration: 1.4s, 6s;
  animation-delay: 0.4s, 0.4s;
}

.hero-video-overlay .parallelogram-float:nth-child(3n) {
  animation-duration: 1.4s, 4.5s;
  animation-delay: 0.8s, 0.8s;
}

@keyframes paraAppear {
  0% {
    transform: skewX(-20deg) scale(0);
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    transform: skewX(-20deg) scale(1);
    opacity: 1;
  }
}

@keyframes paraFloat {

  0%,
  100% {
    transform: skewX(-20deg) scale(1) translateY(0);
  }

  33% {
    transform: skewX(-20deg) scale(1.03) translateY(-10px);
  }

  66% {
    transform: skewX(-20deg) scale(0.97) translateY(5px);
  }
}

/* ========================================
   SLIDE 2 – SERVICE SEKTION
   ======================================== */
.service-slide {
  position: relative;
  background: var(--color-bg);
  display: flex;
  align-items: flex-end;
  /* Inhalt am unteren Rand der Slide ausrichten */
  justify-content: center;
  padding: 0;
}

/* Bild füllt die gesamte Slide aus */
.service-image-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  /* Schiebt das Motiv nach unten, um mehr vom oberen Bildbereich zu zeigen */
  filter: brightness(0.95) contrast(1.05);
  /* Helleres Bild auf Desktop */
  transform: scale(1.00);
  transition: transform 12s cubic-bezier(0.1, 1, 0.1, 1);
}

.service-slide.active .service-bg-img {
  transform: scale(1.08);
  /* Sanfter Ken Burns Zoom-In */
}

/* Weicher Verlauf oben und unten in die Hintergrundfarbe */
.service-image-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--color-bg) 0%,
      rgba(26, 26, 26, 0.05) 20%,
      rgba(26, 26, 26, 0.05) 55%,
      rgba(26, 26, 26, 0.85) 80%,
      var(--color-bg) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Platzhalter-Hintergrund */
.service-placeholder-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #181818 0%, #0c0c0c 100%);
}

.service-placeholder-bg .placeholder-car-icon {
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.25;
  animation: pulseGhost 3s infinite ease-in-out;
}

.service-content-overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  padding: 4rem 2rem 3.5rem 2rem;
  /* Unteres Padding verringert, um den Text tiefer zu setzen */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.service-divider {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  margin-bottom: 2rem;
  box-shadow: 0 0 10px var(--color-accent);
}

.service-description {
  color: var(--color-text);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.8;
  font-weight: 300;
  white-space: pre-line;
  text-align: center;
  max-width: 850px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
  .service-slide {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
  }

  .service-content-overlay {
    padding: 5rem 1.25rem 4rem 1.25rem;
  }
}

@keyframes pulseGhost {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.35;
    transform: scale(1.05);
  }
}

/* ========================================
   NAVIGATION DOTS (rechts)
   ======================================== */
.nav-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-text-dim);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-default);
  padding: 0;
  outline: none;
}

.nav-dot:hover {
  border-color: var(--color-accent);
}

.nav-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(212, 32, 32, 0.4);
}

/* ========================================
   SCROLL-HINWEIS (unten)
   ======================================== */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: fadeInOut 2.5s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scroll-hint.hidden {
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.scroll-hint i {
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ========================================
   SLIDE-ANIMATIONEN – Premium Stagger
   ======================================== */

/* Standard: Container unsichtbar, leicht skaliert */
.slide .hero-content,
.slide .info-content {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.6s ease;
}

/* Sichtbar wenn Slide aktiv ist */
.slide.active .hero-content,
.slide.active .info-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Brand-Name: etwas längere Transition für mehr Impact */
.slide .brand-name,
.slide.active .brand-name {
  transition-duration: 0.4s;
}

/* ========================================
   GEOMETRIC HEADER / INTRO
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 520px;
  height: 120px;
  /* Kleinerer Header für edles, modernes Aussehen */
  background: var(--color-bg-alt);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  opacity: 0;
  transform: translate(-50%, -120%) scale(0.9);
  /* Startet oberhalb, leicht verkleinert */
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease, height 0.6s ease, width 0.6s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Header einblenden – fällt von oben ein mit Überschwung */
.site-header.visible-header {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: all;
}

/* Verkleinerter Header beim Scrollen (nur auf der Startseite) */
.site-header.scrolled {
  width: 400px;
  height: 60px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, 0) scale(1);
}

.site-header.scrolled .header-logo-img {
  height: 28px;
}

.site-header.scrolled .logo-underline {
  bottom: -2px;
}

.site-header.scrolled.visible-underline .logo-underline {
  width: 80px;
}

/* ========================================
   INTRO – SHOWROOM-SPLIT (PREMIUM REVEAL)
   ======================================== */
.intro-curtains {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  pointer-events: all;
  display: block;
}

/* Vorhang-Paneele (Links & Rechts) */
.intro-panel-left,
.intro-panel-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%; /* Leicht überlappend gegen Spaltenbildung in der Mitte */
  background: #0f0f0f;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  z-index: 10001;
}

.intro-panel-left {
  left: 0;
  transform-origin: left center;
}

.intro-panel-right {
  right: 0;
  transform-origin: right center;
}

/* Intro-Inhalt (Logo & Loader) */
.intro-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.intro-logo-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

.intro-logo {
  height: clamp(50px, 7vw, 85px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.05));
}

/* Edler Shimmer-Effekt (Lichtglanz) über dem Logo */
.intro-logo-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: logoShimmer 2.8s infinite ease-in-out;
}

@keyframes logoShimmer {
  0% {
    left: -150%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Ladebalken Container */
.intro-loader-container {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 25px;
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

/* Ladelinie */
.intro-loader-line {
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent), 0 0 15px rgba(171, 39, 60, 0.6);
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Phase: Aktivierung des Reveals */
.intro-curtains.reveal-active {
  pointer-events: none;
}

.intro-curtains.reveal-active .intro-panel-left {
  transform: translateX(-100%);
}

.intro-curtains.reveal-active .intro-panel-right {
  transform: translateX(100%);
}

.intro-curtains.reveal-active .intro-content {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.04);
}

/* Logo-Container */
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: scale(0.95) translateY(5px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.header-logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* Einblenden des gesamten Logos auf dem Trapez */
.site-header.visible-letters .header-logo {
  opacity: 1;
  transform: scale(1) translateY(-2px);
  /* Leicht angehoben für optische Mitte im Trapez */
}

/* Akzentlinie unter dem Logo */
.logo-underline {
  position: absolute;
  bottom: -5px;
  /* Höher gesetzt wegen kleinerem Header */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 20%, var(--color-accent) 80%, transparent);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  box-shadow: 0 0 12px var(--color-accent);
  opacity: 0;
}

.site-header.visible-underline .logo-underline {
  width: 200px;
  /* Schmalere Akzentlinie passend zum kleineren Design */
  opacity: 1;
}

/* Video Placeholder in Hero */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  /* Dark grey placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
}

.hero-content-overlay {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 15, 15, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2.8rem 3rem;
  max-width: 620px;
  text-align: right;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-content-overlay * {
  pointer-events: auto;
}

.hero-content-overlay .coming-badge {
  margin-bottom: 1.5rem;
  background: rgba(171, 39, 60, 0.05);
}

.hero-content-overlay .divider {
  margin-left: auto;
  /* align divider to right */
  margin-right: 0;
}

/* ========================================
   BENUTZERDEFINIERTES SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-anthracite-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ========================================
   SKIP-LINK (Barrierefreiheit)
   ======================================== */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.8rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ========================================
   FOKUS-STYLES (Barrierefreiheit)
   ======================================== */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================
   HAMBURGER MENU BUTTON
   ======================================== */
.hamburger {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10006;
  width: 50px;
  height: 50px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: all var(--transition-default);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hamburger:hover {
  background: rgba(20, 20, 20, 0.85);
  border-color: var(--color-accent);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(171, 39, 60, 0.25);
}

.hamburger.active {
  background: var(--color-bg-alt);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(171, 39, 60, 0.4);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-default);
  transform-origin: center;
}

/* Hamburger → X Animation */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   FULL-SCREEN NAVIGATION OVERLAY
   ======================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(20, 20, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-default);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-inner {
  text-align: center;
  padding: 2rem;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateX(-80px);
  /* Reinfliegen von links */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.nav-overlay.open .nav-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-overlay.open .nav-item:nth-child(1) {
  transition-delay: 0.05s;
}

.nav-overlay.open .nav-item:nth-child(2) {
  transition-delay: 0.09s;
}

.nav-overlay.open .nav-item:nth-child(3) {
  transition-delay: 0.13s;
}

.nav-overlay.open .nav-item:nth-child(4) {
  transition-delay: 0.17s;
}

.nav-overlay.open .nav-item:nth-child(5) {
  transition-delay: 0.21s;
}

.nav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.4s ease;
  display: inline-block;
  padding: 0.3rem 0.5rem;
  position: relative;
  z-index: 1;
}

/* Der große Outline-Text im Hintergrund (nur für Hauptlinks) */
.nav-list>.nav-item>.nav-link::after {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -48%) scale(1.1);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
  font-weight: 900;
  text-transform: uppercase;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.4s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

/* Verschiebung für Haupt-Navlinks beim Hover */
.nav-list>.nav-item>.nav-link:hover,
.nav-list>.nav-item>.nav-link:focus {
  transform: translate(-6px, -4px);
  letter-spacing: 0.08em;
}

/* Outline-Text einblenden und verschieben bei Hover */
.nav-list>.nav-item>.nav-link:hover::after,
.nav-list>.nav-item>.nav-link:focus::after {
  opacity: 1;
  transform: translate(-32%, -36%) scale(1.18);
  -webkit-text-stroke: 1.5px rgba(171, 39, 60, 0.35);
  /* Roter Akzent-Outline */
}

/* Submenu (Rechtliches) */
.nav-item-sub {
  position: relative;
  margin-top: 1.5rem;
}

.nav-link-sub {
  cursor: pointer;
  color: var(--color-text-dim);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.nav-link-sub:hover {
  color: #ffffff;
}

.submenu-chevron {
  font-size: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-sub.submenu-active .submenu-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.4s ease;
}

.nav-item-sub.submenu-active .nav-submenu {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.5rem;
}

.nav-submenu .nav-link {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-text-dim);
  padding: 0.2rem 0.5rem;
  transform: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-submenu .nav-link:hover,
.nav-submenu .nav-link:focus {
  color: var(--color-text);
  transform: translateX(8px);
}

/* ========================================
   COOKIE-BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: var(--color-anthracite);
  border-top: 2px solid var(--color-accent);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-banner p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 800px;
}

.cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  user-select: none;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--color-anthracite-light);
  border-radius: 12px;
  transition: background var(--transition-default);
  flex-shrink: 0;
}

.cookie-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-text-dim);
  border-radius: 50%;
  transition: all var(--transition-default);
}

.cookie-toggle input:checked+.cookie-toggle-switch {
  background: var(--color-accent);
}

.cookie-toggle input:checked+.cookie-toggle-switch::after {
  left: 23px;
  background: #fff;
}

.cookie-toggle input:disabled+.cookie-toggle-switch {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle-label {
  font-size: 0.85rem;
  min-width: 140px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cookie-btn {
  padding: 0.7rem 1.8rem;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: all var(--transition-default);
  border-radius: 4px;
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(171, 39, 60, 0.3);
}

.cookie-btn-save {
  background: transparent;
  color: var(--color-text-dim);
  border-color: var(--color-anthracite-light);
}

.cookie-btn-save:hover {
  color: #fff;
  border-color: var(--color-text-dim);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-anthracite-light);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-default);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-logo-img {
  height: 35px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.footer-tagline {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text);
}

.footer-hours-list li.dim {
  opacity: 0.5;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-anthracite-light);
  border-radius: 50%;
  color: var(--color-text-dim);
  font-size: 1.3rem;
  transition: all var(--transition-default);
}

.footer-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(171, 39, 60, 0.2);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-anthracite-light);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-dim);
  font-size: 0.75rem;
  margin-bottom: 0.3rem;
}

.footer-bottom a {
  color: var(--color-text-dim);
  text-decoration: underline;
  transition: color var(--transition-default);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-admin-link {
  margin-top: 0.5rem;
}

.footer-admin-link a {
  font-size: 0.65rem;
  opacity: 0.4;
  text-decoration: none;
}

.footer-admin-link a:hover {
  opacity: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-hours-list li {
    justify-content: center;
  }

  .footer-social-link {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-content-overlay {
    position: absolute !important;
    top: auto !important;
    bottom: 5.2rem !important;
    left: 1.5rem !important;
    right: 1.5rem !important;
    transform: none !important;
    max-width: none !important;
    text-align: center !important;
    padding: 1.4rem 1.6rem !important;
    border-radius: 14px !important;
    background: rgba(15, 15, 15, 0.4) !important;
    border: none !important;
  }

  .hero-content-overlay .hero-text {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem) !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 0 !important;
    overflow-wrap: break-word !important;
  }

  .hero-content-overlay .divider {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-content-overlay .coming-badge {
    margin-bottom: 1rem !important;
  }

  .nav-dots {
    right: 0.6rem !important;
  }

  .scroll-hint {
    bottom: 1rem;
  }

  /* Header / Logo für Tablets */
  .site-header {
    width: 68%;
    min-width: 280px;
    height: 90px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    justify-content: center;
    padding: 0 15px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -120%) scale(0.9);
  }

  .site-header.visible-header {
    transform: translate(-50%, 0) scale(1);
  }

  /* Verhindert das Verrutschen/Zentrieren beim Scrollen auf Tablet */
  .site-header.scrolled {
    width: 58%;
    min-width: 240px;
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    justify-content: center;
    padding: 0 12px;
    transform: translate(-50%, 0) scale(1);
  }

  .header-logo-img {
    height: 28px;
    max-width: 82%;
    object-fit: contain;
  }

  .site-header.scrolled .header-logo-img {
    height: 22px;
  }

  .logo-underline {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-header.visible-underline .logo-underline {
    width: 140px;
  }

  .site-header.scrolled.visible-underline .logo-underline {
    width: 100px;
  }
}

@media (max-width: 480px) {

  /* Header / Logo für Smartphones */
  .site-header {
    width: 75%;
    min-width: 250px;
    height: 70px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
    justify-content: center;
    padding: 0 15px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -120%) scale(0.9);
  }

  .site-header.visible-header {
    transform: translate(-50%, 0) scale(1);
  }

  /* Verhindert das Verrutschen/Zentrieren beim Scrollen auf Smartphone */
  .site-header.scrolled {
    width: 65%;
    min-width: 210px;
    height: 50px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
    justify-content: center;
    padding: 0 12px;
    transform: translate(-50%, 0) scale(1);
  }

  .header-logo-img {
    height: 22px;
    max-width: 80%;
    object-fit: contain;
  }

  .site-header.scrolled .header-logo-img {
    height: 17px;
  }

  .logo-underline {
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-header.visible-underline .logo-underline {
    width: 100px;
  }

  .site-header.scrolled.visible-underline .logo-underline {
    width: 70px;
  }

  /* Hamburger für kleine Screens anpassen */
  .hamburger {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .hamburger-line {
    width: 20px;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-content-overlay {
    bottom: 4.8rem !important;
    left: 1.25rem !important;
    right: 1.25rem !important;
    padding: 1.25rem 1.4rem !important;
  }

  .hero-content-overlay .hero-text {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .service-content-overlay {
    padding: 4rem 1.6rem 3rem 1.6rem !important;
  }

  .service-title {
    font-size: clamp(1rem, 4.5vw, 1.35rem) !important;
    letter-spacing: 0.02em !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .privileges-title,
  .partners-title,
  .social-title,
  .parallax-title {
    font-size: clamp(1rem, 4.5vw, 1.35rem) !important;
    letter-spacing: 0.02em !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-description {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    max-width: 95% !important;
  }

  .nav-dots {
    right: 0.5rem !important;
  }
}

/* ========================================
   GLOBAL GEOMETRIC BACKGROUND (DEZENTE SCHWEBENDE RAUTEN)
   ======================================== */
.global-geometric-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  /* Über dem Body-Hintergrund, aber unter dem Content */
  pointer-events: none;
  overflow: hidden;
  opacity: 0.18;
  /* Sehr dezent, um die Lesbarkeit des Contents zu wahren */
}

/* Haupt-Content-Wrapper über den Hintergrund heben */
#main-content {
  position: relative;
  z-index: 1;
}

.global-geometric-bg .diamond {
  position: absolute;
  border: 2px solid rgba(171, 39, 60, 0.25);
  transform: rotate(45deg) scale(0);
  opacity: 0;
  animation: diamondAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.global-geometric-bg .diamond-filled {
  border: none;
  background: rgba(171, 39, 60, 0.08);
  box-shadow: 0 0 30px rgba(171, 39, 60, 0.05), inset 0 0 30px rgba(171, 39, 60, 0.03);
}

.global-geometric-bg .diamond-float {
  animation: diamondAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    diamondFloat 6s ease-in-out infinite;
}

.global-geometric-bg .diamond-float:nth-child(2n) {
  animation-duration: 1.2s, 7s;
  animation-delay: 0.3s, 0.3s;
}

.global-geometric-bg .diamond-float:nth-child(3n) {
  animation-duration: 1.2s, 5s;
  animation-delay: 0.6s, 0.6s;
}

.global-geometric-bg .diamond-float:nth-child(4n) {
  animation-duration: 1.2s, 8s;
  animation-delay: 0.9s, 0.9s;
}

.global-geometric-bg .diamond-float:nth-child(5n) {
  animation-duration: 1.2s, 6.5s;
  animation-delay: 1.2s, 1.2s;
}

.global-geometric-bg .parallelogram {
  position: absolute;
  border: 2px solid rgba(171, 39, 60, 0.2);
  transform: skewX(-20deg) scale(0);
  opacity: 0;
  animation: paraAppear 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.global-geometric-bg .parallelogram-filled {
  border: none;
  background: rgba(171, 39, 60, 0.06);
}

.global-geometric-bg .parallelogram-float {
  animation: paraAppear 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    paraFloat 5s ease-in-out infinite;
}

.global-geometric-bg .parallelogram-float:nth-child(2n) {
  animation-duration: 1.4s, 6s;
  animation-delay: 0.4s, 0.4s;
}

.global-geometric-bg .parallelogram-float:nth-child(3n) {
  animation-duration: 1.4s, 4.5s;
  animation-delay: 0.8s, 0.8s;
}

/* ========================================
   SLIDE 3 – PRIVILEGIEN SEKTION
   ======================================== */
.privileges-slide {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
}

/* Technischer Grid-Hintergrund für einen edlen Look */
.privileges-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(171, 39, 60, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 39, 60, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

/* Große geometrische Deko-Linien im Hintergrund */
.privileges-slide::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.015);
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  transform: skewX(-6deg);
  z-index: 1;
  pointer-events: none;
}

.privileges-container {
  max-width: 1200px;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privileges-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.privileges-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.privileges-divider {
  width: 100px;
  height: 4px;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.privileges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

.privilege-card {
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.45) 0%, rgba(15, 15, 15, 0.75) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 4.5rem 2.5rem 4rem 2.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Edler Lichtreflexions-Effekt (Reflection) auf der Karte */
.privilege-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.04),
      transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: 3;
}

.privilege-card:hover::before {
  left: 150%;
}

.privilege-card:hover {
  transform: translateY(-12px);
  border-color: rgba(171, 39, 60, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(171, 39, 60, 0.15);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.55) 0%, rgba(18, 18, 18, 0.85) 100%);
}

/* Großes Background-Icon oben rechts in der Ecke */
.privilege-card-bg-icon {
  position: absolute;
  top: -35px;
  right: -30px;
  font-size: 12rem;
  color: var(--color-accent);
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(15deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease, color 0.8s ease;
  z-index: 0;
}

.privilege-card:hover .privilege-card-bg-icon {
  opacity: 0.18;
  transform: rotate(5deg) scale(1.12);
  color: var(--color-accent);
}

.privilege-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.privilege-card-text {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* Schmaler, leuchtender Akzentbalken am unteren Ende */
.privilege-card-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-accent);
  box-shadow: 0 -2px 10px rgba(171, 39, 60, 0.8);
  transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

.privilege-card:hover .privilege-card-border {
  width: 100%;
}

/* Einblende-Animationen */
.slide.privileges-slide .privilege-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide.privileges-slide.active .privilege-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide.privileges-slide.active .privilege-card:nth-child(1) {
  transition-delay: 0.15s;
}

.slide.privileges-slide.active .privilege-card:nth-child(2) {
  transition-delay: 0.3s;
}

.slide.privileges-slide.active .privilege-card:nth-child(3) {
  transition-delay: 0.45s;
}

@media (max-width: 991px) {
  .privileges-slide {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6rem 2rem;
  }

  .privileges-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 500px;
  }
}

/* ========================================
   SLIDE 4 – PARALLAX-SEKTION
   ======================================== */
.parallax-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
}

.parallax-video-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform;
}

/* Fallback-Platzhalter-Hintergrund falls kein Bild hochgeladen ist */
.parallax-placeholder-bg {
  background-image: linear-gradient(135deg, var(--color-anthracite) 0%, var(--color-bg) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.parallax-placeholder-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(171, 39, 60, 0.15) 0%, transparent 70%);
}

.parallax-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom,
      var(--color-bg) 0%,
      rgba(26, 26, 26, 0.3) 15%,
      rgba(20, 20, 20, 0.3) 85%,
      var(--color-bg) 100%),
    radial-gradient(circle at center, transparent 30%, rgba(10, 10, 10, 0.75) 100%);
  z-index: 1;
}

.parallax-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%) translate3d(0, 30px, 0);
  z-index: 2;
  text-align: left;
  padding: 2.5rem;
  max-width: 550px;
  width: auto;
  opacity: 0;
  background: rgba(15, 15, 15, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
}

.slide.parallax-slide.active .parallax-content {
  transform: translateY(-50%) translate3d(0, 0, 0);
  opacity: 1;
}

.parallax-title {
  font-family: var(--font-primary);
  font-size: clamp(1.35rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.parallax-divider {
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin: 1.5rem 0;
  box-shadow: 0 0 8px rgba(171, 39, 60, 0.8);
}

.parallax-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-dim);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SLIDE 5 – PARTNER SEKTION
   ======================================== */
.partners-slide {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}

.partners-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.partners-header {
  margin-bottom: 1.75rem;
}

.partners-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.partners-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto;
  box-shadow: 0 0 8px var(--color-accent);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: transform var(--transition-default);
}

.partner-logo-box:hover {
  transform: translateY(-3px) scale(1.03);
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.partner-logo-img {
  max-width: 180px;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.85);
  opacity: 0.8;
  transition: filter var(--transition-default), opacity var(--transition-default), transform var(--transition-default);
}

.partner-logo-box:hover .partner-logo-img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ========================================
   SLIDE 6 – SOCIAL MEDIA (INSTAGRAM)
   ======================================== */
.social-slide {
  position: relative;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

/* Edler Instagram-Glow im Hintergrund */
.social-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(171, 39, 60, 0.08) 0%, rgba(225, 48, 108, 0.03) 50%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.social-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-instagram-icon-wrapper {
  margin-bottom: 2rem;
}

.instagram-icon-bg {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(220, 39, 67, 0.3);
  transition: transform var(--transition-snappy);
}

.instagram-icon-bg:hover {
  transform: scale(1.08) rotate(5deg);
}

.instagram-icon-main {
  font-size: 3.2rem;
  color: #fff;
}

.social-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.social-divider {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  margin-bottom: 2rem;
  box-shadow: 0 0 10px var(--color-accent);
}

.social-subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2rem;
}

.social-username {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.social-username a {
  color: #fff;
  transition: color var(--transition-default);
}

.social-username a:hover {
  color: var(--color-accent);
}

.social-action {
  margin-top: 1rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition-default), border-color var(--transition-default), box-shadow var(--transition-default), transform var(--transition-default);
}

.btn-instagram:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-instagram i {
  font-size: 1.3rem;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
  .parallax-content {
    left: 5%;
    max-width: 90%;
  }

  .parallax-title {
    font-size: 2rem;
  }
  
  .parallax-subtitle {
    font-size: 1.1rem;
  }
}