/* wifi-router.com, eigenes Stylesheet ohne Framework */
:root {
	--ink: #13202b;
	--ink-2: #3c4a57;
	--muted: #66737f;
	--line: #dfe5ea;
	--bg: #ffffff;
	--bg-2: #f4f7f9;
	--accent: #0a64c2;
	--accent-2: #084f99;
	--accent-soft: #e8f1fb;
	--green: #0d7a55;
	--green-soft: #e6f4ee;
	--amber: #9a5b00;
	--amber-soft: #fdf3e2;
	--field: #5b3fb5;
	--field-soft: #f1edfb;
	--radius: 10px;
	--wrap: 1080px;
	--narrow: 760px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
	:root {
		--ink: #e7edf2; --ink-2: #c3ccd4; --muted: #96a3ae; --line: #2a3640;
		--bg: #0f171e; --bg-2: #16212a; --accent: #5aa7f2; --accent-2: #84bdf5; --accent-soft: #15283a;
		--green: #4cc596; --green-soft: #12291f; --amber: #f0b45a; --amber-soft: #2e2413;
		--field: #b8a5f2; --field-soft: #221b38;
	}
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 18px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 9; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: var(--narrow); }

/* Kopf */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand b { color: var(--accent); font-weight: 700; }
.site-nav { display: flex; gap: 22px; font-size: 16px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Seitenkopf */
.hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.hero.home { background: linear-gradient(160deg, var(--accent-soft), var(--bg-2) 70%); padding: 54px 0 46px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.lead { font-size: 20px; color: var(--ink-2); margin: 0 0 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.byline p { margin: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }

/* Inhalt */
.content { padding: 30px 20px 60px; }
.content h2 { font-size: 28px; line-height: 1.25; letter-spacing: -0.01em; margin: 46px 0 12px; scroll-margin-top: 16px; }
.content h3 { font-size: 21px; margin: 30px 0 8px; }
.content p, .content ul, .content ol { margin: 0 0 18px; }
.content li { margin-bottom: 6px; }
.content code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-2); padding: 1px 5px; border-radius: 4px; }
.small, .content .small { font-size: 15px; color: var(--muted); }

.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 30px; font-size: 16px; }
.toc p { margin: 0 0 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 3px 0; }

/* Kurze Antwort oben */
.answer { border: 2px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.answer > p:first-child { margin: 0 0 8px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-2); }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }

/* Entscheidungskarten */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 24px; }
.pick { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; background: var(--bg); }
.pick.b { border-top-color: var(--green); }
.pick h3 { margin: 0 0 8px; font-size: 19px; }
.pick ul { margin: 0; padding-left: 20px; font-size: 16.5px; }

/* Tabellen */
.tabwrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 560px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-2); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.win { font-weight: 600; color: var(--green); }
caption { caption-side: bottom; text-align: left; padding: 8px 14px; font-size: 14px; color: var(--muted); }

/* Kästen */
.box { border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); }
.box > p:first-child { font-weight: 700; margin-bottom: 6px; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box.field { border-left-color: var(--field); background: var(--field-soft); }
.box.field > p:first-child::before { content: "From the field · "; color: var(--field); }
.box.warn { border-left-color: var(--amber); background: var(--amber-soft); }
.box.tip { border-left-color: var(--green); background: var(--green-soft); }

/* Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 26px; }
.facts div { background: var(--bg-2); border-radius: var(--radius); padding: 14px 16px; }
.facts b { display: block; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.facts span { font-size: 15px; color: var(--muted); }

/* Karten auf der Startseite */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 30px; padding: 0; list-style: none; }
.cards li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; }
.cards a { font-weight: 700; font-size: 19px; text-decoration: none; }
.cards p { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }

.sources { font-size: 15px; color: var(--ink-2); }
.sources li { margin-bottom: 4px; }
.updated { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 36px; }

/* Fuß */
.site-foot { background: #0f1b26; color: #b9c6d1; padding: 46px 0 26px; font-size: 15.5px; margin-top: 20px; }
.site-foot a { color: #dbe5ee; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .brand { color: #fff; margin-bottom: 12px; }
.site-foot .brand b { color: #6fb3f5; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 0; max-width: 300px; line-height: 1.6; }
.site-foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #7f93a4; margin: 4px 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot .copy { border-top: 1px solid #253543; margin: 34px 0 0; padding-top: 18px; font-size: 14px; color: #7f93a4; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Kopf mit Foto */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-fig { margin: 0; }
.hero-fig img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 12px 34px rgba(10, 40, 70, 0.18); }
.hero-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 7px; margin: 0; }
.trust li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
img.avatar { object-fit: cover; background: var(--bg-2); }

/* Autorenbox unter Artikeln */
.authorbox { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 40px 0 0; background: var(--bg-2); }
.authorbox img { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.authorbox p { margin: 0 0 6px; font-size: 16.5px; }
.authorbox .name { font-weight: 700; }
@media (max-width: 480px) { .authorbox { flex-direction: column; } }

/* Karten mit Symbol */
.cards .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.cards .ico svg { width: 24px; height: 24px; }
.cards li { transition: border-color .15s, box-shadow .15s; }
.cards li:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(10, 60, 110, 0.08); }

/* Ausrüstung und Ressourcen */
.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.gear li { background: var(--bg-2); border-radius: var(--radius); padding: 14px 16px; margin: 0; font-size: 16px; }
.gear b { display: block; font-size: 17px; }
.gear span { color: var(--muted); font-size: 15px; }
.reslist { list-style: none; padding: 0; margin: 0 0 26px; }
.reslist li { border-bottom: 1px solid var(--line); padding: 12px 0; margin: 0; }
.reslist a { font-weight: 600; }
.reslist p { margin: 4px 0 0; font-size: 16px; color: var(--ink-2); }
.photo { margin: 0 0 26px; }
.photo img { width: 100%; border-radius: var(--radius); display: block; }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

@media (max-width: 640px) {
	body { font-size: 17px; }
	.content h2 { font-size: 24px; }
	.site-head .wrap { row-gap: 0; padding-top: 10px; padding-bottom: 4px; }
	.site-nav { gap: 2px 16px; font-size: 15px; flex-wrap: wrap; width: 100%; }
	.site-nav a { padding: 3px 0; }
	.hero { padding: 26px 0 22px; }
	.hero.home { padding: 36px 0 30px; }
	.lead { font-size: 18px; }
}

/* Schaubild */
.diagram { margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--bg-2); }
.diagram { overflow-x: auto; }
.diagram svg { width: 100%; min-width: 560px; height: auto; display: block; }
.diagram figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.d-box { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.d-modem { stroke: var(--accent); stroke-width: 2; }
.d-router { stroke: var(--green); stroke-width: 2; }
.d-h { fill: var(--ink); font-weight: 700; }
.d-s { fill: var(--muted); font-size: 13px; }
.d-line { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.d-wifi { stroke: var(--green); stroke-dasharray: 5 4; }
.d-arrow { fill: var(--ink-2); }
.d-combo { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 5; }

/* Screenshots offizieller Seiten */
.shot { margin: 0 0 24px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(10, 40, 70, 0.08); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
