/* ==========================================================================
   twitchapp Theme – Dark Gaming Look
   Alle Farben zentral als CSS-Variablen (Customizable im Customizer)
   ========================================================================== */

:root {
	--accent: #00e5ff;
	--accent2: #a855f7;
	--bg: #0a0e14;
	--surface: #151b26;
	--surface-2: #1c2432;
	--text: #e6e9f0;
	--text-muted: #9aa3b2;
	--border: rgba(255, 255, 255, 0.08);
	--radius: 14px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--max: 1180px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

img { max-width: 100%; height: auto; border-radius: var(--radius); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; padding: 10px 16px;
	background: var(--accent); color: #000; z-index: 1000;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 14, 20, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
/* Unter der WP-Admin-Bar andocken, sonst wird der Header beim Scrollen überdeckt */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-title { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.site-title:hover { color: var(--text); }
.logo-glow {
	color: var(--accent);
	text-shadow: 0 0 12px var(--accent), 0 0 30px var(--accent2);
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}
.custom-logo { max-height: 56px; width: auto; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-navigation a {
	display: block; padding: 8px 14px; border-radius: 8px;
	color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--text); background: var(--surface-2); }
.main-navigation .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--accent); }

.header-social, .footer-social { display: flex; gap: 10px; }
.social-link { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--surface-2); align-items: center; justify-content: center; }
.social-icon::before { content: "◈"; color: var(--accent); font-size: 15px; }
.social-twitch .social-icon::before { content: "▶"; }
.social-youtube .social-icon::before { content: "▸"; }
.social-discord .social-icon::before { content: "◆"; }
.social-x .social-icon::before { content: "𝕏"; }
.social-instagram .social-icon::before { content: "◎"; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: 110px 0 90px;
	background:
		radial-gradient(640px 340px at 15% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
		radial-gradient(760px 400px at 88% 8%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 70%);
	text-align: center;
	border-bottom: 1px solid var(--border);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 0%, transparent 72%);
	opacity: 0.5;
}
.hero-inner { position: relative; }
.hero-kicker {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 6px 16px; border-radius: 999px;
	border: 1px solid var(--border); background: var(--surface);
	color: var(--accent); font-size: 0.8rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.12em;
}
.hero-kicker-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.hero-title {
	font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin: 20px 0 12px;
	background: linear-gradient(100deg, var(--text) 20%, var(--accent) 55%, var(--accent2) 85%, var(--text));
	background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: heroGradient 9s ease-in-out infinite;
}
@keyframes heroGradient {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
.hero-subtitle { max-width: 660px; margin: 0 auto 30px; color: var(--text-muted); font-size: 1.12rem; }

/* Hero-Statistiken */
.hero-stats {
	display: flex; justify-content: center; margin-top: 52px;
	flex-wrap: wrap;
}
.hero-stat { padding: 4px 36px; border-left: 1px solid var(--border); }
.hero-stat:first-child { border-left: 0; }
.hero-stat b {
	display: block; font-size: 1.6rem; font-weight: 900;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat span { color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 640px) {
	.hero-stat { padding: 4px 20px; }
}

.btn {
	display: inline-block; padding: 13px 30px; border-radius: 10px;
	font-weight: 700; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-neon {
	background: linear-gradient(100deg, var(--accent), var(--accent2)); color: #05080d;
	box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn-neon:hover { color: #05080d; transform: translateY(-2px); box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 60%, transparent); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
	border: 1px solid var(--border); color: var(--text);
	background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Feature-Karten (unter dem Hero) ---------- */
.features-strip {
	margin-top: -1px;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent), transparent);
}
.features-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px; padding-top: 44px; padding-bottom: 44px;
	counter-reset: feat;
}
.feature-card {
	position: relative; padding: 30px 26px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
	counter-increment: feat;
}
.feature-card::before {
	content: "0" counter(feat);
	position: absolute; top: 22px; right: 24px;
	font-size: 1.05rem; font-weight: 900; letter-spacing: 0.04em;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: 0.85;
}
.feature-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--accent) 55%, transparent);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.12rem; padding-right: 44px; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CTA-Banner (Startseite unten) ---------- */
.cta-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	margin-top: 48px; padding: 40px 44px;
	border-radius: var(--radius); border: 1px solid var(--border);
	background:
		radial-gradient(400px 200px at 10% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
		radial-gradient(400px 200px at 95% 100%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 70%),
		var(--surface);
}
.cta-inner h2 { margin: 0 0 6px; font-size: 1.6rem; }
.cta-inner p { margin: 0; color: var(--text-muted); max-width: 560px; }
@media (max-width: 640px) { .cta-banner { padding: 30px 24px; } }

/* ---------- Sektionen ---------- */
.section-title { font-size: 1.7rem; margin: 56px 0 22px; }
.section-title::after {
	content: ""; display: block; width: 64px; height: 3px; margin-top: 10px;
	background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px;
}

.intro-content { padding-top: 0; }
.intro-content h1, .intro-content h2 { margin: 88px 0 24px; }
.intro-content h2 { font-size: 1.5rem; }

.intro-content h3 { margin: 56px 0 16px; }
.intro-content p { margin: 0 0 26px; line-height: 1.9; }
.intro-content ul, .intro-content ol { margin: 0 0 26px; line-height: 1.9; }
.intro-content .tools-grid { margin-top: 24px; }
/* Ankerziele nicht unter den sticky Header springen lassen */
[id] { scroll-margin-top: 96px; }
.intro-content .features-grid { padding-top: 24px; padding-bottom: 0; gap: 22px; }
.intro-content.content-area { padding-bottom: 0; }
.category-hub .section-title, .latest-posts .section-title, .start-hier .section-title { margin-top: 88px; }
/* „Starte hier"-Schrittpfad (per Shortcode im Seiteninhalt) */
.intro-content .section-title { font-size: 1.7rem; }
.start-hier .features-grid { padding-top: 24px; padding-bottom: 0; gap: 22px; }
.start-hier .feature-card { display: block; color: inherit; text-decoration: none; }
.start-hier .feature-card h3 { color: var(--text); }
.start-hier .feature-card p { margin-bottom: 14px; }
.start-hier .step-more { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ---------- Schritte-Pfad [twitchapp_pfad] ---------- */
.pfad-intro { color: var(--text-muted); max-width: 720px; }
.pfad-liste { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pfad-schritt {
	display: flex; gap: 20px; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
	padding: 22px 24px; position: relative;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.pfad-schritt:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); transform: translateY(-2px); }
.pfad-nummer {
	flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 0.95rem; color: #04121a;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.pfad-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pfad-titel { color: var(--text); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.pfad-titel:hover { color: var(--accent); }
.pfad-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.pfad-btn { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: 4px; }
.pfad-btn:hover { text-decoration: underline; }
@media (max-width: 560px) {
	.pfad-schritt { gap: 14px; padding: 18px; }
	.pfad-nummer { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* ---------- Kategorie-Hubs ---------- */
.category-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px; padding-bottom: 12px;
}
.category-card {
	position: relative; display: block; padding: 26px 22px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--text); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover {
	transform: translateY(-4px); border-color: var(--accent); color: var(--text);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px color-mix(in srgb, var(--accent) 22%, transparent);
}
.category-card h3 { margin: 8px 0 8px; font-size: 1.25rem; }
.category-card p { margin: 0 0 14px; color: var(--text-muted); font-size: 0.95rem; }
.category-icon {
	display: block; font-size: 2rem; line-height: 1; margin-bottom: 12px;
}
.category-count {
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--accent);
}
.category-link { font-weight: 700; color: var(--accent); font-size: 0.95rem; }

/* ---------- Post-Grid / Karten ---------- */
.post-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px; margin-bottom: 40px;
}
.post-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.card-thumb { display: block; aspect-ratio: 16/10; background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card-thumb-placeholder {
	display: flex; align-items: center; justify-content: center; height: 100%;
	font-family: ui-monospace, monospace; font-size: 2rem; color: var(--accent); opacity: .5;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat a {
	font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--accent2);
}
.card-title { margin: 8px 0; font-size: 1.15rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 14px; flex: 1; }
.card-meta {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 0.85rem; color: var(--text-muted);
	border-top: 1px solid var(--border); padding-top: 12px;
}
.card-more { font-weight: 700; }

/* ---------- Layout mit Sidebar ---------- */
.layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
@media (min-width: 960px) {
	.has-sidebar .layout, .layout:has(.sidebar) { grid-template-columns: minmax(0, 1fr) 320px; }
}
.sidebar .widget {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 22px; margin-bottom: 22px;
}
.widget-title, .widget .wp-block-heading {
	margin-top: 0; font-size: 1.02rem;
	text-transform: uppercase; letter-spacing: 0.06em;
}
.widget-title::after, .widget .wp-block-heading::after {
	content: ""; display: block; width: 40px; height: 2px; margin-top: 8px;
	background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.widget li:last-child { border-bottom: 0; }
.widget li::before { content: "›"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.widget a { color: var(--text-muted); }
.widget a:hover { color: var(--accent); }
.widget select, .widget input[type="text"], .widget input[type="email"] {
	width: 100%; padding: 10px 12px; background: var(--surface-2);
	border: 1px solid var(--border); border-radius: 8px; color: var(--text);
}
.widget .wp-block-categories-list li::before, .widget .wp-block-archives-list li::before { content: "›"; }

/* Block-Such-Widget (wp-block-search) im Theme-Look */
.wp-block-search__label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.wp-block-search__inside-wrapper {
	display: flex; gap: 8px; border: 0; padding: 0;
}
.wp-block-search__input {
	flex: 1; min-width: 0; padding: 11px 14px;
	background: var(--surface-2) !important; border: 1px solid var(--border) !important;
	border-radius: 10px; color: var(--text) !important; font-family: inherit;
}
.wp-block-search__input:focus {
	outline: none; border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.wp-block-search__button {
	padding: 11px 18px; border: 0; border-radius: 10px; cursor: pointer;
	background: linear-gradient(100deg, var(--accent), var(--accent2)) !important;
	color: #05080d !important; font-weight: 800; font-family: inherit;
}
.wp-block-search__button:hover { opacity: .92; }

/* TL;DR / „In Kürze"-Box am Artikelanfang */
.tldr-box {
	position: relative; margin: 28px 0; padding: 20px 24px 20px 58px;
	background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--accent2) 12%, transparent));
	border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
	border-radius: var(--radius);
}
.tldr-box::before {
	content: "⚡"; position: absolute; left: 20px; top: 18px; font-size: 1.4rem;
}
.tldr-box strong { color: var(--accent); }
.tldr-box p { margin: 0; }

/* ---------- Einzelbeitrag / Seiten ---------- */
.content-area { padding-bottom: 48px; }
.page-content, .error-404 { padding-top: 48px; }
.page-content:has(.calc) { max-width: none; }
.post-header { margin-bottom: 28px; }
.post-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 10px 0 8px; }
.post-meta { color: var(--text-muted); font-size: 0.9rem; }
.meta-sep { margin: 0 8px; }
.affiliate-disclaimer {
	display: inline-block; margin-top: 12px; padding: 6px 12px;
	background: var(--surface); border: 1px dashed var(--border); border-radius: 8px;
	font-size: 0.8rem; color: var(--text-muted);
}
.post-featured {
	margin: 0 0 28px;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}
.post-featured img {
	width: 100%; height: 100%;
	object-fit: cover; border-radius: 0;
	display: block;
}
@media (max-width: 640px) {
	.post-featured { aspect-ratio: 16 / 9; }
}
.post-content h2 { margin-top: 42px; font-size: 1.5rem; }
.post-content h3 { margin-top: 32px; font-size: 1.2rem; }
.post-content ul li, .post-content ol li { margin-bottom: 8px; }
.post-content blockquote {
	margin: 28px 0; padding: 18px 22px;
	background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--text-muted);
}
.post-content { overflow-wrap: break-word; }
.post-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.post-content th, .post-content td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.post-content th { background: var(--surface-2); }
.post-content code {
	background: var(--surface-2); padding: 2px 7px; border-radius: 6px;
	font-size: 0.9em; color: var(--accent);
}
.post-tags a {
	display: inline-block; padding: 4px 12px; margin: 2px;
	background: var(--surface-2); border-radius: 999px; font-size: 0.8rem; color: var(--text-muted);
}

/* ---------- Affiliate-Produktboxen (für Bestenlisten) ---------- */
.product-box {
	position: relative;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 26px 24px; margin: 32px 0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.product-box h4 { margin: 0 0 8px; font-size: 1.2rem; }
.product-box p { margin: 0 0 16px; color: var(--text-muted); }
.product-box::after { content: ""; display: block; clear: both; }
.product-box-img { float: right; width: 200px; height: auto; margin: 0 0 14px 22px; border-radius: 10px; }
@media (max-width: 640px) {
	.product-box-img { float: none; display: block; width: 100%; max-width: 280px; margin: 0 auto 16px; }
}
.product-badge {
	position: absolute; top: -13px; left: 20px;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	color: #05080d; font-weight: 800; font-size: 0.75rem; text-transform: uppercase;
	letter-spacing: 0.08em; padding: 4px 14px; border-radius: 999px;
}
.affiliate-button {
	display: inline-block; padding: 12px 26px; border-radius: 10px;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	color: #05080d !important; font-weight: 800;
	transition: transform .15s ease, box-shadow .15s ease;
}
.affiliate-button:hover { transform: translateY(-2px); box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Produkt-Kartengrid (Bestenlisten, mehrere Produkte nebeneinander) */
.product-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px; margin: 28px 0;
}
.product-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 24px 22px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--accent) 55%, transparent);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.product-card img { border-radius: 10px; margin-bottom: 16px; aspect-ratio: 4/3; object-fit: cover; }
.product-card-badge {
	align-self: flex-start; margin-bottom: 12px;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	color: #05080d; font-weight: 800; font-size: 0.72rem; text-transform: uppercase;
	letter-spacing: 0.08em; padding: 4px 12px; border-radius: 999px;
}
.product-card h4 { margin: 0 0 6px; font-size: 1.1rem; }
.product-card .product-card-text { margin: 0 0 14px; color: var(--text-muted); font-size: 0.92rem; flex: 1; }
.product-card .product-card-price { font-weight: 800; font-size: 1.05rem; color: var(--accent); margin-bottom: 14px; }
.product-card .affiliate-button { text-align: center; }

/* Fazit-Box am Artikelende */
.fazit-box {
	position: relative; margin: 36px 0; padding: 26px 28px 26px 70px;
	background: var(--surface);
	border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
	border-radius: var(--radius);
	box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 12%, transparent);
}
.fazit-box::before {
	content: "✓"; position: absolute; left: 22px; top: 22px;
	width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	color: #05080d; font-size: 1.1rem; font-weight: 900;
	box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 40%, transparent);
}
.fazit-box .fazit-titel {
	display: block; margin-bottom: 6px;
	font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.fazit-box h3 { margin: 0 0 10px; }
.fazit-box p { margin: 0 0 10px; }
.fazit-box p:last-child { margin-bottom: 0; }

/* ---------- Bits- & Sub-Rechner ---------- */
.calc {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	margin: 32px 0; overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.calc-tabs { display: flex; border-bottom: 1px solid var(--border); }
.calc-tab {
	flex: 1; padding: 16px 20px; border: 0; cursor: pointer;
	background: transparent; color: var(--text-muted);
	font-family: inherit; font-size: 1rem; font-weight: 700;
	transition: color .15s ease, background .15s ease;
}
.calc-tab:hover { color: var(--text); }
.calc-tab.is-active {
	color: var(--accent); background: var(--surface-2);
	box-shadow: inset 0 -3px 0 var(--accent);
}
.calc-panel { display: none; padding: 26px 26px 18px; }
.calc-panel.is-active { display: block; }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .calc-grid { grid-template-columns: 1fr 1fr; } }

.calc-field { display: block; margin-bottom: 16px; }
.calc-field span {
	display: block; margin-bottom: 6px;
	font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--text-muted);
}
.calc-field input, .calc-field select {
	width: 100%; padding: 12px 14px;
	background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
	color: var(--text); font-family: inherit; font-size: 1.05rem; font-weight: 700;
}
.calc-field input:focus, .calc-field select:focus {
	outline: none; border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.calc-sub-tier { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }

.calc-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.calc-quick span { font-size: 0.85rem; color: var(--text-muted); }
.calc-quick-btn {
	padding: 7px 14px; border-radius: 999px; cursor: pointer;
	background: var(--surface-2); border: 1px solid var(--border);
	color: var(--text-muted); font-family: inherit; font-size: 0.85rem; font-weight: 700;
	transition: all .15s ease;
}
.calc-quick-btn:hover { border-color: var(--accent); color: var(--accent); }

.calc-results {
	background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
	padding: 8px 20px;
	align-self: start;
}
.calc-row {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 12px 0; border-bottom: 1px solid var(--border);
	font-size: 0.95rem;
}
.calc-row:last-child { border-bottom: 0; }
.calc-row span { color: var(--text-muted); flex: 1 1 auto; min-width: 0; }
.calc-row b { font-weight: 800; text-align: right; flex-shrink: 0; }
.calc-row-highlight[data-state="empty"] b {
	background: none; color: var(--text-muted); -webkit-text-fill-color: var(--text-muted);
	font-size: 0.95rem; font-weight: 600; white-space: normal;
}
.calc-row-highlight {
	margin: 4px -20px 0; padding: 16px 20px;
	background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent2) 16%, transparent));
	border-radius: 0 0 12px 12px; border-bottom: 0;
}
.calc-row-highlight span { color: var(--text); font-weight: 700; }
.calc-row-highlight b {
	font-size: 1.25rem;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-bar {
	height: 8px; margin: 16px 0 6px;
	background: var(--surface); border-radius: 999px; overflow: hidden;
}
.calc-bar-fill {
	height: 100%; width: 0; border-radius: 999px;
	background: linear-gradient(90deg, var(--accent), var(--accent2));
	transition: width .4s ease;
}
.calc-bar-label { margin: 0 0 12px; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.calc-note { margin: 16px 0 0; font-size: 0.82rem; color: var(--text-muted); }

/* Checkbox-Feld & Status-Farben (Bandbreiten-Rechner) */
.calc-check { display: flex; align-items: center; gap: 10px; }
.calc-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc-check-label {
	font-size: 0.92rem !important; font-weight: 600 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	color: var(--text) !important; margin-bottom: 0 !important;
}
.calc-row-highlight[data-state="ok"] b { background: none; color: #22c55e; -webkit-text-fill-color: #22c55e; }
.calc-row-highlight[data-state="warn"] b { background: none; color: #eab308; -webkit-text-fill-color: #eab308; }
.calc-row-highlight[data-state="bad"] b { background: none; color: #ef4444; -webkit-text-fill-color: #ef4444; }

/* Vor-/Nachteile-Listen */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros, .cons { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--border); }
.pros { border-top: 3px solid #22c55e; }
.cons { border-top: 3px solid #ef4444; }
.pros ul, .cons ul { margin: 8px 0 0; padding-left: 20px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
/* Kompakte Pro/Contra innerhalb von Runner-up-Karten */
.pros-cons.compact { gap: 10px; margin: 0 0 14px; }
.pros-cons.compact .pros, .pros-cons.compact .cons {
	padding: 10px 12px; border-top-width: 2px;
	background: color-mix(in srgb, var(--surface-2) 60%, transparent);
}
.pros-cons.compact strong { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pros-cons.compact ul { padding-left: 16px; font-size: 0.8rem; line-height: 1.5; }
.pros-cons.compact li { margin-bottom: 2px; }
/* In Karten immer untereinander stapeln (zweispaltig zu schmal bei ~300px Kartenbreite) */
.product-card .pros-cons.compact { grid-template-columns: 1fr; }

/* ---------- Inhaltsverzeichnis (Artikel-Sidebar) ---------- */
@media (min-width: 960px) {
	.sidebar-single {
		position: sticky; top: 96px; align-self: start;
		max-height: calc(100vh - 120px); overflow-y: auto;
		scrollbar-width: none; /* Firefox */
	}
	.sidebar-single::-webkit-scrollbar { display: none; }
}
.toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-list li { padding: 0; border-bottom: 0; }
.toc-list li::before { content: none; }
.toc-list a {
	display: block; padding: 8px 0 8px 16px;
	border-left: 2px solid var(--border);
	color: var(--text-muted); font-size: 0.92rem; line-height: 1.4;
	transition: color .15s ease, border-color .15s ease;
}
.toc-list li.toc-h3 { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.toc-list li.toc-h3.is-visible { max-height: 70px; }
.toc-list li.toc-h3 a { padding-left: 32px; font-size: 0.87rem; }
.toc-list a:hover { color: var(--accent); }
.toc-list a.is-active {
	color: var(--accent); border-left-color: var(--accent); font-weight: 700;
	background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent);
	border-radius: 0 8px 8px 0;
}
@media (max-width: 959px) {
	.sidebar-single { order: -1; }
	.sidebar-single .widget:not(.toc-box) { display: none; }
}

/* ---------- Rank-Math-FAQ als schlanke Accordion-Liste ---------- */
.rank-math-faq { margin: 28px 0; }
.rank-math-faq-item, .rank-math-list-item {
	border-top: 1px solid var(--border);
	padding: 0; margin: 0; list-style: none;
}
.rank-math-faq-item:last-child, .rank-math-list-item:last-child { border-bottom: 1px solid var(--border); }
.rank-math-question {
	position: relative; margin: 0 !important; padding: 20px 44px 20px 0 !important;
	font-size: 1.05rem !important; font-weight: 600; line-height: 1.45;
	cursor: pointer; user-select: none; color: var(--text) !important;
	background: none !important;
	transition: color .15s ease;
}
.rank-math-question:hover { color: var(--accent) !important; }
.rank-math-question::after {
	content: ""; position: absolute; right: 6px; top: 50%;
	width: 18px; height: 18px;
	transform: translateY(-50%);
	background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") no-repeat center / contain;
	transition: transform .25s ease;
}
.rank-math-faq-item.is-open .rank-math-question,
.rank-math-list-item.is-open .rank-math-question { color: var(--accent) !important; }
.rank-math-faq-item.is-open .rank-math-question::after,
.rank-math-list-item.is-open .rank-math-question::after { transform: translateY(-50%) rotate(180deg); }
.rank-math-answer {
	max-height: 0; overflow: hidden;
	transition: max-height .3s ease;
	padding: 0 44px 0 0;
}
.rank-math-faq-item.is-open .rank-math-answer,
.rank-math-list-item.is-open .rank-math-answer { max-height: 1200px; }
.rank-math-answer p { margin: 0 0 20px; color: var(--text-muted); }

/* ---------- Ähnliche Artikel ---------- */
.related-posts { padding-bottom: 24px; }
.related-posts .section-title { margin-top: 8px; }

/* ---------- Archive ---------- */
.archive-header {
	margin-bottom: 30px; padding: 30px 32px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
	border: 1px solid var(--border); border-radius: var(--radius);
	position: relative; overflow: hidden;
}
.archive-header::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
	background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.archive-kicker {
	display: inline-block; font-size: 0.75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
	margin-bottom: 8px;
}
.archive-title { font-size: 2.1rem; margin: 0 0 10px; }
.archive-title span { color: var(--accent); }
.archive-description { color: var(--text-muted); max-width: 720px; margin-bottom: 16px; line-height: 1.7; }
.archive-description p { margin: 0; }
.archive-count {
	display: inline-block; font-size: 0.8rem; font-weight: 700;
	color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
	border-radius: 999px; padding: 4px 14px;
}
/* Kategorie-Sidebar: eigene Navigation + neueste Artikel */
.archive-cat-nav { list-style: none; margin: 0; padding: 0; }
.archive-cat-nav li::before, .archive-latest li::before { content: none; }
.archive-cat-nav li { border-bottom: 1px solid var(--border); }
.archive-cat-nav li:last-child { border-bottom: 0; }
.archive-cat-nav a {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 10px 4px; color: var(--text-muted); text-decoration: none;
	transition: color .15s ease;
}
.archive-cat-nav a:hover { color: var(--accent); }
.archive-cat-nav .is-active a { color: var(--accent); font-weight: 700; }
.archive-cat-count {
	font-size: 0.75rem; color: var(--text-muted);
	background: var(--surface-2); border-radius: 999px; padding: 2px 10px;
}
.archive-cat-nav .is-active .archive-cat-count { color: var(--accent); }
.archive-latest { list-style: none; margin: 0; padding: 0; }
.archive-latest li { padding-left: 0; }
.archive-latest li { border-bottom: 1px solid var(--border); }
.archive-latest li:last-child { border-bottom: 0; }
.archive-latest a {
	display: block; padding: 10px 4px; color: var(--text-muted);
	text-decoration: none; font-size: 0.92rem; line-height: 1.45;
	transition: color .15s ease;
}
.archive-latest a:hover { color: var(--accent); }

/* ---------- Pagination / Navigation ---------- */
.pagination, .post-navigation { margin: 36px 0; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination a, .pagination span {
	padding: 8px 16px; border-radius: 8px; background: var(--surface);
	border: 1px solid var(--border); color: var(--text-muted); font-weight: 600;
}
.pagination .current { background: var(--surface-2); color: var(--accent); border-color: var(--accent); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-navigation a {
	display: block; padding: 16px 20px; background: var(--surface);
	border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
}
.post-navigation a span { display: block; font-size: 0.78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post-navigation .nav-next { text-align: right; }

/* ---------- Kommentare ---------- */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 18px 20px; margin-bottom: 14px;
}
.comment-form input:not([type="submit"]), .comment-form textarea {
	width: 100%; padding: 12px 14px; margin-bottom: 12px;
	background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
	color: var(--text); font-family: inherit;
}
.comment-form .submit {
	padding: 12px 26px; border: 0; border-radius: 10px; cursor: pointer;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	color: #05080d; font-weight: 800;
}

/* ---------- Suche ---------- */
.search-form { display: flex; gap: 8px; margin: 20px 0; }
.search-form .search-field {
	flex: 1; padding: 12px 16px; background: var(--surface);
	border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.search-form .search-submit {
	padding: 12px 22px; border: 0; border-radius: 10px; cursor: pointer;
	background: linear-gradient(100deg, var(--accent), var(--accent2)); color: #05080d; font-weight: 800;
}

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding-bottom: 80px; }
.error-code {
	font-size: 6rem; font-weight: 900; margin: 0;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #070a10; margin-top: 40px; }
.footer-widgets {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px; padding: 48px 0 24px;
}
.footer-widgets .widget { background: none; border: 0; padding: 0; }
.footer-bottom { padding: 20px 0 36px; border-top: 1px solid var(--border); text-align: center; }
.footer-nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.affiliate-note { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { justify-content: center; margin: 14px 0; }
.copyright { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.menu-toggle { display: block; }
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--bg); border-bottom: 1px solid var(--border);
		display: none;
	}
	.main-navigation.is-open { display: block; }
	.main-navigation ul { flex-direction: column; padding: 12px 20px 20px; }
	.header-social { display: none; }
	.hero { padding: 64px 0 48px; }
}

/* ============ Tool-Karten (Rechner-Grid) ============ */
.tools-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 56px 24px;
	margin: 56px 0 24px;
}
.tools-grid-hint {
	padding: 12px 16px;
	background: var(--surface);
	border: 1px dashed var(--accent);
	border-radius: 10px;
	font-size: 0.9rem;
}
.tool-card {
	position: relative;
	display: block;
	flex: 1 1 260px;
	max-width: 400px;
	border-radius: 16px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent2) 14%, var(--surface)) 0%, var(--surface) 55%);
	border: 1px solid color-mix(in srgb, var(--accent2) 38%, var(--border));
	padding: 50px 20px 22px;
	text-decoration: none;
	color: var(--text);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tool-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 22%, transparent);
	color: var(--text);
}
.tool-icon {
	position: absolute;
	top: -34px;
	left: 50%;
	transform: translateX(-50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--surface-2);
	border: 2px solid var(--accent);
	box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent), 0 8px 20px rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.tool-icon img {
	width: 66%;
	height: 66%;
	object-fit: contain;
}
.tool-icon-fallback { font-size: 1.7rem; line-height: 1; }
.tool-card-body {
	display: block;
	padding: 10px 4px 0;
	text-align: center;
}
.tool-card-title {
	display: block;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text);
}
.tool-card-desc {
	display: block;
	margin-top: 6px;
	color: var(--text-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

/* ============ Bandbreiten-Rechner: Warnung, Presets, Aktionen ============ */
.calc-warn {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 10px;
	background: rgba(234, 179, 8, 0.12);
	border: 1px solid rgba(234, 179, 8, 0.45);
	color: #fbbf24;
	font-size: 0.92rem;
	line-height: 1.5;
}
.calc-warn strong { display: block; margin-bottom: 2px; }
.calc-warn span { color: var(--text-muted); }

/* Mini-Banner: interner CTA auf andere Artikel ([twitchapp_minibanner]) */
.mini-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 26px 0;
	padding: 14px 18px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 60%);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: 12px;
}
.mini-banner-icon { flex: 0 0 auto; font-size: 1.5rem; line-height: 1; }
.mini-banner-body { display: block; flex: 1 1 auto; min-width: 0; }
.mini-banner-titel { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 2px; }
.mini-banner-text { display: block; font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }
.mini-banner-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent);
	border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
	border-radius: 8px;
	padding: 8px 14px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.mini-banner-btn:hover { background: var(--accent); color: #04121a; }
@media (max-width: 560px) {
	.mini-banner { flex-wrap: wrap; }
	.mini-banner-btn { width: 100%; text-align: center; }
}

.bw-presets { margin-top: 24px; }
.bw-presets-title { margin: 0 0 12px; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.bw-presets-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, auto);
	grid-auto-flow: column;
	gap: 10px;
}
@media (max-width: 480px) {
	.bw-presets-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}
.bw-preset {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 8px;
	padding: 12px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	color: var(--text);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.bw-preset:hover { border-color: var(--accent); }
.bw-preset.is-active {
	border-color: var(--accent);
	background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.bw-preset b { font-size: 0.95rem; grid-column: 1; }
.bw-preset span { grid-column: 1; color: var(--text-muted); font-size: 0.82rem; }
.bw-preset i {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-style: normal;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.calc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}
.calc-action-btn {
	padding: 10px 18px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.calc-action-btn:hover { border-color: var(--accent); color: var(--accent); }

.calc-embed {
	margin-top: 16px;
	padding: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
}
.calc-embed p { margin: 0 0 10px; color: var(--text-muted); font-size: 0.9rem; }
.calc-embed textarea {
	width: 100%;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px;
	font-family: monospace;
	font-size: 0.82rem;
	resize: vertical;
	margin-bottom: 10px;
}

/* ============ Druckansicht: nur der Rechner (wird per JS in .calc-print-host verschoben) ============ */
@media print {
	body.calc-printing > *:not(.calc-print-host) { display: none !important; }
	body.calc-printing { background: #fff !important; }
	.calc-print-host .calc {
		background: #fff !important; border: none !important; box-shadow: none !important;
	}
	.calc-print-host .bw-presets, .calc-print-host .calc-actions,
	.calc-print-host .calc-embed, .calc-print-host .calc-note { display: none !important; }
	.calc-print-host .calc-results { background: #fff !important; border-color: #ddd !important; }
	.calc-print-host .calc-row { color: #000 !important; border-color: #ddd !important; }
	.calc-print-host .calc-row span, .calc-print-host .calc-row b {
		color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important;
	}
	.calc-print-host .calc-row-highlight { background: #f3f4f6 !important; }
	.calc-print-host .calc-tab { color: #000 !important; }
	.calc-print-host .calc-field span { color: #333 !important; }
	.calc-print-host .calc-field input, .calc-print-host .calc-field select {
		background: #fff !important; color: #000 !important; border-color: #999 !important;
	}
}

/* ============ Bandbreiten-Rechner: Aufschlüsselung & Limits ============ */
.bw-breakdown, .bw-limits {
	margin-top: 20px;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
}
.bw-box-title {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
}
.bw-bar-row { margin-bottom: 14px; }
.bw-bar-row:last-child { margin-bottom: 0; }
.bw-bar-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 0.88rem;
}
.bw-bar-head span { color: var(--text-muted); display: flex; align-items: center; }
.bw-bar-head b { font-weight: 700; color: var(--text); white-space: nowrap; }
.bw-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	margin-right: 8px;
	font-style: normal;
}
.bw-dot-video { background: #60a5fa; }
.bw-dot-audio { background: #4ade80; }
.bw-dot-overhead { background: #fbbf24; }
.bw-bar {
	height: 10px;
	background: var(--surface-2);
	border-radius: 999px;
	overflow: hidden;
}
.bw-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	transition: width 0.3s ease;
}
.bw-fill-video { background: #60a5fa; }
.bw-fill-audio { background: #4ade80; }
.bw-fill-overhead { background: #fbbf24; }

.bw-limits-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}
.bw-limits-table th {
	text-align: left;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
	font-weight: 700;
	padding: 8px 4px;
	border-bottom: 1px solid var(--border);
}
.bw-limits-table th:last-child, .bw-limits-table td:last-child { text-align: right; }
.bw-limits-table td {
	padding: 9px 4px;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}
.bw-limits-table tbody tr:last-child td { border-bottom: 0; }

.bw-limits-footnote {
	margin: 10px 0 0;
	font-size: 0.76rem;
	color: var(--text-muted);
	line-height: 1.5;
}

/* ============ Setup-Budget-Generator ============ */
.setup-gen .setup-controls {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 28px;
	padding: 24px 26px 20px;
	border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
	.setup-gen .setup-controls { grid-template-columns: 1fr; }
}
.setup-group-label {
	display: block;
	margin-bottom: 10px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
}
.setup-options { display: flex; flex-wrap: wrap; gap: 10px; }
.setup-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 10px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	cursor: pointer;
	color: var(--text);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.setup-option b { font-size: 0.95rem; white-space: nowrap; }
.setup-option span { font-size: 0.8rem; color: var(--text-muted); }
.setup-option:hover { border-color: var(--accent); }
.setup-option.is-active {
	border-color: var(--accent);
	background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.setup-option.is-active span { color: var(--accent); }

.setup-gen .setup-result { padding: 22px 26px 10px; }
.setup-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
}
.setup-item-main { display: grid; grid-template-columns: 140px 1fr; align-items: start; gap: 14px; min-width: 0; }
.setup-item-cat {
	flex-shrink: 0;
	justify-self: start;
	margin-top: 2px;
	padding: 3px 10px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	border-radius: 999px;
}
.setup-item-text { display: flex; flex-direction: column; gap: 2px; }
.setup-item-text b { color: var(--text); font-size: 0.98rem; }
.setup-item-text span { color: var(--text-muted); font-size: 0.85rem; line-height: 1.45; }
.setup-item-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}
.setup-item-price { font-weight: 800; color: var(--text); white-space: nowrap; }
.setup-item-btn {
	padding: 7px 14px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--accent) !important;
	border: 1px solid var(--accent);
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease;
}
.setup-item-btn:hover {
	background: var(--accent);
	color: var(--bg) !important;
}
.setup-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 18px 0 8px;
	padding: 16px 20px;
	background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent2) 16%, transparent));
	border-radius: 12px;
}
.setup-total span { font-weight: 700; color: var(--text); }
.setup-total b {
	font-size: 1.3rem;
	font-weight: 800;
	background: linear-gradient(100deg, var(--accent), var(--accent2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	white-space: nowrap;
}
.setup-gen .calc-note { margin: 0; padding: 12px 26px 20px; }
@media (max-width: 600px) {
	.setup-item { flex-direction: column; align-items: flex-start; }
	.setup-item-main { grid-template-columns: 1fr; gap: 6px; }
	.setup-item-side { flex-direction: row; align-items: center; gap: 12px; }
}
