/* ALMAS Cars & Detailing — Custom Styles */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Nav-Link Animation */
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1px;
  background: #F2C94C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #F2C94C; }

/* Goldene Trennlinie */
.gold-rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: #F2C94C;
  vertical-align: middle;
  margin-right: 16px;
}

/* Card Hover Lift */
.card-lift {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,20,40,0.3);
}

/* Section Number Style */
.section-num {
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #C29A30;
  text-transform: uppercase;
}

/* Subtle grain on dark sections */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Hero hintergrund-overlay */
.hero-overlay {
  background: linear-gradient(180deg, rgba(10,20,40,0.4) 0%, rgba(10,20,40,0.85) 100%);
}

/* Filter pill */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F4F6FA;
  border: 1px solid #E5EAF2;
  border-radius: 999px;
  font-size: 13px;
  color: #324154;
}

/* Image Gallery Thumb Active */
.thumb-active {
  outline: 2px solid #F2C94C;
  outline-offset: 2px;
}

/* Star rating display */
.stars {
  display: inline-flex;
  gap: 2px;
}
.stars svg { width: 16px; height: 16px; }

/* Form focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.25);
  border-color: #F2C94C;
}

/* Animation für Hero-Stats */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .8s ease forwards; }

/* Print: Hide nav/footer */
@media print {
  header, footer, .no-print { display: none !important; }
  main { padding-top: 0 !important; }
}


.map-consent-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}
.map-consent-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2640;
    z-index: 10;
}
.map-consent-box {
    text-align: center;
    padding: 2rem;
    max-width: 380px;
    color: #fff;
}
.map-consent-box svg {
    color: #a0b4d0;
    margin-bottom: 1rem;
}
.map-consent-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #c8d8e8;
    margin-bottom: 1.25rem;
}
.map-consent-box strong {
    color: #fff;
}
.map-consent-btn {
    display: inline-block;
    background: #0A1428;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.map-consent-btn:hover {
    background: #162040;
}
.map-consent-link {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #7090b0;
    text-decoration: underline;
}
