/* ==========================================================================
   Janine Zachariae – Autorin · Rock of Books
   ========================================================================== */

/* Outfit – lokal eingebunden (SIL Open Font License, siehe assets/fonts/OFL.txt) */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0816;
  --bg-soft: #130d24;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f1ff;
  --muted: #b4aacb;
  --faint: #8a80a6;

  --violet: #8b5cf6;
  --violet-light: #c4b5fd;
  --rose: #f472b6;
  --gold: #f5c76b;
  --teal: #5eead4;

  --grad: linear-gradient(115deg, #f5c76b 0%, #f472b6 48%, #a78bfa 100%);

  --radius: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-cover: 0 30px 60px -22px rgba(0, 0, 0, 0.75), 0 12px 30px -12px rgba(139, 92, 246, 0.35);
}

/* ---------- Reset & Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }

strong { font-weight: 600; }

::selection { background: rgba(244, 114, 182, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.i { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Hintergrund ---------- */

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55vmax 55vmax at 88% -12%, rgba(139, 92, 246, 0.24), transparent 62%),
    radial-gradient(45vmax 45vmax at -12% 35%, rgba(244, 114, 182, 0.12), transparent 60%),
    radial-gradient(40vmax 40vmax at 60% 115%, rgba(245, 199, 107, 0.09), transparent 60%),
    var(--bg);
}

.cosmos::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 24px 36px, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 150px 84px, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 96px 170px, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 212px 228px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 250px 40px, rgba(245, 199, 107, 0.45), transparent 60%);
  background-size: 280px 280px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

/* ---------- Layout-Helfer ---------- */

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container { width: min(100% - 64px, var(--container)); }
}

.section { padding-block: clamp(80px, 11vw, 150px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-light);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--gold { color: var(--gold); }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 0.32em 0.85em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--violet-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.55em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn .i { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }

.btn--primary { background: var(--text); color: #160e2a; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(196, 181, 253, 0.65);
}

.btn--ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--violet-light);
  background: rgba(139, 92, 246, 0.14);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--border);
  background: rgba(11, 8, 22, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand__name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
}
.brand__name small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__links {
  display: flex;
  gap: 4px;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 0.5em 0.95em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.nav__cta { padding: 0.7em 1.25em; font-size: 0.92rem; }

.nav__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle .i { width: 20px; height: 20px; }
.nav__toggle .i-close { display: none; }
.site-header.is-open .nav__toggle .i-menu { display: none; }
.site-header.is-open .nav__toggle .i-close { display: block; }

@media (max-width: 960px) {
  .nav__toggle { display: grid; }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px 28px;
    border-bottom: 1px solid var(--border);
    background: #0d0919;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-header.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links { flex-direction: column; gap: 2px; }
  .nav__links a { padding: 0.8em 1em; font-size: 1.15rem; border-radius: 14px; }
  .nav__cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 8vw, 110px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
}

.hero__title {
  margin-bottom: 0.32em;
  font-size: clamp(3.5rem, 10vw, 8.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.hero__title .thin { font-weight: 200; }

.hero__lead {
  max-width: 34em;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  color: var(--muted);
}
.hero__lead strong { color: var(--text); font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px clamp(28px, 4vw, 52px);
  margin-top: 3.2rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.hero__stats strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero__stats span { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 520px) {
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px; }
  .hero__stats strong { font-size: 1.45rem; }
  .hero__stats span { display: block; font-size: 0.8rem; line-height: 1.35; }
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 999px 999px 40px 40px;
  background: var(--grad);
  opacity: 0.45;
  filter: blur(36px);
}

.portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: var(--bg-soft);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  pointer-events: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.float-cover {
  position: absolute;
  width: 36%;
  border-radius: 4px 8px 8px 4px;
  box-shadow: var(--shadow-cover);
  animation: float 8s ease-in-out infinite;
}
.float-cover--a { left: -15%; bottom: 7%; rotate: -8deg; }
.float-cover--b { right: -11%; top: 9%; width: 30%; rotate: 7deg; animation-delay: -4s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.hero__badge {
  position: absolute;
  right: -4%;
  bottom: -5%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(19, 13, 36, 0.82);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  font-size: 0.88rem;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.hero__badge:hover { border-color: var(--gold); transform: translateY(-2px); }
.hero__badge .i { width: 22px; height: 22px; color: var(--gold); }
.hero__badge strong { display: block; font-weight: 600; color: var(--text); }
.hero__badge span { color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 340px; margin-top: 12px; }
  .float-cover--a { left: -10%; }
  .float-cover--b { right: -8%; }
  .hero__badge { right: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 200;
  white-space: nowrap;
  color: var(--muted);
}
.marquee__group .i { width: 0.75em; height: 0.75em; color: var(--gold); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Spotlight (Neu erschienen) ---------- */

.spotlight__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 360px) 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  overflow: hidden;
  padding: clamp(28px, 5.5vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(245, 199, 107, 0.16), transparent 65%),
    radial-gradient(60% 80% at 100% 100%, rgba(139, 92, 246, 0.16), transparent 65%),
    rgba(255, 255, 255, 0.02);
}

.spotlight__cover { perspective: 1400px; }
.spotlight__cover img {
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-cover), 0 0 80px -20px rgba(245, 199, 107, 0.4);
  transform: rotateY(-14deg) rotateX(3deg);
  transition: transform 0.7s var(--ease);
}
.spotlight__cover:hover img { transform: rotateY(0) rotateX(0) scale(1.02); }

.spotlight__body h2 { margin-bottom: 0.2em; }
.spotlight__sub {
  font-size: 1.1rem;
  color: var(--muted);
}
.spotlight__quote {
  margin: 1.6rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 200;
  line-height: 1.35;
}
.spotlight__body > p { color: var(--muted); max-width: 38em; }
.spotlight__body .tags { margin: 1.6rem 0 2rem; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 820px) {
  .spotlight__card { grid-template-columns: 1fr; }
  .spotlight__cover { max-width: 240px; }
}

.btn--sm { padding: 0.7em 1.15em; font-size: 0.92rem; }

/* ---------- Reihen-Übersicht ---------- */

.series { padding-bottom: 0; }

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) {
  .series-grid { grid-template-columns: 1fr 1fr; }
  .series-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .series-grid { grid-template-columns: 1fr; } }

.series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%),
    var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.series-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.series-card__covers {
  position: relative;
  height: 200px;
  margin: 4px 0 26px;
}
.series-card__covers img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 112px;
  border-radius: 3px 7px 7px 3px;
  box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s var(--ease);
}
.series-card__covers img:nth-child(1) { transform: translateX(-50%) translateX(-78px) rotate(-9deg) scale(0.9); }
.series-card__covers img:nth-child(2) { z-index: 2; transform: translateX(-50%); }
.series-card__covers img:nth-child(3) { transform: translateX(-50%) translateX(78px) rotate(9deg) scale(0.9); }
.series-card__covers--2 img:nth-child(1) { transform: translateX(-50%) translateX(-42px) rotate(-6deg); }
.series-card__covers--2 img:nth-child(2) { transform: translateX(-50%) translateX(42px) rotate(6deg); }
.series-card:hover .series-card__covers img:nth-child(1) { transform: translateX(-50%) translateX(-92px) rotate(-12deg) scale(0.9); }
.series-card:hover .series-card__covers img:nth-child(3) { transform: translateX(-50%) translateX(92px) rotate(12deg) scale(0.9); }
.series-card:hover .series-card__covers--2 img:nth-child(1) { transform: translateX(-50%) translateX(-52px) rotate(-8deg); }
.series-card:hover .series-card__covers--2 img:nth-child(2) { transform: translateX(-50%) translateX(52px) rotate(8deg); }

.series-card__genre {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.series-card h3 { margin-bottom: 0.45em; font-size: 1.5rem; }
.series-card__pitch { color: var(--muted); }
.series-card__meta { margin-bottom: 1.4rem; font-size: 0.86rem; color: var(--faint); }
.series-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: auto;
}
.series-card__more {
  font-size: 0.92rem;
  color: var(--violet-light);
  text-underline-offset: 3px;
}

/* ---------- Zitat ---------- */

.quote-band {
  margin: 0;
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.quote-band__star { width: 26px; height: 26px; margin: 0 auto 22px; color: var(--gold); }
.quote-band blockquote {
  max-width: 20ch;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.quote-band figcaption {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Bücher ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.filter {
  padding: 0.6em 1.15em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.filter:hover { color: var(--text); border-color: var(--violet-light); }
.filter[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: #160e2a;
}
.filter__count { margin-left: 0.4em; font-size: 0.85em; opacity: 0.6; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(28px, 3.5vw, 44px) clamp(18px, 2.4vw, 30px);
}
@media (max-width: 480px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

.book {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  animation: book-in 0.5s var(--ease) both;
}
.book[hidden] { display: none; }

@keyframes book-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.book__cover {
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 4px 9px 9px 4px;
  background: var(--bg-soft);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 3%,
    rgba(0, 0, 0, 0.18) 4.5%, rgba(0, 0, 0, 0) 9%);
  pointer-events: none;
}
.book:hover .book__cover,
.book:focus-visible .book__cover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow:
    0 30px 50px -22px rgba(0, 0, 0, 0.9),
    0 22px 60px -18px var(--glow, rgba(139, 92, 246, 0.6));
}
.book:focus-visible { outline: none; }
.book:focus-visible .book__cover { outline: 2px solid var(--gold); outline-offset: 4px; }

.book__badge {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 1;
  padding: 0.32em 0.75em;
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1306;
}
.book__series {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}
.book__title {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.25;
}
.book__meta { font-size: 0.86rem; color: var(--muted); }

.books__note {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: 0.98rem;
  color: var(--muted);
}
.books__note a { color: var(--violet-light); text-underline-offset: 3px; }

/* ---------- Dialog (Buchdetails) ---------- */

.book-dialog {
  width: min(940px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #150f28;
  color: var(--text);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.85);
}
.book-dialog::backdrop {
  background: rgba(6, 4, 14, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.book-dialog[open] { animation: dialog-in 0.4s var(--ease); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.book-dialog__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
}
.book-dialog__cover img {
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-cover);
}
.book-dialog h3 {
  margin-bottom: 0.15em;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
}
.book-dialog__sub { font-size: 1.05rem; color: var(--muted); }
.book-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.book-dialog__meta strong { color: var(--text); font-weight: 500; }
.book-dialog__text { color: #ddd5f0; }
.book-dialog__text p { margin: 0 0 0.9em; white-space: pre-line; }
.book-dialog__text p:last-child { margin-bottom: 0; }
.book-dialog .tags { margin: 0 0 1.2rem; }

.notes {
  margin: 1.4rem 0 1.8rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.notes summary {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--violet-light);
  cursor: pointer;
}
.notes p { margin: 0.6rem 0 0; font-size: 0.93rem; color: var(--muted); }

.dialog-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px 14px 0 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(21, 15, 40, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, rotate 0.3s var(--ease);
}
.dialog-close:hover { background: rgba(139, 92, 246, 0.25); rotate: 90deg; }
.dialog-close .i { width: 20px; height: 20px; }

.book-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.book-dialog__more { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.book-dialog__label {
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.series-row { display: flex; flex-wrap: wrap; gap: 10px; }
.series-row__item {
  width: 58px;
  padding: 0;
  border: 0;
  border-radius: 3px 6px 6px 3px;
  background: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.series-row__item img {
  border-radius: inherit;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.8);
}
.series-row__item:hover { transform: translateY(-4px); }

.book-dialog__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(20px, 4vw, 48px) 20px;
  border-top: 1px solid var(--border);
}
.dlg-step {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 48%;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s;
}
.dlg-step:hover { background: rgba(255, 255, 255, 0.06); }
.dlg-step[hidden] { display: none; }
.dlg-step--next { margin-left: auto; text-align: right; }
.dlg-step .i { width: 20px; height: 20px; color: var(--muted); }
.dlg-step__text { display: flex; flex-direction: column; min-width: 0; }
.dlg-step__text small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.dlg-step__text span {
  overflow: hidden;
  font-size: 0.95rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .book-dialog__grid { grid-template-columns: 1fr; padding-top: 8px; }
  .book-dialog__cover { max-width: 190px; }
}

/* ---------- „Nach oben“ & Hinweis ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(19, 13, 36, 0.85);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease), border-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); }
.to-top .i { width: 20px; height: 20px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #1c1433;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Jaliaversum ---------- */

.jalia {
  position: relative;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(245, 199, 107, 0.1), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(19, 13, 36, 0.75) 22%, rgba(19, 13, 36, 0.75) 78%, transparent 100%);
}

.characters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: clamp(64px, 8vw, 104px);
}
.char {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s, background-color 0.4s;
}
.char:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 199, 107, 0.35);
  background: var(--surface-hover);
}
.char__initial {
  margin-bottom: 14px;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.char h3 { margin-bottom: 0.25em; }
.char__role {
  margin-bottom: 1em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.char p:last-child { margin: 0; font-size: 0.98rem; color: var(--muted); }

@media (max-width: 1000px) { .characters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .characters { grid-template-columns: 1fr; } }

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.timeline-head h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.timeline-head p { margin: 0.4rem 0 0; color: var(--muted); }

.timeline-nav { display: flex; gap: 8px; }
.timeline-nav button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.timeline-nav button:hover:not(:disabled) { border-color: var(--gold); background: rgba(245, 199, 107, 0.12); }
.timeline-nav button:disabled { opacity: 0.3; cursor: default; }
.timeline-nav .i { width: 20px; height: 20px; }

.timeline {
  display: grid;
  grid-auto-columns: minmax(270px, 300px);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 28px;
  margin: 0;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  overscroll-behavior-x: contain;
}
.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, 0.2); }

.tl-item {
  position: relative;
  padding-top: 34px;
  scroll-snap-align: start;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 199, 107, 0.65), rgba(245, 199, 107, 0.15));
}
.tl-item:last-child::before { right: 0; }
.tl-item::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 199, 107, 0.16), 0 0 18px rgba(245, 199, 107, 0.6);
}
.tl-item time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tl-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  height: calc(100% - 28px);
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.tl-card img {
  width: 74px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.8);
}
.tl-card h4 { margin: 0 0 0.35em; font-size: 1.02rem; font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.tl-card p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }

.tl-item--soon::after { background: transparent; border: 1.5px dashed var(--gold); box-shadow: none; }
.tl-item--soon .tl-card { border-style: dashed; border-color: rgba(245, 199, 107, 0.4); }
.tl-soon-art {
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 2 / 3;
  border-radius: 3px 6px 6px 3px;
  background: radial-gradient(circle at 50% 40%, rgba(245, 199, 107, 0.3), rgba(139, 92, 246, 0.15) 60%, transparent);
  color: var(--gold);
}
.tl-soon-art .i { width: 26px; height: 26px; }

.reading-tip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 820px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(245, 199, 107, 0.25);
  border-radius: var(--radius);
  background: rgba(245, 199, 107, 0.05);
}
.reading-tip .i { width: 24px; height: 24px; margin-top: 2px; color: var(--gold); }
.reading-tip p { margin: 0; color: #e7def6; }
.reading-tip strong { color: var(--gold); font-weight: 500; }

/* ---------- Über mich ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.about__photo {
  position: relative;
  isolation: isolate;
  margin: 0;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__photo::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: -1;
  border: 1px solid rgba(245, 199, 107, 0.4);
  border-radius: var(--radius-lg);
}
.about__sticker {
  position: absolute;
  left: -14px;
  top: 28px;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 14px 30px -12px rgba(245, 199, 107, 0.6);
  font-size: 1rem;
  font-weight: 600;
  color: #1c1306;
  rotate: -6deg;
}

.about__body > p { color: var(--muted); }
.about__body > p strong { color: var(--text); font-weight: 500; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.8rem 0 2.6rem;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 0.45em 1em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.skill {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.skill .i { width: 26px; height: 26px; margin-bottom: 14px; color: var(--gold); }
.skill h3 { margin-bottom: 0.3em; font-size: 1.08rem; }
.skill p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.skill__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
}
.skill__link .i { width: 1em; height: 1em; margin: 0; transition: transform 0.3s var(--ease); }
.skill__link:hover .i { transform: translateX(3px); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 400px; }
  .about__photo::before { inset: 14px -12px -14px 12px; }
  .about__sticker { left: -6px; }
}
@media (max-width: 640px) {
  .skills { grid-template-columns: 1fr; }
}

/* ---------- Rock of Books ---------- */

.rob__intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  margin-bottom: clamp(44px, 6vw, 72px);
}
.rob__intro p { color: var(--muted); font-size: 1.1rem; }
.rob__banner {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(139, 92, 246, 0.55);
}
.rob__banner img { width: 100%; }

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

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.platform {
  --brand: var(--violet-light);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
}
.platform:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: var(--surface-hover);
}
.platform__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand);
}
.platform__icon .i { width: 22px; height: 22px; }
.platform h3 { margin: 0; font-size: 1.12rem; }
.platform p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.platform__handle { margin-top: auto; padding-top: 6px; font-size: 0.82rem; color: var(--faint); }
.platform__arrow {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  opacity: 0.45;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.platform:hover .platform__arrow { opacity: 1; transform: translate(3px, -3px); }

.platform--feature {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: clamp(28px, 3.5vw, 40px);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 66, 77, 0.2), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--surface);
}
.platform--feature .platform__icon { width: 58px; height: 58px; border-radius: 18px; }
.platform--feature .platform__icon .i { width: 28px; height: 28px; }
.platform--feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.platform--feature p { max-width: 30em; font-size: 1rem; }
.platform--feature .platform__handle { margin-top: 10px; }
.platform--wide { grid-column: span 2; }

@media (max-width: 1000px) {
  .platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .platforms { grid-template-columns: 1fr; }
  .platform--feature,
  .platform--wide { grid-column: auto; grid-row: auto; }
}

/* ---------- Kontakt ---------- */

.contact__card {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(244, 114, 182, 0.18), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(139, 92, 246, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.02);
}
.contact__card .eyebrow { justify-content: center; }
.contact__card h2 {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
}
.contact__card > p {
  max-width: 36em;
  margin: 0 auto 2.2rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--muted);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 0;
  list-style: none;
}
.footer__nav a { text-decoration: none; transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.socials a:hover { border-color: var(--violet-light); background: rgba(139, 92, 246, 0.14); color: var(--text); }
.socials .i { width: 18px; height: 18px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--faint);
}
.footer__bottom a { color: var(--muted); text-underline-offset: 3px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }

/* ---------- Rechtliches (Impressum & Datenschutz) ---------- */

.site-header--static {
  position: sticky;
  border-color: var(--border);
  background: rgba(11, 8, 22, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
}
.nav__back { padding: 0.7em 1.25em; font-size: 0.92rem; }
.nav__back .i { transform: rotate(180deg); }
.nav__back:hover .i { transform: rotate(180deg) translateX(3px); }

.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal__inner { max-width: 760px; }
.legal h1 {
  margin-bottom: 0.4em;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.legal__block + .legal__block {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--border);
}
.legal h2 { margin-top: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h3 {
  margin: 2.2em 0 0.6em;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}
.legal p,
.legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.25em; }
.legal a { color: var(--violet-light); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal address {
  margin: 1.2rem 0 1.6rem;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.7;
}
.legal address strong { font-weight: 600; }
.legal__meta { margin-top: 2.4rem; font-size: 0.88rem; color: var(--faint) !important; }

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  align-items: center;
  min-height: calc(100dvh - 200px);
  padding-block: 80px;
}
.not-found .not-found__code {
  max-width: none;
  margin: 0 0 0.1em;
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.not-found h1 { max-width: 16ch; font-size: clamp(2rem, 5vw, 3.4rem); }
.not-found p { max-width: 34em; font-size: 1.12rem; color: var(--muted); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Scroll-Animationen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
