/* =========================================================
   DESIGN TOKENS - Konzept 6 "Sonniges Gartenfest"
   Farben aus dem Referenzbild des Kunden abgeleitet.
   ========================================================= */
:root {
  --sky: #4a86b8;
  --sky-deep: #1f3557;
  --lawn: #4f5a1f;
  --lawn-light: #727d23;
  --gold: #d99a3d;
  --gold-light: #e8b84b;
  --cream: #FBF8F0;
  --brown: #5b4632;
  --white: #ffffff;

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

  --max-width: 1180px;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(31, 53, 87, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--brown); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em 0; color: var(--sky-deep); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; font-size: 0.76rem; color: var(--gold);
  margin-bottom: 0.6em;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-light); color: var(--sky-deep); border-color: var(--sky-deep); }
.btn-secondary { background: transparent; color: var(--sky-deep); border-color: var(--sky-deep); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--cream);
  border-bottom: 4px solid var(--gold-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max-width); margin: 0 auto;
}
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--sky-deep); text-decoration: none; }
.logo span { color: var(--gold); }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 700; color: var(--brown); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--gold); }
.nav-toggle { display: none; }

/* =========================================================
   SIGNATUR-ELEMENT: Wimpelgirlande
   ========================================================= */
.pennants { display: flex; width: 100%; height: 24px; overflow: hidden; }
.pennants span { flex: 1; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 24px solid var(--c); }
.pennants span:nth-child(3n+1) { --c: var(--sky-deep); }
.pennants span:nth-child(3n+2) { --c: var(--gold-light); }
.pennants span:nth-child(3n+3) { --c: var(--lawn-light); }
.pennants.upside-down { transform: scaleY(-1); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; }
.hero img { width: 100%; display: block; height: 560px; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,15,0.05) 0%, rgba(20,30,15,0.55) 78%, rgba(20,30,15,0.74) 100%);
  display: flex; align-items: flex-end;
}
.hero-content { padding: 44px 24px; max-width: 640px; margin: 0 auto; width: 100%; color: #fff; }
.hero-content .eyebrow { background: rgba(20,30,15,0.35); padding: 5px 12px; border-radius: 999px; color: var(--gold-light); }
.hero-content h1 { color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,0.35); }
.hero-content .lead { font-size: 1.08rem; max-width: 50ch; margin-bottom: 22px; color: #f3efe4; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hero-badges span { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-secondary { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* =========================================================
   SECTIONS ALLGEMEIN
   ========================================================= */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-alt { background: var(--sky-deep); color: var(--cream); }
.section-alt h2, .section-alt .eyebrow { color: var(--cream); }
.section-alt .eyebrow { color: var(--gold-light); }

/* =========================================================
   ARTIKEL / LEISTUNGEN
   ========================================================= */
.artikel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.artikel-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.2s ease; }
.artikel-card:hover { transform: translateY(-6px); }
.artikel-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.artikel-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.artikel-card .body { padding: 20px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.artikel-card .tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.artikel-card p { color: #6b6255; font-size: 0.96rem; flex: 1; }
.artikel-card .card-link { margin-top: 12px; font-weight: 700; color: var(--sky-deep); text-decoration: none; font-size: 0.9rem; }

/* =========================================================
   VORTEILE
   ========================================================= */
.vorteile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.vorteil-item .icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 12px;
}

/* =========================================================
   EINZUGSGEBIET
   ========================================================= */
.gebiet-liste { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gebiet-liste span { background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.9rem; color: var(--sky-deep); }

/* =========================================================
   KONTAKT
   ========================================================= */
.kontakt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.kontakt-info-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.kontakt-info-box dt { font-weight: 800; color: var(--sky-deep); margin-top: 16px; }
.kontakt-info-box dt:first-child { margin-top: 0; }
.kontakt-info-box dd { margin: 2px 0 0; }

form.kontakt-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 700; font-size: 0.92rem; }
.form-field label .req { color: var(--gold); }
.form-field input, .form-field textarea {
  border: 1.5px solid #E0D6C4; border-radius: 10px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 1rem; background: var(--cream);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(31,53,87,0.14); }
.captcha-box { display: flex; align-items: center; gap: 14px; background: #F3ECD9; border-radius: 10px; padding: 14px; }
.captcha-question { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--sky-deep); white-space: nowrap; }
.captcha-box input { max-width: 100px; }
.form-hint { font-size: 0.82rem; color: #8a7d6a; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.form-msg.success { background: #E4EEDD; color: var(--lawn); }
.form-msg.error { background: #FBE4E2; color: #B23A2E; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--sky-deep); color: #DCE6EF; padding: 46px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-footer h4 { color: var(--gold-light); }
.site-footer a { text-decoration: none; color: #DCE6EF; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #AFC0D2; }

/* =========================================================
   RECHTLICHE SEITEN (Impressum/Datenschutz)
   ========================================================= */
.rechtlich { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; }
.rechtlich h1 { margin-bottom: 0.8em; }
.rechtlich h2 { margin-top: 1.6em; font-size: 1.3rem; }
.rechtlich p, .rechtlich li { color: #4a4030; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero img { height: 460px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero img { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
