/*
 * SEELEY Mission - das Band "Unsere Mission" auf der Startseite (Karte B9,
 * Paket M3bt, Dennis 30.09.2026). Laedt nur, wo [seeley_missionsglobus]
 * steht (seeley-mission.php), zusammen mit globus.css und globus.js.
 *
 * Aufbau im Template (templates/startseite.html): .sm-band, darin der
 * Shortcode (Buehne mit Zeichenflaeche und Hinweis) und .sm-band-innen mit
 * dem Text und dem leeren Platz der Kugel (.sm-band-kugel). Die
 * Zeichenflaeche liegt ueber dem ganzen Band, die Kugel steht in ihrem
 * Platz (globus.js, band()). Vorlage: Probe "Variante C" vom 30.09.2026 -
 * Layout und Texte daraus, die Kugel die der Missionsseite.
 *
 * Groessen ueber Container-Einheiten des Bandes (cqw). Die Stile des Themes
 * wiegen (0,1,0) - jede Regel hier traegt mindestens zwei Klassen und
 * gewinnt ohne !important.
 */

/* DAS BAND STEHT IM TEMPLATE MIT hidden (Dennis 30.09.2026, wie L7: ist
   seeley-mission aus, darf kein roher Shortcode auf der Startseite
   erscheinen). Ohne dieses Plugin laedt diese Datei nicht, und hidden haelt
   das ganze Band verborgen - Text, Knopf und "[seeley_missionsglobus]".
   Mit dem Plugin zeigt display: block es (eine Regel der Seite schlaegt die
   des Browsers fuer [hidden]). */
.sm-band {
	display: block;
	position: relative;
	container-type: inline-size;
	width: 100%;
	box-sizing: border-box;
	background-color: #262626;
	color: #c5c5c5;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-weight: 300;
	/* die globalen Stile setzen body auf capitalize (P11, basis.css) */
	text-transform: none;
	overflow: clip;
	isolation: isolate;
}

/* Die Buehne (Shortcode) liegt ueber dem ganzen Band, unter dem Text */
.sm-band > .sm-globus-buehne {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.sm-band > .sm-globus-buehne > .sm-globus {
	display: block;
	width: 100%;
	height: 100%;
}

/* der Hinweis "360°": globus.js setzt seine Mitte (translate) in den
   Koordinaten der Buehne; sein Aussehen steht in globus.css */
.sm-band > .sm-globus-buehne > .sm-dreh-hinweis {
	position: absolute;
	top: 0;
	left: 0;
}

.sm-band > .sm-band-innen {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	/* M3bu: Rahmen wie das WhatsApp-Band darunter (.seeley-connect-inner,
	   1920 px, seitlich 6 %) - der Text beginnt an derselben Kante */
	max-width: 1920px;
	margin: 0 auto;
	padding: clamp(56px, 8cqw, 112px) clamp(20px, 6cqw, 96px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5cqw, 80px);
	align-items: center;
	transition: opacity 0.45s ease;
}

/* M3aj: im Anflug weicht der Text, die Kugel zoomt ueber das Band */
.sm-band.sm-anflug > .sm-band-innen {
	opacity: 0;
	pointer-events: none;
}

.sm-band .sm-band-text > * {
	margin-block: 0;
}

.sm-band .sm-band-ueber {
	/* M3bu: Schrift wie "WhatsApp Kanal" (.seeley-connect-eyebrow) */
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #e1d6a9;
}

.sm-band .sm-band-titel {
	/* M3bu: wie "Live dabei sein" (.seeley-connect-heading: 4,6cqw seines
	   Rahmens innerhalb des Rands, 30 bis 40 px) */
	margin-bottom: 14px;
	font-family: inherit;
	font-size: clamp(30px, calc((min(100cqw, 1920px) - 2 * clamp(20px, 6cqw, 96px)) * 0.046), 40px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: none;
	color: #f9f6f1;
}

.sm-band .sm-band-satz {
	max-width: 34em;
	margin-bottom: 28px;
	/* M3bu: wie der Satz darunter (.seeley-connect-text) */
	font-size: 16.5px;
	font-weight: 100;
	line-height: 1.65;
	color: rgba(249, 246, 241, 0.78);
}

/* Der Knopf: Beige wie "Monatspartner werden" auf /mission/, hebt sich beim
   Hover um 2 px; der Pfeil rueckt 4 px nach rechts wie ueberall (M3az) */
.sm-band .sm-band-knopf {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 30px;
	border-radius: 999px;
	background-color: #e1d6a9;
	color: #262626;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.sm-band .sm-band-knopf svg {
	width: 14px;
	height: 10px;
	transition: transform 0.35s cubic-bezier(0.22, 0.78, 0.22, 1);
}

@media (hover: hover) {
	.sm-band .sm-band-knopf:hover {
		transform: translateY(-2px);
	}

	.sm-band .sm-band-knopf:hover svg {
		transform: translateX(4px);
	}
}

.sm-band .sm-band-knopf:focus-visible {
	outline: 2px solid #e1d6a9;
	outline-offset: 3px;
}

/* Der Platz der Kugel: quadratisch, hoechstens 560 px */
.sm-band .sm-band-kugel {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1;
	justify-self: center;
}

/* schmal (unter 760 px Breite des Bandes): die Kugel ueber dem Text */
@container (max-width: 759px) {
	.sm-band > .sm-band-innen {
		grid-template-columns: 1fr;
	}

	.sm-band .sm-band-kugel {
		order: -1;
		max-width: 360px;
		margin-bottom: -8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm-band > .sm-band-innen,
	.sm-band .sm-band-knopf,
	.sm-band .sm-band-knopf svg {
		transition: none;
	}

	.sm-band .sm-band-knopf:hover,
	.sm-band .sm-band-knopf:hover svg {
		transform: none;
	}
}
