@font-face { font-family: Display; src: url(/fonts/display.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Text; src: url(/fonts/text.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
/* Dark opening band with a working tool; quiet, left-aligned sections below. Squares come from the logo. */
:root {
  --ink: #0b1f33; --muted: #4a5d70; --line: #cfdce8; --ground: #fff; --tint: #eef5fb;
  --blue: #1c65a6; --sky: #8cc8f5; --amber: #ffab32;
  --display: Display, "Segoe UI", sans-serif; --text: Text, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1.0625rem/1.6 var(--text); overflow-wrap: anywhere; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.5rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; padding: .75rem; }
.small { font-size: .9rem; color: var(--muted); }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1.3rem; border: 0; border-radius: 4px; background: var(--amber); color: var(--ink); font: 650 1rem/1.25 var(--text); text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: #ffc063; transform: translateY(-2px); } .btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-small { min-height: 2.5rem; padding: .4rem 1rem; }
.btn-offer { width: 100%; background: var(--ink); color: #fff; } .btn-offer:hover { background: var(--blue); }
.text-link { font-weight: 600; text-underline-offset: .25em; }

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.logo img { display: block; width: 8.5rem; height: auto; }
#menu { display: flex; align-items: center; gap: 1.6rem; } #menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; } #menu a:not(.btn):hover, #menu a[aria-current] { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 2px; }
.menu-button { display: none; min-height: 2.75rem; padding: 0 1rem; border: 2px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 600 1rem var(--text); }

.hero { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 1.5rem; } .hero-copy p { max-width: 34rem; font-size: 1.2rem; color: #d7e6f3; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; } .hero .text-link { color: #fff; }
.need { display: grid; gap: 1.25rem; padding: clamp(1.1rem, 2.6vw, 2rem); background: #fff; color: var(--ink); border-radius: 6px; }
.need h2 { font-size: 1.5rem; }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stepper { min-width: 0; } .stepper label { display: block; margin-bottom: .3rem; font-size: .95rem; font-weight: 550; }
.stepper-row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; border: 1px solid #7890a5; border-radius: 4px; overflow: hidden; }
.stepper-row button { min-height: 2.75rem; border: 0; background: var(--tint); color: var(--ink); font-size: 1.3rem; cursor: pointer; } .stepper-row button:hover { background: var(--sky); }
.stepper input { width: 100%; border: 0; border-radius: 0; padding: 0; text-align: center; font: 650 1.1rem var(--text); appearance: textfield; -moz-appearance: textfield; } .stepper input::-webkit-inner-spin-button { appearance: none; }
.stepper-row :focus-visible { outline-offset: -3px; box-shadow: none; outline-color: var(--blue); }
.need-result { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.need-label { display: block; color: var(--muted); font-size: .9rem; } .need-result strong { font: 750 2.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.burst { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; } .burst i { aspect-ratio: 1; background: #dce8f2; transition: background .25s, transform .25s; } .burst i.on { background: #2d7fc4; } .burst i.on:nth-child(5n) { background: var(--amber); transform: rotate(12deg); }
.need-how { font-size: .9rem; } .need-how summary { cursor: pointer; font-weight: 600; } .need-how p { margin-top: .5rem; color: var(--muted); }

.section { padding-block: clamp(3rem, 6vw, 5.5rem); } .section-tint { background: var(--tint); } .band { background: var(--sky); }
.section-head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: 2rem; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; } .split > * { min-width: 0; } .split > div:first-child { display: grid; gap: 1rem; max-width: 42rem; align-self: start; }
.check-links { display: grid; gap: 1.25rem; } .related { padding-left: 1rem; border-left: 1px solid var(--line); }
.ad-label { display: inline-block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; } .filters button { min-height: 2.75rem; padding: .4rem 1.1rem; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font: 600 1rem var(--text); cursor: pointer; } .filters [aria-pressed="true"] { background: var(--ink); color: #fff; }
.offers, .devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.offer, .device { display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.offer[hidden] { display: none; } .offer .btn, .device .btn { margin-top: auto; } .offer-note { padding-bottom: 1rem; } .device p { padding-bottom: .75rem; color: var(--muted); }
.offer-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; } .offer-provider { margin-top: .5rem; color: var(--muted); } .offer-provider + h3 { margin-top: -.4rem; }
.tech { padding-left: .9rem; font-size: .9rem; font-weight: 650; background: linear-gradient(var(--c), var(--c)) left center / .6rem .6rem no-repeat; } .tech-glasfaser { --c: #ff9d14; } .tech-kabel { --c: #2d7fc4; } .tech-dsl { --c: #0b1f33; }
.device.match { border: 2px solid var(--blue); background: #f5faff; } .device-group { color: var(--blue); font-weight: 650; font-size: .95rem; }
.provider-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.75rem; }
table { width: 100%; overflow-wrap: normal; border-collapse: collapse; text-align: left; } th, td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; } tbody th { font: 700 1.2rem var(--display); white-space: nowrap; } thead th:first-child { width: 11rem; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); column-gap: 3rem; margin-bottom: 1.75rem; } .guide { display: grid; align-content: start; gap: .3rem; padding-block: 1.4rem; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; } .guide-tag { color: var(--blue); font-size: .95rem; font-weight: 650; } .guide-title { font: 700 1.35rem/1.2 var(--display); } .guide:hover .guide-title { text-decoration: underline; text-underline-offset: .2em; } .guide-teaser { color: var(--muted); }

.page-head { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem); } .page-head .wrap { display: grid; gap: 1.1rem; justify-items: start; } .page-head h1, .article h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 22ch; } .page-head p { max-width: 44rem; font-size: 1.15rem; color: #d7e6f3; } .page-head .back { color: #fff; }
.back { font-weight: 600; } .sub { margin: 3rem 0 1rem; } .check-list { display: grid; gap: .6rem; margin-bottom: 2rem; padding-left: 1.25rem; } .check-list li::marker, .article li::marker { content: "■  "; color: #d97800; font-size: .7em; }
.notice { padding: 1.25rem; background: var(--tint); }
.article { max-width: 50rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); } .article h1 { margin-block: 1.25rem 1rem; } .article h2 { margin: 2.25rem 0 .7rem; font-size: 1.6rem; } .article p + p, .article ul { margin-top: .9rem; } .article ul { display: grid; gap: .6rem; padding-left: 1.25rem; } .lead { font-size: 1.25rem; color: var(--muted); } .sources { margin-top: 3rem; padding: 1.5rem; background: var(--tint); } .sources h2 { margin-top: 0; font-size: 1.3rem; } .sources .small { margin-top: 1rem; }

input, textarea { color: var(--ink); background: #fff; } .field input, .contact-form input, .contact-form textarea { width: 100%; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #7890a5; border-radius: 4px; font: 1rem var(--text); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } .calc-offer { display: grid; align-content: start; gap: 1.1rem; min-width: 0; margin: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 6px; } .calc-offer legend { padding-inline: .5rem; font: 700 1.5rem var(--display); } .calc-offer.best { border: 3px solid var(--blue); }
.field { display: grid; gap: .3rem; } .field label, .contact-form label, .choices legend { font-weight: 600; } .input-unit { position: relative; } .input-unit input { padding-right: 2.5rem; } .input-unit span { position: absolute; right: 1rem; top: .7rem; }
.calc-result { display: block; min-height: 5.5rem; padding: 1rem; background: var(--tint); font-variant-numeric: tabular-nums; } .calc-result strong { display: block; font: 750 1.8rem/1.2 var(--display); } .calc-summary { margin-block: 1.5rem; font: 700 1.4rem/1.3 var(--display); }
.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 4rem; } .choices { display: flex; flex-wrap: wrap; align-content: start; gap: .5rem; min-width: 0; margin: 0; padding: 0; border: 0; } .choices legend { margin-bottom: .6rem; } .choices label { position: relative; } .choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; } .choices span { display: block; padding: .65rem 1.1rem; border: 1px solid var(--ink); border-radius: 4px; } .choices :checked + span { background: var(--ink); color: #fff; } .choices :focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; } .finder-result { grid-column: 1 / -1; padding: 1.25rem; background: var(--sky); font-size: 1.15rem; }
.contact-form { display: grid; gap: .5rem; } .contact-form .btn { justify-self: start; margin-top: .75rem; } .form-status { font-weight: 600; } .form-status:empty { display: none; } .hp { position: absolute; left: -9999px; }
.site-footer { background: var(--ink); color: #d7e6f3; padding-block: 2.5rem; } .site-footer .wrap { display: grid; gap: 1rem; } .site-footer a { color: #fff; } .footer-note { max-width: 60rem; } .footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; }

@media (max-width: 640px) {
  thead { position: absolute; left: -9999px; }
  table, tbody, tr, tbody th, td { display: block; }
  tr { padding-block: 1.1rem; border-bottom: 1px solid var(--line); } tbody th, td { padding: 0; border: 0; } td { margin-top: .7rem; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .calc, .finder { grid-template-columns: minmax(0, 1fr); }
  .js .menu-button { display: block; }
  .header-row { flex-wrap: wrap; padding-block: .5rem; min-height: 4rem; }
  #menu { width: 100%; flex-direction: column; align-items: stretch; gap: .25rem; padding-block: .5rem 1rem; } #menu a:not(.btn) { padding-block: .65rem; }
  .js #menu:not(.open) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, ::before, ::after { transition: none !important; } }
