/* ==========================================================
   uwe-dick.de – gemeinsames Stylesheet für alle Seiten
   Farben und Schriften übernommen aus der WordPress-Fassung.
   Änderungen hier wirken auf ALLE Seiten.
   ========================================================== */


/* ---------- 1. Schrift (liegt lokal im Ordner /fonts) ---------- */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-bolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


/* ---------- 2. Farben und Grundwerte ---------- */
/* Hier zentral ändern – z. B. das Rot des Bestell-Buttons. */

:root {
  --rot:            #F6121C;   /* Buttons, Akzente            */
  --rot-dunkel:     #c80d15;   /* Button beim Überfahren      */
  --text:           #000000;   /* Fließtext                   */
  --grau-menue:     #707070;   /* Menüpunkte                  */
  --link:           #0170B9;   /* Links im Text               */
  --hintergrund:    #f4f4f4;   /* Seitenhintergrund           */
  --kasten:         #ffffff;   /* weiße Inhaltskästen         */
  --kasten-grau:    rgba(0, 0, 0, 0.05); /* grauer Infokasten */
  --fusszeile:      #7f7f7f;   /* Fußzeile                    */

  --breite:         1140px;    /* maximale Inhaltsbreite      */
  --schrift: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
             "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* ---------- 3. Grundlayout ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;         /* 16 px */
  line-height: 1.65;
  /* Fußzeile bleibt auch bei kurzen Seiten unten */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1.6em; }

a { color: var(--link); }
a:hover { color: var(--rot); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rot);
  outline-offset: 3px;
}

/* Hält Inhalte auf 1140 px Breite zentriert */
.container {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 20px;
}

/* Für Screenreader, unsichtbar */
.nur-screenreader {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.zum-inhalt {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 8px 12px; z-index: 100;
}
.zum-inhalt:focus { left: 10px; }


/* ---------- 4. Kopfbereich mit Logo und Menü ---------- */

.kopf {
  background: #fff;
}

.kopf .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
}

.logo img {
  width: 340px;
  margin-left: 5px;
}

.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.menue a {
  display: block;
  position: relative;
  padding: 13px 20px;
  color: var(--grau-menue);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

/* Linie unter dem aktiven und dem überfahrenen Menüpunkt */
.menue a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--grau-menue);
  opacity: 0;
  transition: opacity 0.2s;
}
.menue a:hover::after,
.menue a.aktiv::after { opacity: 1; }

/* Menü-Knopf fürs Smartphone (auf dem Desktop unsichtbar) */
.menue-knopf {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--grau-menue);
}
.menue-knopf svg { display: block; width: 28px; height: 28px; }


/* ---------- 5. Inhaltsbereich ---------- */

.inhalt {
  padding: 40px 0 60px;
}

/* Abschnitt: zwei Spalten (Bild links, Text rechts) */
.zweispaltig {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 30px;
  align-items: start;
}

/* weißer Kasten um einen Abschnitt */
.kasten {
  background: var(--kasten);
  padding: 30px;
  margin-bottom: 40px;
}

/* grauer Infokasten innerhalb des Textes */
.infokasten {
  background: var(--kasten-grau);
  padding: 24px;
  margin: 0 0 1.6em;
}
.infokasten p:last-child { margin-bottom: 0; }

/* Buchumschlag – der Schatten ist bereits im Bild enthalten */
.umschlag {
  margin-top: 8px;
}

/* Liste mit Presse-Links */
.presse p { margin-bottom: 1.2em; }
.presse a { font-weight: 700; text-decoration: none; }
.presse a:hover { text-decoration: underline; }
/* Presse-Eintrag ohne Link (Quelle nicht mehr online) */
.presse .ohne-link { font-weight: 700; }

/* Roter Button „Hier bestellen“ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--rot);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 30px;
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: 20px;
}
.button:hover { background: var(--rot-dunkel); color: #fff; }
.button svg { width: 22px; height: 22px; flex-shrink: 0; }

.bildunterschrift {
  font-weight: 700;
  margin-top: 16px;
  line-height: 1.5;
}


/* ---------- 6. Zitat-Karussell (nur Startseite) ---------- */

.karussell {
  max-width: 768px;
  margin: 0 auto 40px;
  outline: none;
}

.karussell-fenster {
  overflow: hidden;
}

.karussell-band {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease;
}

.karussell-band li {
  flex: 0 0 100%;
}

.karussell-band img { width: 100%; }

.karussell-punkte {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 8px;
}

.karussell-punkte button {
  width: 18px; height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.karussell-punkte button::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  margin: 0 auto;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
}
.karussell-punkte button[aria-current="true"]::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .karussell-band { transition: none; }
}


/* ---------- 7. Fußzeile ---------- */

.fuss {
  background: var(--fusszeile);
  color: #fff;
  font-size: 0.9rem;
}

.fuss .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 60px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }


/* ---------- 8. Tablet und Smartphone ---------- */

@media (max-width: 1024px) {
  .logo img { width: 260px; }
  .menue a { padding: 13px 12px; }
}

@media (max-width: 860px) {
  .kopf .container {
    flex-wrap: wrap;
    min-height: 90px;
  }
  .menue-knopf { display: block; }

  /* Menü klappt unter dem Logo auf */
  .menue { width: 100%; display: none; }
  .menue.offen { display: block; }
  .menue ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .menue a { padding: 10px 5px; border-top: 1px solid #eee; }
  .menue a::after { display: none; }
  .menue a.aktiv { color: var(--rot); }
}

@media (max-width: 767px) {
  .inhalt { padding-top: 20px; }
  .zweispaltig { grid-template-columns: 1fr; }
  .kasten { padding: 20px; }
  .zweispaltig > .spalte-bild { max-width: 320px; }
  .button { font-size: 21px; }
  .fuss .container { justify-content: center; text-align: center; }
}


/* ==========================================================
   UNTERSEITEN
   ========================================================== */

/* ---------- 9. Überschriften ---------- */

h1, h2, h3 {
  color: #202020;
  font-weight: 700;
  line-height: 1.3;
}

/* Seitentitel, z. B. „Bibliographie“ */
.seitentitel {
  font-size: 1.9rem;
  margin: 10px 0 40px;
}

/* Zwischenüberschrift, z. B. „Hinweise & Termine“ */
.zwischentitel {
  font-size: 1.45rem;
  margin: 0 0 0.8em;
}
* + .zwischentitel { margin-top: 1.8em; }


/* ---------- 10. Zwei Textspalten (Aktuelles, Programme) ---------- */

.textspalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  align-items: start;
}

.textspalten a { font-weight: 700; text-decoration: none; }
.textspalten a:hover { text-decoration: underline; }

.stimmen i { display: inline; }

.hinweis-unten {
  margin-top: 40px;
}
.hinweis-unten a { text-decoration: none; }


/* ---------- 11. Videos ---------- */

.videos {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 10px;
  align-items: start;
}

.video-buehne {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-buehne img,
.video-buehne iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}

/* Start-Knopf auf dem Vorschaubild */
.video-start {
  position: absolute; inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font: inherit;
}
.video-start .knopf {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 48px;
  transform: translate(-50%, -50%);
  background: #f00;
  border-radius: 12px;
  display: grid; place-items: center;
}
.video-start .knopf::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-start .datenschutz {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: left;
}
.video-start:hover .knopf { background: #c00; }

.playlist {
  background: #fff;
  padding: 10px 0;
}
.playlist-kopf {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px 12px;
  border-bottom: 1px solid #e5e5e5;
  color: var(--grau-menue);
  font-size: 0.85rem;
}
.playlist-kopf strong { font-size: 1rem; }

.playlist ul { list-style: none; margin: 0; padding: 0; }

.playlist button {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #555;
  cursor: pointer;
}
.playlist button:hover { background: #f4f4f4; }
.playlist button[aria-current="true"] { background: #eee; color: #000; font-weight: 700; }
.playlist img { width: 76px; aspect-ratio: 16 / 9; object-fit: cover; }
.playlist .dauer { color: #888; font-weight: 400; }


/* ---------- 12. Interviews ---------- */

.interview {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
  align-items: start;
}

.interview h2 {
  font-size: 1.45rem;
  margin: 0 0 0.8em;
}

/* Trennlinie zwischen zwei Interviews */
.trenner {
  border: 0;
  border-top: 1px solid #d4d4d4;
  margin: 50px 0;
}


/* ---------- 13. Bibliographie ---------- */

.buecher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Ungerade Anzahl: letztes Buch mittig */
.buecher li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  justify-self: center;
}

.buecher img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 16px;
}

.buecher h2 {
  font-size: 1.45rem;
  margin: 0 0 4px;
}
.buecher h2 a { color: inherit; text-decoration: none; }
.buecher h2 a:hover { color: var(--rot); }

.buecher p { margin: 0; }


/* ---------- 14. Unterseiten: Tablet und Smartphone ---------- */

@media (max-width: 900px) {
  .videos { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .seitentitel { font-size: 1.6rem; margin-bottom: 24px; }
  .textspalten,
  .interview,
  .buecher { grid-template-columns: 1fr; }
  .interview .spalte-bild { max-width: 333px; }
  .buecher li:last-child:nth-child(odd) { max-width: none; }
}


/* ---------- 15. Impressum und Datenschutz ---------- */

.rechtstext {
  max-width: 800px;
}
.rechtstext .zwischentitel { font-size: 1.6rem; }
.rechtstext h3 { font-size: 1.25rem; margin: 1.8em 0 0.6em; }
.rechtstext h4 { font-size: 1.05rem; margin: 1.5em 0 0.5em; }
.rechtstext h5 { font-size: 1rem; margin: 1.2em 0 0.4em; }
.rechtstext a { overflow-wrap: anywhere; }
