/* ============================================================
   LCV LACKIERCENTER VIERSEN — Stylesheet
   ============================================================ */

/* ============================================================
   0. LOCAL FONTS — Inter (Variable) + Oswald (Variable)
   Kein Aufruf externer Server, DSGVO-konform.
   ============================================================ */

/* Inter latin-ext (ä ö ü ß + weitere westeuropäische Zeichen) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter latin (Grundzeichen + Umlaute) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Oswald latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('./fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Oswald latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('./fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --orange:        #f17d00;
  --blue:          #004f9f;
  --dark:          #0d0d0d;
  --dark-1:        #111111;
  --dark-2:        #161616;
  --dark-3:        #1a1a1a;
  --dark-4:        #1e1e1e;
  --dark-footer:   #0a0a0a;

  --text-white:    #ffffff;
  --text-muted:    #aaaaaa;
  --text-dim:      #666666;

  --font-headline: 'Inter', sans-serif;
  --font-body:     'Oswald', sans-serif;

  --nav-height:    80px;
  --radius-sm:     3px;
  --radius-md:     4px;

  --ease:          0.3s ease;
}

/* ============================================================
   2. CONTAINER UTILITY
   Backgrounds always full-width; content constrained to
   --container-max centered with --container-padding gutters.
   ============================================================ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Scroll offset for sticky nav */
[id] {
  scroll-margin-top: var(--nav-height);
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 16px 36px;
  transition: opacity var(--ease), transform var(--ease);
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
}

/* ============================================================
   4. SHARED / UTILITY
   ============================================================ */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.section-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

.accent-line {
  width: 80px;
  height: 4px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease);
}

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--ease);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--text-white);
}

.nav-cta {
  padding: 10px 24px;
  font-size: 13px;
  flex-shrink: 0;
}

/* Hide mobile-only CTA in nav links on desktop */
.nav-cta-mobile {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  height: 780px;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  background-image: url('./images/openart-image_hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  animation: glitch-shake 10s linear infinite;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.53);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.hero-overlay > .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(241, 125, 0, 0.13);
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 2px;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(42px, 6.7vw, 96px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.0;
  max-width: 1034px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  color: #cccccc;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

/* ============================================================
   HERO — GLITCH EFFECT
   Intermittent chromatic-aberration glitch every ~10 seconds.
   Two ghost layers (cyan + magenta) slide across clipped
   horizontal slices of the hero image.
   ============================================================ */

/* Ghost layers — same image, color-shifted, clipped */
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./images/openart-image_hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
}

/* Cyan channel */
.hero-bg::before {
  mix-blend-mode: screen;
  filter: hue-rotate(165deg) saturate(5) brightness(1.5);
  animation: glitch-layer-1 10s linear infinite;
}

/* Magenta channel */
.hero-bg::after {
  mix-blend-mode: screen;
  filter: hue-rotate(-40deg) saturate(5) brightness(1.5);
  animation: glitch-layer-2 10s linear infinite 0.07s;
}

/* Subtle whole-image shake during the glitch window */
@keyframes glitch-shake {
  0%,  79%, 95%, 100% { transform: translate(0, 0); }
  80%                  { transform: translate(-2px,  1px); }
  82%                  { transform: translate( 3px, -1px); }
  84%                  { transform: translate(-1px,  2px); }
  86%                  { transform: translate( 2px, -2px); }
  88%                  { transform: translate(-3px,  0px); }
  90%                  { transform: translate( 2px,  1px); }
  92%                  { transform: translate(-1px, -1px); }
  94%                  { transform: translate( 0px,  0px); }
}

/* Cyan ghost — horizontal slice jumps */
@keyframes glitch-layer-1 {
  0%,   79% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
  80%        { opacity: 1; clip-path: inset(38% 0 42% 0); transform: translate(-7px,  0); }
  82%        { opacity: 1; clip-path: inset(62% 0 18% 0); transform: translate( 6px,  0); }
  84%        { opacity: 1; clip-path: inset(12% 0 74% 0); transform: translate(-5px,  3px); }
  86%        { opacity: 1; clip-path: inset(78% 0  6% 0); transform: translate( 7px, -2px); }
  88%        { opacity: 1; clip-path: inset(48% 0 28% 0); transform: translate(-4px,  0); }
  90%        { opacity: 1; clip-path: inset(22% 0 62% 0); transform: translate( 5px,  1px); }
  92%        { opacity: 1; clip-path: inset(68% 0 16% 0); transform: translate(-6px,  0); }
  94%, 100%  { opacity: 0; clip-path: inset(0 0 100% 0);  transform: translate(0); }
}

/* Magenta ghost — offset timing from cyan */
@keyframes glitch-layer-2 {
  0%,   79% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
  81%        { opacity: 1; clip-path: inset(55% 0 22% 0); transform: translate( 8px, -1px); }
  83%        { opacity: 1; clip-path: inset(16% 0 68% 0); transform: translate(-9px,  0); }
  85%        { opacity: 1; clip-path: inset(72% 0 12% 0); transform: translate( 6px,  2px); }
  87%        { opacity: 1; clip-path: inset(28% 0 52% 0); transform: translate(-7px, -1px); }
  89%        { opacity: 1; clip-path: inset( 8% 0 78% 0); transform: translate( 8px,  0); }
  91%        { opacity: 1; clip-path: inset(52% 0 32% 0); transform: translate(-5px,  1px); }
  93%        { opacity: 1; clip-path: inset(82% 0  4% 0); transform: translate( 6px, -2px); }
  95%, 100%  { opacity: 0; clip-path: inset(0 0 100% 0);  transform: translate(0); }
}

/* ============================================================
   DATENSCHUTZ PAGE-HEADER — INTENSIFIED GLITCH
   5s cycle, two burst windows, thin slices, hard shifts +
   skewX for that proper broken-signal feel.
   ============================================================ */

.page-header-bg--glitch {
  position: relative;
  animation: glitch-shake 10s linear infinite;
}

.page-header-bg--glitch::before,
.page-header-bg--glitch::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
}

/* Cyan channel */
.page-header-bg--glitch::before {
  mix-blend-mode: screen;
  filter: hue-rotate(165deg) saturate(5) brightness(1.5);
  animation: glitch-layer-1 10s linear infinite;
}

/* Magenta channel */
.page-header-bg--glitch::after {
  mix-blend-mode: screen;
  filter: hue-rotate(-40deg) saturate(5) brightness(1.5);
  animation: glitch-layer-2 10s linear infinite 0.07s;
}

/* Whole-image shake + skew — two burst windows */
@keyframes dsg-shake {
  0%,  18%, 34%, 66%, 86%, 100% { transform: translate(0, 0) skewX(0deg); }
  /* Burst 1 */
  20% { transform: translate(-4px,  1px) skewX(-0.6deg); }
  22% { transform: translate( 5px, -2px) skewX( 0.5deg); }
  24% { transform: translate(-6px,  0px) skewX(-1.0deg); }
  26% { transform: translate( 4px,  2px) skewX( 0.4deg); }
  28% { transform: translate(-5px, -1px) skewX(-0.7deg); }
  30% { transform: translate( 6px,  0px) skewX( 0.9deg); }
  32% { transform: translate(-3px,  1px) skewX(-0.3deg); }
  /* Burst 2 */
  68% { transform: translate( 5px, -2px) skewX( 0.7deg); }
  70% { transform: translate(-7px,  2px) skewX(-1.1deg); }
  72% { transform: translate( 6px, -3px) skewX( 0.6deg); }
  74% { transform: translate(-4px,  0px) skewX(-0.8deg); }
  76% { transform: translate( 7px,  1px) skewX( 1.0deg); }
  78% { transform: translate(-5px, -2px) skewX(-0.5deg); }
  80% { transform: translate( 4px,  0px) skewX( 0.6deg); }
  82% { transform: translate(-3px,  1px) skewX(-0.4deg); }
  84% { transform: translate( 5px, -1px) skewX( 0.3deg); }
}

/* Cyan ghost — thin slices, hard jumps, two bursts */
@keyframes dsg-glitch-1 {
  0%,  18%, 34%, 66%, 87%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
  /* Burst 1 */
  20% { opacity: 1; clip-path: inset(24% 0 73% 0); transform: translate(-14px,  1px); }
  21% { opacity: 1; clip-path: inset(68% 0 28% 0); transform: translate( 17px,  0);   }
  22% { opacity: 1; clip-path: inset(10% 0 87% 0); transform: translate(-12px,  2px); }
  23% { opacity: 1; clip-path: inset(84% 0  7% 0); transform: translate( 16px, -1px); }
  24% { opacity: 1; clip-path: inset(44% 0 53% 0); transform: translate(-18px,  0);   }
  25% { opacity: 1; clip-path: inset(57% 0 39% 0); transform: translate( 13px,  1px); }
  26% { opacity: 1; clip-path: inset(18% 0 79% 0); transform: translate(-15px, -2px); }
  27% { opacity: 1; clip-path: inset(78% 0 17% 0); transform: translate( 14px,  0);   }
  28% { opacity: 1; clip-path: inset(35% 0 61% 0); transform: translate(-16px,  1px); }
  30% { opacity: 1; clip-path: inset(63% 0 31% 0); transform: translate( 11px, -1px); }
  32% { opacity: 1; clip-path: inset(50% 0 46% 0); transform: translate( -9px,  0);   }
  /* Burst 2 */
  68% { opacity: 1; clip-path: inset(15% 0 82% 0); transform: translate(-16px,  2px); }
  69% { opacity: 1; clip-path: inset(74% 0 20% 0); transform: translate( 19px, -1px); }
  70% { opacity: 1; clip-path: inset(39% 0 57% 0); transform: translate(-14px,  0);   }
  71% { opacity: 1; clip-path: inset(89% 0  5% 0); transform: translate( 17px,  2px); }
  72% { opacity: 1; clip-path: inset( 5% 0 92% 0); transform: translate(-20px, -1px); }
  73% { opacity: 1; clip-path: inset(57% 0 39% 0); transform: translate( 15px,  0);   }
  74% { opacity: 1; clip-path: inset(28% 0 69% 0); transform: translate(-17px,  1px); }
  76% { opacity: 1; clip-path: inset(66% 0 29% 0); transform: translate( 13px, -2px); }
  78% { opacity: 1; clip-path: inset(47% 0 49% 0); transform: translate(-12px,  0);   }
  80% { opacity: 1; clip-path: inset(21% 0 76% 0); transform: translate( 16px,  1px); }
  82% { opacity: 1; clip-path: inset(81% 0 13% 0); transform: translate(-10px, -1px); }
  84% { opacity: 1; clip-path: inset(54% 0 42% 0); transform: translate( 14px,  0);   }
  86% { opacity: 0.4; clip-path: inset(38% 0 59% 0); transform: translate( -8px,  1px); }
}

/* Magenta ghost — offset by half a step from cyan */
@keyframes dsg-glitch-2 {
  0%,  19%, 35%, 67%, 88%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
  /* Burst 1 */
  21% { opacity: 1; clip-path: inset(55% 0 41% 0); transform: translate( 16px, -1px); }
  22% { opacity: 1; clip-path: inset(16% 0 81% 0); transform: translate(-18px,  0);   }
  23% { opacity: 1; clip-path: inset(73% 0 22% 0); transform: translate( 14px,  2px); }
  24% { opacity: 1; clip-path: inset(29% 0 68% 0); transform: translate(-19px, -1px); }
  25% { opacity: 1; clip-path: inset( 8% 0 89% 0); transform: translate( 17px,  0);   }
  26% { opacity: 1; clip-path: inset(52% 0 44% 0); transform: translate(-13px,  1px); }
  27% { opacity: 1; clip-path: inset(83% 0 12% 0); transform: translate( 15px, -2px); }
  29% { opacity: 1; clip-path: inset(40% 0 56% 0); transform: translate(-16px,  0);   }
  31% { opacity: 1; clip-path: inset(61% 0 33% 0); transform: translate( 12px,  1px); }
  33% { opacity: 0.5; clip-path: inset(22% 0 74% 0); transform: translate(-10px,  0); }
  /* Burst 2 */
  69% { opacity: 1; clip-path: inset(48% 0 47% 0); transform: translate( 18px,  1px); }
  70% { opacity: 1; clip-path: inset(12% 0 85% 0); transform: translate(-20px, -1px); }
  71% { opacity: 1; clip-path: inset(78% 0 17% 0); transform: translate( 16px,  0);   }
  72% { opacity: 1; clip-path: inset(33% 0 63% 0); transform: translate(-14px,  2px); }
  73% { opacity: 1; clip-path: inset(92% 0  3% 0); transform: translate( 19px, -1px); }
  75% { opacity: 1; clip-path: inset(60% 0 35% 0); transform: translate(-15px,  0);   }
  77% { opacity: 1; clip-path: inset(24% 0 72% 0); transform: translate( 17px,  1px); }
  79% { opacity: 1; clip-path: inset(70% 0 25% 0); transform: translate(-13px, -2px); }
  81% { opacity: 1; clip-path: inset(42% 0 54% 0); transform: translate( 15px,  0);   }
  83% { opacity: 1; clip-path: inset(18% 0 79% 0); transform: translate(-11px,  1px); }
  85% { opacity: 1; clip-path: inset(85% 0 10% 0); transform: translate( 12px, -1px); }
  87% { opacity: 0.3; clip-path: inset(50% 0 46% 0); transform: translate( -9px,  0); }
}

/* ============================================================
   7. STATS
   ============================================================ */
.stats {
  background: var(--orange);
  min-height: 220px;
}

.stats-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 220px;
  display: flex;
  align-items: center;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 48px;
}

.stat-number {
  font-family: var(--font-body);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.27);
  flex-shrink: 0;
}

/* ============================================================
   8. LEISTUNGEN
   ============================================================ */
.services {
  background: var(--dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.services > .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   LEISTUNGEN — Automotive Paint Shimmer (CSS-only)
   ::before  →  slowly drifting brand-colour depth blobs
                (like light reflecting inside metallic paint)
   ::after   →  diagonal sheen sweep every ~11 s
                (like a studio light travelling across a
                freshly polished car panel)
   ============================================================ */

/* Colour-depth layer */
.services::before {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 75% at 10% 45%, rgba(0, 79, 159, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 55% 60% at 90% 60%, rgba(0, 79, 159, 0.40) 0%, transparent 58%),
    radial-gradient(ellipse 45% 50% at 60% 15%, rgba(241, 125, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 35% 80%, rgba(0, 79, 159, 0.28) 0%, transparent 60%);
  animation: paint-float 22s ease-in-out infinite alternate;
}

/* Metallic sheen sweep */
.services::after {
  content: '';
  position: absolute;
  top: 0;
  left: -65%;
  width: 230%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    108deg,
    transparent            26%,
    rgba(255,255,255,0.06) 38%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0.06) 62%,
    transparent            74%
  );
  animation: metallic-sheen 11s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 2s;
}

@keyframes paint-float {
  0%   { transform: translate(0,    0)    scale(1);    }
  30%  { transform: translate( 3%,  2%)   scale(1.06); }
  60%  { transform: translate(-2%,  5%)   scale(0.96); }
  100% { transform: translate( 4%, -2%)   scale(1.04); }
}

@keyframes metallic-sheen {
  0%,  18% { transform: translateX(0%);    opacity: 0; }
  22%       { opacity: 1; }
  78%       { opacity: 1; }
  82%, 100% { transform: translateX(100%); opacity: 0; }
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.services-row--full {
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--blue);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 3px solid var(--orange);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.card-accent {
  width: 36px;
  height: 3px;
  background: var(--orange);
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

/* ============================================================
   9. ABLAUF / PROZESS
   ============================================================ */
.process {
  background: var(--dark-1);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.process > .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* FloatingLines WebGL canvas */
.floating-lines-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
  z-index: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.step-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Orange top border slides in on hover */
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:nth-child(odd)  { background: var(--dark-3); }
.step-card:nth-child(even) { background: var(--dark-4); }

.step-number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.step-line {
  width: 32px;
  height: 3px;
  background: var(--orange);
}

.step-card h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================================
   10. GALERIE
   ============================================================ */
.gallery {
  background: var(--dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.gallery > .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* Paint shimmer — reuse same keyframes as .services */
.gallery::before {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 75% at 10% 45%, rgba(0, 79, 159, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 55% 60% at 90% 60%, rgba(0, 79, 159, 0.40) 0%, transparent 58%),
    radial-gradient(ellipse 45% 50% at 60% 15%, rgba(241, 125, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 35% 80%, rgba(0, 79, 159, 0.28) 0%, transparent 60%);
  animation: paint-float 22s ease-in-out infinite alternate-reverse;
}

.gallery::after {
  content: '';
  position: absolute;
  top: 0;
  left: -65%;
  width: 230%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    108deg,
    transparent            26%,
    rgba(255,255,255,0.06) 38%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0.06) 62%,
    transparent            74%
  );
  animation: metallic-sheen 11s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 9s;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  background: var(--dark-3);
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-img:hover img {
  transform: scale(1.04);
}

/* ============================================================
   11. CTA
   ============================================================ */
.cta {
  width: 100%;
  overflow: hidden;
}

.cta-bg {
  width: 100%;
  height: 520px;
  background-image: url('./images/openart-image_cta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.67);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
}

.cta-overlay > .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta-overlay h2 {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
footer {
  background: var(--dark-footer);
  padding: 60px 0;
}

footer > .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 380px;
  flex-shrink: 0;
}

.footer-logo {
  height: 72px;
  width: auto;
  align-self: flex-start;
}

.footer-accent-line {
  width: 36px;
  height: 3px;
  background: var(--orange);
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #888888;
  line-height: 1.7;
}

.footer-spacer {
  flex: 1;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col li,
.footer-col a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-col a:hover {
  color: var(--text-white);
}

.footer-link-highlight {
  color: var(--orange) !important;
}

.footer-link-highlight:hover {
  color: #ff9a2e !important;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #222222;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-bottom span {
  font-family: var(--font-body);
  font-size: 12px;
  color: #555555;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-legal a:hover {
  color: var(--text-white);
}

/* ============================================================
   13. SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(241, 125, 0, 0.4);
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTop:hover {
  background: #d96e00;
  transform: translateY(-3px);
}

/* ============================================================
   14. SCROLL REVEAL & ENTRANCE ANIMATIONS
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ---- Hero — staggered CSS entrance on page load ---- */
.hero-overlay .badge        { animation: heroFadeUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.3s  both; }
.hero-overlay h1            { animation: heroFadeUp 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.5s  both; }
.hero-overlay .accent-line  { animation: heroFadeUp 0.55s ease                          0.78s both; }
.hero-overlay .hero-sub     { animation: heroFadeUp 0.65s ease                          0.9s  both; }
.hero-overlay .hero-buttons { animation: heroFadeUp 0.65s ease                          1.1s  both; }

/* ---- Scroll-reveal base classes (added via JS) ---- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.65s ease,
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-scale-in.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ---- Respect user's motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .anim-fade-left,
  .anim-scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-overlay .badge,
  .hero-overlay h1,
  .hero-overlay .accent-line,
  .hero-overlay .hero-sub,
  .hero-overlay .hero-buttons {
    animation: none !important;
    opacity: 1 !important;
  }

  .hero-bg,
  .hero-bg::before,
  .hero-bg::after {
    animation: none !important;
  }

  .hero-bg::before,
  .hero-bg::after,
  .page-header-bg--glitch,
  .page-header-bg--glitch::before,
  .page-header-bg--glitch::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .services::before,
  .services::after,
  .gallery::before,
  .gallery::after,
  .legal-content::before,
  .legal-content::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .page-header-overlay .badge,
  .page-header-overlay h1,
  .page-header-overlay .accent-line,
  .page-header-overlay .page-header-sub {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   15. IMPRESSUM / LEGAL SUBPAGES
   ============================================================ */

/* Page Header — hero-style banner for subpages */
.page-header {
  height: 780px;
  width: 100%;
  overflow: hidden;
}

.page-header-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 0;
}

.page-header-overlay > .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-header-overlay h1 {
  font-family: var(--font-headline);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.0;
}

.page-header-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: #cccccc;
}

/* Page Header entrance animations (reuse heroFadeUp keyframe) */
.page-header-overlay .badge        { animation: heroFadeUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.3s  both; }
.page-header-overlay h1            { animation: heroFadeUp 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.5s  both; }
.page-header-overlay .accent-line  { animation: heroFadeUp 0.55s ease                          0.72s both; }
.page-header-overlay .page-header-sub { animation: heroFadeUp 0.65s ease                       0.88s both; }

/* Legal Content */
.legal-content {
  background: var(--dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Colour-depth blobs — reuse same keyframes as .services */
.legal-content::before {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 75% at 10% 45%, rgba(0, 79, 159, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 55% 60% at 90% 60%, rgba(0, 79, 159, 0.40) 0%, transparent 58%),
    radial-gradient(ellipse 45% 50% at 60% 15%, rgba(241, 125, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 35% 80%, rgba(0, 79, 159, 0.28) 0%, transparent 60%);
  animation: paint-float 22s ease-in-out infinite alternate;
}

/* Metallic sheen sweep — reuse same keyframes as .services */
.legal-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: -65%;
  width: 230%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    108deg,
    transparent            26%,
    rgba(255,255,255,0.06) 38%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0.06) 62%,
    transparent            74%
  );
  animation: metallic-sheen 11s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 4s;
}

.legal-content > .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.legal-card {
  background: var(--blue);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 3px solid var(--orange);
  transition: transform var(--ease), box-shadow var(--ease);
}

.legal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.legal-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
}

.legal-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.legal-card address,
.legal-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  font-style: normal;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card strong {
  color: var(--text-white);
  font-weight: 600;
}

.legal-rights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.legal-rights-list li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}

.legal-rights-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.legal-rights-list li strong {
  color: var(--text-white);
  font-weight: 600;
}

.legal-card a {
  color: var(--orange);
  transition: color var(--ease);
}

.legal-card a:hover {
  color: #ff9a2e;
}

/* Active legal link in footer */
.footer-legal-active {
  color: var(--orange) !important;
}

.footer-legal-active:hover {
  color: #ff9a2e !important;
}

/* 3-column grid for rights cards */
.legal-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Section divider within legal content */
.legal-section-divider {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0 8px;
}

.legal-section-divider__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
}

.legal-section-divider__title {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
}

.legal-section-divider__line {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-top: 6px;
}

/* Right cards — compact variant */
.legal-card--right {
  gap: 14px;
  padding: 32px 28px;
}

.right-number {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
}

.right-line {
  width: 36px;
  height: 3px;
  background: var(--orange);
  flex-shrink: 0;
}

.legal-card--right h3 {
  font-size: 20px;
}

/* ============================================================
   16. RESPONSIVE — TABLET (max 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  .container {
    padding: 0 40px;
  }

  .nav-inner {
    padding: 0 40px;
  }

  .nav-links {
    gap: 28px;
    margin-right: 28px;
  }

  .hero-overlay,
  .cta-overlay {
    padding: 80px 0;
  }

  .stats-grid {
    padding: 0 40px;
    height: auto;
    min-height: 220px;
  }

  .stat-item {
    padding: 40px 32px;
  }

  .services,
  .process,
  .gallery {
    padding: 70px 0;
  }

  footer {
    padding: 50px 0;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:nth-child(1),
  .step-card:nth-child(4) { background: var(--dark-3); }
  .step-card:nth-child(2),
  .step-card:nth-child(3) { background: var(--dark-4); }

  .footer-nav {
    gap: 40px;
  }

  .legal-content {
    padding: 70px 0;
  }

  .legal-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   17. RESPONSIVE — MOBILE (max 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --nav-height: 70px;
  }

  /* Nav */
  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid #1e1e1e;
    margin: 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-cta-mobile {
    display: flex;
    margin: 16px 24px 0;
    width: calc(100% - 48px);
    font-size: 14px;
    padding: 14px 24px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 100svh;
    min-height: 100vh;
  }

  .container {
    padding: 0 24px;
  }

  .hero-overlay {
    padding: 100px 0 60px;
    justify-content: flex-end;
    min-height: 100vh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Stats */
  .stats {
    min-height: auto;
  }

  .stats-grid {
    flex-wrap: wrap;
    height: auto;
    padding: 0;
    gap: 0;
  }

  .stat-item {
    width: 50%;
    flex: none;
    padding: 32px 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 40px;
  }

  /* Services */
  .services,
  .process,
  .gallery {
    padding: 60px 0;
  }

  .services-row {
    grid-template-columns: 1fr;
  }

  .services-row--full {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
  }

  .step-card:nth-child(odd)  { background: var(--dark-3); }
  .step-card:nth-child(even) { background: var(--dark-4); }

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

  /* Legal / Impressum / Datenschutz */
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid--3 {
    grid-template-columns: 1fr;
  }

  .legal-section-divider__title {
    font-size: 28px;
  }

  .page-header {
    height: auto;
    min-height: 480px;
  }

  .page-header-overlay {
    min-height: 480px;
    padding: 100px 0 60px;
  }

  .legal-content {
    padding: 56px 0;
  }

  .legal-card {
    padding: 28px 24px;
  }

  .gallery-img {
    height: 240px;
  }

  /* CTA */
  .cta-bg {
    height: auto;
    min-height: 500px;
  }

  .cta-overlay {
    padding: 60px 0;
    min-height: 500px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  footer {
    padding: 48px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-spacer {
    display: none;
  }

  .footer-nav {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #scrollTop {
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
