/* ============================================
   Smart Repair Buschel - Custom Styles
   Farben aus Visitenkarte / Kunden-CI
   ============================================ */

:root {
  --primary: #1B2A4A;
  --primary-dark: #0F1B2D;
  --primary-light: #2A3F6A;
  --accent: #2D3080;
  --accent-light: #4A4DC0;
  --highlight: #4A90D9;
  --white: #FFFFFF;
  --light: #F4F6F9;
  --gray: #6C757D;
  --gray-light: #E9ECF0;
  --dark: #1A1A2E;
  --text: #333333;
  --text-light: #CCCCCC;
}

/* === GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

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

/* === NAVBAR === */
.navbar {
  background-color: var(--primary) !important;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.navbar.scrolled {
  padding: 0.35rem 0;
  background-color: var(--primary-dark) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-brand img {
  height: 34px;
  width: auto;
}

.navbar-brand .brand-accent {
  color: var(--highlight);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.4rem 0.8rem !important;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--highlight);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  margin-left: auto;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.2em;
  height: 1.2em;
}

/* Mobile Nav Dropdown */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-dark);
    margin: 0.5rem -0.75rem 0;
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar .btn-primary-custom {
    margin-top: 0.8rem;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--highlight);
}

.hero p.lead {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  z-index: 1;
}

/* === BUTTONS === */
.btn-primary-custom {
  background-color: var(--highlight);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-custom:hover {
  background-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(74, 144, 217, 0.4);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-custom:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(45, 48, 128, 0.4);
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
  overflow-x: hidden;
}

.section-light {
  background-color: var(--light);
}

.section-dark {
  background-color: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--highlight);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === SERVICE CARDS === */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(27, 42, 74, 0.15);
  border-color: var(--highlight);
}

.service-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* === ABOUT SECTION === */
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-feature .icon-sm {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: var(--light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* === GALLERY === */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}

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

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

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--highlight);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* === STATS / COUNTER === */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--highlight);
  line-height: 1;
}

.stat-item .label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--highlight);
}

.testimonial-card .stars {
  color: #FFB400;
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary);
}

/* === CONTACT === */
.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon-sm {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-item h5 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  color: var(--gray);
  margin: 0;
  font-size: 0.95rem;
}

#map {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* === FOOTER === */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--highlight);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin: 0 0.3rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--highlight);
  transform: translateY(-3px);
}

/* === PAGE HEADER (Unterseiten) === */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
  color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* === DETAIL SERVICE PAGE === */
.service-detail {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-light);
}

.service-detail h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.service-detail h3 i {
  color: var(--highlight);
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--highlight);
}

/* === LEGAL PAGES === */
.legal-content {
  padding: 3rem 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

/* === LICHTEFFEKTE & PRO TOUCHES === */

/* Glow-Effekt auf Buttons bei Hover */
.btn-primary-custom:hover {
  box-shadow: 0 0 25px rgba(74, 144, 217, 0.5), 0 5px 20px rgba(74, 144, 217, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 0 25px rgba(45, 48, 128, 0.5), 0 5px 20px rgba(45, 48, 128, 0.3);
}

/* Glow auf Service-Cards bei Hover */
.service-card:hover {
  box-shadow: 0 15px 40px rgba(27, 42, 74, 0.15), 0 0 30px rgba(74, 144, 217, 0.08);
}

/* Schimmernder Lichtstreifen auf Hero */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 0;
  width: 50vw;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Zweiter Lichtpunkt Hero unten links */
.hero .hero-decoration {
  background: radial-gradient(circle, rgba(45, 48, 128, 0.15) 0%, transparent 70%) !important;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

/* Leuchtender Rand auf Stats-Section */
.section-dark {
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
}

/* Leuchtende Stat-Zahlen */
.stat-item .number {
  text-shadow: 0 0 20px rgba(74, 144, 217, 0.3);
}

/* Icon-Glow auf Service-Cards */
.service-card:hover .icon {
  box-shadow: 0 0 30px rgba(74, 144, 217, 0.4);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.service-card .icon {
  transition: all 0.3s ease;
}

/* Testimonial-Card Hover-Glow */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(74, 144, 217, 0.08);
}

/* CTA-Banner Lichteffekt */
.cta-banner {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

/* Kontakt-Info Card Hover */
.contact-info-card {
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(74, 144, 217, 0.1);
}

/* Gallery-Item Pro Glow */
.gallery-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(74, 144, 217, 0.1);
}

/* Page-Header subtiler Lichteffekt */
.page-header {
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* Glassmorphism auf Navbar beim Scrollen */
.navbar.scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(15, 27, 45, 0.92) !important;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 991.98px) {
  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .hero-decoration {
    display: none;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 6rem 1rem 3rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p.lead {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
  }

  .hero .d-flex {
    justify-content: center;
  }

  .hero .mt-4 {
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .stat-item .number {
    font-size: 2.2rem;
  }

  #map {
    height: 300px;
  }

  .navbar-brand img {
    height: 26px !important;
    margin-left: 0.3rem;
  }

  .navbar {
    padding: 0.4rem 0.5rem;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-accent {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .page-header {
    padding: 6rem 1rem 3rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 3rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .footer {
    padding: 3rem 1rem 1.5rem;
  }
}

/* === MAUS-SPOTLIGHT === */
.navbar.has-spotlight::after,
.hero.has-spotlight::before,
.section-dark.has-spotlight::before,
.cta-banner.has-spotlight::before,
.page-header.has-spotlight::after {
  content: '' !important;
  position: absolute !important;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.12) 0%, rgba(74, 144, 217, 0.04) 30%, transparent 70%);
  top: calc(var(--spot-y, 50%) - 250px);
  left: calc(var(--spot-x, 50%) - 250px);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
  opacity: 1;
  mix-blend-mode: screen;
}

.navbar:not(.has-spotlight)::after,
.hero:not(.has-spotlight)::before,
.section-dark:not(.has-spotlight)::before,
.cta-banner:not(.has-spotlight)::before,
.page-header:not(.has-spotlight)::after {
  opacity: 0;
}

/* Spotlight: Navbar kleiner, Sections normal */
.navbar.has-spotlight::after {
  width: 300px;
  height: 300px;
  top: calc(var(--spot-y, 50%) - 150px);
  left: calc(var(--spot-x, 50%) - 150px);
  background: radial-gradient(circle, rgba(74, 144, 217, 0.15) 0%, rgba(74, 144, 217, 0.05) 30%, transparent 70%);
}

/* Sections brauchen position relative für das Spotlight */
.hero, .section-dark, .cta-banner, .page-header {
  position: relative;
}

/* === LIGHTBOX === */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

#lightbox .lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#lightbox.active .lb-img {
  transform: scale(1);
}

#lightbox .lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}

#lightbox .lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

#lightbox .lb-caption {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 80vw;
  padding: 0 1rem;
}

#lightbox .lb-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

#lightbox .lb-prev,
#lightbox .lb-next {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

#lightbox .lb-prev:hover,
#lightbox .lb-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

@media (max-width: 767.98px) {
  #lightbox .lb-prev,
  #lightbox .lb-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  #lightbox .lb-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  #lightbox .lb-caption {
    font-size: 0.85rem;
  }
}

/* === WHATSAPP HEADER BUTTON (Desktop) === */
.btn-wa-header {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.btn-wa-header:hover {
  background-color: #1da851;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* === WHATSAPP FLOATING BUTTON (nur Mobile) === */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background: white;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .tooltip-text {
  opacity: 1;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.7rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  color: white;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.2rem 1.5rem;
  z-index: 9998;
  box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 250px;
}

.cookie-banner a {
  color: var(--highlight);
}

.cookie-banner .btn-cookie {
  background: var(--highlight);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cookie-banner .btn-cookie:hover {
  background: var(--accent-light);
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    display: flex;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float .tooltip-text {
    display: none;
  }

  .back-to-top {
    bottom: 4.2rem;
    right: 1.2rem;
    width: 38px;
    height: 38px;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-banner p {
    font-size: 0.8rem;
  }
}

/* === UTILITIES === */
.text-highlight {
  color: var(--highlight);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.shadow-soft {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.rounded-xl {
  border-radius: 12px;
}
