/* Brix Standorte — Filter + Karte + Listing (Design: Standorte.dc.html)
 * Markenfarben/Maße als CSS-Variablen → in Bricks überschreibbar:
 *   .brix-locations { --brix-blue:#00529E; --brix-red:#E2001A; --brix-map-h:520px; }
 */
.brix-locations {
	--brix-blue: #00529E;
	--brix-blue-dark: #013A6B;
	--brix-red: #E2001A;
	--brix-ink: #16202B;
	--brix-muted: #5A6877;
	--brix-muted-2: #64748B;
	--brix-muted-3: #94A3B2;
	--brix-line: #E4E9F0;
	--brix-line-2: #D8E0E8;
	--brix-bg: #EEF2F6;
	--brix-card: #ffffff;
	--brix-teal: #0F766E;
	--brix-teal-bg: #E6F4F1;
	--brix-type-text: var(--brix-ink);  /* Text neben der Raute (Cards + Overlay), überschreibbar */
	--brix-transition: all .15s ease;   /* globaler Übergang (z. B. „all .4s ease") */
	/* Detail-Buttons: primär (Route planen) */
	--brix-btn-bg: var(--brix-blue);
	--brix-btn-fg: #ffffff;
	--brix-btn-bg-hover: var(--brix-blue-dark);
	--brix-btn-fg-hover: var(--brix-btn-fg);
	/* Detail-Buttons: sekundär (Teilen) */
	--brix-btn2-bg: #ffffff;
	--brix-btn2-fg: var(--brix-blue);
	--brix-btn2-bg-hover: #ffffff;
	--brix-btn2-fg-hover: var(--brix-blue);
	--brix-map-h: 520px;
	--brix-ctrl-h: 46px;          /* einheitliche Höhe Suchfeld + Filter */
	--brix-sticky-top: 0px;       /* Offset für sticky Toolbar (Header-Höhe), pro Breakpoint setzbar */
	--brix-sticky-top-tab: var(--brix-sticky-top);
	--brix-sticky-top-mob: var(--brix-sticky-top-tab);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: var(--brix-ink);
	-webkit-font-smoothing: antialiased;
}
.brix-locations *, .brix-locations *::before, .brix-locations *::after { box-sizing: border-box; }

/* ---- Map ---- */
.brix-loc__mapwrap {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--brix-line-2);
	box-shadow: 0 4px 20px rgba(16, 38, 64, .06);
}
.brix-loc__map { height: var(--brix-map-h); width: 100%; }
.brix-loc__map .leaflet-container { font-family: inherit; background: #DFE7EE; }
.brix-pin { display: flex; align-items: center; justify-content: center; }
.brix-pin > div { transition: box-shadow .12s ease, width .12s ease, height .12s ease; }
/* Größere, besser lesbare Tooltips */
.brix-locations .leaflet-tooltip { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--brix-ink); padding: 5px 10px; border: 1px solid var(--brix-line); border-radius: 8px; box-shadow: 0 2px 10px rgba(16, 38, 64, .18); }
.brix-locations .leaflet-tooltip-top::before { border-top-color: #fff; }

/* Loading-Overlay auf der Karte */
.brix-loc__maploading {
	position: absolute; inset: 0; z-index: 600; display: none;
	align-items: center; justify-content: center; gap: 10px;
	background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	font-size: 14px; font-weight: 600; color: var(--brix-muted);
}
.brix-loc__maploading.is-on { display: flex; }
.brix-spin { width: 22px; height: 22px; border: 3px solid var(--brix-line-2); border-top-color: var(--brix-blue); border-radius: 50%; animation: brixSpin .8s linear infinite; }
@keyframes brixSpin { to { transform: rotate(360deg); } }

/* Zoom-Hinweis: „Strg/⌘ + Mausrad" beim Scroll-Versuch ohne Modifier */
.brix-loc__zoomhint {
	position: absolute; inset: 0; z-index: 620; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 15px; font-weight: 600; text-align: center; padding: 0 16px;
	background: rgba(16, 32, 53, 0); opacity: 0; pointer-events: none; transition: opacity .2s ease, background .2s ease;
}
.brix-loc__zoomhint.is-on { opacity: 1; background: rgba(16, 32, 53, .45); -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); }

/* Pin-Popup (Mini-Card) */
.brix-pop-wrap .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 8px 28px rgba(16, 38, 64, .20); padding: 0; }
.brix-pop-wrap .leaflet-popup-content { margin: 0; width: 240px !important; }
.brix-pop { padding: 14px 14px 12px; font-family: inherit; }
.brix-pop__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.brix-pop__type { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.brix-pop__type.is-brix { color: var(--brix-red); }
.brix-pop__type.is-partner { color: #3D5266; }
.brix-pop__raute { width: 14px; height: 14px; display: block; }
.brix-pop__dist { margin-left: auto; background: var(--brix-teal-bg); color: var(--brix-teal); font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.brix-pop__name { font-size: 15px; font-weight: 700; color: var(--brix-ink); line-height: 1.25; }
.brix-pop__addr { font-size: 13px; color: var(--brix-muted); margin-top: 4px; line-height: 1.4; }
.brix-pop__actions { display: flex; gap: 8px; margin-top: 12px; }
.brix-pop__actions button { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; padding: 9px 10px; border-radius: 8px; background: var(--brix-btn-bg); color: var(--brix-btn-fg); transition: var(--brix-transition); }
.brix-pop__actions button:hover { background: var(--brix-btn-bg-hover); color: var(--brix-btn-fg-hover); }
.brix-pop__actions a { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--brix-btn2-fg); background: var(--brix-btn2-bg); border: 1px solid var(--brix-line-2); transition: var(--brix-transition); }
.brix-pop__actions a:hover { border-color: var(--brix-btn2-fg-hover); color: var(--brix-btn2-fg-hover); background: var(--brix-btn2-bg-hover); }

/* "Nur Kartenausschnitt" — erscheint OBEN mittig in der Karte, nur im „Alle"-Modus.
   Klar als Button erkennbar (Hover = Akzent). */
.brix-loc__areabtn {
	position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 500;
	display: none; align-items: center; gap: 7px; white-space: nowrap;
	background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	color: var(--brix-ink); border: 1px solid var(--brix-line);
	border-radius: 10px; padding: 10px 14px; font-family: inherit; font-size: 13px; font-weight: 600;
	cursor: pointer; box-shadow: 0 2px 10px rgba(16, 38, 64, .08); transition: var(--brix-transition);
}
.brix-loc__areabtn.is-on { display: inline-flex; }
.brix-loc__areabtn svg { opacity: .7; }
.brix-loc__areabtn:hover { border-color: var(--brix-blue); color: var(--brix-blue); }
.brix-loc__areabtn:hover svg { opacity: 1; }

.brix-loc__legend {
	position: absolute; left: 14px; bottom: 14px; z-index: 500;
	background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid var(--brix-line); border-radius: 10px; padding: 10px 14px;
	display: flex; gap: 14px; box-shadow: 0 2px 10px rgba(16, 38, 64, .08); flex-wrap: wrap;
}
.brix-loc__legendlabel { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brix-muted-3); display: flex; align-items: center; padding-right: 12px; border-right: 1px solid var(--brix-line); }
.brix-loc__legend span.lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brix-ink); }
.brix-loc__dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.brix-loc__dot--brix { background: var(--brix-red); box-shadow: 0 0 0 3px rgba(226, 0, 26, .18); }
.brix-loc__dot--partner { background: #fff; border: 3px solid var(--brix-blue); }

/* Mobile-Sheet-Griff (nur mobil sichtbar) + Kurzlabels */
.lbl-sm { display: none; }
.brix-loc__sheet { display: none; }
.brix-loc__sheetgrip { width: 38px; height: 5px; border-radius: 3px; background: #CFD8E0; margin: 2px auto 7px; }
.brix-loc__sheetrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brix-loc__sheetinfo { display: flex; align-items: center; gap: 10px; }
.brix-loc__sheetpin { color: var(--brix-blue); display: flex; }
.brix-loc__sheetpin svg { width: 20px; height: 20px; }
.brix-loc__sheettxt { text-align: left; display: flex; flex-direction: column; }
.brix-loc__sheettitle { font-size: 15px; font-weight: 700; color: var(--brix-ink); line-height: 1.1; }
.brix-loc__sheetsub { font-size: 12.5px; font-weight: 500; color: var(--brix-muted-2); margin-top: 2px; }
.brix-loc__sheetchev { color: var(--brix-ink); transition: transform .3s ease; }
.brix-loc__mapwrap.is-open .brix-loc__sheetchev { transform: rotate(180deg); }

/* ---- Toolbar ---- */
.brix-loc__toolbar {
	position: sticky; top: var(--brix-sticky-top, 0px); z-index: 30;
	margin-top: 18px; padding: 14px 0;
	background: var(--brix-bg); /* fällt im Bricks-Hintergrund nicht auf; bei Bedarf transparent setzen */
}
.brix-loc__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }

.brix-loc__search { position: relative; flex: 1 1 240px; min-width: 200px; }
.brix-loc__search .ic-left { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; opacity: .45; pointer-events: none; }
.brix-loc__search input {
	width: 100%; height: var(--brix-ctrl-h); padding: 0 46px 0 40px;
	border: 1px solid var(--brix-line-2); border-radius: 10px; background: #fff;
	font-size: 15px; font-family: inherit; color: var(--brix-ink); outline: none;
}
.brix-loc__search input::placeholder { color: #9AA7B4; }
.brix-loc__search input:focus { border-color: var(--brix-blue); box-shadow: 0 0 0 3px rgba(0, 82, 158, .12); }
.brix-loc__geo {
	position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
	width: 34px; height: 34px; display: grid; place-items: center;
	border: 0; border-radius: 8px; background: transparent; color: var(--brix-ink); opacity: .75; cursor: pointer;
}
.brix-loc__geo:hover { color: var(--brix-blue); opacity: 1; background: #EEF4FB; }
.brix-loc__geo.is-busy { animation: brixPulse 1s ease-in-out infinite; }
@keyframes brixPulse { 50% { opacity: .4; } }

/* Adress-Autocomplete-Dropdown */
.brix-loc__suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--brix-line-2); border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 38, 64, .18); overflow: hidden; display: none; }
.brix-loc__suggest.is-open { display: block; }
.brix-loc__sugg { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: 14px; color: var(--brix-ink); line-height: 1.3; }
.brix-loc__sugg + .brix-loc__sugg { border-top: 1px solid var(--brix-line); }
.brix-loc__sugg svg { width: 16px; height: 16px; color: var(--brix-muted-3); flex: none; }
.brix-loc__sugg:hover, .brix-loc__sugg.is-active { background: var(--brix-bg); }

.brix-loc__group { display: inline-flex; align-items: stretch; height: var(--brix-ctrl-h); background: #fff; border: 1px solid var(--brix-line-2); border-radius: 10px; padding: 4px; gap: 2px; }
.brix-loc__chip {
	display: inline-flex; align-items: center;
	border: none; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600;
	padding: 0 14px; border-radius: 7px; transition: var(--brix-transition); white-space: nowrap;
	background: transparent; color: var(--brix-muted);
}
.brix-loc__chip.is-active { background: var(--brix-blue); color: #fff; }
.brix-loc__sortlbl { font-size: 13px; color: var(--brix-muted-2); font-weight: 500; }
.brix-loc__sortwrap { display: flex; align-items: center; gap: 8px; }

/* feste Mindestbreite → der wechselnde Meta-Inhalt (Zähler/„Alle anzeigen") verschiebt die Controls NICHT */
.brix-loc__meta { margin-left: auto; flex: 0 0 auto; min-width: 300px; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; font-size: 14px; color: var(--brix-muted-2); font-weight: 500; white-space: nowrap; }
.brix-loc__refchip { display: inline-flex; align-items: center; gap: 6px; background: var(--brix-teal-bg); color: var(--brix-teal); padding: 5px 10px; border-radius: 7px; font-weight: 600; font-size: 13px; }
.brix-loc__reset { flex: 1 1 100%; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--brix-blue); font-weight: 600; font-size: 13px; text-decoration: none; }
.brix-loc__reset svg { width: 13px; height: 13px; }
.brix-loc__reset:hover { text-decoration: underline; }
.brix-loc__meta strong { color: var(--brix-ink); font-weight: 700; }

/* ---- Cards ---- */
.brix-loc__grid { display: grid; grid-template-columns: repeat(var(--brix-cols, 3), minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .brix-loc__grid { grid-template-columns: repeat(var(--brix-cols-tab, 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .brix-loc__grid { grid-template-columns: repeat(var(--brix-cols-mob, 1), minmax(0, 1fr)); } }
.brix-card {
	text-align: left; cursor: pointer; background: var(--brix-card);
	border: 1px solid var(--brix-line); border-radius: 14px; padding: 20px;
	display: flex; flex-direction: column; font-family: inherit;
	transition: var(--brix-transition);
}
.brix-card:hover { border-color: var(--brix-blue); box-shadow: 0 8px 24px rgba(16, 38, 64, .10); transform: translateY(-2px); }
.brix-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.brix-card__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* Typ mit Brix-CI-Raute (Cards + Overlay), Text dunkel/überschreibbar */
.brix-type { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--brix-type-text); }
.brix-type__raute { width: 16px; height: 16px; flex: none; display: block; }
.brix-type--lg { font-size: 12px; }
.brix-type--lg .brix-type__raute { width: 20px; height: 20px; }
.brix-badge { display: inline-block; padding: 5px 11px; border-radius: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.brix-badge--brix { background: var(--brix-red); color: #fff; }
.brix-badge--partner { background: #EAF0F6; color: #3D5266; }
.brix-card__dist { display: inline-flex; align-items: center; gap: 4px; background: var(--brix-teal-bg); color: var(--brix-teal); padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.brix-card__country { font-size: 12px; font-weight: 600; color: var(--brix-muted-3); letter-spacing: .04em; }
.brix-card__name { margin: 0 0 10px; font-size: 16.5px; line-height: 1.3; font-weight: 700; color: var(--brix-ink); }
.brix-card__addr { display: flex; gap: 8px; align-items: flex-start; color: var(--brix-muted); font-size: 14px; line-height: 1.45; }
.brix-card__addr svg { width: 15px; height: 15px; margin-top: 2px; opacity: .5; flex: none; }
.brix-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--brix-bg); }
.brix-card__phone { font-size: 14px; color: var(--brix-muted); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.brix-card__phone svg { width: 15px; height: 15px; opacity: .5; flex: none; }
.brix-card__act { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--brix-blue); text-decoration: none; }
.brix-card__act svg { width: 14px; height: 14px; flex: none; }
.brix-card__act:hover { text-decoration: underline; }
.brix-card__details { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--brix-blue); }

/* „Jetzt geöffnet" */
.brix-open { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 7px; }
.brix-open.is-open { background: #E6F6EC; color: #1B7A3D; }
.brix-open.is-closed { background: #F1F1F4; color: #7A8694; }
.brix-card .brix-open { align-self: flex-start; margin: 0 0 8px; }

/* Werbe-Card */
.brix-promo { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--brix-blue); color: #fff; min-height: 160px; }
.brix-promo__img { height: 130px; background-size: cover; background-position: center; }
.brix-promo__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.brix-promo__badge { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .22); padding: 3px 9px; border-radius: 6px; }
.brix-promo__title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.brix-promo__text { font-size: 14px; line-height: 1.5; opacity: .92; }
.brix-promo__btn { margin-top: auto; align-self: flex-start; display: inline-flex; background: #fff; color: var(--brix-blue); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 9px; text-decoration: none; }
.brix-promo__btn:hover { opacity: .9; }

.brix-loc__empty { text-align: center; padding: 60px 20px; color: var(--brix-muted-2); }
.brix-loc__empty p.b { font-size: 17px; font-weight: 600; color: var(--brix-ink); margin: 0 0 6px; }
.brix-loc__empty p.s { font-size: 14px; margin: 0; }
/* Kompakter Hinweis direkt ÜBER der Adresseingabe (Standort nicht verfügbar/erlaubt) */
.brix-loc__hint {
	display: none; align-items: center; gap: 9px;
	margin: 0 0 10px; padding: 9px 12px;
	background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 10px;
	color: #7C2D12; font-size: 13.5px; line-height: 1.4;
}
.brix-loc__hint.is-on { display: flex; }
.brix-loc__hint strong { font-weight: 700; }
.brix-loc__hint-ic { flex: none; display: inline-flex; width: 18px; height: 18px; color: #C2410C; }
.brix-loc__hint-ic svg { width: 18px; height: 18px; }
.brix-loc__hint-txt { flex: 1 1 auto; }
.brix-loc__hint-x {
	flex: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; padding: 0; background: transparent; border: 0; color: #9A3412; border-radius: 7px;
}
.brix-loc__hint-x svg { width: 14px; height: 14px; }
.brix-loc__hint-x:hover { background: rgba(154, 52, 18, .1); }

.brix-loc__status { text-align: center; padding: 48px 20px; color: var(--brix-muted-2); }

/* ---- Overlay ---- */
.brix-loc__overlay {
	position: fixed; inset: 0; z-index: 1000; background: rgba(12, 24, 40, .55);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center; padding: 24px 20px; overflow-y: auto;
	animation: brixFadeIn .2s ease;
}
@keyframes brixFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes brixSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.brix-loc__modal { position: relative; width: 100%; max-width: 860px; max-height: calc(100vh - 48px); background: #fff; border-radius: 18px; overflow: hidden auto; box-shadow: 0 30px 80px rgba(8, 20, 40, .4); animation: brixSlideUp .28s cubic-bezier(.2, .8, .2, 1); }
.brix-loc__close { position: absolute; top: 16px; right: 16px; z-index: 10; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .9); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.brix-loc__close:hover { background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .2); }
.brix-loc__modalgrid { display: grid; grid-template-columns: 1fr 320px; }
.brix-loc__info { padding: 36px 36px 32px; }
.brix-loc__info h2 { margin: 16px 0 6px; font-size: 27px; line-height: 1.18; font-weight: 700; letter-spacing: -.01em; color: var(--brix-ink); }
.brix-loc__info .country { margin: 0 0 26px; font-size: 15px; color: var(--brix-ink); font-weight: 500; }
.brix-loc__rows { display: flex; flex-direction: column; gap: 18px; }
.brix-loc__row { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.brix-loc__row--center { align-items: center; } /* einzeilige Zeilen (Telefon/E-Mail) vertikal mittig zum Icon */
.brix-loc__row .tile { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #EEF4FB; color: var(--brix-blue); display: flex; align-items: center; justify-content: center; }
.brix-loc__row .tile svg { width: 18px; height: 18px; }
.brix-loc__row .k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brix-muted-3); margin-bottom: 3px; }
.brix-loc__row .v { font-size: 15.5px; color: var(--brix-ink); font-weight: 500; line-height: 1.5; }
.brix-loc__row .v.link { color: var(--brix-blue); font-weight: 600; }
.brix-loc__row .v.break { word-break: break-all; }
.brix-loc__route { margin-top: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; background: var(--brix-btn-bg); color: var(--brix-btn-fg); border: none; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 700; cursor: pointer; transition: var(--brix-transition); }
.brix-loc__route:hover { background: var(--brix-btn-bg-hover); color: var(--brix-btn-fg-hover); }
.brix-loc__route svg { width: 20px; height: 20px; }
/* Kopf: Typ (Raute) links, „Teilen" oben rechts im Content (nicht in der Map) */
.brix-loc__infohead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.brix-loc__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brix-loc__actions-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.brix-loc__actions-row .brix-loc__route { margin-top: 0; flex: 1 1 auto; }
.brix-loc__share { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--brix-line-2); background: var(--brix-btn2-bg); color: var(--brix-btn2-fg); font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; flex: none; transition: var(--brix-transition); }
.brix-loc__share svg { width: 16px; height: 16px; }
.brix-loc__share:hover { background: var(--brix-btn2-bg-hover); color: var(--brix-btn2-fg-hover); border-color: var(--brix-btn2-fg-hover); }

/* Bewertung */
.brix-loc__rating { display: flex; align-items: center; gap: 8px; margin: -14px 0 22px; }
.brix-loc__rating .stars { display: inline-flex; gap: 1px; }
.brix-loc__rating .stars svg { width: 16px; height: 16px; }
.brix-loc__rating .stars .on { color: #F5A623; }
.brix-loc__rating .stars .off { color: #DCE2EA; }
.brix-loc__rating strong { font-size: 15px; color: var(--brix-ink); }
.brix-loc__rating .cnt { font-size: 13px; color: var(--brix-muted-3); }

/* Öffnungszeiten */
.brix-loc__hours { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.brix-loc__hours .hr { display: flex; gap: 10px; font-size: 13.5px; }
.brix-loc__hours .hr .d { width: 26px; flex: none; color: var(--brix-ink); font-weight: 600; }
.brix-loc__hours .hr .t { color: var(--brix-ink); }

/* Beschreibung */
.brix-loc__desc { margin-top: 22px; }
.brix-loc__desch3 { margin: 0 0 10px; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--brix-ink); text-transform: none; letter-spacing: 0; }
.brix-loc__desctext { font-size: 14px; line-height: 1.55; color: var(--brix-muted); }
.brix-loc__desctext p { margin: 0 0 8px; }
.brix-loc__desctext strong { color: var(--brix-ink); }

.brix-loc__mini { position: relative; background: #DFE7EE; min-height: 320px; }
.brix-loc__mini .brix-loc__minimap { position: absolute; inset: 0; }

/* Sticky-Offset (Header-Höhe) je Breakpoint */
@media (max-width: 900px) { .brix-loc__toolbar { top: var(--brix-sticky-top-tab, var(--brix-sticky-top, 0px)); } }
@media (max-width: 640px) { .brix-loc__toolbar { top: var(--brix-sticky-top-mob, var(--brix-sticky-top-tab, var(--brix-sticky-top, 0px))); } }

@media (max-width: 700px) {
	.brix-loc__map { height: 380px; }
	.brix-loc__meta { margin-left: 0; width: 100%; }
}

/* ===== Mobile (<=640): Karte als aufklappbares Bottom-Sheet + kompakte Toolbar ===== */
@media (max-width: 640px) {
	.brix-locations { --brix-ctrl-h: 42px; padding-bottom: 116px; }

	/* Karte = fixes Bottom-Sheet; eingeklappt zeigt nur den Griff */
	.brix-loc__mapwrap {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; margin: 0;
		height: 80vh; border-radius: 20px 20px 0 0; border: none;
		box-shadow: 0 -10px 34px rgba(10, 22, 40, .22);
		display: flex; flex-direction: column;
		transform: translateY(calc(80vh - 96px));
		transition: transform .36s cubic-bezier(.2, .85, .2, 1);
	}
	.brix-loc__mapwrap.is-open { transform: translateY(0); }
	.brix-loc__sheet { display: block; flex: none; width: 100%; border: none; background: #fff; cursor: pointer; padding: 8px 18px 11px; font-family: inherit; border-bottom: 1px solid var(--brix-bg); }
	.brix-loc__map { height: auto; flex: 1 1 auto; min-height: 0; }
	.brix-loc__legend { display: none; }
	.brix-loc__areabtn { top: 12px; font-size: 12.5px; padding: 9px 12px; }

	/* Kompakte Toolbar + Kurzlabels */
	.brix-loc__bar { gap: 8px; }
	.brix-loc__search { flex: 1 1 100%; }
	.brix-loc__sortlbl { display: none; }
	.brix-loc__group { flex: 1 1 auto; }
	.brix-loc__chip { flex: 1 1 auto; justify-content: center; font-size: 12.5px; }
	.brix-loc__sortwrap { flex: 0 0 auto; }
	.brix-loc__meta { margin-left: 0; width: 100%; min-width: 0; justify-content: space-between; }
	.lbl-lg { display: none; }
	.lbl-sm { display: inline; }

	/* Detail-Overlay gestapelt */
	.brix-loc__modalgrid { grid-template-columns: 1fr; }
	.brix-loc__mini { min-height: 220px; order: -1; }
	.brix-loc__info { padding: 28px 22px 24px; }
}
