/* HP-Schriften (Playfair Display + Source Serif Pro) von homburgschule.de mitnutzen.
   Liegt live unter der Domain-Wurzel; muss als erste Regel stehen (@import-Regel). */
@import url('/assets/fonts/fonts.css');

:root {
  color-scheme: light;
  /* Markenpalette der Prinz-von-Homburg-Schule (vgl. assets/css/01-variables.css) */
  --penn: #141B4D;          /* Penn-Blau: Überschriften, Links, Standard-Akzent */
  --penn-hover: #2E5A87;
  --penn-light: #eef1f7;    /* zarter Blauton für Info-Boxen */
  --gold: #CEB829;          /* Gold-Akzent */
  --gold-ink: #857610;      /* lesbares Gold für Text */
  --gold-light: #FBF7E4;    /* heller Gold-Hintergrund (Highlight-Slot) */
  --green: #2d6a4f;         /* Pause */
  --green-light: #eef5f0;
  --ink: #1c2333;
  --muted: #6B6E72;         /* Cadet-Gray */
  --line: #e2e5ec;
  --paper: #fff;
  --background: #F4F5F8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 40px auto;
  padding: 48px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgb(20 27 77 / 9%);
}

nav { margin-bottom: 24px; }
nav a { color: var(--penn); font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }

header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 3px solid var(--gold);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--penn);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--penn);
}
h2 {
  margin: 36px 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--penn);
  font-size: 1.5rem;
}
.intro { max-width: 70ch; margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }
.schedule { display: grid; gap: 12px; }

.slot {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--penn);
  border-radius: 12px;
  background: #fbfcfd;
}

.slot.break { border-left-color: var(--green); background: var(--green-light); }
.slot.run { border-left-color: var(--gold); background: var(--gold-light); }
.slot time { color: var(--penn); font-weight: 700; white-space: nowrap; }
.slot.break time { color: var(--green); }
.slot.run time { color: var(--gold-ink); }
.slot strong { display: block; }
.slot p { margin: 4px 0 0; color: var(--muted); }

.notice { margin-top: 28px; padding: 20px 22px; border-radius: 12px; background: var(--penn-light); }
.notice strong { color: var(--penn); }
ul { margin: 12px 0 0; padding-left: 1.3rem; }
li + li { margin-top: 8px; }

.grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.grade-grid a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--penn);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.grade-grid a:hover { background: var(--penn-light); border-color: var(--penn); }

footer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

@media (max-width: 640px) {
  main { width: 100%; margin: 0; padding: 28px 20px; border-radius: 0; }
  .slot { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  body { background: #fff; }
  main { width: 100%; margin: 0; padding: 15mm; box-shadow: none; }
  nav { display: none; }
  .slot { break-inside: avoid; }
}
