/* Der ZEITverbraucher – Stylesheet */
:root {
  --gold: #ffbe51;
  --text: #ffffff;
  --muted: #c9c9c9;
  --nav-bg: #000000;
  --nav-link: #e6e6e6;
  --nav-active: #8c8c8c;
  --card-bg: rgba(0, 0, 0, 0.0);
  --font-sans: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-light: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1000px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background-color: #1e1f22;
  background-image: url("../img/hintergrund.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: relative;
  height: 152px;
  background-color: #2b2b2b;
  background-image: url("../img/kopfbild.jpg");
  background-size: cover;
  background-position: center;
}
.site-header .inner {
  max-width: none; /* Logo bleibt links über dem dunklen Bildteil */
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.logo {
  position: absolute;
  left: 24px;
  top: 14px;
  display: block;
  width: 172px;
}
.logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 1px 4px rgba(0,0,0,.75)); }
/* Dunkler Schleier hinter Logo und Slogan, damit sie auf dem hellen Kopfbild lesbar bleiben */
.site-header .inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.slogan { text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.slogan {
  position: absolute;
  left: 24px;
  width: 172px;
  text-align: center;
  white-space: nowrap;
  bottom: 14px;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- Navigation ---------- */
.site-nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 46px;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}
.menu > li { position: relative; }
.menu a, .menu button {
  display: block;
  padding: 13px 8px;
  color: var(--nav-link);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.menu a:hover, .menu button:hover { color: var(--gold); }
.menu a[aria-current="page"] { color: var(--nav-active); }
.submenu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: 100%;
  background: #000;
  min-width: 170px;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.open .submenu { display: block; }
.submenu a { padding: 10px 16px; }

.social { display: flex; gap: 10px; align-items: center; margin-left: 12px; }
.social a { display: block; width: 22px; height: 22px; color: #bdbdbd; }
.social a:hover { color: #fff; }
.social svg { width: 100%; height: 100%; fill: currentColor; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; font-size: 26px;
  padding: 8px 4px; cursor: pointer; margin-right: auto;
}

/* ---------- Inhalt ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.page-title {
  font-family: var(--font-light);
  font-weight: 200;
  font-size: 38px;
  margin: 8px 0 6px;
}
.page-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 720px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
}

.video-card { display: flex; flex-direction: column; }
.video-card[hidden] { display: none; }

.thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  overflow: hidden;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.03); filter: brightness(.85); }
.thumb .play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .25s ease;
}
.thumb .play::after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.thumb:hover .play, .thumb:focus-visible .play { opacity: 1; }
.duration {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font: 12px/1 var(--font-sans);
  padding: 4px 6px;
  border-radius: 3px;
}

.video-title {
  font-family: var(--font-light);
  font-weight: 200;
  font-size: 25px;
  line-height: 1.2;
  margin: 18px 0 8px;
}
.video-title button {
  all: unset;
  cursor: pointer;
}
.video-title button:hover { color: var(--gold); }
.video-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-wrap { text-align: center; margin-top: 44px; }
.btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
  padding: 11px 34px;
  font: 15px var(--font-sans);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #fff; color: #000; }

/* ---------- Textseiten ---------- */
.text-page {
  background: rgba(0,0,0,.55);
  padding: 36px 40px;
  line-height: 1.7;
  font-size: 15px;
}
.text-page h1 { font-family: var(--font-light); font-weight: 200; font-size: 36px; margin: 0 0 18px; }
.text-page h2 { font-family: var(--font-light); font-weight: 300; font-size: 22px; margin: 30px 0 8px; color: var(--gold); }
.text-page p { margin: 0 0 14px; color: #e8e8e8; }
.text-page ul { margin: 0 0 14px; padding-left: 20px; color: #e8e8e8; }
.text-page a { color: var(--gold); }
.banner-img { width: 100%; height: auto; display: block; margin: 0 0 28px; }
.signature { font-family: var(--font-light); font-size: 22px; font-weight: 200; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin: 10px 0 18px; }
.topics h3 { margin: 0 0 4px; font-weight: 600; font-size: 17px; }
.topics h3 a { color: var(--gold); text-decoration: none; }
.topics p { margin: 0; }

/* ---------- Video-Dialog ---------- */
.video-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal .frame {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.video-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal .close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1;
}
.video-modal .yt-link {
  position: absolute; bottom: -34px; left: 0; color: #bbb; font-size: 13px;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  background: #000;
  color: #9a9a9a;
  text-align: center;
  padding: 22px 16px;
  font-size: 13px;
}
.site-footer a { color: #9a9a9a; text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 6px 0 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav .inner { flex-wrap: wrap; }
  .menu { display: none; flex-direction: column; align-items: stretch; flex-basis: 100%; order: 3; padding-bottom: 10px; }
  .menu.open { display: flex; }
  .submenu { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; }
  .has-sub > button { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .text-page { padding: 24px 20px; }
}
@media (max-width: 520px) {
  .site-header { height: 120px; }
  .logo { width: 136px; top: 10px; left: 16px; }
  .slogan { left: 16px; width: 136px; font-size: 13px; bottom: 10px; }
  .video-title { font-size: 21px; }
}

/* Endlos-Scrollen */
.scroll-sentinel { height: 1px; }
.more-wrap .btn[hidden] { display: none; }

/* Podcast-Player */
.audio-player { margin: 24px 0 12px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.ap-now { display: flex; gap: 18px; align-items: center; padding: 20px; }
.ap-cover { flex: none; width: 120px; height: 120px; object-fit: cover; background: #222; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.ap-play { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; position: relative; }
.ap-play:hover { filter: brightness(1.08); }
.ap-icon { position: absolute; left: 25px; top: 20px; border-left: 20px solid #111; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.playing .ap-icon { left: 22px; top: 21px; width: 20px; height: 22px; border: 0; border-left: 7px solid #111; border-right: 7px solid #111; }
.ap-info { flex: 1; min-width: 0; }
.ap-title { font-family: var(--font-light); font-weight: 300; font-size: 19px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-bar { display: flex; align-items: center; gap: 12px; }
.ap-seek { flex: 1; accent-color: var(--gold); }
.ap-time { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ap-ctrl { display: flex; gap: 8px; margin-top: 8px; }
.ap-ctrl button, .ap-ctrl a { background: none; border: 1px solid rgba(255,255,255,.3); color: #ddd; font: 12px var(--font-sans); padding: 4px 10px; cursor: pointer; text-decoration: none; }
.ap-ctrl button:hover, .ap-ctrl a:hover { border-color: var(--gold); color: var(--gold); }
.ap-head { display: flex; justify-content: space-between; padding: 8px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.ap-list { list-style: none; margin: 0 !important; padding: 0 !important; max-height: 480px; overflow-y: auto; }
.ap-list li { border-bottom: 1px solid rgba(255,255,255,.07); }
.ap-list button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 56px 1fr auto; align-items: start; gap: 2px 16px; width: 100%; padding: 12px 20px; cursor: pointer; }
.ap-list button:hover { background: rgba(255,255,255,.06); }
.ap-list button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ap-list li.active button { background: rgba(255,190,81,.12); }
.ap-list li.active .ap-li-title { color: var(--gold); }
.ap-li-title { font-size: 15px; }
.ap-li-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ap-li-img { grid-row: 1 / span 2; width: 56px; height: 56px; object-fit: cover; background: #222; }
.ap-li-desc { grid-column: 2 / -1; font-size: 12.5px; color: #aaa; line-height: 1.4; }
.podcast-note { font-size: 13px; color: var(--muted) !important; }
.podcast-links { font-size: 14px; }
@media (max-width: 520px) { .ap-now { padding: 14px; gap: 12px; flex-wrap: wrap; } .ap-cover { width: 80px; height: 80px; } .ap-info { flex-basis: 100%; } .ap-play { width: 52px; height: 52px; } .ap-icon { left: 20px; top: 15px; } .playing .ap-icon { left: 16px; top: 15px; } }
@media (max-width: 600px) {
  .ap-list button { grid-template-columns: 48px 1fr; gap: 2px 12px; padding: 12px 14px; }
  .ap-li-img { width: 48px; height: 48px; grid-row: 1 / span 3; }
  .ap-li-meta { grid-column: 2; }
  .ap-li-desc { grid-column: 2; }
}

/* Zwei-Klick-Hinweis für YouTube */
.yt-consent {
  width: 100%; height: 100%;
  background: #111 center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.yt-consent::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.yt-consent-box { position: relative; max-width: 560px; padding: 24px; text-align: center; font-size: 14px; line-height: 1.55; color: #e8e8e8; }
.yt-consent-box a { color: var(--gold); }
.yt-consent-title { font-family: var(--font-light); font-weight: 300; font-size: 22px; color: #fff; margin: 0 0 12px; }
.yt-consent-remember { display: block; margin: 14px 0 18px; font-size: 13px; color: #ccc; cursor: pointer; }
.yt-consent-remember input { accent-color: var(--gold); margin-right: 6px; vertical-align: -2px; }
@media (max-width: 520px) { .yt-consent-box { padding: 12px; font-size: 12.5px; } .yt-consent-title { font-size: 17px; margin-bottom: 6px; } .yt-consent-remember { margin: 8px 0 10px; } }

/* Song zum Download (BootZEIT) */
.song {
  display: flex; align-items: center; gap: 14px;
  max-width: 560px; margin: -10px 0 30px; padding: 10px 14px 10px 10px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
}
.song-play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; position: relative; }
.song-play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid #111; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.song.playing .song-play::after { left: 13px; top: 12px; width: 14px; height: 16px; border: 0; border-left: 5px solid #111; border-right: 5px solid #111; box-sizing: border-box; }
.song-info { flex: 1; min-width: 0; }
.song-kicker { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.song-title { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-bar { height: 3px; margin-top: 6px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; cursor: pointer; }
.song-bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.song-time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.song-dl { flex: none; display: inline-flex; align-items: center; gap: 5px; color: #ddd; text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.song-dl:hover { color: var(--gold); border-color: var(--gold); }
.song-dl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { .song { border-radius: 16px; gap: 10px; } .song-time { display: none; } .song-dl span { display: none; } }
