:root {
  --gradient-main-from: #2B71AB; /* Metallic Gold */
  --gradient-main-to: #199D33;   /* Warm deep gold */
  --gradient-secondary-from: #0f172a; /* Dark Navy Slate */
  --gradient-secondary-to: #1e293b;
}
.bg-gradient-main {
  background-image: linear-gradient(to right, var(--gradient-main-from), var(--gradient-main-to)) !important;
}
.text-transparent.bg-gradient-main {
  background-image: linear-gradient(to right, var(--gradient-main-from), var(--gradient-main-to)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.\!text-white {
  color: #ffffff !important;
}

/* Custom classes for Services Section - Overridden for gold theme */
.bg-slate-900 { background-color: #0f172a !important; }
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), transparent; }
.via-slate-900\/60 { --tw-gradient-stops: var(--tw-gradient-from), rgba(15, 23, 42, 0.6), transparent; }
.bg-blue-600\/10 { background-color: rgba(43, 113, 171, 0.1) !important; }
.bg-blue-400\/5 { background-color: rgba(43, 113, 171, 0.05) !important; }
.text-blue-400 { color: #2B71AB !important; }
.group:hover .group-hover\:text-blue-300 { color: #83d4ed !important; }
.bg-blue-400 { background-color: #2B71AB !important; }
.mix-blend-overlay { mix-blend-mode: overlay; }

/* Global Tailwind Overrides for Blue utility classes */
.text-blue-600 { color: #2B71AB !important; }
.bg-blue-600 { background-color: #2B71AB !important; }
.hover\:bg-blue-700:hover { background-color: #008800 !important; }
.border-blue-100 { border-color: #83d4ed !important; }
.hover\:border-blue-100:hover { border-color: #83d4ed !important; }
.bg-blue-50 { background-color: #f0faff !important; }

/* Service Cards */
.niwar-service-card {
  position: relative;
  height: 320px;
  border-radius: 1.5rem;
}

.niwar-card-inner {
  transform: translateY(0);
}

.niwar-service-card:hover .niwar-card-inner {
  transform: translateY(0);
}

/* Modern Benefits Cards */
.benefit-card {
  position: relative;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.benefit-card:hover,
.benefit-card.benefit-card--active {
  transform: translateY(-5px);
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}
.benefit-card-num {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(43, 113, 171, 0.12); /* Faint cyan color */
  transition: color 0.3s ease;
  user-select: none;
}
.benefit-card:hover .benefit-card-num,
.benefit-card.benefit-card--active .benefit-card-num {
  color: rgba(25, 157, 51, 0.18); /* Faint green color on hover */
}
.benefit-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  color: #2B71AB; /* Standard state is cyan */
  transition: all 0.3s ease;
}
.benefit-card:hover .benefit-card-icon,
.benefit-card.benefit-card--active .benefit-card-icon {
  background-color: #199D33; /* Primary green on hover */
  color: #ffffff;
}
.benefit-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2B71AB; /* Standard state is cyan */
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.benefit-card:hover .benefit-card-title,
.benefit-card.benefit-card--active .benefit-card-title {
  color: #199D33; /* Primary green on hover */
}

/* Modern why-us cards */
.why-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 1.5rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-align: left;
}
.why-card:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}
.why-card-num {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2B71AB;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.why-card:hover .why-card-num {
  background-color: #199D33;
  color: #ffffff;
}
.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2B71AB;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.why-card:hover .why-card-title {
  color: #199D33;
}

/* Service Area Cards */
.area-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.area-card:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  border-color: #2B71AB;
  box-shadow: 0 10px 15px -3px rgba(43, 113, 171, 0.08), 0 4px 6px -4px rgba(43, 113, 171, 0.08);
}
.area-card-pin {
  color: #2B71AB;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.area-card:hover .area-card-pin {
  color: #199D33; /* Turns green on hover */
}

.area-region-block {
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.area-region-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c1c3e;
  margin-bottom: 0.35rem;
}
.area-region-desc {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* Gallery Styles */
.gallery-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: #f8fafc;
  aspect-ratio: 4 / 3;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 28, 62, 0.85) 0%, rgba(12, 28, 62, 0.2) 70%, rgba(12, 28, 62, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: all 0.4s ease;
}
.gallery-grid-item:hover .gallery-img {
  transform: scale(1.06);
}
.gallery-grid-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-tag {
  background-color: rgba(25, 157, 51, 0.9); /* green */
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 767px) {
  #galerie {
    overflow-x: clip;
  }

  #galerie .gallery-scroll-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #galerie .gallery-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(43, 113, 171, 0.45) transparent;
  }

  #galerie .gallery-grid::-webkit-scrollbar {
    height: 6px;
  }

  #galerie .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(43, 113, 171, 0.45);
    border-radius: 9999px;
  }

  #galerie .gallery-grid-item {
    flex: 0 0 min(82vw, 18rem);
    width: min(82vw, 18rem);
    scroll-snap-align: start;
  }

  #galerie .gallery-grid-item:hover .gallery-img {
    transform: none;
  }
}

/* Schweiz section – prevent mobile overflow from aspect-ratio + min-height */
.schweiz-section__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}

/* Hero – prevent long German words from being cut off */
.hero-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .hero-logo {
    height: 6rem !important;
  }
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-subtitle {
    font-size: 1.4rem !important;
    margin-top: 0.75rem !important;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.75rem !important;
  }
  .hero-subtitle {
    font-size: 1.2rem !important;
  }
}

.hero-btn-secondary {
  margin: 0 !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
}
.hero-btn-secondary:hover {
  color: #199D33 !important;
  border-color: #ffffff !important;
  background-color: #ffffff !important;
}

/* Honeypot field: visually hidden for humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ Accordion */
.faq-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item[open] {
  background-color: #ffffff;
  border-color: #2B71AB;
  box-shadow: 0 10px 15px -3px rgba(43, 113, 171, 0.08), 0 4px 6px -4px rgba(43, 113, 171, 0.08);
}
.faq-question {
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0c1c3e;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 600;
  color: #2B71AB;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
  color: #199D33;
}
.faq-item[open] .faq-question {
  color: #2B71AB;
}
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #ffffff;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
}
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Footer logo – preserve wide aspect ratio (no stretch) */
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}
.footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.75rem;
  object-fit: contain;
}
@media (min-width: 768px) {
  .footer-logo {
    max-height: 4.5rem;
  }
}

.footer-contact-list {
  min-width: 0;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  flex-wrap: nowrap;
  line-height: 1.4;
}
.footer-contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  flex-shrink: 0;
  display: block;
  color: #9ca3af;
  transition: color 0.2s ease;
}
.footer-contact-link:hover .footer-contact-icon {
  color: #ffffff;
}
.footer-contact-link span {
  white-space: nowrap;
}
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.5rem;
  width: 100%;
}
.footer-bottom-copy {
  margin: 0;
  justify-self: start;
  text-align: left;
  line-height: 1.4;
}
.footer-bottom-credit {
  margin: 0;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  color: #9ca3af;
}
.footer-bottom-credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-credit a:hover {
  color: #ffffff;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
  justify-self: end;
}
.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 4rem;
  max-width: 36rem;
}
.footer-services-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-services-grid li + li {
  margin-top: 0.65rem;
}
.footer-services-grid a {
  display: inline-block;
  line-height: 1.5;
}
.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 1.15fr) minmax(0, 2fr) minmax(14rem, 1.1fr);
  gap: 3rem 5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.footer-brand {
  min-width: 0;
}
.footer-services-wrap {
  min-width: 0;
}
.footer-contact-col {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 20rem;
}
.footer-heading {
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-contact-col {
    justify-self: start;
    max-width: none;
  }
  .footer-services-grid {
    max-width: none;
    gap: 0.75rem 3rem;
  }
}
@media (max-width: 767px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    text-align: center;
  }
  .footer-bottom-copy,
  .footer-bottom-credit,
  .footer-legal {
    justify-self: auto;
    text-align: center;
    width: 100%;
  }
  .footer-bottom-credit {
    white-space: normal;
  }
  .footer-legal {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-services-grid ul + ul {
    margin-top: 0.5rem;
  }
}




