/* Yolo — marketing & legal site
   Palette: nutrient pigments on mineral white.
   ink      #0E1F1C  deep spruce (text, dark band)
   paper    #F7FAF7  mineral white (page)
   leaf     #1F7A4D  chlorophyll (brand, links, primary CTA)
   carotene #E8842C  beta-carotene orange (signal accent, sparingly)
   mist     #DCE8DF  hairlines, borders
   moss     #5E7A6E  secondary text
*/

:root {
  --ink: #0e1f1c;
  --paper: #f7faf7;
  --leaf: #1f7a4d;
  --leaf-deep: #175e3b;
  --carotene: #e8842c;
  --mist: #dce8df;
  --moss: #5e7a6e;
  --card: #ffffff;
  --radius: 16px;
  --sans: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--leaf); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--carotene);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.wordmark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .dot { color: var(--leaf); }

.tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--moss);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--leaf); }

.lang-switch {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--leaf);
  color: #fff;
}
.btn-primary:hover { background: var(--leaf-deep); }

.btn-ghost {
  border-color: var(--mist);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--leaf); color: var(--leaf); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 20px;
}

h1 .accent { color: var(--leaf); }

.lede {
  font-size: 1.15rem;
  color: var(--moss);
  max-width: 34rem;
  margin: 0 0 32px;
}

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }

.badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.25;
}

.badge:hover { background: #1b312c; }
.badge small { font-size: 0.68rem; opacity: 0.75; }
.badge strong { font-size: 1.02rem; letter-spacing: -0.01em; }

/* ---------- score panel (signature) ---------- */

.score-panel {
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px -30px rgba(14, 31, 28, 0.25);
}

.score-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
  border-bottom: 1px dashed var(--mist);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.score-ring {
  --pct: 86;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--card) 78%, transparent 79% 100%),
    conic-gradient(var(--leaf) calc(var(--pct) * 1%), var(--mist) 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.score-ring .value {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
}

.score-meaning strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.score-meaning span {
  color: var(--moss);
  font-size: 0.9rem;
}

.nutrient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.nutrient {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.nutrient .label {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  margin-bottom: 4px;
}

.nutrient .label span:last-child { color: var(--moss); }

.nutrient .bar {
  height: 6px;
  border-radius: 3px;
  background: var(--mist);
  overflow: hidden;
}

.nutrient .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--leaf);
  width: var(--w, 60%);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nutrient.low .bar i { background: var(--carotene); }
.nutrient.low .label span:last-child { color: var(--carotene); }

@media (prefers-reduced-motion: reduce) {
  .nutrient .bar i { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */

section { padding: 64px 0; }

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 12px;
}

.section-intro { color: var(--moss); max-width: 40rem; margin: 0 0 40px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 24px;
}

.step:lang(de)::before { content: "schritt " counter(step, decimal-leading-zero); }

.step::before {
  counter-increment: step;
  content: "step " counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--carotene);
}

.step h3 { margin: 10px 0 8px; font-size: 1.1rem; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--moss); font-size: 0.95rem; }

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

.feature {
  border-top: 2px solid var(--mist);
  padding-top: 18px;
}

.feature h3 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -0.01em; }
.feature h3::after { content: ""; }
.feature p { margin: 0; color: var(--moss); font-size: 0.93rem; }

/* provenance band */

.provenance {
  background: var(--ink);
  color: #e7f0ea;
  border-radius: 28px;
  padding: 56px 48px;
}

.provenance h2 { color: #fff; }

.provenance .sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.source {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  border-left: 2px solid var(--leaf);
  padding-left: 18px;
  color: #b9cdc1;
}

.source strong { color: #fff; display: block; font-weight: 600; }

/* CTA band */

.cta-band { text-align: center; }
.cta-band .lede { margin-inline: auto; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--mist);
  padding: 40px 0 56px;
  color: var(--moss);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
}

.site-footer nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.site-footer a { color: var(--moss); }
.site-footer a:hover { color: var(--leaf); }

/* ---------- legal / document pages ---------- */

.doc { padding: 56px 0 88px; }

.doc .wrap { max-width: 760px; }

.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.doc-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--mist);
}

.doc h2 {
  font-size: 1.35rem;
  margin: 44px 0 12px;
}

.doc h2 .no {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--carotene);
  vertical-align: 0.35em;
  margin-right: 10px;
  letter-spacing: 0.05em;
}

.doc h3 { font-size: 1.05rem; margin: 28px 0 8px; }

.doc p, .doc li { color: #2c433c; }

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 18px 0;
}

.doc th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
  border-bottom: 2px solid var(--mist);
  padding: 8px 12px 8px 0;
}

.doc td {
  border-bottom: 1px solid var(--mist);
  padding: 10px 12px 10px 0;
  vertical-align: top;
}

.callout {
  background: var(--card);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--carotene);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}

.callout.green { border-left-color: var(--leaf); }

.callout p { margin: 0; }

/* deletion page */

.delete-options { display: grid; gap: 20px; margin: 32px 0; }

.option-card {
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.option-card .tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--leaf);
}

.option-card h2 { margin: 8px 0 10px; font-size: 1.25rem; }

.option-card ol { padding-left: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .provenance { padding: 40px 28px; }
  .provenance .sources { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .steps, .features, .nutrient-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.btn):not(.lang-switch) { display: none; }
  .tagline { display: none; }
}
