/* SPIELO24 — Verzeichnis & Karte
   Ergänzt spielo24.css. Dark + Gold, seriös. Kein externer Abruf ausser OSM-Tiles nach Klick. */

/* ---------- Zähler / Kopf ---------- */
.vz-kopf { padding: 34px 0 18px; }
.vz-kopf h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; margin: 8px 0 10px; }
.vz-kopf .vz-unter { color: var(--muted); font-size: 1rem; max-width: 660px; }

/* ---------- Kartenstreifen (lädt erst nach Klick) ---------- */
.karte-block { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; margin: 0 0 26px; }
.karte-kopf { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 18px; flex-wrap: wrap; }
.karte-kopf p { color: var(--muted); font-size: 1rem; margin: 0; max-width: 520px; }
.karte-kopf strong { color: var(--text); font-weight: 600; }
#karte-laden {
  min-height: 48px; padding: 12px 22px; font-size: 1rem; font-weight: 600;
  background: var(--gold); color: #0A0A0A; border: 0; border-radius: 8px; cursor: pointer;
  font-family: inherit;
}
#karte-laden:hover { background: var(--gold-soft); }
#karte-laden:disabled { opacity: .55; cursor: default; }
.karte-datenschutz { padding: 0 18px 16px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
#karte-flaeche { height: 0; width: 100%; background: var(--bg-3); transition: height .2s ease; }
#karte-flaeche.aktiv { height: 460px; }
#karte-flaeche .leaflet-container { background: #1b1b1b; font-family: inherit; }
.leaflet-container a { color: #1a6fb5; }
/* Leaflet-Attribution gut lesbar halten (ODbL-Pflicht) */
.leaflet-control-attribution { font-size: .78rem !important; background: rgba(255,255,255,.92) !important; color: #222 !important; }
.leaflet-control-attribution a { color: #0b5394 !important; font-weight: 600; }
.karte-legende { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 18px 16px; color: var(--muted); font-size: .95rem; }
.karte-legende span { display: inline-flex; align-items: center; gap: 7px; }
.punkt { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.punkt.h { background: #D4AF37; }
.punkt.a { background: #5B8DEF; }
.punkt.c { background: #C0392B; }
.cluster-punkt {
  background: rgba(212,175,55,.22); color: var(--gold); border: 1px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; box-shadow: 0 0 0 2px rgba(10,10,10,.6);
}
.popup-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: #111; }
.popup-art { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #666; margin-bottom: 8px; }
.popup-zeile { font-size: .92rem; color: #222; margin: 4px 0; }
.popup-zeile a { color: #0b5394; font-weight: 600; }
.popup-leer { font-size: .9rem; color: #777; font-style: italic; }

/* ---------- Filterleiste ---------- */
/* section.wrap bringt 70px/40px Padding aus spielo24.css mit — hier mit gleicher Spezifitaet zurueckholen */
section.wrap.filter { position: sticky; top: 64px; z-index: 40; background: rgba(10,10,10,.97);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 11px 0 9px; margin-bottom: 20px; }
.filter-reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
@media (min-width: 1000px) { .filter-reihe { flex-wrap: nowrap; } }
.feld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feld > label { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.feld input[type="search"], .feld select {
  font-family: inherit; font-size: 1rem; color: var(--text); background: var(--bg-3);
  border: 1px solid var(--line); border-radius: 7px; padding: 10px 11px; min-height: 44px;
}
.feld input[type="search"]:focus, .feld select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.feld-suche { flex: 1 1 220px; min-width: 0; }
.feld-suche input { width: 100%; }
.feld-art select { min-width: 140px; }
.feld-ort select { min-width: 148px; max-width: 200px; }
.schalter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.schalter label {
  display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; color: var(--text);
  border: 1px solid var(--line); border-radius: 7px; padding: 0 11px; min-height: 44px;
  background: var(--bg-3); cursor: pointer; user-select: none; white-space: nowrap;
}
.schalter input { width: 17px; height: 17px; accent-color: var(--gold); margin: 0; }
.schalter label:has(input:checked) { border-color: var(--gold); color: var(--gold); }
.filter-fuss { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 7px; flex-wrap: wrap; }
#zaehler { color: var(--gold); font-weight: 700; font-size: .97rem; }
#reset { background: none; border: 0; color: var(--muted); font-size: .9rem; cursor: pointer;
  text-decoration: underline; padding: 6px 2px; font-family: inherit; }
#reset:hover { color: var(--gold); }

/* ---------- Liste ---------- */
.vz-liste { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 20px; }
@media (min-width: 780px) { .vz-liste { grid-template-columns: 1fr 1fr; } }
.e {
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 9px;
  content-visibility: auto; contain-intrinsic-size: auto 150px;
}
.e[hidden] { display: none; }
.e-kopf { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.e-kopf h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin: 0; }
.b { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 4px 8px; border-radius: 5px; white-space: nowrap; }
.b.h { color: #D4AF37; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.4); }
.b.a { color: #7FA9F5; background: rgba(91,141,239,.12); border: 1px solid rgba(91,141,239,.4); }
.b.c { color: #E8756A; background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.42); }
.ad { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0; }
.ad .hinweis { color: #8A8A8A; font-style: italic; }
.ak { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.ak a, .ak button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 14px;
  border-radius: 7px; font-size: .95rem; font-weight: 600; font-family: inherit;
  border: 1px solid var(--line); background: var(--bg-3); color: var(--text);
  cursor: pointer; text-decoration: none; line-height: 1;
}
.ak a.t { color: var(--gold); border-color: rgba(212,175,55,.45); }
.ak a.t:hover, .ak button:hover { border-color: var(--gold); color: var(--gold); }
.ak .leer { color: var(--muted); font-size: .95rem; padding: 11px 0; font-style: italic; }
.ak .w { color: var(--text); }
.ak .osm { color: var(--muted); font-weight: 500; font-size: .9rem; }
html:not(.js) .filter, html:not(.js) .karte-block, html:not(.js) .ak button, html:not(.js) .nur-js { display: none; }

/* ---------- Ohne JS / Hinweise ---------- */
.vz-hinweis { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 760px; margin: 8px 0 26px; }
.vz-hinweis a { color: var(--gold); }
#leer { padding: 30px 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  /* Kopfzeile: Marke oben, Navigation darunter — sonst 132 px Überlauf bei 390 px */
  .header-inner { height: auto; flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px 0; }
  .brand-sub { display: none; }
  .nav { width: 100%; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .9rem; white-space: nowrap; }
  .karte-kopf { padding: 14px 14px; }
  #karte-laden { width: 100%; }
  #karte-flaeche.aktiv { height: 340px; }
  .filter { top: 0; position: static; }
  .feld, .feld-suche { flex: 1 1 100%; min-width: 0; }
  .feld input[type="search"], .feld select { width: 100%; }
  .ak a, .ak button { flex: 1 1 auto; justify-content: center; font-size: 1rem; }
  .e { padding: 13px 14px; }
  .vz-kopf h1 { font-size: 1.6rem; }
}
