/* =============================================
   Firstcar Autopflege & Folierung – Custom CSS
   Premium Redesign 2026
   ============================================= */

/* Inter (Latin) – self-hosted from /fonts/inter/, no external requests. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/inter/inter-300.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/inter/inter-800.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:900; font-display:swap; src:url('../fonts/inter/inter-900.woff2') format('woff2'); }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 2px; }

/* ── Navigation ── */
#navbar {
  background: transparent;
  backdrop-filter: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a84c;
  transition: width 0.3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: #c9a84c; }

#mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.98);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 8px 16px 20px;
}
#mobile-menu.open { display: flex; }

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 96px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}
.hero-slide.active { opacity: 1; }
#hero-slide-1 { background-image: url('../images/photos/Hero/aufbereitung-maserati-hero-2.jpeg'); background-position: center 60%; }
#hero-slide-2 { background-image: url('../images/photos/Hero/aufbereitung-oldtimer-mercedes-hero-1.jpeg'); background-position: center 40%; }
#hero-slide-3 { background-image: url('../images/photos/Hero/versiegelung-porsche-hero-3.jpeg'); background-position: center 45%; }
#hero-slide-4 { background-image: url('../images/photos/Hero/aufbereitung-mercedes-gt-hero-4.jpeg'); background-position: center 55%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.58) 100%);
}
.hero-content { position: relative; z-index: 2; }

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Decorative backdrop text ── */
.backdrop-text {
  position: absolute;
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -0.05em;
}

/* ── Gold accent line ── */
.gold-line {
  width: 60px;
  height: 2px;
  background: #c9a84c;
  margin: 16px 0;
}
.gold-line-center { margin: 16px auto; }

/* ── Section divider ── */
.section-divider {
  width: 40px;
  height: 2px;
  background: #c9a84c;
  margin: 12px 0 20px;
}

/* ── Stats bar ── */
.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #c9a84c;
  line-height: 1;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: #1e1e1e;
}

/* ── Tabs ── */
.tab-scroll { scrollbar-width: none; }
.tab-scroll::-webkit-scrollbar { height: 0; }

.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #444;
  color: #bbb;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn:hover { border-color: #c9a84c; color: #c9a84c; }
.tab-active { background: #c9a84c !important; color: #000 !important; border-color: #c9a84c !important; }

/* ── Package items ── */
.pkg-item-new { color: #c9a84c; font-weight: 500; }
.pkg-item-inherit { color: #bbb; }

/* ── Package tab animation ── */
.pkg-anim { transition: opacity 0.22s ease, transform 0.22s ease; }
.pkg-leave { opacity: 0; transform: translateX(-20px); }
.pkg-enter { opacity: 1; transform: translateX(0); animation: pkgSlideIn 0.28s ease; }
@keyframes pkgSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Price tag ── */
.price-tag { color: #c9a84c; font-weight: 700; font-size: 1rem; }

/* ── Price table ── */
.price-table thead tr { background: rgba(201,168,76,0.1); }
.price-table th {
  color: #aaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.price-table tbody tr { border-bottom: 1px solid #1a1a1a; }
.price-table tbody tr:last-child { border-bottom: none; }

/* ── Fixed price box ── */
.fixed-price-box { text-align: center; }
.fixed-price-box .amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #c9a84c;
  line-height: 1;
}

/* ── Expand button ── */
.expand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c9a84c;
  font-size: 0.8rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.expand-btn:hover { opacity: 0.75; }
.expand-btn svg { transition: transform 0.3s; flex-shrink: 0; }
.expand-btn.open svg { transform: rotate(180deg); }

.expand-panel {
  border-top: 1px solid #1e1e1e;
  margin-top: 16px;
  padding-top: 16px;
}

/* ── Service cards – large format ── */
.service-card {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover { border-color: #c9a84c; transform: translateY(-2px); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }

/* ── Addon cards ── */
.addon-card {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s;
}
.addon-card:hover { border-color: #c9a84c; }
.addon-price { color: #c9a84c; font-size: 1.5rem; font-weight: 800; }

/* ── Before/After slider ── */
img-comparison-slider {
  width: 100%;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  --divider-width: 2px;
  --divider-color: #c9a84c;
  --default-handle-opacity: 1;
  --default-handle-color: #c9a84c;
}
img-comparison-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Per-Slider-Anpassungen, um Perspektivversatz auszugleichen */
/* Tesla: vorher (weiß) ist deutlich weiter weg fotografiert als nachher (blau).
   Erstes Bild stark heranzoomen + leicht nach links verschieben, damit
   Karosserie-Mitte deckungsgleich liegt. */
#ba-slider-tesla img[slot="first"] {
  transform: scale(1.45);
  transform-origin: 62% 60%;
}

/* Sonstige Instandsetzung (Lackierung): Bilder fast deckungsgleich. */
#ba-slider-lackierung {
  aspect-ratio: 3 / 2;
}
#ba-slider-lackierung img[slot="second"] {
  transform: scale(1.02);
  transform-origin: 50% 50%;
}

/* Schimmelbehandlung, Felgeninstandsetzung:
   alle 4:3 Quellen, in der Regel deckungsgleich aufgenommen. */
#ba-slider-schimmel,
#ba-slider-felgen {
  aspect-ratio: 4 / 3;
}
#ba-slider-schimmel img[slot="second"] {
  transform: scale(1.05);
  transform-origin: 50% 50%;
}

/* Schutzfolierung (G63): Nachher minimal enger gerahmt + Wagen etwas höher.
   Vorher leicht heranzoomen, Origin in der unteren Bildmitte, damit die
   Karosserie hochrückt und die Scheinwerfer deckungsgleich bleiben. */
#ba-slider-schutz {
  aspect-ratio: 4 / 3;
}
#ba-slider-schutz img[slot="first"] {
  transform: scale(1.08);
  transform-origin: 50% 75%;
}
#ba-slider-schutz img[slot="second"] {
  transform: scale(1.28) translateY(5%);
  transform-origin: 50% 50%;
}

/* Video in Vorher/Nachher-Sektion */
.ba-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Platzhalter für Subsektionen ohne Vorher/Nachher-Material */
/* ── Vorher-/Nachher slideshow (3 images, soft cross-fade) ── */
.ba-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.ba-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: baSlideFade 12s infinite;
}
.ba-slideshow img:nth-child(1) { animation-delay: 0s; }
.ba-slideshow img:nth-child(2) { animation-delay: 4s; }
.ba-slideshow img:nth-child(3) { animation-delay: 8s; }
@keyframes baSlideFade {
  0%, 50%, 100%   { opacity: 0; }
  16.67%, 33.33%  { opacity: 1; }
}

.ba-placeholder {
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #111;
  border: 1px dashed #2a2a2a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.ba-label {
  position: absolute;
  top: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}
.ba-label-before { left: 20px; }
.ba-label-after { right: 20px; }

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ba-pair > div { position: relative; }
.ba-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.ba-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1e1e1e;
}

/* ── Horizontal gallery (single row, scrollable) ── */
.gallery-masonry {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.4) rgba(255,255,255,0.04);
}
.gallery-masonry::-webkit-scrollbar {
  height: 8px;
}
.gallery-masonry::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.gallery-masonry::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.4);
  border-radius: 4px;
}
.gallery-masonry::-webkit-scrollbar-thumb:hover {
  background: rgba(201,168,76,0.7);
}
.gallery-masonry a {
  flex: 0 0 auto;
  width: 320px;
  height: 240px;
  scroll-snap-align: start;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-masonry a:hover img { transform: scale(1.04); }
.gallery-masonry a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.gallery-masonry a:hover::after { background: rgba(201,168,76,0.12); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.gallery-masonry a:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #c9a84c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

/* ── Big quote ── */
.big-quote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: #ddd;
  line-height: 1.5;
  border-left: 3px solid #c9a84c;
  padding-left: 28px;
  margin: 0;
}

/* ── Über uns image ── */
.ueber-img-placeholder {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #111;
}
.ueber-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ueber-img-placeholder:hover img { transform: scale(1.03); }

/* ── Partner logos ── */
.partner-logo {
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s;
}
.partner-logo:hover { filter: grayscale(0) brightness(1); }

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c9a84c;
  color: #000;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold:hover { background: #d4b45a; transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover { border-color: #c9a84c; color: #c9a84c; }

/* ── Contact ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #111;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  flex-shrink: 0;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #222;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.form-input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-input.error { border-color: #ef4444; }
.form-input::placeholder { color: #666; }

.success-msg {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: #c9a84c;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ── Hol & Bring callout card ── */
.callout-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid #1e1e1e;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Footer ── */
footer { background: #050505; border-top: 1px solid #222; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.footer-social a:hover { color: #c9a84c; background: #1a1a1a; }

/* ── Text gold utility ── */
.text-gold { color: #c9a84c; }

/* ── Paket-Tab Item Animation ── */

/* Exit nach oben (Wechsel zu kleinerem Paket) */
.pkg-exit-up li {
  animation: pkgItemExitUp 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}
.pkg-exit-up li:nth-child(2)  { animation-delay: 0.05s; }
.pkg-exit-up li:nth-child(3)  { animation-delay: 0.10s; }
.pkg-exit-up li:nth-child(4)  { animation-delay: 0.15s; }
.pkg-exit-up li:nth-child(5)  { animation-delay: 0.20s; }
.pkg-exit-up li:nth-child(6)  { animation-delay: 0.25s; }
.pkg-exit-up li:nth-child(7)  { animation-delay: 0.30s; }
.pkg-exit-up li:nth-child(n+8){ animation-delay: 0.33s; }

/* Exit nach unten (Wechsel zu größerem Paket) */
.pkg-exit-down li {
  animation: pkgItemExitDown 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}
.pkg-exit-down li:nth-child(2)  { animation-delay: 0.05s; }
.pkg-exit-down li:nth-child(3)  { animation-delay: 0.10s; }
.pkg-exit-down li:nth-child(4)  { animation-delay: 0.15s; }
.pkg-exit-down li:nth-child(5)  { animation-delay: 0.20s; }
.pkg-exit-down li:nth-child(6)  { animation-delay: 0.25s; }
.pkg-exit-down li:nth-child(7)  { animation-delay: 0.30s; }
.pkg-exit-down li:nth-child(n+8){ animation-delay: 0.33s; }

/* Einfaden der neuen Punkte (staggered) */
.pkg-entering li {
  opacity: 0;
  animation: pkgItemEnter 0.45s cubic-bezier(0.0,0.0,0.2,1) forwards;
}
.pkg-entering li:nth-child(1)  { animation-delay: 0.04s; }
.pkg-entering li:nth-child(2)  { animation-delay: 0.10s; }
.pkg-entering li:nth-child(3)  { animation-delay: 0.16s; }
.pkg-entering li:nth-child(4)  { animation-delay: 0.22s; }
.pkg-entering li:nth-child(5)  { animation-delay: 0.28s; }
.pkg-entering li:nth-child(6)  { animation-delay: 0.34s; }
.pkg-entering li:nth-child(7)  { animation-delay: 0.40s; }
.pkg-entering li:nth-child(n+8){ animation-delay: 0.46s; }

@keyframes pkgItemExitUp {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-22px); }
}
@keyframes pkgItemExitDown {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(22px); }
}
@keyframes pkgItemEnter {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Kumulativer Paket-Wechsel: Einzelitem-Animation ── */
.pkg-list-item {
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}
.pkg-item-text {
  transition: color 0.28s ease;
}
.pkg-icon-bg {
  transition: background-color 0.28s ease;
}
.pkg-list-item.pkg-item-exiting {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.pkg-list-item.pkg-item-entering {
  animation: pkgItemEnterFromTop 0.4s ease forwards;
}
@keyframes pkgItemEnterFromTop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Fahrzeugklassen Tooltip ── */
.vehicle-class-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.vehicle-info-icon {
  color: #bbb;
  flex-shrink: 0;
  transition: color 0.2s;
  cursor: pointer;
  line-height: 0;
}
.vehicle-class-cell:hover .vehicle-info-icon,
.vehicle-class-cell:focus .vehicle-info-icon {
  color: #c9a84c;
}
.vehicle-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.75rem;
  color: #ccc;
  white-space: nowrap;
  z-index: 50;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  line-height: 1.5;
}
.vehicle-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 18px;
  border: 5px solid transparent;
  border-top-color: #333;
}
@media (max-width: 768px) {
  .vehicle-tooltip { white-space: normal; max-width: 220px; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .gallery-masonry a { width: 280px; height: 210px; }
}
@media (max-width: 768px) {
  .gallery-masonry a { width: 240px; height: 180px; }
  .stat-divider { display: none; }
  .hero-slide { background-attachment: scroll; }
  #hero { padding-top: 80px; }
  .service-card { padding: 24px; }
}
@media (max-width: 480px) {
  .gallery-masonry a { width: 220px; height: 165px; }
}

/* ── GLightbox dark theme overrides ── */
.glightbox-clean .gslide-description,
.glightbox-clean .gdesc-inner,
.gslide-description {
  background: #111 !important;
  color: #999 !important;
}
.glightbox-clean .gslide-title {
  color: #ddd !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}
.glightbox-clean .gslide-desc {
  color: #777 !important;
}
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(0,0,0,0.6) !important;
}
.glightbox-clean .gclose svg,
.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
  fill: #fff !important;
}

/* ── Reviews horizontal scroll ── */
.reviews-scroll {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a #0a0a0a;
  scroll-padding-left: 1.5rem;
}
.reviews-scroll::-webkit-scrollbar {
  height: 8px;
}
.reviews-scroll::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 4px;
}
.reviews-scroll::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
}
.reviews-scroll::-webkit-scrollbar-thumb:hover {
  background: #c8a557;
}
.review-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
