/* sb-hugo: Preis und Kalender. Farben und Maße aus dem Designsystem (sb-core). */
.hg, .hg-m, .hg-cal { --hg-g: var(--g, #60706B); --hg-g9: var(--g9, #46534F); --hg-g1: var(--g1, #E3E6E5); --hg-b: var(--b2, #E7E2D9); --hg-w: var(--w, #fff); color: var(--hg-g); }

/* Preis */
.hg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.hg-price strong { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: .01em; }
.hg-ab, .hg-per { font-size: 13px; letter-spacing: .04em; }
.hg-i { align-self: center; width: 20px; height: 20px; padding: 0; margin-left: 2px; border: 1px solid var(--hg-g); border-radius: 50%; background: transparent; color: var(--hg-g); font: 700 12px/1 inherit; font-family: Georgia, serif; font-style: italic; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hg-i:hover, .hg-i[aria-expanded="true"] { background: var(--hg-g); color: var(--hg-w); }
.hg-tip { margin: 10px 0 0; padding: 12px 14px; font-size: 13px; line-height: 1.55; background: var(--hg-g1); color: var(--hg-g9); }

/* Zeitraum-Feld */
.hg-datewrap { position: relative; margin-top: 16px; }
.hg-dates { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 44px 15px 14px; border: 1px solid var(--hg-g1); background: var(--hg-w); color: var(--hg-g); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s; }
.hg-dates:hover, .hg-dates:focus-visible { border-color: var(--hg-g); outline: none; }
.hg-dv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hg-dv span:not(.hg-arr) { opacity: .6; }
.hg-dv .is-set { opacity: 1; color: var(--hg-g9); font-weight: 500; }
.hg-arr { opacity: .7; }
.hg-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--hg-g); font-size: 22px; line-height: 1; cursor: pointer; }
.hg-x[hidden] { display: none; }

/* Gesamtpreis */
.hg-total { margin-top: 16px; }
.hg-trow { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.hg-trow strong { font-size: 20px; font-weight: 700; }
.hg-tnote { margin: 4px 0 0 !important; font-size: 12px; opacity: .75; }
.hg-stand { margin: 10px 0 0 !important; font-size: 11px; opacity: .6; letter-spacing: .03em; }

/* Kalender (Desktop: Fenster unter dem Feld, mobil: Vollbild) */
.hg-cal { position: absolute; z-index: 99999; width: 700px; max-width: calc(100vw - 24px); padding: 22px 28px 20px; background: var(--hg-w); border: 1px solid var(--hg-g1); box-shadow: 0 14px 44px rgba(0, 0, 0, .16); }
.hg-cal[hidden] { display: none; }
.hg-sh { display: none; }
.hg-nav { display: flex; justify-content: space-between; position: absolute; left: 22px; right: 22px; top: 22px; pointer-events: none; }
.hg-nav button { pointer-events: auto; width: 32px; height: 32px; border: 0; background: transparent; color: var(--hg-g); font-size: 26px; line-height: 1; cursor: pointer; }
.hg-nav button:disabled { opacity: .25; cursor: default; }
.hg-months { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 40px; }
.hg-mt { text-align: center; font-size: 15px; font-weight: 700; letter-spacing: .04em; padding: 4px 0 16px; }
.hg-wd, .hg-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.hg-wd span { text-align: center; font-size: 12px; letter-spacing: .06em; opacity: .7; padding-bottom: 8px; }
.hg-d { position: relative; height: 40px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--hg-g9); font: inherit; font-size: 15px; cursor: pointer; }
.hg-d:hover:not(:disabled) { background: var(--hg-g1); }
.hg-d.is-past { opacity: .28; cursor: default; }
.hg-d.is-off { color: var(--hg-g); opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.hg-d.in-range, .hg-d.in-prev { background: var(--hg-b); }
.hg-d.is-start, .hg-d.is-end { background: var(--hg-g); color: var(--hg-w); opacity: 1; text-decoration: none; }
.hg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hg-g1); font-size: 14px; }
.hg-sel { font-weight: 500; }
.hg-clear { padding: 10px 16px; border: 1px solid var(--hg-g); background: var(--hg-w); color: var(--hg-g); font: 700 12px/1 inherit; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.hg-clear:hover { background: var(--hg-g1); }
.hg-apply { display: none; }
.hg-msg { padding: 30px 0; text-align: center; font-size: 14px; }

/* Mobil: Preis und Zeitraum in der festen Leiste, Kalender als Vollbild */
.hg-m { padding: 10px 16px 0; }
.hg-m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hg-m .hg-price strong { font-size: 22px; }
.hg-m-dates { flex: none; max-width: 52%; padding: 9px 12px; border: 1px solid var(--hg-g); background: var(--hg-w); color: var(--hg-g); font: 700 12px/1.2 inherit; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-m .hg-tip { margin-bottom: 4px; }
@media (min-width: 861px) { .hg-m { display: none; } }
@media (max-width: 860px) {
	.hg-cal { position: fixed; inset: 0; width: auto; max-width: none; height: 100%; padding: 0; border: 0; box-shadow: none; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
	.hg-sh { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--hg-g1); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
	.hg-close { width: 36px; height: 36px; border: 0; background: transparent; color: var(--hg-g); font-size: 28px; line-height: 1; }
	.hg-nav { position: static; padding: 8px 14px 0; }
	.hg-months { padding: 0 16px; gap: 0; flex: 1; }
	.hg-mt { padding: 0 0 12px; margin-top: -22px; }
	.hg-d { height: 46px; font-size: 16px; }
	.hg-foot { position: sticky; bottom: 0; margin-top: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--hg-w); flex-wrap: wrap; }
	.hg-sel { flex: 1 1 100%; }
	.hg-clear { flex: 0 0 auto; }
	.hg-apply { display: inline-flex; flex: 1; align-items: center; justify-content: center; padding: 14px 18px; border: 1px solid var(--hg-g); background: var(--hg-g); color: var(--hg-w); font: 700 13px/1 inherit; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
	.hg-apply:disabled { opacity: .4; cursor: default; }
	html.hg-lock, html.hg-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .hg-dates { transition: none; } }

/* Theme-Reset: Das Hello-Theme stylt alle Knöpfe (pinker Rahmen, Hover, Innenabstand). Höhere Gewichtung stellt die Plugin-Stile wieder her. */
body .hg button, body .hg-m button, body .hg-cal button { border-radius: 0; box-shadow: none; text-shadow: none; text-transform: none; letter-spacing: normal; min-width: 0; line-height: 1; font-family: inherit; }
body .hg .hg-i, body .hg-m .hg-i { width: 20px; height: 20px; padding: 0; border: 1px solid var(--hg-g); background: transparent; color: var(--hg-g); font: italic 700 12px/1 Georgia, serif; }
body .hg .hg-i:hover, body .hg .hg-i:focus, body .hg .hg-i[aria-expanded="true"], body .hg-m .hg-i:hover, body .hg-m .hg-i[aria-expanded="true"] { background: var(--hg-g); color: var(--hg-w); border-color: var(--hg-g); }
body .hg .hg-dates { width: 100%; padding: 15px 44px 15px 14px; border: 1px solid var(--hg-g1); background: var(--hg-w); color: var(--hg-g); font-size: 15px; line-height: 1.3; }
body .hg .hg-dates:hover, body .hg .hg-dates:focus { background: var(--hg-w); color: var(--hg-g); border-color: var(--hg-g); }
body .hg .hg-x { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--hg-g); font-size: 22px; }
body .hg .hg-x:hover, body .hg .hg-x:focus { background: transparent; color: var(--hg-g9); }
body .hg-cal .hg-nav button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--hg-g); font-size: 26px; }
body .hg-cal .hg-nav button:hover, body .hg-cal .hg-nav button:focus { background: transparent; color: var(--hg-g9); }
body .hg-cal .hg-d { height: 40px; width: auto; padding: 0; margin: 0; border: 0; background: transparent; color: var(--hg-g9); font-size: 15px; font-weight: 400; }
body .hg-cal .hg-d:hover:not(:disabled) { background: var(--hg-g1); color: var(--hg-g9); }
body .hg-cal .hg-d.in-range, body .hg-cal .hg-d.in-prev { background: var(--hg-b); color: var(--hg-g9); }
body .hg-cal .hg-d.is-start, body .hg-cal .hg-d.is-end, body .hg-cal .hg-d.is-start:hover, body .hg-cal .hg-d.is-end:hover { background: var(--hg-g); color: var(--hg-w); }
body .hg-cal .hg-d.is-off, body .hg-cal .hg-d.is-off:hover { background: transparent; color: var(--hg-g); }
body .hg-cal .hg-clear { padding: 10px 16px; border: 1px solid var(--hg-g); background: var(--hg-w); color: var(--hg-g); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body .hg-cal .hg-clear:hover, body .hg-cal .hg-clear:focus { background: var(--hg-g1); color: var(--hg-g); }
body .hg-cal .hg-close { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--hg-g); font-size: 28px; }
body .hg-cal .hg-apply { border: 1px solid var(--hg-g); background: var(--hg-g); color: var(--hg-w); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body .hg-m .hg-m-dates { padding: 9px 12px; border: 1px solid var(--hg-g); background: var(--hg-w); color: var(--hg-g); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body .hg-m .hg-m-dates:hover, body .hg-m .hg-m-dates:focus { background: var(--hg-w); color: var(--hg-g); }
@media (min-width: 861px) { body .hg-cal .hg-apply { display: none; } }
body .hg .hg-i, body .hg-m .hg-i { border-radius: 50%; }

/* ---- 0.2.0: Kalender nur zur Ansicht (frei/belegt), Knopf „Verfügbarkeit“ ---- */
body .hg .hg-avail, body .hg-m .hg-m-dates { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
body .hg .hg-avail { width: 100%; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--hg-g); background: var(--hg-w); color: var(--hg-g); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
body .hg .hg-avail:hover, body .hg .hg-avail:focus { background: var(--hg-g); color: var(--hg-w); border-color: var(--hg-g); }
.hg-ic { flex: none; display: block; width: 18px; height: 18px; }
body .hg-m .hg-m-dates { flex: none; max-width: none; white-space: nowrap; }
.hg-m-row { flex-wrap: nowrap; }
.hg-m .hg-price { flex-wrap: wrap; row-gap: 2px; }
body .hg .hg-i, body .hg-m .hg-i { border-radius: 50%; flex: none; }
body .hg .hg-i span, body .hg-m .hg-i span { display: block; line-height: 1; }
.hg-d { display: flex; align-items: center; justify-content: center; height: 40px; font-size: 15px; color: var(--hg-g9); cursor: default; }
.hg-d.is-free { background: var(--hg-w); }
.hg-d.is-past { opacity: .28; }
.hg-d.is-off { color: var(--hg-g); opacity: .4; text-decoration: line-through; background: var(--hg-g1); }
.hg-legend { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.hg-lg { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--hg-g1); margin-left: 10px; }
.hg-legend .hg-lg:first-child { margin-left: 0; }
.hg-lg-free { background: var(--hg-w); border-color: var(--hg-g); }
.hg-lg-off { background: var(--hg-g1); }
.hg-sel { font-size: 12px; opacity: .65; font-weight: 400; }
.hg-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.5; opacity: .75; }
@media (max-width: 860px) {
	.hg-hint { padding: 0 16px calc(14px + env(safe-area-inset-bottom)); }
	.hg-d { height: 46px; font-size: 16px; }
}
/* 0.6.0: „zzgl. einmalig … € Reinigung & Service“ */
.hg-once { margin: 4px 0 0 !important; font-size: 13px; line-height: 1.45; color: var(--hg-g); }
.hg-m .hg-once { margin: 2px 0 0 !important; font-size: 12px; }
/* 0.7.1 – Befunde Design (H1, H2/H12, H3) */
/* H3: Tippfläche des ⓘ mind. 44 × 44 px, Symbol bleibt klein */
body .hg .hg-i, body .hg-m .hg-i { position: relative; }
body .hg .hg-i::after, body .hg-m .hg-i::after { content: ""; position: absolute; inset: -12px; }
/* H2/H12: mobile Leiste kompakt – einmalige Kosten nur in der Preisbox/ⓘ, Zeitraum-Hinweis einzeilig */
.hg-m .hg-once:not(.hg-nobook) { display: none; }
.hg-m .sbs-sn { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 6px; padding: 6px 10px; font-size: 12px; line-height: 1.35; }
.hg-m .hg-tip { max-height: 30vh; overflow-y: auto; }
/* H1: nicht buchbar → „Andere Termine ansehen“ als Hauptknopf in der Preisbox */
body .hg .hg-alt { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 14px 18px; border: 1px solid var(--hg-g); background: var(--hg-g); color: var(--hg-w); font: 700 13px/1 inherit; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
body .hg .hg-alt:hover, body .hg .hg-alt:focus { background: var(--hg-g9); border-color: var(--hg-g9); color: var(--hg-w); }
.hg-m .hg-alt { display: none; }
/* 0.7.3: mobile Leiste – Datum steht schon in der Suche, nur das Ergebnis zeigen */
.hg-m .sbs-sn > span:first-child { display: none; }
/* 0.12.0 D4: Zeitraum und Gäste in der Preisbox (Grundform – Gestaltung macht das Theme) */
.hg-pick { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.hg-pf { position: relative; display: flex; flex-direction: column; gap: 4px; }
.hg-pl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hg-g); }
body .hg .hg-pv { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 0 40px 0 12px; border: 1px solid var(--hg-g); border-radius: 0; background: var(--hg-w); color: var(--hg-g); font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; text-align: left; cursor: pointer; box-shadow: none; }
body .hg .hg-pv.is-set { font-weight: 700; }
.hg-px { position: absolute; right: 4px; bottom: 6px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--hg-g); font-size: 20px; line-height: 1; text-decoration: none; }
body .hg .hg-g { width: 100%; min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--hg-g); border-radius: 0; background: var(--hg-w); color: var(--hg-g); font: inherit; font-size: 14px; }
.hg .sbs-sn.is-hint { border-left-color: var(--hg-g); background: transparent; padding: 6px 0 0; border-left: 0; }
/* 0.12.0 D14: ⓘ-Element 24 × 24 px (sichtbarer Kreis bleibt 20 px) */
body .hg .hg-i, body .hg-m .hg-i { box-sizing: border-box; width: 24px; height: 24px; margin: -2px 0 -2px 0; border-color: transparent; background: transparent; }
body .hg .hg-i::before, body .hg-m .hg-i::before { content: ""; position: absolute; inset: 2px; border: 1px solid var(--hg-g); border-radius: 50%; }
body .hg .hg-i span, body .hg-m .hg-i span { position: relative; }
body .hg .hg-i:hover, body .hg .hg-i:focus, body .hg .hg-i[aria-expanded="true"], body .hg-m .hg-i:hover, body .hg-m .hg-i[aria-expanded="true"] { background: transparent; border-color: transparent; color: var(--hg-w); }
body .hg .hg-i:hover::before, body .hg .hg-i:focus::before, body .hg .hg-i[aria-expanded="true"]::before, body .hg-m .hg-i:hover::before, body .hg-m .hg-i[aria-expanded="true"]::before { background: var(--hg-g); }
/* 0.12.1: langer Zeitraum endet mit … statt unter das × zu laufen */
body .hg .hg-pv > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 0.23.0 „ab“-Preis (7 Nächte) ohne Zeitraum; mobil darunter „Wähle deinen Zeitraum für den genauen Preis.“ Mit Zeitraum: Nachtpreis wie im Modul. */
.hg-span-s { flex-basis: 100%; margin-top: 0; font-size: 11px; line-height: 1.4; letter-spacing: .02em; color: var(--hg-g); }
.hg-ok-p em.hg-ok-pn { display: block; margin-top: 2px; font-style: normal; font-size: 13px; }
.hg-m-ok-3 { display: block; font-size: 12px; line-height: 1.35; color: var(--hg-g); }
