/* Flitzewiese — Website-Styles */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --forest: #2f4538;
  --forest-dark: #1f2f26;
  --moss: #6b8f71;
  --moss-light: #a9c4a5;
  --sand: #f2ede1;
  --cream: #fbf9f4;
  --terracotta: #c96f4a;
  --terracotta-dark: #ab5836;
  --ink: #22301f;
  --stone: #6f6a5d;
  --line: #e1d9c8;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 40px -20px rgba(31, 47, 38, 0.35);
  --shadow-soft: 0 10px 24px -14px rgba(31, 47, 38, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }

.brand-name {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--forest-dark);
  line-height: 1.2;
}

.brand-name span {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest-dark);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.main-nav a:hover { opacity: 1; }

.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover { transform: translateY(-2px); background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  color: var(--forest-dark);
  border: 1.5px solid var(--forest-dark);
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 90px;
}

.eyebrow {
  display: inline-block;
  background: var(--moss-light);
  color: var(--forest-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--forest-dark);
  font-weight: 700;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--forest);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art svg,
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 78%;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(47, 69, 56, 0.32) 0%, rgba(47, 69, 56, 0.04) 55%, rgba(201, 111, 74, 0.14) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Sections ---------- */

section { padding: 90px 0; }

.section-sand { background: var(--sand); }

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

.section-head .eyebrow { display: inline-flex; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--forest-dark);
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p { color: var(--stone); font-size: 1.05rem; margin: 0; }

/* ---------- Cards / Grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--moss-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--forest-dark);
}

.card p { margin: 0; color: var(--stone); font-size: 0.96rem; }

/* ---------- Zweck / Liste ---------- */

.purpose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.purpose-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.purpose-list .dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-top: 8px;
}

/* ---------- Standort / Karte ---------- */

.map-frame {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}

.map-frame img { width: 100%; height: auto; }

.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hundewiese-area {
  fill: var(--terracotta);
  fill-opacity: 0.25;
  stroke: var(--terracotta);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 10 7;
  vector-effect: non-scaling-stroke;
  animation:
    hundewiese-dash 2.2s linear infinite,
    hundewiese-pulse 2.6s ease-in-out infinite alternate;
}

@keyframes hundewiese-dash {
  to { stroke-dashoffset: -68; }
}

@keyframes hundewiese-pulse {
  from { fill-opacity: 0.18; }
  to   { fill-opacity: 0.42; }
}

.map-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

@media (prefers-reduced-motion: reduce) {
  .hundewiese-area { animation: none; fill-opacity: 0.3; }
}

/* ---------- Mitmachen ---------- */

.mitmachen {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.mitmachen h2 { color: var(--cream); }

.mitmachen p { color: var(--moss-light); font-size: 1.05rem; }

.mitmachen .btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}

.mitmachen .btn-outline:hover { background: var(--cream); color: var(--forest-dark); }

.option-grid {
  display: grid;
  gap: 16px;
}

.option-grid .opt {
  background: rgba(251, 249, 244, 0.08);
  border: 1px solid rgba(251, 249, 244, 0.25);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.option-grid .opt strong { display: block; margin-bottom: 6px; font-size: 1rem; }

.option-grid .opt span { color: var(--moss-light); font-size: 0.92rem; }

/* ---------- Kontakt ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info .card { margin-bottom: 20px; }

form.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--moss);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.note {
  font-size: 0.85rem;
  color: var(--stone);
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-dark);
  color: var(--moss-light);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 249, 244, 0.12);
}

.footer-grid .brand-name { color: var(--cream); }

.footer-grid h4 {
  color: var(--cream);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer-grid a {
  text-decoration: none;
  color: var(--moss-light);
  font-size: 0.92rem;
}

.footer-grid a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(242, 237, 225, 0.6);
}

/* ---------- Legal pages ---------- */

.legal-page { padding: 70px 0 100px; }

.legal-page h1 { margin-bottom: 8px; }

.legal-page .updated { color: var(--stone); font-size: 0.9rem; margin-bottom: 44px; }

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-page p, .legal-page li { color: var(--ink); font-size: 0.98rem; }

.legal-page ul { padding-left: 20px; }

.placeholder {
  background: #fdf1e7;
  border: 1px dashed var(--terracotta);
  color: var(--terracotta-dark);
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 600;
  font-size: 0.92em;
}

.info-box {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 20px;
}

/* ---------- Vision ---------- */

.vision-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}

.vision-frame img { width: 100%; height: auto; }

/* ---------- WhatsApp-Button ---------- */

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Formular: Status & Honeypot ---------- */

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status-ok {
  background: rgba(107, 143, 113, 0.18);
  color: var(--forest-dark);
}

.form-status-error {
  background: #fdf1e7;
  color: var(--terracotta-dark);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .mitmachen { grid-template-columns: 1fr; padding: 40px 28px; border-radius: var(--radius-md); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 60px 0; }
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
