/* ==========================================================================
   Herzlicht — Base: Reset, Tokens, Typografie
   Signature-Farbwelt "Ruhige Zuwendung": Salbeigrün + warmer Sand + Taubenblau,
   Terrakotta nur als seltener, warmer Zündfunke (kein Vollton-Primär).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Figtree:wght@400;500;600;700&display=swap');

:root{
  /* Fläche */
  --bg:            oklch(97.5% 0.014 88);
  --bg-soft:       oklch(95% 0.022 90);
  --surface:       oklch(99% 0.004 95);
  --surface-dim:   oklch(93.5% 0.02 95);

  /* Akzente — Salbeigrün primär, Taubenblau sekundär, Terrakotta als seltener Funke */
  --sage:          oklch(56% 0.06 152);
  --sage-dark:     oklch(34% 0.045 155);
  --sage-tint:     oklch(90% 0.035 150);
  --dove:          oklch(74% 0.035 235);
  --dove-tint:     oklch(92% 0.02 235);
  --terracotta:    oklch(64% 0.11 42);
  --terracotta-tint: oklch(92% 0.03 45);

  /* Text */
  --text:          oklch(27% 0.02 95);
  --text-muted:    oklch(46% 0.025 95);
  --text-soft:     oklch(60% 0.02 95);
  --on-dark:       oklch(96% 0.012 95);
  --on-dark-muted: oklch(82% 0.02 150);

  /* Form */
  --radius-sm:     14px;
  --radius-md:     22px;
  --radius-lg:     40px;
  --radius-blob:   63% 37% 54% 46% / 43% 47% 53% 57%;
  --space-unit:    8px;
  --container:     1240px;
  --container-narrow: 780px;

  /* Schatten — weich, nie hart */
  --shadow-sm:     0 2px 10px oklch(34% 0.05 155 / 0.06);
  --shadow-md:     0 12px 32px oklch(34% 0.05 155 / 0.10);
  --shadow-lg:     0 28px 70px oklch(34% 0.05 155 / 0.14);

  /* Motion */
  --ease-out:      cubic-bezier(.16,.8,.32,1);
  --dur-fast:      180ms;
  --dur-base:      280ms;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

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

.icon{
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 auto;
  vertical-align: middle;
  max-width: 32px;
  max-height: 32px;
}

h1, h2, h3, h4{
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1.14;
  margin: 0 0 .5em;
  text-wrap: pretty;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 4.6vw + 1rem, 4.6rem); font-weight: 600; }
h2{ font-size: clamp(1.9rem, 2.6vw + 1rem, 3.1rem); }
h3{ font-size: clamp(1.35rem, 1.1vw + 1rem, 1.75rem); }
h4{ font-size: 1.2rem; }

p{ margin: 0 0 1.2em; max-width: 62ch; }
p.lead{ font-size: 1.2em; color: var(--text-muted); }

a{ color: var(--sage-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol{ padding-left: 1.3em; }
li{ margin-bottom: .5em; }

.container{ max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.container--narrow{ max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .9em;
}
.eyebrow::before{
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--sage-dark); color: var(--on-dark);
  padding: .8em 1.4em; border-radius: 0 0 10px 0;
}
.skip-link:focus{ left: 0; }

@media (max-width: 900px){
  body{ font-size: 17.5px; }
}
