/* dadu.kids – gemeinsame Regeln. Das Aussehen der Abschnitte steht inline wie im Entwurf (design/webseite-final). */

@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url('/schriften/Baloo2_700Bold.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('/schriften/Baloo2_800ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 500; font-display: swap; src: url('/schriften/Nunito_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('/schriften/Nunito_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/schriften/Nunito_700Bold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/schriften/Nunito_800ExtraBold.woff2') format('woff2'); }

:root { color-scheme: light; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FBF3E8; color: #1B2340; font-family: 'Nunito', sans-serif; }
a { color: #C2410C; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 3px; border-radius: 12px; }
section[id] { scroll-margin-top: 16px; }

/* Web-Ansicht ab 1100 px, darunter die Mobil-Ansicht (wie im Entwurf: Web 1440 / Mobil 390) */
.ansicht-web { --rand: max(48px, calc((100% - 1200px) / 2)); }
.ansicht-mobil { --rand: max(20px, calc((100% - 640px) / 2)); }
.ansicht-mobil { display: none; }
@media (max-width: 1099px) {
  .ansicht-web { display: none; }
  .ansicht-mobil { display: block; }
}

/* Mobil-Menü */
.menue { position: relative; }
.menue summary { list-style: none; cursor: pointer; }
.menue summary::-webkit-details-marker { display: none; }
.menue-liste {
  position: absolute; right: 0; top: 54px; z-index: 10; min-width: 240px;
  display: flex; flex-direction: column; padding: 8px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.94); border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(27, 35, 64, 0.16);
}
.menue-liste a { padding: 12px 16px; border-radius: 16px; font-size: 17px; font-weight: 800; color: #1B2340; }
.menue-liste a:hover { background: #FBF3E8; }

/* Textseiten (Impressum, Datenschutz) */
.textseite { max-width: 1440px; margin: 0 auto; --rand: max(20px, calc((100% - 1200px) / 2)); }
.textseite-kopf { display: flex; align-items: center; gap: 16px; padding: 24px var(--rand); }
.textseite-kopf .zurueck { margin-left: auto; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; color: #1B2340;
  height: 48px; padding: 0 20px; border-radius: 24px; display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.62); border: 1.5px solid rgba(255, 255, 255, 0.9); box-shadow: 0 6px 14px rgba(27, 35, 64, 0.08); }
.textseite-inhalt { margin: 16px var(--rand) 96px; max-width: 760px; padding: 40px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.6); border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 34px rgba(27, 35, 64, 0.12); }
.textseite h1 { margin: 0 0 16px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.08; }
.textseite h2 { margin: 32px 0 8px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 24px; }
.textseite p { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.6; color: #3A4360; }
.textseite .hinweis { padding: 16px 20px; border-radius: 20px; background: #FFF4C2; color: #854D0E; font-weight: 700; }
@media (max-width: 700px) {
  .textseite-inhalt { padding: 24px 20px; border-radius: 32px; }
  .textseite h1 { font-size: 34px; }
}
