/* Variante „Zukunft“ – dunkles Violett, Glas-Flächen, leuchtende Kreisbögen. Wird NACH style.css geladen. */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2-variations"), url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --grund: #120c33;
  --gehaeuse: rgba(255, 255, 255, 0.05);
  --front: rgba(255, 255, 255, 0.06);
  --kante: rgba(190, 170, 255, 0.22);
  --silber: #cfc8ff;
  --text: #ece9ff;
  --text-weich: #a9a2d9;
  --display: rgba(10, 6, 34, 0.55);
  --bernstein: #7fe7ff;          /* Leuchtfarbe Cyan */
  --bernstein-glimm: rgba(127, 231, 255, 0.5);
  --bernstein-dunkel: #4c6fd8;
  --magenta: #c13cff;
  --linie: rgba(207, 200, 255, 0.14);
  --schrift-titel: "Sora", system-ui, sans-serif;
  --schrift-mono: "Sora", system-ui, sans-serif;
}

body {
  background-color: var(--grund);
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(193, 60, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(79, 125, 255, 0.22), transparent 70%),
    linear-gradient(160deg, #1d1250 0%, #120c33 55%, #0c0826 100%);
  background-size: auto;
  background-attachment: fixed;
}

/* Leuchtende Kreisbögen im Kopfbereich */
.wand {
  position: relative;
  background: transparent;
  border-bottom: 1px solid var(--kante);
  isolation: isolate;
  overflow: hidden !important;
}
.wand::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70rem; height: 70rem;
  left: -24rem; top: -26rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(193, 60, 255, 0.55) 47px 58px, transparent 59px 100px);
  -webkit-mask: conic-gradient(from 200deg, #000 0 70%, transparent 70% 76%, #000 76% 88%, transparent 88%);
          mask: conic-gradient(from 200deg, #000 0 70%, transparent 70% 76%, #000 76% 88%, transparent 88%);
  opacity: 0.55;
  filter: drop-shadow(0 0 12px rgba(193, 60, 255, 0.6));
  pointer-events: none;
}

.kopf-marke, .kopf-links a, .titel, .themen-name, .geraete h3, .unterseite-text h1, .qsl-dach, .bericht dt, .bericht dd,
.qsl-gruss, .knopf, .untertitel, .ausklang-gruss, .fuss, .lightbox-leiste {
  font-family: "Sora", system-ui, sans-serif !important;
  font-stretch: normal !important;
}
.kopf-marke { letter-spacing: 0.22em; font-weight: 500; }
.kopf-marke::before {
  width: 1.4rem; height: 1.4rem;
  background: none; border: 2px solid var(--bernstein); box-shadow: 0 0 10px var(--bernstein-glimm);
}
.kopf-links a { text-transform: none; letter-spacing: 0.02em; font-weight: 400; border-radius: 999px; color: var(--text); }
.kopf-links a[aria-current="page"] { color: #fff; border-color: transparent; background: linear-gradient(90deg, rgba(193, 60, 255, 0.45), rgba(79, 125, 255, 0.45)); }

/* Glas-Fläche statt Metallfront */
.qsl {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.qsl::before, .qsl::after, .reisszwecke::before, .reisszwecke::after { display: none; }

.qsl-kopf {
  background: radial-gradient(ellipse at 30% 20%, rgba(127, 231, 255, 0.12), transparent 60%), var(--display);
  border: 1px solid rgba(127, 231, 255, 0.25);
  border-radius: 16px;
  box-shadow: inset 0 0 40px rgba(79, 125, 255, 0.18);
}
.qsl-dach { color: var(--silber); text-shadow: none; letter-spacing: 0.3em; font-weight: 400; }
.qsl-dach::after { content: "live"; border-radius: 999px; letter-spacing: 0.1em; color: var(--bernstein); text-shadow: none; text-transform: uppercase; }
.rufzeichen {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #7fe7ff 0%, #8f8cff 50%, #e26bff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(127, 160, 255, 0.45));
}
@supports (container-type: inline-size) { .rufzeichen { font-size: min(var(--t-ruf), 21cqi); } }
.zeichen.an { color: #fff; -webkit-text-fill-color: #fff; text-shadow: none; }
.morse i { background: rgba(143, 140, 255, 0.55); }
.morse i.an { background: #fff; box-shadow: 0 0 10px #7fe7ff; }

.qsl-foto { border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.18); }
.qsl-foto img { filter: saturate(0.8) hue-rotate(10deg); }
.qsl-foto::after {
  background:
    radial-gradient(circle at 50% 30%, transparent 0 30%, rgba(18, 12, 51, 0.55) 80%),
    linear-gradient(180deg, transparent 60%, rgba(193, 60, 255, 0.35));
  box-shadow: none;
}

.bericht { gap: 0.75rem; }
.bericht > div { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; box-shadow: none; }
.bericht dt { letter-spacing: 0.16em; font-weight: 400; color: var(--text-weich); }
.bericht dd { color: #fff; text-shadow: none; font-weight: 500; }
.qsl-gruss { text-transform: none; letter-spacing: 0.04em; color: var(--text-weich); }

.knopf {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--magenta), #4f7dff);
  box-shadow: 0 10px 30px -8px rgba(193, 60, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.knopf:hover { background: linear-gradient(90deg, #d15cff, #6a90ff); }
.knopf svg { color: #fff; }
.knopf::before { display: none; }

.titel { text-transform: none; font-weight: 300; letter-spacing: -0.01em; }
.titel::before {
  width: 0.5em; height: 0.5em; background: none;
  border: 2px solid var(--bernstein); box-shadow: 0 0 12px var(--bernstein-glimm);
}
.untertitel { text-transform: none; letter-spacing: 0.04em; font-weight: 500; color: var(--silber); }
.themen-name { text-transform: none; font-weight: 400; font-size: 1.5rem; }
.themen-liste a { border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)); }
.themen-liste a:hover { border-color: rgba(193, 60, 255, 0.7); }
.geraete h3 { font-weight: 500; font-size: 1.25rem; }
.geraete .nr, .punkt { border-radius: 50%; border-color: var(--bernstein); }
.hotspots, .antennen-bild a, .galerie a { border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.hotspots img, .antennen-bild img, .galerie img { border-radius: 11px; }
.station-bild figcaption, .antennen-bild figcaption, .galerie figcaption { font-family: var(--schrift-text); }
.logbuch { border-radius: 22px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255,255,255,0.16); }
.logbuch-hinweis { border-radius: 16px; }
.ausklang { background: transparent; }
.ausklang-gruss { font-weight: 300; color: var(--bernstein); text-shadow: 0 0 20px var(--bernstein-glimm); }
.fuss { background: rgba(8, 5, 26, 0.7); }
.unterseite-text h1 { text-transform: none; font-weight: 300; }

/* ==========================================================================
   Gästebuch, Forum, Verwaltung, Besucherzähler
   ========================================================================== */

.fuss-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; align-items: center; }
.zaehler {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--kante); border-radius: 999px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.zaehler::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--bernstein); box-shadow: 0 0 8px var(--bernstein-glimm); }

.community-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "kopf kopf" "liste formular";
  gap: 2rem clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.community-kopf { grid-area: kopf; }
.community-liste { grid-area: liste; display: grid; gap: 1rem; }
.community-formular { grid-area: formular; position: sticky; top: 1.5rem; }
.community-liste > .untertitel { margin-top: 0.5rem; }

.formular {
  display: grid; gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld { display: grid; gap: 0.35rem; font-size: var(--t-klein); font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--text-weich); font-size: 0.875rem; }
.feld input[type="text"], .feld input[type="password"], .feld textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(10, 6, 34, 0.55);
  color: #fff;
  font: inherit; font-weight: 400; font-size: 1.0625rem; line-height: 1.5;
}
.feld textarea { resize: vertical; min-height: 8rem; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--bernstein); box-shadow: 0 0 0 3px rgba(127, 231, 255, 0.25); }
.feld input[type="file"] { color: var(--text-weich); font-weight: 400; }
.feld input[type="file"]::file-selector-button {
  margin-right: 0.8rem; padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; cursor: pointer;
}
.hinweis { font-size: 0.9375rem; color: var(--text-weich); line-height: 1.5; }
.formular .knopf { justify-self: start; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { padding: 0.9rem 1.1rem; border-radius: 14px; font-size: var(--t-klein); }
.meldung ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.meldung-fehler { background: rgba(255, 80, 120, 0.14); border: 1px solid rgba(255, 110, 140, 0.5); color: #ffd6df; }
.meldung-ok { background: rgba(127, 231, 255, 0.12); border: 1px solid rgba(127, 231, 255, 0.45); color: #dff8ff; }

.eintrag {
  margin: 0;
  padding: 1.1rem 1.3rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
}
.eintrag:target { border-color: var(--bernstein); box-shadow: 0 0 0 3px rgba(127, 231, 255, 0.2); }
.eintrag-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.8rem; margin-bottom: 0.5rem; }
.eintrag-kopf strong { font-size: 1.125rem; color: #fff; }
.eintrag-kopf time, .eintrag-ort { font-size: 0.875rem; color: var(--text-weich); }
.eintrag-kopf time { margin-left: auto; }
.eintrag p { overflow-wrap: anywhere; }
.call {
  padding: 0.05rem 0.55rem;
  border: 1px solid rgba(127, 231, 255, 0.45); border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none;
}
.eintrag-bild { display: block; margin-top: 0.9rem; }
.eintrag-bild img { max-height: 28rem; width: auto; border-radius: 12px; }
.leer { color: var(--text-weich); }

.themen-tabelle { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.themen-tabelle a {
  display: grid; gap: 0.3rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  color: var(--text); text-decoration: none;
}
.themen-tabelle a:hover { border-color: rgba(193, 60, 255, 0.7); }
.thema-name { font-size: 1.1875rem; font-weight: 600; color: #fff; line-height: 1.35; }
.thema-info { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-size: 0.875rem; color: var(--text-weich); }
.mit-bild { margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: rgba(193, 60, 255, 0.3); font-size: 0.75rem; font-weight: 500; vertical-align: middle; }
.zurueck { margin: 0 0 0.75rem !important; font-size: var(--t-klein); }
.thema-titel { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.blaettern { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; font-size: var(--t-klein); color: var(--text-weich); }

.knopf-gefahr { background: linear-gradient(90deg, #ff4f7a, #c13cff) !important; }
.unterseite-text blockquote { margin: 1rem 0; }

.admin-anmeldung { max-width: 26rem; margin-top: 1.5rem; }
.admin-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.admin-titel { margin: 2.5rem 0 0.75rem; }
.admin-tabelle { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.admin-tabelle td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.admin-tabelle td:first-child { white-space: nowrap; color: var(--text-weich); }
.admin-loeschen button {
  padding: 0.35rem 0.9rem; border: 1px solid rgba(255, 110, 140, 0.6); border-radius: 999px;
  background: transparent; color: #ffb3c4; font: inherit; cursor: pointer;
}
.admin-loeschen button:hover { background: rgba(255, 80, 120, 0.2); }
code { font-family: var(--schrift-mono); }

@media (max-width: 62rem) {
  .community-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "formular" "liste"; }
  .community-formular { position: static; }
}
@media (max-width: 30rem) {
  .feld-reihe { grid-template-columns: 1fr; }
  .eintrag-kopf time { margin-left: 0; width: 100%; }
  .admin-tabelle td:nth-child(3) { display: none; }
}


/* ==========================================================================
   Logbuch: passend skaliert. Handy: alles etwas kompakter
   ========================================================================== */

.logbuch-huelle { position: relative; width: 100%; overflow: hidden; border-radius: 12px; }
.logbuch-huelle .logbuch-frame { position: absolute; top: 0; left: 0; transform-origin: 0 0; border-radius: 0; }

@media (max-width: 39.99rem) {
  :root {
    --t-text: 1.0625rem;
    --t-klein: 0.9375rem;
    --t-lead: 1.1875rem;
    --t-h2: 1.875rem;
    --abstand: 2.75rem;
    --rand: 1rem;
  }
  body { line-height: 1.55; }

  /* Menü: eine Zeile, zum Wischen */
  .kopf { flex-wrap: nowrap; flex-direction: column; align-items: flex-start; gap: 0.4rem; padding-block: 0.8rem; }
  .kopf-marke { width: auto; font-size: 1rem; }
  .kopf-links {
    flex-wrap: nowrap; overflow-x: auto; width: 100%;
    gap: 0.15rem; padding-bottom: 0.2rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .kopf-links::-webkit-scrollbar { display: none; }
  .kopf-links a { padding: 0.35rem 0.7rem; font-size: 0.875rem; white-space: nowrap; }

  /* Startseite: Karte kompakter */
  .buehne { padding-top: 0.75rem; }
  .wand { padding-bottom: 2rem; }
  .qsl { padding: 1rem; gap: 0.75rem; border-radius: 18px; }
  .qsl-foto { aspect-ratio: 21 / 9; }
  .qsl-kopf { padding: 0.8rem 0.9rem 1rem; }
  .qsl-dach { font-size: 0.75rem; letter-spacing: 0.2em; }
  .knopf { min-height: 2.75rem; padding: 0.55rem 1rem 0.55rem 0.85rem; font-size: 0.9375rem; }
  .bericht { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .bericht > div { padding: 0.4rem 0.55rem 0.45rem; border-radius: 10px; }
  .bericht > div:nth-child(5) { grid-column: span 2; }
  .bericht dt { font-size: 0.625rem; letter-spacing: 0.1em; }
  .bericht dd { font-size: 0.9375rem; }
  .qsl-gruss { font-size: 0.8125rem; }

  .titel { gap: 0.6rem; }
  .themen-name { font-size: 1.25rem; }
  .themen-liste a { padding: 0.9rem 1rem 1rem; }
  .geraete h3 { font-size: 1.0625rem; }
  .geraete li { gap: 0.75rem; padding: 0.8rem 0.5rem 0.85rem 0.2rem; }
  .ausklang-gruss { font-size: 2.25rem; }
  .ausklang-text-flaeche { padding-block: 2rem; }
  .formular { padding: 1rem; border-radius: 16px; }
  .eintrag { padding: 0.9rem 1rem 1rem; }
  .logbuch { padding: 6px; }
  .unterseite-text { overflow-wrap: break-word; hyphens: auto; }
}

/* Löschknöpfe für den angemeldeten Betreiber */
.admin-inline { display: inline; margin: 0; }
.admin-inline button {
  padding: 0.15rem 0.7rem; border: 1px solid rgba(255, 110, 140, 0.6); border-radius: 999px;
  background: rgba(255, 80, 120, 0.12); color: #ffb3c4; font: inherit; font-size: 0.8125rem; cursor: pointer;
}
.admin-inline button:hover { background: rgba(255, 80, 120, 0.3); }
.thema-zeile { position: relative; }
.thema-zeile > .admin-inline { position: absolute; top: 0.9rem; right: 1rem; z-index: 1; }

.admin-hinweis {
  padding: 0.6rem var(--rand);
  background: rgba(255, 80, 120, 0.16);
  border-bottom: 1px solid rgba(255, 110, 140, 0.45);
  color: #ffd6df; font-size: 0.9375rem; text-align: center;
}
.admin-abmelden button { font-size: 0.875rem; }


/* ==========================================================================
   Terminkalender
   ========================================================================== */

/* Startseite: Begrüßung links, Mini-Kalender rechts */
.start-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: 2rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.mini-kalender {
  display: block;
  padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.mini-kalender:hover { border-color: rgba(193, 60, 255, 0.7); color: var(--text); }
.mini-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.7rem; }
.mini-monat { font-family: var(--schrift-titel); font-size: 1.125rem; font-weight: 500; color: #fff; }
.mini-link { font-size: 0.8125rem; color: var(--bernstein); }
.mini-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2rem; text-align: center; }
.mini-wt { font-size: 0.6875rem; color: var(--text-weich); padding-bottom: 0.2rem; }
.mini-tag {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.mini-tag.heute { background: linear-gradient(135deg, var(--magenta), #4f7dff); color: #fff; font-weight: 600; }
.mini-tag.hat-termin::after {
  content: ""; position: absolute; bottom: 12%; left: 50%;
  width: 0.3rem; height: 0.3rem; margin-left: -0.15rem; border-radius: 50%;
  background: var(--bernstein); box-shadow: 0 0 6px var(--bernstein-glimm);
}
.mini-naechste { display: grid; gap: 0.35rem; margin: 0.9rem 0 0; padding: 0.8rem 0 0; list-style: none; border-top: 1px solid var(--linie); font-size: 0.875rem; }
.mini-naechste li { display: flex; gap: 0.6rem; }
.mini-datum { flex: none; min-width: 3.2rem; color: var(--bernstein); font-variant-numeric: tabular-nums; }
.mini-titel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-leer { color: var(--text-weich); }

/* Terminseite: großer Monatskalender */
.kalender {
  padding: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}
.kalender-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.kalender-monat { font-size: 1.5rem; font-weight: 400; }
.kalender-pfeil {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%;
  font-size: 1.5rem; line-height: 1; text-decoration: none; color: #fff;
}
.kalender-pfeil:hover { border-color: var(--bernstein); color: var(--bernstein); }
.kalender-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; }
.kalender-wt { padding: 0.2rem 0.4rem; font-size: 0.8125rem; color: var(--text-weich); }
.kalender-tag {
  display: flex; flex-direction: column; gap: 0.2rem;
  min-height: 5.2rem; padding: 0.35rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  min-width: 0;
}
.kalender-tag.leer { background: none; border-color: transparent; }
.kalender-tag.heute { border-color: var(--bernstein); box-shadow: inset 0 0 0 1px var(--bernstein); }
.kalender-zahl { font-size: 0.875rem; color: var(--text-weich); font-variant-numeric: tabular-nums; }
.kalender-tag.heute .kalender-zahl { color: var(--bernstein); font-weight: 600; }
.kalender-eintrag {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0.1rem 0.4rem; border-radius: 6px;
  background: rgba(193, 60, 255, 0.35); color: #fff;
  font-size: 0.75rem; text-decoration: none;
}
.kalender-eintrag.art-flohmarkt { background: rgba(255, 178, 30, 0.4); }
.kalender-eintrag.art-contest, .kalender-eintrag.art-fieldday { background: rgba(57, 217, 138, 0.35); }
.kalender-eintrag.art-treffen { background: rgba(79, 125, 255, 0.45); }
.kalender-mehr { font-size: 0.6875rem; color: var(--text-weich); }

.termine-ueberschrift { margin-top: 1.5rem; }
.termin { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1rem; scroll-margin-top: 1.5rem; }
.termin-datum {
  display: grid; align-content: center; justify-items: center;
  height: 3.6rem; border-radius: 12px;
  background: linear-gradient(135deg, rgba(193, 60, 255, 0.45), rgba(79, 125, 255, 0.45));
}
.termin-tag { font-size: 1.375rem; font-weight: 600; line-height: 1; color: #fff; }
.termin-monat { font-size: 0.75rem; color: #e6e1ff; }
.termin-art {
  padding: 0.05rem 0.55rem; border-radius: 999px;
  background: rgba(193, 60, 255, 0.3); font-size: 0.75rem;
}
.termin-art.art-flohmarkt { background: rgba(255, 178, 30, 0.35); }
.termin-art.art-contest, .termin-art.art-fieldday { background: rgba(57, 217, 138, 0.3); }
.termin-art.art-treffen { background: rgba(79, 125, 255, 0.4); }
.termin-wann { color: var(--silber); font-size: 0.9375rem; margin-bottom: 0.4rem; }
.termin-inhalt p + p { margin-top: 0.4rem; }
.termin-von { font-size: 0.8125rem; color: var(--text-weich); }
.feld select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  background: rgba(10, 6, 34, 0.55); color: #fff; font: inherit; font-weight: 400;
}
.feld input[type="date"], .feld input[type="time"] {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  background: rgba(10, 6, 34, 0.55); color: #fff; font: inherit; font-weight: 400; color-scheme: dark;
}

@media (max-width: 62rem) {
  .start-raster { grid-template-columns: minmax(0, 1fr); }
  .mini-kalender { max-width: 26rem; }
}
@media (max-width: 39.99rem) {
  .kalender-tag { min-height: 2.6rem; padding: 0.25rem; align-items: center; }
  .kalender-eintrag { width: 0.45rem; height: 0.45rem; padding: 0; border-radius: 50%; font-size: 0; }
  .kalender-mehr { display: none; }
  .kalender-wt { text-align: center; padding: 0; font-size: 0.6875rem; }
  .kalender-monat { font-size: 1.25rem; }
  .termin { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; }
  .termin-datum { height: 3rem; }
}

/* Auf schmalen Bildschirmen zuerst der Kalender, dann das Formular */
@media (max-width: 62rem) {
  .termine-raster { grid-template-areas: "kopf" "liste" "formular"; }
}

/* Rufzeichen-Farbverlauf: pro Buchstabe, damit Safari ihn zeigt
   (Safari malt background-clip:text nicht in inline-block-Kinder) */
.rufzeichen {
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  color: #8f8cff;
}
.rufzeichen .zeichen {
  background-image: linear-gradient(90deg, #7fe7ff 0%, #8f8cff 50%, #e26bff 100%);
  background-size: 500% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rufzeichen .zeichen:nth-child(1) { background-position: 0% 0; }
.rufzeichen .zeichen:nth-child(2) { background-position: 25% 0; }
.rufzeichen .zeichen:nth-child(3) { background-position: 50% 0; }
.rufzeichen .zeichen:nth-child(4) { background-position: 75% 0; }
.rufzeichen .zeichen:nth-child(5) { background-position: 100% 0; }
.rufzeichen .zeichen.an { background-image: none; color: #fff; -webkit-text-fill-color: #fff; }

/* Morsezeichen passend zur schmaleren Schrift: kleiner, und mehr Platz um die "1" */
.morse { gap: 0.03em; }
.morse i { width: 0.03em; height: 0.03em; border-radius: 0.015em; }
.morse i.s { width: 0.09em; }
.rufzeichen .zeichen:nth-child(3) { margin-inline: 0.07em; }
.morse i { background: rgba(170, 168, 255, 0.9); }
