/* KidsBuddy – Grundstil der öffentlichen Seiten (Farben aus dem Logo, siehe docs/konzept.md) */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream: #FFF8EF;      /* Hintergrund */
  --white: #FFFFFF;
  --yellow: #F7CD89;     /* Logo-Karte */
  --heart: #C37968;      /* Herz: Flächen und Grafik, nicht für Text */
  --coral: #9E5444;      /* Schaltflächen, Links (AA auf Creme und mit weisser Schrift) */
  --kids: #BA6D5D;       /* Schriftzug «Kids»: nur grosse Titel */
  --text: #5A4C42;       /* Dunkelbraun */
  --cheek: #D9A399;
  --radius: 24px;
  --radius-sm: 14px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--coral); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

h1, h2 { line-height: 1.2; font-weight: 800; }

.skip {
  position: absolute; left: -9999px; top: 0;
  padding: 12px 16px; background: var(--white); border-radius: var(--radius-sm);
}
.skip:focus { left: 16px; top: 16px; }

/* --- Startseite «bald verfügbar» --- */
.soon {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  text-align: center;
}
.soon-logo { width: min(300px, 80vw); height: auto; }
.claim { margin: 20px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--kids); }
.soon h1 { margin: 8px 0 16px; font-size: clamp(2rem, 7vw, 2.75rem); }
.soon .card {
  margin: 28px 0 0;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(90, 76, 66, .08);
}
.soon .card p { margin: 0; }

/* --- Textseiten (Impressum, Datenschutz) --- */
.page { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; }
.page-head { flex: none; padding-bottom: 0; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.page-head img { width: 44px; height: 44px; }
.page-head a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 800; color: var(--text); text-decoration: none; }
.page h1 { font-size: 2rem; margin: 24px 0 8px; }
.page h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.page .note { padding: 12px 16px; background: var(--white); border-left: 4px solid var(--yellow); border-radius: var(--radius-sm); }

/* --- Fusszeile --- */
.foot {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: .9375rem;
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.foot p { margin: 4px 0 0; }
