/* Stillberatung MKK – ein Stylesheet, mobile-first, ohne Framework.
   Keine externen Fonts/Skripte/Bilder: die CSP in der nginx-Config (IaC-Repo,
   Rolle stillberatung-web) bleibt dadurch eng. Wer etwas von außen einbindet,
   muss die Policy dort mitziehen. Farben nur hier als Variablen ändern. */

:root {
  --ink: #3b2f33;
  --muted: #6f6166;
  --bg: #fffaf6;
  --surface: #ffffff;
  --peach: #ffe6db;
  --sage: #e3f0e6;
  --butter: #fff2cf;
  --accent: #c4563d;      /* Buttons/Links, Kontrast auf Weiß ≥ 4.5 */
  --accent-dark: #a3412b;
  --coral: #f6a58d;
  --line: #f1e3db;
  --radius: 1.25rem;
  --shadow: 0 .5rem 1.5rem rgba(196, 86, 61, .10);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: .4rem; }

.wrap { width: min(70rem, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(44rem, 100% - 2.5rem); }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--surface); padding: .5rem 1rem; border-radius: .5rem; z-index: 20; }
.skip:focus { left: .5rem; }

/* ── Kopf ── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 250, 246, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .78rem; }
.logo { width: 2.5rem; height: 2.5rem; flex: none; }

ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; flex-wrap: wrap; gap: .25rem .35rem; }
.nav a { display: block; padding: .4rem .85rem; border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--peach); }

.lang { display: flex; gap: .25rem; background: var(--peach); padding: .2rem; border-radius: 99px; }
.lang a { display: block; padding: .15rem .7rem; border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem; }
.lang a[aria-current] { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Handy: Menü in eigene Zeile, waagerecht scrollbar statt Umbruch-Chaos */
@media (max-width: 47.99rem) {
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav ul { flex-wrap: nowrap; white-space: nowrap; }
  .brand small { display: none; }
}

/* ── Hero ── */
.hero { padding: clamp(2.5rem, 8vw, 5.5rem) 0; background: linear-gradient(180deg, var(--peach) 0%, var(--bg) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 48rem) { .hero-grid { grid-template-columns: 1.3fr 1fr; } }

.badge { display: inline-block; margin: 0 0 1rem; padding: .3rem .9rem; background: var(--sage); border-radius: 99px; font-size: .88rem; font-weight: 700; color: #2f5d3d; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 6.5vw, 3.4rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { margin: .5rem 0 .3rem; font-size: 1.15rem; }
.hl { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2.8vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 0 1.75rem; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 22rem; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.hero-art svg { width: 30%; position: relative; z-index: 1; filter: drop-shadow(0 .4rem .8rem rgba(196, 86, 61, .35)); }
.blob { position: absolute; border-radius: 50%; }
.b1 { inset: 5%; background: var(--coral); border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
.b2 { width: 38%; aspect-ratio: 1; top: 0; right: 2%; background: var(--butter); }
.b3 { width: 28%; aspect-ratio: 1; bottom: 2%; left: 0; background: var(--sage); }

/* ── Buttons ── */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; gap: .5rem; align-items: center; padding: .75rem 1.5rem; border-radius: 99px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-soft { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.btn-soft:hover { border-color: var(--coral); color: var(--ink); }
.btn-soft span { color: var(--muted); font-weight: 600; }

/* ── Abschnitte ── */
.section { padding: clamp(2.75rem, 7vw, 5rem) 0; }
.tint { background: var(--sage); }
.eyebrow { margin: 0 0 .5rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { text-decoration: none; }
.intro { max-width: 42rem; font-size: 1.125rem; }
.two-col { display: grid; gap: 2rem 3rem; align-items: start; }
@media (min-width: 48rem) { .two-col { grid-template-columns: 1.2fr 1fr; } }

.facts { display: grid; gap: .75rem; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.25rem; box-shadow: var(--shadow); }
.facts dt { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.cards { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%; background: var(--peach); color: var(--accent); }
.note { font-size: .92rem; color: var(--muted); }

.contact-box { background: var(--butter); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.75rem, 5vw, 3.5rem); text-align: center; }
.contact-box .btn-row { justify-content: center; }
.soon { font-weight: 700; }

/* ── Rechtstexte ── */
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.rows { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0 0 1.5rem; }
.rows dt { font-weight: 700; }
.rows dd { margin: 0; }
.todo { color: var(--accent-dark); }

/* ── Fuß ── */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; text-align: center; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: .2rem 0; }
.copy { font-size: .82rem; }
