/*
 * Sansibar-Bausteine – Gestaltung der festen Abschnitte (patterns/, Kategorie „sansibar-bausteine“).
 * Maße und Farben wie die Sansibar-Abschnitte im Shopify-Theme: Fließtext 22 px, Knöpfe 20 px in Großbuchstaben,
 * kleine Zeile in Gold mit Strich, Überschriften 600. Alle Lesegrößen folgen custom.lesegroesse aus theme.json.
 */

.sb {
	--sb-fs-text: calc(1.375rem * var(--wp--custom--lesegroesse));   /* 22 px */
	--sb-fs-klein: calc(1.25rem * var(--wp--custom--lesegroesse));   /* 20 px */
	--sb-fs-label: calc(1.125rem * var(--wp--custom--lesegroesse));  /* 18 px */
	--sb-fs-knopf: calc(1.25rem * var(--wp--custom--lesegroesse));   /* 20 px */
	--sb-rand: clamp(1rem, 4vw, 3rem);
	--sb-breite: 1320px;
	--sb-linie: rgba(242, 240, 235, 0.22);
	--sb-leiste: rgba(40, 41, 45, 0.94);

	/* Icons als Masken (aus inc/icons.php, erzeugt mit maske_css()) – Farbe kommt aus background-color */
	--sb-icon-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sb-icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7.5 10.5 12 15l4.5-4.5'/%3E%3Cpath d='M5 19.5h14'/%3E%3C/svg%3E");
	--sb-icon-paket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5v-9z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5'/%3E%3Cpath d='M12 12v9'/%3E%3C/svg%3E");
	--sb-icon-prozent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3Cpath d='M19 5 5 19'/%3E%3C/svg%3E");
	--sb-icon-versand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5h11v9.5h-11z'/%3E%3Cpath d='M13.5 9.5h4l3.5 3.5v3h-7.5'/%3E%3Ccircle cx='6.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
	--sb-icon-geschenk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11h15v9h-15z'/%3E%3Cpath d='M3.5 7.5h17V11h-17z'/%3E%3Cpath d='M12 7.5V20'/%3E%3Cpath d='M12 7.5c-2.6 0-4.2-1-4.2-2.4 0-1.6 2.4-2.1 4.2 2.4 1.8-4.5 4.2-4 4.2-2.4 0 1.4-1.6 2.4-4.2 2.4z'/%3E%3C/svg%3E");
	--sb-icon-sonne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2'/%3E%3Cpath d='M12 19.5v2'/%3E%3Cpath d='M2.5 12h2'/%3E%3Cpath d='M19.5 12h2'/%3E%3Cpath d='M5.3 5.3l1.4 1.4'/%3E%3Cpath d='M17.3 17.3l1.4 1.4'/%3E%3Cpath d='M5.3 18.7l1.4-1.4'/%3E%3Cpath d='M17.3 6.7l1.4-1.4'/%3E%3C/svg%3E");
	--sb-icon-mond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E");
	--sb-icon-stern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8L3.5 9.7l5.9-.9z'/%3E%3C/svg%3E");
	--sb-icon-glas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8l-.4 5a3.6 3.6 0 0 1-7.2 0L8 3z'/%3E%3Cpath d='M12 11.6V20'/%3E%3Cpath d='M8.5 20h7'/%3E%3C/svg%3E");
	--sb-icon-uhr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--sb-icon-ort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-12a7 7 0 0 1 14 0c0 5.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
	--sb-icon-kamera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E");
	--sb-icon-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z'/%3E%3C/svg%3E");
	--sb-icon-telefon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--sb-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");

	position: relative;
	margin-block: 0;
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
	background: var(--wp--preset--color--anthrazit);
	color: var(--wp--preset--color--text);
	font-variant-numeric: lining-nums;
}

@media (max-width: 749px) {
	.sb {
		--sb-fs-text: calc(1.25rem * var(--wp--custom--lesegroesse));
		--sb-fs-klein: calc(1.125rem * var(--wp--custom--lesegroesse));
		--sb-fs-label: calc(1.0625rem * var(--wp--custom--lesegroesse));
		--sb-fs-knopf: calc(1.1875rem * var(--wp--custom--lesegroesse));
	}
}

.sb *,
.sb *::before,
.sb *::after {
	box-sizing: border-box;
}

.sb > *,
.sb__inner > * {
	margin-block: 0;
}

/* Abstände in den Bausteinen kommen aus gap, nicht aus den Abständen des Fluss-Layouts von WordPress */
.sb .wp-block-group > * {
	margin-block: 0;
}

.sb__inner {
	width: 100%;
	max-width: var(--sb-breite);
	margin-inline: auto;
	padding-inline: var(--sb-rand);
}

/* Feine Linie zwischen zwei Bausteinen (nicht direkt unter dem Intro) */
.sb:not(.sb-intro) + .sb::before {
	content: "";
	position: absolute;
	top: 0;
	left: max(var(--sb-rand), calc((100% - var(--sb-breite)) / 2 + var(--sb-rand)));
	right: max(var(--sb-rand), calc((100% - var(--sb-breite)) / 2 + var(--sb-rand)));
	height: 1px;
	background: var(--sb-linie);
}

/* Leere Felder zeigt die Seite nicht – im Editor bleiben sie zum Ausfüllen sichtbar */
.sb :is(p, h1, h2, h3, h4):empty:not([contenteditable]) {
	display: none;
}

.sb .wp-block-button:has(> .wp-block-button__link:empty:not([contenteditable])) {
	display: none;
}

/* Sind alle Knöpfe leer, fällt auch ihre Zeile weg (sonst bliebe ein Abstand stehen) */
.sb .wp-block-buttons:not(:has(.wp-block-button__link:not(:empty))):not(:has([contenteditable])) {
	display: none;
}

/* ---------- Schrift ---------- */

.sb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	margin: 0;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb-eyebrow::before {
	content: "";
	flex: none;
	width: 40px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb-titel {
	margin: 0;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
	text-wrap: balance;
}

.sb-titel--xl {
	font-size: clamp(2.625rem, 5.6vw, 5.25rem);
	line-height: 1.05;
}

.sb-titel--l {
	font-size: clamp(2rem, 3.6vw, 3.125rem);
}

.sb-titel--m {
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

.sb-text {
	margin: 0;
	max-width: 36em;
	font-size: var(--sb-fs-text);
	line-height: 1.6;
	color: var(--wp--preset--color--text);
}

.sb-text a {
	color: var(--wp--preset--color--text);
	text-underline-offset: 3px;
}

/* ---------- Knöpfe ---------- */

.sb .wp-block-buttons {
	gap: 0.75rem;
}

.sb .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 176px;
	min-height: 60px;
	padding: 0 1.45rem;
	border: 2px solid var(--wp--preset--color--gold);
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--tinte);
	font-size: var(--sb-fs-knopf);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sb .wp-block-button .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--gold) 80%, #ffffff);
	border-color: color-mix(in srgb, var(--wp--preset--color--gold) 80%, #ffffff);
	color: var(--wp--preset--color--tinte);
}

.sb .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--text);
	background: transparent;
	color: var(--wp--preset--color--text);
}

.sb .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--text);
	background: rgba(242, 240, 235, 0.08);
	color: var(--wp--preset--color--text);
}

/* ---------- Intro ---------- */

/* Abstand oben und unten als Innenabstand – Außenabstände am letzten Kind setzt WordPress im Fluss-Layout auf 0 */
.sb-intro {
	display: grid;
	place-items: center;
	min-height: min(780px, 88svh);
	padding-block: clamp(4rem, 8vw, 6rem);
	overflow: hidden;
	isolation: isolate;
	text-align: center;
	background: var(--wp--preset--color--anthrazit-dunkel);
}

/* Höhe für einzelne Seiten (nur im Repo wählbar): --klein z. B. „Über uns“, --gross z. B. „Restaurant“ */
.sb-intro.sb-intro--klein {
	min-height: 560px;
}

.sb-intro.sb-intro--gross {
	min-height: max(560px, calc(100svh - 10rem));
}

@media (max-width: 989px) {
	.sb-intro.sb-intro--gross {
		min-height: max(520px, calc(100svh - 4.5rem));
	}
}

.sb-intro::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(26, 27, 30, 0.2);
}

.sb-intro .sb-intro__bild {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.sb-intro .sb-intro__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Titelvideo (0.27.0, nur im Repo): läuft stumm über dem Titelbild; das Bild bleibt als Standbild darunter –
   bei „Bewegung reduzieren“ und solange das Video lädt. Knopf zum Anhalten setzt assets/js/seite.js. */
.sb-intro .sb-intro__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.sb-intro .sb-intro__video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-intro .sb-intro__pause {
	position: absolute;
	right: clamp(1rem, 2.5vw, 2rem);
	bottom: clamp(1rem, 2.5vw, 2rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(242, 240, 235, 0.55);
	border-radius: 50%;
	background: rgba(36, 37, 40, 0.55);
	color: var(--wp--preset--color--text);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.sb-intro .sb-intro__pause svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sb-intro .sb-intro__pause:hover,
.sb-intro .sb-intro__pause:focus-visible {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--gold-text);
}

@media (prefers-reduced-motion: reduce) {
	.sb-intro .sb-intro__video {
		display: none;
	}
}

/* Text auf ruhiger, dunkler Fläche – bleibt auf jedem Foto gut lesbar. 0.22.0: schlanker und etwas durchsichtiger,
   damit mehr vom Foto bleibt (Webshop-Review, Entscheidung Niklas) */
.sb-intro__inhalt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	width: min(760px, calc(100% - 2 * var(--sb-rand)));
	margin-block: 0;
	padding: clamp(1.75rem, 3.2vw, 2.5rem) clamp(1.375rem, 4vw, 3rem);
	background: rgba(36, 37, 40, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb-intro__inhalt > * {
	margin-block: 0;
}

.sb-intro .sb-eyebrow {
	justify-content: center;
	text-align: center;
	text-wrap: balance;
}

.sb-intro .sb-eyebrow::after {
	content: "";
	flex: none;
	width: 40px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb-intro__unterzeile {
	font-size: calc(clamp(1.375rem, 1.9vw, 1.625rem) * var(--wp--custom--lesegroesse));
	font-weight: 600;
	letter-spacing: 0.04em;
	text-wrap: balance;
}

.sb-intro .wp-block-buttons {
	justify-content: center;
	margin-top: 0.625rem;
}

.sb-intro__info {
	max-width: 34em;
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	text-wrap: balance;
}

.sb-intro__info a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 599px) {
	.sb-intro {
		padding-block: 3.5rem;
	}

	.sb-intro .sb-eyebrow::before,
	.sb-intro .sb-eyebrow::after {
		display: none;
	}

	.sb-intro .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 320px;
	}
}

/* ---------- Bild mit Text ---------- */

.sb-bildtext__raster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3rem clamp(2.5rem, 6vw, 6rem);
}

.sb-bildtext .sb-bildtext__bild {
	flex: 1 1 440px;
	min-width: 0;
	margin: 0;
	aspect-ratio: 4 / 5;
}

.sb-bildtext .sb-bildtext__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-bildtext--rechts .sb-bildtext__bild {
	order: 2;
}

.sb-bildtext__text {
	flex: 1 1 440px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.sb-bildtext__text > * {
	margin-block: 0;
}

/* ---------- Text ---------- */

.sb-textblock__inhalt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

/* ---------- Gemeinsame Teile: Kopfzeile, Pfeil-Link, Leiste, unsichtbarer Text ---------- */

/* Kopfzeile über Kacheln und Listen: kleine Zeile und Überschrift links, Link oder Text rechts */
.sb .sb-kopfzeile {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-block-end: clamp(2rem, 4vw, 3rem);
}

.sb .sb-kopfzeile__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	min-width: 0;
}

.sb .sb-kopfzeile__zusatz {
	max-width: 30em;
}

/* Link in Großbuchstaben mit Pfeil, z. B. „Alle Produkte →“ */
.sb .sb-pfeillink {
	line-height: 1.3;
}

.sb .sb-pfeillink a {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 48px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-pfeillink a::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon-pfeil) center / contain no-repeat;
	mask: var(--sb-icon-pfeil) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.sb .sb-pfeillink a:hover {
	color: var(--wp--preset--color--text);
}

.sb .sb-pfeillink a:hover::after {
	transform: translateX(3px);
}

.sb-unsichtbar {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Geschichtsband ---------- */

.sb.sb-gb {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.sb .sb-gb__raster {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.75fr);
	align-items: center;
	column-gap: clamp(1.75rem, 4.5vw, 4.5rem);
}

.sb .sb-gb__raster:not(:has(.sb-gb__bild)) {
	grid-template-columns: auto minmax(0, 1fr);
}

/* Gründungsjahr als goldene Kontur */
.sb .sb-gb__jahr {
	font-size: clamp(5.25rem, 10vw, 9.75rem);
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--gold);
	user-select: none;
}

.sb .sb-gb__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	min-width: 0;
}

.sb .sb-gb__titel {
	font-size: clamp(1.625rem, 2.4vw, 2.125rem);
}

.sb .sb-gb__text .sb-text {
	max-width: 40em;
}

.sb .sb-gb__bild {
	margin: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-gb__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 989px) {
	.sb .sb-gb__raster {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.sb .sb-gb__bild {
		display: none;
	}
}

@media (max-width: 599px) {
	.sb .sb-gb__raster,
	.sb .sb-gb__raster:not(:has(.sb-gb__bild)) {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1rem;
	}

	.sb .sb-gb__jahr {
		font-size: 4.25rem;
	}
}

/* ---------- Shop-Kacheln ---------- */

.sb .sb-kacheln__raster {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.sb .sb-kachel {
	position: relative;
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 300px;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--flaeche);
}

/* Die erste Kachel ist groß, die vierte und fünfte teilen sich die Reihe darunter */
.sb .sb-kachel:nth-child(1) {
	grid-column: span 4;
	grid-row: span 2;
	min-height: 580px;
}

.sb .sb-kachel:nth-child(4),
.sb .sb-kachel:nth-child(5) {
	grid-column: span 3;
	min-height: 330px;
}

.sb .sb-kachel__bild {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}

.sb .sb-kachel__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sb .sb-kachel:hover .sb-kachel__bild img {
	transform: scale(1.03);
}

/* Schrift auf eigener Fläche statt direkt auf dem Foto – bleibt auf jedem Bild lesbar */
.sb .sb-kachel__leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.25rem;
	padding: 18px 24px 20px;
	background: var(--sb-leiste);
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb .sb-kachel:nth-child(1) .sb-kachel__leiste {
	padding: 24px 32px 26px;
}

.sb .sb-kachel__titel {
	font-size: clamp(1.625rem, 2.2vw, 2rem);
	font-weight: 600;
	line-height: 1.1;
}

.sb .sb-kachel:nth-child(1) .sb-kachel__titel {
	font-size: clamp(2.25rem, 3.4vw, 3rem);
}

.sb .sb-kachel__titel a {
	color: inherit;
	text-decoration: none;
}

/* Ganze Kachel anklickbar: der Link am Titel deckt die Kachel ab (nicht im Editor) */
.sb .sb-kachel__titel:not([contenteditable]) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.sb .sb-kachel__titel a:focus-visible {
	outline: none;
}

.sb .sb-kachel:has(.sb-kachel__titel a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.sb .sb-kachel__mehr {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-kachel__mehr::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon-pfeil) center / contain no-repeat;
	mask: var(--sb-icon-pfeil) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.sb .sb-kachel:hover .sb-kachel__mehr::after {
	transform: translateX(4px);
}

@media (max-width: 989px) {
	.sb .sb-kacheln__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb .sb-kachel:nth-child(n) {
		grid-column: span 1;
		grid-row: auto;
		min-height: 260px;
	}

	.sb .sb-kachel:nth-child(1) {
		grid-column: span 2;
		min-height: 400px;
	}

	.sb .sb-kachel:nth-child(n) .sb-kachel__leiste {
		padding: 16px 20px 18px;
	}
}

@media (max-width: 599px) {
	.sb .sb-kacheln__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.sb .sb-kachel:nth-child(n) {
		grid-column: auto;
		min-height: 230px;
	}

	.sb .sb-kachel:nth-child(1) {
		min-height: 320px;
	}
}

/* ---------- Shop-Themen (0.23.0): drei Kacheln mit Bild, kleiner Zeile, Überschrift, Text und Linktext ---------- */

.sb .sb-themen__raster {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.sb .sb-thema {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--wp--preset--color--anthrazit-dunkel);
	isolation: isolate;
}

.sb .sb-thema__bild {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-thema__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sb .sb-thema:hover .sb-thema__bild img {
	transform: scale(1.03);
}

.sb .sb-thema__text {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 24px;
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb .sb-thema__zeile {
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-thema__titel {
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: 600;
	line-height: 1.12;
	text-wrap: balance;
}

.sb .sb-thema__titel a {
	color: inherit;
	text-decoration: none;
}

/* Ganze Kachel anklickbar: der Link an der Überschrift deckt die Kachel ab (nicht im Editor) */
.sb .sb-thema__titel:not([contenteditable]) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.sb .sb-thema__titel a:focus-visible {
	outline: none;
}

.sb .sb-thema:has(.sb-thema__titel a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.sb .sb-thema__absatz {
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-thema__mehr {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 6px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-thema__mehr::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon-pfeil) center / contain no-repeat;
	mask: var(--sb-icon-pfeil) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.sb .sb-thema:hover .sb-thema__mehr::after {
	transform: translateX(4px);
}

@media (max-width: 989px) {
	.sb .sb-themen__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.sb .sb-thema:nth-child(3) {
		grid-column: span 2;
	}

	.sb .sb-thema:nth-child(3) .sb-thema__bild {
		aspect-ratio: 2 / 1;
	}

	.sb .sb-thema__text {
		padding: 16px 18px 18px;
	}
}

@media (max-width: 599px) {
	.sb .sb-themen__raster {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb .sb-thema:nth-child(3) {
		grid-column: auto;
	}

	.sb .sb-thema:nth-child(3) .sb-thema__bild {
		aspect-ratio: 4 / 3;
	}
}

/* ---------- Bild mit Themen-Links ---------- */

.sb-bildtext--quer .sb-bildtext__bild {
	aspect-ratio: 4 / 3;
}

.sb .sb-pillen {
	gap: 10px;
}

.sb .sb-pillen .wp-block-button .wp-block-button__link {
	min-width: 0;
	min-height: 50px;
	padding: 0 22px;
	border: 2px solid rgba(242, 240, 235, 0.7);
	background: transparent;
	color: var(--wp--preset--color--text);
	font-size: calc(1.1875rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
}

.sb .sb-pillen .wp-block-button .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--gold);
	background: transparent;
	color: var(--wp--preset--color--gold-text);
}

/* ---------- Weinclub ---------- */

.sb .sb-vorteile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 32px;
	width: 100%;
	margin-block-start: 6px;
}

/* Vorteil: festes Icon links (Klasse sb-vorteil--paket, --prozent, --versand, --geschenk) */
.sb .sb-vorteil {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding-left: 40px;
}

.sb .sb-vorteil::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 26px;
	height: 26px;
	background-color: var(--wp--preset--color--gold-text);
	-webkit-mask: var(--sb-icon, var(--sb-icon-paket)) center / contain no-repeat;
	mask: var(--sb-icon, var(--sb-icon-paket)) center / contain no-repeat;
}

.sb-vorteil--paket {
	--sb-icon: var(--sb-icon-paket);
}

.sb-vorteil--prozent {
	--sb-icon: var(--sb-icon-prozent);
}

.sb-vorteil--versand {
	--sb-icon: var(--sb-icon-versand);
}

.sb-vorteil--geschenk {
	--sb-icon: var(--sb-icon-geschenk);
}

.sb .sb-vorteil__titel {
	font-size: calc(1.375rem * var(--wp--custom--lesegroesse));
	font-weight: 700;
	line-height: 1.3;
}

.sb .sb-vorteil__text {
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-preis {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	width: 100%;
	margin-block-start: 4px;
	padding-top: 22px;
	border-top: 1px solid var(--sb-linie);
}

.sb .sb-preis__wert {
	font-size: clamp(2.25rem, 3.4vw, 3rem);
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-preis__hinweis {
	font-size: var(--sb-fs-klein);
	color: var(--wp--preset--color--text-gedaempft);
}

/* Passen beide Knöpfe nicht nebeneinander, stehen sie gleich breit untereinander */
.sb-weinclub .sb-knoepfe .wp-block-button {
	flex: 1 1 auto;
}

.sb-weinclub .sb-knoepfe .wp-block-button .wp-block-button__link {
	width: 100%;
}

@media (max-width: 599px) {
	.sb .sb-vorteile {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-weinclub .sb-knoepfe {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
}

/* ---------- Partner ---------- */

.sb .sb-partner__raster {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.sb .sb-partner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-partner:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
	min-height: 580px;
}

.sb .sb-partner__bild {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}

.sb .sb-partner__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sb .sb-partner:has(.sb-pfeillink a):hover .sb-partner__bild img {
	transform: scale(1.03);
}

/* Logo, Text und Link auf eigener Fläche statt direkt auf dem Foto */
.sb .sb-partner__leiste {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 24px 22px;
	background: var(--sb-leiste);
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb .sb-partner:nth-child(1) .sb-partner__leiste {
	padding: 26px 32px 28px;
}

.sb .sb-partner__logo {
	max-width: min(220px, 70%);
	margin: 0;
}

.sb .sb-partner__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}

.sb .sb-partner:nth-child(1) .sb-partner__logo {
	max-width: min(320px, 70%);
}

.sb .sb-partner:nth-child(1) .sb-partner__logo img {
	max-height: 84px;
}

.sb .sb-partner__text {
	max-width: 30em;
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
}

/* Mit Link ist die ganze Kachel anklickbar (nicht im Editor) */
.sb .sb-partner .sb-pfeillink:not([contenteditable]) a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

@media (max-width: 989px) {
	.sb .sb-partner__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb .sb-partner:nth-child(n) {
		grid-column: span 1;
		grid-row: auto;
		min-height: 240px;
	}

	.sb .sb-partner:nth-child(1) {
		grid-column: span 2;
		min-height: 380px;
	}

	.sb .sb-partner:nth-child(n) .sb-partner__leiste {
		padding: 16px 20px 18px;
	}
}

@media (max-width: 599px) {
	.sb .sb-partner__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.sb .sb-partner:nth-child(n) {
		grid-column: auto;
		min-height: 220px;
	}

	.sb .sb-partner:nth-child(1) {
		min-height: 320px;
	}
}

/* ---------- Live-Teaser und Wetter ---------- */

.sb .sb-lt__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 3rem clamp(2.5rem, 6vw, 6rem);
}

.sb .sb-lt__bild {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-lt__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.sb .sb-lt__bild:hover img {
	transform: scale(1.03);
}

/* Der Link liegt über dem ganzen Bild, auch über der Beschriftung */
.sb .sb-lt__bild a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* Beschriftung auf eigener Fläche unten links, z. B. „Zur Vorhersage →“ */
.sb .sb-lt__bild figcaption {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 16px 24px 18px;
	background: var(--sb-leiste);
	border-top: 2px solid var(--wp--preset--color--gold);
	font-size: var(--sb-fs-label);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-align: left;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-lt__bild figcaption::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon-pfeil) center / contain no-repeat;
	mask: var(--sb-icon-pfeil) center / contain no-repeat;
}

.sb .sb-lt__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	min-width: 0;
}

.sb .sb-wetter {
	width: 100%;
}

.sb .sb-wetter__jetzt {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 24px 0;
	border-top: 1px solid var(--sb-linie);
	border-bottom: 1px solid var(--sb-linie);
}

.sb .sb-wetter__jetzt p {
	margin: 0;
}

.sb .sb-wetter__symbol {
	display: inline-flex;
	flex: none;
	color: var(--wp--preset--color--gold);
}

.sb .sb-wetter__temp {
	font-size: clamp(3.375rem, 5vw, 4.75rem);
	font-weight: 600;
	line-height: 0.9;
	white-space: nowrap;
}

.sb .sb-wetter__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sb .sb-wetter__lage {
	font-size: var(--sb-fs-text);
	font-weight: 600;
}

.sb .sb-wetter__wind {
	font-size: var(--sb-fs-klein);
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wetter .sb-wetter__sonne {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	font-size: var(--sb-fs-klein);
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-wetter__tage {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.sb .sb-wetter__fehler {
	margin: 0;
	padding: 24px 0;
	border-top: 1px solid var(--sb-linie);
	border-bottom: 1px solid var(--sb-linie);
	font-size: var(--sb-fs-text);
}

.sb .sb-wetter__quelle {
	margin: 22px 0 0;
	font-size: var(--sb-fs-klein);
	line-height: 1.6;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wetter__quelle a {
	color: inherit;
	text-underline-offset: 3px;
}

/* Tageskarte */
.sb .sb-wx-tag {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	padding: 18px 14px 14px;
	border: 1px solid var(--sb-linie);
}

.sb .sb-wx-tag:first-child::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 14px;
	width: 40px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb .sb-wx-tag p {
	margin: 0;
}

.sb .sb-wx-tag__name {
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

/* Datum immer in eigener Zeile – so stehen die Karten gleich hoch */
.sb .sb-wx-tag__name span {
	display: block;
	margin-top: 2px;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--text);
}

.sb .sb-wx-tag__symbol {
	display: inline-flex;
	margin-top: 4px;
}

.sb .sb-wx-tag__symbol .sb-icon {
	width: 28px;
	height: 28px;
}

.sb .sb-wx-tag__lage {
	font-size: var(--sb-fs-klein);
	line-height: 1.35;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wx-tag__temp {
	font-size: calc(1.75rem * var(--wp--custom--lesegroesse));
	line-height: 1.1;
	white-space: nowrap;
}

.sb .sb-wx-tag__temp strong {
	font-weight: 600;
}

.sb .sb-wx-tag__min {
	font-size: calc(1.375rem * var(--wp--custom--lesegroesse));
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wx-tag__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: var(--sb-fs-klein);
	line-height: 1.35;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wx-tag__wind {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--text);
}

.sb .sb-wx-tag__wind .sb-icon {
	flex: none;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-wx-tag .sb-wx-tag__sonne {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: stretch;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--sb-linie);
	font-size: var(--sb-fs-klein);
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}

@media (max-width: 989px) {
	.sb .sb-lt__raster {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb .sb-lt__bild {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 599px) {
	.sb .sb-wetter__jetzt {
		flex-wrap: wrap;
		gap: 14px 18px;
	}

	.sb .sb-wetter__tage {
		gap: 8px;
	}

	.sb .sb-wx-tag {
		padding: 14px 10px 12px;
	}

	.sb .sb-wx-tag__lage,
	.sb .sb-wx-tag__regen {
		display: none;
	}
}

/* ---------- Webcam (Live-Teaser der Startseite und Baustein „Webcam“ auf „Sansibar Live“, inc/webcam.php) ---------- */

/* Marke oben links im Bild: „Live · 14:35 Uhr“ mit goldenem Punkt, sonst „Heute, 18:52 Uhr“ */
.sb .sb-webcam-marke {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 14px 8px 12px;
	background: var(--sb-leiste);
	font-size: var(--sb-fs-label);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--text);
	pointer-events: none;
}

.sb .sb-webcam-marke::before {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--wp--preset--color--linie);
}

.sb .sb-webcam-marke.is-live::before {
	background: var(--wp--preset--color--gold);
	animation: sb-webcam-puls 2.4s ease-out infinite;
}

@keyframes sb-webcam-puls {
	0% {
		box-shadow: 0 0 0 0 rgba(205, 176, 122, 0.6);
	}

	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(205, 176, 122, 0);
	}
}

/* Im Teaser füllt das Querformat der Kamera das Hochformat – Ausschnitt aus der Mitte */
.sb .sb-lt__bild--webcam img {
	object-position: var(--sb-webcam-fokus, 50% 50%);
}

.sb .sb-wc__kopf {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 760px;
	margin-block-end: clamp(2.25rem, 4.5vw, 3.5rem);
}

.sb .sb-webcam {
	width: 100%;
}

.sb .sb-webcam__bild {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-webcam__bild img,
.sb .sb-webcam__bild iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.sb .sb-webcam__leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 20px 0;
	border-bottom: 1px solid var(--sb-linie);
}

.sb .sb-webcam__text {
	margin: 0;
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	color: var(--wp--preset--color--text-gedaempft);
}

/* „Live-Video starten“ wie die Kontur-Knöpfe der Bausteine */
.sb .sb-webcam__live {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 60px;
	padding: 0 1.45rem;
	border: 2px solid var(--wp--preset--color--text);
	border-radius: var(--wp--custom--radius--knopf);
	background: transparent;
	color: var(--wp--preset--color--text);
	font: inherit;
	font-size: var(--sb-fs-knopf);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.sb .sb-webcam__live:hover {
	background: rgba(242, 240, 235, 0.08);
}

.sb .sb-webcam__live:disabled {
	opacity: 0.5;
	cursor: default;
}

.sb .sb-webcam__live .sb-icon {
	flex: none;
	color: var(--wp--preset--color--gold);
}

.sb .sb-webcam__hinweis {
	margin: 14px 0 0;
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
	line-height: 1.6;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-webcam__hinweis a {
	color: inherit;
	text-underline-offset: 3px;
}

.sb .sb-webcam.ist-video .sb-webcam__hinweis {
	display: none;
}

@media (max-width: 599px) {
	.sb .sb-webcam-marke {
		top: 10px;
		left: 10px;
		padding: 6px 10px;
	}

	.sb .sb-webcam__live {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sb .sb-webcam-marke.is-live::before {
		animation: none;
	}
}

/* ---------- Wetter (ausführlich, Seite „Sansibar Live“) ---------- */

.sb .sb-wx__kopf {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 760px;
	margin-block-end: clamp(2.25rem, 4.5vw, 3.5rem);
}

.sb .sb-wetter__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 32px clamp(32px, 5vw, 80px);
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--sb-linie);
}

.sb .sb-wetter__panel::before {
	content: "";
	position: absolute;
	top: -1px;
	left: clamp(28px, 4vw, 48px);
	width: 48px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb .sb-wetter__panel p {
	margin: 0;
}

.sb .sb-wetter__haupt {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 36px);
}

.sb .sb-wetter--voll .sb-wetter__symbol .sb-icon {
	width: clamp(56px, 6vw, 84px);
	height: auto;
}

.sb .sb-wetter--voll .sb-wetter__temp {
	font-size: clamp(3.75rem, 6.4vw, 5.75rem);
}

.sb .sb-wetter--voll .sb-wetter__lage {
	margin-top: 12px;
	font-size: calc(1.5rem * var(--wp--custom--lesegroesse));
	line-height: 1.3;
}

.sb .sb-wetter--voll .sb-wetter__ort {
	margin-top: 6px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sb .sb-wetter__fakten {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	border-top: 1px solid var(--sb-linie);
}

.sb .sb-wetter__fakt {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 0;
	border-bottom: 1px solid var(--sb-linie);
}

.sb .sb-wetter__fakt--breit {
	grid-column: 1 / -1;
}

.sb .sb-wetter__fakt-titel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-wetter__fakt-titel .sb-icon {
	flex: none;
}

.sb .sb-wetter__fakt-wert {
	font-size: var(--sb-fs-text);
	line-height: 1.45;
}

.sb .sb-wetter__zusatz {
	display: block;
	margin-top: 3px;
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-wetter__fakt--zeit .sb-wetter__fakt-wert {
	font-size: calc(1.75rem * var(--wp--custom--lesegroesse));
	line-height: 1.1;
	white-space: nowrap;
}

.sb .sb-wetter__fakt--gold .sb-wetter__fakt-wert {
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-wetter--voll .sb-wetter__tage {
	grid-template-columns: repeat(var(--sb-wx-spalten, 5), minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.sb .sb-wetter--voll .sb-wx-tag {
	gap: 8px;
	padding: 22px 18px 18px;
}

.sb .sb-wetter--voll .sb-wx-tag:first-child::before {
	left: 18px;
}

.sb .sb-wetter--voll .sb-wx-tag__symbol .sb-icon {
	width: 34px;
	height: 34px;
}

.sb .sb-wetter--voll .sb-wx-tag__temp {
	font-size: calc(1.875rem * var(--wp--custom--lesegroesse));
}

.sb .sb-wetter--voll .sb-wetter__fehler {
	grid-column: 1 / -1;
	padding: 0;
	border: 0;
}

@media (max-width: 1099px) {
	.sb .sb-wetter__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Tablet und Telefon: Tage nebeneinander zum Wischen – die Karten bleiben breit genug für große Schrift */
	.sb .sb-wetter--voll .sb-wetter__tage {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		margin-inline: calc(-1 * var(--sb-rand));
		padding: 0 var(--sb-rand) 8px;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--sb-rand);
	}

	.sb .sb-wetter--voll .sb-wx-tag {
		flex: 0 0 30%;
		scroll-snap-align: start;
	}
}

@media (max-width: 699px) {
	.sb .sb-wetter--voll .sb-wx-tag {
		flex: 0 0 46%;
	}

	.sb .sb-wetter__haupt {
		gap: 18px;
	}

	.sb .sb-wetter__fakten {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb .sb-wetter__fakt--zeit {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 4px 12px;
	}

	.sb .sb-wetter__fakt--zeit .sb-wetter__fakt-wert {
		font-size: calc(1.5rem * var(--wp--custom--lesegroesse));
	}
}

/* Die kurze Ansicht blendet Lage und Regen auf dem Handy aus – die volle zeigt alles (Karten zum Wischen) */
@media (max-width: 599px) {
	.sb .sb-wetter--voll .sb-wx-tag__lage,
	.sb .sb-wetter--voll .sb-wx-tag__regen {
		display: initial;
	}

	.sb .sb-wetter--voll .sb-wx-tag__lage {
		display: block;
	}
}

/* ---------- Vor Ort ---------- */

.sb .sb-orte__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(2.5rem, 6vw, 6rem);
}

/* Zwei Spalten: Name, Zeilen und „Route“ untereinander, oben bündig */
.sb .sb-ort {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 20px 0;
	border-bottom: 1px solid var(--sb-linie);
}

.sb .sb-ort:nth-child(-n + 2) {
	border-top: 1px solid var(--sb-linie);
}

.sb .sb-ort__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sb .sb-ort__name {
	font-size: calc(1.75rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	line-height: 1.2;
}

.sb .sb-ort__zeile {
	font-size: var(--sb-fs-klein);
	line-height: 1.45;
}

@media (max-width: 989px) {
	.sb .sb-orte__liste {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Eine Spalte: „Route“ rechts daneben, wenn Platz ist */
	.sb .sb-ort {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 6px 24px;
	}

	.sb .sb-ort:nth-child(2) {
		border-top: 0;
	}
}

/* ---------- Text (mittig, mit Gruß) ---------- */

.sb .sb-rt__inhalt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	max-width: calc(820px + 2 * var(--sb-rand));
	text-align: center;
}

.sb-rt .sb-eyebrow {
	justify-content: center;
	text-wrap: balance;
}

.sb-rt .sb-eyebrow::after {
	content: "";
	flex: none;
	width: 40px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb .sb-rt__text {
	margin-inline: auto;
	font-size: calc(clamp(1.375rem, 1.8vw, 1.5625rem) * var(--wp--custom--lesegroesse));
	line-height: 1.75;
}

.sb .sb-rt__text + .sb-rt__text {
	margin-top: -0.5rem;
}

.sb .sb-rt__gruss {
	margin-top: 4px;
	font-size: calc(1.5rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}

.sb-rt .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 599px) {
	.sb-rt .sb-eyebrow::before,
	.sb-rt .sb-eyebrow::after {
		display: none;
	}
}

/* ---------- Speisekarten ---------- */

.sb .sb-karten__kopf {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 760px;
	margin-block-end: clamp(2.25rem, 4.5vw, 3.5rem);
}

.sb .sb-karten__raster {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.sb .sb-karte {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 34px 28px 30px;
	border: 1px solid var(--sb-linie);
}

/* Goldene Marke oben und festes Icon je Karte (Klasse sb-karte--sonne, --mond, --stern, --glas) */
.sb .sb-karte::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 28px;
	width: 48px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.sb .sb-karte::after {
	content: "";
	order: -1;
	width: 30px;
	height: 30px;
	margin-bottom: 6px;
	background-color: var(--wp--preset--color--gold);
	-webkit-mask: var(--sb-icon, var(--sb-icon-sonne)) center / contain no-repeat;
	mask: var(--sb-icon, var(--sb-icon-sonne)) center / contain no-repeat;
}

.sb-karte--sonne {
	--sb-icon: var(--sb-icon-sonne);
}

.sb-karte--mond {
	--sb-icon: var(--sb-icon-mond);
}

.sb-karte--stern {
	--sb-icon: var(--sb-icon-stern);
}

.sb-karte--glas {
	--sb-icon: var(--sb-icon-glas);
}

.sb .sb-karte__hinweis {
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-karte__titel {
	font-size: clamp(1.625rem, 2.2vw, 1.875rem);
	font-weight: 600;
	line-height: 1.1;
}

.sb .sb-karte__zeit {
	font-size: var(--sb-fs-text);
	font-weight: 600;
	line-height: 1.5;
}

.sb .sb-karte__text {
	font-size: var(--sb-fs-klein);
	line-height: 1.6;
}

.sb .sb-karte__link,
.sb .sb-karte__fehlt {
	margin-top: auto;
	padding-top: 14px;
}

.sb .sb-karte__link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-karte__link a::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon-download) center / contain no-repeat;
	mask: var(--sb-icon-download) center / contain no-repeat;
}

.sb .sb-karte__link a:hover {
	color: var(--wp--preset--color--text);
}

.sb .sb-karte__fehlt {
	margin-bottom: 0;
	font-size: var(--sb-fs-klein);
}

@media (max-width: 1099px) {
	.sb .sb-karten__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.sb .sb-karten__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

/* ---------- Galerie ---------- */

.sb .sb-galerie__raster {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: minmax(270px, auto);
	gap: 20px;
}

.sb .sb-galerie__bild {
	position: relative;
	grid-column: span 2;
	min-height: 270px;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-galerie__bild:nth-child(1) {
	grid-column: span 3;
	grid-row: span 2;
	min-height: 560px;
}

.sb .sb-galerie__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Bildunterschrift auf eigener Fläche statt direkt auf dem Foto */
.sb .sb-galerie__bild figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: 14px 20px 16px;
	background: var(--sb-leiste);
	border-top: 2px solid var(--wp--preset--color--gold);
	font-size: calc(1.3125rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	color: var(--wp--preset--color--text);
}

@media (max-width: 989px) {
	.sb .sb-galerie__raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}

	.sb .sb-galerie__bild:nth-child(n) {
		grid-column: span 1;
		grid-row: auto;
		min-height: 240px;
	}

	.sb .sb-galerie__bild:nth-child(1) {
		grid-column: span 2;
		min-height: 360px;
	}
}

@media (max-width: 599px) {
	.sb .sb-galerie__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.sb .sb-galerie__bild:nth-child(n) {
		grid-column: auto;
		min-height: 240px;
	}
}

/* ---------- Bildband (0.27.0, freigegeben 01.11.2026) ---------- */

/* Bilder in gleicher Höhe nebeneinander, Hoch- und Querformat gemischt; die Reihe beginnt bündig mit dem Inhalt
   und läuft rechts bis an den Rand – zum Wischen, am Computer mit Pfeilen (assets/js/seite.js) */
.sb.sb-bildband {
	--sb-bildband-hoehe: clamp(260px, 30vw, 440px);
	--sb-bildband-start: max(var(--sb-rand), calc((100% - var(--sb-breite)) / 2 + var(--sb-rand)));
}

.sb .sb-bildband__reihe {
	display: flex;
	gap: clamp(12px, 1.4vw, 20px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--sb-bildband-start);
	padding: 0 var(--sb-bildband-start) 14px;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--linie) transparent;
}

.sb .sb-bildband__bild {
	flex: none;
	display: grid;
	grid-template-rows: auto auto;
	width: min-content;
	margin: 0;
	scroll-snap-align: start;
}

/* Leerer Bildplatz (Redaktion hat das Bild entfernt) */
.sb .sb-bildband__bild:not(:has(img[src])) {
	display: none;
}

.sb .sb-bildband__bild img {
	display: block;
	width: auto;
	max-width: min(78vw, 720px);
	height: var(--sb-bildband-hoehe);
	object-fit: cover;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-bildband__bild figcaption {
	margin: 0;
	padding-top: 12px;
	border-top: 2px solid var(--wp--preset--color--gold);
	margin-top: 0;
	font-size: var(--sb-fs-klein);
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	color: var(--wp--preset--color--text);
}

.sb.sb-bildband .sb-kopfzeile {
	justify-content: flex-start;
}

.sb.sb-bildband .sb-kopfzeile__text {
	margin-inline-end: auto;
}

.sb .sb-bildband__pfeile {
	display: none;
	gap: 10px;
}

.sb .sb-bildband__pfeile[hidden] {
	display: none !important;
}

.sb .sb-bildband__pfeil {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--gold-text);
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.sb .sb-bildband__pfeil svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sb .sb-bildband__pfeil--zurueck svg {
	transform: scaleX(-1);
}

.sb .sb-bildband__pfeil:hover:not(:disabled),
.sb .sb-bildband__pfeil:focus-visible {
	border-color: var(--wp--preset--color--gold);
}

.sb .sb-bildband__pfeil:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (min-width: 990px) {
	.sb .sb-bildband__pfeile {
		display: inline-flex;
	}
}

@media (max-width: 599px) {
	.sb.sb-bildband {
		--sb-bildband-hoehe: 300px;
	}
}

/* ---------- Reservierung ---------- */

.sb .sb-res__raster {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 3.5rem clamp(2.5rem, 7vw, 7rem);
}

.sb .sb-res__haupt {
	flex: 1.1 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.sb .sb-res__telefon {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--sb-linie);
}

.sb .sb-res__telefon-label {
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sb .sb-res__nummer {
	font-size: clamp(2rem, 3.4vw, 2.875rem);
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
}

.sb .sb-res__nummer a {
	color: var(--wp--preset--color--gold-text);
	text-decoration: none;
}

.sb .sb-res__nummer a:hover {
	color: var(--wp--preset--color--text);
}

.sb .sb-res__telefon-hinweis {
	font-size: var(--sb-fs-klein);
}

.sb .sb-res__fakten {
	flex: 1 1 380px;
	min-width: 0;
	border-top: 1px solid var(--sb-linie);
}

/* Angabe mit festem Icon (Klasse sb-fakt--uhr, --stern, --ort) */
.sb .sb-fakt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 22px 0;
	border-bottom: 1px solid var(--sb-linie);
}

.sb .sb-fakt__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--sb-fs-label);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-fakt__label::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: var(--sb-icon, var(--sb-icon-uhr)) center / contain no-repeat;
	mask: var(--sb-icon, var(--sb-icon-uhr)) center / contain no-repeat;
}

.sb-fakt--uhr {
	--sb-icon: var(--sb-icon-uhr);
}

.sb-fakt--stern {
	--sb-icon: var(--sb-icon-stern);
}

.sb-fakt--ort {
	--sb-icon: var(--sb-icon-ort);
}

.sb .sb-fakt__wert {
	font-size: var(--sb-fs-text);
	line-height: 1.65;
}

/* ---------- Bild mit Text: quadratisches Bild (Variante nur im Repo) ---------- */

.sb-bildtext--quadrat .sb-bildtext__bild {
	aspect-ratio: 1 / 1;
}

/* ---------- Offene Stellen ---------- */

.sb .sb-jobs__intro {
	max-width: 38em;
	font-size: var(--sb-fs-klein);
}

.sb .sb-jobs__bereiche {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(2.25rem, 4vw, 3.5rem);
}

.sb .sb-jobs__bereich {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sb .sb-jobs__titel {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--wp--preset--color--gold);
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: 600;
	line-height: 1.2;
}

/* Pflichtzusatz für Stellenanzeigen, steht auch im Betreff der E-Mail (inc/stellen.php) */
.sb .sb-jobs__titel::after {
	content: "(m/w/d)";
	font-size: var(--sb-fs-label);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-jobs__liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb .sb-jobs__liste li {
	margin: 0;
	border-bottom: 1px solid var(--sb-linie);
}

/* Im Editor (noch ohne E-Mail-Link) und als Link auf der Seite gleich hoch */
.sb .sb-jobs__liste li:not(:has(a)),
.sb .sb-jobs__stelle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding-block: 14px;
	font-size: var(--sb-fs-klein);
	line-height: 1.4;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.sb .sb-jobs__stelle .sb-icon {
	flex: none;
	color: var(--wp--preset--color--gold-text);
	transition: transform 0.2s ease;
}

.sb a.sb-jobs__stelle:hover {
	color: var(--wp--preset--color--gold-text);
}

.sb a.sb-jobs__stelle:hover .sb-icon {
	transform: translateX(4px);
}

.sb .sb-jobs__fuss {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-top: clamp(3.5rem, 7vw, 6rem);
}

.sb .sb-jobs__bilder {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
}

.sb .sb-jobs__bild {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--wp--preset--color--flaeche);
}

.sb .sb-jobs__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb .sb-jobs__kontakt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
	padding: clamp(1.75rem, 3.4vw, 3rem);
	background: var(--wp--preset--color--anthrazit-hell);
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb .sb-jobs__kontakt-text {
	font-size: var(--sb-fs-klein);
}

/* Telefon und E-Mail mit festem Icon */
.sb .sb-weg a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	font-size: var(--sb-fs-text);
	font-weight: 600;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.sb .sb-weg a::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--gold-text);
	-webkit-mask: var(--sb-icon, var(--sb-icon-telefon)) center / contain no-repeat;
	mask: var(--sb-icon, var(--sb-icon-telefon)) center / contain no-repeat;
}

.sb-weg--telefon {
	--sb-icon: var(--sb-icon-telefon);
}

.sb-weg--mail {
	--sb-icon: var(--sb-icon-mail);
}

.sb .sb-weg a:hover {
	color: var(--wp--preset--color--gold-text);
}

.sb .sb-jobs__kontakt .wp-block-buttons {
	margin-top: 6px;
}

@media (min-width: 990px) {
	/* Bilder so hoch wie das Bewerben-Feld daneben */
	.sb .sb-jobs__bilder {
		grid-template-rows: minmax(0, 1fr);
	}

	.sb .sb-jobs__bild {
		aspect-ratio: auto;
		min-height: 300px;
	}
}

@media (max-width: 989px) {
	.sb .sb-jobs__fuss {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 599px) {
	.sb .sb-jobs__kontakt .wp-block-buttons {
		align-self: stretch;
		flex-direction: column;
		align-items: stretch;
	}
}

/* ---------- Fehlerseite (404) ---------- */

.sb.sb-404 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding-block: 0;
}

.sb .sb-404__bild {
	position: relative;
	min-height: 46svh;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--tinte);
}

.sb .sb-404__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
}

.sb .sb-404__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 40px var(--sb-rand) 56px;
}

/* „404“: die Null ist eine Sonne, die langsam im Meer (der Linie) versinkt */
.sb .sb-404__zahl {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.06em;
	margin: 0 0 8px;
	padding: 0 0.12em;
	border-bottom: 3px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--gold-text);
	font-size: clamp(5.25rem, 11vw, 10.5rem);
	font-weight: 600;
	line-height: 0.74;
}

.sb .sb-404__null {
	position: relative;
	display: inline-block;
	width: 0.66em;
	height: 0.74em;
	/* nur unten abschneiden (Horizont), der Schein der Sonne darf nach oben und zur Seite */
	clip-path: inset(-0.5em -0.5em 0 -0.5em);
}

.sb .sb-404__sonne {
	position: absolute;
	left: 0.03em;
	bottom: 0;
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, #ffd98a 0%, #f2a33c 55%, #e0702a 100%);
	box-shadow: 0 0 0.25em rgba(242, 163, 60, 0.55);
	transform: translateY(46%);
	animation: sb-404-untergang 7s cubic-bezier(0.3, 0.1, 0.25, 1) both;
}

@keyframes sb-404-untergang {
	from {
		transform: translateY(-14%);
	}

	to {
		transform: translateY(46%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sb .sb-404__sonne {
		animation: none;
	}
}

.sb .sb-404__text .sb-text {
	max-width: 34em;
}

.sb .sb-404__text .wp-block-buttons {
	margin-top: 8px;
}

.sb .sb-404__ps {
	margin-top: 12px;
	font-size: var(--sb-fs-klein);
	line-height: 1.5;
	color: var(--wp--preset--color--text-gedaempft);
}

.sb .sb-404__ps a {
	color: var(--wp--preset--color--gold-text);
	text-underline-offset: 4px;
}

@media (min-width: 990px) {
	.sb.sb-404 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: min(84svh, 900px);
	}

	.sb .sb-404__bild {
		order: 2;
		min-height: 100%;
	}

	.sb .sb-404__text {
		order: 1;
		justify-content: center;
		padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5.5rem);
	}
}

/* ---------- Vorschau /bausteine/ (nur Staging) ---------- */

.sb-vorschau__marke {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	margin: 0;
	padding: 0.85rem var(--wp--style--root--padding-left, 1.25rem);
	background: var(--wp--preset--color--tinte);
	border-top: 2px solid var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--klein);
}

.sb-vorschau__marke span {
	color: var(--wp--preset--color--gold-text);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sb-vorschau__marke code {
	color: var(--wp--preset--color--text-gedaempft);
}

.sb-vorschau__marke em {
	margin-left: auto;
	font-style: normal;
	font-weight: 700;
}

.sb-vorschau__marke .ist-offen {
	color: var(--wp--preset--color--gold-text);
}

.sb-vorschau__marke .ist-frei {
	color: #8fce8f;
}
