/* ============================================
   B17 Wein&Co. — Main Stylesheet
   Dark Elegant · Web 3.0
   ============================================ */

/* === VARIABLEN === */
:root {
  --c-bg:           #060606;
  --c-bg-2:         #0c0c0c;
  --c-bg-3:         #141414;
  --c-surface:      rgba(255, 255, 255, 0.05);
  --c-glass:        rgba(255, 255, 255, 0.06);
  --c-glass-border: rgba(255, 255, 255, 0.12);
  --c-border:       rgba(255, 255, 255, 0.09);
  --c-border-gold:  rgba(201, 168, 76, 0.25);

  --c-text:         #f0ede8;
  --c-text-muted:   #9b9590;
  --c-text-subtle:  #5a5550;
  --c-white:        #ffffff;

  --c-gold:         #c9a84c;
  --c-gold-light:   #e2c278;
  --c-gold-dark:    #9e7e32;
  --c-wine:         #8b2635;

  --g-gold:         linear-gradient(135deg, #c9a84c, #e2c278);
  --g-glow:         radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  --g-glow-subtle:  radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);

  --font-serif:     'Playfair Display', 'Georgia', serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:      'Space Mono', monospace;

  --fs-xs:    clamp(0.8rem,   1vw,    0.875rem);
  --fs-sm:    clamp(0.925rem, 1.2vw,  1.05rem);
  --fs-base:  clamp(1.05rem,  1.4vw,  1.2rem);
  --fs-md:    clamp(1.2rem,   1.6vw,  1.4rem);
  --fs-lg:    clamp(1.4rem,   2vw,    1.8rem);
  --fs-xl:    clamp(1.8rem,   3vw,    2.6rem);
  --fs-2xl:   clamp(2.6rem,   5vw,    4rem);
  --fs-3xl:   clamp(3.4rem,   7vw,    5.8rem);
  --fs-hero:  clamp(4.2rem,   9.5vw,  8.5rem);

  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-base:   1.6;
  --lh-loose:  1.8;

  --ls-tight:  -0.03em;
  --ls-wide:   0.08em;
  --ls-wider:  0.18em;

  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-24:  6rem;
  --sp-32:  8rem;
  --sp-48:  12rem;

  --container-max:   1200px;
  --container-pad:   clamp(1.5rem, 5vw, 4rem);
  --header-height:   120px;

  --radius-sm:   0;
  --radius-md:   0;
  --radius-lg:   0;
  --radius-xl:   0;
  --radius-full: 0;

  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:    150ms;
  --duration-base:    300ms;
  --duration-slow:    600ms;
}


/* === RESET === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html.hero-locked { overflow: hidden; }
body { min-height: 100vh; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }


/* === BASE === */

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  position: relative;
}

/* Depth Layer 1: Vignette — dunkle Ränder, hellt Mitte subtil auf */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background:
    /* Lichtkegel oben mitte — großer warmer Spot */
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(201, 168, 76, 0.22) 0%, rgba(201, 168, 76, 0.10) 35%, transparent 75%),
    /* Vignette */
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.4) 100%),
    /* Subtiler zweiter Glow unten */
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.025) 0%, transparent 45%),
    /* Leichter seitlicher Tiefenshift */
    radial-gradient(ellipse at 0% 50%, rgba(0, 0, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
}

/* Depth Layer 2: Noise-Texture — leicht verstärkt */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  background-size: 200px 200px;
  inset: -50%;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -15%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 10%); }
  80% { transform: translate(3%, -20%); }
  90% { transform: translate(-10%, 10%); }
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--c-white);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-text);
}

.section-label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  font-style: italic;
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
/* Shine auf allen Buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.25) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) { .btn:hover::after { animation: goldSweep 0.6s var(--ease-out) forwards; } }
.btn:active::after { animation: goldSweep 0.6s var(--ease-out) forwards; }

.btn-gold {
  background: var(--g-gold);
  color: #0a0a0a;
  border: none;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2), 0 0 60px rgba(201, 168, 76, 0.05);
}
@media (hover: hover) {
  .btn-gold:hover {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.35), 0 0 80px rgba(201, 168, 76, 0.1);
    transform: translateY(-1px);
  }
}
.btn-gold:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (hover: hover) {
  .btn-outline:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
  }
}
.btn-outline:active { border-color: var(--c-gold); color: var(--c-gold); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--g-gold);
  margin: var(--sp-6) 0;
  border-radius: 2px;
}

.section { padding-block: var(--sp-48); position: relative; }
.section--sm { padding-block: var(--sp-24); position: relative; }

@media (max-width: 768px) {
  .section { padding-block: var(--sp-24); }
  .section--sm { padding-block: var(--sp-12); }
  :root { --header-height: 80px; }
}

/* Generischer Seiten-Content braucht top-padding wegen fixed Header */
.site-main > .container.section:first-child {
  padding-top: calc(var(--header-height) + var(--sp-16));
}

.text-muted  { color: var(--c-text-muted); }
.text-gold   { color: var(--c-gold); }
.text-center { text-align: center; }

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* === GOLD SHINE EFFECT ===
   Diagonaler Goldglanz-Sweep.
   Eingebaut in: .btn, .nav-list a, .feature-item,
   .stat-item, .team-member, .event-card, .info-card
   Trigger: hover (Desktop) + active (Touch/Mobile).
   ============================================ */

@keyframes goldSweep {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}


/* === HEADER === */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(6, 6, 6, 0.15);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all var(--duration-slow) var(--ease-out);
}
/* Logo im Header verstecken auf Startscreen (Hero zeigt eigenes Logo) */
.page-home .site-header:not(.is-scrolled) .site-logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}
/* Logo wieder einblenden sobald Video läuft */
.page-home.hero-video-active .site-header .site-logo {
  opacity: 1;
  pointer-events: auto;
}
.site-header.is-scrolled {
  background: rgba(6, 6, 6, 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-8) 0;
}
@media (max-width: 768px) {
  .header-inner { padding: var(--sp-2) var(--sp-4) 0; }
}

/* Logo */
.site-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo-img {
  height: clamp(28px, 5vw, 50px);
  width: auto;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-white);
  transition: opacity var(--duration-base) var(--ease);
}
.logo-text:hover { opacity: 0.8; }
.logo-sub {
  color: var(--c-gold);
  font-size: 0.7em;
}

/* Navigation */
.site-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.nav-glass {
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav-list li { position: relative; }
.nav-list a {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: var(--sp-2) var(--sp-4);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
/* Gold-Button-Hover mit Shine */
.nav-list a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.25) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) {
  .nav-list a:hover {
    color: #0a0a0a;
    background: var(--g-gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
  }
  .nav-list a:hover::after { animation: goldSweep 0.6s var(--ease-out) forwards; }
}
.nav-list a:active {
  color: #0a0a0a;
  background: var(--g-gold);
}
.nav-list a:active::after { animation: goldSweep 0.6s var(--ease-out) forwards; }
.nav-list .current-menu-item > a {
  color: var(--c-gold);
  background: transparent;
  border: 1px solid var(--c-gold);
}

/* Separator dots */
.nav-list li + li::before {
  content: '';
  position: absolute;
  left: -4px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  background: var(--c-text-subtle);
  border-radius: 50%;
}

/* Header CTA — Reservieren rechts */
.header-cta-link {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--g-gold);
  border: 1px solid transparent;
  padding: var(--sp-2) var(--sp-6);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.header-cta-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.25) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) {
  .header-cta-link:hover {
    color: var(--c-gold);
    background: transparent;
    border-color: var(--c-gold);
    box-shadow: none;
  }
  .header-cta-link:hover::after { animation: goldSweep 0.6s var(--ease-out) forwards; }
}
.header-cta-link:active {
  color: var(--c-gold);
  background: transparent;
  border-color: var(--c-gold);
}
.header-cta-link:active::after { animation: goldSweep 0.6s var(--ease-out) forwards; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px; height: 32px;
  padding: 2px;
  position: relative;
  z-index: 1000;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--c-text);
  transition: all var(--duration-base) var(--ease);
  transform-origin: center;
}
/* Hamburger → X animation */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu — Fullscreen Overlay */
@media (max-width: 1024px) {
  .site-nav, .header-cta-link { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: static;
    transform: none;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    transform: none;
    background: var(--c-bg);
    align-items: center;
    justify-content: center;
    z-index: 999;
    flex-direction: column;
    gap: var(--sp-8);
    opacity: 0;
    animation: navFadeIn 0.35s var(--ease) forwards;
  }
  @keyframes navFadeIn {
    to { opacity: 1; }
  }
  .site-nav.is-open .nav-glass {
    background: none;
    border: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
  }
  .site-nav.is-open .nav-list {
    flex-direction: column;
    gap: var(--sp-2);
    text-align: center;
  }
  .site-nav.is-open .nav-list li + li::before {
    display: none;
  }
  .site-nav.is-open .nav-list a {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: var(--ls-tight);
    text-transform: none;
    color: var(--c-text-muted);
    padding: var(--sp-4) var(--sp-8);
    transition: color 0.25s var(--ease);
  }
  .site-nav.is-open .nav-list a:hover {
    color: var(--c-gold);
    background: none;
  }
  .site-nav.is-open .nav-list .current-menu-item > a {
    color: var(--c-gold);
    background: none;
  }

  /* Show CTA in mobile menu */
  .site-nav.is-open ~ .header-cta-link {
    display: inline-block;
    position: fixed;
    bottom: var(--sp-12);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
}


/* ============================================
   HERO: Fixe Sequenz — Logo ↑ Video ↑ Content
   Schiebe-Effekt: Panels rutschen nach oben weg
   ============================================ */

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
}
.hero-overlay.is-done {
  pointer-events: none;
  visibility: hidden;
}

.hero-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 1s var(--ease-in-out);
}

/* Layer 1: Logo — transparent, Video scheint unscharf durch */
.hero-layer--logo {
  z-index: 2;
  flex-direction: column;
  background: rgba(6, 6, 6, 0.35);
  transition: opacity 0.8s var(--ease-out);
}
.hero-overlay.is-video .hero-layer--logo {
  opacity: 0;
  pointer-events: none;
}

.hero-logo-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.15));
  opacity: 0;
  animation: logoFadeIn 2s ease-out 0.5s forwards;
}
@keyframes logoFadeIn {
  to { opacity: 1; }
}

/* CTA between logo and scroll */
.hero-cta {
  pointer-events: auto;
  z-index: 3;
  margin-bottom: auto;
}

/* Scroll Hint */
.hero-scroll-hint {
  padding-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* Layer 2: Video */
.hero-layer--video {
  background: #000;
  z-index: 1;
  transition: transform 1s var(--ease-in-out);
}
.hero-overlay.is-ending .hero-layer--video {
  transform: translateY(-100%);
}
.hero-layer--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dimming-Overlay statt CSS filter (GPU-freundlich) */
.hero-layer--video::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(6, 6, 6, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 1.2s var(--ease-in-out);
}
.hero-overlay.is-video .hero-layer--video::before {
  opacity: 0;
  pointer-events: none;
}

/* Text-Overlay auf Video */
.hero-video-text {
  position: absolute;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out) 0.6s, transform 1s var(--ease-out) 0.6s;
}
.hero-overlay.is-video .hero-video-text {
  opacity: 1;
  transform: translateY(0);
}
.hero-video-text h2 {
  font-size: var(--fs-3xl);
  color: var(--c-white);
  margin-bottom: var(--sp-4);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero-video-text p {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #0a0a0a;
  font-weight: 600;
  background: var(--g-gold);
  padding: var(--sp-2) var(--sp-6);
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.25);
}


/* === CONTENT ROW SYSTEM === */

.content-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.content-row + .content-row {
  margin-top: var(--sp-16);
}

/* Visual column */
.content-row__visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.content-row__visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85);
  transition: all var(--duration-slow) var(--ease-out);
}
.content-row__visual:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}
.content-row__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-gold);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.content-row__visual:hover::before { opacity: 1; }

/* Text column */
.content-row__text .section-label { margin-bottom: var(--sp-4); }
.content-row__text h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.content-row__text p { color: var(--c-text-muted); margin-bottom: var(--sp-6); line-height: var(--lh-loose); }

/* Mobile: reversed rows put text first */
.content-row--reversed .content-row__text { order: -1; }

/* Desktop: 2 columns */
@media (min-width: 769px) {
  .content-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
  }
  .content-row__visual { aspect-ratio: 4/5; }
  .content-row--reversed .content-row__visual { order: 2; }
  .content-row--reversed .content-row__text { order: 1; }
}


/* === INTRO === */

.section-intro {
  background: var(--c-bg);
  background-image: var(--g-glow);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  align-items: center;
}
.intro-text h2 { margin-bottom: var(--sp-6); }
.intro-text p { color: var(--c-text-muted); margin-bottom: var(--sp-6); }
.intro-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.intro-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85);
  transition: all var(--duration-slow) var(--ease-out);
}
.intro-image:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}
.intro-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-gold);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.intro-image:hover::before { opacity: 1; }


/* === FEATURES === */

.section-features {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.feature-item {
  padding: var(--sp-12) var(--sp-8);
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all var(--duration-base) var(--ease);
  position: relative;
  overflow: hidden;
}
/* Shine auf Cards */
.feature-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(201,168,76,0.08) 45%, rgba(255,255,255,0.1) 50%, rgba(201,168,76,0.08) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) {
  .feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--c-border-gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 168, 76, 0.05);
  }
  .feature-item:hover::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
}
.feature-item:active::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
.feature-number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-gold);
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-6);
}
.feature-item h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-4); }
.feature-item p { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: var(--lh-loose); }

/* Feature Cards mit Bild */
.feature-item--img { padding: 0; display: flex; flex-direction: column; }
.feature-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: all var(--duration-slow) var(--ease-out);
}
.feature-item--img:hover .feature-img img {
  filter: brightness(1);
  transform: scale(1.04);
}
.feature-body { padding: var(--sp-8) var(--sp-6); flex: 1; }


/* === STATS === */

.section-stats {
  position: relative;
  background: var(--c-bg);
}
.section-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/03/location/Laden_7.png') center/cover no-repeat;
  filter: brightness(0.25);
  z-index: 0;
}
.section-stats > .container {
  position: relative;
  z-index: 1;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.stat-item {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all var(--duration-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(201,168,76,0.08) 45%, rgba(255,255,255,0.1) 50%, rgba(201,168,76,0.08) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) {
  .stat-item:hover {
    border-color: var(--c-border-gold);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.06);
  }
  .stat-item:hover::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
}
.stat-item:active::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  font-weight: 400;
  background: var(--g-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* Stats Redesign: Content-Row Layout */
.section-stats--redesign::before { display: none; }
.section-stats--redesign .section-stats > .container { z-index: auto; }

.stats-grid--compact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.stat-item--inline {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}
.stat-item--inline:last-child { border-bottom: none; padding-bottom: 0; }
.stat-item--inline .stat-number {
  display: inline;
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  font-weight: 400;
  background: var(--g-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0;
  min-width: 3ch;
}
.stat-item--inline .stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
}


/* === PORTFOLIO === */

.section-portfolio {
  background: var(--c-bg);
  overflow: hidden;
  padding-inline: 0;
}
/* Portfolio Marquee */
.portfolio-marquee {
  overflow: hidden;
  width: 100%;
  padding: 2px 0;
}
.portfolio-marquee:hover .portfolio-track {
  animation-play-state: paused;
}

.portfolio-track {
  display: flex;
  gap: 4px;
  width: max-content;
}

.portfolio-marquee--left .portfolio-track {
  animation: portfolioScrollLeft 40s linear infinite;
}
.portfolio-marquee--right .portfolio-track {
  animation: portfolioScrollRight 40s linear infinite;
}

@keyframes portfolioScrollLeft {
  to { transform: translateX(-50%); }
}
@keyframes portfolioScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.portfolio-slide {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 320px;
  height: 220px;
}
.portfolio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
  transition: all 0.5s var(--ease-out);
}
.portfolio-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
  pointer-events: none;
}

@media (hover: hover) {
  .portfolio-slide:hover img {
    filter: brightness(1) saturate(1);
    transform: scale(1.06);
  }
  .portfolio-slide:hover::after {
    border-color: var(--c-gold);
  }
}

@media (max-width: 768px) {
  .portfolio-slide {
    width: 240px;
    height: 165px;
  }
}
@media (max-width: 480px) {
  .portfolio-slide {
    width: 200px;
    height: 140px;
  }
}


/* === AREAS === */

.section-areas {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* === TEAM === */

.section-team {
  background: var(--c-bg);
  background-image: var(--g-glow-subtle);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  max-width: 800px;
  margin-inline: auto;
}
.team-member {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  padding: var(--sp-8);
  text-align: center;
  transition: border-color var(--duration-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.team-member::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(201,168,76,0.08) 45%, rgba(255,255,255,0.1) 50%, rgba(201,168,76,0.08) 55%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
@media (hover: hover) {
  .team-member:hover { border-color: var(--c-border-gold); }
  .team-member:hover::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
}
.team-member:active::after { animation: goldSweep 0.8s var(--ease-out) forwards; }
.team-photo {
  width: 100%;
  aspect-ratio: 257/201;
  overflow: hidden;
  margin-bottom: var(--sp-6);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-member h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.team-role {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.team-member > p:last-child {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}


/* === PARTNER SLIDER === */

.section-partners {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.partner-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-track {
  display: flex;
  gap: var(--sp-16);
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.partner-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: var(--sp-3) var(--sp-4);
}
.partner-item img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.7) invert(1);
  opacity: 0.5;
  transition: all var(--duration-base) var(--ease);
}
@media (hover: hover) {
  .partner-item img:hover {
    filter: grayscale(0) brightness(1) invert(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .partner-item { height: 60px; }
  .partner-track { gap: var(--sp-8); }
}


/* === CTA === */

.section-cta {
  background: var(--c-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-inner h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.cta-inner p { color: var(--c-text-muted); margin-bottom: var(--sp-8); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }


/* === FOOTER === */

.site-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-16);
  padding-block: var(--sp-24);
}
.footer-logo-img { height: 100px; width: auto; object-fit: contain; }
.footer-brand .logo-text { font-size: var(--fs-xl); }
.footer-tagline { margin-top: var(--sp-3); color: var(--c-text-muted); font-size: var(--fs-sm); }
.footer-social a {
  color: var(--c-text-muted);
  transition: color var(--duration-base) var(--ease);
}
.footer-social a:hover { color: var(--c-gold); }
.footer-inner h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.footer-inner p,
.footer-inner address {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  font-style: normal;
}
.footer-inner a:hover { color: var(--c-gold); }
.footer-nav-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-nav-list a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--duration-base) var(--ease);
}
.footer-nav-list a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-6);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: var(--fs-xs); color: var(--c-text-subtle); }
.footer-bottom a:hover { color: var(--c-gold); }


/* === RESPONSIVE === */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .features-grid > :last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-grid > :last-child { grid-column: auto; }
  .feature-item { padding: var(--sp-8) var(--sp-6); }
}

/* Stats: immer 3 Spalten — Zahlen brauchen wenig Platz */
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .stats-grid { gap: var(--sp-3); }
  .stat-item { padding: var(--sp-8) var(--sp-3); }
  .stat-number { font-size: var(--fs-2xl); }
  .stat-label { font-size: clamp(0.6rem, 2.5vw, 0.75rem); letter-spacing: var(--ls-wide); }
}

/* Team: 2 Spalten behalten — passt auch mobil */
@media (max-width: 640px) {
  .team-grid { gap: var(--sp-4); }
  .team-member { padding: var(--sp-4); }
  .team-member h3 { font-size: var(--fs-md); }
  .team-member > p:last-child { font-size: var(--fs-xs); }

  /* Footer: 2 Spalten behalten */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo-img { height: 60px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* === MOBILE FORM OPTIMIERUNGEN === */
/* Verhindert iOS-Zoom bei Fokus (braucht min 16px) + größere Touch-Targets */
@media (max-width: 768px) {
  .res-field input,
  .res-field select,
  .res-field textarea,
  .wpforms-container input[type="text"],
  .wpforms-container input[type="email"],
  .wpforms-container input[type="tel"],
  .wpforms-container input[type="date"],
  .wpforms-container input[type="number"],
  .wpforms-container textarea,
  .wpforms-container select {
    font-size: 16px !important;
    min-height: 48px;
    padding: var(--sp-3) var(--sp-4);
  }
  .res-field textarea,
  .wpforms-container textarea {
    min-height: 100px;
  }
  .res-submit,
  .wpforms-container .wpforms-submit-container button {
    min-height: 52px !important;
    font-size: 16px !important;
    padding: var(--sp-4) var(--sp-8) !important;
  }
  .btn {
    min-height: 48px;
    padding: var(--sp-3) var(--sp-6);
  }
  .hero-logo-img {
    height: 100px;
  }
  .hero-video-text h2 {
    font-size: var(--fs-2xl);
  }
}
