/* ═══════════════════════════════════════════════════════════
   KÜLL GARTENTECHNIK — Custom Styles v2
   Hell · Freundlich · Apple-Feeling · 2026
═══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Parkinsans', sans-serif;
  overflow-x: hidden;
  background: #ffffff;
  color: #111111;
}

::selection {
  background: #7ab648;
  color: white;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f7f6f5; }
::-webkit-scrollbar-thumb { background: #7ab648; border-radius: 3px; }

/* ══════════════════════════════════════════
   FLOATING NAV PILL
══════════════════════════════════════════ */
#nav-wrapper {
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  /* Mobil: abgerundetes Rechteck */
  border-radius: 20px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-radius 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}


/* When mobile menu is open */
.nav-pill.menu-open {
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Scrolled: etwas opaker, stärkerer Schatten */
#nav-wrapper.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Active nav link */
.nav-link.active {
  color: #7ab648;
  background: rgba(122, 182, 72, 0.08);
}

/* Mobile menu inside pill */
#mobile-menu {
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

#mobile-menu.open {
  display: block;
  animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hamburger */
#mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 20px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  min-height: 100svh;
  min-height: 100vh;
}

.hero-img-wrap img {
  transition: none;
}

.hero-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════ */
.service-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s ease,
    box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 74, 26, 0.12);
}

/* ══════════════════════════════════════════
   PHOTO CARDS
══════════════════════════════════════════ */
.photo-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

/* ══════════════════════════════════════════
   BRAND CARDS
══════════════════════════════════════════ */
.brand-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

/* ══════════════════════════════════════════
   REVIEWS SLIDER
══════════════════════════════════════════ */
#reviews-slider {
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
}
#reviews-slider::-webkit-scrollbar {
  display: none;
}

/* ══════════════════════════════════════════
   REVIEW CARDS
══════════════════════════════════════════ */
.review-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
#contact-form input,
#contact-form select,
#contact-form textarea {
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(122, 182, 72, 0.15);
}

/* ══════════════════════════════════════════
   RECAPTCHA BADGE — ausblenden
══════════════════════════════════════════ */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ══════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════ */
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(122, 182, 72, 0.35);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 2.6rem;
  }
}

/* ══════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7ab648;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
#cookie-banner {
  animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

#cookie-banner.hiding {
  animation: cookieSlideDown 0.3s ease forwards;
}

@keyframes cookieSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(20px); }
}

#cookie-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Toggle Switch */
.cookie-toggle .after\:content-\[\''\'\]:after { content: ''; }

/* ══════════════════════════════════════════
   PRINT
══════════════════════════════════════════ */
@media print {
  #announcement-bar,
  #nav-wrapper,
  #back-to-top { display: none !important; }
}
