/* ==========================================================
   filmmagazin.org – Stylesheet
   Farben anpassen? Einfach die Werte unter :root ändern.
   ========================================================== */

:root {
  --hintergrund: #ffffff;
  --text: #111214;
  --text-leise: #6a6d73;
  --akzent: #ECA2F5;        /* Designfarbe: Hauptbutton */
  --akzent-text: #111214;   /* Schrift auf dem Hauptbutton */
  --link: #9a3aa9;          /* dunklere Variante der Designfarbe, damit Links auf Weiß lesbar sind */
  --linie: #e4e5e8;
  --karte: #f6f7f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hintergrund: #0e0f11;
    --text: #eceef1;
    --text-leise: #9599a1;
    --akzent: #ECA2F5;
    --akzent-text: #0e0f11;
    --link: #ECA2F5;
    --linie: #26282c;
    --karte: #17181b;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.seite {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

h1, h2 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ---------- Kopfbereich ---------- */

.kopf { text-align: center; }

.cover {
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 1;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  background: var(--linie);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.kopf h1 {
  font-size: clamp(2rem, 7vw, 2.75rem);
  margin: 2rem 0 0;
}

.unterzeile {
  margin: 0.5rem 0 0;
  color: var(--text-leise);
  font-size: 1.1rem;
}

/* ---------- Plattformen ---------- */

.plattformen {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.plattformen a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 0.75rem;
  background: var(--karte);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.plattformen a::after { content: "→"; color: var(--text-leise); font-weight: 400; }
.plattformen a:hover { border-color: var(--akzent); }

.plattformen .haupt a {
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--akzent-text);
}
.plattformen .haupt a::after { color: var(--akzent-text); }

.plattformen small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ---------- Abschnitte ---------- */

section { margin-top: 3.5rem; }

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--linie);
}

/* ---------- Unterseiten (Impressum, Datenschutz, KI) ---------- */

.zurueck {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.rechtstext h1 { font-size: 2.25rem; margin: 0 0 1.5rem; }
.rechtstext h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  border-bottom: 0;
  padding-bottom: 0;
}
.rechtstext h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
.rechtstext address { font-style: normal; }

/* ---------- Fußzeile ---------- */

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: var(--text-leise);
  font-size: 0.9rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
footer a { color: var(--text-leise); }
