.baam-gallery-v1 {
	--baam-gallery-ink: #17202a;
	--baam-gallery-muted: #5d6872;
	--baam-gallery-yellow: #f4ca3b;
	--baam-gallery-green: #3f704d;
	--baam-gallery-soft: #f4f7f5;
	--baam-gallery-border: #dce3df;
	color: var(--baam-gallery-ink);
	background: #fff;
}

.baam-gallery-v1 #wpfront-notification-bar-spacer.hidden { display: block !important; height: 19px !important; visibility: hidden; }

.baam-gallery-v1 .site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.98);
	transition: box-shadow 180ms ease;
}

.baam-gallery-v1 .site-header .ast-primary-header-bar {
	min-height: 72px;
	border: 0;
	background: transparent;
}

.baam-gallery-v1.baam-header-scrolled .site-header { box-shadow: 0 10px 30px rgba(23, 32, 42, 0.12); }
.baam-gallery-v1 .site-header .ast-builder-grid-row { min-height: 72px; }
.baam-gallery-v1 .site-header .ast-site-identity { padding-block: 0; }
.baam-gallery-v1 .site-header .custom-logo-link { display: flex; align-items: center; overflow: visible; }

.baam-gallery-v1 .site-header .custom-logo-link img {
	width: 68px !important;
	height: 68px !important;
	max-height: 68px;
	object-fit: contain;
	transform: scale(1.25);
	transform-origin: center;
}

.baam-gallery-v1 .main-header-menu > .menu-item > .menu-link {
	min-height: 72px;
	padding-inline: 11px;
	color: #273037;
	font-size: 13px;
	font-weight: 700;
}

.baam-gallery-en .main-header-menu > .menu-item > .menu-link { padding-inline: 9px; font-size: 12px; }
.baam-gallery-v1 .main-header-menu > .menu-item > .menu-link:hover,
.baam-gallery-v1 .main-header-menu > .current-menu-item > .menu-link { color: var(--baam-gallery-green); }

.baam-gallery-v1 .main-header-menu > .menu-item > .menu-link[href*="/termin-buchen/"],
.baam-gallery-v1 .main-header-menu > .menu-item > .menu-link[href*="/book-appointment/"] {
	min-height: 54px;
	margin-block: 9px;
	padding-inline: 18px;
	border-radius: 8px;
	color: #181d20;
	background: var(--baam-gallery-yellow);
}

.admin-bar.baam-gallery-v1 .site-header { top: 32px; }
.baam-gallery-v1 .site-content > .ast-container,
.baam-gallery-v1 .site-main,
.baam-gallery-v1 .entry-content { max-width: none; padding: 0; margin: 0; }
.baam-gallery-v1 .content-area,
.baam-gallery-v1 .site-main,
.baam-gallery-v1 article.page { width: 100%; margin: 0; }
.baam-gallery-v1 .elementor-element-972d834 { display: none; }

.baam-gallery-page,
.baam-gallery-page * { box-sizing: border-box; }
.baam-gallery-page { width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.baam-gallery-shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.baam-gallery-hero {
	position: relative;
	display: flex;
	min-height: 430px;
	align-items: center;
	overflow: hidden;
	background: #202a28;
}

.baam-gallery-hero__media,
.baam-gallery-hero__overlay { position: absolute; inset: 0; }
.baam-gallery-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.baam-gallery-hero__overlay { background: rgba(10, 17, 20, 0.52); }
.baam-gallery-hero__content { position: relative; z-index: 1; padding: 74px 0; color: #fff; }

.baam-gallery-eyebrow {
	margin: 0 0 14px;
	color: #d6ad18;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.baam-gallery-hero .baam-gallery-eyebrow { color: #ffe47e; }
.baam-gallery-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: 58px; font-weight: 780; line-height: 1.08; letter-spacing: 0; }
.baam-gallery-hero__content > p:last-child { max-width: 700px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.92); font-size: 19px; line-height: 1.65; }

.baam-gallery-content { padding: 76px 0 88px; background: #fff; }
.baam-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.baam-gallery-heading h2,
.baam-gallery-cta h2 { margin: 0; color: var(--baam-gallery-ink); font-size: 34px; font-weight: 760; line-height: 1.25; letter-spacing: 0; }

.baam-gallery-filters { display: none; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.baam-js .baam-gallery-filters { display: flex; }
.baam-gallery-filters button {
	min-height: 39px;
	padding: 8px 14px;
	border: 1px solid var(--baam-gallery-border);
	border-radius: 7px;
	color: #374047;
	background: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.baam-gallery-filters button:hover { border-color: #90a99a; }
.baam-gallery-filters button[aria-pressed="true"] { border-color: var(--baam-gallery-green); color: #fff; background: var(--baam-gallery-green); }

.baam-gallery-grid { columns: 3; column-gap: 18px; }
.baam-gallery-item { display: inline-block; width: 100%; margin: 0 0 18px; break-inside: avoid; }
.baam-gallery-item[hidden] { display: none; }
.baam-gallery-item__button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: #e8ece9;
	box-shadow: 0 12px 28px rgba(26, 38, 33, 0.1);
	cursor: zoom-in;
}

.baam-gallery-item__button img { display: block; width: 100%; height: auto; transition: transform 260ms ease, filter 260ms ease; }
.baam-gallery-item__button > span {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	color: #17202a;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 7px 18px rgba(10, 17, 20, 0.18);
	font-size: 22px;
	line-height: 1;
	opacity: 0;
	transform: translateY(5px);
	transition: opacity 180ms ease, transform 180ms ease;
}
.baam-gallery-item__button:hover img { filter: saturate(1.04); transform: scale(1.018); }
.baam-gallery-item__button:hover > span,
.baam-gallery-item__button:focus-visible > span { opacity: 1; transform: none; }
.baam-gallery-item figcaption { padding: 8px 3px 0; color: var(--baam-gallery-muted); font-size: 13px; line-height: 1.5; }

.baam-gallery-button,
.baam-gallery-filters button,
.baam-gallery-item__button,
.baam-gallery-lightbox button { -webkit-tap-highlight-color: transparent; }
.baam-gallery-button:focus-visible,
.baam-gallery-filters button:focus-visible,
.baam-gallery-item__button:focus-visible,
.baam-gallery-lightbox button:focus-visible { outline: 3px solid #245b9b; outline-offset: 3px; }

.baam-gallery-cta { padding: 62px 0; background: #f7df80; }
.baam-gallery-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.baam-gallery-cta__inner > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.baam-gallery-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 19px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.baam-gallery-button:hover { transform: translateY(-2px); }
.baam-gallery-button--primary { color: #17202a; background: #fff; box-shadow: 0 10px 24px rgba(103, 80, 0, 0.15); }
.baam-gallery-button--primary:hover { color: #17202a; }
.baam-gallery-button--secondary { border-color: rgba(91, 71, 0, 0.34); color: #4f410b; background: transparent; }
.baam-gallery-button--secondary:hover { color: #342b08; background: rgba(255, 255, 255, 0.34); }

.baam-gallery-lightbox[hidden] { display: none; }
.baam-gallery-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px; }
.baam-gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(7, 12, 14, 0.9); }
.baam-gallery-lightbox__panel { position: relative; z-index: 1; display: grid; width: min(1180px, 100%); height: min(86vh, 900px); grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; }
.baam-gallery-lightbox figure { display: grid; min-width: 0; height: 100%; grid-template-rows: minmax(0, 1fr) auto; align-items: center; margin: 0; }
.baam-gallery-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.baam-gallery-lightbox figcaption { min-height: 32px; padding: 10px 20px 0; color: rgba(255, 255, 255, 0.86); font-size: 14px; text-align: center; }
.baam-gallery-lightbox figcaption:empty { min-height: 0; padding: 0; }
.baam-gallery-lightbox button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.baam-gallery-lightbox__close { position: absolute; top: -8px; right: 0; z-index: 2; width: 46px; height: 46px; font-size: 37px; line-height: 1; }
.baam-gallery-lightbox__nav { width: 48px; height: 56px; font-size: 48px; line-height: 1; }
.baam-gallery-lightbox__nav--previous { justify-self: start; }
.baam-gallery-lightbox__nav--next { justify-self: end; }
.baam-gallery-lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
	.baam-gallery-v1 #wpfront-notification-bar-spacer.hidden { height: 35px !important; }
	.baam-gallery-v1 .main-header-menu > .menu-item > .menu-link,
	.baam-gallery-en .main-header-menu > .menu-item > .menu-link { padding-inline: 7px; font-size: 12px; }
	.baam-gallery-grid { columns: 2; }
}

@media (max-width: 921px) {
	.baam-gallery-v1 .site-header .custom-logo-link img { width: 58px !important; height: 58px !important; max-height: 58px; transform: scale(1.2); }
	.baam-gallery-shell { width: min(100% - 40px, 760px); }
	.baam-gallery-hero h1 { font-size: 48px; }
	.baam-gallery-heading { align-items: flex-start; flex-direction: column; }
	.baam-gallery-filters { justify-content: flex-start; }
	.baam-gallery-cta__inner { align-items: flex-start; flex-direction: column; }
	.baam-gallery-cta__inner > div { justify-content: flex-start; }
}

@media (max-width: 720px) {
	.baam-gallery-hero { min-height: 390px; }
	.baam-gallery-hero__overlay { background: rgba(10, 17, 20, 0.58); }
	.baam-gallery-grid { columns: 1; }
	.baam-gallery-lightbox { padding: 12px; }
	.baam-gallery-lightbox__panel { height: min(82vh, 760px); grid-template-columns: 42px minmax(0, 1fr) 42px; }
	.baam-gallery-lightbox__nav { width: 40px; font-size: 40px; }
}

@media (max-width: 600px) {
	.baam-gallery-v1 #wpfront-notification-bar-spacer.hidden { height: 68px !important; }
	.baam-gallery-shell { width: calc(100% - 32px); }
	.baam-gallery-hero { min-height: 370px; }
	.baam-gallery-hero__content { padding: 52px 0; }
	.baam-gallery-hero h1 { font-size: 39px; }
	.baam-gallery-hero__content > p:last-child { margin-top: 18px; font-size: 16px; }
	.baam-gallery-content { padding: 56px 0 62px; }
	.baam-gallery-heading { gap: 24px; margin-bottom: 25px; }
	.baam-gallery-heading h2,
	.baam-gallery-cta h2 { font-size: 28px; }
	.baam-gallery-filters { width: 100%; display: none; overflow-x: auto; flex-wrap: nowrap; padding: 2px 2px 7px; scrollbar-width: thin; }
	.baam-js .baam-gallery-filters { display: flex; }
	.baam-gallery-filters button { flex: 0 0 auto; }
	.baam-gallery-item { margin-bottom: 14px; }
	.baam-gallery-cta { padding: 50px 0; }
	.baam-gallery-cta__inner > div,
	.baam-gallery-button { width: 100%; }
	.baam-gallery-lightbox__close { top: -4px; right: -5px; }
}

@media (prefers-reduced-motion: reduce) {
	.baam-gallery-v1 *,
	.baam-gallery-v1 *::before,
	.baam-gallery-v1 *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
