/* ============================================
   BRANKOVIC TRANSPORTE GMBH – V2
   Style Sheet · Dark/Light · Theme-Switcher
   ============================================ */

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

/* ============================================
   CSS VARIABLEN – DARK MODE (Standard)
   ============================================ */
:root {
  /* Akzentfarbe (wird per JS geändert) */
  --color-accent:      #ff1744;
  --color-accent-dark: #cc0033;
  --color-accent-light:#ff5577;
  --color-accent-rgb:  255, 23, 68;

  /* Dark Mode Hintergrund */
  --color-bg:         #0a0a0a;
  --color-bg-2:       #111111;
  --color-bg-3:       #1a1a1a;
  --color-bg-4:       #222222;

  /* Dark Mode Texte */
  --color-text:       #ffffff;
  --color-text-muted: #c0c0c0;
  --color-text-dim:   #888888;

  /* Dark Mode Rahmen */
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(var(--color-accent-rgb), 0.3);

  /* Navbar */
  --nav-bg:           rgba(10, 10, 10, 0.95);
  --nav-bg-scrolled:  rgba(10, 10, 10, 0.98);

  /* Schatten */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);
  --shadow-accent: 0 8px 32px rgba(var(--color-accent-rgb), 0.25);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Layout */
  --nav-height: 72px;
  --transition: 0.3s ease;
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */
body.light-mode {
  --color-bg:         #f4f4f5;
  --color-bg-2:       #ebebec;
  --color-bg-3:       #ffffff;
  --color-bg-4:       #e0e0e1;
  --color-text:       #0f0f10;
  --color-text-muted: #444444;
  --color-text-dim:   #777777;
  --color-border:        rgba(0, 0, 0, 0.1);
  --color-border-accent: rgba(var(--color-accent-rgb), 0.3);
  --nav-bg:           rgba(255, 255, 255, 0.95);
  --nav-bg-scrolled:  rgba(255, 255, 255, 0.98);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
}

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

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   UTILITY
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 14px;
}
.section-title span { color: var(--color-accent); }

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

/* BUTTONS */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(var(--color-accent-rgb), 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}
/* Fallback Badge (sichtbar wenn Bild fehlt) */
.logo-placeholder {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.logo-text strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  display: block;
  line-height: 1.2;
}
.logo-text span {
  font-size: 10px;
  color: var(--color-text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
  transition: all var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 14px; right: 14px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Nav Right Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dark/Light Toggle */
.mode-toggle {
  width: 38px; height: 38px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text-muted);
}
.mode-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.mode-toggle svg { width: 18px; height: 18px; }
.mode-toggle .icon-moon { display: block; }
.mode-toggle .icon-sun  { display: none; }
body.light-mode .mode-toggle .icon-moon { display: none; }
body.light-mode .mode-toggle .icon-sun  { display: block; }

/* Palette Toggle Button */
.palette-toggle-btn {
  width: 38px; height: 38px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.palette-toggle-btn:hover {
  border-color: var(--color-accent);
}
.palette-toggle-btn .palette-dot-preview {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: background var(--transition);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
}
.burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   PALETTE PANEL (Theme-Switcher)
   ============================================ */
.palette-panel {
  position: fixed;
  top: calc(var(--nav-height) + 8px);
  right: 24px;
  z-index: 990;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 10px;
  flex-direction: column;
  min-width: 160px;
  animation: fadeInDown 0.2s ease;
}
.palette-panel.open { display: flex; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.palette-panel-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}

.palette-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.palette-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  background: var(--color-bg-4);
  transition: all var(--transition);
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-muted);
}
.palette-option:hover { border-color: var(--color-border-accent); }
.palette-option.active {
  border-color: var(--color-accent);
  color: var(--color-text);
}
.palette-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(20,5,8,1) 100%);
  z-index: 0;
  transition: background var(--transition);
}
body.light-mode .hero-bg {
  background: linear-gradient(135deg, #e8e8ea 0%, #dde0e5 100%);
}

/* Dekorative Linien */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(var(--color-accent-rgb), 0.1), transparent);
  animation: linePulse 4s ease-in-out infinite;
}
.hero-line:nth-child(1) { left: 15%; animation-delay: 0s; }
.hero-line:nth-child(2) { left: 40%; animation-delay: 1.5s; }
.hero-line:nth-child(3) { left: 65%; animation-delay: 0.8s; }
@keyframes linePulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* Hero Glow */
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.07) 0%, transparent 70%);
  top: 50%; left: -15%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  transition: background var(--transition);
}

/* Hero Bild (rechts) */
.hero-img-area {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-bg) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  transition: background var(--transition);
}
body.light-mode .hero-img-area::before {
  background: linear-gradient(90deg, var(--color-bg) 0%, rgba(232,232,234,0.3) 50%, transparent 100%);
}
.hero-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--color-accent-rgb), 0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: 100px;
  padding: 6px 16px 6px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(var(--color-accent-rgb), 0); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--color-text);
  margin-bottom: 20px;
}
.hero-headline .accent { color: var(--color-accent); }
.typewriter { border-right: 3px solid var(--color-accent); animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }

/* Hero USP Pills */
.hero-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.usp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.usp-pill svg { width: 13px; height: 13px; color: var(--color-accent); flex-shrink: 0; }
.usp-pill:hover {
  border-color: var(--color-border-accent);
  color: var(--color-text);
  background: rgba(var(--color-accent-rgb), 0.05);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-dim);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceY 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}
@keyframes bounceY {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 110px 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.04), transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

/* About Bild */
.about-image-wrap { position: relative; }

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-dim);
  overflow: hidden;
  position: relative;
}
.about-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.01) 20px, rgba(255,255,255,0.01) 21px);
}
.about-img-placeholder svg { width: 52px; height: 52px; opacity: 0.2; }
.about-img-placeholder p { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.3; }

.about-real-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.about-badge-float {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-accent);
  z-index: 1;
}
.about-badge-float strong {
  font-family: var(--font-heading);
  font-size: 1.9rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.about-badge-float span {
  font-size: 10px; color: rgba(255,255,255,0.8);
  text-align: center; letter-spacing: 0.5px; margin-top: 4px;
}

/* About Text */
.about-text {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-meta-item {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color var(--transition);
}
.about-meta-item:hover { border-color: var(--color-border-accent); }
.meta-label {
  font-size: 10px; font-weight: 700;
  color: var(--color-text-dim);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 4px;
}
.meta-value {
  font-family: var(--font-heading);
  font-size: 13.5px; font-weight: 700;
  color: var(--color-text);
}
.meta-value.accent { color: var(--color-accent); }

/* ============================================
   SERVICES SLIDER
   ============================================ */
.services {
  padding: 110px 0 80px;
  background: var(--color-bg-2);
  overflow: hidden;
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}
.services-header .section-sub { max-width: 520px; margin: 0 auto; }

/* Slider Layout */
.slider-section {
  position: relative;
  padding: 0 68px; /* Platz für Pfeil-Buttons */
}

.slider-outer {
  overflow: hidden;
  /* Leichter Overflow-Peek am rechten Rand */
  margin-right: -40px;
  padding-right: 40px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  /* Touch-Scroll verhindert Page-Scroll während Swipe */
  touch-action: pan-y;
}

/* Einzelne Slide-Karte */
.service-slide {
  /* Desktop: ~2.2 Karten sichtbar (peek der 3.) */
  flex: 0 0 calc(50% - 30px);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-slide:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(var(--color-accent-rgb), 0.08);
}
.service-slide:hover::before { transform: scaleX(1); }

/* Pfeil-Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-md);
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.slider-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.slider-arrow-prev { left: 8px; }
.slider-arrow-next { right: 48px; }

/* Dots */
.slider-dots-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-bg-4);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}
.slider-dot:hover:not(.active) {
  background: var(--color-text-dim);
  border-color: var(--color-text-dim);
}

/* Service Card Inhalt */
.service-icon {
  width: 50px; height: 50px;
  background: rgba(var(--color-accent-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-icon svg {
  width: 24px; height: 24px;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.service-slide:hover .service-icon { background: rgba(var(--color-accent-rgb), 0.18); }
.service-slide:hover .service-icon svg { transform: scale(1.12); }
.service-slide h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.service-slide p {
  color: var(--color-text-muted);
  font-size: 0.9rem; line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
}

/* ============================================
   USP / VORTEILE SECTION
   ============================================ */
.usps {
  padding: 110px 0;
  background: var(--color-bg);
}

.usps-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.usps-items {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}
.usp-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left var(--transition);
  opacity: 0;
}
.usp-item:first-child { border-top: 1px solid var(--color-border); }
.usp-item:hover { padding-left: 6px; }
.usp-num {
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 900;
  color: var(--color-bg-4);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(var(--color-accent-rgb), 0.2);
  transition: color var(--transition), -webkit-text-stroke var(--transition);
}
.usp-item:hover .usp-num {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
}
.usp-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.usp-body p { font-size: 0.87rem; color: var(--color-text-muted); line-height: 1.6; }

/* Stats Panel */
.stats-panel {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.stats-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.1), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 900;
  color: var(--color-accent);
  line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.8rem; color: var(--color-text-muted); letter-spacing: 0.3px; }
.stats-divider { height: 1px; background: var(--color-border); margin: 28px 0; }
.stats-quote { display: flex; gap: 14px; align-items: flex-start; }
.quote-mark {
  font-family: var(--font-heading);
  font-size: 4.5rem; font-weight: 900;
  color: var(--color-accent);
  line-height: 0.7;
  flex-shrink: 0;
  opacity: 0.45;
}
.quote-text { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.7; font-style: italic; }
.quote-author { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--color-text); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 110px 0 0;
  background: var(--color-bg-2);
}
.contact-header { text-align: center; margin-bottom: 56px; }
.contact-header .section-sub { max-width: 500px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Formular */
.contact-form-wrap {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label {
  font-size: 12.5px; font-weight: 600;
  color: var(--color-text-muted); letter-spacing: 0.2px;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-bg-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-dim); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--color-bg-4); color: var(--color-text); }
.form-note { font-size: 11.5px; color: var(--color-text-dim); margin-top: 6px; }
.form-note a { color: var(--color-accent-light); text-decoration: underline; text-underline-offset: 3px; }

/* Info + Map */
.contact-info-wrap { display: flex; flex-direction: column; gap: 16px; }
.contact-info-box {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  opacity: 0;
}
.contact-info-box h4 {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.contact-info-line:last-child { border-bottom: none; }
.contact-info-line svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-line a { color: var(--color-text-muted); transition: color var(--transition); }
.contact-info-line a:hover { color: var(--color-accent); }

/* Map */
.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 240px;
}
.map-box iframe {
  width: 100%; height: 100%;
  display: block;
  filter: grayscale(40%) brightness(0.85);
  transition: filter var(--transition);
}
.map-box:hover iframe { filter: grayscale(10%) brightness(0.98); }
body.light-mode .map-box iframe { filter: grayscale(20%) brightness(1); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 80px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 44px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand p {
  font-size: 0.87rem; color: var(--color-text-dim);
  line-height: 1.7; margin-top: 14px; max-width: 260px;
}
.footer-uid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 11px;
  color: var(--color-text-dim);
  font-family: monospace;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.87rem; color: var(--color-text-dim); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 11.5px; color: var(--color-text-dim); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 11.5px; color: var(--color-text-dim); transition: color var(--transition); cursor: pointer; }
.footer-links a:hover { color: var(--color-accent); }

/* ============================================
   MODALS (Impressum / Datenschutz)
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 700px;
  max-height: 82vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(16px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border);
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800;
  color: var(--color-text);
}
.modal-close {
  width: 34px; height: 34px;
  background: var(--color-bg-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text-muted);
  font-size: 18px; line-height: 1;
}
.modal-close:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}
.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 700;
  color: var(--color-accent);
  margin: 20px 0 6px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p {
  font-size: 0.88rem; color: var(--color-text-muted);
  line-height: 1.75; margin-bottom: 6px;
}
.modal-body a { color: var(--color-accent-light); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   ANIMATIONEN
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .usps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-badge-float { display: none; }

  .hero-img-area {
    width: 45%;
    opacity: 0.4;
  }

  .hero-content { max-width: 100%; }

  .service-slide {
    flex: 0 0 calc(65% - 20px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

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

  .stats-panel { padding: 32px; }
}

/* ============================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; font-size: 15px; width: 100%; }
  .nav-links a::after { display: none; }

  .nav-controls .btn { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero { padding-top: var(--nav-height); }
  .hero-img-area {
    display: flex;
    width: 100%;
    opacity: 0.15;
    pointer-events: none;
  }
  .hero-img-area::before {
    background: transparent;
  }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  /* Sections */
  .about { padding: 72px 0; }
  .services { padding: 72px 0 60px; }
  .usps { padding: 72px 0; }
  .contact { padding: 72px 0 0; }

  /* Slider */
  .slider-section { padding: 0 16px; }
  .slider-outer { margin-right: -24px; padding-right: 24px; }
  .service-slide { flex: 0 0 calc(85% - 12px); }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow-prev { left: -12px; }
  .slider-arrow-next { right: 12px; }
  .service-slide { padding: 28px 22px; }

  /* About meta */
  .about-meta { grid-template-columns: 1fr 1fr; }

  /* USP */
  .usps-grid { gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-panel { padding: 28px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Palette Panel */
  .palette-panel { right: 12px; }
}

/* ============================================
   RESPONSIVE – KLEIN (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-headline { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .hero-usps { gap: 6px; }
  .usp-pill { font-size: 11px; padding: 4px 10px; }

  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .about-meta { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 2.2rem; }

  .service-slide {
    flex: 0 0 calc(90% - 10px);
    padding: 24px 18px;
  }
  .slider-section { padding: 0 8px; }
  .slider-arrow { display: none; } /* Auf sehr kleinen Geräten nur Swipe */

  .modal-box { border-radius: var(--radius-lg); }
  .modal-body { padding: 20px; }
}
