/* ==========================================================
   WILDFUNK – Stylesheet
   Farben und Schriften zentral in :root anpassbar.
   ========================================================== */

/* Schriften lokal (keine Verbindung zu Google).
   Dateien in den Ordner /fonts legen – siehe LIESMICH.md.
   Fehlen sie, wird automatisch eine Systemschrift verwendet. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque.woff2') format('woff2'),
       url('../fonts/bricolage-grotesque.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree.woff2') format('woff2'),
       url('../fonts/figtree.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --forest: #16302A;
  --moss: #2F5D46;
  --sky: #D6EAE6;
  --sage: #E4ECDF;
  --paper: #F3F5EE;
  --blush: #FBEEF1;
  --pink: #F4A3B4;
  --peach: #FFD3A1;
  --mint: #DCEBCF;
  --ice: #CFE6E8;
  --text2: #2A4A3E;
  --on-dark: #D3DDD6;
  --line: rgba(22, 48, 42, 0.18);

  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1200px;
  --radius-l: 32px;
  --radius-m: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--forest); }
a:hover { color: var(--moss); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--font-display); }
.eyebrow {
  margin: 0; font-weight: 700; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--moss);
}
.h2 {
  margin: 16px 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.015em;
}
.lead { margin: 22px 0 0; max-width: 640px; font-size: 19px; line-height: 1.6; color: var(--text2); }
.section { padding: 110px 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: var(--forest); }
.btn-primary:hover { color: var(--forest); background: #F6B3C1; }
.btn-dark { background: var(--forest); color: var(--paper); min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dark:hover { color: var(--paper); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--sky); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--forest); }
.nav { display: flex; gap: 30px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--sky); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 32px; align-items: end; padding-top: 64px; position: relative; z-index: 2;
}
.hero-text { padding-bottom: 120px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #2F8F5B; }
.hero h1 {
  margin: 24px 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -.02em;
}
.hero h1 span { color: var(--moss); }
.hero .lead { max-width: 520px; font-size: 20px; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 26px 0 0; font-size: 15px; font-weight: 600; color: var(--text2); }
.hero-image { margin-bottom: -90px; }
.hero-image img { display: block; width: 100%; }
@media (max-width: 900px) {
  .hero-text { padding-bottom: 0; }
  .hero-image { max-width: 460px; margin: 0 auto -70px; }
}
.landscape { display: block; position: relative; z-index: 1; margin-top: -140px; line-height: 0; }
.landscape svg { display: block; width: 100%; height: 260px; }
@media (max-width: 900px) { .landscape { margin-top: -60px; } .landscape svg { height: 160px; } }

.progress { margin-top: 30px; max-width: 420px; }
.progress[hidden] { display: none; }
.progress-row { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.progress-bar { margin-top: 8px; height: 10px; border-radius: 999px; background: rgba(22, 48, 42, .14); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: var(--pink); transition: width 1s ease; }
.progress-dark { color: var(--paper); }
.progress-dark .progress-bar { background: rgba(243, 245, 238, .2); }

/* ---------- Laufschrift ---------- */
.marquee { background: var(--forest); color: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; gap: 46px; width: max-content; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  animation: marquee 38s linear infinite;
}
.marquee-track b { color: var(--pink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Galerie ---------- */
.gallery {
  margin-top: 48px; display: grid; gap: 24px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
}
.gallery-main { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--blush); }
.gallery-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-main figcaption {
  padding: 16px 24px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 15px; color: var(--text2);
}
.gallery-main figcaption strong { font-family: var(--font-display); font-size: 18px; color: var(--forest); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.thumb {
  padding: 8px; border-radius: 20px; border: 2px solid var(--line); background: transparent;
  cursor: pointer; text-align: left; font: inherit; transition: border-color .15s ease, background .15s ease;
}
.thumb:hover { border-color: rgba(22, 48, 42, .45); }
.thumb[aria-pressed="true"] { border-color: var(--forest); background: #fff; }
.thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.thumb span { display: block; padding: 10px 4px 2px; font-weight: 700; font-size: 15px; color: var(--forest); }
.wide-photo { margin: 24px 0 0; border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.wide-photo img { display: block; width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; }

/* ---------- Karten ---------- */
.grid-4 { margin-top: 56px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-3 { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { margin-top: 56px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { padding: 32px 28px; border-radius: 28px; background: #fff; }
.card-pink { background: var(--pink); }
.statement { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.15; }
.statement span { color: var(--moss); }
.card-pink .statement span { color: var(--forest); }

.benefits { background: var(--sage); }
.benefit { padding: 44px 40px; border-radius: var(--radius-l); background: #fff; }
.benefit-dark { background: var(--forest); color: var(--paper); }
.benefit-head { display: flex; align-items: center; gap: 14px; }
.benefit-head h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.icon-box { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; flex-shrink: 0; }
.checklist { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; }
.checklist svg { flex-shrink: 0; margin-top: 2px; }

.family { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.family-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family-card { padding: 26px 22px; border-radius: var(--radius-m); }
.family-card h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 23px; }
.family-card p { margin: 8px 0 0; font-size: 16px; color: var(--text2); }
@media (max-width: 420px) { .family-cards { grid-template-columns: 1fr; } }

.steps-section { background: var(--sky); }
.step { padding: 36px 32px; border-radius: 28px; background: var(--paper); }
.step-num {
  display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--forest); color: var(--pink); font-family: var(--font-display); font-weight: 800; font-size: 26px;
}
.step h3 { margin: 24px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.step p { margin: 10px 0 0; font-size: 17px; color: var(--text2); }

.timeline { margin: 52px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.timeline li { padding: 24px; border-radius: var(--radius-m); background: #fff; border: 2px dashed rgba(22, 48, 42, .25); }
.timeline li.done { background: var(--sage); border: 2px solid transparent; }
.timeline li.now { background: var(--forest); color: var(--paper); border: 2px solid transparent; }
.timeline small { display: block; font-weight: 700; font-size: 14px; color: var(--text2); }
.timeline li.done small { color: var(--moss); }
.timeline li.now small { color: var(--pink); }
.timeline strong { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 21px; }

/* ---------- Formular ---------- */
.signup { background: var(--forest); color: var(--paper); }
.signup-grid { display: grid; gap: 56px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.signup .lead { color: var(--on-dark); }
.signup .h2 { margin-top: 0; }
.ticks { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.ticks div { display: flex; gap: 12px; align-items: center; }
.tick { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--moss); align-items: center; justify-content: center; flex-shrink: 0; }

.form-card { padding: 40px 36px; border-radius: var(--radius-l); background: var(--paper); color: var(--forest); }
@media (max-width: 480px) { .form-card { padding: 30px 22px; } }
.form { display: flex; flex-direction: column; gap: 30px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend, .form-label { padding: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.choices { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.choices-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
  border-radius: 14px; border: 2px solid rgba(22, 48, 42, .25); background: #fff;
  font-weight: 600; font-size: 16px; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--text2); }
.input {
  min-height: 52px; padding: 0 18px; border-radius: 14px; border: 2px solid rgba(22, 48, 42, .25);
  background: #fff; font: inherit; font-size: 17px; color: var(--forest);
}
.hint { font-size: 14px; color: var(--text2); }
.form .btn { width: 100%; border: 0; }
.form-legal { margin: -14px 0 0; text-align: center; font-size: 13px; color: var(--text2); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FDE2E2; color: #8A1C1C; font-weight: 600; font-size: 15px; }
.form-error[hidden] { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 24px 4px; }
.thanks[hidden] { display: none; }
.thanks-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--pink); align-items: center; justify-content: center; }
.thanks h3 { margin: 24px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; }
.thanks p { margin: 12px 0 0; font-size: 18px; color: var(--text2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 22px; background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.6px; border-radius: 2px;
  background: var(--forest); transform: translate(-50%, -50%); transition: transform .2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { margin: 0; padding: 0 24px 24px; font-size: 17px; line-height: 1.6; color: var(--text2); }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: var(--on-dark); }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 16px; line-height: 1.8; }
.footer-cols h4 { margin: 0 0 6px; font-size: 16px; color: var(--paper); }
.footer-cols p { margin: 0; }
.footer-col { display: flex; flex-direction: column; }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(243, 245, 238, .15); font-size: 14px; }

/* ---------- Unterseiten (Impressum, Datenschutz, Danke) ---------- */
.page { padding: 80px 0 110px; }
.page .wrap { max-width: 820px; }
.page h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; }
.page h2 { margin: 44px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.page p, .page li { color: var(--text2); }
.page .todo { background: #FFF1C2; padding: 0 4px; border-radius: 4px; }
