/* Schriften lokal gehostet (SIL Open Font License, siehe assets/fonts/LIZENZEN.txt). Nur Latin-Zeichensatz (inkl. Umlaute, ß). */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/syne-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/syne-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #090a0f;
  --surface: #11141d;
  --surface-hover: #171c29;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f6fc;
  --muted: #98a2b8;
  --cyan: #00e5ff;
  --magenta: #ff3b7f;
  --font-display: "Syne", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(255, 59, 127, 0.07), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  backdrop-filter: blur(12px);
  background: rgba(9, 10, 15, 0.78);
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand span {
  color: var(--cyan);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

/* Layout */
main,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.hero {
  padding: 5.5rem 0 4rem;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.lead {
  max-width: 60ch;
  margin: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--cyan);
  color: #05070a;
  border-color: var(--cyan);
  font-weight: 600;
}

.btn-primary:hover {
  background: #4df0ff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
}

/* Releases */
.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.45);
  background: var(--surface-hover);
}

.card-cover-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0d1017;
  overflow: hidden;
}

.card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-play {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--cyan);
  color: #06080c;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.15rem;
}

.card-sub {
  color: var(--muted);
  font-size: 0.88rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.tag {
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.card-links {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.card-links a {
  color: var(--cyan);
  text-decoration: none;
}

.card-links a:hover {
  text-decoration: underline;
}

/* Studio */
.studio-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  padding: 2.2rem;
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.studio-box p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.studio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.studio-list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  font-size: 0.96rem;
}

.studio-list span {
  color: var(--magenta);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.copy-link {
  background: none;
  border: none;
  color: var(--cyan);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

input[type="range"] {
  accent-color: var(--cyan);
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.hero-emblem {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.subpage-section {
  scroll-margin-top: 84px;
}

.subpage-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.subpage-banner-img {
  width: 100%;
  max-width: 535px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.subpage-content p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.section-banner {
  width: 100%;
  max-width: 525px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  display: block;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.35rem;
}

.subpage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.subpage-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.subpage-card p {
  margin: 0;
  color: var(--muted);
}

.subpage-card a {
  color: var(--cyan);
  text-decoration: none;
}

.subpage-card a:hover {
  text-decoration: underline;
}

.subpage-meta {
  color: var(--magenta);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-actions a {
  color: var(--muted);
  text-decoration: none;
}

.footer-actions a:hover {
  color: var(--text);
}

.nav a.is-active {
  color: var(--cyan);
}
/* Rungsen music overlay – visual language based on the site's INTRO panel */
html.music-open, html.page-open,
body.music-open, body.page-open { overflow: hidden; }
.music-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 4vh, 34px) 14px;
  overflow-y: auto; background: rgba(104, 111, 122, .88);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
}
.music-overlay.is-open { opacity: 1; visibility: visible; }
.music-overlay[hidden] { display: none; }
.music-dialog {
  position: relative; width: min(900px, 100%); min-height: 300px;
  margin: auto; padding: clamp(28px, 5vw, 54px);
  background: #25272b; color: #f4f4f4; border-radius: 7px;
  box-shadow: 0 18px 70px rgba(0,0,0,.32);
}
.music-close {
  position: absolute; top: 20px; right: 22px; width: 38px; height: 38px;
  border: 0; background: transparent; color: #eee; font-size: 36px;
  font-weight: 200; line-height: 1; cursor: pointer;
}
.music-eyebrow,.music-label {
  margin: 0; color: #bfc1c4; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .22em;
}
.music-heading {
  margin: 12px 48px 16px 0; font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600;
  letter-spacing: .36em; text-transform: uppercase;
}
.music-heading-line { width: 158px; height: 1px; background: #eee; margin-bottom: 36px; }
.music-now-playing {
  display: grid; grid-template-columns: minmax(180px, .9fr) 1.1fr;
  gap: clamp(20px, 4vw, 36px); align-items: center; margin-bottom: 42px;
}
.music-feature-cover {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 5px; background: #17191d;
}
.music-feature-info h3 { margin: 10px 0 4px; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 500; }
.music-feature-info > p { color: #c3c4c6; margin: 0 0 20px; font-size: .94rem; }
.music-controls { display: flex; align-items: center; gap: 11px; }
.music-play {
  flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #eee;
  border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.music-play:hover { background: #fff; color: #25272b; }
.music-time { min-width: 35px; color: #c3c4c6; font: .68rem var(--font-mono); }
#musicSeek,#musicVolume { accent-color: #f1f1f1; min-width: 0; }
#musicSeek { flex: 1; }
.music-volume-row { display: flex; align-items: center; gap: 14px; margin: 15px 0 0 53px; }
#musicVolume { width: 110px; }
.music-status { min-height: 18px; margin: 13px 0 0 53px !important; color: #aaa !important; font-size: .75rem !important; }
.music-library-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 12px; margin-bottom: 18px;
}
.music-library-head h3 {
  margin: 0; color: #f2f2f2; font-family: var(--font-body);
  font-size: .88rem; font-weight: 500; letter-spacing: .2em;
}
.music-track-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.music-card { min-width: 0; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.12); }
.music-card-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #17191d; }
.music-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.music-card-number {
  position: absolute; top: 9px; left: 10px; color: #fff; font: .65rem var(--font-mono);
  text-shadow: 0 1px 4px #000;
}
.music-card-play {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px;
  border: 1px solid #fff; border-radius: 50%; background: rgba(20,20,20,.55);
  color: #fff; cursor: pointer;
}
.music-card.is-current { border-color: rgba(255,255,255,.72); }
.music-card.is-current .music-card-play { background: #fff; color: #222; }
.music-card-copy { padding: 12px 13px 14px; }
.music-card-copy h4 { margin: 0 0 3px; color: #fff; font-size: .98rem; font-weight: 500; }
.music-card-copy p { margin: 0 0 8px; color: #c4c4c4; font-size: .78rem; }
.music-card-copy > span { color: #a7a9ad; font: .62rem var(--font-mono); letter-spacing: .04em; }
#musicAudio { display: none; }
@media (max-width: 650px) {
  .music-overlay { padding: 12px 8px; }
  .music-dialog { padding: 58px 22px 28px; }
  .music-now-playing { grid-template-columns: 1fr; gap: 18px; }
  .music-cover-wrap { max-width: 320px; margin: 0 auto; width: 100%; }
  .music-track-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .music-card-copy { padding: 10px; }
  .music-card-copy h4 { font-size: .88rem; }
}
@media (max-width: 390px) {
  .music-track-grid { grid-template-columns: 1fr; }
}

/* Aeltere Browser ohne aspect-ratio (iOS < 15, aeltere Android-WebViews) */
@supports not (aspect-ratio: 1 / 1) {
  .card-cover-wrap,
  .music-card-art { height: 0; padding-top: 100%; }
  .card-cover,
  .music-card-art img { position: absolute; top: 0; left: 0; }
  .music-feature-cover { height: auto; }
}

/* Responsive Header: Marke oben, Navigation darunter, nichts ragt ueber den Bildschirm */
@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.7rem 1rem 0.55rem;
  }
  .brand { font-size: 1rem; }
  .nav {
    gap: 0.5rem;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto;
    padding: 0.2rem 0;
    font-size: 0.84rem;
    white-space: nowrap;
  }
  .subpage-section { scroll-margin-top: 112px; }
  .hero { padding-top: 3rem; }
}
@media (max-width: 360px) {
  .nav a { font-size: 0.78rem; }
}

/* Mini-Player: schwebt unter der Kopfleiste, auch beim Scrollen */
.mini-player {
  position: fixed; z-index: 25;
  top: calc(var(--topbar-h, 62px) + 10px);
  right: clamp(1rem, 4vw, 3.5rem);
  width: min(380px, calc(100% - 2rem));
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px 10px 7px;
  background: #25272b; color: #f4f4f4;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.mini-player[hidden] { display: none; }
.mini-open {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px;
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  text-align: left; cursor: pointer;
}
.mini-cover { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 4px; object-fit: cover; background: #17191d; }
.mini-info { min-width: 0; display: flex; flex-direction: column; }
.mini-info strong, .mini-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-info strong { font-size: .9rem; font-weight: 500; }
.mini-info span { color: #aaa; font: .66rem var(--font-mono); }
.mini-btn {
  flex: 0 0 36px; width: 36px; height: 36px; padding: 0;
  border: 1px solid #eee; border-radius: 50%; background: transparent;
  color: #fff; font-size: .8rem; cursor: pointer;
}
.mini-btn:hover { background: #fff; color: #25272b; }
.mini-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .14); }
.mini-progress span { display: block; width: 0; height: 100%; background: #fff; }
@media (max-width: 760px) {
  .mini-player { left: 8px; right: 8px; width: auto; top: calc(var(--topbar-h, 82px) + 6px); }
}

/* Cover mit Audio-Visualizer */
.music-cover-wrap { position: relative; }
.music-vis { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Blog ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.blog-search input {
  width: min(320px, 100%); padding: .65rem 1rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text); font: .85rem var(--font-mono);
}
.blog-search input:focus { outline: none; border-color: var(--cyan); }
.blog-slider {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  grid-template-areas: "prev list next" ". meta .";
}
.blog-prev { grid-area: prev; } .blog-next { grid-area: next; }
.blog-list { grid-area: list; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; min-height: 220px; align-items: stretch; }
.blog-meta { grid-area: meta; margin: .4rem 0 0; text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.blog-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0 4px;
}
.blog-arrow:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.blog-arrow:disabled { opacity: .3; cursor: default; }
.blog-card {
  display: flex; flex-direction: column; gap: .65rem; padding: 1.5rem; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .18s ease, background .18s ease;
}
.blog-card:hover, .blog-card:focus-visible { border-color: rgba(0, 229, 255, .5); background: var(--surface-hover); outline: none; }
.blog-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }
.blog-teaser { color: var(--muted); font-size: .95rem; flex: 1; }
.blog-teaser > * { margin: 0 0 .6rem; }
.blog-teaser > *:last-child { margin-bottom: 0; }
.blog-teaser h3, .blog-teaser h4, .blog-teaser h5, .blog-teaser h6 { font-size: 1rem; color: var(--text); }
.blog-teaser code { font: .85em var(--font-mono); color: var(--text); }
.blog-more { color: var(--cyan); font: .78rem var(--font-mono); letter-spacing: .06em; }
.blog-empty { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; align-self: center; text-align: center; }
.blog-list.slide-next { animation: blogNext .28s ease; }
.blog-list.slide-prev { animation: blogPrev .28s ease; }
@keyframes blogNext { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes blogPrev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (max-width: 999px) { .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .blog-list { grid-template-columns: minmax(0, 1fr); }
  .blog-slider { grid-template-columns: 1fr 1fr; grid-template-areas: "list list" "prev next" "meta meta"; gap: .8rem; }
  .blog-prev { justify-self: start; } .blog-next { justify-self: end; }
  .blog-meta { margin-top: 0; }
}

/* ---------- Overlay für Beiträge und Impressum ---------- */
.page-dialog { width: min(780px, 100%); }
.page-heading {
  margin: 12px 48px 16px 0; font-family: var(--font-body); font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.2; color: #fff; overflow-wrap: anywhere;
  text-transform: none; letter-spacing: 0;
}
.page-body { color: #d6d7d9; font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.page-body > :first-child { margin-top: 0; }
.page-body p, .page-body ul, .page-body ol, .page-body pre, .page-body blockquote { margin: 0 0 1.1rem; }
.page-body h3, .page-body h4 { margin: 1.7rem 0 .6rem; color: #fff; font-family: var(--font-body); font-weight: 600; line-height: 1.3; }
.page-body h3 { font-size: 1.3rem; } .page-body h4 { font-size: 1.1rem; }
.page-body a { color: var(--cyan); }
.page-body ul, .page-body ol { padding-left: 1.4rem; }
.page-body li { margin-bottom: .3rem; }
.page-body img { display: block; max-width: 100%; height: auto; margin: 1.2rem 0; border-radius: 6px; }
.page-body code { font: .88em var(--font-mono); background: rgba(255, 255, 255, .08); padding: .1em .35em; border-radius: 4px; }
.page-body pre { padding: 1rem; overflow-x: auto; background: #17191d; border-radius: 6px; line-height: 1.5; }
.page-body pre code { background: none; padding: 0; }
.page-body blockquote { padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--magenta); color: #bfc1c4; }
.page-body blockquote p { margin: 0; }
.page-body hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 1.8rem 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
html.page-open .mini-player { display: none; }
@media (max-width: 650px) { .page-dialog { padding: 58px 22px 28px; } }
.post-tags .tag { font-size: .7rem; }
@media (max-width: 639px) { .blog-search, .blog-search input { width: 100%; } }

/* Tabellen und verschachtelte Listen im Beitrags-Overlay */
.page-body .table-wrap { overflow-x: auto; margin: 0 0 1.2rem; -webkit-overflow-scrolling: touch; }
.page-body table { border-collapse: collapse; min-width: 100%; font-size: .93rem; line-height: 1.45; }
.page-body th, .page-body td { padding: .55rem .8rem; border: 1px solid rgba(255, 255, 255, .14); text-align: left; vertical-align: top; }
.page-body th { background: rgba(255, 255, 255, .07); color: #fff; font-weight: 600; white-space: nowrap; }
.page-body tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.page-body .align-center { text-align: center; }
.page-body .align-right { text-align: right; }
.page-body li > ul, .page-body li > ol { margin: .35rem 0 .2rem; }
.page-body del { color: #9a9ca0; }
.blog-teaser ul, .blog-teaser ol { padding-left: 1.2rem; }
