/*
 * Landing Page „Only Sansibar“ (0.41.0, content/seiten/only-sansibar.html, Design vom 21.11.2026): Hero mit Bild und
 * Kasten unten links, die drei Wege mit Beispielen, „White Label? Nie.“, Import, Winzer, Schluss mit Bild.
 * Lädt nur auf der Seite (inc/zeichen.php ist_zeichenseite()); Karten und Listen kommen aus weinwelt.css und shop.css.
 */

/* ---------- Zeichen als kleine Zeile: Säbel bzw. Schiff vor dem Namen ---------- */
.sb-only-zeichen {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--sb-fs-label);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.sb-only-zeichen::before {
	content: "";
	flex: none;
	width: 46px;
	height: 30px;
	background: url("../images/sansibar-saebel-glanz-140.png") center / contain no-repeat;
}

.sb-only-zeichen--import {
	color: var(--wp--preset--color--text);
	letter-spacing: 0.16em;
}

/* Schiff wie icon( 'schiff' ) in inc/icons.php, in der Textfarbe */
.sb-only-zeichen--import::before {
	width: 30px;
	height: 30px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 16.5 5 20h14l2-3.5'/%3E%3Cpath d='M5 16.5V9h14v7.5'/%3E%3Cpath d='M9 9V5h6v4'/%3E%3Cpath d='M12 9v7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 16.5 5 20h14l2-3.5'/%3E%3Cpath d='M5 16.5V9h14v7.5'/%3E%3Cpath d='M9 9V5h6v4'/%3E%3Cpath d='M12 9v7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Hero und Schluss: Bild über die ganze Fläche, Kasten darüber ---------- */
.sb.sb-only-hero,
.sb.sb-only-schluss {
	position: relative;
	display: flex;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--anthrazit-dunkel);
}

.sb.sb-only-hero {
	align-items: flex-end;
	min-height: min(720px, 86svh);
	padding-block: clamp(3rem, 7vw, 4.5rem);
}

.sb.sb-only-schluss {
	align-items: center;
	min-height: 440px;
	padding-block: clamp(3rem, 7vw, 4rem);
}

.sb-only-hero .sb-only-hero__bild,
.sb-only-schluss .sb-only-schluss__bild {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}

.sb-only-hero .sb-only-hero__bild img,
.sb-only-schluss .sb-only-schluss__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-only-hero .sb-only-hero__bild img {
	object-position: 50% 60%;
}

.sb-only-hero__inner,
.sb-only-schluss__inner {
	width: 100%;
}

.sb-only-schluss__inner {
	display: flex;
	justify-content: center;
}

.sb-only-hero__inhalt,
.sb-only-schluss__inhalt {
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	max-width: 680px;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	background: rgba(47, 49, 53, 0.92);
}

.sb-only-schluss__inhalt {
	align-items: center;
	max-width: 780px;
	text-align: center;
}

.sb-only-hero__inhalt > *,
.sb-only-schluss__inhalt > * {
	margin: 0;
}

.sb-only-hero .sb-titel--xl {
	font-size: clamp(2.375rem, 4.6vw, 3.75rem);
	font-weight: 400;
	line-height: 1.08;
}

.sb-only-schluss .sb-titel--l {
	font-weight: 400;
}

.sb-only-hero__text {
	font-size: var(--sb-fs-text);
	line-height: 1.5;
}

.sb-only-hero .wp-block-buttons,
.sb-only-schluss .wp-block-buttons {
	margin-top: 8px;
}

/* ---------- Kopf der Abschnitte ---------- */
.sb-only-kopf {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
}

.sb-only-kopf > * {
	margin: 0;
}

.sb-only-kopf__text {
	font-size: var(--sb-fs-text);
	line-height: 1.55;
}

/* ---------- Die drei Wege: nebeneinander, dazwischen „oder“ ---------- */
.sb-only-wege .sb__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 4vw, 48px);
}

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

.sb-only-weg {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	background: var(--wp--preset--color--anthrazit-hell);
	border-top: 2px solid var(--wp--preset--color--gold);
}

.sb-only-weg > * {
	margin: 0;
}

.sb-only-weg + .sb-only-weg::before {
	content: "oder";
	position: absolute;
	top: 50%;
	left: -24px;
	translate: -50% -50%;
	padding: 4px 8px;
	background: var(--wp--preset--color--anthrazit);
	color: var(--wp--preset--color--gold-text);
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
	font-style: italic;
}

.sb-only-weg__wo,
.sb-only-weg__beispiele {
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sb-only-weg__wo {
	color: var(--wp--preset--color--gold-text);
}

.sb-only-weg__beispiele {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--sb-linie);
	color: #d5d2cb;
}

.sb .sb-only-weg__titel {
	font-size: clamp(1.5rem, 2vw, 1.75rem);
	font-weight: 500;
	line-height: 1.2;
}

.sb-only-weg__text {
	font-size: var(--sb-fs-klein);
	line-height: 1.55;
}

.sb-only-beispiel {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sb-only-beispiel .sb-only-beispiel__bild {
	flex: none;
	width: 72px;
	margin: 0;
}

.sb-only-beispiel .sb-only-beispiel__bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.sb-only-beispiel__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sb-only-beispiel__text > * {
	margin: 0;
}

.sb-only-beispiel__winzer {
	color: var(--wp--preset--color--gold-text);
	font-size: calc(0.9375rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sb-only-beispiel__name {
	font-size: calc(1.0625rem * var(--wp--custom--lesegroesse));
	line-height: 1.3;
}

.sb-only-beispiel__notiz {
	color: #d5d2cb;
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
	line-height: 1.4;
}

/* ---------- White Label? Nie. ---------- */
.sb.sb-only-nie {
	background: var(--wp--preset--color--anthrazit-dunkel);
}

.sb-only-nie__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	align-items: start;
	gap: 48px;
}

.sb-only-vergleich {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.sb-only-box {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	border: 1px solid rgba(242, 240, 235, 0.35);
}

.sb-only-box > * {
	margin: 0;
}

.sb-only-box--ja {
	border-color: var(--wp--preset--color--gold);
	background: var(--wp--preset--color--anthrazit);
}

.sb-only-box__art {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sb-only-box__art::before {
	content: "";
	flex: none;
	width: 33px;
	height: 22px;
}

.sb-only-box--nein .sb-only-box__art {
	color: #d5d2cb;
}

.sb-only-box--nein .sb-only-box__art::before {
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sb-only-box--ja .sb-only-box__art {
	color: var(--wp--preset--color--gold-text);
}

.sb-only-box--ja .sb-only-box__art::before {
	background: url("../images/sansibar-saebel-glanz-140.png") center / contain no-repeat;
}

.sb .sb-only-box__titel {
	font-size: clamp(1.5rem, 2vw, 1.75rem);
	font-weight: 400;
	line-height: 1.2;
}

.sb-only-box--nein .sb-only-box__titel,
.sb-only-box--nein .sb-only-box__text {
	color: #d5d2cb;
}

.sb-only-box__text {
	font-size: var(--sb-fs-klein);
	line-height: 1.55;
}

.sb-only-box__fazit {
	font-size: var(--sb-fs-klein);
	font-weight: 600;
}

/* ---------- Import: Text links, Karten rechts ---------- */
.sb-only-import__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
	align-items: start;
	gap: 48px;
}

.sb-only-import .sb-zeichen-weine {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Winzer der Only-Sansibar-Weine ---------- */
.sb-only-winzer .sb__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.sb-zeichen-winzer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-zeichen-winzer li {
	border-top: 1px solid var(--sb-linie);
}

.sb-zeichen-winzer a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0 16px;
	color: inherit;
	text-decoration: none;
}

.sb-zeichen-winzer__name {
	font-size: var(--sb-fs-klein);
	line-height: 1.3;
}

.sb-zeichen-winzer__ort {
	color: #d5d2cb;
	font-size: calc(1rem * var(--wp--custom--lesegroesse));
}

.sb-zeichen-winzer a:hover .sb-zeichen-winzer__name,
.sb-zeichen-winzer a:focus-visible .sb-zeichen-winzer__name {
	color: var(--wp--preset--color--gold-text);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Tablet und Handy ---------- */
@media (max-width: 989px) {
	.sb-only-wege__liste,
	.sb-only-nie__raster,
	.sb-only-import__raster {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-only-wege__liste {
		gap: 44px;
	}

	.sb-only-weg + .sb-only-weg::before {
		top: -22px;
		left: 50%;
		translate: -50% -50%;
	}

	.sb-zeichen-winzer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.sb-only-weg,
	.sb-only-box {
		padding: 24px 20px;
	}

	.sb-only-import .sb-zeichen-weine {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
