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

:root {
  --brand-green: #0f3d2e;
  --brand-green-light: #1a5c44;
  --brand-green-dark: #0a2e22;
  --brand-yellow: #FFD000;
  --brand-yellow-dark: #E6B800;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Loader */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 1.8s linear infinite;
}


/* Fade in */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Service cards */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.12);
}

/* Nav buttons */
.nav-btn {
  transition: all 0.2s ease;
}
.nav-btn:hover {
  background-color: #FFD000 !important;
  color: #0f3d2e !important;
}

/* Cookie banner animation */
#cookie-banner {
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accordion content */
[data-accordion-content] {
  transition: all 0.3s ease;
}

/* Watermark */
.watermark {
  background-image: url('../images/logo-circle.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 280px;
  opacity: 0.04;
  pointer-events: none;
}

/* Clean logo in header – no square */
header img[alt*="Logo"],
header img[alt*="Neubauer"] {
  background: transparent !important;
}

/* Mobile improvements */

  h1 { letter-spacing: -0.02em; }
}

/* Image hover */
.group:hover img {
  transform: scale(1.04);
}
img {
  transition: transform 0.5s ease;
}

/* Prevent black bg flash on logos */
img[src*="logo"] {
  background-color: transparent;
}



}

/* Floating phone pulse */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(234, 179, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}
a[href^="tel:"].fixed {
  animation: pulse-ring 2s infinite;
}

/* Lightbox */
#lightbox img {
  animation: fadeInUp 0.3s ease;
}

/* Sticky header wave – seamless with page */
header .leading-\[0\] svg {
  display: block;
  width: 100%;
}

/* ===== Optimized wave rendering ===== */
.header-wave,
.hero-wave,
.hero-wave-top {
  display: block;
  line-height: 0;
  font-size: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
.header-wave svg,
.hero-wave svg,
.hero-wave-top svg {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
  shape-rendering: geometricPrecision;
}
@media (min-width: 768px) {
  .header-wave svg,
  .hero-wave svg,
  .hero-wave-top svg {
    height: 40px;
  }
}
/* Kill subpixel gap under sticky header */
header.sticky .header-wave {
  margin-bottom: -1px;
}
/* Hero waves absolute overlay */
.hero-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* ===== Banner photo cutouts ===== */
.banner-row {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #0f3d2e;
  box-shadow: 0 10px 25px -5px rgba(15,61,46,0.35);
  min-height: 130px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .banner-row {
    flex-direction: row;
    align-items: stretch;
    min-height: 140px;
  }
}
.banner-row__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
}
@media (min-width: 640px) {
  .banner-row__content {
    width: 46%;
    flex-shrink: 0;
    padding: 1.15rem 1.25rem;
  }
}
.banner-row__photo {
  position: relative;
  height: 7.5rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  .banner-row__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    height: auto;
    /* Scalable smooth wave cut – left edge curves into green panel */
    clip-path: polygon(
      12% 0%,
      100% 0%,
      100% 100%,
      12% 100%,
      0% 85%,
      7% 70%,
      1% 55%,
      8% 40%,
      0% 25%,
      7% 12%,
      12% 0%
    );
  }
}
.banner-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02); /* avoid edge gaps */
}
/* Soft blend only at the cut edge */
.banner-row__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #0f3d2e 0%, rgba(15,61,46,0.65) 8%, rgba(15,61,46,0.2) 22%, transparent 40%);
}
@media (max-width: 639px) {
  .banner-row__photo {
    height: 11rem;
    width: 100%;
    clip-path: none;
  }
  .banner-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .banner-row__photo::before {
    background: linear-gradient(180deg, #0f3d2e 0%, transparent 45%);
  }
}
.banner-row__icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (max-width: 639px) {
  .banner-row__icon {
    top: auto;
    bottom: 0.65rem;
    transform: none;
  }
}

/* Section bottom wave – clean cut into white */
.section-wave {
  display: block;
  line-height: 0;
  font-size: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  position: relative;
  z-index: 5;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  shape-rendering: geometricPrecision;
}
@media (min-width: 768px) {
  .section-wave svg { height: 36px; }
}
/* Header wave match */
.header-wave svg {
  height: 22px !important;
}
@media (min-width: 768px) {
  .header-wave svg { height: 28px !important; }
}

/* ===== Interactive effects ===== */
@keyframes sheen {
  0% { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(220%) skewX(-15deg); }
}
@keyframes tractor-drive {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 3.5s linear infinite;
}
.loader-track {
  position: relative;
}
.loader-tractor {
  position: absolute;
  left: 0;
  bottom: 4px;
  animation: tractor-drive 2.2s ease-in-out infinite;
}
.loader-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD000 20%, #FFD000 80%, transparent);
  border-radius: 2px;
  opacity: 0.7;
}

/* Buttons – scale + sheen */
.btn-shine,
a.bg-brand-yellow,
a.bg-brand-yellow\/90,
button.bg-brand-yellow,
button[class*="bg-brand-yellow"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease !important;
}
.btn-shine:hover,
a.bg-brand-yellow:hover,
a.bg-brand-yellow\/90:hover,
button.bg-brand-yellow:hover,
button[class*="bg-brand-yellow"]:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(236, 190, 68, 0.35);
}
.btn-shine::after,
a.bg-brand-yellow::after,
a.bg-brand-yellow\/90::after,
button.bg-brand-yellow::after,
button[class*="bg-brand-yellow"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: translateX(-120%) skewX(-15deg);
  pointer-events: none;
}
.btn-shine:hover::after,
a.bg-brand-yellow:hover::after,
a.bg-brand-yellow\/90:hover::after,
button.bg-brand-yellow:hover::after,
button[class*="bg-brand-yellow"]:hover::after {
  animation: sheen 0.7s ease forwards;
}

/* Banner cards – lift + sheen */
.banner-row,
a.group.relative.overflow-hidden.rounded-2xl.bg-brand-green {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease !important;
}
.banner-row:hover,
a.group.relative.overflow-hidden.rounded-2xl.bg-brand-green:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(15, 61, 46, 0.35) !important;
}
.banner-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
  z-index: 4;
}
.banner-row:hover::after {
  animation: sheen 0.9s ease forwards;
}

/* Feature / contact cards */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 32px rgba(15, 61, 46, 0.25);
}

/* Nav links */
header nav a {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
header nav a:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(236, 190, 68, 0.3);
}

/* Floating phone */
a[href^="tel:"].fixed {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
a[href^="tel:"].fixed:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(236, 190, 68, 0.45);
}

/* Accordion yellow buttons already covered by button.bg-brand-yellow */

/* Gallery images */
[data-lightbox] {
  transition: transform 0.4s ease, filter 0.3s ease;
}
[data-lightbox]:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}


/* ===== Hero logo – full circle, not cropped ===== */
.hero-photos {
  overflow: visible;
}
.hero-photos .grid {
  overflow: hidden;
}
.hero-logo-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 48%);
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.35));
}
.hero-logo {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  background: transparent;
}
@media (min-width: 640px) {
  .hero-logo { width: 8.5rem; height: 8.5rem; }
}
@media (min-width: 768px) {
  .hero-logo { width: 10.5rem; height: 10.5rem; }
}

/* Floating phone – always bottom-right */
a.fab-phone,
a[href^="tel:"].fixed {
  position: fixed !important;
  right: max(1.25rem, env(safe-area-inset-right)) !important;
  bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
  left: auto !important;
  z-index: 50 !important;
}

/* Parallax */
.parallax-img {
  will-change: transform;
  transform: translate3d(0, var(--p, 0px), 0) scale(1.08);
  transition: transform 0.08s linear;
}

/* Microinteractions */
@media (hover: hover) {
  header nav a:active,
  .btn-shine:active,
  a.bg-brand-yellow:active,
  button.bg-brand-yellow:active {
    transform: scale(0.96) !important;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.7s ease-out both;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
.gallery-grid img,
[data-lightbox] {
  border-radius: inherit;
}


/* Cookie overlay – center branded modal */
.cookie-overlay {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-overlay.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cookie-card {
  animation: fadeInUp 0.45s ease both;
}

/* Banner icons – cream disc like mockup */
.banner-row__icon {
  background: #f5f0e1 !important;
  width: 2.9rem;
  height: 2.9rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.banner-row__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Footer contact discs */
footer a span.w-7,
footer div span.w-7 {
  background: rgba(255,208,0,0.12);
  border-color: rgba(255,208,0,0.45);
}

/* Loader track wider for better tractor */
.loader-track {
  width: 14rem;
  height: 2.8rem;
}
@media (min-width: 640px) {
  .loader-track { width: 16rem; }
}

/* Soft page section fade */
.banner-row {
  animation: fadeInUp 0.6s ease both;
}
.banner-row:nth-child(2) { animation-delay: .08s; }
.banner-row:nth-child(3) { animation-delay: .16s; }
.banner-row:nth-child(4) { animation-delay: .24s; }


/* Footer service-area map */
.footer-map-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.footer-map {
  height: 168px;
  width: 100%;
  background: #0a241c;
}
.footer-map-legend {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 61, 46, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 0, 0.4);
  pointer-events: none;
}
.footer-map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD000;
  box-shadow: 0 0 0 4px rgba(255, 208, 0, 0.25);
}
.neu-marker { background: none !important; border: none !important; }
.neu-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFD000;
  border: 3px solid #0f3d2e;
  box-shadow: 0 0 0 4px rgba(255, 208, 0, 0.35);
}
.leaflet-container { background: #0a241c; font-family: inherit; }
.leaflet-control-attribution {
  background: rgba(10, 36, 28, 0.75) !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: #FFD000 !important; }
.leaflet-popup-content-wrapper {
  background: #0f3d2e;
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,208,0,0.35);
}
.leaflet-popup-tip { background: #0f3d2e; }
.leaflet-popup-content { margin: 10px 12px; font-size: 13px; }


/* Homepage banners without photos */
.banner-row--plain {
  min-height: 108px;
  align-items: center;
}
.banner-row--plain .banner-row__content--full {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 1.15rem 1.35rem;
}
.banner-row__mark {
  position: absolute;
  right: -0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 640px) {
  .banner-row__mark {
    width: 9rem;
    height: 9rem;
    right: 0.4rem;
    opacity: 0.12;
  }
}

.legal-page a { color: #0f3d2e; }
.legal-page table td, .legal-page table th { border-bottom: 1px solid rgba(15,61,46,0.12); }

.season-btn { background: #fff; color: #0f3d2e; border: 1px solid rgba(15,61,46,0.15); }
.season-btn.is-active, .season-btn:hover { background: #FFD000; border-color: #FFD000; color: #0f3d2e; }
