/*
 * Stein Gartenpflege: Ergänzungen zu theme.json.
 * Farben, Schriften und Grundgrößen kommen aus theme.json als CSS-Variablen.
 */

:root {
	--stein-rand: clamp(20px, 4vw, 40px);
	--stein-abschnitt: clamp(64px, 9vw, 112px);
	--stein-r-karte: 22px;
	--stein-r-bild: 28px;
	--stein-r-feld: 12px;
	--stein-waldgruen: var(--wp--preset--color--waldgruen);
	--stein-tiefgruen: var(--wp--preset--color--tiefgruen);
	--stein-rinde: var(--wp--preset--color--rinde);
	--stein-rinde-hell: var(--wp--preset--color--rinde-hell);
	--stein-sand: var(--wp--preset--color--sand);
	--stein-birke: var(--wp--preset--color--birke);
	--stein-moos: var(--wp--preset--color--moos);
	--stein-tinte: var(--wp--preset--color--tinte);
	--stein-text: var(--wp--preset--color--text);
	--stein-leise: var(--wp--preset--color--text-leise);
	--stein-linie: var(--wp--preset--color--linie);
	--stein-weiss: var(--wp--preset--color--weiss);
}

/* Grundlagen */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

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

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

h1,
h2,
h3,
.wp-block-post-title {
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
}

p,
li {
	text-wrap: pretty;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--stein-rinde);
	outline-offset: 3px;
	border-radius: 4px;
}

.stein-dunkel :where(a, button, summary):focus-visible,
.stein-fuss :where(a, button):focus-visible {
	outline-color: var(--stein-rinde-hell);
}

.stein-sprunglink {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--stein-waldgruen);
	color: var(--stein-birke);
	font-weight: 500;
	text-decoration: none;
}

.stein-sprunglink:focus {
	top: 16px;
	color: var(--stein-birke);
}

/* Textbausteine */

.stein-dachzeile {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stein-rinde);
}

.stein-dunkel .stein-dachzeile,
.stein-fuss .stein-dachzeile {
	color: var(--stein-rinde-hell);
}

.stein-lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.6;
}

.stein-h1-start {
	font-size: clamp(44px, 5.6vw, 72px) !important;
	line-height: 1 !important;
	letter-spacing: -0.025em !important;
}

.stein-claim,
.stein-einstieg,
.stein-einstieg p {
	font-family: var(--wp--preset--font-family--gambetta);
	font-style: italic;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--zitat);
	line-height: 1.4;
}

.stein-dunkel .stein-claim {
	color: var(--stein-moos);
}

.stein-dunkel :where(h1, h2, h3, h4) {
	color: var(--stein-birke);
}

.stein-dunkel a:where(:not(.wp-element-button)) {
	color: var(--stein-birke);
}

.stein-platzhalter {
	padding: 12px 16px;
	border: 1.5px dashed var(--stein-rinde);
	border-radius: var(--stein-r-feld);
	color: var(--stein-rinde);
	font-size: 16px;
}

.stein-verweis {
	font-size: 16px;
	color: var(--stein-leise);
}

.stein-pfeil-link a,
.stein-karte__link a {
	display: inline-block;
	padding: 10px 0;
	font-weight: 500;
	text-decoration: none;
	color: var(--stein-waldgruen);
}

.stein-pfeil-link a::after,
.stein-karte__link a::after {
	content: "";
	display: inline-block;
	vertical-align: -3px;
	margin-left: 8px;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s ease;
}

.stein-pfeil-link a:hover::after,
.stein-karte__link a:hover::after {
	transform: translateX(3px);
}

.stein-pfeil-link a:hover,
.stein-karte__link a:hover {
	color: var(--stein-rinde);
}

/* Chips */

.stein-chip {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

ul.stein-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.stein-chips > li {
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

ul.stein-chips > li:has(> a) {
	padding: 0;
}

ul.stein-chips a,
a.stein-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
}

ul.stein-chips a:hover,
a.stein-chip:hover {
	background: var(--stein-moos);
	color: var(--stein-waldgruen);
}

a.stein-chip {
	background: var(--stein-weiss);
	color: var(--stein-waldgruen);
	font-size: 16px;
	font-weight: 500;
	border: 1.5px solid var(--stein-linie);
}

a.stein-chip[aria-current="page"] {
	background: var(--stein-waldgruen);
	border-color: var(--stein-waldgruen);
	color: var(--stein-birke);
}

.stein-dunkel ul.stein-chips > li {
	background: rgba(199, 211, 181, 0.16);
	color: var(--stein-birke);
	border: 1px solid rgba(199, 211, 181, 0.4);
}

/* Häkchen-Liste */

ul.stein-haken {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 16px;
	font-weight: 500;
	color: var(--stein-tinte);
}

ul.stein-haken > li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
}

ul.stein-haken > li::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--stein-moos) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300442B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

main ul.stein-haken:not(.stein-hero ul) {
	flex-direction: column;
	font-size: 18px;
	font-weight: 400;
	color: var(--stein-text);
}

/* Buttons */

.wp-block-button .wp-block-button__link,
.stein-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid var(--stein-waldgruen);
	background: transparent;
	color: var(--stein-waldgruen);
	padding: 16.5px 26.5px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
}

.stein-dunkel .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--stein-birke);
	color: var(--stein-birke);
}

.stein-dunkel .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(251, 249, 244, 0.1);
}

.stein-button {
	border: 0;
	border-radius: 999px;
	padding: 18px 28px;
	background: var(--stein-waldgruen);
	color: var(--stein-birke);
	font: 500 17px/1.2 var(--wp--preset--font-family--general-sans);
	cursor: pointer;
}

.stein-button:hover {
	background: var(--stein-tiefgruen);
}

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

/* Abschnitte */

.stein-abschnitt {
	padding-top: var(--stein-abschnitt);
	padding-bottom: var(--stein-abschnitt);
}

.stein-abschnitt--eng-oben {
	padding-top: clamp(40px, 5vw, 64px);
}

.stein-main {
	margin-top: 0;
}

.stein-main > *:first-child {
	margin-block-start: 0;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.stein-main > .wp-block-post-content > * + *,
.stein-main > * + * {
	margin-block-start: 0;
}

.stein-kopfzeile {
	display: grid;
	gap: 16px 64px;
	align-items: end;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.stein-kopfzeile > * {
	margin: 0;
}

@media (min-width: 900px) {
	.stein-kopfzeile {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	}
}

.stein-kopfzeile__titel > * + * {
	margin-top: 12px;
}

.stein-kopfzeile__titel h2 {
	margin: 12px 0 0;
}

.stein-kopfzeile__text,
.stein-kopfzeile__text > p {
	margin: 0;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.6;
}

.stein-kopfzeile__text > * + * {
	margin-top: 8px;
}

/* Raster und Karten */

.stein-raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stein-raster > * {
	margin: 0 !important;
}

.stein-drei {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px clamp(24px, 3vw, 48px);
}

.stein-drei > * {
	margin: 0 !important;
}

.stein-karte {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--stein-r-karte);
	background: var(--stein-weiss);
	border: 1px solid var(--stein-linie);
}

.stein-karte > * {
	margin: 0;
}

.stein-karte > * + * {
	margin-top: 12px;
}

.stein-karte h3 {
	margin-top: 20px;
}

.stein-karte--leistung {
	display: flex;
	flex-direction: column;
}

.stein-karte--leistung .stein-karte__link {
	margin-top: auto;
	padding-top: 12px;
}

.stein-karte__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
}

.stein-karte__icon .stein-icon {
	width: 28px;
	height: 28px;
}

.stein-karte--schritt {
	background: var(--stein-sand);
	border-color: transparent;
}

.stein-schritt-nummer {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--stein-waldgruen);
	color: var(--stein-birke);
	font-weight: 600;
	font-size: 20px;
	line-height: 1;
}

/* Hero */

.stein-hero {
	padding-top: clamp(32px, 5vw, 72px);
	padding-bottom: clamp(32px, 4vw, 56px);
}

.stein-hero__spalten {
	gap: clamp(32px, 5vw, 72px) !important;
}

.stein-hero__text > * {
	margin: 0;
}

.stein-hero__text > * + * {
	margin-top: 24px;
}

.stein-hero__text > .stein-h1-start {
	margin-top: 20px;
}

.stein-hero__text > .wp-block-buttons {
	margin-top: 32px;
}

.stein-hero__text > .stein-haken {
	margin-top: 28px;
}

.stein-hero__bild {
	position: relative;
}

.stein-hero__bild > * {
	margin: 0;
}

.stein-hero .stein-foto {
	border-radius: var(--stein-r-bild);
}

.stein-einsatz-karte {
	position: absolute;
	left: clamp(12px, 2vw, 24px);
	bottom: clamp(12px, 2vw, 24px);
	max-width: min(340px, calc(100% - 24px));
	padding: 16px 20px 16px 20px;
	border-radius: 18px;
	background: var(--stein-birke);
	box-shadow: 0 12px 32px rgba(11, 46, 32, 0.16);
	margin: 0 !important;
}

.stein-einsatz-karte > * {
	margin: 0;
}

.stein-einsatz-karte .stein-dachzeile {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--stein-waldgruen);
}

.stein-einsatz-karte .stein-dachzeile::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2E8B57;
	box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.18);
}

.stein-einsatz-karte p:not(.stein-dachzeile) {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--stein-tinte);
}

/* Fotos und Platzhalter */

.stein-foto {
	position: relative;
	margin: 0;
	width: 100%;
	overflow: hidden;
	border-radius: var(--stein-r-karte);
	background: var(--stein-sand);
}

.stein-zweispaltig .stein-foto,
.stein-leistung .stein-foto {
	border-radius: var(--stein-r-bild);
}

.stein-foto__bild {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 782px) {
	.stein-foto--feste-hoehe {
		aspect-ratio: auto !important;
		height: var(--stein-foto-hoehe);
	}
}

.stein-foto--platzhalter {
	color: var(--stein-waldgruen);
}

.has-salbei-background-color {
	background-color: #DCE3D0;
}

.stein-foto__platzhalter {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.stein-illustration {
	width: min(62%, 360px);
	height: auto;
	opacity: 0.85;
}

.stein-foto__etikett {
	position: absolute;
	right: 14px;
	top: 14px;
	max-width: calc(100% - 28px);
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(251, 249, 244, 0.85);
	color: var(--stein-waldgruen);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.stein-foto-mit-text .stein-foto__text {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--stein-leise);
}

.stein-vorher-nachher .stein-foto__text {
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stein-rinde);
}

.stein-foto-waehlen {
	margin-top: 12px;
}

/* Über mich */

.stein-zweispaltig {
	gap: clamp(32px, 6vw, 96px) !important;
}

.stein-zweispaltig > .wp-block-column > * {
	margin-top: 0;
	margin-bottom: 0;
}

.stein-zweispaltig > .wp-block-column > * + * {
	margin-top: 20px;
}

.stein-zweispaltig > .wp-block-column > h2 {
	margin-top: 12px;
}

.wp-block-quote.stein-zitat {
	margin: 32px 0 !important;
	padding: 0 0 0 0;
	border: 0;
	position: relative;
}

.wp-block-quote.stein-zitat p {
	margin: 0;
}

.wp-block-quote.stein-zitat::before {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-bottom: 16px;
	background: var(--stein-rinde);
}

.stein-kennzahlen {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-top: 24px;
	border-top: 1px solid var(--stein-linie);
}

.stein-kennzahlen > * {
	margin: 0 !important;
}

.stein-kennzahl > * {
	margin: 0;
}

.stein-kennzahl__wert {
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--stein-waldgruen);
}

.stein-kennzahl__text {
	margin-top: 6px !important;
	font-size: 15px;
	line-height: 1.45;
	color: var(--stein-leise);
}

@media (max-width: 520px) {
	.stein-kennzahlen {
		grid-template-columns: 1fr;
	}
}

/* Boden und Lage */

.stein-boden__kopf {
	max-width: 860px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.stein-boden__kopf > * {
	margin: 0;
}

.stein-boden__kopf > * + * {
	margin-top: 16px;
}

.stein-nummer-spalte {
	padding-top: 20px;
	border-top: 1px solid rgba(199, 211, 181, 0.45);
}

.stein-nummer-spalte > * {
	margin: 0;
}

.stein-nummer-spalte > * + * {
	margin-top: 10px;
}

.stein-nummer {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--stein-rinde-hell);
}

.stein-dunkel p {
	color: #DDE5D2;
}

/* Einsatzgebiet */

.stein-karte-gebiet {
	margin: 0;
	padding: clamp(12px, 2vw, 24px);
	border-radius: var(--stein-r-bild);
	background: rgba(199, 211, 181, 0.07);
	border: 1px solid rgba(199, 211, 181, 0.2);
}

.stein-karte-gebiet svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Kontakt */

.stein-kontakt {
	align-items: flex-start !important;
}

ul.stein-kontaktwege {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.stein-kontaktwege li {
	margin: 0;
}

.stein-kontaktwege a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	color: var(--stein-tinte);
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.stein-kontaktwege a:hover {
	color: var(--stein-waldgruen);
}

.stein-kontaktwege a:hover .stein-rund-icon {
	background: var(--stein-waldgruen);
	color: var(--stein-birke);
}

.stein-rund-icon {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--stein-weiss);
	border: 1px solid var(--stein-linie);
	color: var(--stein-waldgruen);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.stein-adresse {
	margin-top: 28px !important;
	padding-top: 24px;
	border-top: 1px solid var(--stein-linie);
	font-size: 16px;
	color: var(--stein-leise);
}

.stein-formular-karte {
	padding: clamp(24px, 4vw, 40px);
}

/* Formular */

.stein-formular {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.stein-feld {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.stein-feld--breit,
.stein-formular__hinweis {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.stein-formular {
		grid-template-columns: 1fr;
	}
}

.stein-feld label {
	font-size: 16px;
	font-weight: 500;
	color: var(--stein-tinte);
}

.stein-feld__optional {
	font-weight: 400;
	color: var(--stein-leise);
}

.stein-feld input[type="text"],
.stein-feld input[type="email"],
.stein-feld textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1.5px solid var(--stein-linie);
	border-radius: var(--stein-r-feld);
	background: var(--stein-weiss);
	color: var(--stein-tinte);
	font: 400 17px/1.5 var(--wp--preset--font-family--general-sans);
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.stein-feld textarea {
	resize: vertical;
	min-height: 140px;
}

.stein-feld input::placeholder,
.stein-feld textarea::placeholder {
	color: #7A867F;
}

.stein-feld input:hover,
.stein-feld textarea:hover {
	border-color: #CDBFA6;
}

.stein-feld input:focus,
.stein-feld textarea:focus {
	border-color: var(--stein-waldgruen);
}

.stein-feld [aria-invalid="true"] {
	border-color: #A3341F !important;
}

.stein-feld input[type="file"] {
	min-height: 52px;
	padding: 10px;
	border: 1.5px dashed #CDBFA6;
	border-radius: var(--stein-r-feld);
	background: var(--stein-weiss);
	font: 400 16px/1.5 var(--wp--preset--font-family--general-sans);
	color: var(--stein-text);
	max-width: 100%;
}

.stein-feld input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
	font: 500 15px/1.2 var(--wp--preset--font-family--general-sans);
	cursor: pointer;
}

.stein-feld--check {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}

.stein-feld--check input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--stein-waldgruen);
}

.stein-feld--check label {
	flex: 1;
	min-width: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--stein-text);
}

.stein-feld--check .stein-feld__fehler {
	flex-basis: 100%;
}

.stein-feld__fehler {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: #A3341F;
}

.stein-feld--honig {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.stein-formular__hinweis {
	padding: 16px 20px;
	border-radius: var(--stein-r-feld);
	background: #F7E6E1;
	color: #7A2615;
	font-size: 16px;
}

.stein-formular__hinweis p,
.stein-formular__hinweis ul {
	margin: 0;
}

.stein-formular__hinweis ul {
	margin-top: 6px;
	padding-left: 20px;
}

.stein-formular--danke {
	display: block;
	padding: 8px 0;
}

.stein-formular__danke-titel {
	margin: 0 0 8px;
	font-size: var(--wp--preset--font-size--zwischentitel);
	font-weight: 600;
	line-height: 1.3;
	color: var(--stein-waldgruen);
}

/* Seitenkopf */

.stein-seitenkopf {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.stein-seitenkopf .alignwide > * {
	margin: 0;
}

.stein-seitenkopf .alignwide > * + * {
	margin-top: 16px;
}

.stein-seitenkopf h1 {
	margin-top: 12px;
	max-width: 22ch;
}

.stein-seitenkopf__text {
	max-width: 720px;
}

.stein-thema-filter {
	margin-top: 32px !important;
}

/* Ratgeber: Karten */

.stein-beitraege .wp-block-post-template {
	margin: 0;
}

.stein-beitrag-karte {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--stein-r-karte);
	background: var(--stein-weiss);
	border: 1px solid var(--stein-linie);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stein-beitrag-karte:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(11, 46, 32, 0.1);
}

.stein-beitrag-karte > * {
	margin: 0 !important;
}

.stein-beitrag-karte .stein-foto {
	border-radius: 0;
}

.stein-beitrag-karte__text {
	padding: 24px 26px 28px;
}

.stein-beitrag-karte__text > * {
	margin: 0;
}

.stein-beitrag-karte__text > * + * {
	margin-top: 10px;
}

.stein-beitrag-karte__titel {
	font-size: 23px !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
}

.stein-beitrag-karte__titel a {
	color: var(--stein-waldgruen);
	text-decoration: none;
}

.stein-beitrag-karte__titel a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.stein-beitrag-karte__titel a:hover {
	color: var(--stein-rinde);
}

.stein-beitrag-karte__auszug,
.stein-beitrag-karte__auszug p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--stein-leise);
}

.stein-seiten-nav {
	margin-top: 48px;
	gap: 8px;
}

.stein-seiten-nav a,
.stein-seiten-nav .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
}

/* Ratgeber: Beitrag */

.stein-brotkrumen ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.stein-brotkrumen li {
	display: flex;
	align-items: center;
	gap: 4px;
}

.stein-brotkrumen li + li::before {
	content: "/";
	color: var(--stein-leise);
}

.stein-brotkrumen a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 4px;
	color: var(--stein-leise);
	text-decoration: none;
}

.stein-brotkrumen a:hover {
	color: var(--stein-waldgruen);
	text-decoration: underline;
}

.stein-artikelkopf__inhalt {
	max-width: 900px;
}

@media (min-width: 900px) {
	.stein-artikelkopf__inhalt {
		max-width: 1044px;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

.stein-artikelkopf .wp-block-post-title {
	max-width: 24ch;
}

.stein-einstieg {
	max-width: 760px;
}

.stein-einstieg p {
	margin: 0;
	color: var(--stein-tinte);
}

.stein-autor {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px !important;
}

.stein-autor__initialen {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--stein-waldgruen);
	color: var(--stein-birke);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.04em;
}

.stein-autor__text {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.stein-autor__name {
	font-weight: 600;
	color: var(--stein-tinte);
	text-decoration: none;
}

.stein-autor__name:hover {
	color: var(--stein-waldgruen);
	text-decoration: underline;
}

.stein-autor__beruf {
	font-size: 15px;
	color: var(--stein-leise);
}

.stein-artikel {
	display: grid;
	gap: 32px 64px;
	padding-top: clamp(40px, 5vw, 72px);
	padding-bottom: var(--stein-abschnitt);
}

.stein-artikel > * {
	margin: 0 !important;
	min-width: 0;
}

@media (min-width: 900px) {
	.stein-artikel {
		grid-template-columns: minmax(200px, 260px) minmax(0, 720px);
		justify-content: center;
	}

	.stein-artikel__seite .stein-toc {
		position: sticky;
		top: 112px;
	}
}

.stein-toc__liste {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
	font-size: 15px;
	line-height: 1.4;
}

.stein-toc__liste li {
	counter-increment: toc;
	border-top: 1px solid var(--stein-linie);
}

.stein-toc__liste a {
	display: flex;
	gap: 10px;
	padding: 11px 0;
	color: var(--stein-text);
	text-decoration: none;
}

.stein-toc__liste a::before {
	content: counter(toc, decimal-leading-zero);
	flex: none;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.6;
	color: var(--stein-rinde);
}

.stein-toc__liste a:hover {
	color: var(--stein-waldgruen);
}

.stein-toc__klapp {
	display: none;
	border: 1px solid var(--stein-linie);
	border-radius: var(--stein-r-feld);
	background: var(--stein-weiss);
}

.stein-toc__klapp summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 18px;
	font-weight: 600;
	color: var(--stein-waldgruen);
	cursor: pointer;
	list-style: none;
}

.stein-toc__klapp summary::-webkit-details-marker {
	display: none;
}

.stein-toc__klapp summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 400;
}

.stein-toc__klapp[open] summary::after {
	content: "\2212";
}

.stein-toc__klapp nav {
	padding: 0 18px 8px;
}

.stein-toc__klapp .stein-toc__liste {
	margin-top: 0;
}

@media (max-width: 899px) {
	.stein-toc__fest {
		display: none;
	}

	.stein-toc__klapp {
		display: block;
	}
}

/* Beitragsinhalt */

.stein-artikel__inhalt .wp-block-post-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.stein-artikel__inhalt .wp-block-post-content > * + * {
	margin-top: 22px;
}

.stein-artikel__inhalt .wp-block-post-content > h2 {
	margin-top: clamp(48px, 5vw, 64px);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
}

.stein-artikel__inhalt .wp-block-post-content > h2 + * {
	margin-top: 18px;
}

.stein-artikel__inhalt .wp-block-post-content > h3 {
	margin-top: 36px;
}

.stein-artikel__inhalt :where(ul, ol):not(.stein-chips):not(.stein-haken) {
	padding-left: 1.3em;
}

.stein-artikel__inhalt li + li {
	margin-top: 8px;
}

.stein-artikel__inhalt ol > li::marker {
	font-weight: 600;
	color: var(--stein-rinde);
}

.stein-kasten {
	padding: clamp(24px, 3vw, 32px);
	border-radius: var(--stein-r-karte);
}

.stein-kasten > * {
	margin: 0;
}

.stein-kasten > * + * {
	margin-top: 12px;
}

.stein-kasten__titel {
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
}

.stein-kasten--kurz {
	background: var(--stein-waldgruen);
	color: #DDE5D2;
}

.stein-kasten--kurz .stein-kasten__titel {
	color: var(--stein-rinde-hell);
}

.stein-kasten--kurz ul {
	padding-left: 0 !important;
	list-style: none;
}

.stein-kasten--kurz li {
	position: relative;
	padding-left: 30px;
	color: var(--stein-birke);
}

.stein-kasten--kurz li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7D3B5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stein-kasten--tipp {
	background: var(--stein-sand);
}

.stein-kasten--tipp .stein-kasten__titel {
	color: var(--stein-rinde);
}

.stein-kasten--tipp p:not(.stein-kasten__titel) {
	color: var(--stein-tinte);
}

.stein-kasten--abschluss {
	background: var(--stein-tiefgruen);
	color: #DDE5D2;
	margin-top: 56px !important;
}

.stein-kasten--abschluss h3 {
	color: var(--stein-birke);
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.2;
}

.stein-kasten--abschluss .wp-block-buttons {
	margin-top: 20px;
}

.stein-kasten--abschluss .wp-block-button__link {
	background: var(--stein-birke);
	color: var(--stein-waldgruen);
}

.stein-kasten--abschluss .wp-block-button__link:hover {
	background: var(--stein-moos);
	color: var(--stein-tiefgruen);
}

.stein-kasten--abschluss .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--stein-birke);
	color: var(--stein-birke);
}

.stein-kasten--abschluss .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(251, 249, 244, 0.1);
	color: var(--stein-birke);
}

.stein-kasten--quellen {
	padding: 0;
	margin-top: 56px !important;
	padding-top: 24px;
	border-top: 1px solid var(--stein-linie);
	border-radius: 0;
	font-size: 15px;
	color: var(--stein-leise);
}

.stein-kasten--quellen h2 {
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stein-rinde);
	line-height: 1.4;
}

.stein-kasten--quellen ul {
	padding-left: 1.1em;
}

.stein-kasten--quellen li + li {
	margin-top: 6px;
}

.stein-kasten--quellen a {
	color: var(--stein-leise);
	overflow-wrap: anywhere;
}

/* Tabellen */

.stein-artikel .wp-block-table {
	margin-left: 0;
	margin-right: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--stein-linie);
	border-radius: 16px;
}

.stein-artikel .wp-block-table table {
	min-width: 540px;
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.stein-artikel .wp-block-table :where(th, td) {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--stein-linie);
	text-align: left;
	vertical-align: top;
}

.stein-artikel .wp-block-table tr:last-child td {
	border-bottom: 0;
}

.stein-artikel .wp-block-table thead {
	border: 0;
	background: var(--stein-sand);
}

.stein-artikel .wp-block-table th {
	font-weight: 600;
	color: var(--stein-tinte);
}

.stein-artikel .wp-block-table td + td,
.stein-artikel .wp-block-table th + th {
	border-left: 1px solid var(--stein-linie);
}

/* Häufige Fragen */

.wp-block-details {
	border-top: 1px solid var(--stein-linie);
	padding: 0;
}

.wp-block-details + .wp-block-details {
	margin-top: 0 !important;
}

.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--stein-linie);
}

.wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 14px 0;
	font-weight: 600;
	color: var(--stein-waldgruen);
	cursor: pointer;
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--stein-sand);
	font-size: 20px;
	font-weight: 400;
}

.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details > :not(summary) {
	margin: 0 0 18px;
}

/* Verwandte Beiträge */

.stein-verwandte__titel {
	margin: 0 0 32px;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
}

/* Rechtstexte */

.stein-rechtstext h2 {
	margin-top: 40px;
	font-size: var(--wp--preset--font-size--zwischentitel);
	line-height: 1.3;
	letter-spacing: 0;
}

.stein-rechtstext > :first-child {
	margin-top: 0;
}

/* Lange Links und Fachwörter dürfen umbrechen, sonst ragt die Seite auf dem Handy über den Rand. */
.stein-rechtstext {
	overflow-wrap: anywhere;
	hyphens: auto;
}

.stein-rechtstext h3 {
	margin-top: 28px;
	font-size: 19px;
	line-height: 1.35;
}

.stein-rechtstext li + li {
	margin-top: 8px;
}

.stein-quelle {
	margin-top: 48px !important;
	font-size: 14px;
	color: var(--wp--preset--color--text-leise);
}

/* Leistungen-Seite */

.stein-sprungmarken {
	margin-bottom: clamp(40px, 5vw, 72px) !important;
}

.stein-leistung {
	scroll-margin-top: 96px;
}

.stein-leistung + .stein-leistung {
	margin-top: clamp(56px, 7vw, 96px) !important;
}

@media (min-width: 782px) {
	.stein-leistung:nth-of-type(odd) {
		flex-direction: row-reverse;
	}
}

.stein-vorher-nachher {
	gap: 24px !important;
}

/* Kopfbereich */

.stein-kopf-bereich {
	position: sticky;
	top: 0;
	z-index: 50;
	/* Kein backdrop-filter: er würde das feste Overlay-Menü im Kopf einsperren. */
	background: var(--stein-birke);
	border-bottom: 1px solid var(--stein-linie);
}

.admin-bar .stein-kopf-bereich {
	top: var(--wp-admin--admin-bar--height, 0);
}

.stein-kopf {
	padding-top: 14px;
	padding-bottom: 14px;
}

.stein-kopf__zeile {
	gap: 24px;
}

.stein-logo {
	display: block;
	flex: none;
	line-height: 0;
}

.stein-logo img {
	display: block;
	width: auto;
	height: 60px;
}

.stein-logo--hell img {
	height: 64px;
}

.stein-nav {
	flex: 1;
}

.stein-nav .wp-block-navigation__container {
	gap: clamp(16px, 2.4vw, 36px);
}

.stein-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--stein-tinte);
	text-decoration: none;
}

.stein-nav .wp-block-navigation-item__content:hover {
	color: var(--stein-waldgruen);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1.5px;
}

.stein-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--stein-waldgruen);
}

.stein-kopf__aktion {
	flex: none;
	gap: 20px;
}

.stein-kopf__aktion > * {
	margin: 0 !important;
}

.stein-kopf__telefon {
	margin: 0;
	font-weight: 500;
	font-size: 17px;
	white-space: nowrap;
}

.stein-kopf__telefon a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--stein-waldgruen);
	text-decoration: none;
}

.stein-kopf__telefon a:hover {
	color: var(--stein-rinde);
}

.stein-kopf__button .wp-block-button__link {
	padding: 13px 22px;
	font-size: 16px;
	white-space: nowrap;
}

/* Menü-Button 48px rund */
.stein-nav .wp-block-navigation__responsive-container-open,
.stein-nav .wp-block-navigation__responsive-container-close {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
}

.stein-nav .wp-block-navigation__responsive-container-open {
	border: 1.5px solid var(--stein-linie);
	background: var(--stein-weiss);
	color: var(--stein-waldgruen);
}

.stein-nav .wp-block-navigation__responsive-container-close {
	top: 0 !important;
	right: 0 !important;
	background: var(--stein-sand);
	color: var(--stein-waldgruen);
}

/* Schließen-Knopf an derselben Stelle wie der Menü-Knopf (Kopf: 14px oben, Logo 60px hoch). */
.stein-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 20px var(--stein-rand) 40px !important;
}

.stein-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px !important;
}

.stein-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 4px;
	font-size: 24px;
	font-weight: 600;
}

.stein-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	min-height: 52px;
}

/* Zwischen 600 und 1100px reicht der Platz nicht für alle Menüpunkte: Overlay-Menü auch dort. */
@media (min-width: 600px) and (max-width: 1099px) {
	.stein-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

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

	.stein-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex;
	}

	.stein-nav {
		justify-content: flex-end;
		order: 3;
		flex: none;
	}

	.stein-kopf__aktion {
		margin-left: auto !important;
	}
}

@media (max-width: 1099px) {
	.stein-kopf__telefon {
		display: none;
	}
}

@media (max-width: 599px) {
	.stein-kopf__aktion {
		display: none !important;
	}

	.stein-nav {
		flex: none;
	}

	.stein-logo img {
		height: 52px;
	}
}

/* Fußbereich */

.stein-fuss {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: 32px;
	font-size: 16px;
}

.stein-fuss p,
.stein-fuss li {
	color: #DDE5D2;
}

.stein-fuss a {
	color: var(--stein-birke);
	text-decoration: none;
}

.stein-fuss a:hover {
	color: var(--stein-rinde-hell);
	text-decoration: underline;
}

.stein-fuss__raster {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.stein-fuss__raster > * {
	margin: 0 !important;
}

@media (max-width: 1000px) {
	.stein-fuss__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.stein-fuss__raster {
		grid-template-columns: 1fr;
	}
}

.stein-fuss__marke > * {
	margin: 0;
}

.stein-fuss__marke p {
	margin-top: 20px;
	max-width: 32ch;
}

.stein-fuss__spalte > * {
	margin: 0;
}

.stein-fuss__titel {
	margin-bottom: 14px !important;
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--stein-rinde-hell) !important;
}

.stein-fuss__liste,
.stein-fuss .wp-block-latest-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stein-fuss__liste li,
.stein-fuss .wp-block-latest-posts li {
	margin: 0;
}

.stein-fuss__liste a,
.stein-fuss .wp-block-latest-posts a,
.stein-fuss__spalte p a {
	display: inline-block;
	padding: 6px 0;
}

.stein-fuss__spalte p + p {
	margin-top: 12px;
}

.stein-fuss__mehr {
	margin-top: 8px !important;
	font-weight: 500;
}

.stein-fuss__unten {
	margin-top: 56px !important;
	padding-top: 24px;
	border-top: 1px solid rgba(199, 211, 181, 0.25);
	gap: 12px 24px;
	font-size: 15px;
}

.stein-fuss__unten p {
	margin: 0;
}

.stein-fuss__recht {
	gap: 4px 20px;
}

.stein-fuss__recht a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.stein-fuss__agentur a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: underline;
	text-decoration-color: var(--stein-rinde-hell);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.stein-fuss__agentur a strong {
	font-weight: 600;
}

/* Mobile Leiste unten */

.stein-mobilleiste {
	display: none;
}

@media (max-width: 781px) {
	body {
		padding-bottom: 76px;
	}

	.stein-mobilleiste {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--stein-birke);
		border-top: 1px solid var(--stein-linie);
		box-shadow: 0 -8px 24px rgba(11, 46, 32, 0.08);
	}

	.stein-mobilleiste a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 52px;
		border-radius: 999px;
		font-weight: 500;
		font-size: 16px;
		text-decoration: none;
	}

	.stein-mobilleiste a:first-child {
		background: var(--stein-waldgruen);
		color: var(--stein-birke);
	}

	.stein-mobilleiste a:last-child {
		border: 1.5px solid var(--stein-waldgruen);
		color: var(--stein-waldgruen);
	}

	.stein-mobilleiste .stein-icon {
		width: 20px;
		height: 20px;
	}
}

/* Spalten mobil */

@media (max-width: 781px) {
	.wp-block-columns.stein-zweispaltig,
	.wp-block-columns.stein-hero__spalten {
		gap: 40px !important;
	}

	.stein-hero__medien {
		order: 2;
	}

	.stein-hero .stein-foto {
		aspect-ratio: 4/3.4 !important;
	}

	.stein-einsatz-karte {
		left: 12px;
		bottom: 12px;
		padding: 12px 16px;
	}

	.stein-einsatz-karte p:not(.stein-dachzeile) {
		font-size: 15px;
	}

	.stein-foto__etikett {
		right: 10px;
		top: 10px;
		font-size: 12px;
	}
}

/* Editor */

.editor-styles-wrapper .stein-kopf-bereich {
	position: static;
}

.editor-styles-wrapper .stein-mobilleiste {
	display: none;
}

/* Fotos unter Text (Einsatzgebiet, Kontaktseite) */

.stein-gebiet-foto,
.stein-kontakt-foto {
	margin-top: clamp(24px, 3vw, 36px) !important;
	border-radius: var(--stein-r-bild);
}

/* Karte im Hero unten rechts: Dominik steht im Foto links, so bleibt er frei. */
.stein-hero .stein-einsatz-karte {
	left: auto;
	right: clamp(12px, 2vw, 24px);
}

@media (max-width: 781px) {
	.stein-hero .stein-einsatz-karte {
		left: auto;
		right: 12px;
	}
}

/* Einsatzgebiet: Karte unter dem Text, Foto rechts daneben */
#gebiet .stein-karte-gebiet {
	margin-top: clamp(24px, 3vw, 36px) !important;
}
