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

/* -----------------------------------------------------------
   Farb-Token aus dem Logo
----------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #ffffff;
  --border: #E3E8E5;
  --text: #21674D;   /* Logo-Grün */
  --muted: #6E7C76; /* neutrale Sekundärschrift */
  --brand: #21674D; /* Buttons/Links Primär */
  --brand-2: #2E8A69; /* leichte Verlaufs-Variante */
  --accent: #FCCC00; /* Logo-Gelb als Akzent */
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
}

/* -----------------------------------------------------------
   Base
----------------------------------------------------------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1200px, 94vw); margin-inline: auto; }
.grid { display: grid; gap: 1.2rem; }
section { padding: clamp(2rem, 5vw, 3rem) 0; }

/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #ffffff;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: none;
}
.btn.alt {
  background: #fff;
  color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 0;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* -----------------------------------------------------------
   Pills / Chips
----------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 239, 165, 0.90);
  border: 1px solid rgba(226, 193, 88, 0.35);
  color: #21513D;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.10);
}
.hero .chip { margin-bottom: .6rem; }

/* -----------------------------------------------------------
   Karten / Boxen
----------------------------------------------------------- */
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.card h3 { margin: .2rem 0 0; font-size: 1.15rem; }
.kicker {
  letter-spacing: .18em;
  color: var(--text);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  opacity: .7;
}

/* -----------------------------------------------------------
   Navigation (hell, sticky)
----------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .row { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; }
.brand em { font-style: normal; color: var(--brand); }
.menu { display: flex; gap: 1rem; align-items: center; }
.menu a { opacity: .85; }
.menu a:hover, .menu a:focus-visible { opacity: 1; }

/* -----------------------------------------------------------
   Hero (hell)
----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: .2px;
  margin: 0;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.25rem); color: var(--muted); max-width: 70ch; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }

.glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('https://golfgravur.ch/wp-content/uploads/2025/11/vecteezy_ai-generated-golf-on-a-beautiful-golf-course_36779310-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

/* -----------------------------------------------------------
   Layout-Spalten
----------------------------------------------------------- */
.two { display: grid; gap: 1.6rem; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 920px) { .two { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   Grids
----------------------------------------------------------- */
.services { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery .shot {
  aspect-ratio: 1.15/1;
  border-radius: 16px;
  background: linear-gradient(180deg, #F7FAF8, #FFFFFF);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.shot .tag { position: absolute; top: .6rem; left: .6rem; }
.shot svg { position: absolute; inset: 0; margin: auto; width: 70%; height: auto; opacity: .75; }
.steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price { padding: 1.5rem; }
.price h4 { font-size: 1.25rem; margin: .2rem 0; }
.price .value { font-size: 2rem; font-weight: 800; }

.actions { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* -----------------------------------------------------------
   Form & Inputs (hell)
----------------------------------------------------------- */
form { display: grid; gap: .9rem; }
input, textarea, select {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .9rem;
}
label { font-size: .92rem; color: var(--muted); }
.note { font-size: .86rem; color: var(--muted); }

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
footer { border-top: 1px solid var(--border); padding: 2rem 0; color: var(--muted); }

/* -----------------------------------------------------------
   Cookie Banner (hell)
----------------------------------------------------------- */
.cookie {
  position: fixed;
  inset: auto 1rem 1rem auto;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
  color: var(--text);
}
.cookie.show { display: block; }
.cookie p { margin: .4rem 0 .9rem; color: var(--muted); }

/* -----------------------------------------------------------
   Sonstiges
----------------------------------------------------------- */
.wp-site-blocks { padding: 0; margin: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .two { position: relative; z-index: 1; }
.hero .two > * { position: relative; }

/* -----------------------------------------------------------
   Carousel (hell)
----------------------------------------------------------- */
.carousel { position: relative; }
.caro-viewport { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.caro-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  transition: transform .45s ease;
  list-style: none;
  margin: 0;
  padding: 0;
}
.caro-track > li { list-style: none; margin: 0; padding: 0; }
.caro-slide { position: relative; aspect-ratio: 16/9; }
.caro-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caro-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 2;
}
.caro-btn.prev { left: .5rem; }
.caro-btn.next { right: .5rem; }
.caro-btn[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(30%); }
.caro-indicator {
  position: absolute;
  bottom: .5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .6rem;
  font-size: .9rem;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 2;
}
@media (min-width: 920px) { .carousel { width: 70%; margin-inline: auto; } }

/* -----------------------------------------------------------
   Mobile Navigation
----------------------------------------------------------- */
.gg-menu { display: flex; align-items: center; justify-content: flex-start; gap: .9rem; flex-wrap: wrap; }
@media (min-width: 900px) { .gg-menu { gap: 1.2rem; } }
.gg-menu a { opacity: .85; flex: 0 0 auto; }
.gg-menu a:hover, .gg-menu a:focus-visible { opacity: 1; }

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav .row { position: relative; }
  #primary-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    padding: .8rem 1rem;
    gap: .6rem;
  }
  .nav.open #primary-menu { display: flex; }
  #primary-menu a { padding: .4rem 0; font-size: 1.05rem; }
  .nav-cta { padding: .55rem .9rem; }
}
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-tools { display: flex; align-items: center; gap: .8rem; }

/* -----------------------------------------------------------
   Filter
----------------------------------------------------------- */
.caro-filter {
  display: flex;
  gap: .8rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: .8rem 0 1.2rem;
}
.caro-filter label { font-size: 1rem; }
.caro-filter select {
  background: #fff;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: .7rem 1rem;
  font-size: 1.12rem;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .caro-filter select { width: 100%; } }

/* -----------------------------------------------------------
   Accessibility
----------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* -----------------------------------------------------------
   Aufklappbare Preistabelle (hell)
----------------------------------------------------------- */
details.price-table {
  margin-top: 2rem;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
details.price-table summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand);
  font-size: 1.2rem;
  outline: none;
}
details.price-table[open] summary { margin-bottom: 1rem; }
.price-matrix { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-matrix th, .price-matrix td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: center; }
.price-matrix th { background: #F7FAF8; color: var(--brand); font-weight: 600; }
.price-matrix tr:nth-child(even) td { background: #FBFDFB; }
.price-matrix caption { caption-side: top; margin-bottom: .6rem; font-weight: 600; color: var(--muted); }

/* -----------------------------------------------------------
   Reels
----------------------------------------------------------- */
.reels-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.reel { list-style: none; }
.reel-inner { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.reel-video { width: 100%; height: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.reel-badge { position: absolute; left: .6rem; top: .6rem; z-index: 2; }

/* -----------------------------------------------------------
   Aktionen – Bilder in Angebots-Kacheln
----------------------------------------------------------- */
.offer-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #F7FAF8, #FFFFFF);
  margin: .9rem 0 .85rem;
}
.offer-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
@media (max-width: 520px) {
  .offer-img img { height: 160px; }
}

/* -----------------------------------------------------------
   Preistabelle – Mobile Overflow Fix
----------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap .price-matrix {
  min-width: 620px;
}

/* -----------------------------------------------------------
   Kontaktformular – Erfolgs-/Fehlermeldung
----------------------------------------------------------- */
.form-message {
  padding: .9rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  display: none;
}
.form-message.success {
  background: #e8f5ee;
  color: #1a5c3a;
  border: 1px solid #a8d5ba;
  display: block;
}
.form-message.error {
  background: #fdecea;
  color: #9b2020;
  border: 1px solid #f0b0b0;
  display: block;
}
