/*
 * Komponenten. Farben, Schriften und Maße kommen ausschließlich aus tokens.css
 * (semantische Variablen, keine Hex-Werte hier).
 * Reihenfolge: Basis → Kopf/Fuß → Buttons → Abschnitte → Bausteine → Sortiment → Formular → Anfrageliste.
 * Trennung nur über Abstand und Tonstufen, keine Linien, keine Schatten.
 */

/* ---------- Basis ---------- */
body.sb-theme,
.sb-theme #page,
.sb-theme .site-content {
	background: var(--sb-bg);
}
.sb-theme .ast-container {
	background: transparent;
}
body.sb-theme {
	--sb-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h21M16 1l6 6-6 6'/%3E%3C/svg%3E");
	color: var(--sb-fg);
	font-family: var(--sb-font-text);
	font-size: var(--sb-t-text);
	line-height: 1.6;
}
.sb-theme a {
	color: var(--sb-link);
}
.sb-theme a:hover {
	color: var(--sb-accent-hover);
}
.sb-theme :focus-visible {
	outline: 2px solid var(--sb-accent);
	outline-offset: 3px;
}
.sb-theme ::selection {
	background: var(--sb-accent);
	color: #fff;
}

body.sb-theme h1,
body.sb-theme h2,
body.sb-theme h3,
body.sb-theme h4 {
	font-family: var(--sb-font-headline);
	color: var(--sb-heading);
	font-weight: 600;
	letter-spacing: var(--sb-tracking-titel);
	line-height: 1.08;
	text-wrap: balance;
}
body.sb-theme h2 {
	font-size: var(--sb-t-titel);
	margin: 0 0 1.5rem;
}
body.sb-theme h3 {
	font-size: var(--sb-t-mittel);
	line-height: 1.2;
}

/* ---------- Kopf ---------- */
.sb-theme .main-header-bar,
.sb-theme .ast-primary-header-bar,
.sb-theme .ast-mobile-header-wrap .main-header-bar {
	background: var(--sb-bg);
	border-bottom: 0;
}
.sb-theme .ast-primary-header-bar,
.sb-theme .main-header-bar {
	min-height: 5rem;
}
.sb-theme .custom-logo-link img {
	height: 30px;
	width: auto;
	filter: var(--sb-logo-filter);
}
.sb-theme .site-title,
.sb-theme .site-description {
	display: none;
}
.sb-theme .main-header-menu .menu-link,
.sb-theme .ast-header-break-point .main-header-menu .menu-link {
	font-family: var(--sb-font-text);
	font-size: 1rem;
	font-weight: 500;
	color: var(--sb-header-fg);
}
.sb-theme .main-header-menu .menu-link:hover,
.sb-theme .main-header-menu .current-menu-item > .menu-link {
	color: var(--sb-link);
}
.sb-theme .ast-header-break-point .main-header-menu,
.sb-theme .ast-mobile-header-content {
	background: var(--sb-bg);
}
.sb-theme .menu-toggle .ast-mobile-svg,
.sb-theme .ast-mobile-menu-buttons svg {
	fill: var(--sb-header-fg);
}

/* Anfrage-Button im Hauptmenü */
.sb-theme .main-header-menu .sb-menu-cta {
	display: flex;
	align-items: center;
}
.sb-theme .main-header-menu .sb-menu-cta > .menu-link {
	background: var(--sb-accent);
	color: #fff;
	border-radius: var(--sb-radius);
	padding: 0.7rem 1.25rem;
	margin-left: 0.5rem;
	line-height: 1.2;
	height: auto;
}
.sb-theme .main-header-menu .sb-menu-cta > .menu-link:hover {
	background: var(--sb-accent-hover);
	color: #fff;
}
/* Telefon: nur im mobilen Menü */
.sb-theme .main-header-menu .sb-menu-tel {
	display: none;
}
@media (max-width: 921px) {
	body.sb-theme .main-header-menu .sb-menu-tel {
		display: block;
	}
	body.sb-theme .main-header-menu .menu-link {
		font-family: var(--sb-font-headline);
		font-size: 1.75rem;
		font-weight: 600;
		line-height: 1.2;
		padding: 0.85rem var(--sb-rand);
		min-height: 3.5rem;
		color: var(--sb-heading);
	}
	body.sb-theme .main-header-menu .sb-menu-cta {
		display: block;
		padding: 0.75rem var(--sb-rand) 0.25rem;
	}
		body.sb-theme .main-header-menu li.sb-menu-cta > a.menu-link {
			display: block;
			margin: 0;
			min-height: 3rem;
			padding: 0.8rem 1.25rem;
			font-family: var(--sb-font-text);
			font-size: 1rem;
			text-align: center;
		}
		/* weißer Text auf Kupfer in jedem Zustand; so spezifisch wie Astras mobile Menüfarben (.ast-builder-menu-mobile …) */
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta > .menu-link,
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta.current-menu-item > .menu-link,
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta:hover > .menu-link,
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta.focus > .menu-link {
			background: var(--sb-accent);
			color: #fff;
		}
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta:hover > .menu-link,
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta > .menu-link:hover,
		body.sb-theme .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.sb-menu-cta > .menu-link:focus-visible {
			background: var(--sb-accent-hover);
		}
	body.sb-theme .main-header-menu .sb-menu-tel .menu-link {
		font-family: var(--sb-font-text);
		font-size: 1rem;
		font-weight: 500;
		color: var(--sb-link);
	}
}
/* Menü bleibt einzeilig: engere Abstände zwischen 922 und 1200 px */
@media (min-width: 922px) and (max-width: 1200px) {
	.sb-theme .main-header-menu .menu-link {
		padding-inline: 0.6rem;
		font-size: 0.9375rem;
	}
	.sb-theme .main-header-menu .sb-menu-cta > .menu-link {
		margin-left: 0.2rem;
	}
}
/* Astras Scroll-nach-oben-Button schwebt über Inhalten */
.sb-theme #ast-scroll-top {
	display: none !important;
}

/* ---------- Fuß: der Name kehrt groß zurück ---------- */
.sb-fuss {
	background: var(--sb-footer-bg);
	color: var(--sb-footer-fg);
	padding-block: clamp(4rem, 9vw, 7rem) calc(2rem + var(--sb-leiste-hoehe, 0px));
}
.sb-fuss__innen {
	max-width: min(var(--sb-container), calc(100% - 2 * var(--sb-rand)));
	margin-inline: auto;
}
.sb-fuss__marke {
	display: block;
	width: 100%;
	max-width: 60rem;
	height: auto;
}
.sb-fuss__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 2rem 3rem;
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.sb-fuss p {
	margin: 0;
	line-height: 1.7;
	font-size: var(--sb-t-klein);
	color: var(--sb-footer-fg);
}
.sb-theme .sb-fuss a {
	color: var(--sb-dark-fg);
	text-decoration: none;
}
.sb-theme .sb-fuss a:hover {
	color: var(--sb-dark-link);
}
.sb-fuss p.sb-fuss__klein {
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
/* Mitgliedschaft: Logo der Edelbrand-Sommeliers OÖ mit Zeile daneben */
.sb-theme .sb-fuss a.sb-fuss__mitglied {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0;
	min-height: 44px;
	line-height: 1.4;
	font-size: var(--sb-t-klein);
}
.sb-fuss__mitglied img {
	flex: none;
	width: 6rem;
	height: 6rem;
	object-fit: contain;
}

/* ---------- Buttons ---------- */
.sb-theme .wp-block-button__link,
.sb-theme .sb-button {
	box-shadow: none; /* taste-skill-ignore: entfernt Astras Button-Schatten */
	background: var(--sb-accent);
	color: #fff;
	border-radius: var(--sb-radius);
	font-family: var(--sb-font-text);
	font-size: 1rem;
	font-weight: 500;
	padding: 0.95rem 1.8rem;
	min-height: 3rem;
	border: 0;
}
.sb-theme .wp-block-button__link:hover,
.sb-theme .sb-button:hover {
	background: var(--sb-accent-hover);
	color: #fff;
}
/* Zweite Handlung: Textlink mit Pfeil, keine Fläche. Selektoren so spezifisch wie Astras (:not(.has-text-color)). */
.sb-theme .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	background: none;
	color: var(--sb-link);
	border: 0;
	padding: 0.95rem 0.25rem;
	min-height: 3rem;
}
.sb-theme .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color)::after {
	content: "";
	display: inline-block;
	width: 1.15em;
	height: 0.75em;
	margin-left: 0.55em;
	background: currentColor;
	-webkit-mask: var(--sb-pfeil) center / contain no-repeat;
	mask: var(--sb-pfeil) center / contain no-repeat;
	transition: transform 180ms var(--ease-out, ease);
}
.sb-theme .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover {
	background: none;
	color: var(--sb-accent-hover);
}
.sb-theme .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover::after {
	transform: translateX(4px);
}
.sb-theme .sb-section--dunkel .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	background: none;
	color: var(--sb-dark-link);
}
.sb-theme .sb-section--dunkel .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover {
	background: none;
	color: var(--sb-dark-heading);
}
.sb-theme .wp-block-buttons {
	gap: 0.5rem 1.5rem;
	align-items: center;
	margin-top: 2rem;
}

/* ---------- Abschnitte (Gutenberg-Gruppen mit Zusatzklasse) ---------- */
.sb-theme .sb-section {
	padding-block: var(--sb-abstand-l);
	padding-inline: 0;
	margin-block: 0;
	background: var(--sb-bg);
}
/* Inhalt linksbündig im Container, auf großen Screens zentriert als Block */
.sb-theme .sb-section > * {
	max-width: min(var(--sb-container), calc(100% - 2 * var(--sb-rand)));
	margin-left: max(var(--sb-rand), calc((100% - var(--sb-container)) / 2)) !important;
	margin-right: auto !important;
}
.sb-theme .sb-section--papier {
	background: var(--sb-bg-alt);
}
.sb-theme .sb-section--dunkel {
	background: var(--sb-dark-bg);
	color: var(--sb-dark-fg);
}
.sb-theme .sb-section--dunkel h1,
.sb-theme .sb-section--dunkel h2,
.sb-theme .sb-section--dunkel h3 {
	color: var(--sb-dark-heading);
}
.sb-theme .sb-section--dunkel a:not(.wp-block-button__link) {
	color: var(--sb-dark-link);
}
/* aufeinanderfolgende gleiche Flächen: der Abstand wird geteilt statt verdoppelt */
.sb-theme .sb-section:not(.sb-section--dunkel):not(.sb-section--papier):has(+ .sb-section:not(.sb-section--dunkel):not(.sb-section--papier)) {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sb-theme .sb-section:not(.sb-section--dunkel):not(.sb-section--papier) + .sb-section:not(.sb-section--dunkel):not(.sb-section--papier) {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}
/* Fließtext: lesbare Zeilenlänge */
.sb-theme .sb-section > p:not(.sb-lead):not(.sb-hinweis):not(.sb-statement),
.sb-theme .sb-section > ul {
	max-width: min(var(--sb-spalte), calc(100% - 2 * var(--sb-rand)));
}
.sb-theme .sb-section > h2 + p,
.sb-theme .sb-section > h2 + .sb-lead {
	margin-top: 0;
}

/* Seitenkopf (Unterseiten): Überschrift, ein Satz */
.sb-theme .sb-section h1 {
	font-size: var(--sb-t-seite);
	line-height: 1.02;
	letter-spacing: var(--sb-tracking-display);
	margin: 0 0 1.5rem;
	max-width: 18ch;
}
.sb-theme .sb-section > .sb-lead,
.sb-theme .sb-lead {
	font-size: var(--sb-t-lead);
	line-height: 1.5;
	color: var(--sb-fg);
	max-width: min(40rem, calc(100% - 2 * var(--sb-rand)));
}
/* Aussage: groß gesetzt, aber ein Absatz (kein Überschrift-Tag), höchstens ~25 Wörter */
.sb-theme .sb-statement {
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-statement);
	line-height: 1.3;
	font-weight: 500;
	color: var(--sb-heading);
	max-width: min(40rem, calc(100% - 2 * var(--sb-rand)));
	text-wrap: balance;
}
.sb-theme .sb-section--dunkel .sb-statement {
	color: var(--sb-dark-heading);
}

/* ---------- Hero ---------- */
.sb-theme .sb-section.sb-hero {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(30rem, calc(100svh - 5rem), 58rem);
	padding-block: clamp(2.5rem, 7vw, 6rem);
	background-image: linear-gradient( /* taste-skill-ignore: neutraler Scrim unter Text auf Foto */ 90deg, rgba(var(--sb-dark-bg-rgb), 0.85) 0%, rgba(var(--sb-dark-bg-rgb), 0.55) 45%, rgba(var(--sb-dark-bg-rgb), 0) 80%), var(--sb-hero-bild);
	background-size: cover;
	background-position: var(--sb-hero-pos, center);
}
.sb-theme .sb-hero > * {
	max-width: min(52rem, calc(100% - 2 * var(--sb-rand)));
}
.sb-theme .sb-section.sb-hero h1 {
	font-size: var(--sb-t-display);
	line-height: 0.98;
	letter-spacing: var(--sb-tracking-display);
	max-width: 11ch;
	margin-bottom: 1.5rem;
}
.sb-theme .sb-section.sb-hero > .sb-lead {
	color: var(--sb-dark-fg);
	max-width: min(30rem, calc(100% - 2 * var(--sb-rand)));
}
.sb-theme .sb-hero .wp-block-buttons {
	margin-top: 2rem;
}
/* Telefon: Bild für sich, Text auf ruhiger Fläche darunter (nie Text auf dem Foto) */
@media (max-width: 700px) {
	.sb-theme .sb-section.sb-hero {
		display: block;
		min-height: 0;
		padding-block: 0 3rem;
		background-image: none;
		background-color: var(--sb-dark-bg);
	}
	.sb-theme .sb-hero::before {
		content: "";
		display: block;
		aspect-ratio: 4 / 3.4;
		background-image: var(--sb-hero-bild);
		background-size: cover;
		background-position: var(--sb-hero-pos-m, 40% center);
		margin-bottom: 2rem;
	}
}

/* ---------- Drei Einstiege (Startseite) ---------- */
.sb-einstiege {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.sb-einstiege__liste {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.sb-theme a.sb-einstieg {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.35rem 1.5rem;
	align-items: baseline;
	color: var(--sb-heading);
	text-decoration: none;
}
.sb-einstieg__name {
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-titel);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: var(--sb-tracking-titel);
}
.sb-einstieg__pfeil {
	width: clamp(1.6rem, 3.2vw, 2.6rem);
	height: clamp(1rem, 2vw, 1.6rem);
	background: var(--sb-link);
	-webkit-mask: var(--sb-pfeil) center / contain no-repeat;
	mask: var(--sb-pfeil) center / contain no-repeat;
	align-self: center;
	transition: transform 220ms var(--ease-out, ease);
}
.sb-einstieg__info {
	grid-column: 1 / -1;
	color: var(--sb-fg);
	font-size: var(--sb-t-text);
	max-width: 28rem;
}
.sb-theme a.sb-einstieg:hover .sb-einstieg__name,
.sb-theme a.sb-einstieg:focus-visible .sb-einstieg__name {
	color: var(--sb-link);
}
.sb-theme a.sb-einstieg:hover .sb-einstieg__pfeil,
.sb-theme a.sb-einstieg:focus-visible .sb-einstieg__pfeil {
	transform: translateX(8px);
}
.sb-einstiege__bilder {
	position: sticky;
	top: 2rem;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--sb-radius);
}
.sb-einstiege__bilder img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 500ms ease;
}
.sb-einstiege__bilder img:first-child {
	opacity: 1;
}
.sb-einstiege:has(.sb-einstieg:is(:hover, :focus-visible)) .sb-einstiege__bilder img:first-child {
	opacity: 0;
}
.sb-einstiege:has(.sb-einstieg:nth-child(1):is(:hover, :focus-visible)) .sb-einstiege__bilder img:nth-child(1),
.sb-einstiege:has(.sb-einstieg:nth-child(2):is(:hover, :focus-visible)) .sb-einstiege__bilder img:nth-child(2),
.sb-einstiege:has(.sb-einstieg:nth-child(3):is(:hover, :focus-visible)) .sb-einstiege__bilder img:nth-child(3) {
	opacity: 1;
}
.sb-einstieg__bildmobil {
	display: none;
}
@media (max-width: 800px) {
	.sb-einstiege {
		grid-template-columns: 1fr;
	}
	.sb-einstiege__bilder {
		display: none;
	}
	.sb-einstiege__liste {
		gap: 3rem;
	}
	.sb-theme a.sb-einstieg {
		grid-template-columns: 1fr auto;
	}
	.sb-einstieg__bildmobil {
		display: block;
		grid-column: 1 / -1;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		border-radius: var(--sb-radius);
		margin-bottom: 0.6rem;
	}
}

/* ---------- Handwerk: ein großes Bild, vier Schritte ---------- */
.sb-handwerk {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.sb-handwerk__bild {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--sb-radius);
}
.sb-handwerk__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sb-handwerk__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}
.sb-handwerk__liste li {
	margin: 0;
}
.sb-theme .sb-handwerk__liste h3 {
	margin: 0 0 0.3rem;
	font-size: var(--sb-t-mittel);
}
.sb-handwerk__liste p {
	margin: 0;
	max-width: 30rem;
}
@media (max-width: 800px) {
	.sb-handwerk {
		grid-template-columns: 1fr;
	}
	.sb-handwerk__bild {
		aspect-ratio: 4 / 3;
	}
}

/* ---------- Zweispalter (Josef): großes Bild, wenig Text ---------- */
.sb-zweispalt {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.sb-zweispalt .sb-bild {
	aspect-ratio: 4 / 3.4;
}
.sb-zweispalt h2 {
	margin-bottom: 1.25rem;
}
.sb-zweispalt p {
	font-size: var(--sb-t-lead);
	line-height: 1.5;
	margin: 0;
}
@media (max-width: 800px) {
	.sb-zweispalt {
		grid-template-columns: 1fr;
	}
}

/* ---------- Auszeichnungen ---------- */
.sb-jahre {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 3rem clamp(2rem, 5vw, 5rem);
	margin-top: 3rem;
}
.sb-theme .sb-jahr__zahl {
	margin: 0;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-display);
	line-height: 0.95;
	letter-spacing: var(--sb-tracking-display);
	font-weight: 600;
	color: var(--sb-dark-link);
}
.sb-theme .sb-jahr__text {
	margin: 0.9rem 0 0;
	max-width: 22rem;
	color: var(--sb-dark-fg);
}
/* vollständige Liste (Über uns): Jahr links, Prämierungen rechts */
.sb-ausz {
	margin: 2rem 0 0;
	display: grid;
	gap: 1.5rem;
}
.sb-ausz > div {
	display: grid;
	grid-template-columns: minmax(5.5rem, 9rem) 1fr;
	gap: 0.25rem 2rem;
}
.sb-ausz dt {
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.1;
	color: var(--sb-link);
}
.sb-ausz dd {
	margin: 0;
	max-width: 38rem;
}
@media (max-width: 600px) {
	.sb-ausz > div {
		grid-template-columns: 1fr;
	}
}

/* ---------- Infokasten: Auskunft zu einem Besuch (vollbreiter Papier-Abschnitt, keine Fläche im Abschnitt) ---------- */
.sb-infokasten {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 2rem clamp(2rem, 6vw, 5rem);
	align-items: center;
}
.sb-theme .sb-infokasten h2 {
	margin: 0 0 1rem;
	font-size: var(--sb-t-titel);
	line-height: 1.05;
}
.sb-infokasten p {
	margin: 0;
	max-width: 34rem;
}
.sb-infokasten__kontakt {
	display: grid;
	gap: 0.3rem;
	justify-items: start;
}
.sb-theme .sb-infokasten__kontakt a:not(.sb-button) {
	display: inline-block;
	padding-block: 0.25rem;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
	color: var(--sb-link);
}
.sb-theme .sb-infokasten__kontakt a:not(.sb-button):hover {
	color: var(--sb-accent-hover);
}
.sb-theme .sb-infokasten__kontakt a.sb-button {
	display: inline-block;
	margin-top: 1.25rem;
}
@media (max-width: 800px) {
	.sb-infokasten {
		grid-template-columns: 1fr;
	}
}

/* ---------- Kontakt: zwei ruhige Spalten ---------- */
.sb-theme .sb-karte {
	background: transparent;
	color: var(--sb-fg);
	padding: 0;
}
.sb-theme .sb-karte h2 {
	color: var(--sb-heading);
	margin-top: 0;
	font-size: var(--sb-t-mittel);
}
.sb-theme .sb-karte a {
	color: var(--sb-link);
}
.sb-theme .sb-section > .wp-block-columns {
	gap: 2rem clamp(2rem, 6vw, 6rem);
	margin-block: 2rem 0;
}

/* ---------- Raster (Angaben) ---------- */
.sb-raster {
	margin: 1.5rem 0;
	max-width: var(--sb-spalte);
}
.sb-raster > div {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 0.25rem 1.5rem;
	padding: 0.65rem 0;
}
.sb-raster dt {
	color: var(--sb-fg-muted);
	font-weight: 500;
}
.sb-raster dd {
	margin: 0;
	color: var(--sb-fg);
}
@media (max-width: 600px) {
	.sb-raster > div {
		grid-template-columns: 1fr;
	}
}

/* Angebote (Verkostung): je Format eine breite Zeile */
.sb-angebote {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	margin-top: 2.5rem;
}
.sb-angebot {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
	gap: 1rem clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.sb-theme .sb-angebot h3 {
	margin: 0;
	font-size: var(--sb-t-mittel);
}
.sb-angebot .sb-raster {
	margin: 0;
	max-width: none;
}
.sb-angebot .sb-raster > div {
	padding: 0.4rem 0;
}
@media (max-width: 800px) {
	.sb-angebot {
		grid-template-columns: 1fr;
	}
}

/* ---------- Bilder ---------- */
.sb-bild {
	margin: 0;
}
.sb-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--sb-radius);
}
.sb-bildreihe {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}
.sb-bildreihe .sb-bild--hoch {
	aspect-ratio: 3 / 4;
}
.sb-bildreihe .sb-bild--quer,
.sb-bildreihe .sb-bild:not(.sb-bild--hoch):not(.sb-bild--quer) {
	aspect-ratio: 4 / 3;
}
.sb-banner {
	margin-top: 3rem !important;
}
.sb-banner img {
	aspect-ratio: 21 / 9;
}
.sb-banner--schmal img {
	aspect-ratio: 3 / 1;
}
@media (max-width: 600px) {
	.sb-banner img {
		aspect-ratio: 4 / 3;
	}
	.sb-banner--schmal img {
		aspect-ratio: 16 / 9;
	}
}

/* Schritte (Geschenke: Ablauf) */
.sb-schritte {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 3rem);
	margin-top: 2rem;
}
.sb-schritt .sb-bild {
	aspect-ratio: 4 / 3;
	margin-bottom: 1rem;
}
.sb-theme .sb-schritt h3 {
	margin: 0 0 0.3rem;
}
.sb-theme .sb-schritt p {
	margin: 0;
}

/* ---------- Sortiment ---------- */
.sb-anker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.5rem 3rem;
}
.sb-theme a.sb-anker__punkt {
	display: grid;
	gap: 0.2rem;
	color: var(--sb-heading);
	text-decoration: none;
}
.sb-anker__name {
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-titel);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: var(--sb-tracking-titel);
}
.sb-anker__info {
	color: var(--sb-fg);
}
.sb-theme a.sb-anker__punkt:hover .sb-anker__name {
	color: var(--sb-link);
}
.sb-theme .sb-section.sb-sprung {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.sb-liste {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
.sb-zeile {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem 2.5rem;
	align-items: start;
	margin: 0;
}
.sb-zeile:has(.sb-zeile__bild) {
	grid-template-columns: 88px 1fr auto;
}
.sb-zeile__bild img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: var(--sb-radius);
}
.sb-theme .sb-zeile__name {
	font-size: var(--sb-t-mittel);
	line-height: 1.15;
	margin: 0 0 0.35rem;
}
.sb-theme .sb-zeile__name a {
	color: var(--sb-heading);
	text-decoration: none;
}
.sb-theme .sb-zeile__name a:hover {
	color: var(--sb-link);
}
.sb-zeile__hinweis {
	display: inline-block;
	margin-left: 0.75rem;
	font-family: var(--sb-font-text);
	font-size: var(--sb-t-klein);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--sb-link);
}
.sb-theme .sb-zeile__text {
	margin: 0;
	max-width: 40rem;
	line-height: 1.5;
}
.sb-theme .sb-zeile__preis {
	margin: 0;
	text-align: right;
	white-space: nowrap;
}
.sb-zeile__betrag {
	display: block;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.1;
	color: var(--sb-link);
}
.sb-zeile__gebinde {
	font-size: var(--sb-t-klein);
	color: var(--sb-fg);
}
/* Kurzform (Startseite): Name und Preis, keine Schalter */
.sb-liste--kurz {
	margin-top: 2.5rem;
}
.sb-liste--kurz .sb-zeile__text {
	display: none;
}
@media (max-width: 600px) {
	.sb-zeile {
		grid-template-columns: 1fr;
	}
	.sb-zeile:has(.sb-zeile__bild) {
		grid-template-columns: 56px 1fr;
	}
	.sb-zeile__preis {
		text-align: left;
		grid-column: 1 / -1;
	}
	.sb-zeile__betrag {
		display: inline;
		margin-right: 0.5rem;
	}
}

/* ---------- Anfrageformular ---------- */
.sb-form {
	display: grid;
	gap: 1.25rem;
	max-width: 40rem;
}
.sb-form label {
	display: grid;
	gap: 0.4rem;
	font-size: var(--sb-t-klein);
	font-weight: 500;
	color: var(--sb-fg);
}
.sb-form input,
.sb-form textarea,
.sb-form select {
	font-family: var(--sb-font-text);
	font-size: 1rem;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: var(--sb-input-bg);
	color: var(--sb-heading);
	box-shadow: none; /* taste-skill-ignore: entfernt Astras Feld-Schatten */
}
.sb-form input:focus,
.sb-form textarea:focus,
.sb-form select:focus {
	outline: 2px solid var(--sb-accent);
	outline-offset: 1px;
}
.sb-form__hp {
	position: absolute;
	left: -9999px;
}
.sb-form__check {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.75rem;
}
.sb-form__check input {
	min-height: 0;
	margin-top: 0.3rem;
}
.sb-meldung {
	padding: 1rem 1.25rem;
	border-radius: var(--sb-radius);
	background: var(--sb-bg-alt);
	color: var(--sb-heading);
	margin-bottom: 1rem;
	max-width: 40rem;
}
.sb-meldung--ok {
	background: var(--sb-ok-bg);
}
.sb-meldung--fehler {
	background: var(--sb-err-bg);
}
.sb-meldung:focus {
	outline: none; /* Ziel des Sprungs, kein Bedienelement */
}
/* Anker #anfrage umschließt Meldung und Formular; nach dem Sprung bleibt Luft über der Meldung */
.sb-anfrage {
	scroll-margin-top: 2rem;
}

/* ---------- Anfrageliste ---------- */
.sb-zeile__rechts {
	display: grid;
	justify-items: end;
	gap: 0.6rem;
}
.sb-wahl {
	display: none;
	cursor: pointer;
	box-shadow: none; /* taste-skill-ignore: entfernt Astras Button-Schatten */
	font-family: var(--sb-font-text);
	font-size: var(--sb-t-klein);
	font-weight: 500;
	padding: 0.5rem 1rem;
	min-height: 44px;
	border: 0;
	border-radius: var(--sb-radius);
	background: var(--sb-bg-alt);
	color: var(--sb-link);
}
.sb-js .sb-wahl {
	display: inline-block;
}
.sb-wahl:hover,
.sb-wahl[aria-pressed="true"] {
	background: var(--sb-accent);
	color: #fff;
}
.sb-wahl .sb-wahl__an,
.sb-wahl[aria-pressed="true"] .sb-wahl__aus {
	display: none;
}
.sb-wahl[aria-pressed="true"] .sb-wahl__an {
	display: inline;
}
.sb-wahl:focus-visible,
.sb-leiste button:focus-visible,
.sb-auswahl__weg:focus-visible {
	outline: 2px solid var(--sb-accent);
	outline-offset: 2px;
}
.sb-section--papier .sb-wahl {
	background: var(--sb-bg);
}
.sb-section--papier .sb-wahl:hover,
.sb-section--papier .sb-wahl[aria-pressed="true"] {
	background: var(--sb-accent);
}
.sb-wahl--gross {
	font-size: 1rem;
	padding: 0.7rem 1.4rem;
}

/* Leiste unten: erscheint, sobald etwas ausgewählt ist */
.sb-leiste {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	padding: 0.9rem max(var(--sb-rand), calc((100% - var(--sb-container)) / 2));
	background: var(--sb-dark-bg);
	color: var(--sb-dark-heading);
}
.sb-leiste[hidden] {
	display: none;
}
.sb-leiste__text {
	margin: 0;
	margin-right: auto;
	font-weight: 500;
}
.sb-leiste__leeren {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0.6rem 0.4rem;
	min-height: 44px;
	color: var(--sb-dark-link);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.sb-theme .sb-leiste__senden {
	background: var(--sb-accent);
	color: #fff;
	text-decoration: none;
}

/* Auswahl im Formular */
.sb-auswahl {
	background: var(--sb-bg-alt);
	border-radius: var(--sb-radius);
	padding: 1rem 1.25rem;
}
.sb-auswahl[hidden] {
	display: none;
}
.sb-auswahl__titel {
	margin: 0 0 0.5rem;
	font-weight: 600;
	color: var(--sb-heading);
}
.sb-auswahl__liste {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sb-auswahl__liste li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.3rem 0;
}
.sb-auswahl__weg {
	cursor: pointer;
	flex: none;
	background: none;
	border: 0;
	min-height: 44px;
	padding: 0 0.25rem;
	color: var(--sb-link);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
@media (max-width: 600px) {
	.sb-zeile__rechts {
		grid-column: 1 / -1;
		grid-template-columns: 1fr auto;
		align-items: center;
		justify-items: stretch;
	}
	.sb-zeile__rechts .sb-zeile__preis {
		grid-column: 1;
	}
	.sb-wahl {
		justify-self: end;
	}
}

/* ---------- Offene Angaben (Platzhalter, nur mit SB_PLATZHALTER sichtbar) ---------- */
.sb-theme .sb-offen {
	background: color-mix(in srgb, var(--sb-accent) 14%, transparent);
	color: var(--sb-link);
	border-radius: 2px;
	padding: 0.1em 0.55em;
	font-size: 0.9em;
}
.sb-theme div.sb-offen {
	display: block;
	padding: 1rem 1.25rem;
	margin-top: 1.5rem;
	font-size: 1rem;
}
.sb-theme .sb-raster > div.sb-offen {
	display: grid;
	background: none;
	padding: 0.65rem 0;
	margin: 0;
	font-size: inherit;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 0.25rem 1.5rem;
}
.sb-theme .sb-raster > div.sb-offen dd {
	color: var(--sb-link);
}
.sb-theme .sb-section > .sb-hinweis {
	background: var(--sb-bg-alt);
	border-radius: var(--sb-radius);
	padding: 0.8rem 1rem;
	font-size: var(--sb-t-klein);
}

@media (max-width: 600px) {
	.sb-theme .sb-section > .sb-lead {
		font-size: 1.125rem;
	}
}

/* Abstände für Bausteine, die direkt auf eine Überschrift oder einen Absatz folgen */
.sb-theme .sb-section > .sb-angebote {
	margin-top: 2.5rem;
}
.sb-zweispalt--text p {
	font-size: var(--sb-t-text);
	line-height: 1.6;
	margin-bottom: 1em;
}

/* Listen: etwas breiter als der Fließtext; Kurzform (Startseite) in zwei Spalten */
.sb-theme .sb-section > ul.sb-liste {
	max-width: min(var(--sb-container), calc(100% - 2 * var(--sb-rand)));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
	gap: clamp(2rem, 3.5vw, 3rem) clamp(2.5rem, 6vw, 6rem);
}
.sb-theme .sb-section > ul.sb-liste--kurz {
	max-width: min(var(--sb-container), calc(100% - 2 * var(--sb-rand)));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
	gap: 2.5rem clamp(2rem, 6vw, 6rem);
}

.sb-theme .sb-section > .wp-block-buttons + .wp-block-columns {
	margin-top: clamp(3.5rem, 7vw, 5rem);
}

/* Browser-Oberflächen: Textmarke, Eingabe, Scrollleiste, Platzhalter aus der Palette */
.sb-theme {
	accent-color: var(--sb-accent);
	caret-color: var(--sb-accent);
	scrollbar-color: var(--sb-accent) var(--sb-bg-alt);
}
.sb-form ::placeholder {
	color: var(--sb-fg-muted);
	opacity: 1;
}
.sb-theme p,
.sb-theme li {
	text-wrap: pretty;
}
.sb-theme a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}


/* ======================================================================
 * Unterseiten (Runde 3): ein Seitenkopf, danach je Seite ein eigener Aufbau.
 * Gleiche Grammatik wie die Startseite: Foto mit ruhigem Verlauf, große Zilla-Titel,
 * Pfeil-Zeilen, dunkle Flächen für Zahlen. Trennung nur über Abstand und Tonstufen.
 * ====================================================================== */

/* Seitenkopf: kompakter Hero (Foto, Titel unten links) */
.sb-theme .sb-section.sb-hero.sb-hero--seite {
	min-height: clamp(26rem, 62svh, 40rem);
}
.sb-theme .sb-section.sb-hero--seite h1 {
	font-size: var(--sb-t-seite);
	line-height: 1;
	max-width: 14ch;
	margin-bottom: 1.25rem;
}
.sb-theme .sb-section.sb-hero--lang h1 {
	font-size: var(--sb-t-titel);
	line-height: 1.04;
	max-width: 21ch;
}
.sb-theme .sb-section.sb-hero--seite > .sb-lead {
	max-width: min(34rem, calc(100% - 2 * var(--sb-rand)));
}

/* Einleitung: eine große Aussage, daneben die Kapitel der Seite */
.sb-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
}
.sb-theme .sb-intro .sb-statement {
	font-size: var(--sb-t-titel);
	line-height: 1.12;
	letter-spacing: var(--sb-tracking-titel);
	max-width: 20ch;
	margin: 0;
}
.sb-kapitel {
	display: grid;
	gap: 0;
}
.sb-theme .sb-kapitel a {
	display: grid;
	grid-template-columns: 2.25rem 1fr auto;
	align-items: baseline;
	gap: 0.5rem;
	min-height: 3rem;
	padding-block: 0.55rem;
	color: var(--sb-heading);
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	transition: color var(--t-hover, 180ms) ease;
}
.sb-kapitel a > span:first-child {
	font-family: var(--sb-font-text);
	font-size: var(--sb-t-klein);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: var(--sb-link);
}
.sb-kapitel a::after {
	content: "";
	width: 1.4rem;
	height: 0.9rem;
	align-self: center;
	background: currentColor;
	-webkit-mask: var(--sb-pfeil) center / contain no-repeat;
	mask: var(--sb-pfeil) center / contain no-repeat;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 180ms ease, transform 220ms var(--ease-out, ease);
}
.sb-theme .sb-kapitel a:hover,
.sb-theme .sb-kapitel a:focus-visible {
	color: var(--sb-link);
}
.sb-kapitel a:hover::after,
.sb-kapitel a:focus-visible::after {
	opacity: 1;
	transform: none;
}
@media (hover: none) {
	.sb-kapitel a::after { opacity: 1; transform: none; }
}
.sb-section[id], .sb-anker-ziel { scroll-margin-top: 1rem; }

/* Porträt: großes Bild, Text am unteren Rand */
.sb-portrait {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
}
.sb-portrait .sb-bild {
	aspect-ratio: 4 / 3.3;
}
.sb-portrait__text > * {
	max-width: 26rem;
}
.sb-portrait__text h2 { margin-bottom: 1.25rem; }
.sb-portrait__text p {
	margin: 0;
	font-size: var(--sb-t-lead);
	line-height: 1.5;
}

/* Breites Bild über dem Raster */
.sb-band {
	margin: clamp(1.5rem, 4vw, 3rem) 0 0;
}
.sb-band img { aspect-ratio: 21 / 9; }

/* Nummern: große Ziffer, Titel, ein Satz (Herstellung, Ablauf) */
.sb-nummern {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
	counter-reset: nr;
}
.sb-nummer .sb-bild {
	aspect-ratio: 4 / 3;
	margin-bottom: 1.25rem;
}
.sb-theme .sb-nummer__zahl {
	margin: 0 0 0.75rem;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-display);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: var(--sb-tracking-display);
	font-variant-numeric: lining-nums;
	color: var(--sb-link);
}
.sb-theme .sb-section--dunkel .sb-nummer__zahl { color: var(--sb-dark-link); }
.sb-theme .sb-nummer h3 { margin: 0 0 0.4rem; }
.sb-nummer p:not(.sb-nummer__zahl) { margin: 0; max-width: 22rem; }
.sb-theme .sb-section--dunkel .sb-nummer p:not(.sb-nummer__zahl) { color: var(--sb-dark-fg); }

/* Herkunft: Text und eine Bildgruppe, die nicht gleich hoch ist */
.sb-herkunft {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.sb-herkunft__text > * { max-width: 28rem; }
.sb-herkunft__text h2 { margin-bottom: 1.5rem; }
.sb-herkunft__text p { margin: 0 0 1rem; }
.sb-mosaik {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 0.75rem;
}
.sb-mosaik .sb-bild:first-child { grid-row: 1 / 3; }
.sb-mosaik .sb-bild:not(:first-child) { aspect-ratio: 4 / 3; }

/* Zwei Spalten: links bleibt der Titel stehen, rechts läuft die Liste (Auszeichnungen, Sortiment) */
.sb-stand {
	display: grid;
	grid-template-columns: minmax(16rem, 1fr) minmax(0, 2fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.sb-stand__kopf {
	position: sticky;
	top: 2rem;
}
body.sb-theme .sb-stand__kopf h2 {
	margin-bottom: 1rem;
	font-size: clamp(1.4rem, 2.1vw, 2.2rem);
	overflow-wrap: normal;
	hyphens: manual; /* kein „EDELB-RÄNDE“ */
}
.sb-stand__kopf p { margin: 0; max-width: 20rem; }
.sb-stand__kopf .sb-bild {
	margin-top: 1.75rem;
	aspect-ratio: 4 / 5;
}
.sb-stand .sb-liste { margin-top: 0; }
.sb-stand .sb-ausz { margin-top: 0; gap: clamp(1.5rem, 3vw, 2.25rem); }
.sb-stand .sb-ausz > div {
	grid-template-columns: minmax(6.5rem, 9rem) 1fr;
}
.sb-stand .sb-ausz dt {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	white-space: nowrap;
	font-variant-numeric: lining-nums;
	line-height: 1;
	letter-spacing: var(--sb-tracking-titel);
}
.sb-stand .sb-ausz dd span { display: block; }
.sb-stand .sb-ausz dd span + span { margin-top: 0.35rem; }

/* Weiterführende Zeilen: wie die Einstiege der Startseite, ohne Bild */
.sb-weiter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
}
.sb-weiter .sb-einstieg__name { font-size: var(--sb-t-mittel); }

/* Besuch und Kontakt */
.sb-kontakt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.sb-kontakt__daten {
	display: grid;
	gap: clamp(1.75rem, 3vw, 2.5rem);
	position: sticky;
	top: 2rem;
}
.sb-theme .sb-kontakt__daten h2 {
	margin: 0 0 0.5rem;
	font-size: var(--sb-t-mittel);
}
.sb-kontakt__daten p { margin: 0 0 0.6rem; }
.sb-theme .sb-kontakt__formular h2 { font-size: var(--sb-t-titel); }
.sb-kontakt__formular > p { max-width: 30rem; }
.sb-kontakt__formular .sb-form { max-width: 36rem; }

/* Weiter-Zeilen: gleiche Zeilenhöhe, Text oben; auf dunklem Grund lesbar */
.sb-theme .sb-weiter a.sb-einstieg { align-content: start; }
.sb-theme .sb-section--dunkel .sb-einstieg__name { color: var(--sb-dark-heading); }
.sb-theme .sb-section--dunkel .sb-einstieg__info { color: var(--sb-dark-fg); }
.sb-theme .sb-section--dunkel .sb-einstieg__pfeil { background: var(--sb-dark-link); }
.sb-theme .sb-section--dunkel a.sb-einstieg:hover .sb-einstieg__name,
.sb-theme .sb-section--dunkel a.sb-einstieg:focus-visible .sb-einstieg__name { color: var(--sb-dark-link); }

/* Sprungleiste im Sortiment: wie die Kapitel, mit Pfeil */
.sb-theme a.sb-anker__punkt { position: relative; padding-right: 2.5rem; }
.sb-anker__punkt::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0.6rem;
	width: 1.5rem;
	height: 0.9rem;
	background: var(--sb-link);
	-webkit-mask: var(--sb-pfeil) center / contain no-repeat;
	mask: var(--sb-pfeil) center / contain no-repeat;
	transform: rotate(90deg);
	transition: transform 220ms var(--ease-out, ease);
}
.sb-theme a.sb-anker__punkt:hover::after,
.sb-theme a.sb-anker__punkt:focus-visible::after { transform: rotate(90deg) translateX(4px); }

/* Frühere Auszeichnungen: eingeklappt, damit die Liste nicht als Wand liest */
.sb-frueher { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.sb-frueher > summary {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	cursor: pointer;
	font-weight: 500;
	color: var(--sb-link);
}
.sb-frueher > summary:hover { color: var(--sb-accent-hover); }
.sb-frueher > summary::after { content: "+"; margin-left: 0.6rem; font-size: 1.4em; line-height: 1; }
.sb-frueher[open] > summary::after { content: "\2212"; }
.sb-frueher > summary::-webkit-details-marker { display: none; }
.sb-frueher[open] > summary { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* Drei Wege (Besuch): große nummerierte Zeilen, je ein Foto, abwechselnd links und rechts */
.sb-wege {
	display: grid;
	gap: clamp(3.5rem, 8vw, 6.5rem);
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.sb-weg {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.sb-weg:nth-child(even) .sb-bild { order: 2; }
.sb-weg .sb-bild { aspect-ratio: 4 / 3; }
.sb-weg__text > * { max-width: 28rem; }
.sb-theme .sb-weg__zahl {
	margin: 0 0 0.75rem;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-display);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: var(--sb-tracking-display);
	font-variant-numeric: lining-nums;
	color: var(--sb-link);
}
.sb-theme .sb-weg h2 {
	margin: 0 0 0.75rem;
	font-size: var(--sb-t-mittel);
	line-height: 1.2;
	letter-spacing: var(--sb-tracking-titel);
}
.sb-weg__text p:not(.sb-weg__zahl) { margin: 0 0 1rem; }
.sb-weg__text .wp-block-buttons { margin-top: 0.5rem; }
.sb-weg .sb-offen { margin-top: 1rem; }

/* Ruhige Punkte (Was dazugehört) */
.sb-punkte {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}
.sb-theme .sb-punkte li {
	margin: 0 0 0.5rem;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.2;
	color: var(--sb-heading);
}

/* Karte (Anfahrt): Google-Karte direkt im Rahmen; das Cookie-Plugin blockiert sie bis zur Einwilligung */
.sb-kartenfeld {
	aspect-ratio: 16 / 10;
	min-height: 18rem;
	background: var(--sb-bg-alt);
	border-radius: var(--sb-radius);
	overflow: hidden;
}
.sb-kartenfeld--nur-adresse {
	aspect-ratio: auto;
	min-height: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
}
.sb-kartenfeld p { margin: 0; }
.sb-kartenfeld__adresse {
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-mittel);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sb-heading);
}
.sb-kartenfeld__rahmen {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.sb-theme .sb-kartenlink { margin: 0.75rem 0 0; }
.sb-theme .sb-kartenlink a { display: inline-block; padding-block: 0.5rem; }
@media (max-width: 600px) {
	.sb-kartenfeld { aspect-ratio: auto; height: 24rem; }
	.sb-kartenfeld--nur-adresse { height: auto; }
}

/* Handy */
@media (max-width: 800px) {
	.sb-intro,
	.sb-portrait,
	.sb-herkunft,
	.sb-stand,
	.sb-weg,
	.sb-kontakt {
		grid-template-columns: 1fr;
	}
	.sb-weg:nth-child(even) .sb-bild { order: 0; }
	.sb-intro { align-items: start; }
	.sb-stand__kopf,
	.sb-kontakt__daten { position: static; }
	.sb-stand__kopf .sb-bild { aspect-ratio: 16 / 9; }
	.sb-band img { aspect-ratio: 4 / 3; }
	.sb-stand .sb-ausz > div { grid-template-columns: 1fr; }
	.sb-mosaik { grid-template-columns: 1fr 1fr; }
	.sb-mosaik .sb-bild:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}

/* Zielgrößen (WCAG 2.2, 2.5.8): Links in Fuß und Kontaktdaten und das Häkchen im Formular nicht unter 24 px */
.sb-theme .sb-fuss a,
.sb-theme .sb-kontakt__daten p a,
.sb-theme .sb-stand a:not(.sb-button) {
	display: inline-block;
	padding-block: 0.4rem;
}
.sb-form__check input {
	width: 1.5rem;
	height: 1.5rem;
	min-height: 0;
	margin-top: 0;
	accent-color: var(--sb-accent);
}

/* ======================================================================
 * Runde 4: Seitenkopf ohne Foto (404, Rechtstexte, Produktseite), Lesespalte, Produktangaben.
 * ====================================================================== */

/* Seitenkopf ohne Foto: Titel-Stufe, ein Satz, auf Papier */
.sb-theme .sb-section.sb-seitenkopf {
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
}
.sb-theme .sb-section.sb-seitenkopf h1 {
	font-size: var(--sb-t-titel);
	line-height: 1.04;
	max-width: 21ch;
	margin: 0 0 1.25rem;
	overflow-wrap: break-word;
	hyphens: auto;
}
.sb-theme .sb-section.sb-seitenkopf > :last-child {
	margin-bottom: 0;
}
.sb-seitenkopf__vor {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0 0 1rem;
	font-weight: 500;
	color: var(--sb-link);
}
.sb-theme .sb-seitenkopf__vor a {
	display: inline-block;
	padding-block: 0.4rem;
}
.sb-theme .sb-section--papier .sb-hinweis {
	background: var(--sb-bg);
}
.sb-theme .sb-section.sb-seitenkopf > .sb-hinweis {
	width: fit-content;
	max-width: min(var(--sb-spalte), calc(100% - 2 * var(--sb-rand)));
	margin-top: 1.5rem;
}
.sb-404__start {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.sb-theme .sb-404__start a {
	display: inline-block;
	padding-block: 0.7rem;
}

/* Rechtstexte (Impressum, Datenschutz): Titel links, Text in Lesespalte rechts */
.sb-recht {
	display: grid;
	grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr);
	column-gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.sb-theme .sb-recht > h2 {
	grid-column: 1;
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	font-size: var(--sb-t-mittel);
	line-height: 1.2;
	overflow-wrap: break-word;
	hyphens: auto;
}
.sb-theme .sb-recht > p {
	grid-column: 2;
	max-width: var(--sb-spalte);
	margin: 0 0 1rem;
}
.sb-theme .sb-recht > h2 + p {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.sb-theme .sb-recht > h2:first-child,
.sb-theme .sb-recht > h2:first-child + p {
	margin-top: 0;
}
@media (max-width: 800px) {
	.sb-recht {
		grid-template-columns: 1fr;
	}
	.sb-theme .sb-recht > h2,
	.sb-theme .sb-recht > p {
		grid-column: 1;
	}
	.sb-theme .sb-recht > h2 {
		margin: 2.5rem 0 0.75rem;
	}
	.sb-theme .sb-recht > h2 + p {
		margin-top: 0;
	}
	.sb-theme .sb-recht > h2:first-child {
		margin-top: 0;
	}
}

/* Produktseite: Angaben als ruhige Zeilen links, Preis und Vormerken rechts */
.sb-produkt__innen {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.sb-produkt__angaben {
	max-width: var(--sb-spalte);
}
.sb-theme .sb-produkt__angaben h2 {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0.75rem;
	font-size: var(--sb-t-mittel);
	line-height: 1.2;
}
.sb-produkt__angaben > :first-child {
	margin-top: 0;
}
.sb-fakten {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sb-fakten > div,
.sb-fakten > li {
	display: grid;
	grid-template-columns: minmax(8rem, 11rem) 1fr;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0.85rem 0;
}
.sb-fakten > li {
	grid-template-columns: 1fr;
	padding: 0.5rem 0;
}
.sb-fakten dt {
	color: var(--sb-fg-muted);
	font-weight: 500;
}
.sb-fakten dd {
	margin: 0;
	color: var(--sb-fg);
}
.sb-produkt__preisblock {
	position: sticky;
	top: 2rem;
}
.sb-produkt__preis {
	margin: 0 0 1.5rem;
}
.sb-produkt__betrag {
	display: block;
	font-family: var(--sb-font-headline);
	font-size: var(--sb-t-titel);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: var(--sb-tracking-titel);
	color: var(--sb-link);
}
.sb-produkt__zusatz {
	display: block;
	margin-top: 0.35rem;
	color: var(--sb-fg);
}
.sb-theme .sb-wahl.sb-wahl--primaer {
	font-size: 1rem;
	min-height: 3rem;
	padding: 0.95rem 1.8rem;
	background: var(--sb-accent);
	color: #fff;
}
.sb-theme .sb-wahl.sb-wahl--primaer:hover {
	background: var(--sb-accent-hover);
}
.sb-theme .sb-wahl.sb-wahl--primaer[aria-pressed="true"] {
	background: var(--sb-heading);
}
.sb-produkt__zurueck {
	margin: 1.25rem 0 0;
}
.sb-theme .sb-produkt__zurueck a {
	display: inline-block;
	padding-block: 0.7rem;
}
.sb-theme .sb-produkt__innen + .sb-produkt__pflicht {
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	max-width: 40rem;
	font-size: var(--sb-t-klein);
	color: var(--sb-fg-muted);
}
@media (max-width: 800px) {
	.sb-produkt__innen {
		grid-template-columns: 1fr;
	}
	.sb-produkt__preisblock {
		position: static;
		order: -1;
	}
}

/* ======================================================================
 * Cookie-Plugin (Complianz): Banner, Einwilligung verwalten und blockierter Inhalt in der Markensprache.
 * Farben und Radius stehen zusätzlich im Banner selbst (Einstellungen); hier Schrift, Fläche und Fokus.
 * ====================================================================== */
.sb-theme .cmplz-cookiebanner {
	font-family: var(--sb-font-text);
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none; /* taste-skill-ignore: entfernt den Standardschatten des Cookie-Plugins */
	border-radius: var(--sb-radius);
}
.sb-theme .cmplz-cookiebanner .cmplz-title,
.sb-theme .cmplz-cookiebanner .cmplz-category-title {
	font-family: var(--sb-font-headline);
	font-weight: 600;
	color: var(--sb-heading);
}
.sb-theme .cmplz-cookiebanner .cmplz-title {
	font-size: 1.375rem;
	line-height: 1.2;
	text-align: left;
}
.sb-theme .cmplz-cookiebanner .cmplz-message,
.sb-theme .cmplz-cookiebanner .cmplz-description {
	font-size: 1rem;
	color: var(--sb-fg);
}
.sb-theme .cmplz-cookiebanner a {
	color: var(--sb-link);
	text-underline-offset: 0.2em;
}
.sb-theme .cmplz-cookiebanner .cmplz-btn {
	font-family: var(--sb-font-text);
	font-size: 1rem;
	font-weight: 500;
	min-height: 3rem;
	border-radius: var(--sb-radius);
	box-shadow: none; /* taste-skill-ignore: entfernt den Standardschatten des Cookie-Plugins */
}
.sb-theme .cmplz-cookiebanner .cmplz-btn:hover {
	background-color: var(--sb-accent-hover);
	border-color: var(--sb-accent-hover);
	color: #fff;
}
.sb-theme .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
.sb-theme .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.sb-theme .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover {
	background-color: var(--sb-bg-alt);
	border-color: var(--sb-accent-hover);
	color: var(--sb-heading);
}
.sb-theme .cmplz-cookiebanner :focus-visible,
.sb-theme .cmplz-manage-consent:focus-visible,
.sb-theme .cmplz-blocked-content-notice:focus-visible {
	outline: 2px solid var(--sb-accent);
	outline-offset: 1px;
}
.sb-theme .cmplz-manage-consent {
	font-family: var(--sb-font-text);
	box-shadow: none; /* taste-skill-ignore: entfernt den Standardschatten des Cookie-Plugins */
}
/* Blockierter Inhalt (z. B. Karte): flache Fläche, ein Button, kein Stockbild des Plugins */
.sb-theme .cmplz-blocked-content-container {
	background-image: none !important;
	background-color: var(--sb-bg-alt);
	border-radius: var(--sb-radius);
}
.sb-theme .sb-kartenfeld { position: relative; }
.sb-theme .sb-kartenfeld .cmplz-blocked-content-container {
	position: absolute;
	inset: 0;
	height: auto;
	max-width: none;
	padding: 0;
}
.sb-theme .sb-kartenfeld iframe.sb-kartenfeld__rahmen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
}
.sb-theme .cmplz-blocked-content-notice {
	background: var(--sb-accent);
	color: #fff;
	font-family: var(--sb-font-text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
	min-height: 3rem;
	padding: 0.95rem 1.8rem;
	border: 0;
	border-radius: var(--sb-radius);
	box-shadow: none; /* taste-skill-ignore: entfernt den Standardschatten des Cookie-Plugins */
	cursor: pointer;
	top: 50%;
	left: 50%;
	right: auto;
	transform: translate(-50%, -50%);
	width: max-content;
	max-width: calc(100% - 2rem);
	text-align: center;
}
.sb-theme .cmplz-blocked-content-notice:hover {
	background: var(--sb-accent-hover);
}

/* ======================================================================
 * Schrift-Rollen wie Logo und Etiketten (Stand 11.11.2026, ENTWURF)
 * Eine Familie, Archivo, über die Breitenachse (font-stretch):
 *   Titel, Zahlen:    breit 118 %, Stärke 600
 *   Zusatzzeilen:     breit 125 %, Stärke 500, Versalien, gesperrt (wie EDELBRAND unter dem Logo)
 *   Fließtext:        Archivo normal (--sb-font-text)
 * Eigenschaften werden über Variablen am Element gesetzt, damit die spezifischeren
 * Einzelregeln weiter oben (var(--sb-tracking-titel), var(--sb-t-mittel)) greifen.
 * ====================================================================== */
body.sb-theme h1,
body.sb-theme h2,
body.sb-theme h3,
body.sb-theme h4 {
	font-weight: 600;
	font-stretch: 118%;
	font-synthesis: none;
	line-height: 1.12;
}
body.sb-theme h1 {
	--sb-tracking-titel: -0.005em;
}
/* Zwischenüberschriften: wie EDELBRAND unter dem Logo */
body.sb-theme h2 {
	--sb-tracking-titel: 0.1em;
	font-family: var(--sb-font-akzent);
	font-weight: 500;
	font-stretch: 125%;
	text-transform: uppercase;
}
/* Kleine Titel (Auswahl, Brennen, Reifen, Produktnamen): Versalien, gesperrt */
body.sb-theme h3 {
	--sb-tracking-titel: 0.12em;
	--sb-t-mittel: clamp(0.95rem, 1.2vw, 1.1rem);
	font-stretch: 125%;
	text-transform: uppercase;
}
/* Breite Schrift braucht breitere Zeilen als vorher (max-width stand in ch) */
body.sb-theme .sb-section h1,
body.sb-theme .sb-section h2 {
	max-width: min(20em, 100%);
}
body.sb-theme .sb-section.sb-hero h1 {
	max-width: min(16em, 100%);
}
/* Überschriften brechen nur zwischen Wörtern, nie mitten im Wort
 * (WordPress/Astra setzen sonst overflow-wrap: break-word; Versalien mit Laufweite
 * zerfielen so zu „UNTERNEHME / N“). Zu lange Wörter schrumpft die Schrift unten. */
body.sb-theme h1,
body.sb-theme h2,
body.sb-theme h3,
body.sb-theme h4 {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}
@media (max-width: 30em) {
	body.sb-theme .sb-section h1,
	body.sb-theme .sb-section.sb-hero h1 {
		font-size: min(var(--sb-t-seite), 6.4vw);
	}
	body.sb-theme .sb-section h2 {
		font-size: min(var(--sb-t-titel), 4.8vw);
		letter-spacing: 0.06em;
	}
	body.sb-theme .sb-section h3 {
		font-size: min(var(--sb-t-mittel), 4vw);
		letter-spacing: 0.08em;
	}
}
body.sb-theme .sb-statement,
body.sb-theme .sb-einstieg__name {
	font-family: var(--sb-font-akzent);
	font-weight: 500;
	font-stretch: 118%;
}
body.sb-theme .sb-jahr__zahl,
body.sb-theme .sb-nummer__zahl,
body.sb-theme .sb-weg__zahl,
body.sb-theme .sb-zeile__betrag,
body.sb-theme .sb-produkt__betrag {
	font-weight: 600;
	font-stretch: 118%;
	font-synthesis: none;
}
/* Menü (Desktop) und Knöpfe: Versalien wie MEHR ERFAHREN auf dem Etikett */
@media (min-width: 922px) {
	body.sb-theme .main-header-menu .menu-link,
	body.sb-theme .main-header-menu li.sb-menu-cta > a.menu-link {
		font-family: var(--sb-font-akzent);
		font-weight: 500;
		font-stretch: 125%;
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}
}
body.sb-theme .wp-block-button__link,
body.sb-theme .sb-button {
	font-family: var(--sb-font-akzent);
	font-weight: 500;
	font-stretch: 125%;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* ---------- Auszeichnungen: Zeitleiste mit Filter ([sb_auszeichnungen], inc/auszeichnungen.php) ---------- */
.sb-ausz2 [hidden] { display: none !important; }
.sb-ausz2__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--sb-line);
}
.sb-ausz2__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: var(--sb-bg);
	color: var(--sb-link);
	font: inherit;
	font-size: var(--sb-t-klein);
	font-weight: 500;
	cursor: pointer;
}
.sb-ausz2__chip:hover { border-color: var(--sb-link); }
.sb-ausz2__chip[aria-pressed="true"] {
	background: var(--sb-heading);
	border-color: var(--sb-heading);
	color: var(--sb-bg);
}
.sb-ausz2__chip:focus-visible { outline: 3px solid var(--sb-bernstein); outline-offset: 3px; }
.sb-ausz2__n { font-variant-numeric: tabular-nums; font-weight: 400; opacity: 0.75; }

.sb-ausz2__jahr {
	display: grid;
	grid-template-columns: minmax(5.5rem, 9rem) minmax(0, 1fr);
	gap: 0.5rem clamp(1.5rem, 3vw, 2.25rem);
	padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
	border-bottom: 1px solid var(--sb-line);
}
.sb-theme .sb-ausz2__zahl {
	margin: 0;
	font-family: var(--sb-font-headline);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: var(--sb-tracking-titel);
	font-variant-numeric: lining-nums;
	white-space: nowrap;
	color: var(--sb-link);
}
.sb-ausz2__inhalt { min-width: 0; }
.sb-ausz2__veranst {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sb-fg-muted);
}
.sb-ausz2__liste { list-style: none; margin: 0; padding: 0; }
.sb-ausz2__zeile {
	display: grid;
	grid-template-columns: minmax(9rem, 13.5rem) minmax(0, 1fr) auto;
	gap: 0.2rem 1.25rem;
	align-items: baseline;
	padding-block: 0.55rem;
	border-top: 1px solid var(--sb-line);
}
.sb-ausz2__zeile:first-child { border-top: 0; }
.sb-ausz2__stufe {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: var(--sb-t-klein);
	font-weight: 500;
	color: var(--sb-heading);
}
.sb-ausz2__punkt {
	flex: none;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--sb-ausz-farbe);
	box-shadow: 0 0 0 2px var(--sb-bg-alt), 0 0 0 3px var(--sb-ausz-ring, transparent);
	transform: translateY(0.1rem);
}
.sb-ausz2__stufe--gold { --sb-ausz-farbe: var(--sb-bernstein); }
.sb-ausz2__stufe--silber { --sb-ausz-farbe: #a9a59b; }
.sb-ausz2__stufe--bronze { --sb-ausz-farbe: var(--sb-accent); }
.sb-ausz2__produkt { min-width: 0; overflow-wrap: break-word; color: var(--sb-heading); font-weight: 500; }
.sb-ausz2__marke {
	font-size: 0.9rem;
	color: var(--sb-link);
	white-space: nowrap;
}
a.sb-ausz2__marke { text-underline-offset: 0.2em; }
.sb-ausz2__leer { margin: 1.5rem 0 0; color: var(--sb-fg-muted); }

/* schmale Liste (zwei Spalten mit Titel links oder kleinere Fenster): Stufe und Link oben, Produkt darunter */
@media (max-width: 1180px) {
	.sb-ausz2__zeile {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "stufe marke" "produkt produkt";
		gap: 0.1rem 1rem;
	}
	.sb-ausz2__stufe { grid-area: stufe; }
	.sb-ausz2__produkt { grid-area: produkt; }
	.sb-ausz2__marke { grid-area: marke; }
}
@media (max-width: 700px) {
	.sb-ausz2__jahr { grid-template-columns: 1fr; }
	.sb-ausz2__zeile { grid-template-columns: 1fr; grid-template-areas: "stufe" "produkt" "marke"; gap: 0.15rem; padding-block: 0.7rem; }
	.sb-ausz2__marke { justify-self: start; }
}
@media (max-width: 700px) {
	a.sb-ausz2__marke { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Altersabfrage (einmal je Gerät, siehe inc/altersabfrage.php) ---------- */
.sb-alter {
	display: none;
}
html.sb-alter-offen .sb-alter:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: 1.5rem;
	background: var(--sb-dark-bg);
	color: var(--sb-dark-fg);
	overflow-y: auto;
}
.sb-alter__innen {
	width: min(40rem, 100%);
	text-align: center;
	display: grid;
	gap: clamp(1.75rem, 5vw, 2.75rem);
	justify-items: center;
}
.sb-alter__logo {
	width: min(15rem, 70%);
	height: auto;
}
.sb-theme .sb-alter__frage {
	margin: 0;
	color: var(--sb-dark-heading);
	font-size: var(--sb-t-titel);
	max-width: 26ch;
}
.sb-alter__wahl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	width: 100%;
}
.sb-alter__knopf {
	cursor: pointer;
	min-height: 3.25rem;
	padding: 0.9rem 1.5rem;
	font-family: var(--sb-font-akzent);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: var(--sb-radius);
	border: 1px solid var(--sb-dark-link);
	background: transparent;
	color: var(--sb-dark-link);
}
.sb-alter__knopf--ja {
	background: var(--sb-accent-hover);
	border-color: var(--sb-accent-hover);
	color: #fff;
}
.sb-alter__knopf:hover {
	background: var(--sb-accent);
	border-color: var(--sb-accent);
	color: #fff;
}
.sb-alter__knopf:focus-visible {
	outline: 2px solid var(--sb-dark-heading);
	outline-offset: 3px;
}
.sb-alter__nein {
	margin: 0;
	max-width: 30rem;
	color: var(--sb-dark-heading);
}
.sb-alter__klein {
	margin: 0;
	font-size: var(--sb-t-klein);
	color: var(--sb-footer-fg);
}

/* ---------- Zeilenumbrüche (17.11.2026): ausgeglichene Zeilen in kurzen Texten, keine Einzelwörter am Ende ---------- */
.sb-theme .sb-section h1,
.sb-theme .sb-lead,
.sb-theme .sb-statement,
.sb-theme .sb-einstieg__name,
.sb-theme .sb-einstieg__info,
.sb-theme .sb-jahr__text,
.sb-theme .sb-nummer p:not(.sb-nummer__zahl),
.sb-theme .sb-weg__text p,
.sb-theme .sb-zeile__name,
.sb-theme .sb-raster dt,
.sb-theme .sb-kontakt__daten p {
	text-wrap: balance;
}
.sb-theme .sb-nummer h3,
.sb-theme .sb-weg h2 {
	line-height: 1.25;
}

/* Hero mit hellem Motiv (z. B. Schauglas): kräftigerer Verlauf links, damit beide Knöpfe lesbar bleiben */
.sb-theme .sb-section.sb-hero.sb-hero--kontrast {
	background-image: linear-gradient(90deg, rgba(var(--sb-dark-bg-rgb), 0.9) 0%, rgba(var(--sb-dark-bg-rgb), 0.8) 55%, rgba(var(--sb-dark-bg-rgb), 0.3) 85%, rgba(var(--sb-dark-bg-rgb), 0) 100%), var(--sb-hero-bild);
}
.sb-theme .sb-hero.sb-hero--kontrast::after {
	background-image: linear-gradient(90deg, rgba(var(--sb-dark-bg-rgb), 0.9) 0%, rgba(var(--sb-dark-bg-rgb), 0.8) 55%, rgba(var(--sb-dark-bg-rgb), 0.3) 85%, rgba(var(--sb-dark-bg-rgb), 0) 100%);
}

/* Produktseite: Geschmack und Genuss-Tipp als ruhiger Fließtext (Text-Standard 21.11.2026) */
.sb-theme .sb-produkt__geschmack {
	margin: 0;
	max-width: 38rem;
	color: var(--sb-fg);
}

/* ======================================================================
 * Mobil-Feinschliff (23.11.2026)
 * ====================================================================== */

/* Astras Einstellung setzt unter 922 px die Wurzelschrift auf 91,2 %. Dadurch schrumpften alle rem-Maße
 * (Text, Knöpfe, Abstände) auf Handys um 9 %. Zurück auf 100 %, damit die Maße aus tokens.css gelten. */
html:root {
	font-size: 100%;
}

/* Handy: das Hero-Foto steht für sich, auch beim Hero mit kräftigem Verlauf (sonst liegt das Foto ein zweites Mal hinter dem Text);
 * Seitenköpfe ohne feste Mindesthöhe. */
@media (max-width: 700px) {
	.sb-theme .sb-section.sb-hero.sb-hero--kontrast {
		background-image: none;
	}
	.sb-theme .sb-section.sb-hero.sb-hero--seite {
		min-height: 0;
	}
}

@media (max-width: 921px) {
	/* Zweite Handlung (Textlink mit Pfeil): bricht sie um, bleibt sie linksbündig wie der Knopf darüber */
	.sb-theme .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
		text-align: left;
	}
	/* Knöpfe: Versalien mit Abstand brauchen mehr als 13 px */
	body.sb-theme .wp-block-button__link,
	body.sb-theme .sb-button {
		font-size: 0.875rem;
	}
	/* Aufgeklapptes Menü: eigene Tonstufe, damit es sich vom Inhalt darunter abhebt; im Querformat scrollbar statt abgeschnitten */
	body.sb-theme .ast-mobile-header-content,
	body.sb-theme .ast-mobile-header-content .main-header-menu {
		background: var(--sb-bg-alt);
	}
	body.sb-theme .ast-mobile-header-content .main-header-menu .menu-item:not(.sb-menu-cta),
	body.sb-theme .ast-mobile-header-content .main-header-menu .menu-item:not(.sb-menu-cta) > .menu-link {
		background: transparent;
	}
	body.sb-theme .ast-mobile-header-content .main-header-menu .sb-menu-cta {
		background: transparent;
	}
	body.sb-theme .ast-mobile-header-content {
		padding-bottom: 1.5rem;
		max-height: calc(100dvh - 5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	/* Tippflächen mindestens 44 px */
	.sb-theme .custom-logo-link {
		display: flex;
		align-items: center;
		min-height: 44px;
	}
	.sb-theme .sb-fuss p a,
	.sb-theme .sb-kontakt__daten p a,
	.sb-theme .sb-stand a:not(.sb-button):not(.sb-zeile__name a),
	.sb-theme .sb-kartenlink a,
	.sb-theme .sb-produkt__zurueck a,
	.sb-theme .sb-seitenkopf__vor a,
	.sb-theme .sb-infokasten__kontakt a:not(.sb-button) {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding-block: 0.25rem;
	}
	/* Produktnamen in der Liste: Tippfläche ist der ganze Textblock der Zeile (Name, Stichworte, Auszeichnung), das Layout bleibt */
	.sb-theme .sb-zeile__name a {
		font-size: inherit;
	}
	.sb-zeile__haupt {
		position: relative;
	}
	.sb-theme .sb-zeile__name a::after {
		content: "";
		position: absolute;
		inset: 0;
	}
	.sb-ausz2__marke {
		font-size: 1rem;
	}
	a.sb-ausz2__marke {
		display: inline-block;
		padding-block: 0.5rem;
	}
}

/* Cookie-Banner: auf dem Handy höchstens knapp die Hälfte des Bildschirms (vorher 60 %) */
@media (max-width: 600px) {
	.sb-theme .cmplz-cookiebanner {
		padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
	}
	.sb-theme .cmplz-cookiebanner .cmplz-message {
		font-size: 0.9375rem;
		line-height: 1.45;
	}
	.sb-theme .cmplz-cookiebanner .cmplz-buttons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
	.sb-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences,
	.sb-theme .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences {
		grid-column: 1 / -1;
	}
	.sb-theme .cmplz-cookiebanner .cmplz-documents a {
		display: inline-block;
		padding-block: 0.6rem;
	}
}

/* Sortimentsliste: lange Größenangaben (z. B. „0,35 · 0,2 · 0,1 · 0,05 · 0,02 l“) dürfen umbrechen, sonst läuft die Seite bei 320 px seitlich über */
@media (max-width: 600px) {
	.sb-zeile > *,
	.sb-zeile__rechts > * {
		min-width: 0;
	}
	.sb-zeile__rechts {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	/* Größen linksbündig unter dem Text (die frühere Regel scheiterte an der Spezifität von .sb-theme .sb-zeile__preis) */
	.sb-theme .sb-zeile__preis {
		white-space: normal;
		text-align: left;
	}
	.sb-zeile__hinweis {
		display: block;
		margin-left: 0;
	}
	.sb-theme .sb-zeile__name {
		line-height: 1.25;
	}
}

/* Überschriften auf schmalen Handys nicht kleiner als der Fließtext wirken lassen: Untergrenzen für die vw-Staffelung (Versalien, breit gesetzt) */
@media (max-width: 30em) {
	body.sb-theme .sb-section h1,
	body.sb-theme .sb-section.sb-hero h1 {
		font-size: min(var(--sb-t-seite), 8vw);
	}
	body.sb-theme .sb-section.sb-hero.sb-hero--lang h1 {
		font-size: min(var(--sb-t-titel), 6.6vw);
	}
	body.sb-theme .sb-section h2 {
		font-size: max(1rem, min(var(--sb-t-titel), 4.8vw));
	}
	body.sb-theme .sb-section h3 {
		font-size: max(0.9375rem, min(var(--sb-t-mittel), 4vw));
	}
}

/* Cookie-Richtlinie (Complianz-Text, kein .sb-section): lange Wörter wie „Zustimmungseinstellungen“ in Versalien sprengten bei 320 px die Seite */
@media (max-width: 30em) {
	body.sb-theme .cmplz-document h2 {
		font-size: max(1rem, min(var(--sb-t-titel), 4.8vw));
		letter-spacing: 0.06em;
	}
	body.sb-theme .cmplz-document h3 {
		font-size: max(0.9375rem, min(var(--sb-t-mittel), 4vw));
		letter-spacing: 0.06em;
	}
	body.sb-theme .cmplz-document h2,
	body.sb-theme .cmplz-document h3 {
		overflow-wrap: anywhere;
		hyphens: auto;
	}
}
.cmplz-document .cmplz-service-description,
.cmplz-document .cmplz-sharing-data {
	display: block;
	max-width: 100%;
}
