/* Insolito Fallarchiv
   Gestaltungsidee: ein Archiv bei Nacht. Tiefes Nachtblau als Grund, Text in Nebelgrau,
   Natriumlicht (das Amber alter Straßenlaternen) als einzige Akzentfarbe. Fotos laufen
   durch einen Nacht-Duoton, damit Bilder aus ganz unterschiedlichen Quellen wie eine
   Serie wirken und nichts reißerisch aussieht. Status wird als Aktenzeichen gezeigt:
   offener Ring = ungelöst, gefüllter Punkt = gelöst, halber Punkt = teilweise geklärt.
   Bewusst nur ein dunkles Erscheinungsbild. */

@font-face { font-family: "Big Shoulders Display"; src: url("schriften/big-shoulders-display.woff") format("woff"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("schriften/newsreader.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("schriften/schibsted-grotesk.woff") format("woff"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: dark;
  --nacht: #131a21;
  --nacht-hoch: #1a232c;
  --nacht-tief: #0e1419;
  --linie: #2b3743;
  --nebel: #dfe4e9;
  --nebel-mild: #a4b0bb;
  --nebel-leise: #7d8a96;
  --natrium: #f0a23b;
  --natrium-hell: #f6c27a;
  --natrium-glut: rgba(240, 162, 59, .16);
  --duo-schatten: #0f151b;
  --duo-licht: #efcf98;

  --titel: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --text: "Newsreader", Charter, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ui: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --spalte: 41rem;
  --breit: 77.5rem;
  --rand: max(16px, env(safe-area-inset-left, 0px));
  --rand-r: max(16px, env(safe-area-inset-right, 0px));
  --kopf-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 1.5rem); }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--nebel);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--nacht-tief); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--natrium); outline-offset: 3px; border-radius: 2px; }
.nur-vorleser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: var(--rand); top: -4rem; z-index: 40; background: var(--natrium); color: var(--nacht-tief); padding: .6rem 1rem; font-weight: 700; text-decoration: none; }
.sprung:focus { top: calc(env(safe-area-inset-top, 0px) + .5rem); }

.innen { width: 100%; max-width: calc(var(--breit) + var(--rand) + var(--rand-r)); margin-inline: auto; padding-left: var(--rand); padding-right: var(--rand-r); }

/* ---------------------------------------------------------------- Kopf */
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--nacht-tief) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .innen { display: flex; align-items: center; gap: 1rem; min-height: var(--kopf-h); padding-block: .5rem; }
.marke { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; margin-right: auto; }
.marke-name { font-family: var(--titel); font-weight: 800; font-size: 1.85rem; line-height: 1; letter-spacing: .01em; }
.marke-zusatz { font-size: .875rem; color: var(--nebel-mild); }
.kopf-link { font-size: .9375rem; color: var(--nebel-mild); text-decoration: none; padding: .5rem .25rem; }
.kopf-link:hover { color: var(--nebel); }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.75rem; padding: .55rem 1.1rem;
  border: 1px solid var(--natrium); border-radius: 2px;
  background: var(--natrium); color: var(--nacht-tief);
  font-family: var(--ui); font-weight: 700; font-size: .9375rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.knopf:hover { background: var(--natrium-hell); border-color: var(--natrium-hell); }
.knopf.leise { background: transparent; color: var(--nebel); border-color: var(--linie); }
.knopf.leise:hover { border-color: var(--nebel-mild); background: var(--nacht-hoch); }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
.knopf svg { width: 1.1rem; height: 1.1rem; flex: none; }

/* ---------------------------------------------------------------- Bilder: Nacht-Duoton */
.duo { position: relative; overflow: hidden; background: var(--duo-licht); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.98); mix-blend-mode: multiply; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--duo-schatten); mix-blend-mode: lighten; pointer-events: none; }
.duo.ist-karte { background: var(--nacht-tief); }
.duo.ist-karte img { filter: none; mix-blend-mode: normal; object-fit: cover; }
.duo.ist-karte::after { display: none; }
.kartenpunkt { position: absolute; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; border-radius: 50%; background: var(--natrium-hell); box-shadow: 0 0 0 .35rem rgba(240,162,59,.28), 0 0 1.6rem .4rem rgba(240,162,59,.35); }

/* ---------------------------------------------------------------- Aktenzeichen: Status */
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 600; color: var(--nebel); }
.status i { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.status.ungeloest i { border: 2px solid var(--natrium); }
.status.geloest i { background: var(--nebel-mild); border: 2px solid var(--nebel-mild); }
.status.teilweise i { border: 2px solid var(--natrium); background: linear-gradient(90deg, var(--natrium) 50%, transparent 50%); }

/* ---------------------------------------------------------------- Übersicht: gezogener Fall */
.gezogen { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); overflow: clip; }
.gezogen::before, .gezogen::after {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: 0;
}
.gezogen::before { background: radial-gradient(60% 55% at 28% 0%, rgba(240,162,59,.20), transparent 70%); }
.gezogen::after { background: radial-gradient(45% 45% at 28% 0%, rgba(214,92,66,.26), transparent 70%); opacity: 0; }
/* Natriumdampflampen glimmen beim Einschalten erst rötlich und flackern, bevor sie ihr Amber erreichen */
.gezogen.flackert::before { animation: natrium-an 1.7s steps(1, end) both; }
.gezogen.flackert::after { animation: natrium-rot 1.9s ease-out both; }
@keyframes natrium-an { 0% { opacity: 0 } 9% { opacity: .5 } 13% { opacity: .08 } 21% { opacity: .65 } 25% { opacity: .2 } 36% { opacity: .85 } 44% { opacity: .7 } 100% { opacity: 1 } }
@keyframes natrium-rot { 0% { opacity: 0 } 12% { opacity: 1 } 40% { opacity: .7 } 100% { opacity: 0 } }
.gezogen .innen { position: relative; z-index: 1; }
.gezogen-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.gezogen-hinweis { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--nebel-mild); }
.gezogen-hinweis strong { color: var(--natrium-hell); font-weight: 600; }
.gezogen-bild { aspect-ratio: 4 / 3; max-width: 100%; }
.gezogen-bild a { display: block; height: 100%; }
.ortsmarke { margin: 0 0 .6rem; font-size: .9375rem; color: var(--nebel-mild); font-variant-numeric: lining-nums proportional-nums; }
.gezogen-titel { margin: 0; font-family: var(--titel); font-weight: 800; font-size: clamp(3rem, 1.6rem + 5.6vw, 6.6rem); line-height: .9; letter-spacing: -.005em; text-wrap: balance; hyphens: auto; overflow-wrap: anywhere; }
.gezogen-titel a { text-decoration: none; }
.gezogen-titel a:hover { color: var(--natrium-hell); }
.gezogen-unter { margin: 1rem 0 0; font-family: var(--text); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.4; color: var(--nebel); max-width: 34rem; }
.gezogen-marken { margin-top: 1.25rem; }
.gezogen-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.gezogen-stand { margin: 2.25rem 0 0; font-size: .9375rem; color: var(--nebel-mild); }
.gezogen-wechsel { transition: opacity .35s ease, transform .35s ease; }
.gezogen-wechsel.weg { opacity: 0; transform: translateY(.4rem); }

/* ---------------------------------------------------------------- Marken (Kategorien) */
.marken { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--nebel-mild); }
.marken li { display: inline-flex; align-items: center; }
.marken a, .marken button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.marken a:hover, .marken button:hover { color: var(--nebel); text-decoration: underline; text-decoration-color: var(--natrium); text-underline-offset: .2em; }

/* ---------------------------------------------------------------- Filter */
.archiv { border-top: 1px solid var(--linie); padding-block: 2.5rem 4rem; }
.archiv-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.archiv-titel { margin: 0; font-family: var(--titel); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: .95; }
.suche { position: relative; flex: 1 1 18rem; max-width: 26rem; }
.suche label { display: block; font-size: .875rem; color: var(--nebel-mild); margin-bottom: .35rem; }
.suche input {
  width: 100%; min-height: 3rem; padding: .7rem 1rem .7rem 2.75rem;
  background: var(--nacht-tief); border: 1px solid var(--linie); border-radius: 2px;
  font-size: 1rem; color: var(--nebel);
}
.suche input::placeholder { color: var(--nebel-leise); }
.suche input:focus { border-color: var(--natrium); outline: none; box-shadow: 0 0 0 3px var(--natrium-glut); }
.suche svg { position: absolute; left: .9rem; bottom: .95rem; width: 1.1rem; height: 1.1rem; color: var(--nebel-leise); pointer-events: none; }

.filter { display: grid; gap: 1.1rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.filter-zeile { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem 1rem; align-items: start; }
.filter-name { font-size: .875rem; font-weight: 600; color: var(--nebel-mild); padding-top: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: baseline; gap: .4rem;
  min-height: 2.25rem; padding: .4rem .8rem; border: 1px solid var(--linie); border-radius: 2px;
  font-size: .9rem; color: var(--nebel); background: transparent; white-space: nowrap;
  transition: border-color .15s, background-color .15s;
}
.chip small { font-size: .78rem; color: var(--nebel-leise); font-variant-numeric: tabular-nums; }
.chip:hover span { border-color: var(--nebel-mild); }
.chip input:checked + span { background: var(--nebel); color: var(--nacht-tief); border-color: var(--nebel); }
.chip input:checked + span small { color: var(--nacht-hoch); }
.chip input:focus-visible + span { outline: 2px solid var(--natrium); outline-offset: 2px; }
.chip input:disabled + span { opacity: .38; }
.chip.null span { border-style: dashed; }
.auswahl {
  appearance: none; min-height: 2.5rem; min-width: 14rem; max-width: 100%; padding: .45rem 2.4rem .45rem .8rem;
  background: var(--nacht-tief) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23a4b0bb' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right .7rem center / 1rem;
  border: 1px solid var(--linie); border-radius: 2px; font-size: .95rem;
}
.auswahl:focus { border-color: var(--natrium); outline: none; box-shadow: 0 0 0 3px var(--natrium-glut); }
.treffer-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.1rem 0 2rem; }
.treffer { margin: 0; font-size: 1rem; color: var(--nebel); }
.treffer strong { font-weight: 700; }
.treffer-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; }
.zuruecksetzen { background: none; border: 0; padding: .5rem .25rem; color: var(--nebel-mild); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: .9375rem; }
.zuruecksetzen:hover { color: var(--nebel); }

/* ---------------------------------------------------------------- Fallkarten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: 2.5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.fallkarte { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fallkarte .duo { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
.fallkarte .duo img { transition: filter .3s ease; }
.fallkarte:hover .duo img { filter: grayscale(1) contrast(1.08) brightness(1.12); }
.fallkarte .ortsmarke { font-size: .875rem; margin-bottom: .35rem; }
.fallkarte h3 { margin: 0; font-family: var(--titel); font-weight: 700; font-size: 1.85rem; line-height: .98; letter-spacing: .002em; text-wrap: balance; hyphens: auto; overflow-wrap: anywhere; }
.fallkarte h3 a { text-decoration: none; }
.fallkarte h3 a::after { content: ""; position: absolute; inset: 0; }
.fallkarte:hover h3 a, .fallkarte h3 a:focus-visible { color: var(--natrium-hell); }
.fallkarte h3 a:focus-visible { outline: none; }
.fallkarte:has(h3 a:focus-visible) { outline: 2px solid var(--natrium); outline-offset: 6px; }
.fallkarte p.teaser { margin: .6rem 0 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.45; color: var(--nebel-mild); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fallkarte .fuss { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: .85rem; font-size: .8125rem; color: var(--nebel-leise); }
.fallkarte .fuss .status { font-size: .8125rem; }
.serie-hinweis { color: var(--natrium-hell); }

.nachladen { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 3rem; text-align: center; }
.nachladen p { margin: 0; color: var(--nebel-mild); }
.ende { max-width: 34rem; margin: 0 auto; padding: 2.5rem 1rem 0; text-align: center; }
.ende p { margin: 0 0 1.25rem; font-family: var(--text); font-size: 1.25rem; line-height: 1.45; color: var(--nebel); }
.leer { padding: 3rem 0; max-width: 36rem; }
.leer h3 { margin: 0 0 .5rem; font-family: var(--titel); font-size: 2rem; font-weight: 700; }
.leer p { margin: 0 0 1.25rem; color: var(--nebel-mild); font-family: var(--text); font-size: 1.125rem; }

/* ---------------------------------------------------------------- Fallseite */
.fall { padding-bottom: 4rem; }
.fall-oben { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.75rem) 3rem; }
.fall-kopf { padding: 0; }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.75rem; font-size: .9375rem; color: var(--nebel-mild); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.zurueck:hover { color: var(--nebel); }
.fall-titel { margin: 0; max-width: 14ch; font-family: var(--titel); font-weight: 800; font-size: clamp(3.1rem, 1.5rem + 6.4vw, 7.4rem); line-height: .9; letter-spacing: -.008em; text-wrap: balance; hyphens: auto; overflow-wrap: anywhere; }
.fall-unter { margin: 1.1rem 0 0; max-width: 38rem; font-family: var(--text); font-size: clamp(1.2rem, 1.08rem + .5vw, 1.5rem); line-height: 1.38; }
.fall-kopf .marken { margin-top: 1.4rem; }
.fall-werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 1.2rem; font-size: .875rem; color: var(--nebel-leise); }
.teilen { background: none; border: 0; padding: .35rem 0; color: var(--nebel-mild); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; font-size: .875rem; }
.teilen:hover { color: var(--nebel); }

.vorspann { margin-top: 2.25rem; max-width: var(--spalte); }
.vorspann h2 { margin: 0 0 .6rem; font-family: var(--ui); font-size: .9375rem; font-weight: 600; color: var(--natrium-hell); }
.vorspann p { margin: 0; font-family: var(--text); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.375rem); line-height: 1.52; font-weight: 450; }

.titelbild { margin: 0; position: sticky; top: calc(var(--kopf-h) + env(safe-area-inset-top, 0px) + 1.5rem); }
.titelbild .duo { aspect-ratio: 4 / 5; width: 100%; max-height: 42rem; }
.titelbild.quer .duo { aspect-ratio: 4 / 3; }
.titelbild.ist-karte .duo { aspect-ratio: 4 / 3; }
.titelbild figcaption { margin-top: .7rem; max-width: var(--spalte); font-size: .8125rem; line-height: 1.5; color: var(--nebel-leise); }
.titelbild figcaption a { color: var(--nebel-mild); }

.fall-raster { display: grid; grid-template-columns: minmax(0, var(--spalte)) minmax(0, 18.5rem); gap: 3rem clamp(2.5rem, 6vw, 6rem); align-items: start; }

.skript { font-family: var(--text); font-size: 1.1875rem; line-height: 1.68; font-variant-numeric: oldstyle-nums proportional-nums; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.skript > p { margin: 0 0 1.15em; }
.skript > h2 { margin: 2.4em 0 .7em; font-family: var(--titel); font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: .005em; color: var(--nebel); }
.skript > h2:first-child { margin-top: 0; }
.skript ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.skript li { margin: .35em 0; padding-left: .2em; }
.skript li::marker { color: var(--natrium); }
.skript a { color: var(--natrium-hell); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.skript mark.pruef { background: none; color: inherit; }
.quellen { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); font-family: var(--ui); }
.quellen h2 { margin: 0 0 1rem; font-family: var(--ui); font-size: 1rem; font-weight: 700; }
.quellen ol { margin: 0; padding-left: 2.4em; font-size: .875rem; line-height: 1.55; color: var(--nebel-mild); }
.quellen li::marker { color: var(--nebel-leise); }
.quellen li { margin: .45em 0; overflow-wrap: anywhere; }
.quellen a { color: var(--nebel); text-decoration-color: var(--linie); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.quellen a:hover { text-decoration-color: var(--natrium); }
.quelle-herkunft { color: var(--nebel-leise); }
.quelle-herkunft::before { content: "· "; }
.quellen li.quellen-gruppe { list-style: none; counter-increment: list-item 0; margin: 1.1em 0 .35em; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nebel-leise); }
.quellen-leer { margin: 0; font-size: .875rem; color: var(--nebel-leise); }

.fallakte { position: sticky; top: calc(var(--kopf-h) + env(safe-area-inset-top, 0px) + 1.5rem); font-size: .9375rem; }
.fallakte > summary { list-style: none; cursor: default; font-family: var(--titel); font-weight: 700; font-size: 1.6rem; line-height: 1; margin-bottom: 1rem; }
.fallakte > summary::-webkit-details-marker { display: none; }
.akte { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem 1rem; }
.akte dt { color: var(--nebel-leise); font-size: .875rem; }
.akte dd { margin: 0; color: var(--nebel); }
.akte dd a { color: inherit; text-decoration-color: var(--linie); text-underline-offset: .2em; }
.akte dd a:hover { text-decoration-color: var(--natrium); }
.fallakte .karte { position: relative; aspect-ratio: 4 / 3; margin: 1.4rem 0 0; background: var(--nacht-tief); }
.fallakte .karte img { width: 100%; height: 100%; }
.fallakte .karte figcaption { margin-top: .45rem; font-size: .75rem; color: var(--nebel-leise); }
.inhalt { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.inhalt h3 { margin: 0 0 .6rem; font-size: .875rem; font-weight: 600; color: var(--nebel-leise); }
.inhalt ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.inhalt a { color: var(--nebel-mild); text-decoration: none; }
.inhalt a:hover { color: var(--nebel); }

.weiter { margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--linie); }
.weiter-titel { margin: 0 0 1.5rem; font-family: var(--titel); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; }
.weiter-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-bottom: 3rem; }
.weiter-knopf {
  display: flex; flex-direction: column; gap: .35rem; justify-content: center; min-height: 6.5rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--linie); border-radius: 2px; text-decoration: none; background: var(--nacht-hoch); cursor: pointer; text-align: left;
}
.weiter-knopf:hover { border-color: var(--natrium); }
.weiter-knopf small { font-size: .875rem; color: var(--nebel-mild); }
.weiter-knopf strong { font-family: var(--titel); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--nebel); }
.weiter-knopf.zufall strong { color: var(--natrium-hell); }
.weiter h3 { margin: 0 0 1.25rem; font-size: 1rem; font-weight: 700; color: var(--nebel-mild); }

/* ---------------------------------------------------------------- Fuß */
.fuss-seite { border-top: 1px solid var(--linie); padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); color: var(--nebel-leise); font-size: .875rem; line-height: 1.6; }
.fuss-seite .innen { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; }
.fuss-seite p { margin: 0; max-width: 40rem; }
.fuss-seite a { color: var(--nebel-mild); }
.fuss-seite nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

.hinweis-toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; background: var(--nebel); color: var(--nacht-tief); padding: .7rem 1.1rem; font-weight: 600; font-size: .9375rem; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }

/* ---------------------------------------------------------------- Redaktion */
.redaktion { padding-block: 3rem 5rem; }
.redaktion h1 { font-family: var(--titel); font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); line-height: .95; margin: 0 0 1rem; }
.redaktion > .innen > p { max-width: 44rem; color: var(--nebel-mild); font-family: var(--text); font-size: 1.15rem; }
.red-fall { border-top: 1px solid var(--linie); padding: 1rem 0; }
.red-fall summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.red-fall summary strong { font-family: var(--titel); font-size: 1.5rem; font-weight: 700; }
.red-fall summary span { color: var(--nebel-leise); font-size: .875rem; }
.red-liste { margin: 1rem 0 .5rem; padding-left: 1.2rem; display: grid; gap: .6rem; font-size: .9375rem; }
.red-liste .alt { color: #e08a7a; text-decoration: line-through; text-decoration-thickness: 1px; }
.red-liste .neu { color: #9fd0a8; }
.red-liste .art, .red-liste .hinweis { color: var(--nebel-leise); font-size: .8125rem; }
.red-liste q { font-family: var(--text); font-size: 1.05rem; quotes: "„" "“"; }

/* ---------------------------------------------------------------- Schmale Fenster */
@media (max-width: 62rem) {
  .fall-oben { grid-template-columns: minmax(0, 1fr); padding-bottom: 2rem; }
  .titelbild { position: static; }
  .titelbild .duo, .titelbild.quer .duo { aspect-ratio: 4 / 3; max-height: none; }
  .fall-raster { grid-template-columns: minmax(0, 1fr); }
  .fallakte { position: static; order: -1; border: 1px solid var(--linie); padding: 1rem 1.1rem; background: var(--nacht-hoch); }
  .fallakte > summary { cursor: pointer; margin: 0; font-size: 1.4rem; display: flex; justify-content: space-between; align-items: center; }
  .fallakte > summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid var(--nebel-mild); border-bottom: 2px solid var(--nebel-mild); transform: rotate(45deg); margin-right: .3rem; transition: transform .2s; }
  .fallakte[open] > summary::after { transform: rotate(-135deg); }
  .fallakte[open] > summary { margin-bottom: 1rem; }
  .fallakte .karte { max-width: 26rem; }
}
@media (max-width: 48rem) {
  .gezogen-raster { grid-template-columns: minmax(0, 1fr); }
  .gezogen-bild { order: -1; }
  .filter-zeile { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .filter-name { padding-top: 0; }
  .chips.rollen { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .marke-zusatz { display: none; }
  .kopf-link { display: none; }
  .kopf-link[href$="karte/"], .kopf-link[href="#karte"] { display: inline; }
  .skript { font-size: 1.125rem; line-height: 1.64; }
  .titelbild .duo { aspect-ratio: 4 / 3; }
  .auswahl { min-width: 0; width: 100%; }
}
/* ---------------------------------------------------------------- Fallkarte */
.kartenseite { padding-block: 2.5rem 4rem; }
.kartenseite h1 { font-family: var(--titel); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; margin: 0 0 .75rem; }
.karte-intro { color: var(--nebel-mild); font-family: var(--text); font-size: 1.125rem; max-width: 40rem; margin: 0 0 1.5rem; }
.karte-wahl { display: inline-flex; align-items: center; gap: .6rem; font-size: .9375rem; color: var(--nebel-mild); }
.karte-wahl select { font: inherit; color: var(--nebel); background: var(--nacht-hoch); border: 1px solid var(--linie); border-radius: .5rem; padding: .5rem .75rem; min-height: 2.5rem; max-width: 70vw; }
.w-n { fill: #18212a; stroke: #26323d; stroke-width: .5; vector-effect: non-scaling-stroke; }
.w-hat { fill: #2c3e50; stroke: #5b6d80; stroke-width: .6; cursor: pointer; transition: fill .15s; outline: none; vector-effect: non-scaling-stroke; }
.w-hat:hover, .w-hat:focus-visible { fill: #4a5f74; stroke: var(--natrium); }

/* Zoomfläche für Welt- und Landkarte */
.kbuehne { position: relative; overflow: hidden; width: 100%; background: var(--nacht-tief); border: 1px solid var(--linie); border-radius: .75rem; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.kbuehne.welt { aspect-ratio: 1000 / 392; min-height: 24rem; max-height: 76svh; }
.kbuehne.land { aspect-ratio: 4 / 3; width: min(100%, calc(78svh * 4 / 3)); margin-inline: auto; }
.kbuehne.zieht { cursor: grabbing; }
.kbuehne:focus-visible { outline: 2px solid var(--natrium); outline-offset: -2px; }
.kbuehne > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 0 0; }
.kbuehne path { vector-effect: non-scaling-stroke; }
.kmarken { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.kpunkt, .kgruppe { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; padding: 0; border-radius: 50%; border: 2px solid var(--nacht-tief); }
.kpunkt { width: .95rem; height: .95rem; margin: -.475rem 0 0 -.475rem; background: var(--natrium); box-shadow: 0 0 0 4px var(--natrium-glut); }
.kpunkt::after { content: ""; position: absolute; inset: -.65rem; border-radius: 50%; }
.kpunkt:hover, .kpunkt:focus-visible, .kpunkt.aktiv { background: #fff3df; box-shadow: 0 0 0 5px rgba(240,162,59,.55); outline: none; z-index: 2; }
.kgruppe { --g: 1; width: calc(1.65rem * var(--g)); height: calc(1.65rem * var(--g)); margin: calc(-.825rem * var(--g)) 0 0 calc(-.825rem * var(--g)); background: var(--natrium); color: var(--nacht-tief); font-family: var(--ui); font-size: .8125rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 4px var(--natrium-glut), 0 0 1.4rem rgba(240,162,59,.3); }
.kgruppe:hover, .kgruppe:focus-visible { background: var(--natrium-hell); box-shadow: 0 0 0 5px rgba(240,162,59,.45); outline: none; z-index: 2; }
.kzoom { position: absolute; right: .75rem; bottom: .75rem; z-index: 3; display: grid; border: 1px solid var(--linie); border-radius: .5rem; overflow: hidden; background: var(--nacht-hoch); box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: default; }
.kzoom button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: var(--nebel); font-family: var(--ui); font-size: 1.5rem; font-weight: 500; line-height: 1; cursor: pointer; }
.kzoom button + button { border-top: 1px solid var(--linie); }
.kzoom button:hover:not([disabled]) { background: var(--nacht); color: var(--natrium-hell); }
.kzoom button[disabled] { color: var(--nebel-leise); opacity: .5; cursor: default; }
.kzoom button:focus-visible { outline-offset: -3px; }
.kzoom svg { width: 1.1rem; height: 1.1rem; }
.kzoom-hinweis { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); width: max-content; max-width: 86%; margin: 0; padding: .6rem .9rem; border-radius: .4rem; background: rgba(14,20,25,.92); color: var(--nebel); font-size: .9375rem; text-align: center; pointer-events: none; }
.karte-leiste { position: absolute; left: .75rem; top: .75rem; right: 4.25rem; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; pointer-events: none; cursor: default; }
.karte-leiste > * { pointer-events: auto; }
.karte-leiste .knopf { min-height: 2.5rem; padding-block: .35rem; background: var(--nacht-hoch); }
.karte-leiste h2 { margin: 0; font-family: var(--titel); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; text-shadow: 0 1px 8px var(--nacht-tief); pointer-events: none; }
.karte-leiste h2 span { margin-left: .3rem; font-family: var(--ui); font-size: .9375rem; font-weight: 400; color: var(--nebel-mild); }
.karte-info { position: absolute; z-index: 5; width: min(19rem, calc(100% - 1rem)); transform: translate(-50%, calc(-100% - 1rem)); background: var(--nacht-hoch);
  border: 1px solid var(--linie); border-radius: .6rem; padding: .85rem 1rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.5); display: grid; gap: .3rem; cursor: default; user-select: text; -webkit-user-select: text; }
.karte-info.unten { transform: translate(-50%, 1rem); }
.karte-info strong { font-family: var(--titel); font-size: 1.45rem; line-height: 1.1; padding-right: 1.5rem; }
.karte-info span { color: var(--nebel-mild); font-size: .875rem; }
.karte-info p { margin: .2rem 0 .5rem; font-family: var(--text); font-size: 1rem; line-height: 1.35; color: var(--nebel); }
.karte-info-knoepfe { display: flex; flex-wrap: wrap; gap: .4rem; }
.karte-info-knoepfe .knopf { min-height: 2.5rem; padding: .35rem .75rem; font-size: .875rem; }
.karte-info-liste { list-style: none; margin: .3rem 0 0; padding: 0; max-height: 11rem; overflow-y: auto; }
.karte-info-liste a { display: block; padding: .4rem 0; border-top: 1px solid var(--linie); color: var(--nebel); font-weight: 600; text-decoration: none; }
.karte-info-liste a:hover { color: var(--natrium-hell); }
.karte-info-zu { position: absolute; top: .35rem; right: .5rem; background: none; border: 0; color: var(--nebel-mild); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: .2rem; }
.karte-unten { margin: .9rem 0 0; }

/* Karte als Einstieg der Startseite */
.start-karte { background: var(--nacht-tief); border-bottom: 1px solid var(--linie); }
.start-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; padding-block: 1.1rem .85rem; }
.start-kopf h1 { margin: 0; font-family: var(--titel); font-weight: 800; font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.8rem); line-height: 1; }
.start-kopf p { margin: 0; color: var(--nebel-mild); font-size: 1rem; }
.start-karte .kbuehne { border-width: 1px 0 0; border-radius: 0; aspect-ratio: auto; height: clamp(23rem, 66svh, 48rem); max-height: none; min-height: 0; }
.start-karte .kbuehne.land { aspect-ratio: 4 / 3; height: auto; width: min(100%, calc(clamp(23rem, 66svh, 48rem) * 4 / 3)); border-width: 1px 1px 0; }
.start-karte .karte-box { min-height: clamp(23rem, 66svh, 48rem); }
.start-karte .karte-unten { padding-inline: var(--rand) var(--rand-r); margin-block: .75rem; }
.kbuehne.wachsam { touch-action: pan-y; }
.kbuehne.wachsam.gezoomt { touch-action: none; }

/* Video und Podcast auf der Fallseite */
.medien { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.medien .knopf { min-height: 3.25rem; padding: .65rem 1.35rem; font-size: 1.0625rem; }
.medien .knopf svg { width: 1.35rem; height: 1.35rem; }
.medien .knopf span { font-weight: 500; opacity: .75; }
.medien-mehr { margin: .75rem 0 0; font-size: .9375rem; color: var(--nebel-mild); }
.medien-mehr a { color: var(--nebel); }
.bild-video { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--nacht-tief); text-decoration: none; }
.bild-video span { display: grid; place-items: center; width: 4.75rem; height: 4.75rem; border-radius: 50%; background: var(--natrium); box-shadow: 0 0 0 .5rem rgba(240,162,59,.28), 0 10px 30px rgba(0,0,0,.45); transition: transform .15s ease, background-color .15s ease; }
.bild-video svg { width: 2.4rem; height: 2.4rem; margin-left: .15rem; }
.bild-video:hover span, .bild-video:focus-visible span { transform: scale(1.08); background: var(--natrium-hell); }
.karte-liste-titel { font-family: var(--titel); font-size: 1.5rem; margin: 2rem 0 .75rem; }
.karte-liste { list-style: none; margin: 0; padding: 0; columns: 18rem; column-gap: 2rem; }
.karte-liste li { break-inside: avoid; padding: .4rem 0; border-bottom: 1px solid var(--linie); display: flex; flex-direction: column; }
.karte-liste a { color: var(--nebel); text-decoration: none; font-weight: 600; }
.karte-liste a:hover { color: var(--natrium-hell); }
.karte-liste span { color: var(--nebel-leise); font-size: .8125rem; }
@media (max-width: 48rem) {
  .kbuehne.welt { aspect-ratio: auto; height: clamp(22rem, 60svh, 32rem); min-height: 0; }
  .kbuehne.land, .start-karte .kbuehne.land { aspect-ratio: 1 / 1; width: 100%; }
  .start-karte .kbuehne.welt { height: 23rem; }
  .start-karte .karte-box { min-height: 23rem; }
  .karte-info, .karte-info.unten { left: .5rem !important; right: .5rem; top: auto !important; bottom: .5rem; width: auto; transform: none; }
  .karte-leiste { left: .5rem; top: .5rem; right: .5rem; }
  .karte-wahl select { max-width: 11.5rem; }
  .kzoom { right: .5rem; bottom: .5rem; }
  .medien .knopf { flex: 1 1 12rem; }
}
/* Hinweise auf die Krimispiele: ruhig, klar als Shop gekennzeichnet */
.shop-marke { margin: 0 0 .5rem; font-size: .875rem; font-weight: 600; color: var(--natrium-hell); }
.shop-daten { margin: .75rem 0 0; font-size: .875rem; color: var(--nebel-mild); font-variant-numeric: lining-nums; }
.shop-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.shop-band { background: var(--nacht-hoch); border-block: 1px solid var(--linie); padding-block: clamp(2rem, 4vw, 3rem); }
.shop-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.shop-band h2 { margin: 0; font-family: var(--titel); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: .95; text-wrap: balance; }
.shop-band-text > p:not(.shop-marke):not(.shop-daten) { margin: .9rem 0 0; max-width: 32rem; font-family: var(--text); font-size: 1.1875rem; line-height: 1.45; }
.shop-spiel { display: grid; gap: .25rem; text-decoration: none; }
.shop-spiel img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: .55rem; transition: filter .2s ease; }
.shop-spiel:hover img { filter: brightness(1.1); }
.shop-spiel strong { font-family: var(--titel); font-size: 1.6rem; line-height: 1; }
.shop-spiel:hover strong { color: var(--natrium-hell); }
.shop-spiel span { font-size: .9375rem; line-height: 1.35; color: var(--nebel-mild); }
.shop-spiel em { font-style: normal; font-weight: 700; color: var(--natrium-hell); }
.shop-fall { margin-block: 3rem 2.5rem; }
.shop-fall-rahmen { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; max-width: var(--spalte); padding: 1.25rem; background: var(--nacht-hoch); border: 1px solid var(--linie); }
.shop-fall-bild img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.shop-fall h2 { margin: 0; font-family: var(--titel); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.shop-fall-text { margin: .6rem 0 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.42; }
.shop-fall-text strong { font-weight: 600; }
.shop-bundle { color: var(--nebel-mild); font-size: .9375rem; text-underline-offset: .2em; }
.shop-bundle:hover { color: var(--nebel); }
.shopkarte .duo { background: var(--nacht-tief); }
.shopkarte .duo img { filter: none; mix-blend-mode: normal; }
.shopkarte:hover .duo img { filter: brightness(1.08); }
.shopkarte .duo::after { display: none; }
.shopkarte .ortsmarke { color: var(--natrium-hell); font-weight: 600; }
@media (max-width: 62rem) {
  .shop-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-band-text { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  .shop-fall-rahmen { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .shop-fall h2 { font-size: 1.6rem; }
  .shop-fall .shop-knoepfe { grid-column: 1 / -1; }
  .shop-spiel strong { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
