/* ============================================================
   100nature.eu — Foundation Layer
   Quelle: Design_System_100nature.md v1.0 + Brand_Guidelines.md v2.0
   Brand Layer LOCKED — Tokens nicht ohne Freigabe veraendern.
   ============================================================ */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Mickly Frog";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/mickly-frog/MicklyFrog-Regular.woff2") format("woff2"),
       url("fonts/mickly-frog/MicklyFrog-Regular.woff") format("woff");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope/manrope-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (Design-System § 1) ---------- */

:root {
  /* 1.1 Brand Skeleton */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-bg-soft: #FAF8F4;

  /* 1.2 Multivitamin (Orange-Sand-Skala, DS v2026-05) */
  --multi-primary: #E29000;     /* deep amber-orange — main */
  --multi-primary-2: #B87400;   /* hover/pressed (deep) */
  --multi-tint: #FCD7A9;        /* pastel sand tint */
  --multi-secondary: #DBA17A;   /* warm tan */
  --multi-card-bg: #F5F5F5;     /* neutral white-grey */

  /* 1.3 D3+K2 (Stein-Grau + Sandgelb-Akzent, DS v2026-05) */
  --d3k2-primary: #B5B2B1;      /* warm stone grey — main */
  --d3k2-primary-2: #8A8786;    /* hover/pressed (deep) */
  --d3k2-secondary: #A8AAA8;    /* cool stone grey */
  --d3k2-accent: #F6CF79;       /* sand yellow — inner accent */

  /* 1.4 Magnesium (reserviert Q3/Q4 2026) */
  --magnesium-primary: #3B6EA8;

  /* 1.5 Functional */
  --color-muted: #5C5C5C;
  --color-faint: #8A8A8A;
  --color-border: #E8E5E0;
  --color-success: #2E7D5B;
  --color-warning: #B8521A;

  /* 1.5 Display Skala (Mickly Frog) — Desktop */
  --type-h1: 64px;
  --type-h2: 48px;
  --type-h3: 32px;
  --type-h4: 24px;

  /* 1.6 Body Skala (Manrope) */
  --type-eyebrow: 12px;
  --type-lead: 18px;
  --type-body: 16px;
  --type-small: 14px;
  --type-caption: 13px;

  /* 1.7 Spacing */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-128: 128px;

  /* 1.8 Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 9999px;

  /* 1.9 Elevation — flat, nur Overlay erlaubt */
  --shadow-overlay: 0 8px 24px rgba(0, 0, 0, 0.18);

  /* Layout-Helper */
  --section-gap: var(--space-32);
  --container-max: 1200px;
  --container-pad: var(--space-32);
  --line-display: 1.05;
  --line-body: 1.55;
}

/* Sticky-Header offset für Anchor-Scrolls */
:where(section, .hero-half, .faktenbox)[id] { scroll-margin-top: 96px; }

/* Mobile-Override § 4.6 / Design-System § 1.5+1.7 */
@media (max-width: 640px) {
  :root {
    --type-h1: 48px;
    --type-h2: 36px;
    --type-h3: 24px;
    --type-h4: 20px;
    --section-gap: var(--space-16);
    --container-pad: var(--space-16);
  }
}

/* ---------- Reset (minimal) ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: var(--color-text-primary);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
img { border: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 var(--space-16); }
p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-32) 0;
}

::selection { background: var(--color-black); color: var(--color-white); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-weight: 400;
  line-height: var(--line-display);
  margin: 0 0 var(--space-16);
  letter-spacing: -0.005em;
}

h1 { font-size: var(--type-h1); }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); }
h4 { font-size: var(--type-h4); }

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.4;
}

.lead {
  font-size: var(--type-lead);
  line-height: 1.5;
}

.small  { font-size: var(--type-small); }
.caption { font-size: var(--type-caption); color: var(--color-muted); }
.muted   { color: var(--color-muted); }
.faint   { color: var(--color-faint); }

/* Daten-Spezial — Manrope mit tabular-nums (Brand_Guidelines § 4.5) */
.data, .tabular-nums {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout-Helper ---------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--wide { max-width: none; padding-left: 0; padding-right: 0; }

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (max-width: 900px) {
  .section {
    padding-top: var(--space-64);
    padding-bottom: var(--space-64);
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
  }
}

.section--soft { background: var(--color-bg-soft); }
.section--black { background: var(--color-black); color: var(--color-white); }

.stack > * + * { margin-top: var(--space-16); }
.stack-sm > * + * { margin-top: var(--space-8); }
.stack-lg > * + * { margin-top: var(--space-24); }

/* Visually-hidden für a11y */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Pattern: Tile-Terrazzo subtle Background ---------- */

.bg-terrazzo {
  background-image: url("assets/patterns/tile-terrazzo.svg");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   Components (Design-System § 2 + § 4)
   ============================================================ */

/* ---------- Pill-Buttons (DS § 2.1) ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease;
  text-decoration: none;
}

.pill:hover { text-decoration: none; }

.pill--primary {
  background: var(--color-black);
  color: var(--color-white);
}
.pill--primary:hover { background: var(--color-text-primary); }

.pill--secondary {
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: inset 0 0 0 1px var(--color-black);
}
.pill--secondary:hover { background: var(--color-bg-soft); }

.pill--ghost {
  background: transparent;
  color: var(--color-black);
  box-shadow: inset 0 0 0 1px var(--color-black);
}
.pill--ghost:hover { background: var(--color-black); color: var(--color-white); }

/* AA-Pflicht: schwarze Schrift auf Akzent (Brand_Guidelines § 3.4) */
.pill--multi {
  background: var(--multi-primary);
  color: var(--color-black);
}
.pill--multi:hover { background: var(--multi-primary-2); }

.pill--d3k2 {
  background: var(--d3k2-primary);
  color: var(--color-black);
}
.pill--d3k2:hover { background: var(--d3k2-primary-2); }

/* Pill auf Akzent-Hintergrund (z. B. CTA in Hero-Half) — weiß/schwarz, klar abgesetzt */
.pill--on-accent {
  background: var(--color-white);
  color: var(--color-black);
}
.pill--on-accent:hover { background: var(--color-bg-soft); }

/* ---------- Pill-Badges (DS § 2.2) ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge--outline {
  background: transparent;
  color: var(--color-black);
  box-shadow: inset 0 0 0 1px var(--color-black);
}

.badge--solid {
  background: var(--color-black);
  color: var(--color-white);
}

/* AA-Pflicht: schwarze Schrift auf Akzent */
.badge--multi { background: var(--multi-primary); color: var(--color-black); }
.badge--d3k2  { background: var(--d3k2-primary); color: var(--color-black); }

/* Badge auf Akzent-Hintergrund (Hero-Pills) — weißer bg, schwarze Schrift */
.badge--on-accent {
  background: var(--color-white);
  color: var(--color-black);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

/* ---------- Faktenbox (DS § 2.4) ---------- */

.faktenbox {
  background: var(--color-white);
  border: 1.5px solid var(--color-black);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.faktenbox__title {
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: 36px;
  line-height: 1;
  margin: 0;
}

.faktenbox__body {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.55;
}

.faktenbox__claim {
  font-size: var(--type-body);
  line-height: 1.55;
  margin: 0;
}

.faktenbox__source {
  margin-top: var(--space-8);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border);
  font-size: var(--type-caption);
  color: var(--color-muted);
  line-height: 1.5;
}

.faktenbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
}

/* Klickbares Produkt-Label oben in der Box (Section 3 Health-Boxen) */
.faktenbox__product-link {
  align-self: flex-start;
  text-decoration: none;
}
.faktenbox__product-link:hover { text-decoration: underline; }

/* Gemeinsame Health-Claim-Source unter dem Faktenbox-Grid */
.faktenbox-grid__source {
  margin: var(--space-24) 0 0;
  font-size: var(--type-caption);
  color: var(--color-muted);
  line-height: 1.5;
}

/* Liste innerhalb einer Faktenbox (Wichtige Hinweise) */
.faktenbox__list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.faktenbox__list li {
  font-size: var(--type-body);
  line-height: 1.55;
}

/* ---------- Header (DS § 4 — Logo · Nav · CTA) ---------- */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100;
}

/* Body-Offset für Fixed-Header — verhindert dass Hero unter dem Header verschwindet */
body { padding-top: 93px; }
@media (max-width: 720px) { body { padding-top: 81px; } }

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-32);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.site-header__logo img {
  display: block;
  height: 60px;
  width: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-32);
}

.site-nav a {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-body);
  color: var(--color-text-primary);
}

.site-nav a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .site-nav { display: none; }
  .site-header__logo img { height: 48px; }
}

/* ---------- Tagline-Band (DS v2026-05) ---------- */
/* Schmale Zwischensektion zwischen Header und Hero — kleines Eyebrow + Tagline + 3 Trust-Pills. */

.hero-lead {
  background: var(--color-bg-soft);
  text-align: center;
  padding: 56px var(--space-24) 32px;
}

.hero-lead__eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.hero-lead__tagline {
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 var(--space-24);
}

.hero-lead__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

@media (max-width: 640px) {
  .hero-lead { padding: var(--space-32) var(--space-16) var(--space-24); }
}

/* ---------- Hero Split 50/50 mit Vertical Divider (DS v2026-05) ---------- */
/* Beide Hälften auf Weiß. Akzent nur als Detail: Eyebrow, Badges, Zero-Frame-Terrazzo, CTA. */

.hero {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  padding: 32px var(--space-48) var(--space-64);
  background: var(--color-white);
}

.hero-divider {
  background: var(--color-border);
  width: 1px;
  align-self: stretch;
}

.hero-half {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: var(--space-24);
  padding: 0 var(--space-48);
  background: var(--color-white);
  color: var(--color-text-primary);
  text-align: center;
}

/* Marker-Klassen für produktspezifische Selektoren (z. B. CTA-Farbe) */
.hero-half--multi { }
.hero-half--d3k2  { }

.hero-half__eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
}

.hero-half__title {
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: 64px;
  line-height: 0.95;
  margin: 0;
  color: var(--color-text-primary);
}

.hero-half__lead {
  font-size: var(--type-lead);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 38ch;
  color: var(--color-text-primary);
}

/* Zero-Frame Container — SVG wird vollflächig dargestellt */
.hero-half__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) 0;
}

.hero-half__media a {
  display: block;
  transition: opacity 140ms ease;
  width: 100%;
  max-width: 420px;
}
.hero-half__media a:hover { opacity: 0.92; }

.hero-half__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Badge-Row mit 3 Spec-Pills (Akzentfarbe + schwarzes Label, DS-AA) */
.hero-half__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-half__cta {
  align-self: start;
  justify-self: center;
  height: 52px;
  padding: 0 var(--space-24);
  font-size: var(--type-body);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: var(--space-24) var(--space-24) var(--space-48);
    gap: var(--space-48);
  }
  .hero-divider { display: none; }
  .hero-half { padding: 0; }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-16) var(--space-16) var(--space-32);
    gap: var(--space-32);
  }
  .hero-half__title { font-size: 48px; }
  .hero-half__lead  { font-size: var(--type-body); }
}

/* ---------- Section-Header (Section 2 + 3 Headlines) ---------- */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__title {
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0;
}

@media (max-width: 640px) {
  .section-header { margin-bottom: var(--space-32); }
}

/* ---------- Footer 4-Col (DS § 4.4) ---------- */

.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: var(--space-32);
}

.site-footer a { color: var(--color-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-48);
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-32); }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-24); }
}

/* DS v2026-05: Footer-Col-Title als muted Manrope-Eyebrow, nicht Mickly Frog */
.site-footer__col-title {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}

.site-footer__list { display: flex; flex-direction: column; gap: 10px; }
.site-footer__list li { font-size: var(--type-small); }
.site-footer__list .muted { color: rgba(255, 255, 255, 0.5); }

.site-footer__logo {
  /* Tight-cropped Wordmark mit filter:invert — alignt sauber an der Header-Baseline */
  filter: invert(1);
  height: 40px;
  width: auto;
  margin: 0 0 var(--space-16);
  display: block;
}

.site-footer__tagline {
  font-family: "Manrope", sans-serif;
  font-size: var(--type-small);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32ch;
  margin: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-24);
  font-size: var(--type-caption);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.site-footer__bottom-links { display: flex; gap: 18px; }
.site-footer__bottom a { color: rgba(255, 255, 255, 0.6); }

/* ---------- Legal-Prose (Datenschutz / Impressum) ---------- */

.legal-prose h2 {
  margin-top: var(--space-48);
  margin-bottom: var(--space-16);
  font-family: "Mickly Frog", "Manrope", sans-serif;
  font-size: var(--type-h3);
  line-height: var(--line-display);
}
.legal-prose h2:first-child { margin-top: 0; }

.legal-prose h3 {
  margin-top: var(--space-32);
  margin-bottom: var(--space-8);
  font-family: "Manrope", sans-serif;
  font-size: var(--type-lead);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.legal-prose p {
  line-height: 1.65;
  margin-bottom: var(--space-16);
}
.legal-prose p + h3 { margin-top: var(--space-24); }

.legal-prose ul {
  list-style: disc;
  padding-left: var(--space-24);
  margin: 0 0 var(--space-16);
}
.legal-prose li {
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.legal-prose a { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-prose h2 { margin-top: var(--space-32); }
  .legal-prose h3 { margin-top: var(--space-24); font-size: var(--type-body); }
}

/* ---------- Print (minimal) ---------- */

@media print {
  body { background: #fff; color: #000; }
  .no-print, .site-header, .site-footer { display: none !important; }
}
