/* Elternkraft — Shared legal/info-page shell
   Matches Direction B's typography & palette. */

:root {
  --ek-bg:       #F4F1EB;
  --ek-surface:  #FFFFFF;
  --ek-card:     #FBFAF6;
  --ek-ink:      #11131A;
  --ek-ink2:     #494D58;
  --ek-ink3:     #828690;
  --ek-line:     #E5E0D6;
  --ek-warm:     #E58D6D;
  --ek-warmSoft: #FBE3D7;
  --ek-warmDeep: #B36148;
  --ek-cool:     #5C7FA6;
  --ek-coolSoft: #DAE3EE;
  --ek-coolDeep: #36527A;
  --ek-font:     "Plus Jakarta Sans", system-ui, sans-serif;
  --ek-display:  "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--ek-font);
  color: var(--ek-ink);
  background: var(--ek-bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ek-coolDeep); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--ek-cool); }

/* ── Nav ───────────────────────────────────────────── */
.ek-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 235, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ek-line);
  padding: 22px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.ek-wordmark {
  font-family: var(--ek-display);
  font-weight: 700; font-size: 22px;
  letter-spacing: -1.1px; line-height: 1;
  color: var(--ek-ink); text-decoration: none;
}
.ek-back {
  font-size: 13px; color: var(--ek-ink2); font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.ek-back:hover { color: var(--ek-ink); }

/* ── Page header & layout ──────────────────────────── */
.ek-page { max-width: 760px; margin: 0 auto; padding: 96px 56px 120px; }
.ek-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--ek-ink3); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.ek-page h1 {
  font-family: var(--ek-display); font-weight: 700;
  font-size: 72px; line-height: 0.96; letter-spacing: -2.6px;
  color: var(--ek-ink); margin: 0 0 24px;
}
.ek-lead {
  font-size: 18px; line-height: 1.55; color: var(--ek-ink2);
  margin: 0 0 56px; max-width: 600px;
}

/* ── Long-form content ────────────────────────────── */
.ek-content h2 {
  font-family: var(--ek-display); font-weight: 700;
  font-size: 30px; line-height: 1.15; letter-spacing: -0.8px;
  color: var(--ek-ink); margin: 56px 0 14px;
}
.ek-content h3 {
  font-family: var(--ek-display); font-weight: 700;
  font-size: 21px; line-height: 1.25; letter-spacing: -0.4px;
  color: var(--ek-ink); margin: 36px 0 10px;
}
.ek-content p { margin: 0 0 16px; color: var(--ek-ink); }
.ek-content ul { margin: 0 0 16px; padding-left: 22px; }
.ek-content li { margin: 0 0 8px; }
.ek-content strong { font-weight: 600; }
.ek-content hr {
  border: none; border-top: 1px solid var(--ek-line); margin: 48px 0;
}

/* ── Contact card grid ────────────────────────────── */
.ek-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0 0;
}
.ek-contact-card {
  background: var(--ek-surface);
  border: 1px solid var(--ek-line);
  border-radius: 20px;
  padding: 28px;
}
.ek-contact-card .label {
  font-size: 11.5px; font-weight: 700; color: var(--ek-ink3);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.ek-contact-card .value {
  font-family: var(--ek-display); font-weight: 700; font-size: 26px;
  letter-spacing: -0.8px; color: var(--ek-ink); line-height: 1.15;
}
.ek-contact-card .value a {
  color: var(--ek-ink); text-decoration: none;
  border-bottom: 2px solid var(--ek-warmSoft);
}
.ek-contact-card .value a:hover { border-bottom-color: var(--ek-warm); }
.ek-contact-card .sub {
  font-size: 13px; color: var(--ek-ink2); margin-top: 14px; line-height: 1.5;
}
.ek-contact-card.full { grid-column: span 2; }

/* ── Definition list for Impressum facts ───────────── */
.ek-facts {
  display: grid; grid-template-columns: 160px 1fr; gap: 8px 24px;
  background: var(--ek-card);
  border: 1px solid var(--ek-line);
  border-radius: 20px; padding: 24px 28px;
  margin: 0 0 32px;
}
.ek-facts dt { color: var(--ek-ink3); font-size: 13.5px; padding: 6px 0; }
.ek-facts dd {
  margin: 0; color: var(--ek-ink); font-size: 14.5px; font-weight: 500;
  padding: 6px 0;
}

/* ── Footer (mini, matches main page) ──────────────── */
.ek-footer {
  border-top: 1px solid var(--ek-line);
  padding: 32px 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ek-ink3);
}
.ek-footer-links { display: flex; gap: 24px; }
.ek-footer-links a { color: var(--ek-ink2); text-decoration: none; font-weight: 500; }
.ek-footer-links a:hover { color: var(--ek-ink); }

/* ── Small screen ──────────────────────────────────── */
@media (max-width: 640px) {
  .ek-nav { padding: 18px 24px; }
  .ek-page { padding: 56px 24px 80px; }
  .ek-page h1 { font-size: 44px; letter-spacing: -1.6px; }
  .ek-content h2 { font-size: 24px; }
  .ek-contact-grid { grid-template-columns: 1fr; }
  .ek-contact-card.full { grid-column: auto; }
  .ek-facts { grid-template-columns: 1fr; padding: 20px; }
  .ek-facts dt { padding-bottom: 0; }
  .ek-facts dd { padding-top: 0; margin-bottom: 10px; }
  .ek-footer { flex-direction: column; gap: 14px; padding: 24px; text-align: center; }
}
