/* Ein Stylesheet für die ganze Seite: Startseite, Konzerte, Kalender,
   Anmeldung. Es gibt kein zweites. */

:root {
  --bg: #0e0e10;
  --fg: #f2f0ec;
  --muted: #8a8780;
  --line: #26262a;
  --flaeche: #17171a;
  --akzent: #c9a227;
  --heute: #4f7fd4;
  --fehler: #d4685a;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  padding: 0.55rem 1.1rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button:hover { background: rgba(255, 255, 255, 0.05); }
button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

.still { border-color: transparent; color: var(--muted); }
.loeschen { border-color: transparent; color: var(--fehler); margin-left: auto; }

/* --- Kopf und Tabs --- */

.kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
}

.wortmarke {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.wortmarke:hover { color: var(--fg); }

.anmeldelink {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}

.anmeldelink:hover { color: var(--fg); border-color: var(--line); }

.knopflink {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
}

.knopflink:hover { background: rgba(255, 255, 255, 0.05); }

.nav {
  display: flex;
  gap: 0.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--line);

  /* Vier Tabs werden auf schmalen Handys eng — dann lieber schieben
     als umbrechen. Die Scrollleiste selbst bleibt unsichtbar. */
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav__tab {
  padding: 0.6rem 0.9rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.nav__tab:hover { color: var(--fg); }

.nav__tab--aktiv {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.inhalt {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.titel {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: normal;
}

.fuss {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.fuss p { margin: 0; }

.fuss__recht a { color: inherit; }
.fuss__recht a:hover { color: var(--fg); }

/* --- Impressum und Datenschutz --- */

.abschnitt {
  margin: 2rem 0 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.anschrift { line-height: 1.7; }

/* Zeilen kürzer als die Spalte: lange Rechtstexte liest man sonst schlecht. */
.rechtstext p, .rechtstext ul { max-width: 38rem; }

.rechtstext { line-height: 1.65; }

.textliste {
  padding-left: 1.1rem;
}

.textliste li { margin-bottom: 0.35rem; }

.hinweis { color: var(--muted); }

.rueckmeldung { font-size: 0.875rem; color: var(--muted); }
.rueckmeldung[data-art="fehler"] { color: var(--fehler); }

/* --- Anmeldung --- */

.anmeldung {
  max-width: 20rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

.anmeldung h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: normal;
}

.anmeldung label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.anmeldung input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--flaeche);
  color: var(--fg);
  font: inherit;
}

.anmeldung input:focus { outline: none; border-color: var(--muted); }
.anmeldung button { width: 100%; }

/* Haken „Angemeldet bleiben". Zwei Klassen tief, sonst gewinnt die
   Beschriftungsregel darüber und macht daraus Großbuchstaben. */
.anmeldung .ankreuz {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.anmeldung .ankreuz input {
  width: auto;
  margin: 0;
  padding: 0;
  accent-color: var(--akzent);
}

.fehler { margin: 1rem 0 0; color: var(--fehler); font-size: 0.9375rem; }

/* --- Startseite --- */

.inhalt--start {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

/* Georgia ist überall da und liest sich weniger nach Interface. */
.start__name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.start__zeile {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.fuss--start { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* --- Kalender --- */

.monatsleiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.monatsleiste h1, .monatsleiste h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: normal;
  text-align: center;
  flex: 1;
}

.monatsleiste button {
  width: 2.75rem;
  padding: 0.4rem 0;
  font-size: 1.25rem;
  line-height: 1;
  flex: none;
}

.wochentage, .raster {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.wochentage {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.tag {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--flaeche);
  color: var(--fg);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.tag--leer { border-color: transparent; background: transparent; cursor: default; }
.tag--wochenende { color: var(--muted); }
.tag--heute { border-color: var(--heute); }

.tag--gewaehlt {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.tag--belegt::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--akzent);
}

.tag--gewaehlt.tag--belegt::after { background: var(--bg); }

/* Training: voller Punkt heißt gemacht, Ring heißt geplant. */
.tag--geplant::after {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--akzent);
}

.tag--gewaehlt.tag--geplant::after {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--bg);
}

.notiz {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.notiz h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: normal;
}

.notiz textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--flaeche);
  color: var(--fg);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.notiz textarea:focus { outline: none; border-color: var(--muted); }

.notiz__leiste {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.schliessen { border-color: transparent; color: var(--muted); }

/* --- Konzerte --- */

.werkzeuge { margin-bottom: 1.5rem; }

.formular {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--flaeche);
}

.feld { margin-bottom: 1rem; }

.feld label, .feld .label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.feld input, .feld select, .feld textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
}

.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none;
  border-color: var(--muted);
}

.feld textarea { resize: vertical; line-height: 1.5; }

.reihe { display: flex; gap: 1rem; flex-wrap: wrap; }
.reihe .feld { flex: 1 1 9rem; }

.sterne { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }

.sterne button {
  border: none;
  background: none;
  padding: 0.1rem 0.2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--line);
}

.sterne button:hover { background: none; color: var(--muted); }
.sterne button.aktiv { color: var(--akzent); }

.sterne__weg {
  font-size: 0.8125rem !important;
  color: var(--muted) !important;
  margin-left: 0.5rem;
}

.formular__leiste {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Touren: Zahlenkacheln --- */

.zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.kachel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--flaeche);
}

.kachel__zahl {
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.kachel__text {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.tour__km {
  color: var(--fg);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tour__route {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.jahr {
  margin: 2rem 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.jahr:first-child { margin-top: 0; }

.gig {
  position: relative;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.gig__kopf {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.gig__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.gig--festival .gig__name { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }

.gig__sterne { color: var(--akzent); font-size: 0.875rem; letter-spacing: 0.05em; }

.gig__meta {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.gig__notiz { margin: 0.4rem 0 0; font-size: 0.9375rem; }

.gig__bearbeiten {
  position: absolute;
  top: 0.8rem;
  right: 0;
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-color: transparent;
}

.gig:hover .gig__bearbeiten, .gig__bearbeiten:focus-visible { border-color: var(--line); }

/* --- Wein --- */

.weinsuche { margin-bottom: 1.5rem; }

.treffer { margin-top: 0.5rem; }
.treffer:empty { display: none; }

.treffer__zeile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  margin-bottom: 0.3rem;
  padding: 0.55rem 0.8rem;
  border-color: transparent;
  border-radius: 8px;
  background: var(--flaeche);
  text-align: left;
}

.treffer__zeile:hover { background: var(--flaeche); border-color: var(--muted); }

.treffer__name { font-size: 0.9375rem; }

.treffer__meta {
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

/* Rohausgabe der API-Probe — bewusst unformatiert, sie soll zeigen,
   was wirklich zurückkommt. */
.probe {
  max-height: 22rem;
  margin: 1rem 0 0;
  padding: 0.75rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre;
}

/* --- Bilder: Streifen am Eintrag --- */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* Ein einzelnes Bild soll nicht über die ganze Breite ziehen. */
.galerie--einzeln { grid-template-columns: minmax(0, 15rem); }

.galerie__bild {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--flaeche);
  cursor: zoom-in;
}

.galerie__bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.galerie__bild:hover { background: var(--flaeche); border-color: var(--muted); }
.galerie__bild:hover img { transform: scale(1.05); }

.galerie__bild--fehlt { cursor: not-allowed; opacity: 0.3; }

/* --- Bilder: Streifen im Formular --- */

.galerie--bearbeiten { margin: 0 0 0.75rem; }
.galerie--bearbeiten:empty { display: none; }
.galerie--bearbeiten .galerie__bild { cursor: default; }
.galerie--bearbeiten .galerie__bild:hover img { transform: none; }

.galerie__weg {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 50%;
  border-color: transparent;
  background: rgba(14, 14, 16, 0.78);
  color: var(--fg);
}

.galerie__weg:hover { background: var(--fehler); color: #fff; }

/* Das echte Dateifeld ist unsichtbar, geklickt wird das Etikett drumherum. */
.feld .bildwahl {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0.55rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.feld .bildwahl:hover { color: var(--fg); border-color: var(--muted); }
.feld .bildwahl:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }

.feld .bildwahl input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.hinweis--klein { margin: 0.5rem 0 0; font-size: 0.8125rem; }

/* --- Training: Planung --- */

.planung { margin-bottom: 2rem; }
.planung .hinweis--klein { margin-top: 0.75rem; }

.naechstes { margin-bottom: 2rem; }
.naechstes .abschnitt { margin-top: 0; }

.naechstes__zeile {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: var(--flaeche);
  text-align: left;
}

.naechstes__wann {
  flex: 0 0 auto;
  min-width: 6.5rem;
  color: var(--akzent);
  font-size: 0.8125rem;
}

.naechstes__was {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Training --- */

.marke {
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Geplantes ist noch nicht passiert: gestrichelt statt durchgezogen. */
.einheit--geplant { border-style: dashed; }
.einheit--geplant .gig__name { color: var(--muted); }

/* Übungen am Eintrag: Name links, Werte rechts daneben. */
.uebungsliste {
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr;
  gap: 0.15rem 1rem;
  margin: 0.6rem 0 0;
  font-size: 0.9375rem;
}

.uebungsliste dt { color: var(--fg); }

.uebungsliste dd {
  margin: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* --- Training: Übungen im Formular --- */

.uebungen { margin-bottom: 0.75rem; }

.uebung {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.uebung__kopf {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Zwei Klassen tief, damit die Breitenregel von .feld input hier nicht
   greift — die macht sonst jedes Feld über die volle Zeile breit. */
.uebung .uebung__name { flex: 1 1 10rem; width: auto; }
.uebung .uebung__art { flex: 0 0 auto; width: auto; }

.uebung__weg,
.satz__weg {
  flex: 0 0 auto;
  padding: 0.2rem 0.55rem;
  border-color: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}

.uebung__weg:hover,
.satz__weg:hover { color: var(--fehler); }

.uebung__verlauf {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.saetze { margin-top: 0.6rem; }

.satz {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.satz__nr {
  width: 1.4rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.satz__zeichen {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Zahlenfelder bleiben schmal — sonst zieht sich eine Satzzeile
   über die halbe Seite. */
.uebung .zahlenfeld {
  width: 5rem;
  padding: 0.4rem 0.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.satz__dazu {
  margin-top: 0.15rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
}

.satz--ausdauer { margin-top: 0.6rem; }

/* --- Strecke: Karte am Eintrag --- */

.karte {
  margin: 0.85rem 0 0;
}

/* Der Schalter zum Ausklappen — sieht aus wie ein ruhiger Knopf, ist aber
   das <summary> und funktioniert deshalb ohne eine Zeile JavaScript. */
.karte__schalter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.karte__schalter::-webkit-details-marker { display: none; }

.karte__schalter::before {
  content: "▸";
  font-size: 0.7em;
  line-height: 1;
}

.karte[open] .karte__schalter::before { content: "▾"; }
.karte[open] .karte__schalter { margin-bottom: 0.7rem; }

.karte__schalter:hover { color: var(--fg); border-color: var(--muted); }
.karte__schalter:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Die Bildgröße richtet sich nach der Strecke — nicht breitziehen,
   sonst wird eine hochkante Tour unscharf hochgerechnet. */
.karte__flaeche {
  display: block;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--flaeche);
  cursor: zoom-in;
}

.karte__flaeche:hover { border-color: var(--muted); background: var(--flaeche); }

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

.karte__text {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.karte__text a { color: inherit; }

/* Im Formular: was hinterlegt ist, plus Knopf zum Entfernen. */
.streckenfeld:empty { display: none; }

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

.streckenfeld .hinweis { margin: 0; }

/* --- Bilder: Leuchtkasten --- */

.leuchtkasten {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 3.5rem;
  background: rgba(8, 8, 10, 0.94);
}

.leuchtkasten[hidden] { display: none; }

.leuchtkasten__bild {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.5);
}

.leuchtkasten__zu {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  border-color: transparent;
  color: var(--muted);
}

.leuchtkasten__pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  border-color: transparent;
  color: var(--muted);
}

.leuchtkasten__pfeil--zurueck { left: 0.5rem; }
.leuchtkasten__pfeil--vor { right: 0.5rem; }
.leuchtkasten__pfeil[hidden] { display: none; }

.leuchtkasten__zu:hover,
.leuchtkasten__pfeil:hover { color: var(--fg); background: rgba(255, 255, 255, 0.07); }

.leuchtkasten__text {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Solange der Kasten offen ist, scrollt die Seite dahinter nicht mit. */
.kasten-offen, .kasten-offen body { overflow: hidden; }

@media (max-width: 30rem) {
  .inhalt { padding-left: 1rem; padding-right: 1rem; }
  .nav { padding-left: 1rem; padding-right: 1rem; }
  .kopf { padding-left: 1rem; padding-right: 1rem; }
  .wochentage, .raster { gap: 0.25rem; }
  .tag { padding: 0.25rem 0.35rem; font-size: 0.8125rem; border-radius: 6px; }
  .gig__bearbeiten { position: static; margin-top: 0.5rem; border-color: var(--line); }
  .galerie { grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr)); gap: 0.3rem; }
  .galerie--einzeln { grid-template-columns: minmax(0, 11rem); }
  .leuchtkasten { padding: 3rem 0.5rem; }
  .leuchtkasten__pfeil { width: 2.5rem; height: 2.5rem; font-size: 1.75rem; }
}
