/*
Theme Name:   Beuchle Hainle Architekten
Theme URI:    https://beuchle-hainle.de
Author:       Geronimo Schmidt – Büro für Gestaltung & Fotografie
Author URI:   https://geronimoschmidt.de
Description:  Schlankes Theme für Beuchle Hainle Architekten. Linke Navigation, Open Sans lokal, Inhalte aus MotoPress.
Version:      2.0.0
Requires PHP: 7.4
Text Domain:  beuchle-hainle
*/

/* ==========================================================================
   Schrift – lokal (Open Sans Variable, 300–800)
   ========================================================================== */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-ext-wght-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Variablen
   ========================================================================== */
:root {
	--bha-black: #000;
	--bha-white: #fff;
	--bha-line: #000;
	--bha-font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--bha-sidebar: 320px;          /* Breite linke Spalte */
	--bha-gutter: clamp(20px, 4vw, 48px);
	--bha-content-max: 1240px;

	--bha-text: 1.0625rem;         /* 17px */
	--bha-leading: 1.65;
	--bha-h1: clamp(2.25rem, 5vw, 4.5rem);
	--bha-h2: clamp(1.75rem, 3.5vw, 3rem);
	--bha-h3: clamp(1.25rem, 2vw, 1.75rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bha-white);
	color: var(--bha-black);
	font-family: var(--bha-font);
	font-size: var(--bha-text);
	font-weight: 400;
	line-height: var(--bha-leading);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; }
iframe { display: block; max-width: 100%; border: 0; }   /* Höhe aus dem Attribut übernehmen (z. B. Google Maps) */
img { display: block; }

a { color: var(--bha-black); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--bha-black);
	font-weight: 700;
	line-height: 1.1;
}
h1 { font-size: var(--bha-h1); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: var(--bha-h2); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: var(--bha-h3); }
h4, h5, h6 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	padding: .75em 1em; background: var(--bha-black); color: var(--bha-white);
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ==========================================================================
   Layout – mobil zuerst
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bha-white);
}
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 20px var(--bha-gutter);
}

.site-main {
	padding: 24px var(--bha-gutter) 80px;
}

/* Logo */
.site-branding .custom-logo { width: auto; max-height: 56px; }
.site-title {
	display: block;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
}
.site-title strong { font-weight: 700; }

/* Burger */
.menu-toggle {
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	position: absolute;
	left: 10px;
	width: 24px; height: 2px;
	background: var(--bha-black);
	transition: transform .2s, opacity .2s;
	content: "";
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { top: -8px; left: 0; }
.menu-toggle__bars::after { top: 8px; left: 0; }
.nav-open .menu-toggle__bars { background: transparent; }
.nav-open .menu-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Navigation */
.site-nav {
	display: none;
	flex-basis: 100%;
	padding: 24px 0 8px;
}
.nav-open .site-nav { display: block; }

.site-nav__list,
.site-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__list > li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.site-nav__list a {
	display: inline-block;
	padding: .3em 0;
	font-size: 1.125rem;
	letter-spacing: .06em;
	text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list .current-menu-parent > a {
	text-decoration: underline;
}

/* Akkordeon */
.site-nav__toggle {
	position: relative;
	width: 32px; height: 32px;
	margin-left: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.site-nav__toggle span::before,
.site-nav__toggle span::after {
	position: absolute;
	top: 50%; left: 50%;
	width: 12px; height: 1.5px;
	background: var(--bha-black);
	transform: translate(-50%, -50%);
	transition: transform .2s;
	content: "";
}
.site-nav__toggle span::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open > .site-nav__toggle span::after { transform: translate(-50%, -50%) rotate(0deg); }

.site-nav__list .sub-menu {
	display: none;
	flex-basis: 100%;
	padding: .2em 0 .6em 1.2em;
}
.site-nav__list .is-open > .sub-menu { display: block; }
.site-nav__list .sub-menu a {
	font-size: 1rem;
	letter-spacing: .03em;
}

/* Footer */
.site-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	justify-content: flex-end;
	text-align: right;
	max-width: var(--bha-content-max);   /* nicht breiter als .entry-content */
	margin: 0 var(--bha-gutter);
	padding: 32px 0;
	border-top: 1px solid var(--bha-line);
	font-size: .9375rem;
}
.site-footer__copy { margin: 0; }
.site-footer__nav {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }

/* ==========================================================================
   Desktop – feste linke Spalte
   ========================================================================== */
@media (min-width: 1024px) {
	.site-header {
		position: fixed;
		top: 0; bottom: 0; left: 0;
		width: var(--bha-sidebar);
		overflow-y: auto;
	}
	.site-header__inner {
		display: block;
		padding: 48px 40px;
	}
	.site-branding .custom-logo { max-height: none; width: 100%; max-width: 240px; }
	.site-title { font-size: 2rem; }

	.menu-toggle { display: none; }

	.site-nav {
		display: block;
		padding: 64px 0 0;
	}

	.site-main {
		margin-left: var(--bha-sidebar);
	}
	/* Linie nur so breit wie der Inhalt */
	.site-footer {
		margin-left: calc(var(--bha-sidebar) + var(--bha-gutter));
	}
	.site-main {
		padding: 48px var(--bha-gutter) 80px;
	}
}

/* ==========================================================================
   Inhalt
   ========================================================================== */
.entry-content {
	max-width: var(--bha-content-max);
}
.entry-title {
	margin-top: -.17em;   /* Versalhöhe bündig mit Logo-Oberkante */
	margin-bottom: .8em;
	line-height: 1;
}

/* ==========================================================================
   MotoPress – an das neue Design anpassen
   Klassennamen bitte im Quelltext einer Seite gegenprüfen.
   ========================================================================== */

/* Textfarbe: rein schwarz, keine Grautöne aus Altstyles */
.entry-content .motopress-text-obj,
.entry-content .motopress-text-obj p,
.entry-content .motopress-text-obj li,
.entry-content .motopress-text-obj span {
	color: var(--bha-black);
}

/* Überschriften in MotoPress-Textblöcken */
.entry-content .motopress-text-obj h1,
.entry-content .motopress-text-obj h2 {
	font-weight: 700;
	text-transform: uppercase;
}

/* Bilder: keine Rahmen, Schatten, Rundungen */
.entry-content .motopress-image-obj,
.entry-content .motopress-image-obj img,
.entry-content .motopress-image-obj a {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: none !important;
}
.entry-content .motopress-image-obj img { width: 100%; }

/* Buttons im Stil der Seite */
.entry-content .motopress-button-obj .motopress-btn,
.entry-content .motopress-button-obj a {
	display: inline-block;
	padding: .7em 1.4em;
	border: 1px solid var(--bha-black) !important;
	border-radius: 0 !important;
	background: var(--bha-white) !important;
	color: var(--bha-black) !important;
	box-shadow: none !important;
	font-size: 1rem;
	letter-spacing: .04em;
	text-decoration: none;
	text-shadow: none !important;
	transition: background .2s, color .2s;
}
.entry-content .motopress-button-obj .motopress-btn:hover,
.entry-content .motopress-button-obj a:hover {
	background: var(--bha-black) !important;
	color: var(--bha-white) !important;
}

/* Zeilenabstände */
.entry-content .mp-row-fluid + .mp-row-fluid {
	margin-top: 24px;
}

/* Haarlinien / Trenner aus Altinhalten ausblenden */
.entry-content hr,
.entry-content .motopress-hr-obj {
	display: none;
}

/* MotoPress-Slider: Rahmen, Rundung und Schatten entfernen */
.entry-content .mp-flexslider-obj.flexslider {
	margin: 0 0 60px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}
.entry-content .mp-flexslider-obj .slides img { width: 100%; }

/* ==========================================================================
   Seite „Unser Team“ (ID 1259) – Spalten bündig ausrichten
   ========================================================================== */
/* inkl. MotoPress-Einzelstile (mpce-prvt-…), die einzelne Spalten nach unten schieben */
.page-id-1259 .entry-content .motopress-clmn,
.page-id-1259 .entry-content .motopress-code-obj,
.page-id-1259 .entry-content [class*="mpce-prvt-"] {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
/* Doppelte Überschrift „Unser Team“ aus dem Inhalt ausblenden (H1 kommt vom Theme) */
.page-id-1259 .entry-content > .mp-row-fluid:first-child {
	display: none;
}
.page-id-1259 .entry-content .motopress-code-obj p {
	margin: 0;
}
.page-id-1259 .entry-content .motopress-code-obj p:empty {
	display: none;
}
.page-id-1259 .entry-content .motopress-code-obj img {
	float: none;
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 1em;
}
/* Alter Trick: weißer Fülltext für gleiche Höhen – im neuen Layout störend */
.page-id-1259 .entry-content span[style*="#ffffff"],
.page-id-1259 .entry-content span[style*="#fff;"] {
	display: none;
}
.page-id-1259 .entry-content .motopress-row {
	margin-bottom: 48px;
}

/* ==========================================================================
   MotoPress: Vollbreite-Zeilen im Inhaltsbereich halten
   (MotoPress setzt per JS Breite und negative Ränder inline – ragt sonst in die Navigation)
   ========================================================================== */
.entry-content .mp-row-fullwidth-content {
	width: auto !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Alte Trennlinie als Grafik (Linie.jpg) auf Projektseiten ausblenden */
.entry-content img[src*="/Linie.jpg"],
.entry-content .motopress-row:has(img[src*="/Linie.jpg"]) {
	display: none;
}

/* Startseite (ID 21): alten Claim aus dem Inhalt ausblenden – H1 kommt aus dem Feld „Claim Startseite“ */
.page-id-21 .entry-content > .mp-row-fluid:first-child {
	display: none;
}

/* Startseite: Name und Berufsbezeichnung eng zusammen */
.page-id-21 .entry-content .motopress-text-obj p {
	margin: 0;
}
.page-id-21 .entry-content .mp-row-fluid:has(.motopress-text-obj) + .mp-row-fluid:has(.motopress-text-obj) {
	margin-top: 0;
}
.page-id-21 .entry-content .mp-row-fluid:has(.motopress-text-obj) + .mp-row-fluid:has(.motopress-text-obj) .motopress-text-obj {
	margin-top: 4px !important;
}

/* ==========================================================================
   Abstand zum Footer einheitlich: nur der Innenabstand von .site-main zählt
   ========================================================================== */
/* Manuell gesetzte MotoPress-Abstandshalter am Seitenende ausblenden */
.entry-content > .mp-row-fluid:last-child:has(> .motopress-space:only-child),
.entry-content > .mp-row-fluid:last-child .mp-row-fluid:last-child:has(> .motopress-space:only-child) {
	display: none;
}
/* Untere Außenabstände des letzten Inhaltselements neutralisieren */
.entry-content > :last-child,
.entry-content > :last-child [class*="motopress-margin-bottom-"]:last-child {
	margin-bottom: 0 !important;
}

/* Kontakt (ID 99): Banner steckt in derselben Zeile wie der Einleitungstext –
   hier nur das Bannerbild ausblenden, nicht die ganze Zeile */
.page-id-99 .entry-content > .mp-row-fluid:first-child .motopress-image-obj {
	display: none;
}

/* Kontakt (ID 99): manuelle 100px-Abstandshalter verkleinern */
.page-id-99 .entry-content .motopress-space,
.page-id-99 .entry-content .motopress-space-obj {
	min-height: 0 !important;
	height: auto !important;
}
.page-id-99 .entry-content .motopress-space-obj {
	margin-bottom: 32px !important;
}
.page-id-99 .entry-content .mp-row-fluid + .mp-row-fluid {
	margin-top: 0;
}
.page-id-99 .entry-content iframe {
	width: 100%;
}

/* ==========================================================================
   MotoPress-Slider: erstes Bild sofort zeigen (ohne Einblenden)
   ========================================================================== */
.entry-content .flexslider .slides > li:first-child {
	display: block;
	opacity: 1 !important;
}

/* ==========================================================================
   MotoPress-Slider: schlichte weiße Pfeile statt Icon-Font
   (Original kommt aus MotoPress: flexslider.min.css / theme.min.css)
   ========================================================================== */
.entry-content .flexslider .flex-direction-nav a {
	top: 50%;
	width: 56px;
	height: 56px;
	margin: -28px 0 0;
	overflow: hidden;
	background: none !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0;
	text-indent: -9999px;
	text-shadow: none !important;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	opacity: 0;
	transition: opacity .2s !important;   /* kein Verschieben, nur Einblenden */
}
/* Höhere Spezifität als MotoPress (dort springt left/right beim Hover auf 10px) */
html body .entry-content .flexslider .flex-direction-nav .flex-prev,
html body .entry-content .flexslider:hover .flex-direction-nav .flex-prev,
html body .entry-content .flexslider .flex-direction-nav:hover .flex-prev { left: 0 !important; right: auto !important; }
html body .entry-content .flexslider .flex-direction-nav .flex-next,
html body .entry-content .flexslider:hover .flex-direction-nav .flex-next,
html body .entry-content .flexslider .flex-direction-nav:hover .flex-next { right: 0 !important; left: auto !important; }

.entry-content .flexslider:hover .flex-direction-nav a,
.entry-content .flexslider .flex-direction-nav a:focus-visible {
	opacity: 1 !important;
}

/* Alte Icon-Glyphen (before UND after) komplett abschalten */
.entry-content .flexslider .flex-direction-nav a::after {
	content: none !important;
	display: none !important;
}

/* Weißer Chevron aus zwei Linien, leichter Schatten für helle Fotos */
.entry-content .flexslider .flex-direction-nav a::before {
	content: "" !important;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: 0;
	border-top: 2px solid var(--bha-white);
	border-left: 2px solid var(--bha-white);
	font-size: 0 !important;
	font-family: inherit !important;
	text-indent: 0;
	text-shadow: none !important;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, .45));
	transform: translate(-30%, -50%) rotate(-45deg);
}
.entry-content .flexslider .flex-direction-nav .flex-next::before {
	transform: translate(-70%, -50%) rotate(135deg);
}

/* Touch-Geräte ohne Hover: Pfeile immer sichtbar */
@media (hover: none) {
	.entry-content .flexslider .flex-direction-nav a { opacity: 1 !important; }
}

/* ==========================================================================
   Kontakt (ID 99): Text und Button linksbündig, Stift-Icon ausblenden
   ========================================================================== */
.page-id-99 .entry-content .motopress-text-obj p,
.page-id-99 .entry-content [class*="motopress-button"],
.page-id-99 .entry-content [class*="motopress-text-align-"] {
	text-align: left !important;
}
.page-id-99 .entry-content .motopress-ce-icon-obj,
.page-id-99 .entry-content .mp-row-fluid:has(> .motopress-clmn > .motopress-ce-icon-obj:only-child) {
	display: none;
}

/* ==========================================================================
   Lightbox (Magnific Popup aus MotoPress)
   ========================================================================== */
/* Rein weißer Hintergrund */
.mfp-bg {
	background: var(--bha-white) !important;
	opacity: 1 !important;
}
/* Kein Schatten / Rahmen am Bild */
.mfp-figure::after {
	background: none !important;
	box-shadow: none !important;
}
/* Schließen-X schwarz */
.mfp-close,
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
	color: var(--bha-black) !important;
	opacity: 1 !important;
	font-family: var(--bha-font);
	font-weight: 300;
}
.mfp-close:hover { opacity: .6 !important; }
/* Bildtitel / Zähler schwarz */
.mfp-title,
.mfp-counter {
	color: var(--bha-black) !important;
}
/* Lightbox-Pfeile: schwarze Linien statt Dreiecke */
.mfp-arrow::before { display: none !important; }
.mfp-arrow::after {
	content: "" !important;
	position: absolute;
	top: 50% !important;
	left: 50% !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	border: 0 !important;
	border-top: 2px solid var(--bha-black) !important;
	border-left: 2px solid var(--bha-black) !important;
	transform: translate(-30%, -50%) rotate(-45deg);
}
.mfp-arrow-right::after {
	transform: translate(-70%, -50%) rotate(135deg);
}

/* Logo bleibt über der Lightbox sichtbar, Navigation wird ausgeblendet */
body:has(.mfp-wrap) .site-header {
	z-index: 1100;
	background: transparent;
	pointer-events: none;
}
body:has(.mfp-wrap) .site-nav,
body:has(.mfp-wrap) .menu-toggle {
	visibility: hidden;
}
/* Desktop: Bild rechts neben der Logospalte zentrieren, damit nichts überlappt */
@media (min-width: 1024px) {
	.mfp-wrap .mfp-container {
		padding-left: calc(var(--bha-sidebar) + 8px);
	}
}

/* Footer: Impressum · Datenschutz links neben dem Copyright */
.site-footer {
	align-items: baseline;
}
.site-footer__nav {
	gap: 32px;
}

/* Footer: Impressum · Datenschutz · © links unten, Kontakt rechts (dreizeilig, rechtsbündig) */
.site-footer {
	justify-content: space-between;
	align-items: flex-end;
	text-align: left;
	gap: 24px 48px;
}
.site-footer__contact {
	margin: 0 0 0 auto;
	font-style: normal;
	line-height: 1.6;
	text-align: right;
}
.site-footer__contact .line {
	display: block;
}
.site-footer__contact .sep {
	margin: 0 .6em;
}
.site-footer__contact a,
.site-footer__nav a {
	text-decoration: none;
	white-space: nowrap;
}
.site-footer__contact a:hover,
.site-footer__nav a:hover {
	text-decoration: underline;
}
.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	align-items: baseline;
	line-height: 1.6;
}
.site-footer__meta .site-footer__copy {
	white-space: nowrap;
}
@media (max-width: 767px) {
	.site-footer {
		flex-direction: column-reverse;   /* mobil: Kontakt oben, Links darunter */
		align-items: flex-start;
	}
	.site-footer__contact {
		margin: 0;
		text-align: left;
	}
}

/* ==========================================================================
   Mobilmenü: weißer Hintergrund über die volle Höhe
   ========================================================================== */
@media (max-width: 1023px) {
	body.nav-open {
		overflow: hidden;
	}
	.nav-open .site-header {
		position: fixed;
		inset: 0;
		overflow-y: auto;
		background: var(--bha-white);
	}
}

/* ==========================================================================
   Einheitliche Abstände: manuelle MotoPress-Abstandshalter
   ========================================================================== */
/* Abstandshalter direkt unter der Überschrift (Seitenanfang) entfernen */
.entry-content > .mp-row-fluid:first-child:has(> .motopress-space:only-child),
.entry-content > .mp-row-fluid:first-child:has(> .motopress-space:only-child) + .mp-row-fluid:has(> .motopress-space:only-child),
.entry-content > .mp-row-fluid:first-child:has(> .motopress-space:only-child) + .mp-row-fluid:has(> .motopress-space:only-child) + .mp-row-fluid:has(> .motopress-space:only-child) {
	display: none;
}
/* Übrige reine Abstandszeilen auf ein einheitliches Maß bringen */
.entry-content .mp-row-fluid > .motopress-space:only-child {
	min-height: 0 !important;
	height: 40px !important;
}
.entry-content .mp-row-fluid > .motopress-space:only-child .motopress-space-obj {
	margin: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}

/* Footer: beide Blöcke oben bündig (Links auf Höhe der ersten Adresszeile) */
@media (min-width: 768px) {
	.site-footer { align-items: flex-start; }
}

/* ==========================================================================
   Impressum (151) & Datenschutz (1002): doppelte Überschrift aus MotoPress
   und die Abstandshalter drumherum ausblenden – H1 kommt vom Theme
   ========================================================================== */
.page-id-151 .entry-content .mp-row-fluid:has(> .motopress-clmn > .motopress-text-obj:only-child > p:only-child > span[style*="36px"]:only-child),
.page-id-1002 .entry-content .mp-row-fluid:has(> .motopress-clmn > .motopress-text-obj:only-child > p:only-child > span[style*="36px"]:only-child),
.page-id-151 .entry-content .mp-row-fluid:has(> .motopress-space:only-child),
.page-id-1002 .entry-content .mp-row-fluid:has(> .motopress-space:only-child) {
	display: none !important;
}

/* Footer: Büroname hervorgehoben */
.site-footer__name {
	font-weight: 600;
}
