/* BM Immobilien: Gestaltung nach Entwurf A («Acheter, vendre ou louer un chalet dans la vallée») */

:root {
	--bm-anthrazit: #1c262b;
	--bm-text: #22272b;
	--bm-nacht: #1e2a30;
	--bm-footer: #1b252a;
	--bm-gold: #c5a059;
	--bm-gold-dunkel: #b58f48;
	--bm-grau: #72797e;
	--bm-eyebrow: #9c978f;
	--bm-sand: #faf8f5;
	--bm-band: #f6f4ee;
	--bm-creme: #f4efe8;
	--bm-chip: #fbf9f6;
	--bm-linie: #eae5dc;
	--bm-linie-2: #d8d1c5;
	--bm-serif: "Cormorant Garamond", Georgia, serif;
	--bm-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--bm-breit: 1400px;
	--bm-text-breite: 760px;
	--bm-rand: 24px;
	--bm-abschnitt: 72px;
	--bm-kopf: 76px;
}

@media (min-width: 1024px) {
	:root {
		--bm-rand: 48px;
		--bm-abschnitt: 96px;
		--bm-kopf: 96px;
	}
}

/* Grundlagen */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bm-kopf) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--bm-text);
	font-family: var(--bm-sans);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--bm-anthrazit);
	color: #f7f5f0;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover {
	color: var(--bm-gold-dunkel);
}

h1,
h2,
h3,
h4 {
	font-family: var(--bm-serif);
	font-weight: 400;
	color: var(--bm-anthrazit);
	line-height: 1.15;
	margin: 0 0 0.6em;
	letter-spacing: -0.005em;
}

h1 {
	font-size: clamp(36px, 5vw, 62px);
	line-height: 1.12;
}

h2 {
	font-size: clamp(30px, 3.4vw, 44px);
}

h3 {
	font-size: clamp(24px, 2.2vw, 30px);
}

h4 {
	font-size: 22px;
}

p {
	margin: 0 0 1.1em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.bm-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 100;
	background: var(--bm-anthrazit);
	color: #fff;
	padding: 10px 16px;
}

.bm-skip:focus {
	left: 8px;
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--bm-gold);
	outline-offset: 3px;
}

/* Wiederkehrende Elemente */
.bm-eyebrow,
p.is-style-bm-eyebrow {
	font-family: var(--bm-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--bm-eyebrow);
	margin-top: 0;
	margin-bottom: 1.2em;
}

.bm-lead,
p.is-style-bm-lead {
	font-size: 16px;
	color: var(--bm-grau);
	max-width: 34em;
}

.bm-intro {
	color: var(--bm-grau);
	max-width: 42em;
}

.bm-button,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	background: var(--bm-anthrazit);
	color: #fff;
	border: 1px solid var(--bm-anthrazit);
	border-radius: 0;
	font-family: var(--bm-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.bm-button:hover,
.wp-block-button .wp-block-button__link:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

.bm-button--outline {
	background: transparent;
	color: var(--bm-anthrazit);
	border-color: var(--bm-linie-2);
}

.bm-button--outline:hover {
	background: var(--bm-anthrazit);
	border-color: var(--bm-anthrazit);
	color: #fff;
}

.wp-block-button.is-style-bm-pill .wp-block-button__link {
	padding: 10px 20px;
	background: transparent;
	color: var(--bm-anthrazit);
	border: 1px solid var(--bm-linie-2);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.wp-block-button.is-style-bm-pill .wp-block-button__link:hover {
	border-color: var(--bm-anthrazit);
	background: transparent;
	color: var(--bm-anthrazit);
}

.wp-block-button.is-style-bm-schwebend .wp-block-button__link {
	padding: 17px 32px;
	background: #fff;
	color: var(--bm-anthrazit);
	border: 1px solid var(--bm-linie);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.wp-block-button.is-style-bm-schwebend .wp-block-button__link::after {
	content: "↓";
	color: var(--bm-gold);
	font-size: 13px;
	letter-spacing: 0;
	transition: transform 0.3s;
}

.wp-block-button.is-style-bm-schwebend .wp-block-button__link:hover {
	background: var(--bm-anthrazit);
	border-color: var(--bm-anthrazit);
	color: #fff;
}

.wp-block-button.is-style-bm-schwebend .wp-block-button__link:hover::after {
	transform: translateY(2px);
}

.wp-block-button.is-style-bm-link .wp-block-button__link,
.bm-link {
	padding: 0;
	background: none;
	border: 0;
	color: var(--bm-anthrazit);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 8px;
}

.wp-block-button.is-style-bm-link .wp-block-button__link:hover,
.bm-link:hover {
	background: none;
	color: var(--bm-gold-dunkel);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Kopf */
.bm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--bm-linie);
}

.admin-bar .bm-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .bm-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .bm-header {
		top: 0;
	}
}

.bm-header__inner {
	max-width: var(--bm-breit);
	margin: 0 auto;
	padding: 0 var(--bm-rand);
	height: var(--bm-kopf);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.bm-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--bm-anthrazit);
	line-height: 1;
	flex-shrink: 0;
}

.bm-logo:hover {
	color: var(--bm-anthrazit);
}

.bm-logo__img {
	height: 52px;
	width: auto;
}

@media (min-width: 1024px) {
	.bm-logo__img {
		height: 64px;
	}
}

.bm-logo__bm {
	font-family: var(--bm-serif);
	font-size: 36px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.bm-logo__sub {
	font-size: 8px;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--bm-grau);
	margin-top: 6px;
	padding-left: 0.35em;
	font-weight: 500;
}

.bm-logo--hell,
.bm-logo--hell:hover {
	color: #fff;
}

.bm-logo--hell .bm-logo__sub {
	color: #9aa3a8;
}

.bm-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 36px;
}

.bm-nav__list a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--bm-anthrazit);
	text-decoration: none;
	transition: color 0.2s;
}

.bm-nav__list a:hover,
.bm-nav__list .current-menu-item:not(.menu-item-type-custom) > a {
	color: var(--bm-gold-dunkel);
}

.bm-nav__mobile-extra {
	display: none;
}

.bm-header__tools {
	display: flex;
	align-items: center;
	gap: 24px;
}

.bm-lang {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--bm-grau);
}

.bm-lang li + li::before {
	content: "|";
	color: #d4d4d4;
	margin: 0 8px;
}

.bm-lang a {
	text-decoration: none;
}

.bm-lang a:hover {
	color: var(--bm-anthrazit);
}

.bm-lang [aria-current] {
	color: var(--bm-anthrazit);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 700;
}

.bm-burger {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--bm-linie);
	background: #fff;
	padding: 0;
	cursor: pointer;
	position: relative;
}

.bm-burger__lines,
.bm-burger__lines::before,
.bm-burger__lines::after {
	position: absolute;
	left: 12px;
	width: 18px;
	height: 1.5px;
	background: var(--bm-anthrazit);
	transition: transform 0.25s, opacity 0.2s;
}

.bm-burger__lines {
	top: 21px;
}

.bm-burger__lines::before,
.bm-burger__lines::after {
	content: "";
	left: 0;
}

.bm-burger__lines::before {
	top: -6px;
}

.bm-burger__lines::after {
	top: 6px;
}

.bm-menu-offen .bm-burger__lines {
	background: transparent;
}

.bm-menu-offen .bm-burger__lines::before {
	transform: translateY(6px) rotate(45deg);
}

.bm-menu-offen .bm-burger__lines::after {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1023px) {
	.bm-burger {
		display: block;
	}

	.bm-header__tools .bm-lang,
	.bm-header__cta {
		display: none;
	}

	.bm-nav {
		position: fixed;
		inset: var(--bm-kopf) 0 0 0;
		background: #fff;
		padding: 32px var(--bm-rand) 48px;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
	}

	.admin-bar .bm-nav {
		top: calc(var(--bm-kopf) + 46px);
	}

	.bm-menu-offen .bm-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.bm-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.bm-nav__list a {
		display: block;
		padding: 16px 0;
		border-bottom: 1px solid var(--bm-linie);
		font-family: var(--bm-serif);
		font-size: 26px;
		font-weight: 400;
		letter-spacing: 0;
	}

	.bm-nav__mobile-extra {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		margin-top: 32px;
	}

	.bm-lang--mobile {
		font-size: 13px;
	}
}

body.bm-menu-offen {
	overflow: hidden;
}

@media (min-width: 1024px) {
	body.bm-menu-offen {
		overflow: auto;
	}
}

/* Inhaltsbereich */
.bm-page__head {
	max-width: var(--bm-breit);
	margin: 0 auto;
	padding: 64px var(--bm-rand) 8px;
}

.bm-page__title {
	max-width: 18em;
}

.bm-content > * {
	max-width: var(--bm-text-breite);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--bm-rand);
	padding-right: var(--bm-rand);
}

.bm-content > :not(.alignfull):not(.alignwide) {
	box-sizing: content-box;
}

.bm-content > .alignwide {
	max-width: var(--bm-breit);
	box-sizing: border-box;
}

.bm-content > .alignfull {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.bm-page {
	padding-bottom: var(--bm-abschnitt);
}

.bm-ohne-titel .bm-page {
	padding-bottom: 0;
}

.bm-content ul,
.bm-content ol {
	padding-left: calc(var(--bm-rand) + 1.2em);
}

/* Abschnitte (Gruppen in voller Breite) */
.bm-section {
	padding: var(--bm-abschnitt) var(--bm-rand) !important;
}

.bm-section > * {
	max-width: var(--bm-breit);
	margin-left: auto;
	margin-right: auto;
}

.bm-section > .bm-section__text {
	max-width: var(--bm-breit);
}

.bm-section--sand {
	background: var(--bm-sand);
	border-top: 1px solid var(--bm-linie);
}

.bm-section--dunkel {
	background: var(--bm-nacht);
	color: #b8c3c8;
}

.bm-section--dunkel h2,
.bm-section--dunkel h3 {
	color: #f2efe9;
}

.bm-section--dunkel .bm-eyebrow,
.bm-section--dunkel .is-style-bm-eyebrow {
	color: #a6b2b7;
	font-size: 10px;
}

.bm-section--dunkel p {
	font-weight: 300;
	max-width: 42em;
}

.bm-section h2 {
	max-width: 16em;
	text-wrap: balance;
}

.bm-section > h1,
.bm-section > h2,
.bm-section > .bm-intro,
.bm-section > .is-style-bm-lead {
	margin-left: max(0px, calc((100% - var(--bm-breit)) / 2));
	margin-right: auto;
}

.bm-section--zentriert > h2,
.bm-section--zentriert > .bm-intro {
	margin-left: auto;
}

.bm-section .wp-block-columns {
	margin-bottom: 0;
}

.bm-section--zentriert {
	text-align: center;
}

.bm-section--zentriert > * {
	max-width: 760px;
}

.bm-section--zentriert h2,
.bm-section--zentriert p {
	margin-left: auto;
	margin-right: auto;
}

.bm-section--zentriert .wp-block-buttons {
	justify-content: center;
}

/* Säulen */
.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}

.wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

@media (max-width: 781px) {
	.wp-block-columns {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	.wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (min-width: 1024px) {
	.wp-block-columns {
		gap: 64px;
	}
}

/* Bilder */
.wp-block-image {
	margin: 0;
}

.wp-block-image img {
	width: 100%;
	height: auto;
}

.bm-bild-hoch img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.bm-bild-quer img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bm-bild-rahmen {
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Startseite: Einstieg */
.bm-hero {
	position: relative;
	padding: 0 !important;
}

.bm-hero__grid.wp-block-columns {
	max-width: var(--bm-breit);
	margin: 0 auto;
	gap: 0;
	align-items: stretch;
}

.bm-hero__text {
	padding: 56px var(--bm-rand) 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bm-hero__text h1 {
	max-width: 11.5em;
	margin-bottom: 0.55em;
}

.bm-hero__text .bm-lead {
	margin-bottom: 40px;
}

.bm-hero__media {
	min-height: 380px;
	position: relative;
	overflow: hidden;
}

.bm-hero__media .wp-block-image,
.bm-hero__media .wp-block-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-hero__cta.wp-block-buttons {
	justify-content: center;
	position: relative;
	z-index: 2;
	margin: -24px auto 0;
	padding: 0 var(--bm-rand);
}

@media (min-width: 1024px) {
	.bm-hero__grid.wp-block-columns {
		min-height: 620px;
	}

	.bm-hero__text {
		padding: 96px 64px 96px var(--bm-rand);
	}

	.bm-hero__media {
		min-height: 620px;
	}
}

/* Band mit Orten */
.bm-band {
	background: var(--bm-band);
	border-top: 1px solid var(--bm-linie);
	border-bottom: 1px solid var(--bm-linie);
	margin-top: 64px !important;
	padding: 16px var(--bm-rand) !important;
	overflow-x: auto;
}

.bm-band__liste {
	list-style: none;
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: var(--bm-breit);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--bm-anthrazit);
}

.bm-band__liste li:first-child {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 600;
	color: var(--bm-eyebrow);
}

/* Objekte */
.bm-objekte {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 56px;
}

.bm-card {
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border: 1px solid var(--bm-linie);
	overflow: hidden;
	transition: border-color 0.3s;
}

.bm-card:hover {
	border-color: var(--bm-anthrazit);
}

.bm-card__media {
	position: relative;
	display: block;
	min-height: 280px;
	overflow: hidden;
	background: #f2f0ec;
}

.bm-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease-out;
}

.bm-card:hover .bm-card__img {
	transform: scale(1.05);
}

.bm-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--bm-creme);
	color: var(--bm-eyebrow);
}

.bm-card__monogram {
	font-family: var(--bm-serif);
	font-size: 56px;
	color: var(--bm-linie-2);
	line-height: 1;
}

.bm-card__placeholder-text {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bm-card__body {
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.bm-kicker {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bm-eyebrow);
	margin: 0 0 10px;
}

.bm-kicker__ref {
	color: #a3a3a3;
	margin-left: 6px;
}

.bm-card__title {
	font-size: clamp(24px, 2.4vw, 30px);
	margin-bottom: 22px;
}

.bm-card__title a {
	text-decoration: none;
}

.bm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.bm-chip {
	padding: 4px 14px;
	font-size: 12px;
	color: #525252;
	background: var(--bm-chip);
	border: 1px solid var(--bm-linie);
	border-radius: 999px;
}

.bm-card__text {
	font-size: 13px;
	color: var(--bm-grau);
	max-width: 36em;
	margin: 0;
}

.bm-card__foot {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--bm-linie);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bm-preis {
	font-family: var(--bm-serif);
	font-size: clamp(24px, 2.4vw, 30px);
	color: var(--bm-anthrazit);
	margin: 0;
	line-height: 1.2;
}

.bm-preis__suffix {
	font-family: var(--bm-sans);
	font-size: 12px;
	color: var(--bm-grau);
}

.bm-preis--klein {
	font-size: 22px;
	margin-top: 12px;
}

.bm-preis--gross {
	font-size: clamp(30px, 3vw, 38px);
	margin-bottom: 16px;
}

.bm-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: var(--bm-anthrazit);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 6px 12px;
}

.bm-badge--inline {
	position: static;
	display: inline-block;
}

.bm-objekte__klein {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.bm-card--klein .bm-card__media {
	min-height: 240px;
}

.bm-card--klein .bm-card__body {
	padding: 24px;
}

.bm-card--klein .bm-card__title {
	font-size: 22px;
	margin-bottom: 8px;
}

.bm-card__meta {
	font-size: 12px;
	color: var(--bm-grau);
	margin: 0;
}

.bm-objekte__mehr {
	text-align: center;
	margin: 16px 0 0;
}

.bm-objekte__leer {
	padding: 40px;
	border: 1px solid var(--bm-linie);
	background: var(--bm-sand);
	color: var(--bm-grau);
	max-width: 46em;
}

@media (min-width: 768px) {
	.bm-objekte__klein {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.bm-card {
		grid-template-columns: 5fr 7fr;
	}

	.bm-card__media {
		min-height: 360px;
	}

	.bm-card__body {
		padding: 48px;
	}

	.bm-card--klein {
		grid-template-columns: 1fr;
	}
}

/* Dienstleistungen */
.bm-dienste {
	display: grid !important;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--bm-linie);
	border-left: 1px solid var(--bm-linie);
	margin-top: 56px !important;
}

.bm-dienst {
	background: #fff;
	border-right: 1px solid var(--bm-linie);
	border-bottom: 1px solid var(--bm-linie);
	padding: 40px 32px !important;
	margin: 0 !important;
}

.bm-dienst__nr {
	font-family: var(--bm-serif);
	font-size: 16px;
	font-weight: 500;
	color: var(--bm-gold);
	margin-bottom: 14px;
}

.bm-dienst h3 {
	font-size: 26px;
	margin-bottom: 14px;
}

.bm-dienst p:last-child {
	color: var(--bm-grau);
	font-size: 14px;
	margin: 0;
}

@media (min-width: 900px) {
	.bm-dienste {
		grid-template-columns: repeat(3, 1fr);
	}

	.bm-dienst {
		padding: 56px 48px !important;
	}
}

/* Zahlenband */
.bm-zahlen {
	background: var(--bm-creme);
	border-bottom: 1px solid var(--bm-linie);
	padding: 64px var(--bm-rand) !important;
}

.bm-zahlen__grid {
	max-width: var(--bm-breit);
	margin: 0 auto !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.bm-zahl {
	border-left: 1px solid var(--bm-linie-2);
	padding-left: 24px !important;
	margin: 0 !important;
}

.bm-zahl__wert {
	font-family: var(--bm-serif);
	font-size: clamp(28px, 3vw, 36px);
	color: var(--bm-anthrazit);
	line-height: 1.2;
	margin: 0 0 4px;
}

.bm-zahl__text {
	font-size: 12px;
	color: var(--bm-grau);
	margin: 0;
}

@media (min-width: 1024px) {
	.bm-zahlen__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 48px;
	}
}

/* Über mich */
.bm-zitat {
	font-family: var(--bm-serif);
	font-size: 22px;
	line-height: 1.4;
	color: var(--bm-anthrazit);
	margin-top: 28px;
}

.bm-signatur {
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bm-eyebrow);
	font-weight: 600;
}

.bm-section .bm-text-grau p,
p.bm-text-grau {
	color: var(--bm-grau);
}

/* Objekt-Detailseite */
.bm-objekt__head {
	max-width: var(--bm-breit);
	margin: 0 auto;
	padding: 48px var(--bm-rand) 32px;
}

.bm-objekt__back {
	font-size: 12px;
	margin-bottom: 28px;
}

.bm-objekt__back a {
	text-decoration: none;
	color: var(--bm-grau);
}

.bm-objekt__title {
	max-width: 16em;
	margin: 0;
}

.bm-objekt__media {
	position: relative;
	width: calc(100% - 2 * var(--bm-rand));
	max-width: calc(var(--bm-breit) - 2 * var(--bm-rand));
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bm-creme);
}

.bm-objekt__media:has(.bm-card__placeholder) {
	aspect-ratio: auto;
	height: 260px;
}

.bm-objekt__media .bm-objekt__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-objekt__grid {
	max-width: var(--bm-breit);
	margin: 0 auto;
	padding: 56px 0 var(--bm-abschnitt);
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

.bm-objekt__text.bm-content > * {
	max-width: 680px;
	margin-left: 0;
}

.bm-objekt__aside {
	padding: 0 var(--bm-rand);
}

.bm-facts {
	border: 1px solid var(--bm-linie);
	background: var(--bm-sand);
	padding: 32px;
}

.bm-facts__list {
	margin: 0 0 24px;
}

.bm-facts__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--bm-linie);
	font-size: 14px;
}

.bm-facts__row dt {
	color: var(--bm-grau);
}

.bm-facts__row dd {
	margin: 0;
	text-align: right;
	color: var(--bm-anthrazit);
}

.bm-facts__row--chip dd {
	text-align: left;
}

.bm-facts__sub {
	margin-top: 8px;
}

.bm-facts__highlights {
	margin: 0 0 28px;
	padding-left: 1.1em;
	font-size: 14px;
	color: var(--bm-anthrazit);
}

.bm-facts__highlights li {
	margin-bottom: 6px;
}

.bm-facts__direct {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--bm-grau);
}

@media (min-width: 1024px) {
	.bm-objekt__grid {
		grid-template-columns: 7fr 4fr;
		gap: 64px;
		padding-left: var(--bm-rand);
		padding-right: var(--bm-rand);
	}

	.bm-objekt__text.bm-content > * {
		padding-left: 0;
		padding-right: 0;
	}

	.bm-objekt__aside {
		padding: 0;
	}

	.bm-facts {
		position: sticky;
		top: calc(var(--bm-kopf) + 24px);
	}
}

/* Kontakt */
.bm-kontaktdaten {
	margin: 0;
	display: grid;
	gap: 16px;
	font-size: 14px;
}

.bm-kontaktdaten dt {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bm-eyebrow);
	margin-bottom: 2px;
}

.bm-kontaktdaten dd {
	margin: 0;
	color: var(--bm-anthrazit);
}

.bm-kontaktdaten a {
	text-decoration: none;
}

.bm-kontaktdaten a:hover {
	text-decoration: underline;
}

.bm-kontaktdaten--dunkel dt {
	color: #7f8a90;
}

.bm-kontaktdaten--dunkel dd {
	color: #e5e7e8;
}

.bm-kontaktdaten--dunkel a:hover {
	color: #fff;
}

.bm-form {
	background: #fff;
	border: 1px solid var(--bm-linie);
	padding: 32px 24px;
}

.bm-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 24px;
}

.bm-form__feld {
	margin: 0 0 20px;
}

.bm-form__feld label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bm-grau);
	margin-bottom: 8px;
}

.bm-form input[type="text"],
.bm-form input[type="email"],
.bm-form input[type="tel"],
.bm-form select,
.bm-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bm-linie-2);
	border-radius: 0;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--bm-anthrazit);
}

.bm-form input:focus,
.bm-form select:focus,
.bm-form textarea:focus {
	outline: none;
	border-color: var(--bm-anthrazit);
}

.bm-form input[readonly] {
	background: var(--bm-sand);
}

.bm-form__check {
	font-size: 13px;
	color: var(--bm-grau);
}

.bm-form__check input {
	margin-right: 8px;
	accent-color: var(--bm-anthrazit);
}

.bm-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bm-form__fehler {
	border-left: 3px solid #b3261e;
	padding: 10px 14px;
	background: #fdf3f2;
	color: #7a1c16;
	font-size: 14px;
}

.bm-form--ok {
	border-left: 3px solid var(--bm-gold);
	font-size: 16px;
	color: var(--bm-anthrazit);
}

@media (min-width: 768px) {
	.bm-form {
		padding: 48px;
	}

	.bm-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.bm-form__feld--breit {
		grid-column: 1 / -1;
	}
}

/* Fuss */
.bm-footer {
	background: var(--bm-footer);
	color: #b4bdc2;
	padding: 80px var(--bm-rand) 48px;
}

.bm-footer__inner {
	max-width: var(--bm-breit);
	margin: 0 auto;
}

.bm-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bm-footer .bm-logo__img {
	height: 64px;
}

.bm-footer__region {
	font-size: 13px;
	color: #9aa3a8;
	margin: 20px 0 24px;
}

.bm-footer__cols {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 32px;
}

.bm-footer__cols > li > a {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #9aa3a8;
	text-decoration: none;
	margin-bottom: 18px;
	pointer-events: none;
}

.bm-footer__cols > li > a[href]:not([href="#"]) {
	pointer-events: auto;
}

.bm-footer__cols .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.bm-footer__cols .sub-menu a {
	font-size: 13px;
	color: #b4bdc2;
	text-decoration: none;
}

.bm-footer__cols .sub-menu a:hover {
	color: #fff;
}

.bm-footer__bottom {
	padding-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 11px;
	color: #7f8a90;
}

.bm-footer__bottom p {
	margin: 0;
}

.bm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.bm-footer__recht {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}

.bm-footer__recht a,
.bm-lang--footer a {
	text-decoration: none;
	color: #7f8a90;
}

.bm-footer__recht a:hover,
.bm-lang--footer a:hover {
	color: #d4d9db;
}

.bm-lang--footer {
	padding-left: 24px;
	border-left: 1px solid #3c474d;
	color: #7f8a90;
}

.bm-lang--footer [aria-current] {
	color: #d4d9db;
}

@media (min-width: 768px) {
	.bm-footer__top {
		grid-template-columns: 4fr 8fr;
	}

	.bm-footer__cols {
		grid-template-columns: repeat(4, 1fr);
	}

	.bm-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

/* Kleinigkeiten aus dem Editor */
.has-text-align-center {
	text-align: center;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--bm-linie);
	margin: 40px auto;
}

.wp-block-quote {
	border-left: 2px solid var(--bm-gold);
	margin-left: 0;
	padding-left: 24px;
	font-family: var(--bm-serif);
	font-size: 22px;
}

.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.wp-block-gallery .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wp-block-column > .bm-kontaktdaten {
	margin-top: 36px;
}

/* Abgleich mit Entwurf A (26.10.2026) */
.bm-section > .bm-textblock {
	max-width: 768px;
	margin-left: max(0px, calc((100% - var(--bm-breit)) / 2));
	margin-right: auto;
}

.bm-textblock h2 {
	max-width: none;
}

.bm-eyebrow--gold,
p.is-style-bm-eyebrow.bm-eyebrow--gold {
	color: var(--bm-gold);
}

@media (min-width: 1024px) {
	.bm-bewertung__text {
		padding-left: 24px;
	}
}

.bm-bewertung__text h2 {
	max-width: 14em;
}

.bm-lang--footer li + li::before {
	content: "·";
	color: #5c666b;
}

.bm-lang--footer {
	font-weight: 400;
	letter-spacing: 0;
}

.bm-lang--footer [aria-current] {
	text-decoration: none;
	font-weight: 400;
}

/* Vertikale Ausrichtung der Säulen (WordPress setzt sonst «normal !important») */
.wp-block-columns.are-vertically-aligned-center {
	align-items: center !important;
}

.wp-block-columns.are-vertically-aligned-top {
	align-items: flex-start !important;
}

.wp-block-columns.are-vertically-aligned-bottom {
	align-items: flex-end !important;
}

/* Kontaktseite ohne Formular */
.bm-kontaktbox {
	background: var(--bm-sand);
	border: 1px solid var(--bm-linie);
	padding: 32px 28px !important;
}

.bm-kontaktbox .bm-kontaktdaten {
	gap: 24px;
	font-size: 17px;
}

.bm-kontaktbox .bm-kontaktdaten dd {
	font-family: var(--bm-serif);
	font-size: 24px;
	line-height: 1.3;
}

@media (min-width: 1024px) {
	.bm-kontaktbox {
		padding: 48px !important;
	}
}
