/* ==========================================================================
   bibelblind.de – Stylesheet
   Statisch, ohne externe Ressourcen, ohne Webfonts, ohne Cookies.
   ========================================================================== */

/* --- Design-Tokens ------------------------------------------------------ */

:root {
  /* Markenfarben, abgeleitet vom bisherigen Auftritt */
  --beere:        #8f0060;
  --beere-hell:   #b8047d;
  --beere-dunkel: #5c003e;
  --sand:         #ffffcc;

  --bg:           #ffffff;
  --bg-alt:       #f6f2f4;
  --bg-karte:     #ffffff;
  --rahmen:       #e3dae0;
  --text:         #26222b;
  --text-leise:   #5f5866;
  --link:         #8f0060;
  --link-hover:   #5c003e;

  --kopf-bg:      #2a0620;
  --kopf-text:    #ffffff;

  --fokus:        #0a6ed1;

  --radius:       14px;
  --radius-klein: 8px;
  --schatten:     0 1px 2px rgb(38 34 43 / 8%), 0 6px 20px rgb(38 34 43 / 7%);
  --schatten-xl:  0 10px 40px rgb(38 34 43 / 22%);

  --breite:       1180px;
  --gutter:       clamp(1rem, 4vw, 2rem);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #16121a;
    --bg-alt:     #1e1822;
    --bg-karte:   #221b28;
    --rahmen:     #3a3040;
    --text:       #ece7f0;
    --text-leise: #b0a6b8;
    --link:       #ff8fd0;
    --link-hover: #ffb6e1;
    --kopf-bg:    #1d0417;
    --schatten:   0 1px 2px rgb(0 0 0 / 40%), 0 6px 20px rgb(0 0 0 / 35%);
    --schatten-xl:0 10px 40px rgb(0 0 0 / 60%);
    --fokus:      #79c0ff;
  }
}

/* --- Grundlagen --------------------------------------------------------- */

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

/* Das Attribut hidden muss staerker sein als jede display-Regel dieses
   Stylesheets. Ohne diese Zeile bliebe eine ausgefilterte Karte sichtbar,
   weil .karte { display: flex } die Browservorgabe [hidden] uebersteuert. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }

:where(a, button, summary, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.05rem); margin-top: 2em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 1.6em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--beere); color: #fff; }

/* --- Hilfsklassen ------------------------------------------------------- */

.nur-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprung {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  background: var(--sand);
  color: #26222b;
  padding: .7rem 1.2rem;
  border-radius: var(--radius-klein);
  font-weight: 600;
  text-decoration: none;
}
.sprung:focus { top: .6rem; }

.huelle {
  width: min(100% - 2 * var(--gutter), var(--breite));
  margin-inline: auto;
}
.huelle--schmal { width: min(100% - 2 * var(--gutter), 46rem); }

/* --- Kopfbereich -------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--kopf-bg);
  color: var(--kopf-text);
  box-shadow: 0 1px 0 rgb(255 255 255 / 10%);
}

.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: .55rem;
}

.marke {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.marke__raute { color: var(--sand); }
.marke:hover { color: var(--sand); }

.nav__liste {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: .45rem .7rem;
  border-radius: 999px;
  color: #f2e6ee;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.nav a[aria-current="page"] {
  background: var(--sand);
  color: #2a0620;
  font-weight: 700;
}
.nav a[target="_blank"]::after {
  content: "↗";
  margin-left: .25em;
  font-size: .85em;
  opacity: .75;
}

@media (max-width: 52rem) {
  .kopf__innen { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .nav__liste { gap: .1rem .2rem; }
  .nav a { padding: .4rem .55rem; font-size: .88rem; }
}

/* --- Bühne -------------------------------------------------------------- */

.buehne {
  background:
    radial-gradient(90rem 30rem at 15% -10%, rgb(184 4 125 / 22%), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--rahmen);
  padding-block: clamp(2.2rem, 1rem + 5vw, 4rem);
}

.buehne__innen {
  display: grid;
  gap: clamp(1.8rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 64rem) {
  .buehne__innen { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* Dekorativer Stapel aus drei Meme – reine Illustration, für Screenreader stumm.
   width: 100% ist noetig: mit "margin-inline: auto" allein wuerde das Gitterfeld
   nicht gestreckt und der Kasten fiele auf Breite 0 zusammen, weil alle Kinder
   absolut positioniert sind. */
.stapel {
  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 27rem;
  margin-inline: auto;
}
@media (min-width: 64rem) { .stapel { display: block; } }

.stapel img {
  position: absolute;
  width: 70%;
  border-radius: var(--radius);
  box-shadow: var(--schatten-xl);
  outline: 1px solid rgb(255 255 255 / 55%);
  outline-offset: -1px;
}
.stapel img:nth-child(1) { top: 0;   left: 30%; transform: rotate(6deg);  }
.stapel img:nth-child(2) { top: 14%; left: 2%;  transform: rotate(-6deg); }
.stapel img:nth-child(3) { top: 37%; left: 24%; transform: rotate(2deg);  }

.buehne__marke {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--beere);
  margin-bottom: .6rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .buehne__marke { color: var(--link); }
}

.buehne h1 { max-width: 20ch; }

.buehne__lead {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem);
  max-width: 62ch;
  color: var(--text);
}

.buehne__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.zahlen {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.2rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
  color: var(--text-leise);
  font-size: .95rem;
}
.zahlen b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--text);
}

/* --- Schaltflächen ------------------------------------------------------ */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--beere);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.knopf:hover { background: var(--beere-dunkel); color: #fff; }

.knopf--leise {
  background: transparent;
  border-color: var(--rahmen);
  color: var(--text);
}
.knopf--leise:hover { background: var(--bg-karte); border-color: var(--beere); color: var(--link); }

.knopf--klein { padding: .38rem .8rem; font-size: .86rem; }

/* --- Inhaltsbereich (Textseiten) ---------------------------------------- */

.inhalt { padding-block: clamp(2rem, 1rem + 4vw, 3.5rem); }
.inhalt p, .inhalt li { max-width: 68ch; }

/* Abschnitt, der direkt an den vorigen anschliesst */
.inhalt--anschluss { padding-top: 0; }
.inhalt--anschluss > * > h2:first-child { margin-top: 0; }

.inhalt ul, .inhalt ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.inhalt li { margin-bottom: .4em; }

blockquote {
  margin: 1.6em 0;
  padding: .3em 0 .3em 1.4rem;
  border-left: 4px solid var(--beere);
  font-family: var(--serif);
  font-size: 1.18em;
  line-height: 1.45;
}
blockquote p { margin-bottom: .4em; }
blockquote cite {
  display: block;
  font-family: var(--sans);
  font-size: .8em;
  font-style: normal;
  color: var(--text-leise);
}

.merkkasten {
  margin: 2rem 0;
  padding: 1.1rem 1.3rem;
  background: var(--bg-alt);
  border: 1px solid var(--rahmen);
  border-left: 5px solid var(--beere);
  border-radius: var(--radius-klein);
}
.merkkasten > :first-child { margin-top: 0; }
.merkkasten h2, .merkkasten h3 { margin-top: 0; font-size: 1.1rem; font-family: var(--sans); }

details.faq {
  border-bottom: 1px solid var(--rahmen);
  padding: .3rem 0;
}
details.faq > summary {
  cursor: pointer;
  padding: .75rem .25rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  gap: .6rem;
  align-items: baseline;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::before {
  content: "+";
  color: var(--beere);
  font-size: 1.2em;
  line-height: 1;
  flex: none;
}
details.faq[open] > summary::before { content: "–"; }
details.faq > summary:hover { color: var(--link); }
details.faq > div { padding: 0 .25rem 1rem 1.6rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) details.faq > summary::before { color: var(--link); }
}

/* --- Filterleiste ------------------------------------------------------- */

.filter {
  position: sticky;
  top: 4.2rem;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rahmen);
  padding-block: .8rem;
}
@supports not (backdrop-filter: blur(1px)) { .filter { background: var(--bg); } }
@media (max-width: 52rem) { .filter { position: static; } }

.filter__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.filter__feld {
  flex: 1 1 15rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  background: var(--bg-karte);
  border: 1px solid var(--rahmen);
  border-radius: 999px;
}
.filter__feld:focus-within { border-color: var(--beere); }
.filter__feld svg { flex: none; color: var(--text-leise); }
.filter__feld input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .95rem;
  padding: .1rem 0;
}
.filter__feld input:focus { outline: none; }

select.filter__wahl {
  padding: .5rem 2rem .5rem .9rem;
  border: 1px solid var(--rahmen);
  border-radius: 999px;
  background: var(--bg-karte);
  color: inherit;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%;
  background-size: .32rem .32rem, .32rem .32rem;
  background-repeat: no-repeat;
}

.filter__marken {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .7rem 0 0;
  padding: 0;
  list-style: none;
}
.marke-knopf {
  padding: .28rem .7rem;
  border: 1px solid var(--rahmen);
  border-radius: 999px;
  background: var(--bg-karte);
  color: var(--text-leise);
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}
.marke-knopf:hover { border-color: var(--beere); color: var(--link); }
.marke-knopf[aria-pressed="true"] {
  background: var(--beere);
  border-color: var(--beere);
  color: #fff;
  font-weight: 600;
}

.filter__status {
  margin: .7rem 0 0;
  font-size: .9rem;
  color: var(--text-leise);
}

/* --- Meme-Raster -------------------------------------------------------- */

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, .5rem + 1.6vw, 1.7rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 1rem;
  margin: 0;
  list-style: none;
}

.karte {
  display: flex;
  flex-direction: column;
  background: var(--bg-karte);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-xl); }
.karte:focus-within { outline: 3px solid var(--fokus); outline-offset: 2px; }

.karte__bild {
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--bg-alt);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__bild:focus-visible { outline-offset: -3px; }

.karte__text { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }

.karte__stelle {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--text);
}
/* Echter Link auf die Einzelseite – auch für Crawler und „in neuem Tab öffnen“. */
.karte__stelle a { color: inherit; text-decoration: none; }
.karte__stelle a:hover { color: var(--link); text-decoration: underline; }

.karte__vers {
  margin: 0 0 .9rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text-leise);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.karte__marken {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 .9rem;
  padding: 0;
  list-style: none;
}
.karte__marken li {
  font-size: .74rem;
  letter-spacing: .02em;
  padding: .13rem .5rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-leise);
  border: 1px solid var(--rahmen);
}

.karte__fuss {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
  padding-top: .25rem;
}

.leer {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-leise);
}

/* --- Einzelseite eines Meme --------------------------------------------- */

.brotkrumen { margin-bottom: 1.6rem; font-size: .88rem; color: var(--text-leise); }
.brotkrumen ol {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .5rem;
  margin: 0; padding: 0;
  list-style: none;
}
.brotkrumen li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.brotkrumen [aria-current="page"] { color: var(--text); font-weight: 600; }

.meme { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: start; }
@media (min-width: 60rem) {
  .meme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .meme__bild { position: sticky; top: 5.5rem; }
}

.meme__bild { margin: 0; }
.meme__bild img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--rahmen);
  box-shadow: var(--schatten);
}

.meme__text h1 { margin-bottom: .6rem; }

.meme__vers {
  margin: 0 0 1rem;
  padding: .2em 0 .2em 1.3rem;
  border-left: 4px solid var(--beere);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.42rem);
  line-height: 1.45;
}
.meme__vers p { margin: 0; }

.meme__quelle { font-size: .86rem; color: var(--text-leise); margin-bottom: 1.4rem; }

.meme__aktionen { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }

.meme__klein {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin: 0 0 .6rem;
}

.meme__marken {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}
.meme__marken a {
  display: inline-block;
  padding: .2rem .7rem;
  border: 1px solid var(--rahmen);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-leise);
  font-size: .82rem;
  text-decoration: none;
}
.meme__marken a:hover { border-color: var(--beere); color: var(--link); }

.meme__hinweis { font-size: .92rem; color: var(--text-leise); }

/* Einordnung der Redaktion – bewusst anders gestaltet als das Bibelzitat,
   damit auf einen Blick erkennbar bleibt, was Quelle und was Kommentar ist. */
.einordnung {
  margin: 0 0 1.6rem;
  padding: .95rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius-klein);
}
.einordnung h2 {
  margin: 0 0 .4rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.einordnung p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}

/* Vor und zurück */
.blaettern {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--rahmen);
}
.blaettern__link {
  display: grid;
  gap: .15rem;
  max-width: 47%;
  text-decoration: none;
  color: var(--text);
}
.blaettern__link span { font-size: .78rem; color: var(--text-leise); }
.blaettern__link b { font-family: var(--serif); font-size: 1.05rem; }
.blaettern__link:hover b { color: var(--link); text-decoration: underline; }
.blaettern__link--vor { text-align: right; }
.blaettern__link--zurueck span::before { content: "← "; }
.blaettern__link--vor span::after { content: " →"; }

/* Verwandte Meme */
.nachbarn {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
  gap: 1rem;
  margin: 0; padding: 0;
  list-style: none;
}
.nachbar a {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.nachbar img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-klein);
  border: 1px solid var(--rahmen);
  transition: transform .18s ease;
}
.nachbar a:hover img { transform: translateY(-3px); }
.nachbar__stelle {
  display: block;
  margin-top: .5rem;
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 600;
}
.nachbar a:hover .nachbar__stelle { color: var(--link); }

/* --- Leuchtkasten (Lightbox) -------------------------------------------- */

.lk {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.lk::backdrop { background: rgb(12 6 12 / 88%); }

.lk__rahmen {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0;
}

.lk__buehne {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 3.6rem .8rem .5rem;
  touch-action: pan-y;
}

.lk__bild {
  max-width: min(100%, 44rem);
  max-height: 100%;
  width: auto;
  border-radius: var(--radius-klein);
  box-shadow: 0 12px 48px rgb(0 0 0 / 55%);
  background: #0c060c;
}

.lk__info {
  background: var(--bg);
  border-top: 1px solid var(--rahmen);
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  /* Reichlich bemessen, weil unter dem Vers noch die Einordnung steht.
     Der Bildbereich darueber ist 1fr und gibt den Platz entsprechend ab. */
  max-height: 58vh;
  overflow-y: auto;
}
.lk__innen { width: min(100%, 44rem); margin-inline: auto; }

.lk__stelle { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin: 0 0 .4rem; }
.lk__vers   { margin: 0 0 .7rem; font-size: 1rem; line-height: 1.6; }
.lk__quelle { margin: 0 0 .9rem; font-size: .82rem; color: var(--text-leise); }

.lk__aktionen { display: flex; flex-wrap: wrap; gap: .5rem; }

.lk__seite {
  display: inline-block;
  margin-top: .9rem;
  font-size: .88rem;
  color: var(--text-leise);
}
.lk__seite::after { content: " ›"; }
.lk__seite:hover { color: var(--link); }

.lk__zu, .lk__pfeil {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: rgb(20 10 18 / 72%);
  color: #fff;
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.lk__zu:hover, .lk__pfeil:hover { background: var(--beere); border-color: var(--beere); }
.lk__zu { top: .7rem; right: .7rem; font-size: 1.35rem; line-height: 1; }
.lk__pfeil { top: 50%; transform: translateY(-50%); }
.lk__pfeil--zurueck { left: .7rem; }
.lk__pfeil--vor { right: .7rem; }
.lk__pfeil[disabled] { opacity: .3; cursor: default; }
.lk__pfeil[disabled]:hover { background: rgb(20 10 18 / 72%); border-color: rgb(255 255 255 / 25%); }

.lk__zaehler {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .82rem;
  color: rgb(255 255 255 / 80%);
  background: rgb(20 10 18 / 72%);
  padding: .2rem .7rem;
  border-radius: 999px;
}

@media (min-width: 60rem) {
  .lk__rahmen { grid-template-rows: none; grid-template-columns: 1fr minmax(20rem, 26rem); }
  .lk__buehne { padding: 1.5rem; }
  .lk__info { border-top: 0; border-left: 1px solid var(--rahmen); max-height: none; padding-block: 3.4rem 2rem; }
  .lk__innen { width: 100%; }
  .lk__zu { right: .9rem; }
}

/* --- Hinweis-Einblendung ------------------------------------------------ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 1rem);
  z-index: 300;
  background: #26222b;
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-size: .92rem;
  box-shadow: var(--schatten-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast[data-sichtbar="true"] { opacity: 1; transform: translate(-50%, 0); }

/* --- Partner & Fuß ------------------------------------------------------ */

.partner {
  background: var(--bg-alt);
  border-top: 1px solid var(--rahmen);
  padding-block: 2.2rem;
}
.partner h2 { margin: 0 0 1rem; font-size: 1.05rem; font-family: var(--sans); color: var(--text-leise); }
.partner ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .7rem;
  margin: 0; padding: 0;
  list-style: none;
}
.partner a {
  display: inline-block;
  padding: .35rem .8rem;
  border: 1px solid var(--rahmen);
  border-radius: 999px;
  background: var(--bg-karte);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text-leise);
}
.partner a:hover { border-color: var(--beere); color: var(--link); }

.fuss {
  background: var(--kopf-bg);
  color: #e6d8e2;
  padding-block: 2rem;
  font-size: .92rem;
}
.fuss a { color: #ffd9f0; }
.fuss a:hover { color: var(--sand); }
.fuss__zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .8rem 1.5rem;
}
.fuss__links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.fuss p { margin: 0; }
.fuss__klein { margin-top: 1rem; font-size: .82rem; color: #c0aeba; max-width: 70ch; }

/* --- Druck -------------------------------------------------------------- */

@media print {
  .kopf, .filter, .partner, .karte__fuss, .buehne__aktionen, .sprung { display: none; }
  body { background: #fff; color: #000; }
  .karte { break-inside: avoid; box-shadow: none; }
}
