/* vorOrt dabei – Baustein „Hervorheben-Vorschau“ (seit app v15 / formular v6)
   Alle Klassen mit Präfix hv-, damit nichts mit App oder Formular kollidiert.
   Die Vorschau-Bühnen (.hv-b) haben die echten App-Maße (wie auf einem 390 px breiten Handy, Werte aus app v14
   css/app.css, v4.css, v6-karte.css) und werden per JS auf die verfügbare Breite verkleinert. */

.hv { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 460px;
  --hv-navy: #1D365F; --hv-teal-d: #17767B; --hv-mint: #D9EDEE; --hv-mint-l: #EEF7F8; --hv-yellow: #F3C500;
  --hv-ink: #2D3036; --hv-muted: #5B6570; --hv-ground: #F6F9F9; --hv-dot: #9FD3D6; --hv-edge: #E3ECEC;
  --hv-font: var(--font, 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
  --hv-cond: var(--cond, 'Barlow Semi Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif);
}
.hv [hidden] { display: none !important; }
.hv p { margin: 0; }

/* ---------- Mini-Vorschau (Haken nicht gesetzt) ---------- */
.hv-mini { display: flex; flex-direction: column; gap: 10px; }
.hv-unter { font-family: var(--hv-cond); font-weight: 600; font-size: 0.8125rem; letter-spacing: .7px; text-transform: uppercase; color: #6B6A4E; }
.hv-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.hv-kachel { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hv-kbox { position: relative; height: 104px; border-radius: 12px; overflow: hidden; background: var(--hv-ground); box-shadow: 0 0 0 1px #E9DFA8, 0 2px 6px rgba(29, 54, 95, .08); }
.hv-kbox.hv-k-liste { background: #fff; }
.hv-kbox .hv-b { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.hv-kcap { font-weight: 900; font-size: 0.8125rem; color: var(--hv-navy); line-height: 1.15; text-align: center; }
.hv-ksub { font-size: 0.75rem; color: #5E5D45; line-height: 1.25; text-align: center; margin-top: -2px; }
.hv-hinweis { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8125rem; line-height: 1.35; color: #4A4A3A; }
.hv-hinweis svg { flex-shrink: 0; color: var(--hv-navy); margin-top: 1px; }

/* ---------- Live-Vorschau (Haken gesetzt) ---------- */
.hv-live { background: #fff; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 1px #EBD98A; min-width: 0; }
.hv-kopf { display: flex; align-items: center; gap: 8px; }
.hv-titel { font-weight: 900; font-size: 0.9375rem; line-height: 1.25; color: var(--hv-navy); }
.hv-livepill {
  margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-family: var(--hv-cond); font-weight: 600; font-size: 0.8125rem;
  color: var(--hv-teal-d); background: var(--hv-mint-l); border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}
.hv-livepill::before { content: ''; width: 7px; height: 7px; border-radius: 4px; background: #58BEC3; }
.hv-reiter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--hv-mint-l); border-radius: 12px; padding: 3px; gap: 3px; }
.hv-tab {
  appearance: none; -webkit-appearance: none; border: 0; background: none; margin: 0; cursor: pointer; min-height: 36px; padding: 0 4px;
  font-family: var(--hv-font); font-weight: 700; font-size: 0.8125rem; color: var(--hv-navy); border-radius: 9px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv-tab:hover { background: rgba(29, 54, 95, .06); }
.hv-tab.an { background: var(--hv-navy); color: #fff; }
.hv-tab:focus-visible { outline: 3px solid var(--hv-teal-d); outline-offset: 2px; }
.hv-panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hv-panel:focus-visible { outline: 3px solid var(--hv-teal-d); outline-offset: 3px; border-radius: 12px; }
.hv-screen { position: relative; overflow: hidden; border-radius: 12px; background: var(--hv-ground); width: 100%; max-width: 380px; }
.hv-screen::after { content: ''; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hv-edge); pointer-events: none; }
.hv-screen.hv-s-liste { background: #fff; }
.hv-screen .hv-b { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.hv-text { font-size: 0.875rem; line-height: 1.4; color: var(--hv-ink); }
.hv-text b { color: var(--hv-navy); }
.hv-tipp { display: flex; gap: 8px; align-items: flex-start; background: #FFF7D1; border-radius: 10px; padding: 8px 10px; font-size: 0.8125rem; line-height: 1.4; color: #4A4A3A; }
.hv-tipp svg { flex-shrink: 0; color: var(--hv-navy); margin-top: 1px; }
.hv-tipp b { color: var(--hv-navy); }
.hv-link { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--hv-teal-d); text-decoration: underline; cursor: pointer; }
.hv-link:hover { color: var(--hv-navy); }
.hv-dauer { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8125rem; color: var(--hv-muted); line-height: 1.35; }
.hv-dauer svg { flex-shrink: 0; color: var(--hv-teal-d); margin-top: 1px; }

/* ---------- Bühnen (App-Maße) ---------- */
.hv-b { font-family: var(--hv-font); color: var(--hv-ink); -webkit-font-smoothing: antialiased; text-align: left; line-height: normal; }
.hv-b * { box-sizing: border-box; }
.hv-platzhalter { color: #8A96A0 !important; }
.hv-foto-leer { display: flex !important; align-items: center; justify-content: center; background: var(--hv-mint); color: var(--hv-teal-d); }

/* Startseite: Bereich „Nicht verpassen“ (app.css .promo, .pcard) */
.hv-b-start { width: 352px; padding: 14px 0 16px 16px; background: var(--hv-ground); overflow: hidden; }
.hv-pv-kopf { display: flex; align-items: baseline; gap: 8px; padding-right: 16px; }
.hv-pv-h { font-weight: 900; font-size: 19px; color: var(--hv-navy); line-height: 1.2; }
.hv-pv-hint { font-family: var(--hv-cond); font-weight: 600; font-size: 14px; color: var(--hv-muted); }
.hv-punkte { margin-left: auto; display: flex; align-items: center; gap: 5px; align-self: center; }
.hv-punkte i { width: 8px; height: 8px; border-radius: 4px; background: var(--hv-dot); }
.hv-punkte i.an { width: 22px; background: var(--hv-yellow); }
.hv-track { display: flex; gap: 12px; margin-top: 10px; width: max-content; }
.hv-pcard { width: 300px; flex-shrink: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 var(--hv-edge); display: flex; flex-direction: column; }
.hv-pcard-img { position: relative; display: block; height: 150px; background: var(--hv-mint); }
.hv-pcard-foto { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-pcard-ad { position: absolute; top: 10px; right: 10px; background: var(--hv-navy); color: #fff; font-family: var(--hv-cond); font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 6px; line-height: 1.25; }
.hv-pcard-b { padding: 11px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.hv-pcard-cat { font-family: var(--hv-cond); font-weight: 700; font-size: 14px; color: var(--hv-teal-d); text-transform: uppercase; letter-spacing: .8px; }
.hv-pcard-t { font-weight: 900; font-size: 17px; line-height: 1.2; color: var(--hv-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-pcard-m { font-family: var(--hv-cond); font-weight: 500; font-size: 15px; color: var(--hv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* angedeutete weitere Einträge */
.hv-skel .hv-pcard-img { background: #E3EBEC; }
.hv-skel .hv-pcard-b { gap: 7px; padding-top: 14px; visibility: hidden; }
.hv-sk { display: block; height: 10px; border-radius: 5px; background: #E3EBEC; }
.hv-sk-a { width: 30%; height: 8px; }
.hv-sk-b { width: 85%; height: 12px; }
.hv-sk-c { width: 60%; }

/* Karte: Kartenausschnitt mit Pins (app.css .pin, .promo-pin; v6-karte.css .pin-l) */
.hv-b-karte { position: relative; width: 390px; height: 290px; overflow: hidden; background: #F2EFE9; }
.hv-map-grund { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hv-npin, .hv-ppin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; white-space: nowrap; }
.hv-pin-t {
  display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--hv-navy); font-family: var(--hv-cond); font-weight: 700; font-size: 14px;
  padding: 4px 8px; border-radius: 10px; box-shadow: 0 0 0 2px var(--hv-navy), 0 2px 6px rgba(29, 54, 95, .25); line-height: 1.15;
}
.hv-pin-stem { width: 2px; height: 8px; background: var(--hv-navy); }
.hv-pin-l {
  position: absolute; top: 100%; margin-top: 1px; font-family: var(--hv-cond); font-weight: 700; font-size: 12px; color: var(--hv-navy);
  background: rgba(255, 255, 255, .94); padding: 1px 6px; border-radius: 6px; box-shadow: 0 1px 3px rgba(29, 54, 95, .22);
  max-width: 180px; overflow: hidden; text-overflow: ellipsis;
}
/* Ankerpunkte (unteres Ende des Pins) – alle auf dem Land, Küste liegt bei ca. 56–100 px */
.hv-np1 { left: 76px; top: 168px; }
.hv-np2 { left: 316px; top: 156px; }
.hv-np3 { left: 120px; top: 264px; }
.hv-np4 { left: 300px; top: 252px; }
.hv-ppin { left: 195px; top: 184px; z-index: 2; }
.hv-pp-box {
  position: relative; width: 52px; height: 52px; border-radius: 18px; background: var(--hv-yellow);
  box-shadow: 0 4px 10px rgba(29, 54, 95, .35); display: flex; align-items: center; justify-content: center;
}
.hv-pp-foto { width: 36px; height: 36px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 2px #fff; background: var(--hv-mint); display: block; }
.hv-pp-star {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 10px; background: var(--hv-navy); color: var(--hv-yellow);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}
.hv-pp-t {
  position: relative; margin-top: -4px; display: inline-flex; align-items: center; gap: 4px; background: var(--hv-navy); color: #fff;
  font-family: var(--hv-cond); font-weight: 700; font-size: 14px; padding: 2px 9px; border-radius: 10px; box-shadow: 0 0 0 2px #fff; line-height: 1.3;
}

/* Liste unter der Karte (app.css .scard, v4.css .sortrow, .adpill) */
.hv-b-liste { width: 350px; padding: 0 16px 8px; background: #fff; }
.hv-sortrow { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; font-family: var(--hv-cond); font-weight: 600; font-size: 14px; color: var(--hv-muted); }
.hv-sort { display: inline-flex; align-items: center; gap: 4px; color: var(--hv-teal-d); font-weight: 700; }
.hv-scard { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.hv-scard + .hv-scard { border-top: 1px dotted var(--hv-dot); padding-top: 10px; }
.hv-scard-foto { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--hv-mint); display: block; }
.hv-scard-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.hv-scard-mrow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hv-adpill {
  display: inline-flex; align-items: center; font-family: var(--hv-cond); font-weight: 700; font-size: 13px; letter-spacing: .5px; color: var(--hv-navy);
  background: #FFF7D1; border-radius: 6px; padding: 1px 6px; box-shadow: inset 0 0 0 1px var(--hv-yellow); line-height: 1.3; flex-shrink: 0;
}
.hv-scard-m { font-family: var(--hv-cond); font-weight: 700; font-size: 14px; color: var(--hv-teal-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-scard-t { font-weight: 900; font-size: 15px; line-height: 1.2; color: var(--hv-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv-scard-s { font-family: var(--hv-cond); font-weight: 500; font-size: 14px; color: var(--hv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-preis { color: var(--hv-teal-d); font-weight: 700; }
.hv-preis.frei { color: #2E8540; }
.hv-scard.hv-skel .hv-scard-foto { background: #E3EBEC; }
.hv-scard.hv-skel .hv-scard-b { gap: 7px; }

@media (prefers-reduced-motion: no-preference) {
  .hv-live { animation: hv-auf .18s ease-out; }
  @keyframes hv-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
