/* =========================================================================
   AUGENBLICK — gemeinsames Stylesheet
   Ruhig, hochwertig, kein Gamification-Lärm (siehe Konzept, Kap. 10).
   Angelehnt an den Illustrationsstil der Karten: warme, gedeckte Farben,
   weiche Formen, viel Luft. Bewusst ohne externe Fonts/Scripts — läuft
   offline, lädt nichts von Dritten, keine Tracking-Angriffsfläche.

   Die Variablen --bg-from/--bg-to/--text/--card-bg/--muted/--border/
   --season-accent werden pro Seite gesetzt (card.php: abhängig von der
   aktuellen Tageszeit/Jahreszeit; index.php: fest, hell). --accent (das
   Robin-Orange) ist die feste Markenfarbe, unabhängig von der Uhrzeit.
   ========================================================================= */

:root {
  --accent: #d9622b;
  --accent-ink: #ffffff;

  --bg-from: #fdf8ef;
  --bg-to: #fbf1de;
  --text: #2e2a24;
  --card-bg: #fffefb;
  --muted: #6b6255;
  --border: #ecdfc4;
  --season-accent: #d9622b;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 1.5rem 1rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-from) 0%, var(--bg-to) 100%);
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.6s ease;
}

.page {
  max-width: 560px;
  margin: 0 auto;
}

/* --- Markenkopf ------------------------------------------------------- */

.brand-kicker {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 auto 1.25rem;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: 1px solid var(--season-accent);
  color: var(--season-accent);
  background: rgba(217, 98, 43, 0.12); /* Fallback für Browser ohne color-mix() */
  background: color-mix(in srgb, var(--season-accent) 12%, transparent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.time-badge-wrap { text-align: center; }
.time-badge__dot {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--season-accent);
  flex: none;
}

/* --- Karten-Panel ------------------------------------------------------- */

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}

.card__eyebrow {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 1.1rem;
  line-height: 1.2;
}

.card img, .card video {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  margin: 0 0 1.25rem;
}

.card audio {
  width: 100%;
  margin: 0 0 1.25rem;
  accent-color: var(--accent);
}

.card p {
  margin: 0 0 1rem;
}

/* --- Quiz (vorbereitet, aktuell über FEATURE_QUIZ_ENABLED deaktiviert) - */

.card h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 1rem;
}

.quiz-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.6rem 0;
  background: var(--card-bg);
  background: color-mix(in srgb, var(--card-bg) 92%, var(--text) 8%);
}
.quiz-option.correct {
  border-color: var(--accent);
  background: #fbe9df;
  background: color-mix(in srgb, var(--accent) 10%, var(--card-bg));
}
.quiz-option .label { font-weight: 700; }
.quiz-option .label .mark { color: var(--accent); }

/* --- Fehler-/Hinweisseiten ---------------------------------------------- */

.notice {
  text-align: center;
  padding: 3rem 1.5rem;
}
.notice p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Dev-Übersicht (index.php) ------------------------------------------ */

.dev-banner {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.card-list li:last-child { border-bottom: none; }
.card-list .name { font-weight: 600; }
.card-list .track { color: var(--muted); font-size: 0.85rem; font-weight: 400; }
.card-list .links { white-space: nowrap; font-size: 0.85rem; }
.card-list a { color: var(--accent); text-decoration: none; }
.card-list a:hover { text-decoration: underline; }

code {
  background: rgba(46, 42, 36, 0.08);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  font-size: 0.85em;
}

/* --- Mobile-first Feinschliff -------------------------------------------- */

@media (max-width: 420px) {
  .card { padding: 1.4rem 1.1rem 1.6rem; border-radius: 16px; }
  h1 { font-size: 1.5rem; }
}
