/* ==========================================================================
   The Drowned Library — Marken-Layer
   --------------------------------------------------------------------------
   Wird NUR für brandId "drownedlibrary" geladen (conditional in base.njk).
   Alle Regeln hängen an .brand-drownedlibrary, damit ein versehentliches
   Ausliefern an eine andere Marke folgenlos bliebe.

   Gestaltungsthese: Die Seite ist kein Podcast-Schaufenster, sondern ein
   Archiv unter Wasser. Tiefe statt Flächen, Licht statt Rahmen, Akten-
   Anmutung statt Marketing-Kacheln. Signature-Element ist die Seekarte.

   Typo:  Bodoni Moda (Display, nur groß) · Spectral (Lesetext)
          IBM Plex Mono (Signaturen, Jahre, Koordinaten)
   Motion: sparsam, langsam, respektiert prefers-reduced-motion.
   ========================================================================== */

/* ─── Schriften (lokal, DSGVO-konform, OFL) ───────────────────────────── */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/assets/fonts/BodoniModa-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/assets/fonts/BodoniModa-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/assets/fonts/Spectral-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/assets/fonts/Spectral-400italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('/assets/fonts/Spectral-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ─── Marken-Tokens (verschärfen die Basis-Tokens) ────────────────────── */
.brand-drownedlibrary {
  --dl-abyss:      #050D10;   /* tiefer als bg-deep — für Vignette und Ränder */
  --dl-tide:       #0B1A1E;
  --dl-petrol:     #14434A;
  --dl-seafoam:    #3FA7A3;
  --dl-brass:      #C9A227;
  --dl-brass-soft: #E4C97A;
  --dl-ivory:      #EDE6D6;
  --dl-parchment:  #B8A88C;   /* Kartenlinien, Marginalien */

  --dl-display: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --dl-body:    'Spectral', Georgia, serif;
  --dl-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --dl-measure: 68ch;
  --dl-rule: 1px solid rgba(201, 162, 39, 0.22);

  background-color: var(--dl-abyss);
  font-family: var(--dl-body);
}

.brand-drownedlibrary h1,
.brand-drownedlibrary h2,
.brand-drownedlibrary h3,
.brand-drownedlibrary h4 {
  font-family: var(--dl-display);
  font-weight: 400;               /* Didone trägt Größe, nicht Fettung */
  letter-spacing: -0.01em;
}
.brand-drownedlibrary h1 { line-height: 1.02; }
.brand-drownedlibrary h2 { line-height: 1.12; }

/* Kleine Displaygrößen bekommen mehr Strichstärke, sonst flimmern die
   Haarlinien auf dunklem Grund. */
.brand-drownedlibrary h3,
.brand-drownedlibrary h4 { font-weight: 700; letter-spacing: 0; }

/* ─── Signaturen / Metazeilen (Mono, gesperrt) ─────────────────────────── */
.brand-drownedlibrary .hero-eyebrow,
.brand-drownedlibrary .card-meta,
.brand-drownedlibrary .card-cta,
.brand-drownedlibrary .breadcrumb,
.brand-drownedlibrary .dl-signature {
  font-family: var(--dl-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

/* ─── Atmosphäre: Tiefenschleier über der ganzen Seite ─────────────────── */
.brand-drownedlibrary body,
body.brand-drownedlibrary {
  background-color: var(--dl-abyss);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(20, 67, 74, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 26, 30, 0.9) 0%, var(--dl-abyss) 100%);
  background-attachment: fixed;
}
html:has(body.brand-drownedlibrary) { background-color: #050D10; }

/* Feines Korn — hält die großen dunklen Flächen davon ab, digital-flach zu
   wirken. Inline-SVG als data-URI, kein externer Request. */
body.brand-drownedlibrary::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* ─── Header: schwebt statt zu kasteln ─────────────────────────────────── */
body.brand-drownedlibrary .site-header {
  background: linear-gradient(180deg, rgba(5, 13, 16, 0.92) 0%, rgba(5, 13, 16, 0) 100%);
  border-bottom: 0;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 3;
}
body.brand-drownedlibrary .logo-text {
  font-family: var(--dl-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}
body.brand-drownedlibrary .nav-link {
  font-family: var(--dl-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
body.brand-drownedlibrary .nav-link:hover { background: transparent; color: var(--dl-brass-soft); }

/* ─── Hero: Bild, Lichtschacht, Vignette ──────────────────────────────── */
body.brand-drownedlibrary .hero {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  position: relative;
}
body.brand-drownedlibrary .hero-overlay {
  background:
    radial-gradient(85% 70% at 30% 38%, rgba(5, 13, 16, 0.05) 0%, rgba(5, 13, 16, 0.62) 72%),
    linear-gradient(90deg, rgba(5, 13, 16, 0.86) 0%, rgba(5, 13, 16, 0.3) 52%, rgba(5, 13, 16, 0.72) 100%);
}
/* Vignette + Wasserlinie am unteren Rand */
body.brand-drownedlibrary .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -150px 110px -70px var(--dl-abyss),
              inset 0 0 180px 20px rgba(5, 13, 16, 0.45);
}
body.brand-drownedlibrary .hero-eyebrow { color: var(--dl-brass); }
body.brand-drownedlibrary .hero-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-shadow: 0 2px 40px rgba(5, 13, 16, 0.95);
}
body.brand-drownedlibrary .hero-subline {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--dl-ivory);
  opacity: 0.82;
  max-width: 46ch;
}

/* ─── Buttons: Messingkante statt Vollfläche ──────────────────────────── */
body.brand-drownedlibrary .btn {
  font-family: var(--dl-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  border-radius: 0;
}
body.brand-drownedlibrary .btn--primary {
  background: transparent;
  color: var(--dl-brass-soft);
  border: 1px solid var(--dl-brass);
  box-shadow: inset 0 0 0 0 rgba(201, 162, 39, 0.16);
  transition: box-shadow .35s ease, color .35s ease;
}
body.brand-drownedlibrary .btn--primary:hover {
  color: var(--dl-abyss);
  background: var(--dl-brass);
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.28);
}

/* ─── Sektionstrenner: Linie mit Raute (Seekarten-Zeichen) ────────────── */
body.brand-drownedlibrary .section-headline::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 240px;
  height: 1px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55), transparent);
}

/* ─── Karten = Aktenblätter ───────────────────────────────────────────── */
body.brand-drownedlibrary .card {
  background: linear-gradient(180deg, rgba(19, 52, 59, 0.55) 0%, rgba(11, 26, 30, 0.9) 100%);
  border: 1px solid rgba(201, 162, 39, 0.14);
  border-radius: 0;
  box-shadow: none;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
body.brand-drownedlibrary .card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--dl-brass), transparent 70%);
  opacity: 0.6;
}
body.brand-drownedlibrary .card { position: relative; }
body.brand-drownedlibrary .card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}
body.brand-drownedlibrary .card-title { font-family: var(--dl-display); font-size: 1.3rem; font-weight: 400; }
body.brand-drownedlibrary .card-excerpt { font-size: 0.92rem; line-height: 1.65; }
body.brand-drownedlibrary .card-episode-badge {
  font-family: var(--dl-mono);
  background: rgba(5, 13, 16, 0.8);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--dl-brass-soft);
  border-radius: 0;
}

/* ─── Lesetext: Buchsatz statt Blogpost ───────────────────────────────── */
body.brand-drownedlibrary .prose {
  max-width: var(--dl-measure);
  font-size: 1.09rem;
  line-height: 1.78;
  color: rgba(237, 230, 214, 0.92);
}
body.brand-drownedlibrary .prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--dl-display);
  font-size: 4.2em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--dl-brass);
}
/* Das kursive Motto am Textanfang ist keine Fließtextzeile — kein Initial. */
body.brand-drownedlibrary .prose > p:first-child > em:only-child {
  font-size: 1.05rem;
  color: var(--dl-parchment);
}
body.brand-drownedlibrary .prose h2 {
  margin-top: 3.2rem;
  padding-top: 1.4rem;
  border-top: var(--dl-rule);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
body.brand-drownedlibrary .prose h3 {
  margin-top: 2.2rem;
  font-family: var(--dl-body);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--dl-brass-soft);
}
body.brand-drownedlibrary .prose blockquote {
  border-left: 1px solid var(--dl-brass);
  background: transparent;
  font-style: italic;
  color: var(--dl-parchment);
}

/* ─── Aktenstempel am Kopf jeder Fallseite ────────────────────────────── */
body.brand-drownedlibrary .akte-stempel {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.6rem;
  padding: 0.55rem 1.1rem 0.6rem;
  border: 2px solid rgba(140, 47, 30, 0.7);
  border-radius: 2px;
  transform: rotate(-1.6deg);
  background: rgba(140, 47, 30, 0.05);
}
body.brand-drownedlibrary .akte-stempel-wort {
  font-family: var(--dl-mono);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C24A32;
}
body.brand-drownedlibrary .akte-stempel-notiz {
  font-family: var(--dl-body);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--dl-parchment);
  opacity: 0.85;
}
/* Teilgeklärt trägt Messing statt Siegelrot — der Unterschied soll auf einen
   Blick lesbar sein, ohne dass man die Wörter vergleichen muss. */
body.brand-drownedlibrary .akte-stempel[data-status^="teilgeklärt"],
body.brand-drownedlibrary .akte-stempel[data-status^="partly"] {
  border-color: rgba(201, 162, 39, 0.7);
  background: rgba(201, 162, 39, 0.05);
  transform: rotate(1.2deg);
}
body.brand-drownedlibrary .akte-stempel[data-status^="teilgeklärt"] .akte-stempel-wort,
body.brand-drownedlibrary .akte-stempel[data-status^="partly"] .akte-stempel-wort {
  color: var(--dl-brass-soft);
}

/* ─── Hinweis auf die filmische Fassung ───────────────────────────────── */
body.brand-drownedlibrary .film-hinweis {
  max-width: var(--dl-measure);
  margin: clamp(2rem, 5vw, 3rem) auto;
  padding: 1.4rem 1.6rem 1.6rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-left: 2px solid var(--dl-brass);
  background: linear-gradient(180deg, rgba(19, 52, 59, 0.4) 0%, rgba(11, 26, 30, 0.75) 100%);
}
body.brand-drownedlibrary .film-hinweis-label {
  font-family: var(--dl-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dl-brass);
  margin-bottom: 0.5rem;
}
body.brand-drownedlibrary .film-hinweis-text {
  color: var(--dl-parchment);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
body.brand-drownedlibrary .site-footer {
  border-top: var(--dl-rule);
  background: transparent;
}

/* ══════════════════════════════════════════════════════════════════════
   Kamerafahrt hinunter in die Bibliothek
   Der Weg nach unten ist kurz: die Sektion ist nur 165vh hoch, die Fahrt
   also nach gut einer halben Bildschirmhöhe Scrollen vorbei.
   ══════════════════════════════════════════════════════════════════════ */
body.brand-drownedlibrary .dive {
  position: relative;
  height: 165vh;
  margin-bottom: clamp(1rem, 4vw, 3rem);
}
body.brand-drownedlibrary .dive-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #050D10;
}
body.brand-drownedlibrary .dive-poster,
body.brand-drownedlibrary .dive-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Solange die Sequenz nicht läuft, trägt das Standbild die Sektion. */
body.brand-drownedlibrary .dive-canvas { opacity: 0; transition: opacity .5s ease; }
body.brand-drownedlibrary .dive.is-ready .dive-canvas { opacity: 1; }
body.brand-drownedlibrary .dive.is-static .dive-canvas { display: none; }

/* Abdunkeln nach unten hin — der Text muss über der Fahrt lesbar bleiben. */
body.brand-drownedlibrary .dive-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 65% at 50% 45%, rgba(5, 13, 16, 0) 0%, rgba(5, 13, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 13, 16, 0.55) 0%, rgba(5, 13, 16, 0.02) 26%, rgba(5, 13, 16, 0.05) 62%, rgba(5, 13, 16, 0.82) 100%);
}

body.brand-drownedlibrary .dive-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 60ch);
  text-align: center;
  z-index: 2;
  /* Die Schrift weicht der Fahrt: je tiefer man kommt, desto schwächer. */
  opacity: calc(1 - var(--dive-p, 0) * 1.35);
}
body.brand-drownedlibrary .dive-caption .atlas-title { margin-bottom: 1rem; }
body.brand-drownedlibrary .dive-caption .atlas-lead { color: var(--dl-ivory); opacity: 0.86; }
body.brand-drownedlibrary .dive-hint {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--dl-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dl-brass-soft);
  text-shadow: 0 2px 12px rgba(5, 13, 16, 0.95);
  animation: dl-sink 2.8s ease-in-out infinite;
}
body.brand-drownedlibrary .dive-hint::after { content: " ↓"; }
@keyframes dl-sink {
  0%, 100% { transform: translate(-50%, 0);   opacity: 0.8; }
  50%      { transform: translate(-50%, 6px); opacity: 0.4; }
}
@media (max-width: 760px) {
  body.brand-drownedlibrary .dive { height: 108vh; }
}

/* ══════════════════════════════════════════════════════════════════════
   Signature: die Papierkarte
   Ein altes Blatt, das im Kerzenlicht auf dem Tisch liegt — dieselbe Welt
   wie der Kanal-Ident. Warmes Papier auf kaltem Wasser ist der Kontrast,
   der die Marke tragt.
   ══════════════════════════════════════════════════════════════════════ */
body.brand-drownedlibrary .atlas-section { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 6rem); }

body.brand-drownedlibrary .atlas-head {
  max-width: 60ch;
  margin: 0 auto clamp(2.4rem, 6vw, 4rem);
  text-align: center;
}
body.brand-drownedlibrary .atlas-title { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 1rem; }
body.brand-drownedlibrary .atlas-lead {
  color: var(--dl-parchment);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 auto;
}

body.brand-drownedlibrary .atlas-figure {
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Das Blatt liegt leicht schief auf dem Tisch und wirft Schatten. */
body.brand-drownedlibrary .atlas-sheet {
  transform: rotate(-0.5deg);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.72));
}
body.brand-drownedlibrary .atlas-map { display: block; width: 100%; height: auto; }

/* ── Gestochene Rahmenlinien ───────────────────────────────────────── */
body.brand-drownedlibrary .atlas-frame-outer,
body.brand-drownedlibrary .atlas-frame-inner {
  fill: none;
  stroke: #6B4F2A;
}
body.brand-drownedlibrary .atlas-frame-outer { stroke-width: 0.9; opacity: 0.55; }
body.brand-drownedlibrary .atlas-frame-inner { stroke-width: 0.35; opacity: 0.4; }

/* ── Tinte: Gradnetz und Loxodromen ────────────────────────────────── */
body.brand-drownedlibrary .atlas-graticule {
  fill: none;
  stroke: #6B4F2A;
  stroke-width: 0.3;
  opacity: 0.3;
  stroke-dasharray: 1.6 2.4;
}
body.brand-drownedlibrary .atlas-rhumb path {
  fill: none;
  stroke: #8A6A3C;
  stroke-width: 0.28;
  opacity: 0.42;
}

/* ── Land: blasse Kolorierung, Küste als Federstrich ───────────────── */
body.brand-drownedlibrary .atlas-land-wash {
  fill: #B9A472;
  opacity: 0.9;
}
body.brand-drownedlibrary .atlas-land {
  fill: none;
  stroke: #4A3218;
  stroke-width: 0.7;
  stroke-linejoin: round;
  opacity: 1;
}

/* ── Kompassrose ───────────────────────────────────────────────────── */
body.brand-drownedlibrary .atlas-rose-ring {
  fill: none;
  stroke: #6B4F2A;
  stroke-width: 0.3;
  opacity: 0.5;
}
body.brand-drownedlibrary .atlas-rose-minor { fill: #8A6A3C; opacity: 0.35; }
body.brand-drownedlibrary .atlas-rose-major { fill: #5C4223; opacity: 0.55; }
body.brand-drownedlibrary .atlas-rose-north { fill: #8C2F1E; opacity: 0.8; }
body.brand-drownedlibrary .atlas-rose-hub   { fill: #5C4223; }
body.brand-drownedlibrary .atlas-rose-n {
  font-family: var(--dl-display);
  font-size: 5px;
  fill: #5C4223;
  text-anchor: middle;
  opacity: 0.7;
}

/* ── Schauplätze: Tintenkreuz mit Siegelpunkt ──────────────────────── */
body.brand-drownedlibrary .atlas-pin { transition: opacity .35s ease; }
body.brand-drownedlibrary .atlas-pins:hover .atlas-pin { opacity: 0.42; }
body.brand-drownedlibrary .atlas-pins:hover .atlas-pin:hover,
body.brand-drownedlibrary .atlas-pin:focus-within { opacity: 1; }

body.brand-drownedlibrary .atlas-leader {
  stroke: #6B4F2A;
  stroke-width: 0.3;
  opacity: 0.55;
}
body.brand-drownedlibrary .atlas-cross {
  stroke: #8C2F1E;
  stroke-width: 0.5;
  opacity: 0.85;
}
body.brand-drownedlibrary .atlas-seal {
  fill: #8C2F1E;
  transition: r .25s ease;
}
body.brand-drownedlibrary .atlas-seal-glow {
  fill: #E8A33C;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .4s ease;
}
body.brand-drownedlibrary .atlas-pin:hover .atlas-seal-glow,
body.brand-drownedlibrary .atlas-pin:focus-within .atlas-seal-glow {
  opacity: 0.32;
  animation: dl-lantern 3.2s ease-in-out infinite;
}
body.brand-drownedlibrary .atlas-pin:hover .atlas-seal,
body.brand-drownedlibrary .atlas-pin:focus-within .atlas-seal { r: 2.6; }
body.brand-drownedlibrary .atlas-hit { fill: transparent; cursor: pointer; }

/* Kartenschrift: Kursiv wie von Hand eingetragen, nicht Interface-Mono. */
body.brand-drownedlibrary .atlas-label {
  font-family: var(--dl-body);
  font-style: italic;
  font-size: 8.4px;
  letter-spacing: 0.02em;
  fill: #33220E;
  paint-order: stroke;
  stroke: rgba(240, 230, 202, 0.9);
  stroke-width: 2px;
}
body.brand-drownedlibrary .atlas-year {
  font-family: var(--dl-body);
  font-size: 5.6px;
  letter-spacing: 0.08em;
  fill: #6A4B23;
  paint-order: stroke;
  stroke: rgba(240, 230, 202, 0.85);
  stroke-width: 1.6px;
}
body.brand-drownedlibrary .atlas-pin a { outline: none; }
body.brand-drownedlibrary .atlas-pin a:focus-visible .atlas-label { fill: #8C2F1E; }
body.brand-drownedlibrary .atlas-pin a:focus-visible .atlas-cross { stroke-width: 0.9; }

@keyframes dl-lantern {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 0.14; }
}

/* ── Übersichtskarte: kleines Blatt neben dem großen ───────────────── */
body.brand-drownedlibrary .atlas-locator {
  position: absolute;
  right: clamp(1.6rem, 5vw, 3.6rem);
  bottom: 3.4rem;
  width: clamp(104px, 12vw, 152px);
  padding: 0.45rem 0.55rem 0.35rem;
  background: rgba(232, 214, 176, 0.9);
  border: 1px solid rgba(92, 66, 35, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
  transform: rotate(1.2deg);
}
body.brand-drownedlibrary .atlas-locator svg { display: block; width: 100%; height: auto; }
body.brand-drownedlibrary .atlas-locator-land { fill: #8A7143; opacity: 0.95; }
body.brand-drownedlibrary .atlas-locator-frame {
  fill: rgba(140, 47, 30, 0.1);
  stroke: #8C2F1E;
  stroke-width: 9;
}
body.brand-drownedlibrary .atlas-locator-label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--dl-body);
  font-style: italic;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: #4A3520;
  text-align: center;
}

body.brand-drownedlibrary .atlas-legend {
  max-width: 58ch;
  margin: 1.8rem auto 0;
  text-align: center;
  color: rgba(184, 168, 140, 0.72);
  font-family: var(--dl-body);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.7;
}

body.brand-drownedlibrary .atlas-cards { margin-top: clamp(3rem, 7vw, 5rem); }

/* Kartenausschnitt als Kartenbild — jeder Fall zeigt seinen Schauplatz */
body.brand-drownedlibrary .card-chart {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
body.brand-drownedlibrary .card-chart-paper { fill: #DFCFA8; }
body.brand-drownedlibrary .card-chart-wash  { fill: #B9A472; opacity: 0.9; }
body.brand-drownedlibrary .card-chart-ink   { fill: none; stroke: #4A3218; stroke-width: 0.55; }
body.brand-drownedlibrary .card-chart-mark path { stroke: #8C2F1E; stroke-width: 0.7; }
body.brand-drownedlibrary .card-chart-mark circle { fill: #8C2F1E; }
body.brand-drownedlibrary .card:hover .card-chart { filter: saturate(1.05) brightness(1.04); }

@media (max-width: 760px) {
  body.brand-drownedlibrary .atlas-locator { display: none; }
  body.brand-drownedlibrary .atlas-sheet { transform: none; }
  body.brand-drownedlibrary .atlas-label { font-size: 10px; }
  body.brand-drownedlibrary .atlas-year { font-size: 7px; }
}

/* ─── Bewegung nur, wenn erwünscht ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.brand-drownedlibrary *,
  body.brand-drownedlibrary *::before,
  body.brand-drownedlibrary *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
