/* =========================================================================
   HayHo Landingpage — Design-System
   Tokens unter :root (Warm & natürlich).
   WordPress/Elementor-tauglich: jede Section ist ein abgeschlossener Block.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #F5F0E6;
  --surface:       #FBF8F2;
  --surface-2:     #EFE7D6;
  --primary:       #9CAF53;
  --primary-dark:  #5A6B33;
  --accent:        #E8920C;
  --accent-ink:    #FFFFFF;
  --text:          #2E2A24;
  --muted:         #6B6457;
  --line:          rgba(46, 42, 36, .12);
  --band:          #3D4A24;   /* dunkle Kontrastfläche */
  --band-text:     #F3EFE3;
  --band-muted:    #C8CDB4;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Work Sans', system-ui, sans-serif;

  --radius:    0;
  --radius-lg: 0;
  --shadow-sm: 0 1px 2px rgba(46,42,36,.06), 0 2px 8px rgba(46,42,36,.05);
  --shadow:    0 8px 30px rgba(46,42,36,.10);
  --shadow-lg: 0 24px 60px rgba(46,42,36,.16);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 132px);
}

/* =========================== Base =============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 .5em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 .4em; }
p  { margin: 0 0 1em; max-width: 66ch; }

a { color: var(--primary-dark); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary-dark);
  display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--primary); display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }
.center { text-align: center; }
.center .eyebrow::before { display: none; }
.center p { margin-inline: auto; }

/* Skip link + focus */
.skip {
  position: absolute; left: 12px; top: -60px; background: var(--primary-dark);
  color: #fff; padding: 10px 16px; border-radius: 0; z-index: 1000; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 0; }

/* =========================== Buttons =============================== */
.btn {
  --b: var(--accent); --bi: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.7rem; border-radius: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .005em; text-decoration: none;
  background: var(--b); color: var(--bi); border: 2px solid var(--b); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--primary); background: var(--surface); }
.btn--on-band { background: var(--accent); color: var(--accent-ink); }
.btn--lg { min-height: 60px; padding: 0 2.2rem; font-size: 1.08rem; }

/* =========================== Header =============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 88px; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.7rem; color: var(--text); text-decoration: none; }
.brand .leaf { color: var(--primary); }
.brand svg { width: 26px; height: 26px; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--primary-dark); }
.nav .btn { margin-left: 1.2rem; min-height: 44px; padding: 0 1.2rem; color: var(--accent-ink); font-weight: 700; opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--text); margin-left: auto; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; margin: 0;
    transform: translateY(-130%); transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav .btn.nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* =========================== Hero =============================== */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--text); }
.hl { color: var(--primary); }
.hero h1 .hl { color: var(--primary); }
.hero-cta { display: grid; grid-template-columns: 1fr; gap: .8rem; margin: 1.8rem 0 1.6rem; max-width: 360px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(340px, 46vw, 560px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-media .ph-note { position: absolute; left: 14px; bottom: 14px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.trust-row span { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.trust-row svg { width: 20px; height: 20px; color: var(--primary); flex: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* =========================== Generic section bits =============================== */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm);
}
.card .ic { width: 46px; height: 46px; border-radius: 0; background: color-mix(in srgb, var(--primary) 18%, var(--surface)); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ic svg { width: 24px; height: 24px; color: var(--primary-dark); }
.card h3 { color: var(--text); }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* persona tags */
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .28em .7em; border-radius: 0; margin-bottom: .9rem; }
.tag--pferd { background: color-mix(in srgb, var(--primary) 22%, var(--surface)); color: var(--primary-dark); }
.tag--betrieb { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); color: var(--accent-ink); filter: saturate(1.1); }
.tag--betrieb { color: #7a4d05; background: #f6e2bf; }

/* =========================== Problem band =============================== */
.problem { background: var(--surface-2); }
.pain { display: flex; gap: 1rem; align-items: flex-start; }
.pain .ic { flex: none; }
.pain h3 { margin-bottom: .25em; }
.pain .angles { display: flex; flex-direction: column; gap: .3rem; margin-top: .7rem; }
.pain .angles small { display: inline-flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .85rem; }
.pain .angles b { color: var(--primary-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; }

/* =========================== How it works =============================== */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px){ .how-grid { grid-template-columns: 1fr; } }
.how-illu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px,3vw,36px); box-shadow: var(--shadow-sm); position: relative; }
.how-illu svg { width: 100%; height: auto; }
.steps { counter-reset: step; margin-top: 1.4rem; display: grid; gap: 1.1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 38px; height: 38px; border-radius: 0;
  background: var(--primary-dark); color: #fff; font-family: var(--font-display); font-weight: 800;
  display: grid; place-items: center; font-size: 1.1rem;
}
.step h3 { margin: .1em 0 .15em; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* =========================== Persona split =============================== */
.persona { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.4vw,28px); }
@media (max-width: 860px){ .persona { grid-template-columns: 1fr; } }
.persona .card { display: flex; flex-direction: column; }
.persona ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .7rem; }
.persona li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.persona li svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }

/* =========================== Comparison =============================== */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px clamp(14px,2vw,24px); text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-body); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare thead th.hayho { color: var(--primary-dark); }
.compare td.feature { font-weight: 600; color: var(--text); }
.compare td.yes { color: var(--primary-dark); font-weight: 600; }
.compare .col-hayho { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.compare svg { width: 20px; height: 20px; vertical-align: -4px; }
.compare tr:last-child td { border-bottom: 0; }
@media (max-width: 680px){ .compare { font-size: .9rem; } .compare th, .compare td { padding: 12px 10px; } }

/* =========================== Band (dark, proof/CTA) =============================== */
.band { background: var(--band); color: var(--band-text); }
.band h2, .band h3 { color: var(--band-text); }
.band p { color: var(--band-muted); }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width:680px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { background: color-mix(in srgb, var(--band-text) 6%, transparent); border: 1px solid color-mix(in srgb, var(--band-text) 15%, transparent); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem,2.4vw,1.95rem); color: var(--accent); line-height: 1.05; }
.stat .lbl { color: var(--band-muted); font-size: .86rem; margin-top: .5rem; line-height: 1.35; }

.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(18px,2.4vw,28px); margin-top: clamp(28px,4vw,44px); }
@media (max-width:860px){ .quotes { grid-template-columns: 1fr; } }
.quote { background: color-mix(in srgb, var(--band-text) 7%, transparent); border: 1px solid color-mix(in srgb, var(--band-text) 14%, transparent); border-radius: var(--radius); padding: clamp(22px,2.6vw,30px); }
.quote .pain-lead { color: #fff; font-weight: 600; }
.quote p { color: var(--band-muted); }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote .who img { width: 46px; height: 46px; border-radius: 0; object-fit: cover; }
.quote .who b { color: #fff; display: block; font-size: .95rem; }
.quote .who small { color: var(--band-muted); }

/* =========================== Products =============================== */
.product { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.product .body { padding: clamp(22px,2.6vw,30px); display: flex; flex-direction: column; flex: 1; }
.product .body .btn { margin-top: auto; align-self: flex-start; }
.product .body > p:last-of-type { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.product .soon { display:inline-block; background: var(--accent); color: var(--accent-ink); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:.3em .7em; border-radius:3px; margin-bottom:.7rem; }

/* =========================== FAQ =============================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px clamp(18px,2.4vw,26px); font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .25s ease; flex: none; color: var(--primary-dark); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 clamp(18px,2.4vw,26px) 22px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* =========================== CTA / Form =============================== */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 860px){ .cta-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 0; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; margin-top: .4rem; }
.form .fineprint { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .7rem; align-items: center; color: var(--text); }
.contact-list svg { width: 22px; height: 22px; color: var(--primary-dark); flex: none; }

/* =========================== Footer =============================== */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: clamp(40px,5vw,64px) 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.site-footer .brand { color: #fff; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 42px; height: 42px; border-radius: 0; border: 1px solid color-mix(in srgb,var(--band-text) 22%, transparent); display: grid; place-items: center; color: var(--band-text); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color:#fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb,var(--band-text) 16%, transparent); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { color: var(--band-muted); }

/* =========================== Placeholder note =============================== */
.ph-note { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,0,0,.62); color: #fff; padding: .35em .6em; border-radius: 0; display: inline-block; }

/* =========================== Scroll reveal =============================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* decorative grass divider */
.grass-divider { display: block; width: 100%; height: 40px; color: var(--primary); opacity: .5; }

/* ---- Echtes Logo im Header (weißer JPG-Hintergrund per multiply ausblenden) ---- */
.brand-logo { height: 60px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 46px; } }

/* ---- Echtes Produktfoto in "So funktioniert HayHo" ---- */
figure.how-figure { margin: 0; }
.how-photo { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
figure.how-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; }

/* ---- Made-in-Germany-Siegel als echtes Vertrauenssiegel auf dem dunklen Band ---- */
.made-badge { display: inline-flex; align-items: center; gap: 1rem; background: #fff; border-radius: 0; padding: 16px 22px; box-shadow: var(--shadow); margin-top: clamp(28px,4vw,40px); }
.made-badge img { height: 70px; width: auto; display: block; }
.made-badge span { text-align: left; color: #2E2A24; font-size: .92rem; max-width: 24ch; }
.made-badge b { display: block; font-size: 1rem; }
@media (max-width: 520px) { .made-badge { flex-direction: column; text-align: center; } .made-badge span { text-align: center; } }

/* ---- Telefon im Header (Conversion) ---- */
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary-dark); text-decoration: none; font-size: .98rem; }
.nav-phone svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .nav-phone { display: none; } }

/* ---- Preis an der Produktkarte ---- */
.product .price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--primary-dark); margin: .1rem 0 .9rem; }
.product .price small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--muted); }

/* ---- Logo im Footer (heller Chip auf dunklem Band) ---- */
.footer-logo-chip { display: inline-block; }
.footer-logo-chip img { height: 56px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .95; }

/* ---- Mittiges Conversion-CTA-Band ---- */
.cta-band { text-align: center; }
.cta-band .cta-actions { display: flex; gap: 1.2rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.cta-band .cta-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--band-text); font-family: var(--font-display); font-weight: 800; text-decoration: none; font-size: 1.25rem; }
.cta-band .cta-phone svg { width: 24px; height: 24px; color: var(--accent); }

/* ---- Kontaktliste: Links ---- */
.contact-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--primary-dark); }

/* ---- Linien-Illustrationen (Logo-Stil) ---- */
.illu-plain { width: 100%; height: auto; display: block; }
.mechanik-wrap { max-width: 780px; margin: clamp(40px,5vw,64px) auto 0; text-align: center; }
.illu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px,2.4vw,28px); box-shadow: var(--shadow-sm); }
.illu-card img { width: 100%; height: auto; display: block; border-radius: 0; }
.mechanik-wrap figcaption { font-size: .9rem; color: var(--muted); margin: .9rem auto 0; max-width: 56ch; }

/* ---- Floating CTA (erscheint nach dem Hero) ---- */
.floating-cta {
  position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px);
  z-index: 95;
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  padding: 14px 22px; text-decoration: none;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.floating-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-cta:hover { transform: translateY(-2px); }
.floating-cta svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .floating-cta { transition: none; transform: none; } }
