/* ==========================================================================
   LOVE — Design-System v2 „Optimistic Lifestyle" · style.css
   Die Marke lebt auf Weiß. 80% Weiß · 15% Ink · 5% eine Highlightfarbe.
   Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Farben als CSS-Variablen
   -------------------------------------------------------------------------- */
:root {
  /* Basis */
  --white: #FFFFFF;
  --ink: #1F1F1F;
  --grey: #F5F5F3;
  --grey-line: #E8E8E5;
  --grey-text: #6B6B68;

  /* Playful Colors — immer nur akzentweise (max. eine pro Viewport) */
  --sage: #A4B590;
  --lavender: #C3B0D8;
  --sea: #A9C7D2;
  --peach: #DBA9A2;
  --sun: #F2D585;

  /* Layout */
  --radius-card: 16px;
  --radius-pill: 999px;
  --container-max: 1200px;
  --gutter: 20px;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

@media (min-width: 768px) {
  body { font-size: 16px; }
  :root { --gutter: 40px; }
}

/* --------------------------------------------------------------------------
   3. Typografie
   Headlines: Space Grotesk (Charakter, nicht Fashion-glatt)
   Labels/Buttons: Space Mono, Caps, Laufweite — wie gestempelt
   Body: Inter
   -------------------------------------------------------------------------- */

/* Wortmarke (Header/Footer) */
.wordmark {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

/* Headlines: lowercase, freundlich, direkt */
h1, h2, h3, .headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }

@media (min-width: 768px) {
  h1 { font-size: 60px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
}

/* Labels / Eyebrows: Mono-Stempel */
.label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--grey-text);
}

/* Muted Text, Preise, Captions */
.muted {
  color: var(--grey-text);
  font-size: 13px;
}

/* Manifesto / editoriale Claims: kurz, locker */
.manifesto {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 20px;
  line-height: 1.5;
}
.manifesto em { font-style: italic; }

@media (min-width: 768px) {
  .manifesto { font-size: 28px; }
}

/* --------------------------------------------------------------------------
   4. Buttons (Pill, Ink-Fläche)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--sun);   /* der 5%-Moment */
  color: var(--ink);
  transform: translateY(-1px);
}

/* Sekundär: Outline */
.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. Cards (Light Grey auf Weiß — leicht, keine Schatten)
   -------------------------------------------------------------------------- */
.card {
  background: var(--grey);
  border-radius: var(--radius-card);
  padding: 24px;
}

/* Weiße Card mit Linie — z.B. auf grauen Flächen */
.card--outline {
  background: var(--white);
  border: 1px solid var(--grey-line);
}

@media (min-width: 768px) {
  .card { padding: 32px; }
}

/* --------------------------------------------------------------------------
   6. Logo (includes/logo.php)
   -------------------------------------------------------------------------- */
.logo-arch {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   7. Marquee (laufende Zeile — Mono, wie ein Ticker)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  white-space: nowrap;
  padding-right: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   8. Impact-Karte (die eine Farbfläche pro Viewport)
   -------------------------------------------------------------------------- */
.impact-card {
  background: var(--sun);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
}
.impact-card__label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.impact-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.impact-card__text {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: lowercase;
  font-size: 17px;
  margin: 12px 0 0;
}

@media (min-width: 768px) {
  .impact-card { padding: 56px 40px; }
  .impact-card__number { font-size: 84px; }
}

/* --------------------------------------------------------------------------
   9. Divider & Sektionen
   -------------------------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--grey-line);
  margin: 0;
}

.section { padding: 56px 0; }

@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

/* --------------------------------------------------------------------------
   10. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.heart-icon { color: var(--ink); flex-shrink: 0; }

.site-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav__link {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--grey-text);
  padding: 12px 0;
  transition: color 0.2s ease;
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.site-nav__cart { color: var(--ink); }

/* Mobile: Navigation klappt unter dem Header auf */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  padding: 8px var(--gutter) 24px;
}
.site-nav.is-open { display: flex; }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 32px;
    background: transparent;
    border: none;
    padding: 0;
  }
  .burger { display: none; }
  .site-header__inner { min-height: 76px; }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--grey-line);
  padding: 56px 0 32px;
  margin-top: 56px;
}
.site-footer__newsletter {
  text-align: center;
  padding-bottom: 48px;
}
.site-footer__newsletter .label { margin: 0 0 12px; }
.site-footer__newsletter h2 { margin-bottom: 24px; }

.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__col .label { margin: 0 0 4px; }
.site-footer__col a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
.site-footer__col a:hover { color: var(--grey-text); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding-top: 40px;
}
.site-footer__claim {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: lowercase;
  font-size: 16px;
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer { padding: 80px 0 40px; margin-top: 96px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; max-width: 480px; }
}
