/* ============================================================
   MiKuS - base styles
   Shared chrome: design tokens, front/404 pages, generic page
   header, footer menu. Loaded on every page.
   ============================================================ */

/* ================= Design tokens ================= */
:root {
  /* Category colors (fixed assignment) */
  --cat-audio:      #e8632c;  --cat-audio-soft:      #fceee6; /* audio files: orange */
  --cat-ideen:      #7c5cd6;  --cat-ideen-soft:      #efeaf9; /* design ideas: purple */
  --cat-zusatz:     #0f9b8e;  --cat-zusatz-soft:     #e2f4f1; /* extra material: teal */

  /* Generic values */
  --bg:        #fbfaf7;
  --panel:     #ffffff;
  --text:      #2b2b33;
  --text-soft: #5c5c68;
  --linie:     #e6e3dc;
  --radius:    14px;
  --font:      system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Note: the chapter colors (--kapitel-color / --kapitel-soft) are set per
   page on the <body> as an inline style (entity chapter: "Farbe",
   fallback: the category color "Gestaltungs-Ideen"). */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* global: the hidden attribute wins over own display rules */
[hidden] { display: none !important; }

/* ================= Front & 404 page ================= */
.start-seite {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}
.start-seite h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: .3px;
}
.start-seite .untertitel {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}
.start-seite .fehler-titel {
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
}

/* ================= Page header (generic) ================= */
.seitenkopf {
  background: var(--panel);
  border-bottom: 1px solid var(--linie);
}
.seitenkopf-innen {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px 20px;
}
.seitenkopf h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: .2px;
}
.seitenkopf h1 { margin-top: 2px; }

/* ================= Content width ================= */
/* Used by all content pages (topic categories, chapter/overview main). */
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}

/* ================= Footer (WP nav menu "Footer") ================= */
.fusszeile {
  border-top: 1px solid var(--linie);
  padding: 18px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: .85rem;
}
.fusszeile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.fusszeile a {
  color: var(--text-soft);
  text-decoration: none;
}
.fusszeile a:hover {
  color: var(--text);
  text-decoration: underline;
}
