/* ==========================================================================
   BlockBande – App, Tutorial, Bewerbung, iostein-Merge, Unlock im neuen Design (Leinwand „SeitenNeu“,
   23.10.2026): dunkler Kopf mit Raster wie Shop/Warenkorb (immer dunkel), eckige Karten im Graphit-Stil,
   Farben aus --k-… (hell/dunkel). Vorlagen: template-parts/seiten/*.php. Video-Grundlage aus seiten.css.
   ========================================================================== */

/* Hintergrund der ganzen Seite (seiten.css färbt diese Seiten sonst im alten Navy) */
body.bb-neu .bb-main.bb-main--seite {
	background: var(--k-bg);
}

.bbi {
	background: var(--k-bg);
	color: var(--k-text);
	font-family: var(--k-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
}

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

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

.bbi-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.bbi-ln {
	width: 16px;
	height: 16px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

.bbi-lab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #2fd36b;
	font-size: 10.5px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bbi-lab--grau {
	color: var(--k-muted);
}

.bbi-punkt {
	width: 7px;
	height: 7px;
	background: #2fd36b;
	box-shadow: 0 0 0 3px rgba(47, 211, 107, 0.25);
}

.bbi-karte {
	background: var(--k-card);
	border: 1px solid var(--k-line);
}

/* Knöpfe (Tastenkante aus kopf-fuss.css): größer, Text mittig auf Fläche + Kante */
.bbi .bbi-k {
	height: 38px;
	padding: 3px 16px 0;
	gap: 7px;
	font-size: 11.5px;
	line-height: 1;
}

.bbi .bbi-k .bbi-ln {
	width: 15px;
	height: 15px;
	margin-top: -3px;
}

.bbi .bbi-k--klein {
	height: 30px;
	padding: 3px 12px 0;
	font-size: 10.5px;
}

.bbi .bbi-k--gross {
	height: 46px;
	padding: 3px 22px 0;
	font-size: 12.5px;
}

.bbi .bbi-k--voll {
	width: 100%;
}

.bbi .bb-k--gem {
	--c: var(--k-gem);
	--d: var(--k-gem-edge);
	color: var(--k-gem-on);
}

.bbi a.bb-k,
.bbi a.bb-k:hover {
	color: #fff;
}

.bbi a.bb-k--gold,
.bbi a.bb-k--gold:hover {
	color: #1a1200;
}

/* --- Kopf (immer dunkel) ---------------------------------------------------- */

.bbi-hero {
	position: relative;
	overflow: hidden;
	background: #0b0c0f;
	border-bottom: 1px solid #1d2027;
	color: #c9cdd6;
}

.bbi-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(520px 320px at 82% 55%, rgba(47, 211, 107, 0.18), transparent 70%), radial-gradient(420px 260px at 8% 0%, rgba(42, 157, 244, 0.12), transparent 70%);
	pointer-events: none;
}

.bbi-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 32px 32px;
	pointer-events: none;
}

.bbi-hero__in {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 30px;
	align-items: center;
	padding-top: 34px;
	padding-bottom: 34px;
}

.bbi-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.bbi-hero__titel {
	margin: 0;
	color: #fff;
	font: 400 42px/1.02 var(--k-head);
}

.bbi-hero__titel em {
	font-style: normal;
	color: #2fd36b;
}

.bbi-hero__lead {
	max-width: 560px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.bbi-hero__bild {
	justify-self: end;
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 260px;
	filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
}

.bbi-hero__bild--app {
	max-height: 300px;
	margin: -10px 0 -34px;
}

.bbi-hero__bild--io {
	max-height: 120px;
}

.bbi-hero__banner {
	display: block;
	width: 100%;
	height: 170px;
	background: center / cover no-repeat;
	background-position: 18% 50%;
	border: 1px solid #2a2e37;
}

.bbi-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.bbi-stores img {
	display: block;
	width: auto;
	height: 44px;
	border: 1px solid #2a2e37;
}

.bbi-ip {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	padding: 6px 6px 6px 12px;
	border: 1px solid #2a2e37;
	background: #111317;
}

.bbi-ip span {
	color: #7d8494;
	font-size: 10.5px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bbi-ip code {
	color: #3ee07a;
	font: 800 14px var(--k-mono);
}

.bbi-knoepfe {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.bbi .bbi-textlink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 8px;
	color: #c9cdd6;
	font-size: 11.5px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.bbi .bbi-textlink:hover {
	color: #fff;
}

/* --- Inhalt ----------------------------------------------------------------------- */

.bbi-body {
	padding-top: 28px;
	padding-bottom: 80px;
}

.bbi-h2 {
	margin: 0 0 14px;
	color: var(--k-strong);
	font: 400 26px/1.1 var(--k-head);
}

.bbi-h3 {
	margin: 22px 0 10px;
	color: var(--k-strong);
	font: 400 21px/1.15 var(--k-head);
}

.bbi-text > .bbi-h3:first-child {
	margin-top: 0;
}

.bbi-text {
	padding: 22px 24px;
	font-size: 14px;
	line-height: 1.65;
}

.bbi-text p {
	margin: 0 0 12px;
}

.bbi-text b,
.bbi-text strong {
	color: var(--k-strong);
}

.bbi .bbi-text a:not(.bb-k) {
	color: var(--k-link);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bbi-text__notiz {
	margin: 18px 0 0 !important;
	padding-top: 14px;
	border-top: 1px solid var(--k-line);
	color: var(--k-muted);
	font-size: 13px;
}

ul.bbi-haken,
ul.bbi-plus {
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
}

.bbi-haken li,
.bbi-plus li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 26px;
}

.bbi-haken--weit li {
	margin-bottom: 12px;
}

.bbi-haken li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 16px;
	height: 16px;
	background: var(--k-gem) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304210d' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.bbi-plus li::before {
	content: "+";
	position: absolute;
	top: 3px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border: 1px solid var(--k-accent);
	color: var(--k-accent);
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

/* App: Vorteile */
.bbi-karten {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bbi-vorteil {
	margin: 0;
	padding: 18px 18px 20px;
}

.bbi-vorteil--gem { --fc: var(--k-gem); }
.bbi-vorteil--blau { --fc: var(--k-accent); }
.bbi-vorteil--lila { --fc: #9b7bff; }
.bbi-vorteil--gold { --fc: #f5b301; }

.bbi-vorteil__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	background: color-mix(in srgb, var(--fc) 16%, transparent);
	color: var(--fc);
}

.bbi-vorteil__icon .bbi-ln {
	width: 21px;
	height: 21px;
}

.bbi-vorteil h3 {
	margin: 0;
	color: var(--k-strong);
	font: 400 19px/1.1 var(--k-head);
}

.bbi-vorteil p {
	margin: 8px 0 0;
	font-size: 13.5px;
}

.bbi-streifen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	padding: 18px 20px;
	border-left: 3px solid #f5b301;
}

.bbi-streifen__titel {
	margin: 0;
	color: var(--k-strong);
	font: 400 21px/1.1 var(--k-head);
}

.bbi-streifen p {
	margin: 4px 0 0;
	font-size: 13.5px;
}

/* Videos (Tutorial, iostein): eckig, Play-Knopf als dunkles Quadrat */
.bbi .bb-video__play,
.bbi .bb-video iframe {
	border-radius: 0;
}

.bbi .bb-video__icon {
	width: 56px;
	height: 56px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 0;
	background: rgba(10, 11, 13, 0.78);
	box-shadow: none;
}

.bbi .bb-video__icon::after {
	border-width: 10px 0 10px 16px;
}

.bbi .bb-video__play:hover .bb-video__icon {
	background: #e5383b;
	border-color: #e5383b;
}

.bbi .bb-video__note {
	margin: 0;
	padding: 6px 14px 0;
	color: var(--k-muted);
	text-align: left;
}

.bbi-videos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.bbi-video {
	scroll-margin-top: 80px;
}

.bbi-video__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px 14px;
}

.bbi-video__text h2 {
	margin: 0;
	color: var(--k-strong);
	font: 400 19px/1.15 var(--k-head);
}

/* Bewerbung */
.bbi-dev {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 22px;
	align-items: start;
}

.bbi-form {
	padding: 22px 22px 24px;
	scroll-margin-top: 80px;
}

.bbi-form__titel {
	margin-top: 0;
}

.bbi-form__fehler {
	margin: 0 0 14px;
	padding: 10px 14px;
	border: 1px solid var(--k-err-line);
	border-left-width: 3px;
	background: var(--k-err-bg);
	color: var(--k-err-text);
	font-weight: 800;
}

.bbi-form__status h2 {
	margin: 0 0 8px;
	color: var(--k-strong);
	font: 400 26px/1.1 var(--k-head);
}

.bbi-form__status--ok {
	padding: 14px 16px;
	border-left: 3px solid var(--k-gem);
	background: var(--k-gem-bg);
}

.bbi-feld {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}

.bbi-feld label {
	color: var(--k-strong);
	font-size: 12.5px;
	font-weight: 900;
	line-height: 1.4;
}

.bbi-feld input,
.bbi-feld select {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--k-line);
	border-radius: 0;
	background: var(--k-field);
	color: var(--k-strong);
	font: 700 14px var(--k-body);
}

.bbi-feld select {
	padding-right: 34px;
	background: var(--k-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8494' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
	-webkit-appearance: none;
	appearance: none;
}

.bbi-feld input:focus,
.bbi-feld select:focus {
	border-color: var(--k-accent);
	outline: none;
}

.bbi-feld.is-fehler input,
.bbi-feld.is-fehler select {
	border-color: var(--k-danger);
	box-shadow: inset 3px 0 0 var(--k-danger);
}

.bbi-feld__fehler {
	color: var(--k-danger-text);
	font-size: 12.5px;
	font-weight: 800;
}

.bbi-check {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	margin: 6px 0 18px;
	font-size: 12px;
	line-height: 1.5;
}

.bbi-check label {
	cursor: pointer;
}

.bbi-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1.5px solid var(--k-muted);
	border-radius: 0;
	background: var(--k-field) center / 13px no-repeat;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.bbi-check input:checked {
	border-color: var(--k-gem);
	background-color: var(--k-gem);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304210d' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.bbi-check.is-fehler input {
	border-color: var(--k-danger);
	box-shadow: 0 0 0 2px rgba(201, 57, 63, 0.3);
}

/* Honeypot gegen Spam (unsichtbar, wie bisher) */
.bbi-falle {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* iostein */
.bbi-io {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 14px;
}

.bbi-io__bild {
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(closest-side, rgba(47, 211, 107, 0.18), transparent), var(--k-card);
}

.bbi-io__bild img {
	display: block;
	width: 170px;
	height: auto;
}

.bbi-io-video {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	margin-top: 14px;
}

.bbi-io-video .bb-video {
	align-self: center;
}

.bbi-io-video .bbi-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

/* Unlock */
.bbi-unlock {
	max-width: 760px;
	padding: 24px 26px 26px;
	font-size: 15px;
	line-height: 1.6;
}

.bbi-unlock__lead {
	margin: 0 0 16px;
}

.bbi-unlock__lead strong {
	color: var(--k-strong);
}

.bbi .bbi-unlock__lead a {
	color: var(--k-link);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bbi-zeile {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid var(--k-line);
	background: var(--k-field);
}

.bbi-zeile + .bbi-zeile {
	margin-top: 8px;
}

.bbi-zeile code {
	color: var(--k-gem-text);
	font: 800 13.5px/1.45 var(--k-mono);
	overflow-wrap: anywhere;
}

.bbi-kopieren {
	height: 28px;
	padding: 0 8px;
	border: 0;
	background: none;
	color: var(--k-link);
	font: 900 10.5px var(--k-body);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
}

.bbi-kopieren:hover {
	color: var(--k-strong);
}

.bbi-unlock .bbi-k--gross {
	margin-top: 18px;
}

/* --- Tablet -------------------------------------------------------------------- */

@media (max-width: 1023px) {
	.bbi-karten {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbi-videos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

/* --- Handy --------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.bbi-wrap {
		padding: 0 16px;
	}

	.bbi-hero__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-top: 20px;
		padding-bottom: 22px;
	}

	.bbi-hero__titel {
		font-size: 28px;
	}

	.bbi-hero__lead {
		font-size: 13.5px;
	}

	.bbi-hero__bild {
		justify-self: center;
		max-height: 170px;
	}

	.bbi-hero__bild--app {
		max-height: 200px;
		margin: 0 0 -22px;
	}

	.bbi-hero__bild--io {
		max-height: 80px;
	}

	.bbi-hero__banner {
		height: 110px;
	}

	.bbi-stores img {
		height: 38px;
	}

	.bbi-body {
		padding-top: 16px;
		padding-bottom: 32px;
	}

	.bbi-h2 {
		font-size: 22px;
	}

	.bbi-karten,
	.bbi-videos,
	.bbi-io,
	.bbi-io-video {
		grid-template-columns: minmax(0, 1fr);
	}

	.bbi-io__bild {
		display: none;
	}

	.bbi-streifen {
		flex-direction: column;
		align-items: flex-start;
	}

	.bbi-text,
	.bbi-form,
	.bbi-unlock {
		padding: 18px 16px;
	}

	.bbi-zeile {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.bbi-zeile .bbi-lab {
		grid-column: 1 / -1;
	}

	/* Eingabefelder 16 px, sonst zoomt iOS hinein */
	.bbi-feld input,
	.bbi-feld select {
		height: 44px;
		font-size: 16px;
	}
}
