/* eunet.ch — shared site styles. No external dependencies. */
:root {
  --ink: #163742;
  --muted: #4d6770;
  --paper: #f8fbfc;
  --blue: #cbeaff;
  --teal: #bceee5;
  --yellow: #ffe486;
  --line: #d5e4e8;
  --accent: #277181;
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: #166b7d; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #217c9f; outline-offset: 5px; border-radius: 3px; }
::selection { background: var(--yellow); color: var(--ink); }
.skip-link { position: absolute; top: 12px; left: 20px; transform: translateY(-180%); z-index: 10; padding: 14px 20px; background: white; border: 2px solid var(--ink); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1440px; min-height: 96px; margin: auto; padding: 16px 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 30px; font-weight: 750; letter-spacing: -1.3px; text-decoration: none; }
.brand span { color: #258879; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-header nav > span { color: var(--muted); border-right: 1px solid var(--line); padding-right: 28px; }
.site-header nav a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.hero { max-width: 1376px; margin: 0 auto; padding: 64px; border-radius: 20px; display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 364px); gap: 60px; align-items: center; background: linear-gradient(120deg, #dbf0ff, #c9eee8); }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { margin: 26px 0; font-size: clamp(38px, 4.03vw, 58px); line-height: 1.08; font-weight: 600; letter-spacing: -.043em; overflow-wrap: break-word; }
.button { display: inline-flex; align-items: center; gap: 22px; min-height: 50px; padding: 16px 22px; font-size: 15px; font-weight: 600; background: var(--yellow); border-radius: 8px; text-decoration: none; transition: background .18s, transform .18s; }
.button:hover { background: #ffdc63; color: var(--ink); transform: translateY(-2px); }
.network-art { display: block; width: 100%; height: auto; overflow: visible; }
.network-art > circle { stroke: #6ca5b366; }
.network-art > path { stroke: #639da9; stroke-width: 1.5; }
.network-art .cloud-tile { fill: #ffffffdd; }
.network-art .cloud { stroke: #257486; stroke-width: 2.4; }
.network-art .node { stroke: #fff; stroke-width: 5; }
.network-art .node-yellow { fill: var(--yellow); }
.network-art .node-white { fill: white; }
.network-art .node-blue { fill: #8ecdf6; }
.network-art .node-teal { fill: #66c5b6; }
.network-art text { fill: var(--ink); font-size: 10px; letter-spacing: 1.4px; }
.reading-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; max-width: 1184px; margin: 0 auto; padding: 72px 0; align-items: start; }
.toc { position: sticky; top: 32px; }
.toc .eyebrow { color: var(--muted); }
.toc ol { list-style: none; counter-reset: section; margin: 20px 0 0; padding: 0; }
.toc li { counter-increment: section; }
.toc a { display: flex; gap: 14px; align-items: baseline; min-height: 48px; padding: 12px 0; text-decoration: none; font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.toc a::before { content: counter(section, decimal-leading-zero); color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.prose { min-width: 0; }
.prose p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.prose .lead { color: var(--ink); font-size: 21px; line-height: 1.65; margin-bottom: 46px; }
.article-section { margin-top: 46px; scroll-margin-top: 32px; }
.section-number { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 20px; }
h2 { margin: 0 0 20px; font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -.6px; overflow-wrap: break-word; }
.article-section p:last-child { margin-bottom: 0; }
.conclusion { padding: 28px; background: #e6f5f1; border-radius: 12px; }
.site-footer { padding: 32px max(24px, calc((100vw - 1248px) / 2)); background: #eaf3f5; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 14px; }
.site-footer b { margin-right: 16px; }
.prose ul, .prose ol { padding-left: 1.4em; line-height: 1.8; }
.prose blockquote { margin: 24px 0; padding: 16px 24px; border-left: 3px solid var(--accent); background: #e6f5f1; }
.prose img, .prose video { max-width: 100%; height: auto; border-radius: 12px; }
.prose pre, .table-scroll { max-width: 100%; overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.hero--article { display: block; }
.hero--article .hero-copy { max-width: 900px; }
.hero--article h1 { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.rating-section { margin-bottom: 56px; }
.rating-section > h2 { margin-bottom: 24px; }
.rating-table-scroll { max-width: 100%; overflow-x: auto; }
.rating-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rating-table th, .rating-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.rating-table thead, .source-table thead { background: #e6f5f1; }
.rating-table thead th { color: var(--muted); font-size: 13px; font-weight: 600; }
.rating-table thead th:nth-child(1) { width: 27%; }
.rating-table thead th:nth-child(2) { width: 51%; }
.rating-table thead th:nth-child(3) { width: 22%; }
.rating-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
.rating-brand img { width: 120px; height: 54px; object-fit: contain; object-position: left center; }
.rating-rank { color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.rating-offer { font-size: 15px; line-height: 1.5; }
.rating-offer .bonus-main { color: var(--ink); font-weight: 700; }
.rating-offer .bonus-features { color: var(--muted); font-size: 14px; margin-top: 6px; }
.rating-offer .feature-item { margin-top: 2px; }
.rating-badge { display: inline-block; margin: 0 6px 6px 0; padding: 2px 7px; background: #e6f5f1; border-radius: 4px; color: var(--ink); font-size: 12px; }
.rating-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.rating-cta:hover { background: #ffdc63; color: var(--ink); }
.rating-extra { margin-top: 20px; }
.source-table { min-width: 620px; }
.source-table th, .source-table td { vertical-align: top; }
@media (max-width: 760px) {
  .rating-section { margin-bottom: 40px; }
  .rating-table-scroll { overflow: visible; }
  .rating-table, .rating-table tbody { display: block; }
  .rating-table thead, .source-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .rating-table tbody tr, .source-table tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .rating-table tbody th, .rating-table tbody td, .source-table tbody th, .source-table tbody td { display: block; border: 0; padding: 3px 0; }
  .rating-brand { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .rating-brand img { width: 94px; height: 42px; }
  .rating-offer, .rating-action { margin-top: 10px; }
  .source-table { min-width: 0; }
  .source-table tbody td:nth-child(2)::before { content: "Vorteil: "; color: var(--ink); font-weight: 700; }
  .source-table tbody td:nth-child(3)::before { content: "Prüfen: "; color: var(--ink); font-weight: 700; }
}
@media (max-width: 1439px) {
  .hero { margin-inline: 32px; }
  .reading-layout { margin-inline: max(48px, 8.89vw); }
}
@media (max-width: 1100px) {
  .site-header { padding-inline: 48px; }
  .hero { padding: 48px; gap: 32px; grid-template-columns: minmax(0, 1fr) 240px; }
  .reading-layout { margin-inline: 48px; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 80px; padding: 16px 24px; }
  .brand { font-size: 27px; }
  .site-header nav { font-size: 13px; }
  .site-header nav > span { display: none; }
  .hero { margin-inline: 16px; padding: 36px 24px; border-radius: 16px; display: block; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  h1 { font-size: clamp(30px, 9.23vw, 44px); line-height: 1.12; letter-spacing: -.033em; margin-block: 24px; }
  .network-art { display: none; }
  .reading-layout { display: block; margin: 0; padding: 40px 24px; }
  .toc { position: static; margin-bottom: 40px; }
  .toc ol { display: grid; grid-template-columns: 1fr; }
  .toc a { font-size: 13px; gap: 8px; }
  .prose .lead { font-size: 20px; margin-bottom: 40px; }
  .article-section { margin-top: 40px; }
  h2 { font-size: 26px; }
  .conclusion { padding: 24px; }
  .site-footer { padding: 28px 24px; align-items: flex-start; flex-direction: column; gap: 12px; font-size: 12px; }
}
@media (max-width: 380px) { .toc ol { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
@media print {
  :root { color: #000; background: #fff; }
  .site-header, .toc, .button, .network-art, .site-footer, .skip-link { display: none; }
  .hero { display: block; background: none; padding: 0; margin: 0 0 24px; }
  h1 { font-size: 28pt; }
  .reading-layout { display: block; margin: 0; padding: 0; }
  .prose p { font-size: 11pt; color: #000; }
  h2 { font-size: 18pt; break-after: avoid; }
  .conclusion { background: none; padding: 0; }
}
