/* kaufenIPTV: digitaler Shopfront statt Wohnzimmer.
   Hell und aufgeräumt, ein einziger Kauf-Akzent (Kauf-Rot), folgt im Dunkelmodus dem System. */

@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fragment Mono";
	src: url("../fonts/fragment-mono-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f7f7f5;
	--surface: #ffffff;
	--surface-tint: #f0f0ed;
	--ink: #141414;
	--ink-2: #4b4b47;
	--ink-3: #78786f;
	--line: #e4e3dc;
	--buy: #e63312;
	--buy-hover: #c72a0d;
	--buy-ink: #ffffff;
	--buy-rgb: 230 51 18;
	--ok: #157f4b;
	--ok-bg: #e7f6ee;
	--err: #b3261e;
	--err-bg: #fdecea;
	--radius: 10px;
	--radius-lg: 18px;
	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--head-h: 72px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--font: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #121212;
		--surface: #1a1a18;
		--surface-tint: #201f1c;
		--ink: #f3f2ee;
		--ink-2: #c7c5bc;
		--ink-3: #93918a;
		--line: #332f2a;
		--buy: #ff5a3c;
		--buy-hover: #ff7a5c;
		--buy-ink: #1a0603;
		--buy-rgb: 255 90 60;
		--ok-bg: #0f2a1d;
		--err-bg: #2d1412;
		color-scheme: dark;
	}
}

/* ---------- Grundlagen ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--head-h) + 1rem);
	scrollbar-color: var(--ink-3) var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	caret-color: var(--buy);
}

::selection { background: var(--buy); color: var(--buy-ink); }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	color: var(--ink);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.5rem + 2.9vw, 3.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.24rem; font-weight: 700; line-height: 1.25; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--ink); text-decoration-color: rgb(var(--buy-rgb) / 0.5); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--buy); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--buy); color: var(--buy-ink);
	padding: 0.75rem 1rem; border-radius: var(--radius);
	font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-main:focus { outline: none; }

.kiptv-icon { width: 1.25em; height: 1.25em; flex: none; }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	min-height: 48px; padding: 0.75rem 1.3rem;
	border-radius: var(--radius); border: 1px solid transparent;
	font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-buy { background: var(--buy); color: var(--buy-ink); }
.btn-buy:hover { background: var(--buy-hover); color: var(--buy-ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface-tint); }

.btn-compact { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-wide { width: 100%; }
.btn-label-short { display: none; }

/* ---------- Kopfbereich ---------- */

.head-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; }

.site-head {
	position: sticky; top: 0; z-index: 50;
	height: var(--head-h);
	background: rgb(247 247 245 / 0);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-head[data-scrolled="true"] {
	background: rgb(247 247 245 / 0.92);
	border-bottom-color: var(--line);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
@media (prefers-color-scheme: dark) {
	.site-head { background: rgb(18 18 18 / 0); }
	.site-head[data-scrolled="true"] { background: rgb(18 18 18 / 0.92); }
}
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }

.head-row { height: 100%; display: flex; align-items: center; gap: 2rem; }
.head-brand { flex: none; }
.head-nav { margin-left: auto; }
.head-actions { display: flex; align-items: center; gap: 0.5rem; }

.brand { display: inline-flex; align-items: baseline; gap: 0.15rem; text-decoration: none; color: var(--ink); }
.brand-tag { font-weight: 400; font-size: 1.1rem; color: var(--ink-2); }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.custom-logo { max-height: 44px; width: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; }
.nav-list a {
	color: var(--ink-2); text-decoration: none; font-weight: 600;
	padding: 0.4rem 0; border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-list a:hover { color: var(--ink); }
.nav-list [aria-current="page"],
.nav-list .current-menu-item > a { color: var(--ink); border-bottom-color: var(--buy); }

.nav-toggle {
	display: none; width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: transparent; color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.head-nav {
		position: absolute; left: 0; right: 0; top: var(--head-h);
		background: var(--surface); border-bottom: 1px solid var(--line);
		padding: 0.5rem var(--gutter) 1.25rem;
		display: none;
	}
	.head-nav.is-open { display: block; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 0.9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
	.nav-list [aria-current="page"], .nav-list .current-menu-item > a { border-bottom-color: var(--line); color: var(--buy); }
	.head-actions { margin-left: auto; }
}

@media (max-width: 520px) {
	.btn-label-long { display: none; }
	.btn-label-short { display: inline; }
	.brand-tag, .brand-name { font-size: 1rem; }
}

/* ---------- Hero ---------- */

.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background:
		linear-gradient(100deg, var(--paper) 0%, var(--paper) 38%, rgb(247 247 245 / 0.55) 60%, rgb(247 247 245 / 0.15) 100%),
		url("../images/hero.jpg") center 68% / cover no-repeat,
		var(--paper);
	margin-top: calc(var(--head-h) * -1);
	padding: calc(var(--head-h) + clamp(1.5rem, 4vh, 3.5rem)) 0 clamp(2rem, 5vh, 4rem);
}
@media (prefers-color-scheme: dark) {
	.hero { background:
		linear-gradient(100deg, var(--paper) 0%, var(--paper) 40%, rgb(18 18 18 / 0.72) 65%, rgb(18 18 18 / 0.45) 100%),
		url("../images/hero.jpg") center 68% / cover no-repeat,
		var(--paper);
	}
}

.hero-glow {
	position: absolute; z-index: -1; pointer-events: none;
	right: -12%; top: -10%; width: 60%; height: 70%;
	background: radial-gradient(closest-side, rgb(var(--buy-rgb) / 0.12), rgb(var(--buy-rgb) / 0.03) 55%, transparent);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: center;
}
.hero-copy h1 span { display: block; color: var(--ink-2); font-weight: 600; }
.hero-copy .crumbs { margin-bottom: 1.25rem; }
.hero-copy .updated { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.hero-compact { padding-top: calc(var(--head-h) + clamp(1rem, 3vw, 2rem)); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero-compact .hero-grid { align-items: start; padding-top: clamp(0.5rem, 2vh, 1.5rem); }

/* ---------- Kauf-Konfigurator ---------- */

.configurator-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.25rem, 2.5vw, 1.9rem);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.14), 0 10px 20px -12px rgb(0 0 0 / 0.08);
	display: grid; gap: 1.3rem;
}
@media (prefers-color-scheme: dark) {
	.configurator-card { box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.5), 0 10px 20px -12px rgb(0 0 0 / 0.4); }
}
.configurator-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.configurator-card legend { padding: 0; margin-bottom: 0.5rem; font-size: 0.86rem; font-weight: 600; color: var(--ink-3); }

.configurator-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.configurator-title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.configurator-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ok); background: var(--ok-bg); padding: 0.3rem 0.65rem; border-radius: 100px; }
.configurator-badge .kiptv-icon { width: 1rem; height: 1rem; }

.chip-row { display: flex; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input, .option-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span {
	display: grid; place-items: center;
	min-width: 2.9rem; height: 2.6rem; padding: 0 0.8rem;
	border: 1px solid var(--line); border-radius: var(--radius);
	font-weight: 700; font-family: var(--font-mono);
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.chip:hover > span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span,
.option-tile input:focus-visible + .option-body { outline: 3px solid var(--buy); outline-offset: 2px; }

.option-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.option-tile { position: relative; cursor: pointer; display: block; }
.option-body {
	display: grid; gap: 0.2rem; height: 100%;
	padding: 0.7rem 0.75rem 0.75rem;
	border: 1px solid var(--line); border-radius: var(--radius);
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.25s var(--ease-out);
}
.option-tile:hover .option-body { border-color: var(--ink-3); }
.option-months { font-size: 0.82rem; color: var(--ink-2); font-weight: 600; }
.option-price { font-size: 1.3rem; font-weight: 800; font-family: var(--font-mono); line-height: 1.05; }
.option-per { font-size: 0.74rem; color: var(--ink-3); font-family: var(--font-mono); }
.option-tile input:checked + .option-body { background: var(--buy); border-color: var(--buy); color: var(--buy-ink); transform: translateY(-2px); }
.option-tile input:checked + .option-body .option-months,
.option-tile input:checked + .option-body .option-per { color: rgb(255 255 255 / 0.85); }
@media (prefers-color-scheme: dark) {
	.option-tile input:checked + .option-body .option-months,
	.option-tile input:checked + .option-body .option-per { color: rgb(26 6 3 / 0.75); }
}

.configurator-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.configurator-sum { margin: 0; display: grid; gap: 0.15rem; min-width: 0; }
.configurator-sum-label { font-size: 0.88rem; color: var(--ink-2); }
.configurator-sum-price { font-size: 2.1rem; font-weight: 800; font-family: var(--font-mono); line-height: 1; color: var(--ink); }
.configurator-sum-note { font-size: 0.8rem; color: var(--ink-3); }
.configurator-sum.is-switching .configurator-sum-price { animation: price-swap 0.3s var(--ease-out); }

@keyframes price-swap {
	0% { opacity: 0.25; transform: translateY(0.25em); }
	100% { opacity: 1; transform: none; }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section-lead { max-width: 60ch; font-size: 1.12rem; margin-bottom: 2rem; color: var(--ink-2); }
.fine { font-size: 0.9rem; color: var(--ink-3); margin-top: 1.25rem; }
.fine a { color: var(--ink-2); }

/* Was ist IPTV */
.define { background: var(--surface-tint); padding-top: clamp(3.5rem, 6vw, 5rem); }
.define-inner > * { max-width: 62ch; }
.define-text { font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 400; }

/* Schritte */
.steps { background: var(--paper); }
.step-list {
	list-style: none; margin: 2.5rem 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem);
}
.step {
	position: relative; padding: 1.6rem 1.5rem;
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--surface);
}
.step-no { display: block; font-size: 0.95rem; font-weight: 800; font-family: var(--font-mono); color: var(--ink-3); margin-bottom: 1rem; }
.step-prime { border-color: rgb(var(--buy-rgb) / 0.4); background: rgb(var(--buy-rgb) / 0.04); }
.step-prime .step-no { color: var(--buy); }
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; }

/* Was Sie schauen können: Bento */
.lineup { background: var(--surface-tint); }
.bento {
	margin-top: 2.5rem;
	display: grid; gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-areas:
		"sport sport film"
		"sport sport news"
		"kids world catch";
}
.cell {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 13rem; padding: 1.6rem;
	border-radius: var(--radius-lg); border: 1px solid var(--line);
	background: var(--surface);
}
.cell h3 { margin-bottom: 0.35em; }
.cell p { margin: 0; max-width: 40ch; }
.cell-icon { width: 1.9rem; height: 1.9rem; color: var(--ink-2); margin-bottom: auto; }
.cell-mark { position: absolute; top: 1.4rem; right: 1.4rem; width: 5.5rem; height: 5.5rem; color: rgb(var(--buy-rgb) / 0.12); }

.cell-sport {
	grid-area: sport; min-height: 28rem;
	background-image:
		linear-gradient(0deg, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.28) 50%, rgb(0 0 0 / 0.05) 72%),
		url("../images/cat-sport.jpg");
	border-color: transparent;
}
.cell-sport .cell-mark { width: 11rem; height: 11rem; top: 2rem; right: 2rem; color: rgb(255 255 255 / 0.22); }
.cell-sport h3 { font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.6rem); color: #fff; }
.cell-sport p { font-size: 1.08rem; color: rgb(255 255 255 / 0.92); }
.cell-film {
	grid-area: film;
	background-image:
		linear-gradient(0deg, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.3) 48%, rgb(0 0 0 / 0.08) 75%),
		url("../images/cat-film.jpg");
	background-size: cover; background-position: center; border-color: transparent;
}
.cell-film h3, .cell-film p { color: #fff; }
.cell-figure { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; font-family: var(--font-mono); color: #fff; line-height: 1; margin: 0 0 auto !important; position: relative; z-index: 1; }
.cell-news {
	grid-area: news;
	background-image:
		linear-gradient(0deg, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.3) 48%, rgb(0 0 0 / 0.08) 75%),
		url("../images/cat-news.jpg");
	background-size: cover; background-position: center; border-color: transparent;
}
.cell-news h3, .cell-news p { color: #fff; }
.cell-news .cell-icon { color: rgb(255 255 255 / 0.92); }
.cell-kids {
	grid-area: kids;
	background-image:
		linear-gradient(0deg, rgb(0 0 0 / 0.68) 0%, rgb(0 0 0 / 0.26) 50%, rgb(0 0 0 / 0.05) 75%),
		url("../images/cat-kids.jpg");
	background-size: cover; background-position: center; border-color: transparent;
}
.cell-kids h3, .cell-kids p { color: #fff; }
.cell-kids .cell-icon { color: #fff; }
.cell-world { grid-area: world; }
.cell-catch { grid-area: catch; background: var(--surface-tint); }
.ruler {
	display: block; height: 2.2rem; margin-bottom: auto;
	background:
		linear-gradient(90deg, transparent calc(100% - 2px), var(--buy) calc(100% - 2px)) right / 32% 100% no-repeat,
		repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 12.5%) bottom / 100% 40% no-repeat,
		repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 3.125%) bottom / 100% 20% no-repeat;
	opacity: 0.9;
}

/* Geräte */
.devices { background: var(--paper); }
.devices-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.devices-intro p { max-width: 38ch; }
.device-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1.5rem; }
.device {
	display: flex; align-items: center; gap: 1rem;
	padding: 1rem 0.9rem; margin-inline: -0.9rem;
	border-radius: var(--radius); text-decoration: none;
	transition: background-color 0.2s ease;
}
.device:hover { background: var(--surface-tint); }
.device-icon { width: 2rem; height: 2rem; color: var(--ink-2); }
.device-text { display: grid; gap: 0.1rem; min-width: 0; }
.device-name { color: var(--ink); font-weight: 700; }
.device-apps { font-size: 0.9rem; color: var(--ink-3); }
.device-go { margin-left: auto; width: 1.1rem; height: 1.1rem; color: var(--ink-3); transition: transform 0.25s var(--ease-out), color 0.2s; }
.device:hover .device-go { transform: translateX(3px); color: var(--buy); }

/* Tarifmatrix */
.plans { background: var(--surface-tint); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.plan-table th, .plan-table td { text-align: left; padding: 0; }
.plan-table thead th {
	padding: 1rem 1.1rem; font-size: 0.92rem; font-weight: 600; color: var(--ink-3);
	background: var(--surface-tint); border-bottom: 1px solid var(--line);
}
.plan-table tbody th {
	padding: 1.1rem; color: var(--ink); font-weight: 700; white-space: nowrap; vertical-align: middle;
}
.plan-table tbody tr + tr { border-top: 1px solid var(--line); }
.plan-table tr.is-best { background: rgb(var(--buy-rgb) / 0.04); }
.row-tag { display: block; font-size: 0.78rem; font-weight: 600; color: var(--buy); margin-top: 0.2rem; }
.cell-link {
	display: grid; gap: 0.1rem; padding: 1rem 1.1rem;
	text-decoration: none; height: 100%;
	transition: background-color 0.2s ease;
}
.cell-link:hover { background: var(--surface-tint); }
.cell-price { font-size: 1.35rem; font-weight: 800; font-family: var(--font-mono); color: var(--ink); }
.cell-per { font-size: 0.82rem; color: var(--ink-3); font-family: var(--font-mono); }

/* Kundenstimmen */
.voices { background: var(--paper); }
.voice-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 2.5rem; }
.voice { margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.voice blockquote { margin: 0 0 1rem; }
.voice blockquote p {
	color: var(--ink); font-size: 1.1rem; line-height: 1.5; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.voice blockquote p::before { content: "„"; }
.voice blockquote p::after { content: "“"; }
.voice figcaption { display: grid; font-size: 0.92rem; }
.voice-name { color: var(--ink); font-weight: 700; }
.voice-meta { color: var(--ink-3); }

/* Häufige Fragen */
.faq { background: var(--surface-tint); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.2rem 0;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.qa-caret { width: 1.15rem; height: 1.15rem; color: var(--ink-3); transition: transform 0.3s var(--ease-out); }
.qa[open] .qa-caret { transform: rotate(180deg); color: var(--buy); }
.qa p { margin: 0 0 1.3rem; max-width: 62ch; }
.faq-more { margin: 1.4rem 0 0; }

/* Lesetext */
.reading { background: var(--paper); }
.prose { max-width: 70ch; }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-style: normal; color: var(--ink); }
.prose .lead { font-size: 1.22rem; color: var(--ink); }
.prose .note {
	background: rgb(var(--buy-rgb) / 0.06);
	border: 1px solid rgb(var(--buy-rgb) / 0.25);
	border-radius: var(--radius);
	padding: 1rem 1.2rem; color: var(--ink);
}
.prose ol {
	list-style: none; padding-left: 0; counter-reset: step;
}
.prose ol > li {
	counter-increment: step; position: relative;
	padding-left: 3rem; margin-bottom: 1rem; min-height: 2rem;
}
.prose ol > li::before {
	content: counter(step);
	position: absolute; left: 0; top: -0.1rem;
	width: 2rem; height: 2rem; display: grid; place-items: center;
	border: 1px solid var(--line); border-radius: 50%;
	font-size: 0.95rem; font-weight: 700; color: var(--ink); font-family: var(--font-mono);
}
.prose details {
	border-bottom: 1px solid var(--line); padding: 0;
}
.prose details:first-child { border-top: 1px solid var(--line); }
.prose summary {
	cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; position: relative;
	color: var(--ink); font-weight: 700; font-size: 1.1rem; list-style: none;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
	content: ""; position: absolute; right: 0.25rem; top: 50%;
	width: 0.6rem; height: 0.6rem; margin-top: -0.4rem;
	border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
	rotate: 45deg; transition: rotate 0.3s var(--ease-out);
}
.prose details[open] summary::after { rotate: 225deg; border-color: var(--buy); }
.prose details > p { margin: 0 0 1.2rem; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }

.guide .prose h2 { scroll-margin-top: calc(var(--head-h) + 1.5rem); }

/* Gerätesprung in der Anleitung */
.jump { background: var(--paper); }
.jump-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
@media (max-width: 860px) { .jump-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .jump-list { grid-template-columns: 1fr; } }
.jump-list a {
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.9rem 1rem; min-height: 48px;
	border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; font-weight: 600;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.jump-list a:hover { border-color: var(--ink-3); background: var(--surface-tint); }
.jump-list .kiptv-icon { color: var(--ink-2); }

/* Abschluss */
.close {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--surface-tint);
	padding-block: clamp(5rem, 10vw, 8.5rem);
	border-top: 1px solid var(--line);
}
.close::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(50% 75% at 50% 0%, rgb(var(--buy-rgb) / 0.08), transparent 70%);
}
.close-inner { text-align: center; }
.close h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.close p { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.12rem; }
.close-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; align-items: center; }
.close-number { color: var(--ink-3); font-size: 0.95rem; }

/* Unterseiten-Kopf */
.page-head + .section, .page-head + .section-tight + .section, .page-head + .section-tight { padding-top: clamp(1rem, 2.5vw, 2rem); }
.page-head {
	position: relative; isolation: isolate; overflow: hidden;
	background:
		linear-gradient(100deg, var(--paper) 0%, var(--paper) 30%, rgb(247 247 245 / 0.5) 58%, rgb(247 247 245 / 0.1) 100%),
		url("../images/page-head-banner.jpg") center 55% / cover no-repeat,
		var(--paper);
	padding-top: clamp(2rem, 5vw, 4rem);
}
@media (prefers-color-scheme: dark) {
	.page-head { background:
		linear-gradient(100deg, var(--paper) 0%, var(--paper) 32%, rgb(18 18 18 / 0.75) 60%, rgb(18 18 18 / 0.45) 100%),
		url("../images/page-head-banner.jpg") center 55% / cover no-repeat,
		var(--paper);
	}
}
.page-head .wrap { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 20ch; }
.page-lead { font-size: 1.2rem; max-width: 56ch; color: var(--ink-2); }
.updated, .article-meta { font-size: 0.88rem; color: var(--ink-3); margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.article-figure { margin: 0 auto 0; }
.article-figure img { border-radius: var(--radius); width: 100%; }

.crumbs ol, .crumbs .rank-math-breadcrumb p { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Ratgeber-Liste */
.posts { background: var(--paper); padding-top: 1rem; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.post-item { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.post-item.has-post-thumbnail { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); align-items: center; }
.post-thumb img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-date { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 0.4rem; }
.post-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin-bottom: 0.5rem; }
.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-decoration-color: var(--buy); }
.post-excerpt { margin: 0; max-width: 62ch; }
.pagination .nav-links { display: flex; gap: 0.5rem; margin-top: 2rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { max-width: 46ch; padding: 2rem 0 1rem; }
.empty-icon { width: 2.4rem; height: 2.4rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.empty-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Suche und 404 */
.search-form { margin-top: 2rem; max-width: 30rem; }
.search-form label { display: block; margin-bottom: 0.5rem; color: var(--ink); font-weight: 600; }
.search-row { display: flex; gap: 0.5rem; }
.search-form input[type="search"] {
	flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem;
	background: var(--surface); color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius); font: inherit;
}
.search-form input[type="search"]:focus-visible { border-color: var(--buy); outline-offset: 1px; }
.section-404 { padding-top: calc(var(--head-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.nf > * { max-width: 46rem; }
.nf-code { font-size: clamp(3rem, 2rem + 5vw, 6rem); font-weight: 800; font-family: var(--font-mono); color: var(--line); line-height: 1; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.nf-links { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Fußbereich */
.site-foot { background: var(--surface-tint); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot-brand p { margin-top: 1rem; max-width: 30ch; color: var(--ink-3); }
.foot-title { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.9rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--buy); }
.foot-extra { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-base { margin-top: 3rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; color: var(--ink-3); font-size: 0.85rem; }
.foot-base p { margin: 0; }
.foot-disclaimer { max-width: 90ch; }

/* WordPress-Kernklassen */
.alignwide { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 0.88rem; color: var(--ink-3); }
.wp-block-button__link { background: var(--buy); color: var(--buy-ink); border-radius: var(--radius); padding: 0.75rem 1.3rem; text-decoration: none; font-weight: 700; }

/* ---------- Anpassungen ---------- */

@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
	.hero-copy h1 { max-width: 20ch; }
	.hero-panel { max-width: 560px; }
	.faq-wrap, .devices-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"sport sport"
			"film news"
			"kids world"
			"catch catch";
	}
	.cell-sport { min-height: 20rem; }
	.step-list { grid-template-columns: 1fr; gap: 1.25rem; }
	.device-list { grid-template-columns: 1fr; }
	.post-item.has-post-thumbnail { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero { padding-top: calc(var(--head-h) + 1.25rem); }
	.option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.configurator-total { flex-direction: column; align-items: stretch; }
	.chip > span { min-width: 3.1em; height: 2.6em; }
	.hero-actions .btn { width: 100%; }
	.bento { grid-template-columns: 1fr; grid-template-areas: "sport" "film" "news" "kids" "world" "catch"; }
	.cell, .cell-sport { min-height: 0; }
	.cell-sport { padding-top: 9rem; }
	.cell-sport .cell-mark { width: 6.5rem; height: 6.5rem; top: 1.4rem; right: 1.4rem; }
	.cell-figure { margin-bottom: 1rem !important; }
	.cell-icon, .ruler { margin-bottom: 1rem; }
	.foot-grid { grid-template-columns: 1fr; }
	.close-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
	.option-tile input:checked + .option-body { transform: none; }
}

@media (forced-colors: active) {
	.chip input:checked + span, .option-tile input:checked + .option-body { outline: 3px solid CanvasText; }
}
