/* ═══════════════════════════════════════════════════════════════════════════
   Pure Vitality – site.css   (v2 – erstes eigenes Markendesign)

   Frisches, editoriales „Vitality/Gerstengras"-Design: natuerliche Gruentoene,
   warmer Creme-Hintergrund, Serifen-Display (Fraunces) + klare Sans (Inter).

   Re-Styling laeuft primaer ueber die Design-Tokens in :root. Komponenten
   referenzieren nur Tokens. Aenderungen additiv halten.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design-Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Marke – frisches, natuerliches Gruen ("Gerstengras/Vitalitaet") */
  --brand:        #1f7a4d;   /* tiefes Vital-Gruen */
  --brand-dark:   #145c39;
  --brand-tint:   #e8f3ec;
  --leaf:         #7cb342;   /* frisches Gras-Gruen (Akzent) */
  --leaf-soft:    #eef6e3;
  --honey:        #d99a2b;   /* warmer Akzent, sparsam */

  --ink:          #15231b;
  --body:         #3d4d45;
  --muted:        #5a6b62;
  --line:         #e3ece6;
  --bg:           #ffffff;
  --bg-soft:      #f5f8f3;
  --cream:        #faf8f1;   /* warmer Natur-Hintergrund */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw:         1140px;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;
  --shadow:       0 14px 40px rgba(18, 46, 32, .09);
  --shadow-sm:    0 4px 14px rgba(18, 46, 32, .06);
  --space:        clamp(1rem, 2.6vw, 1.6rem);
}

/* ─── Reset / Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space); }
.section { padding-block: clamp(2.8rem, 6.5vw, 5rem); }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--cream); }
.eyebrow { display: inline-block; font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.lead { font-size: 1.18rem; color: var(--body); max-width: 62ch; }
.section-head { max-width: 60ch; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-sans); font-weight: 600; cursor: pointer; padding: .82rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.pv-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pv-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.pv-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.28rem; letter-spacing: -.01em; }
.pv-logo:hover { text-decoration: none; }
.pv-logo img { height: 40px; width: auto; }
.pv-nav { display: flex; align-items: center; gap: 1.5rem; }
.pv-nav a { color: var(--body); font-weight: 500; font-size: .98rem; }
.pv-nav a:hover { color: var(--brand-dark); text-decoration: none; }
.pv-nav .btn { color: #fff; }
.pv-burger { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; }
.pv-burger svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .pv-burger { display: inline-flex; }
  .pv-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--space) 1.1rem; box-shadow: var(--shadow); display: none; }
  .pv-nav.open { display: flex; }
  .pv-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .pv-nav .btn { margin-top: .8rem; }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.2rem, 8vw, 6rem); background: radial-gradient(120% 90% at 85% -10%, var(--leaf-soft) 0%, transparent 55%), linear-gradient(180deg, var(--brand-tint), #fff 78%); }
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 .hl { color: var(--brand); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.badge { display: inline-flex; gap: .45rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .4rem .9rem; font-size: .82rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.hero-visual { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(150deg, var(--brand) 0%, var(--leaf) 100%); position: relative; box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-visual svg { width: 44%; height: 44%; color: rgba(255,255,255,.9); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 2rem; }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--body); }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

@media (max-width: 780px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 440px; } }

/* ─── Topic pills / grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.topic-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .12s, box-shadow .12s, border-color .12s; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; text-decoration: none; }
.topic-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--leaf-soft); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .3rem; }
.topic-card h3 { margin: 0; }
.topic-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ─── Magazine article teasers ────────────────────────────────────────────── */
.mag-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.article { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.article:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.article-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brand-tint), var(--leaf-soft)); position: relative; }
.article-thumb .kicker { position: absolute; left: .9rem; top: .9rem; background: #fff; color: var(--brand-dark); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--radius-pill); }
.article-body { padding: 1.3rem 1.4rem 1.5rem; }
.article-body h3 { color: var(--ink); margin-bottom: .35rem; }
.article-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.article-meta { margin-top: 1rem; font-size: .82rem; color: var(--muted); }

/* ─── Values strip ────────────────────────────────────────────────────────── */
.values { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; }
.value h3 svg { width: 22px; height: 22px; color: var(--brand); }
.value p { color: var(--muted); font-size: .95rem; }

/* ─── Newsletter band ─────────────────────────────────────────────────────── */
.nl-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--leaf)); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); color: #fff; box-shadow: var(--shadow); }
.nl-band h2 { color: #fff; }
.nl-band p { color: rgba(255,255,255,.9); }
.form-inline { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; max-width: 520px; }
.form-inline input { flex: 1 1 220px; }
.nl-band .btn-primary { background: #fff; color: var(--brand-dark); }
.nl-band .btn-primary:hover { background: var(--cream); }
.nl-done { background: rgba(255,255,255,.15); color: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; margin-top: 1.2rem; max-width: 520px; }

/* ─── Forms ───────────────────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .92rem; }
input, textarea { width: 100%; font: inherit; color: var(--ink); padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.pv-footer { border-top: 1px solid var(--line); background: var(--cream); padding-block: 2.8rem; margin-top: 3.5rem; color: var(--muted); font-size: .92rem; }
.pv-footer-grid { display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; justify-content: space-between; }
.pv-footer strong { color: var(--ink); font-family: var(--font-display); }
.pv-footer a { color: var(--body); }
.pv-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.pv-footer .legal { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }

/* ─── Content pages (prose) ───────────────────────────────────────────────── */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: var(--leaf-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--body); font-size: .95rem; }

/* ─── Cookie-Consent ──────────────────────────────────────────────────────── */
.cc { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; display: flex; justify-content: center; }
.cc-card { max-width: 560px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.35rem; }
.cc-head strong { color: var(--ink); font-family: var(--font-display); }
.cc-text { font-size: .9rem; color: var(--muted); margin: .5rem 0 .8rem; }
.cc-settings { display: none; margin-bottom: .8rem; }
.cc-settings.open { display: block; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.cc-row p { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
.cc-toggle { width: 42px; height: 24px; border-radius: var(--radius-pill); background: var(--line); border: 0; position: relative; cursor: pointer; flex: none; }
.cc-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.cc-toggle.on { background: var(--brand); }
.cc-toggle.on::after { left: 21px; }
.cc-toggle.locked { opacity: .6; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cc-btn { font: inherit; font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer; }
.cc-btn-link { background: none; color: var(--muted); margin-right: auto; padding-left: 0; }
.cc-btn-ghost { background: none; border-color: var(--line); color: var(--ink); }
.cc-btn-primary { background: var(--brand); color: #fff; }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
