/* ==========================================================================
   netz und system – Stylesheet
   Farbwelt: Petrol (Rack, Kabelkanal) + Signal-Amber (Activity-LED) + Link-Grün
   Schrift: Archivo (variabel, Breite 62–125 %) – breit für Überschriften,
            schmal für Bauteil-Beschriftungen, normal für Fließtext.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper:      #f2f5f2;
  --paper-2:    #e6ebe7;
  --sheet:      #fbfcfa;
  --ink:        #222526;
  --ink-2:      #485354;
  --line:       #c5d0cb;
  --line-soft:  #dfe6e2;
  --petrol:     #02747b;
  --petrol-700: #075a60;
  --petrol-900: #0b3335;
  --on-dark:    #e7efec;
  --on-dark-2:  #a9c0bb;
  --signal:     #f2a900;
  --signal-600: #d99500;
  --signal-ink: #1d1500;
  --ok:         #2f9e6a;
  --warn:       #e0a100;
  --bad:        #c4453a;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0:  1.0625rem;
  --step-1:  1.25rem;
  --step-2:  1.5625rem;
  --step-3:  clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.8vw, 3.5rem);

  --radius: 4px;
  --gutter: 20px;
  --wrap: 1200px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3 {
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 108%; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--petrol-900); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
address { font-style: normal; }
code { font-size: 0.92em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 3px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--signal-ink); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: inherit; font-weight: 650; font-stretch: 104%;
  padding: 0.8em 1.25em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  line-height: 1.2;
}
.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn--signal:hover { background: var(--signal-600); color: var(--signal-ink); }
.btn--ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--ghost:hover { background: var(--petrol); color: #fff; }
.btn--danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn--danger:hover { background: var(--bad); color: #fff; }
.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 650; color: var(--petrol);
}

/* ---------- Leiste: Bezug zu IT Zingsheim ---------- */
.parentbar { background: var(--petrol-900); color: var(--on-dark-2); font-size: var(--step--1); }
.parentbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.parentbar a { color: var(--on-dark-2); text-decoration: none; }
.parentbar a:hover { color: #fff; }
.parentbar strong { color: var(--on-dark); font-weight: 600; }
.parentbar__phone { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; margin-right: auto; padding: 4px 0; }
.logo img { display: block; width: auto; height: 40px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__list a, .nav__disclosure {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 550;
  background: none; border: 0; cursor: pointer;
}
.nav__list a:hover, .nav__disclosure:hover { background: var(--paper-2); }
.nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
.nav__disclosure[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-toggle {
  display: none; align-items: center; gap: 6px; font: inherit; font-weight: 600;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; color: var(--ink); cursor: pointer;
}

.layers-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 460px;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 40px -18px rgba(8, 42, 44, .35);
  padding: 18px;
}
.layers-menu__hint { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 10px; }
.layers-menu__list { list-style: none; margin: 0; padding: 0; counter-reset: layer; }
.layers-menu__list li { counter-increment: layer; }
.layers-menu__list a {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
}
.layers-menu__list a::before {
  content: counter(layer); grid-row: span 2;
  width: 24px; height: 24px; border-radius: 4px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; background: var(--paper-2); color: var(--petrol);
}
.layers-menu__label { font-weight: 650; }
.layers-menu__teaser { font-size: var(--step--1); color: var(--ink-2); font-weight: 400; }
.layers-menu__list a[aria-current="page"]::before { background: var(--petrol); color: #fff; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: 40px 0 72px; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head p { color: var(--ink-2); }
.section__title { margin-bottom: 32px; }

/* ---------- Hero mit Netzplan ---------- */
.hero { padding: 48px 0 72px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.hero__text { padding-top: 32px; }
.hero__title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem); font-stretch: 122%; letter-spacing: -0.025em; line-height: 1.04; }
.hero__lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__partners { font-size: var(--step--1); color: var(--ink-2); font-stretch: 90%; }

.plan-frame {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 var(--line-soft), 0 24px 48px -32px rgba(8, 42, 44, .45);
  overflow: hidden;
}
.plan-tabs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
  margin-top: 14px;
}
.plan-tab {
  position: relative;
  display: block; text-align: center;
  padding: 18px 6px 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--sheet);
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-stretch: 86%; font-size: .95rem;
  cursor: pointer;
}
/* Port-LED auf jeder Schaltfläche */
.plan-tab::before {
  content: ""; position: absolute; top: 7px; left: 50%; translate: -50% 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
}
.plan-tab:hover { border-color: var(--petrol); color: var(--ink); }
.plan-tab.is-active, .plan-tab[aria-selected="true"] {
  background: var(--petrol); border-color: var(--petrol); color: #fff;
}
.plan-tab.is-active::before, .plan-tab[aria-selected="true"]::before { background: var(--signal); box-shadow: 0 0 0 3px rgba(242, 169, 0, .25); }
.plan-panel { padding: 22px 4px 0; }
.plan-panel__title { font-size: var(--step-2); margin-bottom: .35em; }
.plan-panel p { color: var(--ink-2); }
.plan-hint { font-size: var(--step--1); color: var(--ink-2); margin: 14px 0 0; display: none; }
.js .plan-hint { display: block; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .35em; }
.ticks .ico { color: var(--ok); width: 1em; height: 1em; position: absolute; left: 0; top: .3em; }

/* ---------- Netzplan-SVG ---------- */
.topo { display: block; width: 100%; height: auto; }
.topo text { font-family: var(--font); }
.grid-line { fill: none; stroke: #e4eae6; stroke-width: 1; }
.link { fill: none; stroke: var(--petrol); stroke-width: 2; }
.link--thin { stroke-width: 1.25; opacity: .55; }
.link--dotted { stroke-dasharray: 2 5; stroke-linecap: round; }
.tunnel { fill: none; stroke: var(--petrol); stroke-width: 2.5; stroke-dasharray: 9 6; }
.cloud path { fill: var(--sheet); stroke: var(--petrol); stroke-width: 1.75; }
.dev { fill: var(--sheet); stroke: var(--petrol); stroke-width: 1.75; transition: fill .2s, stroke .2s; }
.dev-slot { fill: var(--paper-2); }
.spark { fill: none; stroke: var(--ok); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ap { fill: var(--sheet); stroke: var(--petrol); stroke-width: 1.75; transition: fill .2s; }
.ap-wave { fill: none; stroke: var(--petrol); stroke-width: 1.75; stroke-linecap: round; }
.endpoints rect { fill: none; stroke: var(--line); stroke-width: 1.5; }
.n-label { font-size: 15px; font-weight: 650; font-stretch: 86%; fill: var(--ink); }
.n-label--center, .n-sub--center { text-anchor: middle; }
.n-sub { font-size: 12.5px; fill: var(--ink-2); font-stretch: 90%; }
.n-tag { font-size: 11.5px; font-weight: 650; fill: var(--petrol); text-anchor: middle; font-stretch: 86%; }
.led { fill: #c9d3cf; }

/* Einmaliger Startmoment: die Ports kommen nacheinander hoch */
.led--link { animation: link-up .35s ease-out forwards; }
.d1 { animation-delay: .25s; } .d2 { animation-delay: .45s; } .d3 { animation-delay: .65s; }
.d4 { animation-delay: .85s; } .d5 { animation-delay: 1.05s; } .d6 { animation-delay: 1.2s; }
@keyframes link-up { to { fill: var(--ok); } }

/* Aktive Ebene */
.topo--hero .node { cursor: pointer; }
.topo--hero .node:hover .dev, .topo--hero .node:hover .ap { stroke: var(--signal-600); }
.node.is-active .dev, .node.is-active .ap { fill: var(--petrol); stroke: var(--petrol-900); }
.node.is-active .n-label { fill: #fff; }
.node.is-active .n-sub { fill: var(--on-dark-2); }
.node.is-active .ap-wave { stroke: #fff; }
.node.is-active .dev-slot { fill: var(--petrol-700); }
.node.is-active .n-tag { fill: var(--signal-600); }
.node.is-active .led--act { animation: activity 1.4s 1.4s steps(2, jump-none) infinite; }
.node.is-active .tunnel { stroke: var(--signal-600); animation: tunnel 1.2s linear infinite; }
.node.is-active .spark { stroke: var(--signal); }
@keyframes activity { 0% { fill: var(--signal); } 100% { fill: #6d7f7b; } }
@keyframes tunnel { to { stroke-dashoffset: -30; } }

.topo--mini .node:not(.is-active) { opacity: .38; }
.topo--mini .node { transition: opacity .2s; }
.topo--mini .node:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .led--link { animation: none; fill: var(--ok); }
  .node.is-active .led--act, .node.is-active .tunnel { animation: none; }
  .node.is-active .led--act { fill: var(--signal); }
}

/* ---------- Symptom-Tabelle ---------- */
.diag { width: 100%; border-collapse: collapse; }
.diag th, .diag td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.diag thead th { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); padding-top: 0; border-bottom: 2px solid var(--ink); }
.diag tbody th { font-weight: 650; width: 34%; font-stretch: 104%; }
.diag td { color: var(--ink-2); }
.diag td:last-child { width: 220px; padding-right: 0; }
.layer-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-stretch: 92%; text-decoration: none;
  padding: 4px 10px 4px 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--sheet); white-space: nowrap;
}
.layer-link::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.layer-link:hover { border-color: var(--petrol); }

/* ---------- Check-Band ---------- */
.check-band { background: var(--petrol-700); color: var(--on-dark); }
.check-band h2 { color: #fff; }
.check-band p { color: var(--on-dark-2); }
.check-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-band__preview {
  margin: 0; padding: 24px; border-radius: 6px;
  background: var(--petrol-900); border: 1px solid #1b4a4b;
}
.check-band__preview figcaption { font-size: var(--step--1); color: var(--on-dark-2); margin-top: 12px; }
.meter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.meter { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; }
.meter__name { font-size: .95rem; font-stretch: 90%; color: var(--on-dark); }
.meter__bar { display: block; height: 10px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter__bar > span { display: block; height: 100%; border-radius: 2px; }
.meter--good .meter__bar > span { width: 100%; background: var(--ok); }
.meter--warn .meter__bar > span { width: 58%; background: var(--warn); }
.meter--bad  .meter__bar > span { width: 22%; background: var(--bad); }

/* ---------- Hersteller ---------- */
.vendors__cols { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
.vendor { padding: 4px 40px 4px 0; }
.vendor + .vendor { padding: 4px 0 4px 40px; border-left: 1px solid var(--line); }
.vendor h3 { font-size: var(--step-2); }

/* ---------- Ablauf (echte Reihenfolge) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding-top: 52px; }
.timeline li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 34px; height: 34px; border-radius: 4px;
  display: grid; place-items: center;
  background: var(--petrol); color: #fff; font-weight: 700;
}
.timeline li::after {
  content: ""; position: absolute; top: 17px; left: 34px; right: -24px; height: 2px; background: var(--petrol); opacity: .35;
}
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--sheet); color: var(--petrol); border: 2px dashed var(--petrol); }
.timeline h3 { font-size: 1.1rem; }
.timeline p { font-size: .97rem; color: var(--ink-2); }

/* ---------- Person ---------- */
.person { background: var(--paper-2); }
.person__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 650; font-stretch: 92%; }
.facts dd { margin: 0; color: var(--ink-2); }

/* ---------- Abschluss-Band ---------- */
.cta { background: var(--petrol-900); color: var(--on-dark); padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-2); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta__ways, .contact__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cta__ways a, .contact__ways a {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid #234f50; border-radius: var(--radius);
  color: var(--on-dark); text-decoration: none;
}
.cta__ways a:hover { border-color: var(--signal); color: #fff; }
.cta__ways .ico, .contact__ways .ico { color: var(--signal); width: 22px; height: 22px; margin-top: 2px; }
.cta__ways span, .contact__ways span { display: flex; flex-direction: column; font-size: var(--step--1); color: var(--on-dark-2); }
.cta__ways strong, .contact__ways strong { font-size: var(--step-0); color: inherit; color: #fff; }

/* ---------- Fußbereich ---------- */
.site-footer { background: #061f20; color: var(--on-dark-2); font-size: .95rem; padding-top: 56px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer__logo { display: block; width: auto; height: 34px; margin-bottom: 18px; }
.site-footer__parent { padding-top: 12px; border-top: 1px solid #1c3f40; }
.site-footer__head { color: #fff; font-weight: 650; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4em; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #1c3f40; font-size: var(--step--1); }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 20px; }

/* ---------- Kopf der Unterseiten ---------- */
.page-head { padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.page-head--center { text-align: center; padding: 96px 0; border: 0; }
.page-head--center p, .page-head--center h1 { margin-left: auto; margin-right: auto; max-width: 30ch; }
.page-head--center .lead { max-width: 56ch; }
.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; font-size: var(--step--1); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

.layer-head { border-bottom: 1px solid var(--line); padding: 40px 0 0; }
.layer-head__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-bottom: 40px; }
.layer-head__plan { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.layer-pos { font-size: var(--step--1); font-weight: 600; color: var(--petrol); margin-bottom: .6em; }
.layer-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.layer-steps a {
  display: block; padding: 14px 8px; text-align: center; text-decoration: none;
  color: var(--ink-2); font-weight: 600; font-stretch: 88%;
  border-bottom: 3px solid transparent;
}
.layer-steps a:hover { color: var(--ink); background: var(--paper-2); }
.layer-steps a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.split > h2, .split > div:first-child > h2 { position: sticky; top: 100px; }

.symptom-list { list-style: none; margin: 0; padding: 0; }
.symptom-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.symptom-list li:first-child { border-top: 1px solid var(--line); }
.symptom-list li::before { content: ""; position: absolute; left: 4px; top: 1.35em; width: 9px; height: 9px; border-radius: 2px; background: var(--signal); }

.tasks { margin: 0; }
.tasks div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tasks div:first-child { border-top: 2px solid var(--ink); }
.tasks dt { font-weight: 650; font-stretch: 100%; }
.tasks dd { margin: 0; color: var(--ink-2); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principle { border-top: 3px solid var(--petrol); padding-top: 18px; }
.principle p { color: var(--ink-2); }

.tech { list-style: none; margin: 0 0 20px; padding: 0; }
.tech li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tech span { color: var(--ink-2); }
.note { font-size: .97rem; color: var(--ink-2); padding: 14px 16px; border-left: 3px solid var(--signal); background: var(--sheet); max-width: none; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 650; font-stretch: 102%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 8px; padding-bottom: 72px; }
.pager__link {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); text-decoration: none;
}
.pager__link:hover { border-color: var(--petrol); }
.pager__link--next { text-align: right; align-items: flex-end; }
.pager__dir { display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1); color: var(--ink-2); }
.pager__name { font-size: var(--step-1); font-weight: 700; font-stretch: 110%; color: var(--ink); }

/* ---------- Vergleich ---------- */
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--petrol); color: #fff; font-stretch: 110%; font-size: 1.05rem; }
.compare tbody th { width: 20%; font-weight: 650; background: var(--paper); }
.compare td { width: 40%; color: var(--ink-2); }
.compare td + td { border-left: 1px solid var(--line); }

/* ---------- Netzwerk-Check ---------- */
.check { max-width: 820px; }
.check-form .q { border: 0; margin: 0 0 32px; padding: 0; }
.check-form legend { padding: 0; margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.q__layer { font-size: var(--step--1); font-weight: 600; color: var(--petrol); }
.q__text { font-size: var(--step-2); font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.q__options { display: grid; gap: 8px; }
.opt {
  display: flex; gap: 14px; align-items: center; cursor: pointer;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet);
  transition: border-color .15s, background-color .15s;
}
.opt:hover { border-color: var(--petrol); }
.opt input { width: 20px; height: 20px; accent-color: var(--petrol); flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--petrol); background: #e3efec; box-shadow: inset 3px 0 0 var(--petrol); }
.opt:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
.check-progress { margin-bottom: 28px; }
.check-progress__text { font-size: var(--step--1); color: var(--ink-2); margin-bottom: 8px; }
.check-progress__bar { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.check-progress__bar span { display: block; height: 100%; width: 0; background: var(--petrol); transition: width .25s; }
.check-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.check-nav [data-next], .check-nav [data-submit] { margin-left: auto; }
.check-nav [data-prev] + [data-next] { margin-left: auto; }
.fineprint { font-size: var(--step--1); color: var(--ink-2); margin-top: 20px; }

.result { list-style: none; margin: 0 0 16px; padding: 0; border-top: 2px solid var(--ink); }
.result__row { display: grid; grid-template-columns: 240px 220px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.result__name a { font-weight: 700; font-stretch: 106%; color: var(--ink); }
.result__meter { display: block; }
.result__meter .meter__bar { background: var(--paper-2); height: 12px; }
.result__meter .meter__bar > span.s0 { width: 6%; }
.result__meter .meter__bar > span.s1 { width: 25%; }
.result__meter .meter__bar > span.s2 { width: 50%; }
.result__meter .meter__bar > span.s3 { width: 75%; }
.result__meter .meter__bar > span.s4 { width: 100%; }
.result__verdict { display: flex; flex-direction: column; }
.result__verdict span { color: var(--ink-2); font-size: .97rem; }
.result__row--bad .result__verdict strong { color: var(--bad); }
.result__row--warn .result__verdict strong { color: #8a6300; }
.result__row--good .result__verdict strong { color: #1f7a50; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .97rem; }
.req { font-weight: 400; color: var(--ink-2); font-size: .88em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"],
.field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--sheet);
  border: 1px solid #9fb0aa; border-radius: var(--radius); padding: 11px 12px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--petrol); }
.field [aria-invalid="true"] { border-color: var(--bad); box-shadow: inset 3px 0 0 var(--bad); }
.field__error { color: var(--bad); font-size: .92rem; margin: 0; font-weight: 550; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--petrol); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin: 0 0 18px; max-width: none; }
.alert--error { background: #f8e3e0; color: #7b231b; border-left: 4px solid var(--bad); }
.alert--ok { background: #e1f1e8; color: #164f34; border-left: 4px solid var(--ok); }

.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.contact__side { background: var(--petrol-900); color: var(--on-dark-2); padding: 28px; border-radius: 6px; }
.contact__side h2 { color: #fff; font-size: var(--step-1); }
.contact__side a { color: var(--on-dark); }
.contact__addr { margin: 20px 0 12px; color: var(--on-dark-2); }

/* ---------- Danke / 404 ---------- */
.thanks-led { width: 64px; height: 64px; margin-bottom: 12px; }
.thanks-led circle { fill: var(--ok); }
.thanks-led .ring { fill: none; stroke: var(--ok); stroke-width: 2; opacity: .35; }
.code-404 { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; font-stretch: 125%; color: var(--line); margin: 0 auto; line-height: 1; }
.link-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-1); margin-top: 1.8em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__text { padding-top: 0; }
  .hero__title { max-width: 16ch; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 0 0 24px 56px; }
  .timeline li::after { top: 34px; bottom: 0; left: 16px; right: auto; width: 2px; height: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .result__row { grid-template-columns: 1fr 1fr; }
  .result__verdict { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--sheet); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(8, 42, 44, .4);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__list a, .nav__disclosure { width: 100%; justify-content: space-between; padding: 12px; }
  .layers-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 0 4px; background: none; }
  .nav__cta { justify-content: center; }
  .site-header__in { position: relative; }

  .check-band__grid, .cta__grid, .person__grid, .layer-head__grid, .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .split > h2, .split > div:first-child > h2 { position: static; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .vendors__cols { grid-template-columns: 1fr; }
  .vendor, .vendor + .vendor { padding: 0 0 20px; border: 0; }
  .vendor + .vendor { padding-top: 20px; border-top: 1px solid var(--line); }
  .layer-head__plan { max-width: 560px; }
  .layer-steps ol { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .parentbar__phone span { display: none; }
  .logo img { height: 32px; }
  .plan-tabs { grid-template-columns: repeat(3, 1fr); }
  .n-sub, .n-tag { display: none; }
  .n-label { font-size: 22px; font-stretch: 78%; }

  .diag thead { display: none; }
  .diag, .diag tbody, .diag tr, .diag th, .diag td { display: block; width: 100% !important; }
  .diag tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .diag th, .diag td { border: 0; padding: 0 0 8px; }
  .diag td:last-child { padding-bottom: 0; }

  .meter { grid-template-columns: 1fr; gap: 4px; }
  .tasks div, .tech li, .facts div { grid-template-columns: 1fr; gap: 4px; }
  .form__row { grid-template-columns: 1fr; }
  .result__row { grid-template-columns: 1fr; gap: 8px; }
  .pager { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Vergleichstabelle auf schmalen Bildschirmen gestapelt */
@media (max-width: 640px) {
  .compare { min-width: 0; border: 0; background: none; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--sheet); }
  .compare tbody th { background: var(--petrol); color: #fff; padding: 10px 14px; border: 0; }
  .compare td { padding: 12px 14px; border: 0; }
  .compare td + td { border-left: 0; border-top: 1px solid var(--line); }
  .compare td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
}

/* ---------- Terminbuchung ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.booking { display: grid; gap: 18px; }
.booking-step { margin: 0; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); min-width: 0; }
.booking-step[disabled] { opacity: .55; }
.booking-step legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 700; font-stretch: 110%; font-size: 1.15rem; }
.step-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--petrol); color: #fff; font-size: .9rem; font-stretch: 100%; }
.type-list { display: grid; gap: 10px; margin-top: 6px; }
.type-option { position: relative; display: block; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-card { display: grid; gap: 4px; padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; transition: border-color .15s, background-color .15s; }
.type-card::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8a9a97; background: #fff; }
.type-option:hover .type-card { border-color: var(--petrol); }
.type-option input:checked + .type-card { border-color: var(--petrol); background: #e3f0ef; box-shadow: inset 3px 0 0 var(--petrol); }
.type-option input:checked + .type-card::before { border: 6px solid var(--petrol); }
.type-option input:focus-visible + .type-card { outline: 3px solid var(--signal); outline-offset: 2px; }
.type-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.type-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-2); font-stretch: 92%; }
.type-meta .ico { color: var(--petrol); }
.type-desc { font-size: .95rem; color: var(--ink-2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 10px; }
.cal-title { margin: 0; font-size: 1.15rem; font-stretch: 108%; }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--petrol); cursor: pointer; }
.cal-nav:hover:not([disabled]) { border-color: var(--petrol); }
.cal-nav[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { font-size: .85rem; color: var(--ink-2); font-weight: 600; padding-bottom: 2px; }
.cal-grid td { padding: 0; text-align: center; }
.cal-day {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-height: 52px;
  font: inherit; font-weight: 650; border: 1px solid var(--petrol); border-radius: var(--radius);
  background: #e3f0ef; color: var(--ink); cursor: pointer;
}
.cal-day:hover:not([aria-disabled="true"]) { background: #cfe5e3; }
.cal-day[aria-disabled="true"] { border-color: transparent; background: transparent; color: #8a9593; font-weight: 400; cursor: default; }
.cal-day[aria-pressed="true"] { background: var(--petrol); color: #fff; }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal-600); }
.cal-loading { padding: 32px 0 !important; color: var(--ink-2); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dot--free { background: #e3f0ef; border: 1px solid var(--petrol); }
.dot--none { background: transparent; border: 1px dashed #8a9593; margin-left: 10px; }
.step-hint { color: var(--ink-2); margin: 4px 0 12px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { font: inherit; font-weight: 650; padding: 10px 0; border: 1px solid var(--petrol); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.slot:hover { background: #e3f0ef; }
.slot[aria-checked="true"] { background: var(--petrol); color: #fff; }
.selection { font-weight: 650; margin: 4px 0 14px; padding: 10px 14px; background: #fff7df; border-left: 3px solid var(--signal); max-width: none; }
.selection:empty { display: none; }
.booking .field { margin-bottom: 14px; }
.booking .form__row { gap: 0 18px; }
.hint { font-size: .9rem; color: var(--ink-2); margin: 2px 0 0; }
.booking-aside { position: sticky; top: 100px; background: var(--petrol-900); color: var(--on-dark-2); padding: 26px; border-radius: 6px; }
.booking-aside__name { color: #fff; font-size: var(--step-1); font-weight: 700; font-stretch: 110%; margin: 0; }
.booking-aside__role { font-size: .95rem; }
.booking-aside .ticks li { color: var(--on-dark); }
.booking-aside .ticks .ico { color: #5fd0b0; }
.booking-aside__alt { color: #fff; font-weight: 650; margin: 20px 0 8px; }
.booking-aside .contact__ways span { color: var(--on-dark-2); }
.status { max-width: 760px; }
.status .ticks { margin-top: 24px; }
.status__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
}
@media (max-width: 640px) {
  .booking-step { padding: 16px 14px 18px; }
  .cal-grid { border-spacing: 3px; }
}
