/* ============================================================
   Petar's Garten- & Hausmeisterservice — Stylesheet
   ============================================================ */

:root {
  --forest: #1b7a40;
  --forest-deep: #125c30;
  --leaf: #25d366;
  --leaf-light: #6fe3a0;
  --terracotta: #b5602f;
  --terracotta-dark: #9a4d24;
  --cream: #f8f5ec;
  --cream-deep: #f0ead9;
  --charcoal: #2a2924;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(24, 40, 25, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest-deep);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--leaf);
  margin-bottom: 0.8em;
}

section { position: relative; }

.section-pad { padding: 88px 0; }
@media (max-width: 700px) {
  .section-pad { padding: 56px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--leaf-light); outline-offset: 2px; }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(181, 96, 47, 0.35);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(248, 245, 236, 0.97);
  border-bottom: 1px solid rgba(34, 55, 31, 0.08);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(24,40,25,0.10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest-deep);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { border-color: var(--terracotta); color: var(--terracotta); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.call-pill:hover { background: var(--leaf); transform: translateY(-1px); }
.call-pill svg { width: 16px; height: 16px; flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest-deep);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 28px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(34,55,31,0.08); }
  .nav-toggle { display: block; }
  .header-cta .call-pill span.call-text { display: none; }
  .header-cta .call-pill { padding: 10px 12px; }
}

/* ============ LOGO BAND ============ */
.logo-band {
  background: var(--cream);
  border-bottom: 1px solid rgba(34,55,31,0.08);
  padding: 26px 0;
}
.logo-band-inner {
  display: flex;
  justify-content: center;
}
.logo-band-img {
  height: 108px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 600px) {
  .logo-band { padding: 18px 0; }
  .logo-band-img { height: 72px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15,50,28,0.55) 0%, rgba(15,50,28,0.72) 55%, var(--forest-deep) 100%), url("../images/hero-garten.jpg") center 30%/cover no-repeat;
}
.hero-content { max-width: 680px; padding: 100px 0 100px; }
.hero .eyebrow { color: var(--leaf-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.3em;
}
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: #e7e0c9;
  margin-bottom: 24px;
}
.hero p.lede { font-size: 1.08rem; color: #f0ede1; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* organic divider - signature element, echoes the curved stone garden edges in the photos */
.divider {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -1px;
}
.divider path { fill: var(--cream); }
.divider.to-deep path { fill: var(--cream-deep); }
.divider.to-forest path { fill: var(--forest); }
.divider.from-forest path { fill: var(--forest); }
.divider.flip { transform: scaleY(-1); }

/* ============ UBER UNS ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.facts {
  display: grid;
  gap: 20px;
}
.fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.fact .icon {
  flex: none;
  width: 42px; height: 42px;
  color: var(--leaf);
}
.fact h4 { margin: 0 0 4px; font-size: 1.02rem; }
.fact p { margin: 0; font-size: 0.94rem; color: #55584c; }

/* ============ LEISTUNGEN ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--leaf);
}
.service-card:nth-child(2) { border-top-color: var(--terracotta); }
.service-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--leaf);
}
.service-card:nth-child(2) .icon-wrap { color: var(--terracotta); }
.service-card .icon-wrap svg { width: 34px; height: 34px; }
.service-card h3 { font-size: 1.4rem; }
.service-card ul { list-style: none; margin: 18px 0 0; padding: 0; }
.service-card li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(34,55,31,0.08);
  font-size: 0.98rem;
}
.service-card li:last-child { border-bottom: none; }
.service-card li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.service-card:nth-child(2) li::before { background: var(--terracotta); }
.service-card li.note { color: #6b6e5f; font-style: italic; }

/* ============ REFERENZEN / GALLERY ============ */
.gallery-grid {
  columns: 4 260px;
  column-gap: 14px;
}
@media (max-width: 700px) { .gallery-grid { columns: 2 160px; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--cream-deep);
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,32,18,0.35) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 22, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

/* ============ KONTAKT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--leaf-light); }
.contact-row a:hover { color: var(--leaf-light); }
.contact-row .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #b9c2ab; margin-bottom: 2px; }

.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.action-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.action-tile:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.action-tile .icon { width: 30px; height: 30px; flex: none; color: var(--leaf-light); }
.action-tile strong { display: block; font-size: 1.02rem; }
.action-tile span { font-size: 0.88rem; color: #c8cfba; }

/* ============ BEWERTUNGEN ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 780px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-stars { color: #ffb400; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial-quote { font-style: italic; color: var(--charcoal); font-size: 0.98rem; margin: 0; flex: 1; }
.testimonial-source { font-size: 0.82rem; color: #6b6e5f; font-weight: 600; }

/* ============ REVIEW BADGE ============ */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.review-badge:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.review-stars { color: #ffc84a; letter-spacing: 1px; font-size: 1rem; }

/* ============ MAP CARD ============ */
.map-card {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.14);
}
.map-card iframe { display: block; filter: saturate(0.9); }
.map-route-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
@media (max-width: 480px) {
  .map-route-btn { right: 12px; bottom: 12px; padding: 11px 18px; font-size: 0.88rem; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--forest-deep);
  color: #cdd4c2;
  padding: 48px 0 24px;
  font-size: 0.92rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-brand { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--leaf); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #8b937f; }

/* ============ FLOATING BUTTONS ============ */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab-whatsapp { background: #25D366; }
.fab-instagram { background: radial-gradient(circle at 30% 110%, #ffdb73 0%, #fa7e1e 20%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ LEGAL PAGES ============ */
.legal-page { padding: 140px 0 100px; max-width: 800px; }
.legal-page h1 { font-size: 2.2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-page a { color: var(--leaf); text-decoration: underline; }
.legal-page ul { padding-left: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; color: var(--leaf); }
