@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #f5a200; /* Sleeker metallic amber gold */
  --blue-light: #ffc83b;
  --blue-dark: #c98000;
  --cyan: #f59e0b; /* Amber accent */
  --accent2: #d97706;
  --bg: #050507; /* Sleeker, darker carbon black */
  --bg2: #0b0b0e;
  --bg3: #121217;
  --bg4: #191921;
  --text: #f7f5f0; /* Crisp linen white */
  --text-muted: #8e8779;
  --glass: rgba(245, 162, 0, 0.035); /* Translucent gold mist */
  --glass-border: rgba(245, 162, 0, 0.12);
  --radius: 16px;
  --transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(245, 162, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 162, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 76px;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(245, 162, 0, 0.08);
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(5, 5, 7, 0.95);
  height: 72px;
  border-bottom: 1px solid rgba(245, 162, 0, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(245, 162, 0, 0.03);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 20px rgba(245, 162, 0, 0.15);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(245, 162, 0, 0.35);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-main {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 1px;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-light), var(--blue)) !important;
  color: #050507 !important;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 162, 0, 0.2);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 162, 0, 0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1005;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* DROPDOWN */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle .chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(18, 18, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 162, 0, 0.15);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 162, 0, 0.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  /* Bridge the gap with invisible padding so hover isn't lost */
  margin-top: 14px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(245, 162, 0, 0.15);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(245, 162, 0, 0.08);
  color: var(--blue-light);
}

.dropdown-menu li a::after {
  display: none;
}


/* HERO */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: 
    radial-gradient(circle at 75% 30%, rgba(245, 162, 0, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 20% 85%, rgba(245, 162, 0, 0.04) 0%, transparent 45%),
    linear-gradient(160deg, #07070a 0%, #050507 60%, #020203 100%);
}

/* Two-column inner layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  gap: 4rem;
  flex: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* ---- FOIL ANIMATIONS ---- */

/* 1. Shimmer sweep – metallic gleam sliding across */
.foil-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(245, 196, 0, 0.04) 45%,
      rgba(255, 220, 80, 0.08) 50%,
      rgba(245, 196, 0, 0.04) 55%,
      transparent 70%);
  background-size: 300% 100%;
  animation: foilShimmer 4s ease-in-out infinite;
}

@keyframes foilShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* 2. Squeegee wipe lines – skewed diagonal glare bands representing foil application */
.foil-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.foil-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(245, 162, 0, 0.02) 25%,
      rgba(255, 230, 100, 0.08) 50%,
      rgba(245, 162, 0, 0.02) 75%,
      transparent 100%);
  transform: skewX(-25deg) translateX(-200%);
  animation: squeegeeWipe 8s ease-in-out infinite;
}

.foil-line:nth-child(1) {
  animation-delay: 0s;
}

.foil-line:nth-child(2) {
  animation-delay: 1.6s;
}

.foil-line:nth-child(3) {
  animation-delay: 3.2s;
}

.foil-line:nth-child(4) {
  animation-delay: 4.8s;
}

.foil-line:nth-child(5) {
  animation-delay: 6.4s;
}

@keyframes squeegeeWipe {
  0% {
    transform: skewX(-25deg) translateX(-200%);
  }
  100% {
    transform: skewX(-25deg) translateX(800%);
  }
}

/* 3. Squeegee blade – synchronized with the first glare line */
.squeegee {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 2;
  background: linear-gradient(180deg,
      transparent,
      rgba(245, 162, 0, 0.6) 30%,
      rgba(255, 220, 50, 1) 50%,
      rgba(245, 162, 0, 0.6) 70%,
      transparent);
  box-shadow: 0 0 20px rgba(245, 162, 0, 0.6), 0 0 45px rgba(245, 162, 0, 0.3);
  transform: skewX(-25deg) translateX(-200%);
  animation: squeegeeSlide 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes squeegeeSlide {
  0% {
    transform: skewX(-25deg) translateX(-200%);
  }
  100% {
    transform: skewX(-25deg) translateX(800%);
  }
}

/* 4. Foil particles – tiny flecks floating upward */
.foil-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.foil-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.6);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(0.6) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 0;
  }

  15% {
    opacity: 0.75;
  }

  85% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-110vh) translateX(var(--drift)) scale(1.28) rotateX(var(--rx, 360deg)) rotateY(var(--ry, 360deg)) rotateZ(var(--rz, 360deg));
    opacity: 0;
  }
}

/* 5. Foil-text – metallic sheen animation on "Folierungen" */
.foil-text {
  background: linear-gradient(90deg,
      var(--blue) 0%,
      #fff8c0 20%,
      var(--cyan) 40%,
      #fffde0 55%,
      var(--blue) 75%,
      #ffd700 90%,
      var(--blue) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: foilTextSheen 3s linear infinite;
}

@keyframes foilTextSheen {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 300% center;
  }
}

/* HERO LOGO (right side) */
.hero-logo-wrap {
  flex-shrink: 0;
  position: relative;
  width: min(380px, 42vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s 0.2s ease both;
}

.hero-logo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.18) 0%, transparent 70%);
  animation: logoPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-logo-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 196, 0, 0.12);
  position: relative;
  z-index: 1;
  animation: logoReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: brightness(0);
  }

  60% {
    filter: brightness(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
}

/* Foil peel effect on logo corner */
.foil-peel {
  position: absolute;
  bottom: -8px;
  right: -8px;
  z-index: 2;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, transparent 40%, rgba(245, 196, 0, 0.4) 50%, rgba(255, 230, 80, 0.8) 65%, rgba(245, 196, 0, 0.3) 80%);
  border-radius: 0 0 20px 0;
  animation: peelPulse 3s ease-in-out infinite;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

@keyframes peelPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 55%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 162, 0, 0.05);
  border: 1px solid rgba(245, 162, 0, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: premiumReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: inset 0 0 12px rgba(245, 162, 0, 0.05);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  animation: premiumReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: premiumReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: premiumReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

@keyframes premiumReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #050507;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(245, 162, 0, 0.2);
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 162, 0, 0.45);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
  background: rgba(245, 162, 0, 0.03);
}

.btn-outline:hover::after {
  left: 100%;
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 8%;
  display: flex;
  gap: 2.5rem;
  z-index: 2;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.stat-card {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(245, 196, 0, 0.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* SECTIONS */
section {
  padding: 100px 8%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

/* SERVICES – tabbed category system */
.services-section {
  transition: background 0.6s ease;
  position: relative;
  overflow: hidden;
}

/* WIPE OVERLAY – gold blade that sweeps left → right */
.cat-wipe {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 40%, var(--blue-light) 55%, var(--blue) 70%, var(--blue-dark) 100%);
  transform: translateX(-101%);
  will-change: transform;
}

.cat-wipe.wipe-in {
  animation: catWipeIn 0.38s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.cat-wipe.wipe-out {
  animation: catWipeOut 0.42s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes catWipeIn {
  from {
    transform: translateX(-101%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes catWipeOut {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(101%);
  }
}

/* FAHRZEUGE THEME (default) – dark/yellow */
.services-section.theme-fahrzeuge {
  background: var(--bg2);
}

.services-section.theme-fahrzeuge .section-label {
  color: var(--blue);
}

.services-section.theme-fahrzeuge .section-title {
  color: var(--text);
}

.services-section.theme-fahrzeuge .section-title span {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-section.theme-fahrzeuge .section-sub {
  color: var(--text-muted);
}

.services-section.theme-fahrzeuge .service-card {
  background: rgba(11, 11, 14, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(245, 162, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.services-section.theme-fahrzeuge .service-card h3 {
  color: var(--text);
}

.services-section.theme-fahrzeuge .service-card p {
  color: var(--text-muted);
}

.services-section.theme-fahrzeuge .service-icon {
  background: rgba(245, 162, 0, 0.05);
  border: 1px solid rgba(245, 162, 0, 0.2);
  color: var(--blue-light);
}

.services-section.theme-fahrzeuge .service-card:hover {
  border-color: rgba(245, 162, 0, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 162, 0, 0.08);
}

.services-section.theme-fahrzeuge .tag {
  background: rgba(245, 162, 0, 0.05);
  border-color: rgba(245, 162, 0, 0.18);
  color: var(--blue-light);
}

/* GEBÄUDE THEME – light/yellow */
.services-section.theme-gebaeude {
  background: #faf9f5;
  position: relative;
}

.services-section.theme-gebaeude::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201, 128, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 128, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.services-section.theme-gebaeude .services-header,
.services-section.theme-gebaeude .vor-ort-badge,
.services-section.theme-gebaeude .cat-panel,
.services-section.theme-gebaeude .showcase-wrap {
  position: relative;
  z-index: 1;
}

.services-section.theme-gebaeude .section-label {
  color: #b37e00;
}

.services-section.theme-gebaeude .section-title {
  color: #0b0b0e;
}

.services-section.theme-gebaeude .section-title span {
  background: linear-gradient(135deg, #c98000, #f5a200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-section.theme-gebaeude .section-sub {
  color: #5a5750;
}

.services-section.theme-gebaeude .service-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(201, 128, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  color: #0b0b0e;
}

.services-section.theme-gebaeude .service-card h3 {
  color: #0b0b0e;
}

.services-section.theme-gebaeude .service-card p {
  color: #5a5750;
}

.services-section.theme-gebaeude .service-card:hover {
  border-color: rgba(245, 162, 0, 0.5);
  box-shadow: 0 20px 40px rgba(245, 162, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.05);
}

.services-section.theme-gebaeude .service-icon {
  background: rgba(245, 162, 0, 0.08);
  border: 1px solid rgba(245, 162, 0, 0.22);
  color: #b37e00;
}

.services-section.theme-gebaeude .service-card:hover .service-icon {
  background: rgba(245, 162, 0, 0.16);
  transform: scale(1.05);
}

.services-section.theme-gebaeude .tag {
  background: rgba(245, 162, 0, 0.06);
  border-color: rgba(201, 128, 0, 0.2);
  color: #9c6c00;
}

/* CATEGORY TOGGLE */
.cat-toggle-wrap {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.3);
  background: rgba(245, 196, 0, 0.05);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.cat-btn {
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.cat-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #111;
}

.services-section.theme-gebaeude .cat-btn {
  color: #888;
}

.services-section.theme-gebaeude .cat-toggle-wrap {
  border-color: rgba(200, 160, 0, 0.35);
  background: rgba(245, 196, 0, 0.07);
}

.services-section.theme-gebaeude .cat-btn.active {
  background: linear-gradient(135deg, #c99e00, #f5c400);
  color: #111;
}

/* VOR ORT BADGE */
.vor-ort-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(245, 196, 0, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.22);
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.vor-ort-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.vor-ort-pill {
  margin-left: auto;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Fahrzeuge theme (dark) */
.services-section.theme-fahrzeuge .vor-ort-badge {
  color: var(--text-muted);
}

.services-section.theme-fahrzeuge .vor-ort-badge strong {
  color: var(--blue);
}

/* Gebäude theme (light) */
.services-section.theme-gebaeude .vor-ort-badge {
  background: rgba(200, 160, 0, 0.1);
  border-color: rgba(200, 160, 0, 0.28);
  color: #555;
}

.services-section.theme-gebaeude .vor-ort-badge strong {
  color: #8a6600;
}

.services-section.theme-gebaeude .vor-ort-pill {
  background: linear-gradient(135deg, #c99e00, #f5c400);
}

/* PANELS */

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

#panel-fahrzeuge .services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#panel-fahrzeuge .service-card {
  flex: 1 1 calc(25% - 1.125rem);
  min-width: 260px;
  max-width: calc(25% - 1.125rem);
}

@media (max-width: 1200px) {
  #panel-fahrzeuge .service-card {
    max-width: calc(33.333% - 1rem);
  }
}

@media (max-width: 900px) {
  #panel-fahrzeuge .service-card {
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 600px) {
  #panel-fahrzeuge .service-card {
    max-width: 100%;
  }
}

.cat-panel {
  animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cat-panel--hidden {
  display: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service cards (shared) */
.service-card {
  border-radius: 20px;
  padding: 2.4rem 2.2rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  font-size: 1.88rem;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  border: 1px solid;
  transition: var(--transition);
}

.tag:hover {
  transform: translateY(-1px);
}


/* WHY */
#warum {
  display: flex;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
}

.why-left {
  flex: 1;
  min-width: 280px;
}

.why-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(245, 196, 0, 0.3);
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(245, 196, 0, 0.06);
}

.why-item-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(245, 196, 0, 0.3);
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* GALLERY */
#galerie {
  background: var(--bg2);
}

/* CUSTOM PREMIUM CAROUSEL STYLE */
.custom-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: var(--bg2);
}

.carousel-track-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.7s ease, visibility 0.7s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg);
  display: block;
  transition: transform 7s ease;
}

.slide-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  padding: 16px 22px;
  background: rgba(18, 18, 23, 0.85);
  border: 1px solid rgba(245, 162, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  color: #fff;
  z-index: 3;
  text-align: left;
  transform: translateY(15px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.carousel-slide.active .slide-caption {
  transform: translateY(0);
}

.slide-caption h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--blue-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.slide-caption p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 5, 7, 0.6);
  border: 1px solid rgba(245, 162, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-control:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #050507;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 25px rgba(245, 162, 0, 0.5);
}

.carousel-control.prev {
  left: 24px;
}

.carousel-control.next {
  right: 24px;
}

/* Indicators */
.carousel-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.carousel-dots .dot.active {
  background: var(--blue);
  transform: scale(1.1);
  width: 28px;
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(245, 162, 0, 0.6);
}

@media (max-width: 768px) {
  .custom-carousel {
    height: 380px;
  }

  .slide-caption {
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .slide-caption h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .slide-caption p {
    font-size: 0.8rem;
  }

  .carousel-control {
    width: 44px;
    height: 44px;
  }

  .carousel-control.prev {
    left: 12px;
  }

  .carousel-control.next {
    right: 12px;
  }
}


/* PROCESS */
#ablauf {
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.process-step:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateY(-6px);
}

.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(245, 196, 0, 0.15);
  position: absolute;
  top: 10px;
  right: 18px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* TESTIMONIALS */
#bewertungen {
  background: var(--bg2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(245, 196, 0, 0.07);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #111;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* TERMIN */
#termin {
  background: var(--bg);
}

.termin-container {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 5rem;
  align-items: start;
}

.termin-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--bg2);
  border: 1px solid rgba(245, 196, 0, 0.15);
  border-radius: 16px;
  padding: 1.8rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.termin-form {
  background: var(--bg2);
  border: 1px solid rgba(245, 196, 0, 0.15);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 143, 166, 0.5);
}

.form-group select option {
  background: var(--bg3);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #111;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(245, 196, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245, 196, 0, 0.5);
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success .check {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.form-success p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* FOOTER */
footer {
  background: #060604;
  border-top: 1px solid rgba(245, 196, 0, 0.12);
  padding: 60px 8% 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-link:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeB 90%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(214, 36, 159, 0.3);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===================== BOOKING MODAL ===================== */
.bm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 2, 3, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.bm-modal {
  background: rgba(11, 11, 14, 0.9);
  border: 1px solid rgba(245, 162, 0, 0.18);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(245, 162, 0, 0.08);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.bm-overlay.open .bm-modal {
  transform: translateY(0) scale(1);
}

.bm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem 1.1rem;
  border-bottom: 1px solid rgba(245, 162, 0, 0.1);
  position: sticky;
  top: 0;
  background: rgba(11, 11, 14, 0.96);
  backdrop-filter: blur(10px);
  z-index: 10;
  border-radius: 24px 24px 0 0;
}

.bm-steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bm-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.bm-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  transition: var(--transition);
  color: var(--text-muted);
}

.bm-step.active {
  color: var(--blue-light);
}

.bm-step.active span {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #050507;
  border-color: transparent;
  box-shadow: 0 0 14px rgba(245, 162, 0, 0.45);
}

.bm-step.done span {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(245, 162, 0, 0.05);
}

.bm-step-line {
  width: 28px;
  height: 1px;
  background: rgba(245, 162, 0, 0.15);
  flex-shrink: 0;
}

.bm-close {
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bm-close:hover {
  background: rgba(245, 162, 0, 0.12);
  color: var(--blue-light);
  border-color: rgba(245, 162, 0, 0.35);
  transform: rotate(90deg);
}

.bm-body {
  padding: 1.6rem 1.8rem 2.2rem;
}

.bm-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  letter-spacing: 0.3px;
}

.bm-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.bm-back:hover {
  color: var(--blue-light);
  transform: translateX(-3px);
}

.bm-date-chosen {
  font-size: 0.88rem;
  color: var(--blue-light);
  font-weight: 700;
  background: rgba(245, 162, 0, 0.06);
  border: 1px solid rgba(245, 162, 0, 0.18);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 1.4rem;
  display: inline-block;
}

/* Calendar */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.cal-nav-btn {
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  touch-action: manipulation;
}

.cal-nav-btn:hover:not(:disabled) {
  background: rgba(245, 162, 0, 0.12);
  border-color: var(--blue);
  color: var(--blue-light);
}

.cal-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.cal-month-label {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.6rem;
}

.cal-weekdays div {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--bg3);
  border: 1px solid transparent;
  transition: var(--transition);
  color: var(--text);
  touch-action: manipulation;
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: rgba(245, 162, 0, 0.12);
  border-color: rgba(245, 162, 0, 0.3);
  color: var(--blue-light);
}

.cal-day.today {
  border-color: rgba(245, 162, 0, 0.35);
  color: var(--blue-light);
}

.cal-day.selected {
  background: linear-gradient(135deg, var(--blue-light), var(--blue)) !important;
  color: #050507 !important;
  border-color: transparent !important;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(245, 162, 0, 0.45);
}

.cal-day.disabled {
  color: rgba(255, 255, 255, 0.12);
  cursor: not-allowed;
  background: transparent;
}

.cal-day.empty {
  background: transparent;
  cursor: default;
  border: none;
}

/* Time slots */
.bm-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bm-slot {
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 13px 8px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  touch-action: manipulation;
}

.bm-slot:hover {
  background: rgba(245, 162, 0, 0.08);
  border-color: rgba(245, 162, 0, 0.35);
  color: var(--blue-light);
}

.bm-slot.selected {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #050507;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245, 162, 0, 0.4);
}

.bm-slot.blocked {
  cursor: not-allowed;
  opacity: 0.4;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.bm-slot.blocked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  right: -10%;
  height: 2px;
  background: rgba(239, 68, 68, 0.5);
  transform: translateY(-50%) rotate(-18deg);
  pointer-events: none;
}

/* Modal form */
.bm-form {
  display: flex;
  flex-direction: column;
}

.bm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bm-form-group {
  margin-bottom: 1.1rem;
}

.bm-form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.bm-form-group input,
.bm-form-group select,
.bm-form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.bm-form-group input:focus,
.bm-form-group select:focus,
.bm-form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(245, 162, 0, 0.15), inset 0 0 8px rgba(245, 162, 0, 0.05);
}

.bm-form-group input.error,
.bm-form-group select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.bm-form-group select option {
  background: var(--bg3);
  color: var(--text);
}

.bm-form-group textarea {
  resize: vertical;
}

.bm-form-group input::placeholder,
.bm-form-group textarea::placeholder {
  color: rgba(142, 135, 121, 0.4);
}

.bm-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #050507;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(245, 162, 0, 0.2);
  margin-top: 0.5rem;
}

.bm-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 162, 0, 0.45);
}

.bm-success-body {
  text-align: center;
  padding: 3rem 2rem;
}

.bm-success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.bm-success-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .bm-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .bm-modal {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }

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

  .bm-steps {
    gap: 4px;
  }

  .bm-step {
    font-size: 0.72rem;
  }

  .bm-step-line {
    width: 14px;
  }
}

/* ========================================================= */

/* ANIMATIONS */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* NOTIFICATION */
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--bg3);
  border: 1px solid var(--blue);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(200%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 196, 0, 0.1);
}

.notification.show {
  transform: translateX(0);
}

.notification-icon {
  font-size: 1.5rem;
}

.notification-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.notification-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .termin-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .galerie-grid {
    grid-template-columns: 1fr 1fr;
  }

  .galerie-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hero-stats {
    display: none;
  }

  .hero-logo-wrap {
    display: none;
  }

  .hero-inner {
    padding: 0 5%;
    gap: 2rem;
  }

  #warum {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 70px 5%;
  }

  nav {
    padding: 0 5%;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(245, 196, 0, 0.15);
  }

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

  .hamburger {
    display: flex;
  }

  /* Mobile dropdown: always visible as sub-list */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: unset;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu li a {
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .nav-dropdown-toggle .chevron {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .galerie-grid {
    grid-template-columns: 1fr;
  }

  .galerie-item:first-child {
    min-height: 260px;
  }

  .termin-form {
    padding: 1.8rem;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 196, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-content a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .cookie-btns {
    flex-direction: column;
  }
}

/* SONNENSCHUTZ VORHER/NACHHER VERGLEICH */

.clickable-comparison {
  cursor: pointer !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.clickable-comparison:hover {
  border-color: rgba(245, 196, 0, 0.4) !important;
  box-shadow: 0 10px 30px rgba(245, 196, 0, 0.08) !important;
}

.comparison-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.3);
  color: var(--blue);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  transition: all 0.3s ease;
}

.clickable-comparison:hover .comparison-badge {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

.comparison-modal {
  max-width: 480px !important;
  background: #ffffff !important;
  border-color: rgba(200, 160, 0, 0.25) !important;
  color: #111 !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15), 0 0 40px rgba(245, 196, 0, 0.04) !important;
}

.comparison-modal .bm-header {
  background: #ffffff !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.comparison-modal .bm-header h3 {
  color: #111 !important;
}

.comparison-modal .bm-close {
  color: #111 !important;
}

.comparison-modal p {
  color: #555 !important;
}

.comparison-modal .ba-tabs {
  background: #f3f0e0 !important;
}

.comparison-modal .ba-tab:not(.active) {
  color: #666 !important;
}

.comparison-modal .ba-tab:hover:not(.active) {
  color: #111 !important;
  background: rgba(0, 0, 0, 0.03) !important;
}

.comparison-modal .ba-slider-container {
  border-color: rgba(200, 160, 0, 0.25) !important;
}

/* Dark theme for Comparison & Video Modals (except Sonnenschutz which is light) */
#ppfComparisonModal,
#chromeVideoModal,
#scheibenComparisonModal {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 196, 0, 0.05) !important;
}

#ppfComparisonModal .bm-header,
#chromeVideoModal .bm-header,
#scheibenComparisonModal .bm-header {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

#ppfComparisonModal .bm-header h3,
#chromeVideoModal .bm-header h3,
#scheibenComparisonModal .bm-header h3 {
  color: var(--text) !important;
}

#ppfComparisonModal .bm-close,
#chromeVideoModal .bm-close,
#scheibenComparisonModal .bm-close {
  color: var(--text) !important;
}

#ppfComparisonModal .bm-close:hover,
#chromeVideoModal .bm-close:hover,
#scheibenComparisonModal .bm-close:hover {
  color: var(--blue) !important;
}

#ppfComparisonModal p,
#chromeVideoModal p,
#scheibenComparisonModal p {
  color: var(--text-muted) !important;
}

#ppfComparisonModal .ba-slider-container,
#chromeVideoModal .ba-slider-container,
#scheibenComparisonModal .ba-slider-container {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Close button style for light comparison modals (e.g. Sonnenschutz) to make close button white and visible */
.comparison-modal .bm-close {
  background: #000000 !important;
  color: #ffffff !important;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  line-height: 1;
}

.comparison-modal .bm-close:hover {
  background: #f5c400 !important; /* Gold hover color matching buildings theme */
  color: #000000 !important;
}


.ba-tabs {
  display: flex;
  background: var(--bg4);
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  gap: 4px;
}

.ba-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-align: center;
}

.ba-tab.active {
  background: var(--blue);
  color: #000;
}

.ba-tab:hover:not(.active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.ba-slider-container {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(245, 162, 0, 0.22);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 162, 0, 0.05);
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
  overflow: hidden;
}

.ba-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ba-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: polygon(var(--clip-pos, 50%) 0, 100% 0, 100% 100%, var(--clip-pos, 50%) 100%);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--blue);
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ba-handle-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), var(--blue));
  box-shadow: 0 0 8px rgba(245, 162, 0, 0.5);
}

.ba-handle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  border: 3px solid #050507;
  color: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(245, 162, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.ba-slider:hover .ba-handle-button {
  transform: scale(1.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 162, 0, 0.7);
}

.ba-label {
  position: absolute;
  bottom: 14px;
  padding: 5px 10px;
  background: rgba(18, 18, 23, 0.85);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid rgba(245, 162, 0, 0.25);
  backdrop-filter: blur(8px);
}

.ba-label-before {
  left: 14px;
}

.ba-label-after {
  right: 14px;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
/* ===================== FAQ ACCORDION ===================== */
.faq-section {
  position: relative;
}

.faq-accordion {
  max-width: 760px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(18, 18, 23, 0.6);
  border: 1px solid rgba(245, 162, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(245, 162, 0, 0.25);
  background: rgba(18, 18, 23, 0.85);
}

.faq-item.active {
  border-color: rgba(245, 162, 0, 0.35);
  background: rgba(18, 18, 23, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(245, 162, 0, 0.03);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.6rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-trigger span:first-child {
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--blue-light);
  transition: transform 0.3s ease;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-panel p {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================== CARD CAROUSEL ===================== */
.card-carousel-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050507;
  margin-bottom: 1.2rem;
}

.card-carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(1.02);
}

.card-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.card-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  opacity: 0;
}

.card-carousel-container:hover .card-carousel-nav {
  opacity: 1;
}

.card-carousel-nav:hover {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

.card-carousel-nav.prev {
  left: 10px;
}

.card-carousel-nav.next {
  right: 10px;
}

.card-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 20px;
}

.card-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.card-carousel-dot.active {
  background: var(--blue);
  width: 14px;
  border-radius: 3px;
}

/* ===================== RESPONSIVE UPDATES ===================== */
@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===================== KUNDENPROJEKT GALERIE ===================== */
.gebaeude-project-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.project-gallery-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 128, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .project-gallery-card {
    grid-template-columns: 1fr;
  }
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-step-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-info {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
}

.gallery-steps-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.step-nav-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201, 128, 0, 0.25);
  background: transparent;
  color: #5a5750;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-nav-dot.active {
  background: linear-gradient(135deg, #c99e00, #f5c400);
  color: #111;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(245, 196, 0, 0.3);
}

.step-nav-dot:hover:not(.active) {
  background: rgba(245, 162, 0, 0.08);
  color: #0b0b0e;
  border-color: rgba(245, 162, 0, 0.5);
}

.gallery-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b0b0e;
  margin-bottom: 0.8rem;
}

.gallery-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a5750;
  margin-bottom: 2rem;
  min-height: 72px;
}

.gallery-controls {
  display: flex;
  gap: 12px;
}

.gallery-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(201, 128, 0, 0.25);
  background: transparent;
  color: #5a5750;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gallery-btn:hover:not(:disabled) {
  background: rgba(245, 162, 0, 0.08);
  color: #0b0b0e;
  border-color: rgba(245, 162, 0, 0.5);
}

.gallery-btn.next-btn:not(:disabled) {
  background: linear-gradient(135deg, #c99e00, #f5c400);
  color: #111;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(245, 196, 0, 0.2);
}

.gallery-btn.next-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(245, 196, 0, 0.3);
}

.gallery-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}