/* Herrihof Mews – Frontend */
:root {
	--hhm-primary: #0e6138;
	--hhm-accent: #9e0303;
	--hhm-title-font: Kavivanar, sans-serif;
	--hhm-radius: 8px;
	--hhm-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* ---------- Buttons (gegen Theme-Styles abgesichert) ---------- */
button.hhm-btn,
.hhm-btn {
	display: inline-flex !important; align-items: center; justify-content: center;
	background: var(--hhm-accent) !important; color: #fff !important; border: none !important;
	border-radius: 6px !important; padding: 0 22px !important; min-height: 44px !important; height: auto !important;
	line-height: 1.2 !important; font-size: 1rem !important; font-weight: 600 !important;
	text-transform: none !important; letter-spacing: normal !important; text-decoration: none !important;
	white-space: nowrap !important; box-shadow: none !important; margin: 0 !important;
	cursor: pointer; transition: filter .2s, transform .2s;
}
button.hhm-btn:hover, .hhm-btn:hover { filter: brightness(.85); }
button.hhm-btn:focus-visible, .hhm-btn-outline:focus-visible, .hhm-link:focus-visible { outline: 3px solid var(--hhm-primary); outline-offset: 2px; }

a.hhm-btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 0 16px; border: 2px solid var(--hhm-primary); border-radius: 6px;
	color: var(--hhm-primary) !important; font-weight: 600; text-decoration: none !important; background: transparent;
	box-sizing: border-box; transition: background .2s, color .2s;
}
a.hhm-btn-outline:hover { background: var(--hhm-primary); color: #fff !important; }

button.hhm-link {
	background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important;
	height: auto !important; min-height: 0 !important; line-height: inherit !important; color: var(--hhm-primary) !important;
	font-size: 1em !important; font-weight: 600 !important; text-decoration: underline !important;
	text-transform: none !important; box-shadow: none !important; cursor: pointer; display: inline !important;
}
button.hhm-link:hover { color: var(--hhm-accent) !important; }

/* ---------- Suchbox ---------- */
.hhm-suche-box {
	background: rgba(255, 255, 255, .94); border-top: 4px solid var(--hhm-primary);
	border-radius: var(--hhm-radius); padding: 22px 24px; margin: 2em auto; max-width: 860px;
	box-shadow: var(--hhm-shadow); box-sizing: border-box;
}
.hhm-titel {
	font-family: var(--hhm-title-font); color: var(--hhm-primary); font-size: 1.6em;
	text-align: center; margin-bottom: 14px; line-height: 1.2;
}
.hhm-suche { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: center; margin: 0; }
.hhm-feld { display: flex; flex-direction: column; }
.hhm-feld label { font-weight: 600; color: var(--hhm-primary); margin-bottom: 5px; font-size: .95em; }
.hhm-feld input[type=date],
.hhm-feld select {
	padding: 10px 12px; border: 1px solid #b9b9b9; border-radius: 6px; font-size: 1em;
	min-width: 170px; height: 46px; box-sizing: border-box; background: #fff; color: #333;
}
.hhm-suche .hhm-btn { min-height: 46px !important; }
.hhm-alle, .hhm-hinweis { text-align: center; margin-top: 12px; font-size: .92em; color: #555; }

/* Buchungsbox in Detailseiten (Seitenleiste) */
.hhm-buchungsbox { margin: 18px 0 0; padding: 18px; max-width: none; }
.hhm-buchungsbox .hhm-titel { font-size: 1.3em; }
.hhm-buchungsbox .hhm-suche { flex-direction: column; align-items: stretch; }
.hhm-buchungsbox .hhm-feld input, .hhm-buchungsbox .hhm-feld select { width: 100%; min-width: 0; }
.hhm-buchungsbox .hhm-btn { width: 100%; }

/* ---------- Karten ---------- */
.hhm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 1.5em 0; }
.hhm-karte {
	background: #fff; border-radius: var(--hhm-radius); overflow: hidden; display: flex; flex-direction: column;
	box-shadow: var(--hhm-shadow); transition: transform .2s, box-shadow .2s;
}
.hhm-karte:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
/* ---------- Slider (Karten + Galerie) ---------- */
.hhm-slider { position: relative; display: block; aspect-ratio: 3 / 2; background: #e9e6dc; overflow: hidden; touch-action: pan-y; }
.hhm-slider .hhm-slide-link { display: block; width: 100%; height: 100%; }
.hhm-slider .hhm-slide-img {
	width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .15s ease;
	-webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.hhm-slider .hhm-slide-img.is-fading { opacity: .35; }
button.hhm-slide-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 42px !important; height: 42px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: none !important; border-radius: 50% !important; background: rgba(255, 255, 255, .85) !important;
	color: var(--hhm-primary) !important; font-size: 30px !important; line-height: 38px !important; font-weight: 400 !important;
	text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25) !important;
	opacity: 0; transition: opacity .2s, background .2s;
}
.hhm-slide-nav.hhm-prev { left: 10px; }
.hhm-slide-nav.hhm-next { right: 10px; }
.hhm-slider:hover .hhm-slide-nav, .hhm-slide-nav:focus-visible { opacity: 1; }
button.hhm-slide-nav:hover { background: #fff !important; color: var(--hhm-accent) !important; }
.hhm-slide-count {
	position: absolute; right: 10px; bottom: 10px; z-index: 2; background: rgba(0, 0, 0, .55); color: #fff;
	font-size: .78em; padding: 2px 9px; border-radius: 12px; pointer-events: none;
}
@media (hover: none) { .hhm-slide-nav { opacity: .9 !important; } }
.hhm-karte .hhm-slider .hhm-slide-img { transition: opacity .15s ease, transform .4s; }
.hhm-karte:hover .hhm-slider .hhm-slide-img { transform: scale(1.03); }
.hhm-karte-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.hhm-karte h3 { font-family: var(--hhm-title-font); font-size: 1.4em; margin: 0 0 6px; line-height: 1.2; }
.hhm-karte h3 a { color: var(--hhm-primary); text-decoration: none; }
.hhm-meta { font-size: .88em; color: var(--hhm-primary); font-weight: 600; margin-bottom: 8px; }
.hhm-text { font-size: .95em; color: #444; line-height: 1.55; margin: 0 0 12px; }
.hhm-karte .hhm-text { flex: 1; }
.hhm-karte-fuss { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.hhm-karte-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.hhm-preis { color: #333; font-size: .85em; line-height: 1.25; }
.hhm-preis strong { display: block; font-size: 1.6em; color: var(--hhm-accent); }

.hhm-badge {
	position: absolute; top: 12px; left: 12px; background: var(--hhm-primary); color: #fff;
	font-size: .8em; font-weight: 600; padding: 4px 10px; border-radius: 20px; z-index: 2;
}

/* Listen */
.hhm-leistungen, .hhm-ausstattung { list-style: none; margin: 0 0 14px; padding: 0; }
.hhm-leistungen li, .hhm-ausstattung li { position: relative; padding: 3px 0 3px 24px; line-height: 1.45; }
.hhm-leistungen li::before, .hhm-ausstattung li::before {
	content: "✓"; position: absolute; left: 0; top: 3px; color: var(--hhm-primary); font-weight: 700;
}
.hhm-ausstattung { columns: 2 220px; column-gap: 32px; }
.hhm-ausstattung li { break-inside: avoid; }

/* ---------- Detail (Zimmer / Arrangement) ---------- */
.hhm-zimmer-detail, .hhm-arr-detail { margin: 0 0 3em; }
.hhm-zimmer-ausfuehrlich .hhm-zimmer-detail { padding-bottom: 2.5em; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.hhm-zimmer-ausfuehrlich .hhm-zimmer-detail:last-child { border-bottom: 0; }
.hhm-detail-titel { font-family: var(--hhm-title-font); color: var(--hhm-primary); margin: 0 0 .6em; }
.hhm-detail-oben { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.hhm-detail-seite {
	background: rgba(255, 255, 255, .9); border-radius: var(--hhm-radius); padding: 20px; box-shadow: var(--hhm-shadow);
	position: sticky; top: 20px;
}
.hhm-detail-seite .hhm-buchungsbox { box-shadow: none; padding: 16px 0 0; background: transparent; border-top: 1px solid rgba(0, 0, 0, .1); border-radius: 0; }
.hhm-detail-text, .hhm-detail-block { margin-top: 2em; }
.hhm-detail-text h2, .hhm-detail-text h3, .hhm-detail-block h2, .hhm-detail-block h3 {
	font-family: var(--hhm-title-font); color: var(--hhm-primary); margin: 0 0 .5em;
}

.hhm-facts { list-style: none; margin: 0 0 14px; padding: 0; }
.hhm-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(0, 0, 0, .15); }
.hhm-facts li span { font-weight: 600; color: var(--hhm-primary); }

.hhm-arr-links { margin: 0; padding-left: 1.2em; }
.hhm-arr-links a { color: var(--hhm-primary); font-weight: 600; }

/* ---------- Galerie ---------- */
.hhm-galerie-main { border-radius: var(--hhm-radius); }
.hhm-galerie-main button.hhm-slide-nav { width: 50px !important; height: 50px !important; font-size: 36px !important; line-height: 46px !important; opacity: .85; }
.hhm-galerie-thumbs {
	display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px;
	scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.hhm-galerie-thumbs::-webkit-scrollbar { display: none; }
button.hhm-thumb {
	flex: 0 0 auto; width: 84px; height: 64px; padding: 0 !important; margin: 0; border: 2px solid transparent !important;
	border-radius: 4px; overflow: hidden; cursor: pointer; background: none !important; opacity: .7; transition: opacity .2s;
}
button.hhm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.hhm-thumb:hover, button.hhm-thumb.is-active { opacity: 1; border-color: var(--hhm-primary) !important; }

/* ---------- Popup ---------- */
.hhm-popup[hidden] { display: none; }
.hhm-popup { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hhm-popup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.hhm-popup-box {
	position: relative; background: #fff; border-radius: 12px; max-width: 720px; width: 100%; max-height: calc(100vh - 32px);
	overflow: auto; display: grid; grid-template-columns: 1fr 1.2fr; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	transform: translateY(20px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s;
}
.hhm-popup.is-open .hhm-popup-backdrop { opacity: 1; }
.hhm-popup.is-open .hhm-popup-box { transform: none; opacity: 1; }
.hhm-popup-bild img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.hhm-popup-body { padding: 26px 24px 22px; }
.hhm-popup-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78em; font-weight: 700; color: var(--hhm-accent); margin-bottom: 4px; }
.hhm-popup-titel { font-family: var(--hhm-title-font); color: var(--hhm-primary); font-size: 1.7em; line-height: 1.2; margin-bottom: 10px; }
.hhm-popup-body p { color: #444; margin: 0 0 12px; line-height: 1.55; }
button.hhm-popup-close {
	position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px !important; height: 36px !important; min-height: 0 !important;
	padding: 0 !important; border: none !important; border-radius: 50% !important; background: rgba(255, 255, 255, .92) !important;
	color: #333 !important; font-size: 24px !important; line-height: 36px !important; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) !important;
}
button.hhm-popup-close:hover { background: #fff !important; color: var(--hhm-accent) !important; }

/* ---------- Popup als kleine Box in der Ecke ---------- */
.hhm-popup--unten-rechts, .hhm-popup--unten-links {
	inset: auto 20px 20px auto; padding: 0; display: block; width: 360px; max-width: calc(100vw - 32px);
}
.hhm-popup--unten-links { inset: auto auto 20px 20px; }
.hhm-popup--unten-rechts .hhm-popup-backdrop, .hhm-popup--unten-links .hhm-popup-backdrop { display: none; }
.hhm-popup--unten-rechts .hhm-popup-box, .hhm-popup--unten-links .hhm-popup-box {
	grid-template-columns: 1fr; max-width: none; max-height: calc(100vh - 40px); border-radius: 10px;
	transform: translateY(40px); box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
	border-top: 4px solid var(--hhm-primary);
}
.hhm-popup--unten-rechts.is-open .hhm-popup-box, .hhm-popup--unten-links.is-open .hhm-popup-box { transform: none; }
.hhm-popup--unten-rechts .hhm-popup-bild img, .hhm-popup--unten-links .hhm-popup-bild img { min-height: 0; height: 150px; }
.hhm-popup--unten-rechts .hhm-popup-body, .hhm-popup--unten-links .hhm-popup-body { padding: 14px 16px 16px; }
.hhm-popup--unten-rechts .hhm-popup-titel, .hhm-popup--unten-links .hhm-popup-titel { font-size: 1.35em; margin-bottom: 6px; }
.hhm-popup--unten-rechts .hhm-popup-body p, .hhm-popup--unten-links .hhm-popup-body p {
	font-size: .92em; margin-bottom: 10px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hhm-popup--unten-rechts .hhm-leistungen, .hhm-popup--unten-links .hhm-leistungen { display: none; }
.hhm-popup--unten-rechts .hhm-preis strong, .hhm-popup--unten-links .hhm-preis strong { font-size: 1.3em; }
.hhm-popup--unten-rechts .hhm-karte-buttons, .hhm-popup--unten-links .hhm-karte-buttons { width: 100%; }
.hhm-popup--unten-rechts .hhm-karte-buttons > *, .hhm-popup--unten-links .hhm-karte-buttons > * { flex: 1; min-height: 40px !important; font-size: .92rem !important; padding: 0 10px !important; }
.hhm-popup--unten-rechts button.hhm-popup-close, .hhm-popup--unten-links button.hhm-popup-close { top: 8px; right: 8px; width: 30px !important; height: 30px !important; font-size: 20px !important; line-height: 30px !important; }

/* Etikett nach dem Schließen */
.hhm-popup-pill[hidden] { display: none; }
.hhm-popup-pill {
	position: fixed; bottom: 20px; z-index: 99989; display: flex; align-items: stretch;
	background: var(--hhm-accent); border-radius: 24px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transform: translateY(30px); opacity: 0; transition: transform .25s, opacity .25s; max-width: calc(100vw - 40px);
}
.hhm-popup-pill.is-open { transform: none; opacity: 1; }
.hhm-popup-pill--unten-rechts { right: 20px; }
.hhm-popup-pill--unten-links { left: 20px; }
.hhm-popup-pill button {
	background: transparent !important; border: none !important; color: #fff !important; cursor: pointer;
	margin: 0 !important; box-shadow: none !important; min-height: 0 !important; text-transform: none !important;
}
button.hhm-pill-open {
	padding: 10px 6px 10px 18px !important; font-size: .95rem !important; font-weight: 600 !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hhm-pill-kicker { opacity: .8; font-weight: 400; margin-right: 4px; }
button.hhm-pill-x { padding: 0 14px 0 8px !important; font-size: 20px !important; line-height: 1 !important; opacity: .8; }
button.hhm-pill-x:hover { opacity: 1; }

/* ---------- Arrangement-Einschieber ---------- */
.hhm-schieber {
	--sch-w: 330px;
	position: fixed; top: 50%; right: 0; z-index: 99980; display: flex; align-items: center;
	transform: translate(var(--sch-w), -50%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.hhm-schieber.is-open { transform: translate(0, -50%); }
.hhm-schieber--links { right: auto; left: 0; flex-direction: row-reverse; transform: translate(calc(-1 * var(--sch-w)), -50%); }
.hhm-schieber--links.is-open { transform: translate(0, -50%); }

button.hhm-sch-tab {
	display: flex !important; align-items: center; gap: 8px; writing-mode: vertical-rl; transform: rotate(180deg);
	background: var(--hhm-accent) !important; color: #fff !important; border: none !important; margin: 0 !important;
	border-radius: 0 8px 8px 0 !important; padding: 14px 9px !important; min-height: 0 !important; height: auto !important;
	font-size: .95rem !important; font-weight: 600 !important; letter-spacing: .02em; text-transform: none !important;
	line-height: 1 !important; cursor: pointer; box-shadow: -3px 3px 12px rgba(0, 0, 0, .2) !important;
}
.hhm-schieber--links button.hhm-sch-tab { transform: none; border-radius: 0 8px 8px 0 !important; box-shadow: 3px 3px 12px rgba(0, 0, 0, .2) !important; }
button.hhm-sch-tab:hover { filter: brightness(.9); }
.hhm-sch-tab-icon { font-size: .9em; }
.hhm-sch-count {
	writing-mode: horizontal-tb; display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: var(--hhm-accent); font-size: .78rem; padding: 0 5px;
}

.hhm-sch-panel {
	width: var(--sch-w); max-height: 76vh; background: #fff; display: flex; flex-direction: column;
	border-top: 4px solid var(--hhm-primary); border-radius: 10px 0 0 10px; box-shadow: -6px 6px 24px rgba(0, 0, 0, .22);
	overflow: hidden; box-sizing: border-box;
}
.hhm-schieber--links .hhm-sch-panel { border-radius: 0 10px 10px 0; box-shadow: 6px 6px 24px rgba(0, 0, 0, .22); }
.hhm-schieber .hhm-sch-panel { visibility: hidden; transition: visibility 0s .32s; }
.hhm-schieber.is-open .hhm-sch-panel { visibility: visible; transition: visibility 0s 0s; }
.hhm-schieber--rechts .hhm-sch-count { transform: rotate(180deg); }
.hhm-sch-griff { display: none; }
.hhm-sch-kopf { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.hhm-sch-titel { font-family: var(--hhm-title-font); color: var(--hhm-primary); font-size: 1.3em; line-height: 1.2; }
button.hhm-sch-zu {
	background: transparent !important; border: none !important; color: #666 !important; font-size: 24px !important;
	line-height: 1 !important; padding: 2px 6px !important; margin: 0 !important; min-height: 0 !important; height: auto !important;
	cursor: pointer; box-shadow: none !important;
}
button.hhm-sch-zu:hover { color: var(--hhm-accent) !important; }
.hhm-sch-liste { overflow-y: auto; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; }

.hhm-sch-karte { display: flex; gap: 10px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 8px; overflow: hidden; background: #fff; flex: 0 0 auto; }
.hhm-sch-bild { flex: 0 0 96px; display: block; background: #e9e6dc; }
.hhm-sch-bild img { width: 100%; height: 100%; min-height: 96px; object-fit: cover; display: block; }
.hhm-sch-info { padding: 8px 10px 9px 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
a.hhm-sch-name { font-family: var(--hhm-title-font); color: var(--hhm-primary) !important; font-size: 1.12em; line-height: 1.2; text-decoration: none !important; }
.hhm-sch-meta { font-size: .85em; color: #555; }
.hhm-sch-aktionen { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.hhm-sch-aktionen .hhm-btn { min-height: 34px !important; padding: 0 12px !important; font-size: .88rem !important; }
a.hhm-sch-mehr { font-size: .85em; color: var(--hhm-primary) !important; text-decoration: underline !important; }

.hhm-sch-backdrop[hidden], .hhm-sch-hinweis[hidden] { display: none; }
.hhm-sch-backdrop { position: fixed; inset: 0; z-index: 99979; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.hhm-sch-backdrop.is-open { opacity: 1; }
.hhm-sch-hinweis { display: none; }

@media (max-width: 767px) {
	.hhm-schieber, .hhm-schieber--links, .hhm-schieber.is-open { position: static; transform: none !important; display: block; }
	button.hhm-sch-tab, .hhm-schieber--links button.hhm-sch-tab {
		position: fixed; bottom: 16px; right: 16px; z-index: 99980; writing-mode: horizontal-tb; transform: none;
		border-radius: 22px !important; padding: 11px 16px !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important;
		transition: opacity .2s, transform .2s;
	}
	.hhm-schieber--links button.hhm-sch-tab { right: auto; left: 16px; }
	.hhm-schieber.is-open button.hhm-sch-tab { opacity: 0; pointer-events: none; transform: translateY(10px); }
	.hhm-sch-panel, .hhm-schieber--links .hhm-sch-panel {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 99985; width: auto; max-height: 72vh;
		border-radius: 16px 16px 0 0; border-top: 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
		transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s .32s;
		padding-bottom: env(safe-area-inset-bottom);
	}
	.hhm-schieber.is-open .hhm-sch-panel { transform: none; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s 0s; }
	.hhm-schieber--rechts .hhm-sch-count { transform: none; }
	.hhm-sch-griff { display: block; width: 42px; height: 5px; border-radius: 3px; background: #cfcfcf; margin: 8px auto 0; }
	.hhm-sch-kopf { padding: 6px 16px 6px; }
	.hhm-sch-liste {
		flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
		padding: 4px 16px 18px; gap: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.hhm-sch-liste::-webkit-scrollbar { display: none; }
	.hhm-sch-karte { flex: 0 0 78%; max-width: 300px; flex-direction: column; gap: 0; scroll-snap-align: center; }
	.hhm-sch-karte:only-child { flex-basis: 100%; max-width: none; }
	.hhm-sch-bild { flex: 0 0 auto; }
	.hhm-sch-bild img { height: 140px; min-height: 0; }
	.hhm-sch-info { padding: 10px 12px 12px; }
	.hhm-sch-aktionen .hhm-btn { flex: 1; min-height: 40px !important; }
	html.hhm-sch-lock, html.hhm-sch-lock body { overflow: hidden; }

	.hhm-sch-hinweis {
		display: flex; position: fixed; bottom: 72px; right: 16px; z-index: 99981; max-width: calc(100vw - 32px);
		background: #fff; border-radius: 10px; border-top: 3px solid var(--hhm-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
		opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s;
	}
	.hhm-sch-hinweis--links { right: auto; left: 16px; }
	.hhm-sch-hinweis.is-open { opacity: 1; transform: none; }
	button.hhm-sch-hinweis-open {
		display: flex !important; align-items: center; gap: 10px; background: transparent !important; border: none !important;
		padding: 8px 4px 8px 8px !important; margin: 0 !important; text-align: left; cursor: pointer; color: #333 !important;
		min-height: 0 !important; height: auto !important; box-shadow: none !important; text-transform: none !important; font-size: .9rem !important;
	}
	.hhm-sch-hinweis-open img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
	.hhm-sch-hinweis-open strong { display: block; font-family: var(--hhm-title-font); color: var(--hhm-primary); font-weight: 400; font-size: 1.1em; }
	.hhm-sch-hinweis-open em { font-style: normal; color: var(--hhm-accent); font-weight: 600; }
	button.hhm-sch-hinweis-x {
		background: transparent !important; border: none !important; color: #777 !important; font-size: 20px !important;
		padding: 0 10px !important; margin: 0 !important; min-height: 0 !important; cursor: pointer; box-shadow: none !important;
	}
	html.hhm-has-schieber .hhm-popup-pill { bottom: 72px; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
	.hhm-detail-oben { grid-template-columns: 1fr; }
	.hhm-detail-seite { position: static; }
}
@media (max-width: 600px) {
	.hhm-popup--unten-rechts, .hhm-popup--unten-links { inset: auto 10px 10px 10px; width: auto; }
	.hhm-popup-pill--unten-rechts { right: 10px; } .hhm-popup-pill--unten-links { left: 10px; }
	.hhm-feld, .hhm-feld input[type=date], .hhm-feld select, .hhm-suche .hhm-btn { width: 100% !important; }
	.hhm-popup-box { grid-template-columns: 1fr; }
	.hhm-popup-bild img { min-height: 0; max-height: 200px; }
	.hhm-karte-fuss { align-items: stretch; }
	.hhm-karte-buttons { width: 100%; }
	.hhm-karte-buttons > * { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.hhm-karte, .hhm-karte-bild img, .hhm-popup-box, .hhm-popup-backdrop { transition: none; }
}
