/*
Theme Name: DI Oberflächentechnik
Theme URI: https://di-oberflaechentechnik.de
Author: DI Oberflächentechnik
Description: Custom theme für DI Oberflächentechnik Remscheid
Version: 1.0.0
License: Private
Text Domain: di-theme
*/

:root {
  --color-bg-primary:   #132238;
  --color-bg-surface:   #182A42;
  --color-bg-raised:    #1E3352;
  --color-accent:       #1565C0;
  --color-accent-bright:#1E7BC4;
  --color-accent-sky:   #3B9EDB;
  --color-chrome:       #C8C8C8;
  --color-chrome-light: #E8E8E8;
  --color-chrome-dark:  #A0AABF; /* WCAG-AA-konform (~5.4:1 auf navy-surface) */
  --color-text-primary: #F0F4F8;
  --color-text-muted:   #8BA0B4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.025em;
  /* Lange Wörter dürfen im Notfall überlaufen umbrechen — aber KEINE
     automatische Silbentrennung mit Bindestrich (würde z.B. "Wertschöpfung"
     zu "Wert-schöpfung" zerhacken). Nur manuelles &shy; wird respektiert. */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
/* Auf sehr kleinen Screens (≤400px): große Display-Headlines weiter herunterskalieren */
@media (max-width: 400px) {
  h1.text-5xl, h2.text-5xl { font-size: 2rem !important; line-height: 1.1; }
  h1.text-6xl, h2.text-6xl { font-size: 2.2rem !important; line-height: 1.1; }
  h1.text-7xl, h2.text-7xl { font-size: 2.4rem !important; line-height: 1.1; }
  h1.md\:text-6xl, h2.md\:text-6xl { font-size: 2.2rem !important; }
  /* Defensive: jede h1/h2 die kein eigenes Override hat darf max 2.4rem auf 320px */
  h1:not(.hero-spline-h1):not(.gallery-page-h1) {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.1;
  }
  h2:not(.gallery-section-title) {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1.15;
  }
}
@media (max-width: 640px) {
  h1.text-5xl, h2.text-5xl { font-size: 2.2rem; line-height: 1.1; }
  h1.text-6xl, h2.text-6xl { font-size: 2.5rem; line-height: 1.1; }
}

/* Steel noise texture overlay */
.steel-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='steel-noise-filter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23steel-noise-filter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Hero slideshow — Fallback-Layer (sichtbar wenn WebGL nicht verfügbar) */
.hero-slider { z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 { background-color:#0d1b3e; background-size:cover; background-position:center; }
.hero-slide-2 { background-color:#132238; background-size:cover; background-position:center; }
.hero-slide-3 { background-color:#1E3352; background-size:cover; background-position:center top; }

/* Hero WebGL-Canvas */
.hero-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease-out;
  pointer-events: none;
  display: block;
}
.hero-canvas.is-active { opacity: 1; }
/* Wenn WebGL läuft: Fallback-Layer ausblenden (verhindert Doppel-Rendering) */
.hero-section.webgl-active .hero-slider { opacity: 0; transition: opacity 0.6s; }

/* 3D-Modus: alle dunklen Overlays aus dem Foto-Layout reduzieren,
   damit die 3D-Szene dominiert. Nur ein dünnes Vignette für Lesbarkeit. */
.hero-section.scene-3d > .absolute.inset-0.pointer-events-none,
.hero-section.scene-3d > .absolute.inset-0.bg-gradient-to-b {
  display: none;
}
.hero-section.scene-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Vignette: dunkle Ecken, klares Zentrum → 3D dominiert */
    radial-gradient(ellipse 80% 70% at center,
      rgba(10, 22, 40, 0.0) 0%,
      rgba(10, 22, 40, 0.0) 40%,
      rgba(10, 22, 40, 0.4) 100%),
    /* Bottom-Vignette für Counter-Lesbarkeit */
    linear-gradient(to bottom,
      rgba(10, 22, 40, 0.15) 0%,
      rgba(10, 22, 40, 0.0) 20%,
      rgba(10, 22, 40, 0.0) 70%,
      rgba(10, 22, 40, 0.55) 100%);
  z-index: 4;
}
/* Text bekommt subtilen Glow für Lesbarkeit über bewegtem 3D-Hintergrund */
.hero-section.scene-3d .hero-headline-line {
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 0, 0, 0.5),
    0 0 4px rgba(10, 22, 40, 0.8) !important;
}
.hero-section.scene-3d p {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

/* Split-Text: per-Letter-Spans (von JS injiziert) */
.hero-headline-line .char {
  display: inline-block;
  position: relative;
  will-change: transform;
}
.hero-headline-line .char[data-space="1"] {
  width: 0.25em;
}
/* Chrome-Shine-Sweep beim Slide-Wechsel: läuft einmal von links nach rechts */
.hero-headline-line.shine .char {
  background: linear-gradient(
    100deg,
    currentColor 0%,
    currentColor 45%,
    #ffffff 50%,
    currentColor 55%,
    currentColor 100%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-shine 1.2s ease-out forwards;
  animation-delay: calc(var(--char-i, 0) * 22ms);
}
@keyframes hero-shine {
  0%   { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* Slide-Counter Mess-Optik */
.hero-counter { font-family: 'Rajdhani', monospace; }
.hero-counter-bar { position: relative; }
.hero-counter-prev:hover svg,
.hero-counter-next:hover svg {
  transform: translateX(2px);
  transition: transform 0.2s ease-out;
}
.hero-counter-prev:hover svg { transform: translateX(-2px); }
.hero-counter-label {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-counter-label.is-switching {
  opacity: 0;
  transform: translateY(4px);
}

/* Magnetic Cursor (nur Desktop / Pointer:fine) */
.hero-magnetic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(59, 158, 219, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s ease-out, border-color 0.2s ease-out, background-color 0.2s ease-out;
  mix-blend-mode: difference;
  opacity: 0;
  will-change: transform;
}
.hero-magnetic-cursor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(59, 158, 219, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-magnetic-cursor.is-visible { opacity: 1; }
.hero-magnetic-cursor.is-hover {
  transform: translate(-50%, -50%) scale(1.8);
  border-color: rgba(59, 158, 219, 0.9);
  background-color: rgba(59, 158, 219, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .hero-magnetic-cursor { display: none; }
}

/* Touch-Swipe-Affordance auf Mobile: leicht erhöhter Tap-Bereich für Counter-Buttons */
@media (pointer: coarse) {
  .hero-counter-prev,
  .hero-counter-next {
    width: 40px;
    height: 40px;
  }
}

/* ─── Motion-Modes: Tagline-Pulse, Magnetic-Letters, Parallax-Smoothing ─── */

/* Parallax: glättet die Bewegung des Hero-Contents */
.hero-section.motion-parallax > .relative.z-20 {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Tagline-Hairline-Pulse: die beiden kurzen Linien neben dem Untertitel
   pulsieren in Akzent-Farbe — wirkt wie ein Industrie-Indikator */
@keyframes hero-tagline-pulse {
  0%, 100% { opacity: 0.5; transform: scaleX(1); }
  50%      { opacity: 1;   transform: scaleX(1.15); }
}
.hero-section.motion-tagline-pulse .reveal.inline-flex > span.h-px {
  transform-origin: center;
  animation: hero-tagline-pulse 2.4s ease-in-out infinite;
}
.hero-section.motion-tagline-pulse .reveal.inline-flex > span.h-px:last-child {
  animation-delay: 1.2s;
}
/* Tagline-Text bekommt ein dezentes "Indicator-Dot" Davor und Danach */
.hero-section.motion-tagline-pulse .reveal.inline-flex {
  position: relative;
}

/* Magnetic Letters: kurze Transition, damit Buchstaben "Schwung" haben */
.hero-section.motion-magnetic .hero-headline-line .char {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Auf Mobile (kein Hover): Magnetic deaktivieren — würde nur durch Touch
   getriggert und das nervt */
@media (hover: none), (pointer: coarse) {
  .hero-section.motion-magnetic .hero-headline-line .char { transition: none; }
}

/* Chrome gradient text */
.chrome-text {
  background: linear-gradient(135deg, #e8e8e8 0%, #c8c8c8 40%, #a0a0a0 60%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Diagonal section divider */
.diagonal-divider {
  height: 60px;
  background: linear-gradient(to bottom right, var(--color-bg-surface) 49.9%, var(--color-bg-primary) 50%);
}
.diagonal-divider-rev {
  height: 60px;
  background: linear-gradient(to bottom left, var(--color-bg-surface) 49.9%, var(--color-bg-primary) 50%);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  /* Verhindert dass Inhalte „aufpoppen" oder die Page-Höhe springt:
     will-change reserviert eine eigene Compositing-Schicht */
  will-change: opacity, transform;
}

/* Verfahren-Sidebar (Before/After + Quick-Contact) — sticky NUR auf Desktop.
   Auf Mobile/Tablet stack der Sidebar normal über/unter dem Hauptcontent,
   sonst klebt er beim Scrollen und überschneidet sich mit dem Text. */
@media (min-width: 1024px) {
  .verfahren-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

/* ──────────────────────────────────────────────────────────────────
   DEFENSIVE MOBILE FIXES — wirken auch wenn PHP-Dateien noch nicht
   neu hochgeladen sind oder Cache-Schichten alte HTML servieren.
   ────────────────────────────────────────────────────────────────── */

/* (1) Verfahren-Detailseite: sticky-Sidebar verursacht Overlap mit Hauptinhalt
   auf Mobile. Force position:static via attribute-selector (überschreibt inline). */
@media (max-width: 1023px) {
  .verfahren-sidebar,
  /* Fallback: alte HTML hat noch inline style="position:sticky;..." */
  .grid > div[style*="position:sticky"],
  .grid > div[style*="position: sticky"] {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
  }
  /* Sicherheits-Margin damit Sidebar + Main-Content sauber getrennt sind */
  .verfahren-sidebar,
  .grid > div[style*="position:sticky"],
  .grid > div[style*="position: sticky"] {
    margin-bottom: 2rem;
  }
}

/* (2) Mobile-Drawer Leistungen: flache Struktur, kein Toggle.
   Header-Link "LEISTUNGEN" + immer sichtbare Sub-Liste darunter. */
#mobile-drawer .mobile-leist-header {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #E8E8E8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.75rem 0;
  transition: color 0.15s ease;
}
#mobile-drawer .mobile-leist-header:hover,
#mobile-drawer .mobile-leist-header:focus-visible {
  color: #3B9EDB;
}
#mobile-drawer .mobile-leist-items {
  display: block;
  margin: 0 0 0.75rem 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(59, 158, 219, 0.35);
}
#mobile-drawer .mobile-leist-item {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  color: #C8C8C8;
  text-decoration: none;
  padding: 0.55rem 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
#mobile-drawer .mobile-leist-item:hover,
#mobile-drawer .mobile-leist-item:focus-visible {
  color: #3B9EDB;
  padding-left: 0.25rem;
}

/* (3) Prozess-Cards auf Front-Page: lange Wörter (Entmetallisierung,
   Glasperlenstrahlen) überlaufen die schmalen Mobile-Cards. Kleinere Schrift
   + erlaubtes Wort-Brechen damit alles in den Card-Container passt. */
@media (max-width: 640px) {
  /* Die Verfahren-Cards in der Sys-Box (grid-cols-2 sm:grid-cols-3 lg:grid-cols-6) */
  .grid.grid-cols-2 > a.group .font-heading.text-base,
  .grid.grid-cols-2 > a.group p.text-base {
    font-size: 0.78rem !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .grid.grid-cols-2 > a.group .text-xs {
    font-size: 0.65rem !important;
    line-height: 1.3;
  }
  /* Card-Padding etwas reduzieren für mehr Textraum */
  .grid.grid-cols-2 > a.group {
    padding: 0.75rem !important;
  }
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety: Wenn JS aus oder IntersectionObserver nicht supported → trotzdem sichtbar
   (verhindert dass auf alten Browsern nichts zu sehen ist) */
.no-js .reveal { opacity: 1; transform: translateY(0); }
/* Auf sehr schmalen Screens: Reveal-Distance kleiner (verhindert Layout-Shift-Gefühl) */
@media (max-width: 640px) {
  .reveal { transform: translateY(12px); transition-duration: 0.5s; }
}

/* Service card — modernisiert, Hero-konsistent (subtler Gradient + Akzent-Glow) */
.service-card {
  background: linear-gradient(135deg, #0F1E33 0%, #132238 60%, #050F1F 100%);
  border: 1px solid rgba(59, 158, 219, 0.12);
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 158, 219, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 158, 219, 0.5);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(59, 158, 219, 0.18),
    0 0 60px rgba(59, 158, 219, 0.12);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { color: var(--color-accent-sky); }
.service-card:hover .service-num { opacity: 0.18; }

/* Nav */
.nav-link {
  position: relative;
  color: var(--color-chrome);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-bright);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--color-chrome-light); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--color-accent-sky); }
.nav-link.active::after { width: 100%; background: var(--color-accent-sky); }

/* CTA Buttons — angeglichen an Hero-Style (Sora, mehr Padding, sanfter Shadow) */
.btn-primary {
  background: #3B9EDB;
  color: #050b1a;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: 4px;
  border: none;
  box-shadow: 0 6px 22px rgba(59, 158, 219, 0.30);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: #5BB1E5;
  color: #050b1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(59, 158, 219, 0.45);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  color: #E8E8E8;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 232, 232, 0.28);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: #3B9EDB;
  color: #ffffff;
  background: rgba(59, 158, 219, 0.08);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: scale(0.97); }

/* Section-Header-Pattern: Tagline mit pulsierendem Akzent-Dot
   Verwendung im Markup: <div class="section-tagline"><span class="dot"></span>OBERFLÄCHE · QUALITÄT</div> */
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #3B9EDB;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-bottom: 16px;
}
.section-tagline .dot {
  width: 6px;
  height: 6px;
  background: #3B9EDB;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(59, 158, 219, 0.7);
  animation: section-tagline-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes section-tagline-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.25); }
}

/* USP strip */
.usp-strip {
  background: var(--color-bg-raised);
  border-top: 1px solid rgba(30,123,196,0.2);
  border-bottom: 1px solid rgba(30,123,196,0.2);
}

/* Mobile nav drawer */
#mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#mobile-drawer.open { transform: translateX(0); }
#drawer-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* Scroll indicator */
@keyframes bounce-down {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.scroll-indicator { animation: bounce-down 2s infinite; }

/* Industry card */
.industry-card {
  background: var(--color-bg-surface);
  border: 1px solid rgba(200,200,200,0.08);
  border-top: 3px solid var(--color-accent);
  transition: transform 0.3s, box-shadow 0.3s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Nav Dropdown */
.nav-dd-parent { position: relative; }
.nav-dropdown { position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%) translateY(-6px); min-width:220px; background:var(--color-bg-raised); border:1px solid rgba(21,101,192,0.22); border-radius:4px; box-shadow:0 16px 48px rgba(0,0,0,0.55); opacity:0; visibility:hidden; transition:opacity 0.2s ease,transform 0.2s ease,visibility 0.2s; z-index:200; padding:6px 0; }
.nav-dd-parent:hover .nav-dropdown, .nav-dd-parent:focus-within .nav-dropdown { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-dd-header { display:block; padding:0.5rem 1.25rem; font-family:'Sora',sans-serif; font-weight:600; font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--color-accent-sky); transition:color 0.15s; }
.nav-dd-header:hover { color:var(--color-chrome-light); }
.nav-dd-item { display:block; padding:0.45rem 1.25rem; font-family:'Sora',sans-serif; font-size:0.85rem; color:var(--color-chrome-dark); transition:color 0.15s,background 0.15s; }
.nav-dd-item:hover { color:var(--color-chrome-light); background:rgba(21,101,192,0.1); }
.nav-dd-chevron { transition:transform 0.2s; }
.nav-dd-parent:hover .nav-dd-chevron { transform:rotate(180deg); }

/* Before/After Slider */
.before-after-slider { position:relative; }
.after-layer { position:absolute; inset:0; clip-path:inset(0 50% 0 0); }
.ba-handle { position:absolute; top:0; bottom:0; width:3px; background:var(--color-accent-bright); cursor:ew-resize; transform:translateX(-50%); }
.ba-handle-knob { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:36px; height:36px; border-radius:50%; background:var(--color-accent); border:2px solid #fff; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 12px rgba(0,0,0,0.4); }

/* FAQ */
.faq-item { border-bottom:1px solid rgba(200,200,200,0.1); }
.faq-answer { display:none; padding:0 0 1.25rem 0; }
.faq-item.open .faq-answer { display:block; }
.faq-icon { transition:transform 0.3s; }
.faq-item.open .faq-icon { transform:rotate(180deg); }

/* Gallery */
.gallery-item { transition:opacity 0.3s ease,transform 0.3s ease; cursor:pointer; }
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-overlay { opacity:0; transition:opacity 0.3s ease; }
/* Gallery Filter-Pills — Hero-Style: Pill mit Akzent-Glow im Hover */
.gallery-filter-tab {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;  /* Pill */
  border: 1px solid rgba(59, 158, 219, 0.30);
  background: rgba(15, 30, 51, 0.6);
  color: rgba(232, 232, 232, 0.78);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.gallery-filter-tab:hover {
  border-color: #3B9EDB;
  background: rgba(59, 158, 219, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 158, 219, 0.20);
}
.gallery-filter-tab.is-active,
.gallery-filter-tab[aria-current="page"] {
  background: #3B9EDB;
  border-color: #3B9EDB;
  color: #050b1a;
}

/* Value card (Über uns) */
.value-card {
  background: linear-gradient(135deg, #0F1E33 0%, #132238 100%);
  border: 1px solid rgba(59, 158, 219, 0.12);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.value-card:hover {
  border-color: rgba(59, 158, 219, 0.5);
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 56px rgba(59, 158, 219, 0.10);
}
.stat-number { font-family:'Sora',sans-serif; font-weight:700; font-size:3.5rem; line-height:1; background:linear-gradient(135deg,#3B9EDB,#1E7BC4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.industry-badge { display:flex; align-items:center; gap:0.75rem; padding:1rem 1.5rem; background:var(--color-bg-surface); border:1px solid rgba(200,200,200,0.08); border-radius:3px; transition:border-color 0.2s; }
.industry-badge:hover { border-color:rgba(30,123,196,0.3); }

/* Contact form */
.form-field { width:100%; background:var(--color-bg-raised); border:1px solid rgba(200,200,200,0.12); border-radius:3px; padding:0.75rem 1rem; font-family:'Sora',sans-serif; font-size:0.9rem; color:#F0F4F8; transition:border-color 0.2s,box-shadow 0.2s; outline:none; }
.form-field:focus { border-color:var(--color-accent-bright); box-shadow:0 0 0 3px rgba(30,123,196,0.15); }
.form-field::placeholder { color:var(--color-chrome-dark); }
.form-field:invalid:not(:placeholder-shown) { border-color:rgba(239,68,68,0.5); }
select.form-field option { background:var(--color-bg-raised); color:#F0F4F8; }
textarea.form-field { resize:vertical; min-height:130px; }
.form-label { display:block; font-family:'Sora',sans-serif; font-weight:600; font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--color-chrome); margin-bottom:0.4rem; }
.form-label .required { color:var(--color-accent-sky); margin-left:2px; }
.contact-info-card { background:var(--color-bg-surface); border:1px solid rgba(200,200,200,0.08); border-radius:4px; padding:1.5rem; }

/* Success overlay */
#success-overlay { display:none; position:fixed; inset:0; z-index:100; background:rgba(8,15,30,0.92); align-items:center; justify-content:center; }
#success-overlay.show { display:flex; }
.checkmark-circle { stroke-dasharray:166; stroke-dashoffset:166; animation:stroke 0.6s cubic-bezier(0.65,0,0.45,1) 0.4s forwards; }
.checkmark-check { stroke-dasharray:48; stroke-dashoffset:48; animation:stroke 0.3s cubic-bezier(0.65,0,0.45,1) 0.8s forwards; }
@keyframes stroke { 100% { stroke-dashoffset:0; } }

/* Legal pages */
.legal-card { background:var(--color-bg-surface); border:1px solid rgba(200,200,200,0.08); border-radius:4px; padding:2rem; }
.legal-card h2 { font-family:'Sora',sans-serif; font-weight:700; font-size:1.25rem; color:#E8E8E8; margin-bottom:1rem; padding-bottom:0.5rem; border-bottom:1px solid rgba(59,158,219,0.15); }
.legal-card h3 { font-family:'Sora',sans-serif; font-weight:600; font-size:1rem; color:#C8C8C8; margin-top:1.25rem; margin-bottom:0.5rem; letter-spacing:0.04em; }
.legal-card p, .legal-card address { font-family:'Sora',sans-serif; font-size:0.9rem; color:#8A8A8A; line-height:1.75; font-style:normal; }
.legal-card a { color:var(--color-accent-sky); transition:color 0.15s; }
.legal-card a:hover { color:var(--color-chrome-light); }
.legal-card ul { list-style:none; padding:0; margin:0; }
.legal-card ul li { font-family:'Sora',sans-serif; font-size:0.9rem; color:#8A8A8A; line-height:1.75; padding-left:1rem; position:relative; }
.legal-card ul li::before { content:'–'; position:absolute; left:0; color:var(--color-accent-sky); }
.legal-card ol { list-style:none; padding:0; margin:0.5rem 0; counter-reset:agb-counter; }
.legal-card ol li { font-family:'Sora',sans-serif; font-size:0.9rem; color:#8A8A8A; line-height:1.75; padding-left:1.5rem; position:relative; counter-increment:agb-counter; margin-bottom:0.5rem; }
.legal-card ol li::before { content:counter(agb-counter)'.'; position:absolute; left:0; color:var(--color-accent-sky); font-weight:600; }
.notice-box { background:rgba(21,101,192,0.07); border:1px solid rgba(21,101,192,0.25); border-radius:4px; padding:1rem 1.25rem; margin-bottom:1.5rem; }
.notice-box p { font-family:'Sora',sans-serif; font-size:0.82rem; color:#8A8A8A; line-height:1.7; margin:0; }
.toc-link { display:block; padding:0.35rem 0.75rem; font-family:'Sora',sans-serif; font-size:0.8rem; color:var(--color-chrome-dark); border-left:2px solid transparent; transition:color 0.15s,border-color 0.15s; }
.toc-link:hover { color:var(--color-chrome-light); border-left-color:var(--color-accent-sky); }

/* Site header nav overrides (light nav bg) */
#site-header .nav-link { color:#1a2a4a !important; }
#site-header .nav-link:hover { color:#1565C0 !important; }
#site-header .nav-link.active { color:#1565C0 !important; }
#site-header .nav-link::after { background:#1565C0 !important; }
#site-header .nav-dd-chevron { color:#1a2a4a; }
#site-header .nav-dd-item { color:#4a5568; }
#site-header .nav-dd-item:hover { color:#1565C0; background:rgba(21,101,192,0.08); }

/* Mobile dropdown */
.mobile-dd-sub { display:none; }
.mobile-dd-sub.open { display:block; }
.mobile-dd-chevron { transition:transform 0.2s; }
.mobile-dd-toggle.open .mobile-dd-chevron { transform:rotate(180deg); }

/* ─── USP Cards — Hero-konsistent mit Glow + sanftem Lift ───── */
.usp-card {
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.usp-card--outlined {
  background: linear-gradient(135deg, #0F1E33 0%, #132238 100%);
  border: 1px solid rgba(59, 158, 219, 0.20);
}
.usp-card--outlined:hover {
  border-color: rgba(59, 158, 219, 0.65);
  transform: translateY(-6px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(59, 158, 219, 0.15);
}
.usp-card--filled {
  background: linear-gradient(135deg, #1E7BC4 0%, #1565C0 60%, #0D3880 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.25);
}
.usp-card--filled:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(21, 101, 192, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.20);
}

/* ─── Trust Strip — Hero-konsistent ──────────────────────────── */
.trust-card {
  background: linear-gradient(135deg, #0F1E33 0%, #132238 100%);
  border: 1px solid rgba(59, 158, 219, 0.12);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-sky));
  opacity: 0.6;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.trust-card:hover {
  border-color: rgba(59, 158, 219, 0.5);
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(59, 158, 219, 0.10);
}
.trust-card:hover::before { transform: scaleX(1); opacity: 1; }
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(21, 101, 192, 0.12);
  border: 1px solid rgba(59, 158, 219, 0.25);
  color: var(--color-accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.trust-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--color-chrome-light);
  margin: 0 0 0.5rem;
}
.trust-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-chrome-dark);
  margin: 0;
}

/* ─── Testimonials — Hero-konsistent ─────────────────────────── */
.testimonial-card {
  position: relative;
  background: linear-gradient(135deg, #0F1E33 0%, #132238 100%);
  border: 1px solid rgba(59, 158, 219, 0.12);
  border-radius: 6px;
  padding: 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.testimonial-card:hover {
  border-color: rgba(59, 158, 219, 0.5);
  transform: translateY(-5px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(59, 158, 219, 0.10);
}
.testimonial-quote-mark {
  color: var(--color-accent);
  opacity: 0.35;
  flex-shrink: 0;
}
.testimonial-quote {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-chrome-light);
  margin: 0;
  font-style: normal;
  quotes: '\201E' '\201C';
}
.testimonial-quote::before { content: open-quote; color: var(--color-accent-sky); margin-right: 2px; }
.testimonial-quote::after  { content: close-quote; color: var(--color-accent-sky); margin-left: 2px; }
.testimonial-cite {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 200, 200, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}
.testimonial-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--color-chrome-light);
}
.testimonial-company {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  color: var(--color-chrome-dark);
}

/* ─── RFQ Details (collapsible) ─────────────────────────────── */
.rfq-details {
  border: 1px dashed rgba(59, 158, 219, 0.3);
  border-radius: 3px;
  background: rgba(21, 101, 192, 0.04);
}
.rfq-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-sky);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.rfq-summary::-webkit-details-marker { display: none; }
.rfq-summary svg { transition: transform 0.2s ease; flex-shrink: 0; }
.rfq-details[open] .rfq-summary svg { transform: rotate(90deg); }
.rfq-details[open] .rfq-summary { color: var(--color-chrome-light); border-bottom: 1px solid rgba(59, 158, 219, 0.2); }
.rfq-body { padding: 1.25rem 1rem 1rem; }

/* ─── Form Error Banner (ARIA-Live) ─────────────────────────── */
.form-error-banner {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 3px;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  color: #fca5a5;
}
.form-error-banner[hidden] { display: none !important; }

/* ─── Honeypot (für Menschen verstecken, für Bots sichtbar) ─── */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #182A42;
  border-top: 1px solid rgba(21, 101, 192, 0.35);
  padding: 1rem 1.5rem;
}
.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  color: var(--color-chrome-dark);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-banner__link {
  color: var(--color-accent-sky);
  text-decoration: underline;
  margin-left: 4px;
}
.cookie-banner__btn {
  background: #3B9EDB;
  color: #050b1a;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.7rem 1.55rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(59, 158, 219, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cookie-banner__btn:hover {
  background: #5BB1E5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 158, 219, 0.40);
}
.cookie-banner__btn:active { transform: scale(0.97); }

/* ─── Eloxal-Farbpalette ────────────────────────────────────── */
/* Kleine Swatches (Service-Card / Vorschau) */
.elox-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
/* Große Swatches (Detail-Sektion) */
.elox-color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.18), inset 0 -2px 6px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.elox-color-swatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}
.elox-color-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}
.elox-color-card:hover .elox-color-swatch {
  transform: translateY(-4px) scale(1.03);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.25), inset 0 -2px 6px rgba(0, 0, 0, 0.3), 0 12px 24px rgba(21, 101, 192, 0.35);
}
.elox-color-label {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--color-chrome-light);
  text-align: center;
  display: block;
}

/* Farben (eloxiertes Aluminium realistisch simuliert) */
.elox-swatch--natur,
.elox-swatch--natur.elox-color-swatch         { background: linear-gradient(135deg, #d4d6d8 0%, #b8bcc0 50%, #d4d6d8 100%); }
.elox-swatch--orange,
.elox-swatch--orange.elox-color-swatch        { background: linear-gradient(135deg, #e8732a 0%, #c95a18 50%, #d8651f 100%); }
.elox-swatch--blau,
.elox-swatch--blau.elox-color-swatch          { background: linear-gradient(135deg, #2c5aa0 0%, #1a3e7a 50%, #234b8c 100%); }
.elox-swatch--rot,
.elox-swatch--rot.elox-color-swatch           { background: linear-gradient(135deg, #b8362c 0%, #8a241c 50%, #a02d24 100%); }
.elox-swatch--grau,
.elox-swatch--grau.elox-color-swatch          { background: linear-gradient(135deg, #6a6e72 0%, #45494c 50%, #565a5d 100%); }
.elox-swatch--schwarz,
.elox-swatch--schwarz.elox-color-swatch       { background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 50%, #1a1a1a 100%); }
.elox-swatch--bronze-hell,
.elox-swatch--bronze-hell.elox-color-swatch   { background: linear-gradient(135deg, #b08a5c 0%, #8a6c44 50%, #9c7a50 100%); }
.elox-swatch--bronze-dunkel,
.elox-swatch--bronze-dunkel.elox-color-swatch { background: linear-gradient(135deg, #5a3f20 0%, #3a2818 50%, #4a3219 100%); }

/* ─── Prozess-Flow (4 Schritte) ─────────────────────────────── */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
}
@media (min-width: 640px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .flow-grid { grid-template-columns: repeat(4, 1fr); }
}
.flow-step {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid rgba(200, 200, 200, 0.08);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 123, 196, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.flow-step::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-sky));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.flow-step:hover::before { opacity: 1; }
.flow-num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent-sky), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.flow-step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-chrome-light);
  margin: 0 0 0.5rem;
}
.flow-step-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-chrome-dark);
  margin: 0;
}
/* Verbindungslinie zwischen den Schritten auf Desktop */
@media (min-width: 1024px) {
  .flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(59,158,219,0.5), rgba(59,158,219,0));
  }
}

/* ─── Sticky Quick-Contact-Box (single-di_verfahren) ────────── */
.quick-contact {
  background: linear-gradient(140deg, var(--color-bg-raised) 0%, var(--color-bg-surface) 100%);
  border: 1px solid rgba(30, 123, 196, 0.35);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.quick-contact__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quick-contact__status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quick-contact__status--open {
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: qc-pulse 2.4s ease-in-out infinite;
}
.quick-contact__status--closed {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
@keyframes qc-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.05); }
}
.quick-contact__status-label {
  color: var(--color-chrome-dark);
  font-weight: 600;
}
.quick-contact__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--color-chrome-light);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.quick-contact__promises {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.quick-contact__promises li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  color: var(--color-chrome-light);
}
.quick-contact__promises li svg { color: var(--color-accent-sky); flex-shrink: 0; }
.quick-contact__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--color-chrome-light);
  border: 1px solid rgba(200, 200, 200, 0.18);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.quick-contact__phone:hover {
  border-color: rgba(59, 158, 219, 0.6);
  color: var(--color-accent-sky);
  background: rgba(21, 101, 192, 0.08);
}
.quick-contact__phone svg { color: var(--color-accent-sky); }
.quick-contact__hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  color: var(--color-chrome-dark);
  text-align: center;
  justify-content: center;
}
.quick-contact__hours svg { color: var(--color-accent-sky); }

/* ─── RFQ-Hint (Email-Hinweis statt Upload) ─────────────────── */
.rfq-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(59, 158, 219, 0.08);
  border-left: 2px solid var(--color-accent-sky);
  border-radius: 2px;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-chrome-light);
}
.rfq-hint svg { color: var(--color-accent-sky); flex-shrink: 0; margin-top: 2px; }

/* ─── Mobile Floating Action Buttons ────────────────────────── */
.mobile-fab {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 9000;
}
.mobile-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.mobile-fab__btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.mobile-fab__btn--phone    { background: var(--color-accent); }
.mobile-fab__btn--whatsapp { background: #25D366; }

/* Auf Desktop ausblenden — Sticky-Box reicht */
@media (min-width: 1024px) {
  .mobile-fab { display: none; }
}
/* Cookie-Banner darüber → FAB nach oben schieben wenn Banner sichtbar */
.cookie-banner ~ .mobile-fab,
.mobile-fab:has(~ .cookie-banner[style*="display:none"]) {
  bottom: 1rem;
}

/* ─── ESA-IT Footer Logo (Inline-SVG + Wordmark) ─────────────── */
.esa-it-link {
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 6px rgba(59, 158, 219, 0.25));
}
.esa-it-link:hover,
.esa-it-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(59, 158, 219, 0.5));
}
.esa-it-link svg {
  flex-shrink: 0;
}
.esa-it-wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  /* Heller Gradient für dunklen Footer-Hintergrund: Akzent-Blau → Sky */
  background: linear-gradient(135deg, #3B9EDB 0%, #7BC7F0 70%, #B8E0FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Fallback wenn background-clip: text nicht supported wird */
@supports not (background-clip: text) {
  .esa-it-wordmark { color: #7BC7F0; -webkit-text-fill-color: #7BC7F0; }
}
/* Legacy-Klasse — falls auf einer Seite noch das alte <img> aktiv ist */
.esa-it-logo {
  height: 22px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.esa-it-link:hover .esa-it-logo,
.esa-it-link:focus-visible .esa-it-logo {
  opacity: 0.85;
  filter: grayscale(0);
}

/* ──────────────────────────────────────────────────────────────────
   HERO-SPLINE — DI-Bauteile 3D-Szene mit Sora-Typografie
   ────────────────────────────────────────────────────────────────── */
.hero-spline {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: #050b1a;
  overflow: hidden;
  /* Erzwingt dass nichts seitlich aus dem Hero rauslecken kann */
  max-width: 100vw;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
}
.hero-spline-bg {
  position: absolute;
  inset: 0;
}
.hero-spline-fallback {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at center, rgba(30, 123, 196, 0.20), transparent 70%),
    linear-gradient(180deg, #132238 0%, #050b1a 100%);
  transition: opacity 0.6s ease-out;
  /* Critical: nie Pointer-Events abfangen — sonst killt das Drag auf dem Canvas */
  pointer-events: none !important;
}
.hero-3d-active .hero-spline-fallback { opacity: 0; }

.hero-3d-canvas {
  position: absolute;        /* explizit absolute (war static → Stacking-Bug) */
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  z-index: 1;                /* immer über der Fallback */
  pointer-events: auto !important;
  /* Default-Touch-Action: auto (Scroll funktioniert). Auf Desktop überschreibt
     hero-parts-scene.js dann mit touch-action:none für volles Drag. */
  touch-action: auto;
  user-select: none;
  -webkit-user-select: none;
}
.hero-3d-canvas:active { cursor: grabbing; }
/* Auf Touch-Geräten: kein Grab-Cursor (passt nicht zu Touch-UX) */
@media (pointer: coarse) {
  .hero-3d-canvas { cursor: default; touch-action: auto !important; }
}

/* Overlay + Content müssen Events durchlassen damit Canvas drag bekommt */
.hero-spline-overlay { pointer-events: none !important; }
.hero-spline-content { pointer-events: none !important; }
/* Aber CTAs + Links innerhalb des Contents wieder klickbar machen */
.hero-spline-content a,
.hero-spline-content button { pointer-events: auto !important; }

.hero-spline-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(5, 11, 26, 0.65) 0%, rgba(5, 11, 26, 0.15) 55%, transparent 100%),
    linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.hero-spline-content {
  position: relative;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  max-width: 100%;
  /* Mobile: weniger horizontales Padding damit nichts überläuft */
  padding: 110px 16px 56px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
@media (min-width: 640px) {
  .hero-spline-content { max-width: 32rem; padding: 130px 32px 64px; }
}
@media (min-width: 768px) {
  .hero-spline-content { max-width: 38rem; padding: 140px 40px 80px; }
}
@media (min-width: 1024px) {
  .hero-spline-content { max-width: 52rem; padding: 150px 64px 88px; }
}

/* Fade-up Animation */
@keyframes hero-spline-fade-up {
  0%   { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.hero-spline .fade-up {
  opacity: 0;
  animation: hero-spline-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--anim-delay, 0s);
}

/* Tagline (mit Glow-Dot) */
.hero-spline-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3B9EDB;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  max-width: 100%;
  flex-wrap: wrap;
}
@media (min-width: 640px) {
  .hero-spline-tagline {
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.28em;
    margin-bottom: 28px;
  }
}
.hero-spline-tagline .dot {
  width: 6px;
  height: 6px;
  background: #3B9EDB;
  border-radius: 50%;
  box-shadow: 0 0 14px #3B9EDB, 0 0 4px #3B9EDB;
  animation: hero-spline-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-spline-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

/* Hauptüberschrift */
.hero-spline-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  /* Font-Size etwas moderater damit "WERTSCHÖPFUNG" in eine Zeile passt
     ohne zerhackt zu werden. Untere Grenze tief für 320px-iPhones. */
  font-size: clamp(1.65rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  /* KEIN Zerhacken in der Mitte des Wortes ("WERTSCHÖPFU/NG" verboten).
     Lange Wörter bleiben zusammen; im Notfall dürfen sie über den
     Container hinausragen, aber niemals mitten drin gebrochen werden. */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: manual;
}
@media (min-width: 640px) { .hero-spline-h1 { margin: 0 0 24px; } }
.hero-spline-h1 .line1 { display: block; color: #F0F4F8; }
.hero-spline-h1 .line2 { display: block; color: #3B9EDB; }

/* Subtitle */
.hero-spline-sub {
  color: rgba(232, 232, 232, 0.88);
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.92rem, 1.7vw, 1.3rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 38rem;
  margin: 0 0 24px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  overflow-wrap: break-word;
}
@media (min-width: 640px) { .hero-spline-sub { margin: 0 0 32px; } }
.hero-spline-sub strong, .hero-spline-sub .text-chrome-light {
  color: #ffffff;
  font-weight: 500;
}

/* CTAs */
.hero-spline-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
@media (min-width: 640px) {
  .hero-spline-ctas { gap: 14px; margin-bottom: 36px; }
}
.hero-spline-ctas a {
  pointer-events: auto;
  display: inline-block;
  /* Mobile: weniger Padding damit beide CTAs nebeneinander passen */
  padding: 13px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  border-radius: 4px;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
@media (min-width: 640px) {
  .hero-spline-ctas a { padding: 16px 28px; font-size: 13px; letter-spacing: 0.12em; }
}
@media (min-width: 768px) {
  .hero-spline-ctas a { padding: 18px 34px; font-size: 14px; }
}
.hero-spline-btn-primary {
  background: #3B9EDB;
  color: #050b1a;
  box-shadow: 0 8px 28px rgba(59, 158, 219, 0.35);
}
.hero-spline-btn-primary:hover {
  background: #5BB1E5;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(59, 158, 219, 0.5);
}
.hero-spline-btn-primary:active { transform: scale(0.97); }

.hero-spline-btn-secondary {
  background: #ffffff;
  color: #132238;
}
.hero-spline-btn-secondary:hover {
  background: #E8E8E8;
  transform: translateY(-2px);
}
.hero-spline-btn-secondary:active { transform: scale(0.97); }

/* Trust-Line */
.hero-spline-trust {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;          /* Trennpunkte dürfen umbrechen auf Mobile */
  gap: 6px;
  color: rgba(160, 170, 191, 0.72);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
  max-width: 100%;
}
@media (min-width: 640px) {
  .hero-spline-trust {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.22em;
  }
}
.hero-spline-trust .dot {
  width: 4px;
  height: 4px;
  background: #3B9EDB;
  border-radius: 50%;
}

/* ──────────────────────────────────────────────────────────────────
   FRONT-PAGE: Transparente Navbar über dem Hero
   Greift via body.home → nur auf der Startseite aktiv
   ────────────────────────────────────────────────────────────────── */
body.home > header {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent !important;
}
/* Top-Bar mit Mail/Öffnungszeiten — leicht abgedunkelt für Lesbarkeit */
body.home > header > div:first-child {
  background: rgba(5, 11, 26, 0.55) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
/* Haupt-Nav-Bar transparent über dem 3D-Hero */
body.home > header > div:nth-child(2) {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
/* Nav-Links auf Front-Page hell-weiß.
   Muss #site-header .nav-link aus Zeile 462 ff. überstechen → wir nehmen
   body.home + #site-header → Spezifität (0,1,2,1) schlägt (0,1,1,0). */
body.home #site-header .nav-link,
body.home #site-header a.nav-link,
body.home #site-header button.nav-link {
  color: #ffffff !important;
  opacity: 1 !important;
}
body.home #site-header .nav-link:hover,
body.home #site-header a.nav-link:hover,
body.home #site-header button.nav-link:hover {
  color: #3B9EDB !important;
}
body.home #site-header .nav-link.active {
  color: #3B9EDB !important;
}
body.home #site-header .nav-link::after {
  background: #3B9EDB !important;
}

/* Dropdown-Chevron + Dropdown-Items */
body.home #site-header .nav-dd-chevron { color: #ffffff !important; }
/* Das Dropdown selbst bleibt dunkel — Items dort dürfen weiterhin hell sein
   (es hat eigenen dunklen Hintergrund, kein Konflikt) */

/* Top-Bar (E-Mail + Öffnungszeiten) heller */
body.home > header > div:first-child a,
body.home > header > div:first-child span {
  color: #E8E8E8 !important;
}

/* Hamburger-Linien hell */
body.home #hamburger span { background: #ffffff !important; }

/* Sprach-Umschalter (DE/EN): inaktive Sprache hell mit hellem Rand */
body.home > header > div:nth-child(2) a:not([aria-current="true"]):not(.btn-primary):not(.nav-link) {
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
body.home > header > div:nth-child(2) a:not([aria-current="true"]):not(.btn-primary):not(.nav-link):hover {
  color: #ffffff !important;
  border-color: #3B9EDB !important;
}
/* Spacer-Padding: weil Header absolute, nimmt der nicht mehr Platz weg.
   Auf Front-Page liegt der Hero EXKLUSIV oben (min-h-screen). Passt. */

@media (prefers-reduced-motion: reduce) {
  .hero-3d-canvas { display: none !important; }
  .hero-spline .fade-up { animation: none !important; opacity: 1 !important; }
  .hero-spline-tagline .dot { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-slide, .hero-canvas, .hero-headline-line .char,
  .service-card, .btn-primary, .btn-ghost,
  .scroll-indicator, .nav-link::after, .nav-dropdown, .nav-dd-chevron,
  .gallery-item, .value-card, .form-field, .usp-card, .trust-card,
  .testimonial-card, .rfq-summary svg, .esa-it-logo, .elox-color-swatch,
  .flow-step, .quick-contact__status--open, .mobile-fab__btn,
  .checkmark-circle, .checkmark-check { transition: none; animation: none; }
  /* WebGL-Hero komplett deaktivieren — Fallback-Slider übernimmt */
  .hero-canvas { display: none; }
  .hero-section.webgl-active .hero-slider { opacity: 1; }
  .hero-magnetic-cursor { display: none; }
  /* Motion-Modes: alle Bewegungs-Extras aus */
  .hero-section.motion-tagline-pulse .reveal.inline-flex > span.h-px { animation: none; opacity: 1; }
  .hero-section.motion-parallax > .relative.z-20 { transform: none !important; transition: none; }
  .hero-section.motion-magnetic .hero-headline-line .char { transform: none !important; }
}

/* ──────────────────────────────────────────────────────────────────
   GALERIE-PAGE — Verfahren-kategorisiertes Layout, Hero-konsistent
   ────────────────────────────────────────────────────────────────── */
.gallery-page { background: #050b1a; }

/* Page-Header */
.gallery-page-header {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(180deg, #132238 0%, #050b1a 100%);
  overflow: hidden;
}
@media (min-width: 768px) { .gallery-page-header { padding: 9rem 2.5rem 5rem; } }
.gallery-page-header-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(59, 158, 219, 0.12), transparent 70%),
    linear-gradient(rgba(59, 158, 219, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 158, 219, 0.03) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.gallery-page-header-inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}
.gallery-breadcrumb { margin-bottom: 1.5rem; }
.gallery-breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; color: var(--color-chrome-dark);
  text-transform: uppercase; letter-spacing: 0.15em;
}
.gallery-breadcrumb a { color: var(--color-chrome-dark); text-decoration: none; transition: color 0.2s; }
.gallery-breadcrumb a:hover { color: #3B9EDB; }
.gallery-breadcrumb li:last-child span { color: #3B9EDB; }
.gallery-breadcrumb svg { color: rgba(160, 170, 191, 0.4); }

.gallery-page-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #F0F4F8;
  margin: 0.5rem 0 1.5rem;
}
.gallery-page-intro {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(232, 232, 232, 0.78);
  max-width: 42rem;
  margin: 0 0 2.5rem;
}

/* Jump-Navigation + View-Toggle */
.gallery-nav,
.gallery-view-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.gallery-nav-label,
.gallery-view-toggle-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-chrome-dark);
  margin-right: 0.5rem;
}

/* Gallery-Container: View-Switching via data-view Attribute */
.gallery-container {
  background: #050b1a;
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .gallery-container { padding: 5rem 2.5rem; } }

/* View toggle: zeigt nur die jeweils aktive Ansicht */
.gallery-view { display: none; }
.gallery-container[data-view="all"] .gallery-view--all { display: block; }
.gallery-container[data-view="by"]  .gallery-view--by  { display: block; }

/* "Alle Bilder" View hat eigenen Container, kein extra padding */
.gallery-view--all {
  max-width: 80rem;
  margin: 0 auto;
}

/* Sektionen — innerhalb der "Nach Verfahren"-View */
.gallery-view--by {
  /* Stack der 6 Sektionen */
}

.gallery-section {
  max-width: 80rem;
  margin: 0 auto 5rem;
  scroll-margin-top: 6rem;  /* Anchor-Link Offset für sticky header */
}
.gallery-section:last-child { margin-bottom: 0; }

.gallery-section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: 50rem;
}
@media (min-width: 768px) {
  .gallery-section-header {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
  }
}
.gallery-section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #F0F4F8;
  margin: 0;
}
.gallery-section-desc {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(232, 232, 232, 0.72);
  max-width: 38rem;
  margin: 0;
  grid-column: 1;
}
.gallery-section-cta {
  align-self: end;
  white-space: nowrap;
  font-size: 0.75rem !important;
  padding: 0.7rem 1.25rem !important;
}
@media (min-width: 768px) {
  .gallery-section-cta { grid-column: 2; grid-row: 1 / span 2; }
}

/* Photo-Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Gallery Item */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(59, 158, 219, 0.15);
  background: #132238;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover .gallery-item-frame {
  border-color: rgba(59, 158, 219, 0.6);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(59, 158, 219, 0.20),
    0 0 60px rgba(59, 158, 219, 0.10);
}
.gallery-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-photo { transform: scale(1.06); }

/* Before/After Split */
.gallery-split {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gallery-split-half {
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-split-half { transform: scale(1.05); }
.gallery-split-half:first-child { border-right: 1px solid rgba(0, 0, 0, 0.4); }
.gallery-split-label {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 2px;
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffffff;
}
.gallery-split-label--after { color: #3B9EDB; }

/* Overlay on Hover */
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(5, 11, 26, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #3B9EDB;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #F0F4F8;
}

/* Caption unterhalb */
.gallery-caption {
  padding: 0.85rem 0 0;
}
.gallery-caption-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #E8E8E8;
  margin: 0 0 0.15rem;
}
.gallery-caption-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3B9EDB;
  margin: 0;
}

/* Notice */
.gallery-notice {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  text-align: center;
}
.gallery-notice p {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  color: var(--color-chrome-dark);
  margin: 0;
}
.gallery-notice a {
  color: #3B9EDB;
  text-decoration: none;
  margin-left: 0.5rem;
  transition: color 0.2s ease;
}
.gallery-notice a:hover { color: #5BB1E5; }

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-item:hover,
  .gallery-photo,
  .gallery-item:hover .gallery-photo,
  .gallery-split-half,
  .gallery-item:hover .gallery-split-half { transform: none !important; transition: none !important; }
}
