/* Entdeckerradar – Testversion. Schriften lokal gehostet (OFL-Lizenzen in assets/fonts). */
/* Schriften lokal (SIL Open Font License): Fredoka für Überschriften, Nunito Sans für Text */
@font-face { font-family: "Fredoka"; font-weight: 300 700; font-display: swap;
  src: url("fonts/fredoka-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-style: normal; font-display: swap;
  src: url("fonts/nunito-sans-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-style: italic; font-display: swap;
  src: url("fonts/nunito-sans-latin-wght-italic.woff2") format("woff2"); }

:root {
  --paper: #f6f9f8;
  --ink: #1c2a35;
  --leine: #0b6e6e;      /* Hauptfarbe */
  --leine-soft: #dcecea;
  --laterne: #f2b233;    /* nur Traditionen */
  --laterne-soft: #fdf1d6;
  --grau: #5a6a75;
  --linie: #d5e0df;
  --weiss: #ffffff;
  --display: "Fredoka", "Avenir Next Rounded", system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, sans-serif;
  --radius-l: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--text);
  overflow-x: clip; } /* Sicherheitsnetz: nichts darf die Seite am Handy seitlich verschiebbar machen */
a { color: var(--leine); text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--weiss); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

main { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Kopf: Eyebrow mit Wortmarke, Titel, Suche – das Radar rechts dahinter */
.hero { position: relative; padding: 18px 0 32px; isolation: isolate; }
.hero:has(.topnav details[open]), .hero:has(.suggest:not([hidden])) { z-index: 7; } /* offenes Menü und Suchvorschläge über Highlights und Filterzeile */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 6px 1rem;
  margin-bottom: clamp(14px, 2.4vw, 22px); }
.eyebrow { margin: 0; font-size: 1rem; color: var(--grau); }
/* Logo: „Entdeckerradar“ in Fredoka, das erste a von „radar“ ist der Radarschirm (mit Strich, damit es kein o ist) */
.logo { display: inline-flex; align-items: baseline; gap: 0.35em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-icon { width: 1.9rem; height: 1.9rem; align-self: center; flex: none; margin-right: -0.05em; }
.logo-word { font: 600 1.625rem/1 var(--display); letter-spacing: -0.005em; }
.logo-radar { color: var(--leine); }
.logo-city { font: 500 1.125rem/1 var(--display); color: var(--ink); }
.tagline::before { content: "– "; }
/* Kategorie-Menü im Kopf */
.topnav { display: flex; gap: 4px; margin-left: auto; position: relative; z-index: 6; }
.topnav details { position: relative; }
.topnav details:not([open]) > ul { display: none; } /* geschlossene Menüs nehmen keinen Platz ein (sonst seitliches Wackeln am Handy) */
.topnav summary { list-style: none; cursor: pointer; font: 600 1rem var(--display); padding: 6px 12px; border-radius: var(--radius-pill); }
.topnav summary::-webkit-details-marker { display: none; }
.topnav summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.topnav summary:hover, .topnav details[open] summary { background: var(--leine-soft); }
.topnav ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 15rem; margin: 0; padding: 8px 0; list-style: none;
  background: var(--weiss); border: 2px solid var(--ink); border-radius: var(--radius-s); box-shadow: 0 10px 24px rgb(28 42 53 / 0.14); }
.topnav a { display: block; padding: 7px 16px; color: var(--ink); text-decoration: none; }
.topnav a:hover, .topnav a:focus-visible { background: var(--leine-soft); }
.topnav a.topnav-link { font: 600 1rem var(--display); padding: 6px 12px; border-radius: var(--radius-pill); }
.hero h1 { font: 700 clamp(2.2rem, 5.6vw, 3.75rem)/1.02 var(--display); letter-spacing: -0.01em;
  margin: 0 0 18px; max-width: 16ch; }
.hero h1.long { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 20ch; }

/* Headerbild hinter Titel und Suche; die Suche ragt zur Hälfte über die Unterkante */
.banner { --radar-size: clamp(170px, 30vw, 380px); position: relative; isolation: isolate; overflow-x: clip; /* Radar ragt am Handy über den Rand */
  margin: 0 calc(-1 * var(--gutter)) 52px; padding: clamp(36px, 6vw, 72px) var(--gutter) 0;
  min-height: clamp(260px, 30vw, 380px); display: flex; flex-direction: column; justify-content: flex-end; }
.banner:focus-within { z-index: 6; } /* Suchvorschläge liegen über Einleitung und Filterzeile */
.banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; background: var(--leine-soft); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(12 38 44 / 0.78) 0%, rgb(12 38 44 / 0.55) 34%, rgb(12 38 44 / 0.12) 62%, transparent 78%),
              linear-gradient(0deg, rgb(12 38 44 / 0.45) 0%, transparent 45%); }
.banner[data-radar=links]::before { background: linear-gradient(270deg, rgb(12 38 44 / 0.78) 0%, rgb(12 38 44 / 0.55) 34%, rgb(12 38 44 / 0.12) 62%, transparent 78%),
              linear-gradient(0deg, rgb(12 38 44 / 0.45) 0%, transparent 45%); }
@media (min-width: 900px) {
  .banner { margin-left: 0; margin-right: 0; padding-left: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px); }
  .banner > img, .banner::before { border-radius: var(--radius-l); }
}
.banner-content { position: relative; z-index: 2; }
.banner[data-radar=links] .banner-content { align-self: flex-end; }
.banner .search-form { margin-bottom: -32px; } /* halb über der Kante */
.banner .search input { border-color: var(--weiss); box-shadow: 0 12px 30px rgb(12 38 44 / 0.28); }
.banner-credit { position: absolute; right: 14px; bottom: 8px; z-index: 3; margin: 0; font-size: 0.6875rem; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / 0.7); }
@media (min-width: 900px) { .banner-credit { right: 22px; } }
.hero .banner h1 { color: var(--weiss); text-shadow: 0 2px 18px rgb(12 38 44 / 0.45); }
.intro { margin-top: 4px; }

/* Radar: echte Lage um den Kröpcke, Rand = 42 km, Umrisse von Region und Stadt */
/* Radar fügt sich ins Bild: heller Verlauf in der Mitte, weicher Rand ohne Kante */
.radar { position: absolute; z-index: 1; right: clamp(4px, 3vw, 48px); top: 50%; translate: 0 -46%;
  width: var(--radar-size); aspect-ratio: 1; border-radius: 50%; overflow: hidden; pointer-events: none;
  -webkit-mask: radial-gradient(circle closest-side, #000 72%, transparent 100%); mask: radial-gradient(circle closest-side, #000 72%, transparent 100%);
  background:
    radial-gradient(circle closest-side, rgb(246 249 248 / 0.8) 0 50%, rgb(246 249 248 / 0.4) 78%, rgb(246 249 248 / 0) 100%),
    radial-gradient(circle, var(--leine) 0 3px, transparent 4px),
    repeating-radial-gradient(circle closest-side, transparent 0 calc(25% - 1px), var(--linie) calc(25% - 1px) 25%),
    linear-gradient(transparent calc(50% - 0.5px), var(--linie) 0 calc(50% + 0.5px), transparent 0),
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--linie) 0 calc(50% + 0.5px), transparent 0); }
.banner[data-radar=links] .radar { right: auto; left: clamp(4px, 3vw, 48px); }
.outline { position: absolute; inset: 0; width: 100%; height: 100%; }
.outline path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.outline .region { fill: rgb(11 110 110 / 0.05); stroke: rgb(11 110 110 / 0.45); stroke-width: 1.25; stroke-dasharray: 3 3; }
.outline .stadt { fill: rgb(11 110 110 / 0.12); stroke: var(--leine); stroke-width: 1.5; }
.outline .ort, .minimap .ort { font: 600 2.6px var(--display); fill: var(--grau); text-anchor: middle; }
.minimap .ort { display: none; }
/* Der Scan läuft dauerhaft, ruhig und gleichmäßig */
.sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgb(11 110 110 / 0.24), rgb(11 110 110 / 0.06) 50deg, transparent 75deg);
  animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--leine); box-shadow: 0 0 0 4px rgb(11 110 110 / 0.14); }
.blip--termin { background: var(--ink); box-shadow: 0 0 0 4px rgb(28 42 53 / 0.12); }
.blip--tradition { background: var(--laterne); box-shadow: 0 0 0 4px rgb(242 178 51 / 0.25); }
/* Eintragsseite: der eine Ort im Kopf-Radar */
.blip--eintrag { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--ink); border: 2px solid var(--weiss); box-shadow: 0 0 0 7px rgb(242 178 51 / 0.45); }
@media (prefers-reduced-motion: reduce) { .sweep { animation: none; transform: rotate(-40deg); } }

/* Uhrzeiten, Preise und Altersangaben in der Display-Schrift mit gleich breiten Ziffern */
.pill-select select, .segmented span, .tags li, .status, .date, .event .time { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* Suche mit Vorschlägen */
.search-form { max-width: 640px; }
.search { position: relative; }
.search input { width: 100%; font: inherit; font-size: 1.1875rem; padding: 15px 18px 15px 50px;
  /* Lupe vor dem Text (dekorativ) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235b6b73' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 17px 50%; background-size: 22px 22px;
  border: 2px solid var(--ink); border-radius: var(--radius-s); background-color: var(--weiss); color: var(--ink); }
.search input::placeholder { color: var(--grau); }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none;
  background: var(--weiss); border: 2px solid var(--ink); border-radius: var(--radius-s); box-shadow: 0 10px 24px rgb(28 42 53 / 0.14); }
.suggest li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 16px; cursor: pointer; }
.suggest li[aria-selected=true], .suggest li:hover { background: var(--leine-soft); }
.suggest li:last-child { border-top: 1px solid var(--linie); margin-top: 4px; }
.s-label { font-weight: 700; }
.s-art { color: var(--grau); font-size: 0.875rem; white-space: nowrap; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Filterzeile: eine Zeile direkt über den Ergebnissen, bleibt beim Scrollen oben */
.filterbar { position: sticky; top: 0; z-index: 4; background: var(--paper); border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--linie); padding: 12px 0 10px; margin-bottom: 18px; }
.filter-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.filter-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filter-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0; } }
.pill-select { position: relative; flex: none; }
.pill-select select { field-sizing: content; max-width: 15rem; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  padding: 8px 32px 8px 14px; border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); cursor: pointer; }
.pill-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.pill-select:hover select { border-color: var(--ink); }
.pill-select.set select { background: var(--ink); border-color: var(--ink); color: var(--weiss); }
.pill-select.set::after { color: var(--weiss); }
.pill-select select:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; }
.date { flex: none; font: inherit; font-size: 0.9375rem; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--weiss); }
.pill-button, .button { flex: none; font: 700 0.9375rem var(--text); padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--leine); background: transparent; color: var(--leine); cursor: pointer; white-space: nowrap; }
.pill-button:hover, .button:hover { background: var(--leine-soft); }
.segmented { flex: none; display: flex; margin-left: auto; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); overflow: hidden; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 7px 14px; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.segmented label + label span { border-left: 1.5px solid var(--ink); }
.segmented input:checked + span { background: var(--ink); color: var(--weiss); }
.segmented input:focus-visible + span { outline: 3px solid var(--leine); outline-offset: -4px; }
.hint { margin: 6px 0 0; color: var(--grau); font-size: 0.875rem; }
.hint:empty { display: none; }

/* Highlights in Hannover: Traditionen der Saison mit Foto (bzw. Laternen-Symbol ohne Foto) */
.traditions.off { display: none; }
.traditions { position: relative; z-index: 1; margin: 0 0 28px; }
.traditions h2 { font: 700 1.75rem/1.1 var(--display); margin: 0 0 14px; }
.tradition-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 820px) { .tradition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .tradition .photo-wrap { width: 104px; } }
.tradition { display: flex; align-items: stretch; text-align: left; width: 100%; padding: 0; font: inherit; color: inherit; cursor: pointer;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--laterne); border-radius: var(--radius-m, 14px); overflow: hidden;
  box-shadow: 0 2px 0 rgb(28 42 53 / 0.04); transition: box-shadow .15s, transform .15s; }
.tradition:hover { box-shadow: 0 10px 24px rgb(28 42 53 / 0.12); transform: translateY(-2px); }
/* Kompakt: Bild links, Inhalt rechts */
.tradition .photo-wrap { position: relative; flex: none; width: 128px; min-height: 104px; background: var(--laterne-soft); }
.tradition .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tradition .photo-wrap.icon { display: grid; place-items: center; }
.tradition .photo-wrap.icon .tradition-icon { width: 52px; height: 52px; }
.tradition .photo-badge { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); }
.tradition .photo-badge .tradition-icon { width: 20px; height: 20px; }
.photo-credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 3px; font-size: 0.625rem; line-height: 1.2; color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.55)); }
.tradition .t-body { display: grid; align-content: center; gap: 2px; padding: 12px 16px; }
.tradition strong { font: 700 1.125rem/1.2 var(--display); }
.tradition .when-text { color: var(--grau); font-size: 0.875rem; }
.tradition .go { font-weight: 700; color: var(--leine); font-size: 0.9375rem; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .tradition { transition: none; } .tradition:hover { transform: none; } }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.active-filters[hidden] { display: none; }
.active-filters button { font: 400 0.875rem var(--text); border: 0; background: var(--leine-soft); color: var(--ink);
  border-radius: var(--radius-pill); padding: 5px 12px; cursor: pointer; }
.active-filters button::after { content: " ×"; font-weight: 700; }
.active-filters .reset { padding-left: 4px; background: transparent; text-decoration: underline; text-underline-offset: 0.15em; color: var(--leine); }
.active-filters .reset::after { content: none; }

/* Ergebnisse */
.results { display: grid; gap: 40px; padding: 8px 0 56px; }
.results[aria-busy=true] { opacity: 0.55; transition: opacity .2s; }
@media (min-width: 900px) { .results { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
@media (min-width: 900px) { .results:has(.col[hidden]) { grid-template-columns: minmax(0, 760px); } }
.results.orte-zuerst .col-orte { order: -1; } /* Orts-Rubriken: Orte links bzw. oben, Termine dazu rechts */
.results h2 { font: 700 1.75rem/1.1 var(--display); margin: 0 0 12px; }
.results h3 { font: 700 1.25rem/1.2 var(--display); margin: 28px 0 8px; }
.col[hidden] { display: none; }

.day { font: 600 1rem var(--display); color: var(--leine); margin: 22px 0 4px; }
.day:first-child { margin-top: 0; }
.event { display: grid; grid-template-columns: 4.25rem 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.event .time { font: 700 1.125rem/1.35 var(--display); font-variant-numeric: tabular-nums; }
.event.tradition-event { box-shadow: inset 4px 0 0 var(--laterne); padding-left: 12px; margin-left: -12px; }
.title { font-weight: 700; font-size: 1.0625rem; margin: 0; }
.place { margin: 2px 0 0; color: var(--grau); font-size: 0.9375rem; }
.desc { margin: 6px 0 0; font-size: 0.9375rem; max-width: 62ch; }
/* Lange Beschreibungen: zugeklappt drei Zeilen, aufgeklappt vollständig */
.item:not(.is-open) .desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; list-style: none; }
.tags li { font-size: 0.8125rem; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--weiss); border: 1px solid var(--linie); }
.tags .free { background: var(--leine-soft); border-color: transparent; font-weight: 700; }
.tags .kid-3, .tags .kid-2 { background: var(--laterne-soft); border-color: transparent; font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 0.9375rem; }

/* Einträge: Titel öffnet die Details */
.item { cursor: pointer; }
.item .details { cursor: auto; }
.open { all: unset; cursor: pointer; font-weight: 700; }
.open:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.open:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; border-radius: 3px; }
.open::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 4px 3px 8px;
  border: solid var(--grau); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.open[aria-expanded=true]::after { transform: rotate(-135deg); margin-bottom: -1px; }
.item:hover { background: linear-gradient(90deg, transparent, rgb(220 236 234 / 0.35) 20%, rgb(220 236 234 / 0.35) 80%, transparent); }
.item.is-open { background: none; }
.details { grid-column: 1 / -1; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--radius-s); padding: 16px 18px; }
.details-grid { display: grid; gap: 16px; }
.area-line { color: var(--grau); font-size: 0.9375rem; }
.detail-link { margin: 6px 0 0; font-size: 0.9375rem; }
.details-main dl + .detail-link { margin-top: 12px; }
.details-grid { grid-template-columns: 1fr minmax(120px, 38%); align-items: start; }
@media (max-width: 420px) { .details-grid { grid-template-columns: 1fr; } .minimap { max-width: 200px; } }
.details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 0.9375rem; }
.details dt { font-weight: 700; }
.details dd { margin: 0; }
.hours { border-collapse: collapse; font-family: var(--display); font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 600; padding: 0 14px 2px 0; }
.hours td { padding: 0 0 2px; white-space: nowrap; }
.prices { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th { text-align: left; font-weight: 400; padding: 0 14px 2px 0; }
.prices td { padding: 0 0 2px; white-space: nowrap; font-weight: 700; }
.minimap { margin: 0; }
.map-col { display: grid; gap: 10px; justify-items: center; }
.map-col .route { font-size: 0.875rem; text-align: center; }
.minimap svg { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--leine-soft);
  -webkit-mask: radial-gradient(circle closest-side, #000 72%, transparent 100%); mask: radial-gradient(circle closest-side, #000 72%, transparent 100%); } /* läuft zum Rand aus wie das Kopf-Radar */
.minimap .ring, .minimap .cross { fill: none; stroke: var(--weiss); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.minimap path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.minimap .region { fill: rgb(11 110 110 / 0.05); stroke: rgb(11 110 110 / 0.45); stroke-width: 1; stroke-dasharray: 3 3; }
.minimap .stadt { fill: rgb(11 110 110 / 0.1); stroke: var(--leine); stroke-width: 1.25; }
.minimap .halo { fill: rgb(242 178 51 / 0.35); }
.minimap .pin { fill: var(--ink); stroke: var(--weiss); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.minimap figcaption { text-align: center; color: var(--grau); font-size: 0.8125rem; margin-top: 6px; }
.details .links { margin-top: 14px; align-items: center; }
.details .links .button { text-decoration: none; }
.more-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--linie); font-size: 0.9375rem; }
.thumb-link { display: block; line-height: 0; border-radius: var(--radius-s); }
.thumb-link:hover .thumb { outline: 2px solid var(--leine); outline-offset: 2px; }

.place-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.body { min-width: 0; }

/* Bilder: eigenes Foto oder Kategorie-Platzhalter, immer 4:3 */
.thumb { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-s); background: var(--leine-soft); }
.credit { margin: 6px 0 0; font-size: 0.75rem; color: var(--grau); }
/* Tipp und Top-Tipp: das Laternengelb nur hier und bei Traditionen */
.pick { display: inline-block; vertical-align: 2px; margin-left: 4px; font: 600 0.75rem/1 var(--display); padding: 4px 8px 3px;
  border-radius: var(--radius-pill); background: var(--laterne-soft); color: #7a5300; }
.pick::before { content: "★ "; }
.pick.top { background: var(--laterne); color: var(--ink); }
.place-item .head { display: flex; flex-wrap: nowrap; justify-content: space-between; column-gap: 12px; align-items: baseline; }
/* Status bleibt rechts neben dem Titel; der Titel bricht früher um */
.place-item .head .title { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.place-item .head .status { flex: none; text-align: right; }
.place-item .head .status.unbekannt { flex: 0 1 auto; max-width: 45%; }
/* Am Handy darf der Status in sich umbrechen („jetzt offen,“ / „15:00–24:00“), damit der Titel Platz behält */
@media (max-width: 560px) { .place-item .head .status { flex: 0 1 auto; max-width: 42%; white-space: normal; } }
.status { white-space: nowrap; font-size: 0.875rem; font-weight: 700; color: var(--leine); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.status.unbekannt { color: var(--grau); font-weight: 400; white-space: normal; }
.status.soon { color: var(--grau); font-weight: 600; }
.status.soon::before { background: transparent; border: 1.5px solid var(--leine); }
.status.unbekannt::before { background: transparent; border: 1.5px solid currentColor; }

.empty { padding: 18px; background: var(--weiss); border: 1.5px dashed var(--linie); border-radius: var(--radius-s); }
.empty p { margin: 0 0 10px; }
.empty .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.error { color: #9b2c2c; }

/* „Im Kino“ unter den Orten: je Film eine farbige Kachel mit Kino-Symbol und FSK-Plakette */
/* „Heute im Kino“: helle, warme Kinokarte mit angedeuteten Filmstreifen-Kanten und Popcorn */
.kino { position: relative; overflow: hidden; margin: 32px 0 0; padding: 26px 20px 20px; border-radius: var(--radius-l);
  background: var(--laterne-soft); border: 1px solid #f3dfb0; }
.kino::before, .kino::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; opacity: .35;
  background: repeating-linear-gradient(90deg, transparent 0 8px, #c99a3b 8px 14px, transparent 14px 22px); background-size: 22px 4px; background-repeat: repeat-x; background-position: 0 50%; }
.kino::before { top: 6px; }
.kino::after { bottom: 6px; }
.results .kino h2 { position: relative; margin: 0 0 14px; max-width: calc(100% - 84px); font-size: 1.625rem; }
.kino-popcorn { position: absolute; right: 12px; top: 10px; width: 72px; height: 72px; transform: rotate(8deg); }
.kino-popcorn .puffs { fill: #fffaf0; stroke: #e8d3a4; stroke-width: 1.2; }
.kino-popcorn .puff-shade { fill: var(--laterne); opacity: .8; }
.kino-popcorn .box { fill: #d6402f; }
.kino-popcorn .stripe { fill: #fff; }
.kino-popcorn .rim { fill: #b23224; }
.kino .films { position: relative; }
@media (max-width: 560px) { .kino-popcorn { width: 60px; height: 60px; right: 6px; } .results .kino h2 { font-size: 1.375rem; max-width: calc(100% - 66px); } }
.films { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.film { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; background: var(--weiss);
  border: 1px solid var(--linie); color: var(--ink); text-decoration: none; }
.film:hover { border-color: var(--leine); }
.film-title { color: inherit; text-decoration: none; }
.film-title:hover strong { text-decoration: underline; }
.film-cinemas { font-size: 0.875rem; color: var(--grau); }
.film-cinemas a { color: var(--leine); font-weight: 600; }
.showings { display: grid; gap: 14px; }
.showing-cinema { padding: 12px 14px; border: 1px solid var(--linie); border-radius: 14px; background: var(--weiss); }
.showing-cinema h3 { margin: 0 0 6px; font: 700 1.125rem var(--display); }
.showing-cinema h3 a { color: var(--ink); }
.film-days a.current { background: var(--leine); color: #fff; }
.film:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; }
.film-tile { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 80px; border-radius: 10px; color: #fff; }
.film-icon { width: 34px; height: 34px; }
.film-c0 { background: var(--leine); }
.film-c1 { background: #c2552d; }
.film-c2 { background: #4a5bb5; }
.film-c3 { background: #8a4c9e; }
.fsk { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px;
  border-radius: 50%; border: 2px solid var(--weiss); font: 700 0.8125rem/1 var(--display); background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.fsk-0 { background: #fff; }
.fsk-6 { background: #ffd500; }
.fsk-12 { background: #2fa84f; color: #fff; }
.fsk-16 { background: #1f6fc5; color: #fff; }
.fsk-18 { background: #d0262d; color: #fff; }
.film-body { display: grid; gap: 2px; min-width: 0; }
.film-body strong { font: 700 1.0625rem/1.2 var(--display); }
.film-time { font-weight: 700; color: var(--leine); }
.film-more { color: var(--grau); font-size: 0.9375rem; }
.films-all { margin: 12px 0 0; }
.films.program { gap: 14px; }
.film-program { display: flex; gap: 16px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--weiss); border: 1px solid var(--linie); }
.film-program .film-tile { width: 72px; height: 92px; }
.film-desc { margin: 4px 0 6px; color: var(--grau); font-size: 0.9375rem; }
.film-days { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.film-days li { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.film-day { min-width: 8.5em; font-weight: 600; }
.film-days a { padding: 2px 8px; border-radius: 999px; background: var(--leine-soft); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.film-days a:hover { background: var(--leine); color: #fff; }
.place a.place-link { color: inherit; text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 2px; }
.place a.place-link:hover { text-decoration-color: currentColor; }
.films-all a { font-weight: 700; color: var(--leine); }

/* Sport: Zuschauen / Mitmachen */
.sport-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sport-wahl .chip { font: 600 0.9375rem var(--display); padding: 7px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--linie);
  background: var(--weiss); color: var(--ink); cursor: pointer; }
.sport-wahl .chip.on { background: var(--ink); border-color: var(--ink); color: var(--weiss); }
.sport-wahl .chip:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; }
.tags .sport-mitmachen { background: var(--leine-soft); border-color: transparent; font-weight: 700; }

/* Eigene Seite je Eintrag */
.legal.entry { max-width: 820px; }
.entry-meta { font-weight: 700; color: var(--leine); font-size: 1.125rem; }
.entry-past { padding: 10px 14px; background: var(--laterne-soft); border-radius: var(--radius-s); }
.entry-photo { margin: 0 0 16px; }
.entry-photo img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius-l); }
.entry-photo figcaption { font-size: 0.75rem; color: var(--grau); margin-top: 4px; }
.entry-desc { font-size: 1.125rem; white-space: pre-line; }
.entry-badge { margin: 0 0 8px; }
.legal.entry .details { border: 0; padding: 0; margin: 16px 0 0; background: none; }
.entry-details { margin-top: 12px; }
.entry-details .details-grid { margin-top: 8px; }
.entry h2 { margin-top: 32px; }
.more-links .edit { font-weight: 700; }

.footer { max-width: 1180px; margin: 0 auto; padding: 24px var(--gutter) 40px; color: var(--grau); font-size: 0.875rem; border-top: 1px solid var(--linie); }
.footer p { margin: 0 0 4px; max-width: 72ch; }
.footnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; padding-bottom: 24px; margin-bottom: 18px; border-bottom: 1px solid var(--linie); }
.footnav h2 { font: 700 1rem var(--display); color: var(--ink); margin: 0 0 8px; }
.footnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footnav a { color: var(--ink); text-decoration: none; }
.footnav a:hover { color: var(--leine); text-decoration: underline; }

@media (max-width: 560px) {
  .thumb { width: 84px; height: 63px; }
  .event { grid-template-columns: 3.6rem 1fr; }
  /* Bild bzw. Symbol links unter der Uhrzeit */
  .event .body { grid-column: 2; grid-row: 1 / span 2; }
  .event > .thumb, .event > .thumb-link { grid-column: 1; grid-row: 2; align-self: start; }
  .event .thumb { width: 3.6rem; height: auto; aspect-ratio: 4 / 3; }
  .event .details { grid-row: 3; }
  .masthead { flex-wrap: wrap; }
  .eyebrow { flex: 1 1 60%; }
  .topnav { order: 3; flex-basis: 100%; margin: 10px 0 0 -12px; position: static; }
  .topnav details { position: static; }
  .topnav ul { left: 0; right: 0; top: auto; margin-top: 6px; }
  .masthead { position: relative; }
  .tagline { display: block; margin-top: 4px; }
  .tagline::before { content: none; }
  .outline .region { fill: none; }
  .event { grid-template-columns: 3.6rem 1fr; gap: 10px; }
  .logo-word { font-size: 1.4rem; }
  .logo-icon { width: 1.6rem; height: 1.6rem; }
  .banner { --radar-size: 160px; padding-top: 150px; min-height: 0; }
  .radar { top: 6px; right: -44px; translate: none; }
  .banner[data-radar=links] .radar { left: -48px; }
  .outline .ort { display: none; }
  .logo-city { font-size: 1rem; }
}

/* PLZ-Suche in der Filterzeile */
.plz-field { flex: none; position: relative; } /* hält das unsichtbare Label in der scrollbaren Filterzeile */
.plz-field input { width: 5.5rem; font: 600 0.9375rem var(--display); font-variant-numeric: tabular-nums; padding: 8px 12px;
  border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); color: var(--ink); }
.plz-field input:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; border-color: var(--ink); }

/* Seiten der Ortsliste */
.pager { padding-top: 16px; }
.pager:empty { display: none; }
#naehe { margin-left: auto; }
.pager .count { margin: 0 0 8px; color: var(--grau); font-size: 0.875rem; }
.pager .pages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager .page { font: 600 0.9375rem var(--display); font-variant-numeric: tabular-nums; min-width: 2.4rem; padding: 7px 12px;
  border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); color: var(--ink); cursor: pointer; }
.pager .page:hover { border-color: var(--ink); }
.pager .page.current { background: var(--ink); border-color: var(--ink); color: var(--weiss); }
.pager .gap { color: var(--grau); padding: 0 4px; }

/* ---------- 0.13: Einleitung, Kacheln, Rechtsseiten, Kontakt ---------- */
.intro { margin: 4px 0 12px; font-size: 1.125rem; position: relative; }
@media (max-width: 560px) { .intro { font-size: 1rem; } }
.intro p { margin: 0 0 10px; }
.intro ul { margin: 0 0 10px; padding-left: 1.2em; }
.intro h2 { font: 700 1.25rem/1.2 var(--display); margin: 16px 0 6px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.results:has(.tiles) { grid-template-columns: 1fr; }
.results:has(.tiles) .col-termine { max-width: none; }
.tile { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-s); overflow: hidden; }
.tile.picked { border-color: var(--laterne); }
.tile .thumb-link, .tile > .thumb { order: -1; display: block; }
.tile .thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.tile-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.tile-body p { margin: 0; }
.tile-date { font-weight: 700; color: var(--leine); }
.tile-date span { text-transform: none; }
.tile .place { color: var(--grau); }
.tile.is-open { grid-column: 1 / -1; }
.tile .details { padding: 0 16px 16px; }

.legal { max-width: 680px; position: relative; padding: 8px 0 56px; }
.legal h2 { font: 700 1.375rem/1.2 var(--display); margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 12px; }
body.page-mode .filterbar, body.page-mode #traditionen, body.page-mode #ergebnisse, body.page-mode #intro, body.page-mode #newsletter-teaser { display: none; }
.contact { display: grid; gap: 14px; margin-top: 24px; max-width: 560px; }
.contact label { display: grid; gap: 4px; font-weight: 700; }
.contact input, .contact select, .contact textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--linie); border-radius: var(--radius-s); background: var(--weiss); color: var(--ink); }
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: var(--leine); outline: none; }
.contact .hp, .nl-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .send { font: inherit; font-weight: 700; padding: 12px 22px; border: 0; border-radius: var(--radius-pill); background: var(--leine); color: var(--weiss); cursor: pointer; }
.contact .send:disabled { opacity: .6; }
.contact [hidden] { display: none !important; }
.contact .acc-do-login { font: inherit; font-weight: 700; padding: 9px 20px; border: 1.5px solid var(--leine); border-radius: var(--radius-pill); background: var(--weiss); color: var(--leine); cursor: pointer; margin-right: 10px; }
.contact .acc-login { padding: 12px 14px; border-radius: 12px; background: var(--leine-soft); margin: 0 0 14px; }
.contact .acc-login label:last-of-type { margin-bottom: 8px; }
.contact .acc-in { margin: 0; }
.contact .acc-status:empty { display: none; }

.contact .hint { color: var(--grau); font-size: 0.9375rem; margin: 0; }
.contact .status:empty { display: none; }
.sent { font-size: 1.125rem; font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0 !important; }

/* ---------- Ratgeber-Radar ---------- */
.article-intro { max-width: 68ch; }
.article-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 16px 0; }
.article-card { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-l);
  overflow: hidden; color: var(--ink); text-decoration: none; }
.article-card:hover { border-color: var(--leine); }
.article-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--laterne-soft); }
.article-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.article-img img.placeholder { object-fit: contain; padding: 18px; }
.article-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.article-body strong { font: 600 1.2rem/1.25 var(--display); }
.article-body small { color: var(--grau); }
.article-title { font: 700 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1.2 var(--display); margin: 0 0 6px; max-width: 40ch; }
.article-title a { color: inherit; text-decoration: none; }
.article-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.rg-intro { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--linie); }
.rg-intro p:last-child { margin-bottom: 0; }
.article .article-meta { color: var(--grau); font-size: 0.9375rem; margin: 0 0 12px; }
.article-lead { font-size: 1.1875rem; font-weight: 600; max-width: 68ch; }
.article-text { max-width: 68ch; }
.article-text h2 { font: 600 1.45rem/1.25 var(--display); margin: 1.6em 0 0.4em; }
.article-text h3 { font: 600 1.15rem/1.3 var(--display); margin: 1.3em 0 0.3em; }
.article-text ol, .article-text ul { padding-left: 1.4em; }
.article-text li { margin: 0.25em 0; }
.box { margin: 1.2em 0; padding: 12px 16px; border-radius: var(--radius-s); border-left: 5px solid var(--leine); background: var(--leine-soft); }
.box p { margin: 4px 0 0; }
.box-wissen { border-color: var(--laterne); background: var(--laterne-soft); }
.box-achtung { border-color: #c2410c; background: #fdebe1; }
.article-events, .article-more { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--linie); }
.article-events h2, .article-more h2 { font: 600 1.35rem var(--display); }

/* ---------- Anmelden und Bearbeiten auf der Seite ---------- */
.edit-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 6px 16px;
  background: var(--ink); color: #fff; font-size: 0.875rem; }
.edit-bar a, .edit-bar button { color: #fff; font: inherit; }
.edit-bar button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.edit-who { opacity: .8; margin-right: auto; }
body.has-edit-bar { padding-top: 34px; }
.editing .entry-details .details-grid { grid-template-columns: 1fr; }
.editing .ed-dl { grid-template-columns: max-content minmax(0, 1fr); row-gap: 10px; }
.edit-switch { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
dialog.login { border: 0; border-radius: var(--radius-l); padding: 24px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgb(12 38 44 / .35); }
dialog.login::backdrop { background: rgb(12 38 44 / .45); }
dialog.login h2 { margin: 0 0 4px; }
dialog.login .actions { display: flex; gap: 12px; align-items: center; }
dialog.login .quiet { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; }
dialog.new-event { border: 0; border-radius: var(--radius-l); padding: 24px; width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 20px 60px rgb(12 38 44 / .35); }
dialog.new-event::backdrop { background: rgb(12 38 44 / .45); }
dialog.new-event h2 { margin: 0 0 4px; }
dialog.new-event form > label, dialog.new-event .ne-row label, dialog.new-event .ne-multi label { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; }
dialog.new-event input:not([type=checkbox]):not([type=radio]), dialog.new-event select, dialog.new-event textarea { font: inherit; width: 100%; box-sizing: border-box; }
dialog.new-event .ne-row { display: flex; gap: 12px; flex-wrap: wrap; }
dialog.new-event .ne-row > label { flex: 1 1 140px; }
dialog.new-event fieldset { border: 1px solid var(--line, #d6dde0); border-radius: var(--radius-m, 10px); margin: 14px 0 0; padding: 4px 14px 14px; }
dialog.new-event legend { font-weight: 600; padding: 0 4px; }
dialog.new-event .ne-mode { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 0; }
dialog.new-event label.ed-check { display: inline-flex; flex-direction: row; gap: 8px; align-items: center; font-weight: 400; margin-right: 18px; }
dialog.new-event [hidden] { display: none !important; }
dialog.new-event .actions { display: flex; gap: 12px; align-items: center; }
dialog.new-event .quiet { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; }
dialog.new-event .status:empty { display: none; }
.suggest-hint { margin: 12px 0 0; font-size: 0.9375rem; color: var(--grau); }
.contact .choice { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact .choice legend { font-weight: 700; margin-bottom: 4px; }
.contact .choice label, .contact label.check { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; }

/* Felder sehen aus wie der veröffentlichte Text, nur mit dezenter Kante */
.editing .ed-group { position: relative; border-radius: 6px; }
.editing .ed-group.is-dirty { box-shadow: 0 0 0 2px var(--laterne); background: rgb(242 178 51 / .08); }
.ed-in { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px dashed var(--grau); padding: 1px 2px; margin: 1px 0; min-width: 0; max-width: 100%; }
.ed-in:focus, [contenteditable]:focus { outline: 2px solid var(--leine); outline-offset: 2px; border-bottom-color: transparent; border-radius: 3px; }
.ed-in.short { width: 6.5em; }
.ed-in.wide { width: 100%; display: block; }
select.ed-in { border: 1px dashed var(--grau); border-radius: 6px; padding: 1px 4px; }
textarea.ed-in { width: 100%; border: 1px dashed var(--grau); border-radius: 6px; padding: 6px 8px; resize: vertical; }
.ed-intro { font-size: 1.125rem; line-height: 1.55; }
[contenteditable] { cursor: text; border-bottom: 1px dashed rgb(90 106 117 / .6); }
[contenteditable][data-placeholder]:empty::before { content: attr(data-placeholder); color: var(--grau); opacity: .8; }
#frage [contenteditable] { border-bottom-color: rgb(255 255 255 / .6); }
.ed-check { display: inline-flex; gap: 6px; align-items: center; margin-right: 10px; white-space: nowrap; }
.ed-sub { display: inline; }
.ed-sub[hidden] { display: none; }
.ed-warn { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--laterne-soft); font-size: 0.875rem; }
.ed-hint { color: var(--grau); font-size: 0.8125rem; }
.ed-actions { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.ed-actions[hidden] { display: none; }
.ed-actions button { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; font: 700 1rem/1 var(--text); color: #fff; }
.ed-ok { background: var(--leine); }
.ed-cancel { background: var(--grau); }
.ed-msg { margin-left: 6px; font-size: 0.8125rem; }
.ed-msg.ok { color: var(--leine); font-weight: 700; }
.ed-msg.error { color: #b42318; font-weight: 700; }
.ed-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; margin-bottom: 14px; background: var(--leine-soft); border-radius: var(--radius-s); font-size: 0.9375rem; }
.ed-dl dd { min-width: 0; }
.ed-hours th { text-align: left; padding-right: 10px; font-weight: 400; }
.ed-link { margin-left: 6px; font-size: 0.875rem; }
.ed-foot { font-size: 0.875rem; }
.ed-photo { border: 2px dashed transparent; border-radius: var(--radius-l); padding: 4px; }
.ed-photo.drag, .ed-header-image.drag { border-color: var(--leine); background: var(--leine-soft); }
.ed-drop-empty { display: grid; place-items: center; min-height: 140px; border: 2px dashed var(--linie); border-radius: var(--radius-l); color: var(--grau); font-weight: 700; }
.ed-image-tools, .ed-upload { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: 0.875rem; }
.ed-upload[hidden] { display: none; }
.ed-file { cursor: pointer; font-weight: 700; color: var(--leine); text-decoration: underline; }
.ed-image-tools .quiet { background: none; border: 0; padding: 0; color: var(--grau); text-decoration: underline; cursor: pointer; font: inherit; }
.ed-header { position: absolute; left: 12px; top: 12px; z-index: 5; display: grid; gap: 6px; max-width: min(520px, calc(100% - 24px));
  padding: 8px 12px; border-radius: var(--radius-s); background: rgb(255 255 255 / .94); color: var(--ink); font-size: 0.875rem; box-shadow: 0 4px 16px rgb(0 0 0 / .2); }
.ed-header .ed-image-tools, .ed-header .ed-upload { margin: 0; }
@media (max-width: 560px) { .edit-who { display: none; } .ed-header { position: static; margin: 8px; } }
@media (max-width: 640px) {
  .editing .ed-dl { grid-template-columns: 1fr; row-gap: 2px; }
  .editing .ed-dl dt { margin-top: 10px; }
  .ed-check { white-space: normal; }
}

/* ---------- Newsletter und Ratgeber auf der Startseite ---------- */
.nl-teaser { display: grid; gap: 28px; margin: 8px 0 56px; padding: 28px; border-radius: var(--radius-l); background: var(--leine-soft); }
.nl-teaser[hidden] { display: none; }
@media (min-width: 900px) { .nl-teaser.with-articles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.nl-teaser h2 { font: 700 1.625rem/1.15 var(--display); margin: 0 0 8px; }
.nl-box > p { max-width: 52ch; margin: 0 0 14px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-email { flex: 1 1 220px; }
.nl-email input, .nl-name input { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); }
.nl-form .send { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--leine); color: #fff; font: 700 1rem var(--display); cursor: pointer; }
.nl-form .send:disabled { opacity: .6; }
.nl-extra { margin: 10px 0 0; font-size: 0.9375rem; }
.nl-extra .opt { font-weight: 400; color: var(--grau); }
.nl-extra label { display: block; margin: 8px 0; }
.nl-extra input[name=name] { display: block; margin-top: 4px; padding: 8px 10px; font: inherit; border: 1px solid var(--linie); border-radius: var(--radius-s); }
.nl-extra fieldset { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nl-extra legend { font-weight: 600; margin-bottom: 4px; }
.nl-extra .check { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.nl-form .hint { font-size: 0.8125rem; color: var(--grau); margin: 10px 0 0; }
.nl-form .sent { font-weight: 600; }
.nl-article-list { display: grid; gap: 10px; }
.nl-art { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; padding: 10px; border-radius: 14px; background: var(--weiss); color: var(--ink); text-decoration: none; }
.nl-art:hover { box-shadow: inset 0 0 0 2px var(--leine); }
.nl-art .rg-thumb { width: 120px; height: 84px; }
.nl-art strong { display: block; font: 700 1.0625rem/1.25 var(--display); }
.nl-art-teaser { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 0.9375rem; color: var(--grau); }
.nl-more { margin: 10px 0 0; }
.nl-more a { font-weight: 700; color: var(--leine); }
#seite .nl-form { max-width: 560px; }

/* ---------- Ratgeber-Radar: Logo, Artikel links, Übersicht rechts, Bilder und Illustrationen ---------- */
.rg-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink); text-decoration: none; }
.rg-logo .logo-icon { width: 40px; height: 40px; }
.rg-layout { display: grid; gap: 36px; }
@media (min-width: 960px) { .rg-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.rg-side { align-self: start; }
@media (min-width: 960px) { .rg-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; } }
.rg-side h3 { font: 700 1.125rem var(--display); margin: 0 0 10px; }
.rg-side h3 + .rg-list + h3, .rg-list + h3 { margin-top: 22px; }
.rg-drafts span { font: 400 0.8125rem var(--text); color: var(--grau); }
.rg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rg-list li { border-radius: 12px; }
.rg-list li > a { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.rg-list li > a:hover { background: var(--leine-soft); }
.rg-list li.current > a { background: var(--weiss); box-shadow: inset 3px 0 0 var(--leine); }
.rg-list strong { display: block; font: 600 0.9375rem/1.25 var(--display); }
.rg-list small { color: var(--grau); font-size: 0.8125rem; }
.rg-thumb { display: block; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--laterne-soft); }
.rg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-thumb img.placeholder { object-fit: contain; padding: 6px; box-sizing: border-box; }
.rg-draft-tools { margin: -2px 0 6px 80px; font-size: 0.8125rem; }
.rg-draft-tools .tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--laterne-soft); }
.article-text figure { margin: 18px 0; }
.article-text figure img { display: block; width: 100%; height: auto; }
.article-text figure.photo img { border-radius: var(--radius-l); }
.article-text figure.illu { width: min(240px, 44%); }
.article-text figure.photo.wrap { width: min(320px, 50%); }
.article-text figure.wrap.pos-right { float: right; margin: 4px 0 12px 22px; }
.article-text figure.wrap.pos-left { float: left; margin: 4px 22px 12px 0; }
.article-text figure.nowrap { clear: both; }
.article-text figure.nowrap.pos-left { margin-right: auto; }
.article-text figure.nowrap.pos-right { margin-left: auto; }
.article-text figure.photo.nowrap { width: min(560px, 100%); }
.article-text figcaption { font-size: 0.8125rem; color: var(--grau); margin-top: 4px; text-align: center; }
.article-text h2, .article-text h3 { clear: both; }
.article-text::after { content: ""; display: table; clear: both; }
/* Bild im Info-Kasten: klein, Standard links */
.box::after { content: ""; display: table; clear: both; }
.article-text .box figure, .box figure { margin: 2px 0 6px; width: min(120px, 34%); }
.article-text .box figure.photo, .box figure.photo { width: min(160px, 40%); }
.article-text .box figure.wrap.pos-left, .box figure.wrap.pos-left { float: left; margin: 2px 16px 6px 0; }
.article-text .box figure.wrap.pos-right, .box figure.wrap.pos-right { float: right; margin: 2px 0 6px 16px; }
.article-text .box figure figcaption { text-align: center; }
/* Handy: Bilder mit Umfließen bleiben klein neben dem Text (statt in eine eigene Zeile zu rutschen) */
@media (max-width: 560px) {
  .article-text figure.illu.wrap { width: 36%; }
  .article-text figure.photo.wrap { width: 42%; }
  .article-text figure.wrap.pos-right { margin: 4px 0 8px 14px; }
  .article-text figure.wrap.pos-left { margin: 4px 14px 8px 0; }
  .article-text figure.wrap figcaption { font-size: 0.75rem; }
  .box figure.wrap { float: left !important; width: 90px; margin: 0 12px 6px 0 !important; }
}
.legal.entry.article { max-width: none; }
.article-text h3 { clear: both; }
.article-text .box { clear: both; }

.nl-submit { margin: 14px 0 0; }
.nl-name { flex: 1 1 140px; }
/* Redakteur unter dem Artikel */
.rg-author { clear: both; display: flex; gap: 16px; align-items: center; max-width: 68ch; margin: 32px 0 8px; padding: 16px 0 0; border-top: 1px solid var(--linie); }
.rg-author img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--leine-soft); }
.rg-author-label { display: block; font-size: 0.8125rem; color: var(--grau); }
.rg-author strong { font: 700 1.125rem var(--display); }
.rg-author p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--grau); }
.rg-initials { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--leine); color: #fff; font: 700 1.5rem var(--display); }

/* Logos von Orten */
.thumb.logo { object-fit: contain; padding: 10px; box-sizing: border-box; background: var(--weiss); border: 1px solid var(--linie); }
.entry-logo { margin: 0 0 12px; }
.entry-logo img { display: block; max-width: 200px; max-height: 80px; object-fit: contain; }
.ed-logo { max-width: 260px; }
.ed-logo img { max-height: 90px; object-fit: contain; background: #fff; }
.ed-logo .ed-drop-empty { min-height: 70px; }
.report-line { margin: 18px 0 0; font-size: 0.9375rem; color: var(--grau); }
.more-links .report { color: var(--grau); }
.more-links .entry-id { color: var(--grau); margin-left: auto; font-variant-numeric: tabular-nums; }

/* Mehrtägige Termine */
.multi-day { margin: 2px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--leine); }
.hours.days tr.off td { color: var(--grau); font-style: italic; }
.event .time.time-word { font-size: 0.875rem; line-height: 1.25; padding-top: 3px; }
.event .time.times { display: flex; flex-direction: column; }
.event .time .more-time { font-size: 0.9375rem; font-weight: 600; color: var(--grau, #5b6b70); }
/* Termine an mehreren Tagen: Helfer für regelmäßige Termine (Bearbeiten und Anbieter-Dialog) */
.days-helper { background: var(--leine-soft); border-radius: 10px; padding: 8px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.days-helper .ed-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.days-helper button { font: inherit; font-weight: 600; cursor: pointer; border: 1.5px solid currentColor; background: #fff; border-radius: 999px; padding: 4px 12px; color: var(--leine); }
.ed-days textarea.mono, dialog.new-event textarea[name=tage] { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.875rem; width: 100%; box-sizing: border-box; }
dialog.new-event .days-helper .ne-row label { margin-top: 0; }
dialog.new-event .ne-wd { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 4px 0 0; }
dialog.new-event .ne-wd label.ed-check { margin: 0; flex-direction: row; }
/* Zurück über Einträgen und Artikeln */
.entry-back { margin: 0 0 14px; }
.entry-back a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--leine); text-decoration: none; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--leine-soft); }
.entry-back a:hover, .entry-back a:focus-visible { text-decoration: underline; }

/* 0.34: Bewertungen, Entdecker-Konto, Zeichenzähler */
.tags .rating { background: var(--laterne-soft); border-color: transparent; font-weight: 700; }
.tags .rating span[aria-hidden] { color: #c98a00; }
.tags .rating .n { font-weight: 400; color: var(--grau); }
.reviews { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--linie); }
.reviews h2 { margin-bottom: 4px; }
.stars { color: #e0a300; letter-spacing: 1px; font-size: 1.05em; }
.reviews-sum { font-size: 1.0625rem; margin: 0 0 16px; }
.review { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.review-head { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.review-head time { color: var(--grau); font-size: 0.875rem; }
.review-text { margin: 6px 0 0; white-space: pre-line; max-width: 70ch; }
.review-reply { margin: 10px 0 0 18px; padding: 8px 12px; border-left: 3px solid var(--leine); background: var(--leine-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.review-reply p { margin: 0; white-space: pre-line; }
.review-reply .review-reply-by { font-weight: 700; font-size: 0.875rem; margin-bottom: 2px; }
.review-tools { margin: 8px 0 0; display: flex; gap: 12px; align-items: center; }
.review-tools .like { font: 600 0.875rem var(--text); border: 1.5px solid var(--linie); background: var(--weiss); color: var(--ink); border-radius: var(--radius-pill); padding: 3px 12px; cursor: pointer; }
.review-tools .like.on { border-color: var(--leine); background: var(--leine-soft); }
.review-tools .like:disabled { cursor: default; }
.review-tools .quiet, .reviews .quiet, .konto .quiet { background: none; border: 0; padding: 0; color: var(--leine); text-decoration: underline; cursor: pointer; font: inherit; }
.level { display: inline-flex; gap: 4px; align-items: center; font: 600 0.8125rem var(--display); padding: 1px 9px; border-radius: var(--radius-pill); background: var(--leine-soft); color: var(--leine); }
.level-2 { background: #e6eefa; color: #2b5797; }
.level-3 { background: var(--laterne-soft); color: #8a5a00; }
.level-0 { background: var(--paper); color: var(--grau); border: 1px solid var(--linie); }
.review-form, .reply-form, .konto-form { display: grid; gap: 12px; max-width: 560px; margin-top: 20px; }
.reply-form { margin: 10px 0 0 18px; }
.review-form h3 { margin: 0; }
.review-form label, .reply-form label, .konto-form label { display: grid; gap: 4px; font-weight: 700; }
.review-form small, .konto-form small { font-weight: 400; color: var(--grau); }
.review-form textarea, .reply-form textarea, .konto-form input { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--linie); border-radius: var(--radius-s); background: var(--weiss); color: var(--ink); width: 100%; }
.review-form textarea:focus, .reply-form textarea:focus, .konto-form input:focus { border-color: var(--leine); outline: none; }
.konto-form label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.konto-form label.check input { width: auto; margin-top: 5px; }
.konto-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-form .primary, .reply-form .primary, .konto-form .primary { padding: 10px 20px; border: 0; border-radius: var(--radius-pill); background: var(--leine); color: #fff; font: 700 1rem var(--display); cursor: pointer; }
.review-form .primary:disabled, .konto-form .primary:disabled { opacity: .6; }
.review-form .actions, .reply-form .actions, .konto-form .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.form-msg { font-size: 0.9375rem; color: var(--grau); margin: 0; }
.star-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.star-pick legend { font-weight: 700; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.star-pick label { cursor: pointer; font-size: 2rem; line-height: 1; color: var(--linie); display: block; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick:has(input[value="1"]:checked) label:nth-of-type(-n+1), .star-pick:has(input[value="2"]:checked) label:nth-of-type(-n+2),
.star-pick:has(input[value="3"]:checked) label:nth-of-type(-n+3), .star-pick:has(input[value="4"]:checked) label:nth-of-type(-n+4),
.star-pick:has(input[value="5"]:checked) label:nth-of-type(-n+5) { color: #e0a300; }
@media (hover: hover) { .star-pick:hover label { color: var(--linie); } .star-pick label:hover, .star-pick label:has(~ label:hover) { color: #f2c14e; } }
.star-pick label:has(input:focus-visible) { outline: 3px solid var(--leine); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.char-count { justify-self: end; font: 400 0.8125rem var(--text); color: var(--grau); font-variant-numeric: tabular-nums; }
.char-count.near { color: #a8441c; font-weight: 700; }
.levels { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.levels li { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--linie); border-radius: var(--radius-s); background: var(--weiss); }
.levels li.reached { border-color: var(--leine); background: var(--leine-soft); }
.levels .level-icon { font-size: 1.5rem; }
.levels li span:last-of-type, .levels em { font-size: 0.875rem; color: var(--grau); }
.levels em { font-style: normal; font-weight: 700; color: var(--leine); }
.konto-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; }
.konto-intro { max-width: 62ch; }
.notice { padding: 10px 14px; background: var(--leine-soft); border-radius: var(--radius-s); font-weight: 600; }
.own-reviews { list-style: none; padding: 0; }
.own-reviews li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.own-reviews .tag { font-size: 0.8125rem; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--leine-soft); }
.own-reviews .tag.warn { background: var(--laterne-soft); }
.profile .button-link { display: inline-block; padding: 10px 20px; border-radius: var(--radius-pill); background: var(--leine); color: #fff; font: 700 1rem var(--display); text-decoration: none; }
/* Statistik der Seite (nur Admin und Anbieter bei eigenen Einträgen) */
.fr-stats { position: fixed; left: 12px; bottom: 12px; z-index: 20; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 12px; padding: 8px 12px; font: 400 0.8125rem var(--text); box-shadow: 0 4px 14px rgba(28, 42, 53, .12); max-width: calc(100vw - 24px); }
.fr-stats summary { cursor: pointer; font-weight: 700; color: var(--leine); }
.fr-stats dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.fr-stats dd { margin: 0; text-align: right; font-weight: 700; }
.fr-stats a { display: block; margin-top: 6px; }
.char-count.over { color: #b3261e; }
.ed-group .char-count, .contact .char-count { display: block; text-align: right; margin-top: 2px; }
.hero .char-count { color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); font-size: 0.8125rem; font-family: var(--text); }

/* 0.35: Zahlen auf der Startseite, „Eintrag übernehmen“ */
.hero:has(+ .site-counts:not([hidden])) { padding-bottom: 20px; } /* Abstand über den Zahlen wie darunter */
.site-counts { margin: 0 0 20px; font: 500 1.1875rem/1.4 var(--display); color: var(--ink); }
.wm { font-weight: 700; white-space: nowrap; }
.wm span { color: var(--leine); }
.site-counts .wm { font-weight: 800; }
.site-counts strong { color: var(--leine); font-weight: 700; font-variant-numeric: tabular-nums; }
.claim-box { margin-top: 32px; padding: 16px 18px; border: 1.5px dashed var(--leine); border-radius: var(--radius-s); background: var(--weiss);
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.claim-box p { margin: 0; max-width: 52ch; }
.claim-button { display: inline-block; padding: 9px 18px; border-radius: var(--radius-pill); background: var(--leine); color: #fff; font: 700 0.9375rem var(--display); text-decoration: none; white-space: nowrap; }
.claim-button:hover { background: #095c5c; }
.banner .wm span, .hero .wm span { color: #9fe0d8; }
.tags .family-star { background: #fde7ef; color: #a3264f; border-color: transparent; font-weight: 700; }

/* 0.36: Liste/Karte */
.results-bar { display: flex; justify-content: flex-end; margin: 14px 0 0; }
.view-toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink); font: 600 0.9375rem var(--text); cursor: pointer; }
.view-toggle button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.view-toggle button[aria-pressed=true] { background: var(--leine); color: #fff; }
.view-toggle button:focus-visible { outline: 3px solid var(--laterne, #f2b233); outline-offset: 1px; }
.map-view { position: relative; margin: 14px 0 56px; }
#karte-map { height: min(72vh, 720px); min-height: 420px; border-radius: var(--radius-s); border: 1.5px solid var(--linie); z-index: 0; }
.map-area { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 500; padding: 8px 16px; border: 0; border-radius: var(--radius-pill);
  background: var(--weiss); color: var(--ink); font: 700 0.9375rem var(--display); box-shadow: 0 4px 14px rgba(28, 42, 53, .22); cursor: pointer; }
.map-show { position: absolute; top: 10px; left: 54px; z-index: 500; display: flex; padding: 3px; gap: 2px; border-radius: var(--radius-pill);
  background: var(--weiss); box-shadow: 0 2px 10px rgba(28, 42, 53, .22); }
.map-show button { border: 0; background: none; padding: 6px 12px; border-radius: var(--radius-pill); font: 600 0.8125rem var(--display); color: var(--ink); cursor: pointer; white-space: nowrap; }
.map-show button[aria-pressed="true"] { background: var(--leine); color: var(--weiss); }
.map-show button:focus-visible { outline: 2px solid var(--leine); outline-offset: 1px; }
@media (max-width: 600px) {
  .map-show { left: 50px; right: 10px; justify-content: space-between; }
  .map-show button { padding: 6px 8px; flex: 1; }
  .map-area { top: 58px; }
}
.map-note { margin: 8px 0 0; font-size: 0.875rem; color: var(--grau); }
.map-pin { display: grid; place-items: center; }
.map-pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(28, 42, 53, .35);
  font: 700 0.8125rem var(--text); color: #fff; }
.pin-ort span { background: var(--leine); }
.pin-termin span { background: #e8890c; }
.pin-both span { background: var(--leine); box-shadow: 0 0 0 3px #e8890c, 0 2px 6px rgba(28, 42, 53, .35); }
.marker-cluster { background: rgba(11, 110, 110, .25); border-radius: 50%; }
.marker-cluster div { width: 30px; height: 30px; margin: 5px; border-radius: 50%; display: grid; place-items: center; background: var(--leine); color: #fff; font: 700 0.875rem var(--text); }
.marker-cluster.small div { width: 22px; height: 22px; margin: 4px; font-size: 0.75rem; }
.map-pin.small span { width: 100%; height: 100%; border-width: 2px; font-size: 0.6875rem; box-shadow: 0 1px 3px rgba(28, 42, 53, .35); }
.pin-both.small span { box-shadow: 0 0 0 2px #e8890c, 0 1px 3px rgba(28, 42, 53, .35); }
.marker-cluster span { line-height: 1; }
.map-pop { font: 400 0.9375rem/1.4 var(--text); }
.map-pop p { margin: 0 0 4px; }
.map-pop-title { font: 700 1.0625rem/1.25 var(--display); }
.map-pop-title a, .map-pop-events a, .map-pop-more a { color: var(--leine); }
.map-pop-meta { color: var(--grau); font-size: 0.875rem; }
.map-pop-sub { margin-top: 8px !important; font-weight: 700; }
.map-pop-events { list-style: none; padding: 0; margin: 0; max-height: 220px; overflow-y: auto; }
.map-pop-events li { padding: 3px 0; border-top: 1px solid var(--linie); }
.map-pop-events .when { display: block; font-size: 0.8125rem; color: var(--grau); font-variant-numeric: tabular-nums; }
.leaflet-container a.leaflet-popup-close-button { font-size: 20px; }
@media (max-width: 899px) {
  /* Handy/Tablet: Schalter rechts neben der ersten Überschrift */
  .results-bar { position: relative; height: 0; margin: 0; z-index: 3; }
  .view-toggle { position: absolute; right: 0; top: 6px; }
  .view-toggle button { padding: 6px 10px; font-size: 0.875rem; }
  .results > .col > h2:first-child { padding-right: 172px; }
  .map-view { margin-top: 56px; }
  #karte-map { height: calc(100svh - 190px); min-height: 360px; }
}
@media (max-width: 380px) { .view-toggle button svg { display: none; } .results > .col > h2:first-child { padding-right: 132px; } }
body.page-mode .results-bar, body.page-mode .map-view { display: none; }

/* 0.37: Karte im Seiten-Design */
#karte-map { background: #eef3f1; font-family: var(--text); }
.leaflet-tile-pane { filter: grayscale(0.85) sepia(0.12) brightness(1.06) contrast(0.88); }
.leaflet-overlay-pane::before { content: none; }
.leaflet-bar { border: 0 !important; box-shadow: 0 2px 10px rgba(28, 42, 53, .18) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { width: 36px !important; height: 36px !important; line-height: 36px !important; color: var(--leine) !important; font: 700 1.25rem var(--display) !important; border-bottom-color: var(--linie) !important; }
.leaflet-bar a:hover { background: var(--leine-soft) !important; }
.leaflet-control-attribution { font: 400 0.6875rem var(--text); background: rgba(255, 255, 255, .78) !important; border-radius: 8px 0 0 0; }
.leaflet-control-attribution a { color: var(--grau); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 6px 22px rgba(28, 42, 53, .2); }
.leaflet-popup-content { margin: 14px 16px; }
.leaflet-popup-tip { box-shadow: none; }
.map-pin span { transition: transform .15s; }
.map-pin:hover span, .map-pin:focus span { transform: scale(1.12); }
/* Kachel des angetippten Ortes schiebt sich von unten über die Karte */
.map-sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 600; max-height: 72%; overflow-y: auto;
  background: var(--paper); border-radius: 16px; box-shadow: 0 10px 34px rgba(28, 42, 53, .28); padding: 10px 14px 6px;
  transform: translateY(calc(100% + 24px)); transition: transform .25s ease-out; overscroll-behavior: contain; }
.map-sheet.open { transform: none; }
.map-sheet::before { content: ""; display: block; width: 44px; height: 4px; margin: 0 auto 6px; border-radius: 2px; background: var(--linie); }
.map-sheet-close { position: absolute; top: 6px; right: 8px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--weiss);
  color: var(--ink); font: 400 1.5rem/1 var(--text); cursor: pointer; box-shadow: 0 1px 4px rgba(28, 42, 53, .15); }
.map-sheet .place-item { border-bottom: 0; padding-right: 30px; }
.map-sheet-events { padding: 4px 0 8px; border-top: 1px solid var(--linie); }
@media (min-width: 900px) { .map-sheet { right: auto; width: 440px; max-height: calc(100% - 24px); } }
@media (prefers-reduced-motion: reduce) { .map-sheet { transition: none; } }
.results[hidden], .map-view[hidden] { display: none; }
.article-text .tip-tags { margin: -6px 0 18px; } .article-text .tip-tags .tags { margin: 0; }

/* Werbefläche über Ratgeber-Artikeln */
.article-ad { margin: 4px 0 26px; }
.article-ad-label { display: block; font-size: 0.75rem; color: var(--grau); margin: 0 0 4px; letter-spacing: .02em; }
.article-ad a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--linie); }
.article-ad img { display: block; width: 100%; height: auto; }

/* Werbung: hervorgehobene Einträge, Top-Einträge der Rubrik, Banner (immer gekennzeichnet als Anzeige) */
.ad-mark, .ad-label { display: inline-block; vertical-align: 2px; margin-left: 4px; font: 600 0.6875rem/1 var(--text); padding: 3px 6px; border-radius: var(--radius-s);
  border: 1px solid var(--grau); color: var(--grau); letter-spacing: .02em; }
.item.sponsored { border: 2px solid var(--laterne); background: linear-gradient(var(--laterne-soft), var(--laterne-soft)) padding-box; border-radius: 14px; }
.event.item.sponsored, .place-item.item.sponsored { padding-left: 10px; padding-right: 10px; }
.demo-mark { display: inline-block; vertical-align: 2px; margin-left: 4px; font: 600 0.6875rem/1 var(--text); padding: 3px 6px; border-radius: var(--radius-s);
  background: #ece3f7; color: #5b3a8a; }
.item.demo-entry { outline: 2px dashed #b7a1d6; outline-offset: 2px; }
.top-ads { margin: 0 0 22px; }
.top-ads h2 { margin: 0 0 10px; }
.top-ads h2 .ad-label { vertical-align: 4px; }
.top-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.top-card { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; padding: 10px; border: 2px solid var(--laterne); border-radius: 14px;
  background: var(--laterne-soft); color: var(--ink); text-decoration: none; }
.top-card:hover strong, .top-card:focus-visible strong { text-decoration: underline; }
.top-card img, .top-noimg { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--leine-soft); display: block; }
.top-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.top-body strong { font: 600 1.0625rem/1.25 var(--display); color: var(--leine); }
.top-meta { font-size: .875rem; color: var(--grau); }
.top-desc { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-banner { margin: 0 0 16px; }
.ad-banner .ad-label { margin: 0 0 4px; }
.ad-banner a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--linie); }
.ad-banner img { display: block; width: 100%; height: auto; }

/* Anbieter: Seite „Werbung“ und Angebote im Eintrag */
.ads-page .ad-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 0 0 28px; }
.ad-offer { border: 1px solid var(--linie); border-radius: 14px; padding: 16px; background: var(--weiss); display: flex; flex-direction: column; gap: 8px; }
.ad-offer h3 { margin: 0; font: 600 1.125rem/1.25 var(--display); }
.ad-offer p { margin: 0; }
.ad-price { font: 600 1.25rem/1.2 var(--display); color: var(--leine); }
.ad-price small { font: 400 .8125rem var(--text); color: var(--grau); }
.ad-next { font-size: .875rem; color: var(--grau); }
.ad-kind { font-size: .8125rem; color: var(--grau); }
.ad-offer button, .ads-page .ads-login { align-self: flex-start; margin-top: auto; font: inherit; font-weight: 700; padding: 10px 20px; border: 0; border-radius: var(--radius-pill); background: var(--leine); color: var(--weiss); cursor: pointer; }
.ad-book { max-width: 640px; }
.ad-book .ne-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ad-book .ne-row label { flex: 1 1 180px; }
.ad-book .quiet { font: inherit; padding: 10px 16px; border: 1px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); cursor: pointer; }
.ad-book { border: 2px solid var(--leine); border-radius: 14px; padding: 18px; margin: 0 0 28px; background: var(--weiss); }
.ad-book h2 { margin-top: 0; }
.ad-bookings { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ad-bookings th, .ad-bookings td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.ad-status { font-size: .8125rem; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--leine-soft); white-space: nowrap; }
.ad-status.angefragt { background: var(--laterne-soft); }
.ad-status.abgelehnt, .ad-status.storniert { background: #eee; color: var(--grau); }
.entry-ads { border: 1px dashed var(--leine); border-radius: 14px; padding: 12px 14px; margin: 0 0 18px; background: var(--leine-soft); font-size: .9375rem; }
.entry-ads p { margin: 0 0 6px; }
.entry-ads ul { margin: 0 0 8px; padding-left: 18px; }
.demo-hint { background: #ece3f7; color: #3e2766; border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; }
@media (max-width: 600px) {
  .ad-bookings thead { display: none; }
  .ad-bookings tr { display: block; border-bottom: 1px solid var(--linie); padding: 8px 0; }
  .ad-bookings td { display: block; border: 0; padding: 2px 0; }
  .top-card { grid-template-columns: 90px 1fr; }
  .top-card img, .top-noimg { width: 90px; }
}

/* Startseite mit gewähltem Ort: Ratgeber und Wochentipps mit den Terminen dort */
.area-guides { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 14px 0 0; }
.area-guide { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius-m, 14px); background: var(--leine-soft);
  border: 1px solid var(--linie); color: var(--ink); text-decoration: none; }
.area-guide:hover strong, .area-guide:focus-visible strong { text-decoration: underline; }
.area-guide .ag-kind { font-size: .8125rem; color: var(--leine); font-weight: 700; }
.area-guide strong { font: 600 1.0625rem/1.3 var(--display); }
.area-guide .ag-count { font-size: .875rem; color: var(--grau); }
.area-note { background: var(--leine-soft); border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; font-size: .9375rem; }
.ad-price-list { margin: 0; font-size: .9375rem; line-height: 1.6; }
.ad-price-list strong { font: 600 1.0625rem var(--display); color: var(--leine); }
/* Ratgeber: Auswahl der Stadt (Fassung für die Städte der Region) */
.rg-area { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px 18px; font-size: .9375rem; color: var(--grau); vertical-align: top; }
.rg-area select { field-sizing: content; font: 600 .9375rem var(--text); color: var(--ink); padding: 7px 12px; border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--weiss); }
.rg-area select:focus-visible { outline: 3px solid var(--leine); outline-offset: 2px; }
@media (max-width: 600px) { .rg-area { display: flex; margin: 0 0 16px; } }
/* Ratgeber-Übersicht: die zwei aktuellen Ratgeber mit Textanfang */
.rg-current { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--linie); }
.rg-current-img img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--radius-l); margin: 0 0 14px; background: var(--leine-soft); }
.rg-current-img img.placeholder { object-fit: contain; padding: 24px; }
.rg-kind { margin: 0 0 4px; font-size: .875rem; font-weight: 700; color: var(--leine); }
.rg-current .article-title { margin-top: 0; }
.rg-current .article-title a { color: var(--ink); text-decoration: none; }
.rg-current .article-title a:hover { text-decoration: underline; }
.rg-excerpt { position: relative; }
.rg-more { margin: 14px 0 0; }
.rg-more .button { text-decoration: none; }
.rg-all { margin: 10px 0 0; font-weight: 600; }
.rg-all-main { margin: 0 0 8px; }
/* Fußzeile: Startseiten der Städte und Gemeinden der Region */
.footcities { padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--linie); }
.footcities h2 { font: 700 1rem var(--display); color: var(--ink); margin: 0 0 8px; }
.footcities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footcities a { color: var(--ink); text-decoration: none; }
.footcities a:hover { color: var(--leine); text-decoration: underline; }
/* Stadt der Region: Treffer aus der ganzen Region */
.region-note { margin: 22px 0 4px; padding: 10px 14px; border-radius: 10px; background: var(--leine-soft); font-size: 0.9375rem; }
.region-more { margin: 16px 0 0; font-size: 0.9375rem; }
.region-more a { font-weight: 700; }
/* Aktionen */
.tags .promo { background: var(--laterne); border-color: transparent; font-weight: 700; color: var(--ink); }
.promo-box { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--laterne-soft); border: 2px dashed var(--laterne); }
.promo-box p { margin: 0 0 8px; }
.promo-title { font: 700 1.125rem/1.3 var(--display); }
.promo-mark { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: var(--radius-pill); background: var(--laterne); font: 700 0.8125rem/1.6 var(--text); vertical-align: 2px; }
.promo-until { font-size: 0.9375rem; color: var(--grau); }
.promo-form label { display: block; font-weight: 700; font-size: 0.9375rem; }
.promo-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-weight: 400; }
.promo-row input { flex: 1 1 200px; min-width: 0; padding: 9px 12px; border: 1px solid var(--linie); border-radius: 10px; font: inherit; background: var(--weiss); }
.promo-form .status:empty { display: none; }
.promo-form .hint { font-size: 0.8125rem; color: var(--grau); margin: 6px 0 0; }
.promo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.promo-form .send { font: 700 1rem var(--display); padding: 9px 18px; border: 0; border-radius: var(--radius-pill); background: var(--leine); color: var(--weiss); cursor: pointer; }
.promo-form .send:disabled { opacity: .6; cursor: default; }
.promo-list { margin: 0 0 10px; padding-left: 18px; }
.promo-list li { margin-bottom: 8px; }
.promo-edit { margin: 8px 0; }
/* Eintrag mit Foto: Symbol der Rubrik oben links (wie bei den Highlights) */
.thumb-photo { position: relative; }
.thumb-badge { position: absolute; left: 5px; top: 5px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); overflow: hidden; }
.thumb-badge img { width: 24px; height: 24px; object-fit: contain; }
