/* ============================================================
   KTH – Kraftfahrzeug Technik Hannover | AMG Edition
   Basis: style-blue.css – Akzentfarbe Blau → AMG Rot + Silber
   ============================================================ */

:root {
  --red: #1e6fff;
  --red-dark: #1555d9;
  --red-glow: rgba(30,111,255,0.28);
  --red2: #00A19B;
  --silver: #B8B8B8;
  --silver-glow: rgba(184,184,184,0.15);
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --dark4: #222222;
  --gray: #888;
  --light: #f5f5f5;
  --white: #ffffff;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-alt: 'Poppins', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--dark); color: var(--white); font-family: var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img { width: 80px; margin: 0 auto 1.5rem; animation: loader-pulse 1s ease infinite; }
.loader-bar { width: 200px; height: 3px; background: var(--dark3); border-radius: 99px; overflow: hidden; }
.loader-fill { height: 100%; background: var(--red); border-radius: 99px; animation: loader-bar 1.5s ease forwards; }
@keyframes loader-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
@keyframes loader-bar { from{width:0} to{width:100%} }

/* ---- UTILITIES ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: inline-block; font-family: var(--font-alt); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--gray); max-width: 600px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }
.accent { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius);
  font-family: var(--font-alt); font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px var(--red-glow); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SCROLL REVEAL ---- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed { opacity: 1 !important; transform: none !important; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.85rem; }
.nav-logo img { width: 56px; height: 56px; object-fit: contain; }
.nav-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; }
.nav-brand-sub { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--gray); font-family: inherit; text-transform: none; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.75rem; font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.75); border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  margin-left: 0.5rem; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1rem 2rem 1.5rem; background: rgba(10,10,10,0.97);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a { padding: 0.75rem 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-cta { color: var(--red) !important; font-weight: 700 !important; border: none !important; }
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
#hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%); z-index: 1; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }

/* ---- DOT MATRIX CANVAS ---- */
.hero-dots-canvas {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 900px; padding: 0 2rem;
  margin-top: -80px;
}
.hero-badge {
  display: inline-block;
  background: var(--red-glow); border: 1px solid var(--red);
  color: #fff; font-family: var(--font-alt); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 99px; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title-line { display: block; }
.hero-sub {
  font-family: var(--font-alt); font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.65); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.04); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; margin-top: 4rem;
  flex-wrap: wrap; justify-content: center;
}
.hero-stat { text-align: center; padding: 0 2rem; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--red); }
.stat-label { display: block; font-size: 0.75rem; color: var(--gray); margin-top: 0.25rem; letter-spacing: 0.05em; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: scroll-bounce 1.5s ease infinite;
}
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
@keyframes scroll-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--red); overflow: hidden; padding: 0.9rem 0;
}
.ticker {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  animation: ticker-anim 30s linear infinite;
}
.ticker span {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--white); white-space: nowrap;
}
.ticker-dot { color: rgba(255,255,255,0.5) !important; }
@keyframes ticker-anim { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---- ABOUT ---- */
.section-about { padding: 7rem 0; background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-images { position: relative; }
.about-img-main img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/3; }
.about-img-badge {
  position: absolute; bottom: -2rem; right: -2rem;
  background: var(--red); color: var(--white);
  padding: 1.5rem; border-radius: var(--radius); text-align: center;
  box-shadow: 0 8px 40px var(--red-glow);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; line-height: 1; }
.badge-text { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }
.about-img-secondary {
  position: absolute; top: -2rem; right: -4rem;
  width: 180px; border-radius: var(--radius); overflow: hidden;
  border: 4px solid var(--dark2); box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.about-img-secondary img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-text { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 1.25rem; font-size: 0.95rem; }
.about-features { margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; }
.feature-icon {
  width: 28px; height: 28px; background: var(--red-glow); border: 1px solid var(--red);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 14px; height: 14px; stroke: var(--red); }

/* ---- KW PARTNER STRIP ---- */
.kw-strip {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.kw-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(192,0,0,0.06), transparent);
  pointer-events: none;
}
.kw-strip-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1px 1fr 1px auto;
  gap: 2.5rem;
  align-items: center;
}
.kw-strip-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  min-width: 160px;
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
}
.kw-strip-logo {
  height: 70px; width: auto;
  max-width: 280px;
  object-fit: contain;
}
.kw-strip-divider {
  width: 1px; height: 64px;
  background: rgba(255,255,255,0.08);
  align-self: center;
}
.kw-strip-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.kw-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900; color: #fff;
  margin-bottom: 0.4rem; line-height: 1.1;
}
.kw-strip-sub {
  font-size: 0.82rem; color: var(--gray);
  line-height: 1.65; max-width: 380px;
}
.kw-strip-badges {
  display: flex; flex-direction: column; gap: 0.55rem;
  min-width: 200px;
}
.kw-badge {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
}
.kw-badge svg { width: 14px; height: 14px; stroke: var(--red); flex-shrink: 0; }
.kw-strip-cta { margin-top: 0.75rem; align-self: flex-start; font-size: 0.82rem; padding: 0.65rem 1.4rem; }

@media (max-width: 900px) {
  .kw-strip-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .kw-strip-divider { display: none; }
  .kw-strip-logo-wrap { justify-content: center; }
  .kw-strip-sub { max-width: 100%; }
  .kw-strip-badges { align-items: center; }
  .kw-strip-cta { align-self: center; }
}

/* ---- SKILL BARS + PILLS (Über KTH) ---- */
.about-bars { margin: 1.75rem 0 0; display: flex; flex-direction: column; gap: 1.1rem; }
.sb-header {
  display: flex; justify-content: space-between;
  font-family: var(--font-alt); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--gray); margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.sb-header span:last-child { color: var(--red2); }
.sb-track { height: 2px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.sb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red2));
  border-radius: 2px; width: 0;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}
.about-pills span {
  padding: 0.32rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-family: var(--font-alt); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray);
  transition: all 0.2s ease;
}
.about-pills span:hover { border-color: var(--red); color: var(--red); }

/* ---- SERVICES ---- */
.section-services { padding: 7rem 0; background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--dark3); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.service-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-overlay {
  position: absolute; inset: 0; background: rgba(192,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover .service-overlay { opacity: 1; }
.service-link { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.service-body { padding: 1.5rem; }
.service-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-body p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.service-tag { font-size: 0.75rem; font-weight: 600; color: var(--red); letter-spacing: 0.05em; }
.service-card-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: transparent !important;
  display: flex; align-items: center; justify-content: center;
}
.service-card-cta:hover { transform: translateY(-6px) !important; box-shadow: 0 20px 60px var(--red-glow) !important; }
.service-cta-inner { padding: 2rem; text-align: center; }
.service-cta-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.service-cta-inner h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.service-cta-inner p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1.5rem; }
.service-cta-inner .btn { background: var(--dark); color: var(--white); }
.service-cta-inner .btn:hover { background: var(--dark2); }

/* ---- GALLERY ---- */
.section-gallery { padding: 7rem 0; background: var(--dark2); }
.gallery-masonry {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem; padding: 0 2rem;
  max-width: 1400px; margin: 0 auto;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; min-height: 200px; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0; background: rgba(192,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { font-weight: 700; color: var(--white); font-size: 0.875rem; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img-wrap img { max-height: 85vh; max-width: 90vw; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px;
  background: rgba(255,255,255,0.1); border-radius: 50%; color: white; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.lightbox-close:hover { background: var(--red); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; background: rgba(255,255,255,0.1); border-radius: 50%;
  color: white; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--red); }

/* ---- PRESS ---- */
.section-press { padding: 7rem 0; background: var(--dark); }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.press-card {
  background: var(--dark3); border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05); display: flex; gap: 1.5rem; align-items: flex-start;
  transition: all var(--transition);
}
.press-card:hover { border-color: var(--red); transform: translateY(-4px); }
.press-logo {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 900;
  color: var(--red); white-space: nowrap; min-width: 80px;
}
.press-content h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.press-content p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; margin-bottom: 0.75rem; }
.press-tag { font-size: 0.7rem; font-weight: 700; color: var(--red); letter-spacing: 0.15em; text-transform: uppercase; }

/* ---- CTA BANNER ---- */
.section-cta { position: relative; padding: 8rem 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(192,0,0,0.3) 100%); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; margin-bottom: 1rem; }
.cta-content p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }

/* ---- PARTNERS ---- */
.section-partners { padding: 7rem 0; background: var(--dark2); }
.partners-track-wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.partners-track { display: flex; gap: 2rem; width: max-content; animation: partners-scroll 35s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  width: 160px; height: 80px; flex-shrink: 0;
  background: var(--dark3); border-radius: var(--radius); padding: 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.partner-logo:hover { border-color: var(--red); background: var(--dark4); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) brightness(0.7); transition: filter var(--transition); }
.partner-logo:hover img { filter: grayscale(0) brightness(1); }
@keyframes partners-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---- REVIEWS – 3D Marquee (reui/3d-testimonails) ---- */
.section-reviews {
  padding: 7rem 0;
  position: relative;
  background: var(--dark);
}
.section-reviews::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('img/kth_background_mercedes5.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 0;
}
.section-reviews > * { position: relative; z-index: 1; }
.t3d-scene { position: relative; z-index: 1; }
.reviews-avg { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 1rem; margin-bottom: 3.5rem; }
.avg-num { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--red); }
.avg-stars { font-size: 1.25rem; color: #ffc107; }
.avg-label { font-size: 0.85rem; color: var(--gray); }

/* 3D Scene – volle Seitenbreite */
.t3d-scene {
  position: relative;
  height: 700px;
  overflow: hidden;
  perspective: 400px;
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}
.t3d-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  height: 140%;
  margin-top: -20%;
  padding: 0 1rem;
  width: 116%;
  margin-left: -8%;
  transform: translateY(8px) translateZ(-40px) rotateX(16deg) rotateY(-6deg) rotateZ(14deg);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
}

/* Spalten */
.t3d-col { display: flex; flex-direction: column; flex-shrink: 0; width: calc(20% - 0.8rem); min-width: 180px; overflow: visible; height: 100%; }
.t3d-track {
  display: flex; flex-direction: column; gap: 0.85rem;
  animation: t3d-up 28s linear infinite;
}
.t3d-track-rev {
  animation: t3d-down 34s linear infinite;
}
.t3d-col:hover .t3d-track,
.t3d-col:hover .t3d-track-rev { animation-play-state: paused; }

@keyframes t3d-up   { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes t3d-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* Karte */
.t3d-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.t3d-card:hover { border-color: rgba(192,0,0,0.3); }
.t3d-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }
.t3d-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 900;
  background: rgba(192,0,0,0.12); border: 1px solid rgba(192,0,0,0.3); color: var(--red);
}
.t3d-meta { display: flex; flex-direction: column; }
.t3d-name { font-size: 0.78rem; font-weight: 600; color: var(--white); }
.t3d-handle { font-size: 0.68rem; color: var(--gray); }
.t3d-stars { font-size: 0.7rem; color: #ffc107; margin-bottom: 0.45rem; letter-spacing: 0.05em; }
.t3d-text { font-size: 0.775rem; color: rgba(255,255,255,0.65); line-height: 1.55; font-style: italic; }

/* Gradient-Fades */
.t3d-fade { display: none; }

/* ---- CONTACT ---- */
.section-contact { padding: 7rem 0; background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; align-items: start; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--dark3); border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.05); transition: border-color var(--transition); }
.contact-card:hover { border-color: var(--red); }
.contact-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.contact-card h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.contact-card a:hover { color: var(--red); }
.contact-form-wrap { background: var(--dark3); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid rgba(255,255,255,0.05); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--dark); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--white);
  transition: border-color var(--transition); outline: none; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: var(--dark); }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.show { display: block; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }

/* ---- FOOTER (21st.dev style) ---- */
.footer {
  background: var(--dark);
  position: relative;
  background-image: radial-gradient(35% 140px at 50% 0%, rgba(192,0,0,0.07), transparent);
}
.footer::before {
  content: '';
  position: absolute; top: 0;
  left: 50%; transform: translateX(-50%);
  width: 33%; height: 1px;
  background: rgba(255,255,255,0.2);
  filter: blur(3px);
  border-radius: 99px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid; grid-template-columns: 1fr 2fr; gap: 6rem;
}
.footer-brand img { width: 56px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); display: block; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer-col { opacity: 0; animation: footer-fade-in 0.8s ease forwards; }
.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }
@keyframes footer-fade-in {
  from { opacity: 0; filter: blur(4px); transform: translateY(-8px); }
  to   { opacity: 1; filter: blur(0px); transform: translateY(0); }
}
.footer-col h3 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.875rem; color: var(--gray);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col a svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--gray); flex-wrap: wrap; gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--red); }

/* ---- GLOW DOT EFFECT (21st.dev – ravikatiyar/glowing-card) ---- */

/* Wrapper: ersetzt service-card als Grid-Item, dot liegt außerhalb overflow:hidden */
.glow-outer {
  position: relative;
}

/* Der wandernde Funken-Punkt mit Schweif */
.glow-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8cdd8;
  z-index: 20;
  pointer-events: none;
  transform: translate(50%, -50%);
  animation: moveDot 8s linear infinite;
}

/* Schweif: box-shadow wechselt mit Bewegungsrichtung */
@keyframes moveDot {
  /* Oben-Kante: Punkt läuft von rechts nach links → Schweif rechts */
  0%     { top: 0%;   right: 0%;   box-shadow:  5px 0 5px 1px rgba(200,210,225,0.7), 12px 0 8px 2px rgba(200,210,225,0.25); }
  24.99% { top: 0%;   right: 100%; box-shadow:  5px 0 5px 1px rgba(200,210,225,0.7), 12px 0 8px 2px rgba(200,210,225,0.25); }
  /* Linke Kante: Punkt läuft von oben nach unten → Schweif oben */
  25%    { top: 0%;   right: 100%; box-shadow:  0 -5px 5px 1px rgba(200,210,225,0.7), 0 -12px 8px 2px rgba(200,210,225,0.25); }
  49.99% { top: 100%; right: 100%; box-shadow:  0 -5px 5px 1px rgba(200,210,225,0.7), 0 -12px 8px 2px rgba(200,210,225,0.25); }
  /* Untere Kante: Punkt läuft von links nach rechts → Schweif links */
  50%    { top: 100%; right: 100%; box-shadow: -5px 0 5px 1px rgba(200,210,225,0.7), -12px 0 8px 2px rgba(200,210,225,0.25); }
  74.99% { top: 100%; right: 0%;   box-shadow: -5px 0 5px 1px rgba(200,210,225,0.7), -12px 0 8px 2px rgba(200,210,225,0.25); }
  /* Rechte Kante: Punkt läuft von unten nach oben → Schweif unten */
  75%    { top: 100%; right: 0%;   box-shadow:  0  5px 5px 1px rgba(200,210,225,0.7), 0  12px 8px 2px rgba(200,210,225,0.25); }
  100%   { top: 0%;   right: 0%;   box-shadow:  0  5px 5px 1px rgba(200,210,225,0.7), 0  12px 8px 2px rgba(200,210,225,0.25); }
}

/* Hero-Stats: position:relative ist schon gesetzt, dot wird direkt injiziert */
.hero-stats { position: relative; }
/* Dot im hero-stats reist am Rand entlang – kein clip, da kein overflow:hidden */

/* ============================================================
   AMG DUAL-COLOR ACCENTS – var(--red) + var(--red2)
   ============================================================ */

/* Accent-Text in Überschriften: Gradient statt Vollfarbe */
.accent {
  background: linear-gradient(90deg, var(--red), var(--red2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar: Gradient-Linie unten wenn gescrollt */
#navbar.scrolled::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--red2) 70%, transparent 100%);
}

/* Hero Stats: Trennlinien als Gradient */
.hero-stat-div {
  background: linear-gradient(180deg, var(--red), var(--red2)) !important;
  opacity: 0.7;
}

/* Hero Badge: Gradient-Border */
.hero-badge {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.hero-badge::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red2));
  z-index: -1;
}

/* Section Labels: Gradient-Unterstrich */
.section-label::after {
  content: '';
  display: block;
  height: 1.5px;
  margin-top: 5px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  width: 100%;
}

/* Service Cards: Gradient-Glow + Border on Hover */
.service-card:hover {
  border-color: transparent !important;
  box-shadow: 0 0 0 1px var(--red), 0 8px 0 0 var(--red2) inset,
              0 20px 60px rgba(0,0,0,0.4) !important;
}
/* Gradient-Leiste oben auf Service Card hover */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card { position: relative; }
.service-card:hover::before { opacity: 1; }

/* About Badge: Gradient-Hintergrund */
.about-img-badge {
  background: linear-gradient(135deg, var(--red), var(--red2)) !important;
}

/* Kontakt-Karten: Gradient-Linie links */
.contact-card {
  position: relative;
  padding-left: 1.5rem !important;
}
.contact-card::before {
  content: '';
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--red), var(--red2));
}

/* Footer: Gradient-Trennlinie oben */
.footer::before {
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red2) 70%, transparent) !important;
  opacity: 1 !important;
}

/* KW-Strip: Gradient-Border oben + unten */
.kw-strip {
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
}
.kw-strip::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--red2), transparent);
}

/* Ticker-Punkte: Gradient-Farbe */
.ticker-dot {
  background: linear-gradient(90deg, var(--red), var(--red2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Back-to-Top: Gradient-Hintergrund */
.back-to-top {
  background: linear-gradient(135deg, var(--red), var(--red2)) !important;
  box-shadow: 0 4px 20px var(--red-glow) !important;
}

/* Press Cards: Gradient-Akzentlinie oben */
.press-card {
  position: relative;
  overflow: hidden;
}
.press-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.press-card:hover::after { opacity: 1; }

/* Partner-Logos: Gradient-Umrandung on hover */
.partner-logo:hover img {
  filter: drop-shadow(0 0 6px var(--red)) drop-shadow(0 0 12px var(--red2));
}

/* ---- TV-FEATURE ---- */
.tv-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
.tv-preview {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.tv-clip {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tv-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.tv-preview:hover .tv-overlay { background: rgba(0,0,0,0.15); }
.tv-play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.tv-play-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.08);
}
.tv-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.tv-channel-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  display: flex; align-items: center; gap: 0.45rem;
}
.tv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e00; animation: tvBlink 1.4s ease-in-out infinite;
}
@keyframes tvBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.tv-info { padding: 2.5rem; }
.tv-eyebrow {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red2); margin-bottom: 0.75rem;
}
.tv-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.tv-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.tv-meta { display: flex; gap: 1.5rem; margin-bottom: 1.75rem; }
.tv-meta-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.tv-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.tv-btn { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Modal */
.tv-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: none; align-items: center; justify-content: center;
}
.tv-modal.open { display: flex; }
.tv-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.tv-modal-inner {
  position: relative; z-index: 1;
  width: min(90vw, 1100px);
  background: #000; border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}
.tv-full { width: 100%; display: block; max-height: 80vh; }
.tv-modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.tv-modal-close:hover { background: rgba(255,255,255,0.15); }
.tv-modal-close svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .tv-feature { grid-template-columns: 1fr; gap: 0; }
  .tv-info { padding: 1.5rem; }
  .tv-title { font-size: 1.4rem; }
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
  width: 48px; height: 48px; background: var(--red); border-radius: 12px;
  color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--red-glow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--red-glow); }
.back-to-top svg { width: 22px; height: 22px; }

/* ============================================================
   FULL-SCREEN SCROLL FX – Leistungen
   ============================================================ */
.section-fx { background: #000; }

/* Mobile-Kacheln permanent versteckt – Scroll-FX läuft auf allen Größen */
.fx-desktop { display: block; }
.fx-mobile  { display: none; }

/* Scroll-Container – Höhe wird per JS gesetzt */
.fx-fixed-section {
  position: relative;
}

/* Hintergrundbilder */
.fx-bgs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fx-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fx-bg.active { opacity: 1; transform: scale(1); }

/* Sticky Viewport */
.fx-fixed {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Dunkles Overlay */
.fx-fixed::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

/* Progress-Balken */
.fx-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,0.1); z-index: 10;
}
.fx-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transition: width 0.08s linear;
  box-shadow: 0 0 8px var(--red2);
}

/* Content-Grid */
.fx-grid {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  display: flex; align-items: center;
}
.fx-content {
  display: grid;
  grid-template-columns: 28% 44% 28%;
  width: 100%;
  padding: 0 3rem;
  gap: 1rem;
  align-items: center;
}

/* Seiten-Labels */
.fx-left  { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-end;   text-align: right; }
.fx-right { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

.fx-item {
  opacity: 0.22;
  transform: translateX(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fx-item-left  { transform: translateX(8px); }
.fx-item-right { transform: translateX(-8px); }
.fx-item.active {
  opacity: 1;
  transform: translateX(0) !important;
}
.fx-label {
  display: block;
  font-family: var(--font-display); font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 700; color: #fff; letter-spacing: 0.04em;
  line-height: 1.2;
}
.fx-sublabel {
  display: block; margin-top: 0.25rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Mitte: Titel */
.fx-center { text-align: center; position: relative; }
.fx-section-label {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red2);
  margin-bottom: 1.25rem; display: block;
}
.fx-featured-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  color: #fff; text-transform: uppercase;
  position: relative;
  min-height: 1.15em;
  letter-spacing: -0.01em;
}
/* Word-Mask: absolute übereinander stapeln */
.fx-word-mask {
  position: absolute;
  top: 0; left: 0; right: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.fx-word-mask.active {
  opacity: 1;
  transform: translateY(0);
}

/* Beschreibungstext – nur auf Mobile sichtbar */
.fx-descs { display: none; }
.fx-desc {
  position: absolute;
  left: 0; right: 0;
  font-size: 0.95rem; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.fx-desc.active {
  opacity: 1;
  transform: translateY(0);
}

.fx-counter {
  margin-top: 5.5rem; /* Raum unter dem großen Titel */
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
}
.fx-num  { color: #fff; font-weight: 700; }
.fx-sep  { margin: 0 0.15em; }

/* Unten: CTA + Scroll-Hint */
.fx-bottom {
  position: absolute; bottom: 2.5rem;
  left: 0; right: 0;
  z-index: 10;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 3rem;
}
.fx-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.fx-scroll-hint-line {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.25);
  animation: fxScrollPulse 1.6s ease-in-out infinite;
}
@keyframes fxScrollPulse {
  0%,100% { opacity: 0.25; transform: scaleY(1); }
  50%      { opacity: 0.7;  transform: scaleY(0.55); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-secondary { display: none; }
  .about-img-badge { right: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  /* FX auf Mobile: Seitenleisten aus, nur Mitte */
  .fx-left, .fx-right { display: none; }
  .fx-content {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .fx-featured-title { font-size: clamp(2.2rem, 9vw, 3rem); min-height: 2.6em; }
  .fx-bottom { padding: 0 1.5rem; }
  /* Beschreibung einblenden */
  .fx-descs {
    display: block;
    position: relative;
    height: 6rem;
    margin-top: 1rem;
  }
  .fx-desc { font-size: 0.85rem; line-height: 1.6; }
  .fx-counter { margin-top: 0.75rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Hero Mobile: korrekter Viewport + Portrait-Crops */
  #hero { min-height: 100svh; }
  .hero-slide { background-position: center center; background-size: cover; }
  .hero-slide:nth-child(1) { background-image: url('img/hero3-mobile.jpg') !important; }
  .hero-slide:nth-child(2) { background-image: url('img/hero4-mobile.jpg') !important; }
  .hero-slide:nth-child(3) { background-image: url('img/hero5-mobile.jpg') !important; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.7) 100%); }
  .hero-stats { gap: 1rem; }
  .hero-stat { padding: 0 1rem; }
  .hero-stat-div { display: none; }
  .stat-num { font-size: 1.8rem; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+1) { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .reviews-slider-wrap { padding: 0; }
  .review-card { padding: 1.75rem; }
  .section-about, .section-gallery, .section-press,
  .section-partners, .section-reviews, .section-contact { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .press-card { flex-direction: column; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; }
}
