/*
 * MT-Haustechnik – Gestaltung
 *
 * Farben, Schrift und Buttons kommen aus theme.json. Hier stehen die Abschnitts-Stile.
 * Bildschirmbreiten wie bei der bisherigen Website: 640px, 768px, 1024px.
 * Symbole: CSS-Klasse "mt-icon-<name>" (siehe icons.css) am jeweiligen Block.
 */

:root {
	--mt-verlauf: linear-gradient(135deg, #f06819 0%, #fa9f38 100%);
	--mt-schatten-weich: 0 4px 20px -8px rgba(23, 34, 48, 0.1);
	--mt-schatten-edel: 0 20px 50px -20px rgba(23, 34, 48, 0.22);
	--mt-schatten-glanz: 0 12px 30px -10px rgba(240, 104, 25, 0.35);
	--mt-uebergang: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Grundlagen ---------- */

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks > * {
	margin-block: 0;
}

[id] {
	scroll-margin-top: 6rem;
}

.wp-block-post-content.mt-abschnitte > * {
	margin-block: 0;
}

/* ---------- Kopfbereich ---------- */

.mt-seitenkopf {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 250, 249, 0.8);
	border-bottom: 1px solid rgba(229, 224, 220, 0.6);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.admin-bar .mt-seitenkopf {
	top: var(--wp-admin--admin-bar--height, 0px);
}

/* Unscharfer Hintergrund würde das geöffnete Handy-Menü einsperren */
html.has-modal-open .mt-seitenkopf,
.mt-seitenkopf:has(.is-menu-open) {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.wp-block-group.mt-kopf-innen {
	min-height: 5rem;
	gap: 1rem;
}

.wp-block-site-logo.mt-logo img {
	width: auto;
	height: 3rem;
	max-width: none;
}

.mt-nav .wp-block-navigation__container {
	gap: 2rem;
}

.mt-nav .wp-block-navigation-item__content {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted-foreground);
	text-decoration: none;
	transition: color 0.2s;
}

.mt-nav .wp-block-navigation-item__content:hover,
.mt-nav .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.mt-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--background);
	padding: 2rem 1.5rem;
}

.mt-nav .is-menu-open .wp-block-navigation__container {
	gap: 1.5rem;
}

.mt-nav .is-menu-open .wp-block-navigation-item__content {
	font-size: 1.25rem;
	color: var(--wp--preset--color--primary);
}

.wp-block-group.mt-kopf-aktion {
	gap: 0.75rem;
}

.mt-kopf-aktion .mt-kopf-telefon {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

.mt-kopf-telefon a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.mt-kopf-telefon a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: var(--wp--preset--color--accent);
	-webkit-mask: var(--mt-icon) center / contain no-repeat;
	mask: var(--mt-icon) center / contain no-repeat;
}

/* Menü erst ab 1024px ausklappen, darunter Menü-Button (WordPress-Standard wäre 600px) */
@media (max-width: 1023px) {
	.mt-kopf-innen .mt-nav {
		margin-left: auto;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	.mt-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.mt-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 767px) {
	.wp-block-group.mt-kopf-aktion {
		display: none;
	}
}

@media (min-width: 768px) {
	.wp-block-site-logo.mt-logo img {
		height: 3.5rem;
	}
}

/* ---------- Buttons ---------- */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-shadow: var(--mt-schatten-glanz);
	transition: transform var(--mt-uebergang), opacity var(--mt-uebergang), background-color var(--mt-uebergang);
}

.wp-block-button__link:hover {
	opacity: 0.95;
	transform: translateY(-2px);
	text-decoration: none;
}

.mt-btn-klein .wp-block-button__link {
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	border-radius: 10px;
	white-space: nowrap;
}

.mt-btn-pfeil .wp-block-button__link::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--mt-i-arrow-right) center / contain no-repeat;
	mask: var(--mt-i-arrow-right) center / contain no-repeat;
}

/* ---------- Titelbild ---------- */

.wp-block-cover.mt-hero {
	min-height: 0;
	padding: 6rem var(--wp--style--root--padding-right, 1.5rem) 6rem var(--wp--style--root--padding-left, 1.5rem);
	color: #fff;
}

.mt-hero-content {
	animation: mt-auftauchen 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes mt-auftauchen {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.mt-hero-content > * {
	max-width: 42rem;
}

.mt-hero .mt-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.375rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.mt-badge::before {
	content: "";
	width: 0.875rem;
	height: 0.875rem;
	background: var(--wp--preset--color--accent);
	-webkit-mask: var(--mt-icon) center / contain no-repeat;
	mask: var(--mt-icon) center / contain no-repeat;
}

.mt-hero .mt-hero-title {
	margin-top: 1.5rem;
	font-size: 2.25rem;
	line-height: 1.25;
	font-weight: 700;
	color: #fff;
}

.mt-hero-title mark {
	background-image: var(--mt-verlauf);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.mt-hero .mt-hero-lead {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: rgba(255, 255, 255, 0.85);
}

.mt-hero .mt-hero-buttons {
	margin-top: 2.5rem;
	gap: 0.75rem;
}

.mt-hero .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	padding: calc(1rem - 2px) calc(2.25rem - 2px);
	border: 2px solid rgba(255, 255, 255, 0.4);
	background-color: rgba(255, 255, 255, 0.05);
	color: #fff;
	box-shadow: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.mt-hero .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background-color: rgba(255, 255, 255, 0.15);
	transform: none;
}

.mt-hero .wp-block-group.mt-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 32rem;
	margin-top: 3rem;
}

.mt-hero-stat .mt-hero-stat-wert {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent-glow);
}

.mt-hero-stat-wert::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	background: currentColor;
	-webkit-mask: var(--mt-icon) center / contain no-repeat;
	mask: var(--mt-icon) center / contain no-repeat;
}

.mt-hero-stat .mt-hero-stat-text {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 639px) {
	.mt-hero .mt-hero-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.mt-hero .mt-hero-buttons .wp-block-button,
	.mt-hero .mt-hero-buttons .wp-block-button__link {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.wp-block-cover.mt-hero {
		padding-top: 9rem;
		padding-bottom: 9rem;
	}

	.mt-hero .mt-hero-title {
		font-size: 3.75rem;
	}

	.mt-hero .mt-hero-lead {
		font-size: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.wp-block-cover.mt-hero {
		padding-top: 11rem;
		padding-bottom: 11rem;
	}

	.mt-hero .mt-hero-title {
		font-size: 4.5rem;
	}
}

/* ---------- Abschnitte allgemein ---------- */

.wp-block-group.mt-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.mt-bg-surface {
	background: linear-gradient(180deg, #fdfcfc 0%, #f5f2f0 100%);
}

.mt-bg-sand {
	background: var(--wp--preset--color--secondary);
}

.mt-section-kopf {
	text-align: center;
}

.mt-section .mt-eyebrow {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.mt-section .mt-section-titel {
	margin-top: 0.75rem;
	font-size: 1.875rem;
	line-height: 1.2;
}

.mt-section .mt-section-intro {
	margin-top: 1.25rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--wp--preset--color--muted-foreground);
}

@media (min-width: 768px) {
	.wp-block-group.mt-section {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}

	.mt-section .mt-section-titel {
		font-size: 3rem;
		line-height: 1.1;
	}
}

/* ---------- Leistungen ---------- */

.mt-section .wp-block-group.mt-karten {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-top: 4rem;
}

.wp-block-group.mt-karte {
	position: relative;
	margin: 0;
	padding: 2rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: var(--mt-schatten-weich);
	transition: transform var(--mt-uebergang), box-shadow var(--mt-uebergang), border-color var(--mt-uebergang);
}

.wp-block-group.mt-karte:hover {
	transform: translateY(-4px);
	border-color: rgba(240, 104, 25, 0.4);
	box-shadow: var(--mt-schatten-edel);
}

.mt-karte::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.25rem;
	border-radius: 0.75rem;
	background: var(--mt-verlauf);
	box-shadow: var(--mt-schatten-glanz);
	transition: transform var(--mt-uebergang);
}

.mt-karte::after {
	content: "";
	position: absolute;
	top: 2.75rem;
	left: 2.75rem;
	width: 1.5rem;
	height: 1.5rem;
	background: #fff;
	-webkit-mask: var(--mt-icon) center / contain no-repeat;
	mask: var(--mt-icon) center / contain no-repeat;
	transition: transform var(--mt-uebergang);
}

.mt-karte:hover::before,
.mt-karte:hover::after {
	transform: scale(1.1);
}

.mt-karte .mt-karte-titel {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
}

.mt-karte p {
	margin-top: 0.75rem;
	line-height: 1.625;
	color: var(--wp--preset--color--muted-foreground);
}

@media (min-width: 768px) {
	.mt-section .wp-block-group.mt-karten {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.mt-section .wp-block-group.mt-karten {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Über uns ---------- */

.wp-block-columns.mt-ueber {
	gap: 3.5rem;
}

.mt-ueber .mt-ueber-text {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	line-height: 1.625;
	color: var(--wp--preset--color--muted-foreground);
}

.mt-ueber .mt-inhaber {
	margin-top: 1rem;
	font-weight: 500;
}

.mt-ueber ul.mt-checkliste {
	display: grid;
	gap: 0.75rem;
	margin-top: 2rem;
	padding: 0;
	list-style: none;
}

.mt-checkliste li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.mt-checkliste li::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--wp--preset--color--accent);
	-webkit-mask: var(--mt-i-circle-check) center / contain no-repeat;
	mask: var(--mt-i-circle-check) center / contain no-repeat;
}

.wp-block-group.mt-kennzahlen {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.mt-kennzahlen::before {
	content: "";
	position: absolute;
	inset: -1rem;
	border-radius: 1.5rem;
	background: var(--mt-verlauf);
	opacity: 0.2;
	filter: blur(40px);
}

.mt-kennzahlen .wp-block-group.mt-kennzahl {
	position: relative;
	margin: 0;
	padding: 1.5rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: var(--mt-schatten-edel);
}

.mt-kennzahlen .wp-block-group.mt-kennzahl--dunkel {
	background: var(--wp--preset--color--primary);
}

.mt-kennzahlen .wp-block-group.mt-kennzahl--versetzt {
	margin-top: 2rem;
}

.mt-kennzahl .mt-kennzahl-wert {
	margin: 0;
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent);
}

.mt-kennzahl .mt-kennzahl-text {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--wp--preset--color--muted-foreground);
}

.mt-kennzahl--dunkel .mt-kennzahl-wert {
	color: var(--wp--preset--color--background);
}

.mt-kennzahl--dunkel .mt-kennzahl-text {
	color: rgba(251, 250, 249, 0.7);
}

@media (min-width: 640px) {
	.mt-ueber ul.mt-checkliste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Kundenstimmen ---------- */

.mt-section-kopf .mt-bewertung {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.mt-bewertung::before {
	content: "";
	width: 7.5rem;
	height: 1.25rem;
	background: var(--mt-sterne) left center / contain no-repeat;
}

.mt-section .wp-block-group.mt-stimmen {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-top: 3.5rem;
}

.mt-stimmen .wp-block-group.mt-stimme {
	position: relative;
	margin: 0;
	padding: 2rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: var(--mt-schatten-weich);
	transition: box-shadow var(--mt-uebergang);
}

.mt-stimmen .wp-block-group.mt-stimme:hover {
	box-shadow: var(--mt-schatten-edel);
}

.mt-stimme::before {
	content: "";
	display: block;
	width: 6rem;
	height: 1rem;
	background: var(--mt-sterne) left center / contain no-repeat;
}

.mt-stimme::after {
	content: "";
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(240, 104, 25, 0.2);
	-webkit-mask: var(--mt-i-quote) center / contain no-repeat;
	mask: var(--mt-i-quote) center / contain no-repeat;
}

.mt-stimme .mt-stimme-text {
	margin-top: 1rem;
	line-height: 1.625;
}

.mt-stimme .wp-block-group.mt-stimme-person {
	gap: 0.75rem;
	align-items: center;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--border);
}

.mt-stimme-person .mt-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	border-radius: 999px;
	background: var(--mt-verlauf);
	font-weight: 700;
	color: #fff;
}

.mt-stimme-person .mt-stimme-name {
	margin: 0;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.mt-stimme-person .mt-stimme-quelle {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--wp--preset--color--muted-foreground);
}

@media (min-width: 768px) {
	.mt-section .wp-block-group.mt-stimmen {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Kontakt ---------- */

.mt-section .wp-block-columns.mt-kontakt {
	gap: 2rem;
	max-width: 64rem;
	margin-top: 3.5rem;
}

.mt-kontakt-angaben .wp-block-group.mt-angabe {
	position: relative;
	margin: 0;
	padding: 1.25rem 1.25rem 1.25rem 4.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: var(--mt-schatten-weich);
}

.mt-kontakt-angaben .wp-block-group.mt-angabe + .mt-angabe {
	margin-top: 1rem;
}

.mt-angabe::before {
	content: "";
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	background: var(--mt-verlauf);
}

.mt-angabe::after {
	content: "";
	position: absolute;
	top: 1.875rem;
	left: 1.875rem;
	width: 1.25rem;
	height: 1.25rem;
	background: #fff;
	-webkit-mask: var(--mt-icon) center / contain no-repeat;
	mask: var(--mt-icon) center / contain no-repeat;
}

.mt-angabe .mt-angabe-titel {
	margin: 0;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.mt-angabe .mt-angabe-text {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--wp--preset--color--muted-foreground);
	overflow-wrap: anywhere;
}

.mt-angabe-text a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.mt-angabe-text a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

/* Kontaktformular */

.mt-form {
	position: relative;
	padding: 2rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: var(--mt-schatten-edel);
}

.mt-form-reihe {
	display: grid;
	gap: 1.25rem;
}

.mt-form .mt-feld {
	margin: 1.25rem 0 0;
}

.mt-form .mt-form-reihe .mt-feld {
	margin: 0;
}

.mt-feld label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	line-height: 1;
	font-weight: 500;
}

.mt-feld input,
.mt-feld textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 2.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--background);
	font: inherit;
	font-size: 1rem; /* unter 16px zoomt das iPhone beim Antippen hinein */
	color: var(--wp--preset--color--foreground);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mt-feld textarea {
	height: auto;
	min-height: 8rem;
	resize: vertical;
}

.mt-feld input::placeholder,
.mt-feld textarea::placeholder {
	color: var(--wp--preset--color--muted-foreground);
	opacity: 1;
}

.mt-feld input:focus,
.mt-feld textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp--preset--color--accent);
}

.mt-form-absenden {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 2.75rem;
	margin-top: 1.5rem;
	padding: 0 2rem;
	border: 0;
	border-radius: 10px;
	background: var(--mt-verlauf);
	box-shadow: var(--mt-schatten-glanz);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
	cursor: pointer;
	transition: transform var(--mt-uebergang), opacity var(--mt-uebergang);
}

.mt-form-absenden:hover {
	opacity: 0.95;
	transform: translateY(-2px);
}

.mt-form-absenden:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.mt-form .mt-form-info {
	margin: 1rem 0 0;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--wp--preset--color--muted-foreground);
}

.mt-form-info a {
	color: inherit;
	text-decoration: underline;
}

.mt-form .mt-form-hinweis {
	margin: 0 0 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.mt-form-hinweis.is-erfolg {
	border: 1px solid #a7f3d0;
	background: #ecfdf3;
	color: #065f46;
}

.mt-form-hinweis.is-fehler {
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.mt-form-falle {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (min-width: 640px) {
	.mt-form-reihe {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.mt-feld input,
	.mt-feld textarea {
		font-size: 0.875rem;
	}
}

/* Zweispaltige Bereiche erst ab 1024px nebeneinander (wie bisher) */
@media (max-width: 1023px) {
	.wp-block-columns.mt-ueber,
	.mt-section .wp-block-columns.mt-kontakt {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.mt-ueber > .wp-block-column,
	.mt-section .wp-block-columns.mt-kontakt > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ---------- Fußbereich ---------- */

.mt-seitenfuss {
	background: var(--wp--preset--color--primary);
	color: rgba(251, 250, 249, 0.7);
}

.wp-block-group.mt-fuss {
	padding-top: 3.5rem;
	padding-bottom: 2rem;
	font-size: 0.875rem;
	line-height: 1.625;
}

.wp-block-columns.mt-fuss-spalten {
	gap: 2.5rem;
}

.wp-block-site-logo.mt-fuss-logo {
	display: inline-block;
	padding: 0.625rem 0.75rem;
	border-radius: 0.75rem;
	background: #fff;
	line-height: 0;
}

.wp-block-site-logo.mt-fuss-logo img {
	width: auto;
	height: 3rem;
	max-width: none;
}

.mt-fuss p {
	margin-top: 1rem;
	max-width: 24rem;
}

.mt-fuss .mt-fuss-inhaber {
	font-weight: 500;
	color: rgba(251, 250, 249, 0.85);
}

.mt-fuss .mt-fuss-titel {
	margin: 0 0 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--background);
}

.mt-fuss ul.mt-fuss-liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-fuss-liste li {
	margin: 0 0 0.5rem;
}

.mt-fuss a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.mt-fuss a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.mt-fuss .wp-block-group.mt-fuss-leiste {
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	color: rgba(251, 250, 249, 0.6);
}

.mt-fuss-leiste p {
	margin: 0;
}

.mt-fuss .mt-fuss-recht {
	display: flex;
	gap: 1.5rem;
	margin: 0;
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.wp-block-group.mt-unterseite {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.mt-unterseite .mt-zurueck {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
}

.mt-zurueck a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--muted-foreground);
	text-decoration: none;
	transition: color 0.2s;
}

.mt-zurueck a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.mt-zurueck a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--mt-i-arrow-right) center / contain no-repeat;
	mask: var(--mt-i-arrow-right) center / contain no-repeat;
	transform: scaleX(-1);
}

.mt-unterseite > .mt-unterseite-innen {
	margin-top: 0;
}

.mt-zurueck + .mt-unterseite-innen {
	margin-top: 2rem;
}

.mt-unterseite-innen .mt-unterseite-titel {
	margin: 0;
	font-size: 1.875rem;
	line-height: 1.2;
}

.mt-unterseite-innen .mt-unterseite-inhalt {
	margin-top: 2.5rem;
	line-height: 1.625;
}

.mt-unterseite-inhalt h2 {
	margin-top: 2.5rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
}

.mt-unterseite-inhalt > h2:first-child {
	margin-top: 0;
}

.mt-unterseite-inhalt p {
	margin-top: 0.75rem;
}

@media (min-width: 768px) {
	.wp-block-group.mt-unterseite {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.mt-unterseite-innen .mt-unterseite-titel {
		font-size: 3rem;
		line-height: 1.1;
	}
}

/* ---------- Weniger Bewegung, wenn gewünscht ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
