/* ============================================================
   NETKA, Komponenten der Unterseiten
   Aus dem früheren Designsystem übernommen und auf die Tokens
   von site.css gelegt. Wird VOR site.css geladen, damit das
   neue System bei gemeinsamen Selektoren (Header, Buttons,
   Container, Grundschrift) immer gewinnt.
   ============================================================ */
:root, .is-light, .is-dark {
  --font-sans: var(--font);
  --bg-raised: var(--bg-2);
  --bg-sunken: var(--bg-3);
  --ink-soft: var(--ink-2);
  --muted: var(--ink-3);
  --line-strong: var(--line-2);
  --accent-strong: var(--accent-2);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --shadow-color: 220 20% 4%;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .12), 0 12px 32px -12px rgba(0, 0, 0, .25);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .14), 0 24px 48px -16px rgba(0, 0, 0, .35);
  --r-panel: var(--r-card);
  --r-input: var(--r-small);
  --r-pill: 999px;
  --ease-out: var(--ease);
  --width-label: var(--w-label);
}
.only-light { display: none !important; }
:root[data-theme="light"] .only-light { display: block !important; }
:root[data-theme="light"] .only-dark { display: none !important; }
.breadcrumb { margin: 0 0 14px; font-size: 0.8rem; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--ink); }
.eyebrow { margin: 0 0 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: var(--w-label); color: var(--accent); }
.lead, .section-lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; color: var(--ink-3); max-width: 60ch; }
.section-lead { margin: -8px 0 32px; }
.fine-print { font-size: 0.8rem; color: var(--ink-3); max-width: 70ch; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 5px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 420px at 85% -20%, var(--accent-soft), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}
/* ---------- Produktbühne: echte Oberflächen im Browserrahmen ----------
   Der Seitenkopf bekommt unten Platz, die Bühne hebt den Rahmen in den
   Kopf hinein. So wirkt das Produkt wie auf der Seite abgelegt. */
.page-hero.has-shot { padding-bottom: clamp(150px, 17vw, 230px); border-bottom: 0; }
.shot-stage { padding-block: 0 clamp(56px, 7vw, 96px); }
.shot-stage .shot-lift {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * clamp(120px, 14vw, 190px));
  /* weiches Passepartout in Markenblau um die Bühne */
  outline: 10px solid var(--accent-soft);
  box-shadow: 0 50px 90px -40px rgb(28 99 174 / 0.35), var(--shadow-soft);
}
.shot {
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  box-shadow: 0 40px 80px -40px rgb(16 32 47 / 0.35), var(--shadow-soft);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--line);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.shot-bar i {
  font-style: normal;
  margin-left: 12px;
  flex: 1;
  max-width: 380px;
  height: 24px;
  line-height: 24px;
  padding: 0 12px;
  border-radius: 5px;
  background: var(--bg-raised);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Einheitliches Format: Alle Oberflächen werden im Verhältnis 16:10
   gezeigt, gleich gezoomt, oben links verankert (dort sitzen Navigation
   und Kennzahlen). Sehr breite Bilder werden eingepasst statt beschnitten. */
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: #fff;
}
.shot.shot-fit img { object-fit: contain; }
/* Die grosse Bühne etwas flacher, wirkt ruhiger */
.shot-lift img { aspect-ratio: 16 / 9; }
/* Ein zweites Bild unter der Bühne: gleiche Breite, etwas Abstand */
.shot-more { margin-top: clamp(16px, 2.5vw, 28px); }
.shot-more .shot { box-shadow: var(--shadow-soft); }
.shot-narrow { max-width: 860px; margin-inline: auto; margin-top: clamp(40px, 6vw, 72px); }


/* ---------- Funktionen auf einen Blick: Stichwort und Nutzen ---------- */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 3.5vw, 40px);
}
.fn {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-raised);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.fn:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow-soft); }
.fn-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.fn-icon svg { width: 21px; height: 21px; }
.fn > div > b { display: block; font-size: 0.98rem; font-weight: 650; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.005em; }
.fn > div > span { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 980px) { .fn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fn-grid { grid-template-columns: 1fr; } }
.shot figcaption {
  padding: 12px 16px 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
/* Zwei kleinere Ansichten nebeneinander */
.shot-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}
.shot-duo .shot { box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.shot-duo .shot figcaption { flex: 1; }
.shot-duo .shot-bar { height: 32px; }
.shot-duo .shot-bar span { width: 8px; height: 8px; }
.shot-duo .shot-bar i { display: none; }
@media (max-width: 760px) {
  .shot-duo { grid-template-columns: 1fr; }
  .shot-bar i { max-width: 200px; }
}
/* Dark Mode: helle Oberflächen leicht gedämpft, Rahmen bleibt dunkel */
:root[data-theme="dark"] .shot img { filter: brightness(0.94); }

/* Anklickbar: Lupe erscheint bei Hover, das ganze Bild ist die Schaltfläche */
.shot-link {
  position: relative;
  display: block;
  cursor: zoom-in;
  color: inherit;
}
.shot-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6.5'/><path d='m20 20-4.3-4.3M11 8v6M8 11h6'/></svg>") center / 18px no-repeat,
    rgb(16 32 47 / 0.72);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s var(--ease-out);
}
.shot:hover .shot-link::after,
.shot-link:focus-visible::after { opacity: 1; transform: translateY(0); }
.shot-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Lightbox: Vollbild des Screenshots, ruhiger dunkler Grund */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgb(8 14 24 / 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; }
/* Geschlossen: wirklich weg, keine unsichtbare Schicht über der Seite */
.lightbox[hidden] { display: none; }
.lightbox:not(.open) { pointer-events: none; }
.lightbox figure {
  margin: 0;
  max-width: min(1600px, 100%);
  max-height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  transform: scale(0.97);
  transition: transform .3s var(--ease-out);
}
.lightbox.open figure { transform: scale(1); }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - clamp(80px, 12vw, 140px));
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.7);
}
.lightbox figcaption {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.82);
  max-width: 80ch;
  margin-inline: auto;
}
.lightbox-close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgb(255 255 255 / 0.18); }
.lightbox-close svg { width: 20px; height: 20px; }
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox figure, .shot-link::after { transition: none; }
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }


/* ---------- Themen-Karten (Leistungen-Übersicht) ---------- */
.theme-group { margin-bottom: clamp(48px, 6vw, 72px); }
.theme-group:last-child { margin-bottom: 0; }
.theme-group > h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.theme-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg-raised);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
}
.theme-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.theme-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.theme-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.theme-card .theme-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 650;
}


/* ---------- Equalizer-Detailseite ---------- */
.task-cloud {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 900px;
}
.task-cloud span {
  padding: 8px 16px;
  font-size: 0.9rem; font-weight: 550;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-raised);
}
.task-cloud span.hl {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
.split-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg-raised);
}
.split-card h3 { margin-bottom: 10px; }
.split-card p { color: var(--muted); font-size: 0.96rem; }
.log-lines { margin-top: 18px; display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.log-lines div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 9px 2px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.log-lines b { font-weight: 600; color: var(--accent); }
.log-lines span { color: var(--ink-soft); }
.kv-list { margin-top: 18px; display: grid; }
.kv-list div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 2px;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.kv-list dt { color: var(--muted); }
.kv-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }


/* ---------- NETSCHOOL: «Eine Lektion, aus der ersten Reihe» ---------- */
.ns-hero { position: relative; }
.ns-pin {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  /* bewusst ohne eigenen Hintergrund: die Fläche unter dem Endpanel bleibt
     durchsichtig, damit die Folgesektion dort hochrücken kann */
}
/* Nach der Kamerafahrt schliesst der Inhalt direkt unter dem Panel an.
   --ns-tail setzt netschool-hero.js aus Bildschirm- und Panelhöhe. */
html.js:not(.ns-static) .ns-hero + #inhalt {
  position: relative;
  margin-top: calc(-1 * var(--ns-tail, 0px));
}
html.js:not(.ns-static) .ns-hero + #inhalt > .section:first-child {
  padding-top: clamp(40px, 5vw, 64px);
}
.nsv-crumb {
  position: absolute;
  top: calc(var(--header-h) + 22px);
  left: clamp(20px, 4vw, 48px);
  z-index: 6;
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Ruhiger Auftakt: Wortmarke im Weissraum */
/* Einstieg: linksbündig am Satzspiegel, nicht zentriert. Die Wortmarke
   führt, das Versprechen trägt das Gewicht. */
.nsv-intro {
  position: absolute;
  left: max(clamp(20px, 4vw, 40px), calc((100vw - var(--container)) / 2 + clamp(20px, 4vw, 40px)));
  top: 22%;
  transform: translate(0, 0);
  transform-origin: left top;
  width: min(620px, calc(100vw - 40px));
  text-align: left;
  z-index: 4;
  will-change: transform, opacity;
}
.nsv-word { margin: 0 0 12px; }
.nsv-word-logo {
  display: block;
  margin: 0;
  height: clamp(44px, 6.4vw, 72px);
  width: auto;
}
/* Theme-abhängige Bildvarianten (Utility, gewinnt bewusst jede Kaskade) */
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }
/* Herkunft als feine Zeile mit Strich, keine gesperrte Versalzeile */
.ns-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 0 30px;
}
.ns-by i {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
/* Das Versprechen: eine ruhige Zeile, die der Wortmarke nicht die Bühne nimmt */
/* Das Versprechen trägt die Komposition, dreizeilig gesetzt */
.nsv-head {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
}
.nsv-sub .lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 26px;
}
.nsv-sub .hero-cta { justify-content: flex-start; }
.nsv-hint {
  margin: 30px 0 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: nsvHint 2.6s ease-in-out infinite;
}
@keyframes nsvHint {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Der Schul-Laptop als Fenster in den Unterricht */
.nsv-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-items: end;
  padding-bottom: 7svh;
  perspective: 1600px;
  z-index: 2;
}
.nsv-laptop {
  position: relative;
  width: min(70vw, 920px);
  opacity: 0;
  will-change: transform, opacity;
}
.nsv-screen {
  position: relative;
  padding: clamp(8px, 1vw, 12px);
  background: #10141a;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 16px 16px 8px 8px;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  box-shadow: 0 34px 90px -24px rgb(8 15 30 / 0.4);
  will-change: transform;
}
.nsv-view {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  background: #10141a;
  transform: translateZ(0);
}
.nsv-view .nsv-poster,
.nsv-view canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nsv-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgb(255 255 255 / 0) 32%, rgb(255 255 255 / 0.16) 47%, rgb(255 255 255 / 0.02) 62%);
  pointer-events: none;
  opacity: 0;
}
.nsv-base {
  height: clamp(10px, 1.2vw, 15px);
  margin: 0 -1.6%;
  background: linear-gradient(180deg, #dde3ea, #b6bfca);
  border-radius: 2px 2px 15px 15px;
  position: relative;
  box-shadow: 0 18px 44px -18px rgb(8 15 30 / 0.35);
}
.nsv-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 14%;
  height: 46%;
  border-radius: 0 0 10px 10px;
  background: rgb(0 0 0 / 0.13);
}
[data-theme="dark"] .nsv-base { background: linear-gradient(180deg, #3a414b, #23282f); }

/* Bildunterschriften während der Fahrt */
.nsv-cap {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(26px, 5vh, 50px);
  z-index: 5;
  margin: 0;
  max-width: min(440px, calc(100vw - 40px));
  padding: 10px 16px;
  background: color-mix(in srgb, var(--bg-raised) 84%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 5px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Standbild: nur in der statischen Variante sichtbar */
.nsv-still { display: none; }

/* Das echte NETSCHOOL-Dashboard, aus dem Klassen-Display kommend */
.nsv-dash {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  transform-origin: 0 0;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}
.nsv-dash-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vh, 20px);
  padding: clamp(16px, 2.4vw, 30px);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 44px 130px -34px rgb(10 25 50 / 0.4);
}
.nsv-dash-head { text-align: center; }
.nsv-dash-logo { display: block; padding: clamp(2px, 0.8vh, 8px) 0 8px; }
.nsv-dash-logo img { height: 30px; width: auto; margin-inline: auto; display: block; }
.nsv-dash-title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 clamp(4px, 1vh, 12px);
}
.nsv-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vh, 48px) clamp(20px, 2vw, 30px);
  flex: 1;
  min-height: 0;
  align-content: center;
}
.nsv-dash-grid article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  align-content: center;
  padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.8vw, 22px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 0;
  text-align: left;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.nsv-dash-grid article .nsv-tile-icon { grid-row: 1 / span 2; margin-bottom: 0; }
.nsv-dash-grid article h3 { grid-column: 2; align-self: end; }
.nsv-dash-grid article .nsv-desc { grid-column: 2; align-self: start; }
.nsv-dash-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lift);
}
.nsv-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 6px;
  flex: none;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.nsv-tile-icon svg { width: 25px; height: 25px; }
/* Der Puls aktiviert die Kachel im Vorbeigehen */
.nsv-dash-grid article.flash .nsv-tile-icon {
  background: var(--accent);
  color: var(--on-accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 7px var(--accent-soft);
}
.nsv-dash-grid article.flash { border-color: var(--accent-line); }

/* Verbindungslinie und Lichtimpuls durch die Bausteine */
.nsv-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.nsv-flow-line {
  fill: none;
  stroke: var(--accent-line);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}
.nsv-dash.is-live .nsv-flow-line { opacity: 0.9; }
.nsv-flow-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
  opacity: 0;
  transition: opacity 0.6s ease 0.9s;
}
.nsv-dash.is-live .nsv-flow-dot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .nsv-flow { display: none; }
}
.nsv-dash-grid h3 {
  font-size: clamp(0.94rem, 1.3vw, 1.05rem);
  font-weight: 680;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.nsv-desc {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
}
/* Bereichs-Kacheln treten beim Ankommen gestaffelt auf */
html.js:not(.ns-static) .nsv-dash-grid article {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
html.js:not(.ns-static) .nsv-dash.is-live .nsv-dash-grid article {
  opacity: 1;
  transform: none;
}
.nsv-dash.is-live .nsv-dash-grid article:nth-child(2) { transition-delay: 0.08s; }
.nsv-dash.is-live .nsv-dash-grid article:nth-child(3) { transition-delay: 0.16s; }
.nsv-dash.is-live .nsv-dash-grid article:nth-child(4) { transition-delay: 0.24s; }
.nsv-dash.is-live .nsv-dash-grid article:nth-child(5) { transition-delay: 0.32s; }
.nsv-dash.is-live .nsv-dash-grid article:nth-child(6) { transition-delay: 0.40s; }
.nsv-dash-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  border-top: 1px solid var(--line);
  padding-top: clamp(10px, 1.6vh, 16px);
}
.nsv-dash-claim { color: var(--muted); font-size: 0.9rem; }
.nsv-dash-by {
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 760px) {
  .nsv-intro { top: 26%; }
  .nsv-laptop { width: 92vw; }
  .nsv-stage { padding-bottom: 10svh; }
  .nsv-cap { font-size: 0.84rem; }
  .nsv-dash-grid { grid-template-columns: 1fr 1fr; }
  .nsv-desc { display: none; }
  .nsv-tile-icon { width: 32px; height: 32px; border-radius: 5px; }
  .nsv-tile-icon svg { width: 18px; height: 18px; }
  .nsv-crumb { display: none; }
}

/* Statische Variante: gleiche Geschichte ohne Bewegung */
.ns-static .ns-pin {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: calc(var(--header-h) + 40px) 0 48px;
}
.ns-static .nsv-crumb { position: static; display: block; margin: 0 auto 26px; width: min(1120px, calc(100vw - 40px)); }
/* Statisch: gleiche linke Kante wie das Standbild darunter */
.ns-static .nsv-intro {
  position: static;
  transform: none;
  width: min(1040px, calc(100vw - 40px));
  margin: 0 auto 36px;
}
.ns-static .nsv-intro .nsv-head,
.ns-static .nsv-intro .lead { max-width: 620px; }
.ns-static .nsv-hint,
.ns-static .nsv-stage,
.ns-static .nsv-cap,
.ns-static .hero-scrollcue,
.ns-static .hero-progress { display: none; }
.ns-static .nsv-still {
  display: block;
  width: min(1040px, calc(100vw - 40px));
  margin: 0 auto 32px;
}
.ns-static .nsv-still img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.ns-static .nsv-still figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}
.ns-static .nsv-dash {
  position: static;
  visibility: visible;
  opacity: 1;
  transform: none;
  width: min(1120px, calc(100vw - 40px)) !important;
  height: auto !important;
  margin: 0 auto;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .nsv-hint { animation: none; }
  html:not(.force-motion) .nsv-dash.is-live .nsv-dash-status i { animation: none; }
}
/* Dev-Modus (?nsP=) und statische Variante: ohne Transitions, sonst hält die
   globale Reduce-Transition im eingefrorenen Test-Pane Styles auf dem Startwert */
html.ns-fixed *, html.ns-fixed *::before, html.ns-fixed *::after,
html.ns-static *, html.ns-static *::before, html.ns-static *::after {
  transition: none !important;
  animation: none !important;
}

/* ---------- NETSCHOOL Ökosystem-Karte ---------- */
.eco-orbit svg { width: 100%; height: auto; display: block; }
.eco-orbit .pf-wire { stroke: var(--accent-line); stroke-width: 1.1; fill: none; transition: opacity 0.25s ease, stroke 0.25s ease; }
.eco-orbit .eco-x {
  stroke: var(--accent);
  stroke-width: 1.3;
  fill: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.eco-orbit .eco-x.lit { opacity: 0.85; }
/* Zentrum: Wortmarke auf ruhiger Karte, die Linien enden sauber am Rand */
.eco-core rect {
  fill: var(--bg-raised);
  stroke: var(--accent-line);
  stroke-width: 1.2;
}
/* Flache Ecken auch in den SVG-Diagrammen (überschreibt das rx-Attribut) */
.eco-node rect, .eco-core rect, .nss-chip rect, .nss-core-plate { rx: 5px; }
.eco-node { cursor: default; transition: opacity 0.25s ease; }
.eco-node rect {
  fill: var(--bg-raised);
  stroke: var(--line);
  transition: stroke 0.25s ease, fill 0.25s ease;
}
.eco-node text {
  fill: var(--ink);
  font-size: 13.5px;
  font-weight: 620;
  text-anchor: middle;
}
.eco-node:hover rect, .eco-node.lit rect { stroke: var(--accent); }
.eco-orbit.eco-dim .eco-node { opacity: 0.3; }
.eco-orbit.eco-dim .eco-node.lit { opacity: 1; }
.eco-orbit.eco-dim .pf-wire { opacity: 0.18; }
.eco-orbit.eco-dim .pf-wire.lit { opacity: 1; stroke: var(--accent); stroke-width: 1.6; }
.eco-orbit.eco-dim .pf-dash { opacity: 0.15; }
.eco-principle-head, .eco-modules-head { margin-top: clamp(48px, 7vw, 88px); }

/* Offene Architektur: künftige Bausteine */
/* Offene Architektur: als Aussage gesetzt, nicht als Etikettenreihe */
.ns-future {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(16px, 4vw, 56px);
  align-items: start;
}
.ns-future h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.ns-future p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}
@media (max-width: 760px) {
  .ns-future { grid-template-columns: 1fr; gap: 12px; }
}

.netschool-teaser {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 56px);
  border-radius: 5px;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(720px 340px at 10% -20%, var(--accent-soft), transparent 65%),
    radial-gradient(560px 300px at 95% 120%, var(--accent-soft), transparent 70%),
    var(--bg-raised);
}
.netschool-teaser-copy h2 { max-width: 18ch; }
.netschool-teaser-copy p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }
.netschool-teaser-copy .btn { margin-top: 14px; }

.pf-foundation {
  margin: 18px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}


/* ---------- NetSchool: Plattform-System ---------- */
.netschool-extras { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .netschool-extras { grid-template-columns: 1fr; }
  .netschool-teaser { grid-template-columns: 1fr; }
}

.platform-stage h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.06;
  max-width: 22ch;
}
.pf-orbit { margin-top: clamp(28px, 4vw, 44px); }
.pf-orbit svg, .platform-visual svg { width: 100%; height: auto; display: block; }
.pf-orbit svg text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  fill: var(--ink);
  text-anchor: middle;
}
.pf-orbit svg .pf-node text { text-anchor: start; letter-spacing: -0.01em; }
.pf-node rect { fill: var(--bg-raised); stroke: var(--line-strong); }
.pf-ico { color: var(--accent); }
.pf-ico rect, .pf-ico circle, .pf-ico path {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.pf-ico rect[width="10"] { fill: currentColor; stroke: none; }

/* Illustrations-Vokabular */
.pf-card, .pf-cloud { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1.5; }
.pf-tile { fill: var(--accent-soft); stroke: var(--accent-line); stroke-width: 1.5; }
.pf-screen { fill: var(--accent-soft); stroke: var(--accent-line); stroke-width: 1.2; }
.pf-line { stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; fill: none; }
.pf-plane { fill: var(--accent-soft); stroke: var(--accent-line); stroke-width: 1.2; opacity: 0.6; }
.pf-status, .pf-dot { fill: var(--accent); }
.pf-mini { fill: var(--accent-soft); stroke: var(--accent-line); stroke-width: 1.4; }
.pf-avatar-head { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.pf-avatar-body { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.pf-ring { fill: none; stroke: var(--accent-line); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.pf-dash {
  fill: none; stroke: var(--accent-line); stroke-width: 1.6;
  stroke-dasharray: 4 8; stroke-linecap: round;
}
.pf-wire {
  fill: none; stroke: var(--accent); stroke-width: 1.6;
  stroke-linecap: round; opacity: 0.5;
}

/* Verbindungs-Choreografie: Beim Scrollen zeichnen sich die Drähte von den
   Plattformen zum NetSchool-Kern, danach setzt der Datenfluss ein.
   Ohne JS oder mit reduzierter Bewegung ist das System sofort verbunden. */
@media (prefers-reduced-motion: no-preference) {
  html.js .pf-orbit .pf-wire {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.9s var(--ease-out);
    transition-delay: var(--wd, 0s);
  }
  html.js .pf-orbit.pf-connected .pf-wire { stroke-dashoffset: 0; }
  html.js .pf-orbit .pf-links {
    opacity: 0;
    transition: opacity 0.7s ease 1.15s;
  }
  html.js .pf-orbit.pf-connected .pf-links { opacity: 1; }
  html.js .pf-orbit .pf-core {
    opacity: 0;
    transform: scale(0.86);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.6s ease 0.95s, transform 0.7s var(--ease-out) 0.95s;
  }
  html.js .pf-orbit.pf-connected .pf-core {
    opacity: 1;
    transform: scale(1);
  }
}
.pf-chip rect { fill: var(--bg-raised); stroke: var(--accent-line); stroke-width: 1.5; }
.pf-chip line { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.pf-blocked rect { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1.5; opacity: 0.75; }
.pf-blocked line { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }

/* Module */
.platform-modules { margin-top: clamp(40px, 6vw, 72px); }
.platform-module {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 72px);
  position: relative;
}
.platform-module + .platform-module { border-top: 1px solid var(--line); }
.platform-module + .platform-module::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: 1.5px; height: 34px;
  transform: translate(-50%, -100%);
  background: linear-gradient(to top, var(--accent), transparent);
  opacity: 0.5;
}
.platform-module:nth-child(even) .platform-copy { order: 2; }
.platform-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.platform-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.018em;
  max-width: 20ch;
  margin-bottom: 0.5em;
}
.platform-copy > p { color: var(--muted); max-width: 52ch; }
.platform-points { margin: 20px 0 26px; gap: 8px; }
.platform-points li { font-size: 0.94rem; }
/* Modul-CTA: blauer Primärknopf mit Luft zur Checkliste */
.platform-copy .btn { margin-top: 10px; }
.platform-visual {
  border-radius: var(--r-panel);
  background:
    radial-gradient(480px 300px at 50% 0%, var(--accent-soft), transparent 72%),
    var(--bg);
  border: 1px solid var(--line);
  padding: clamp(12px, 2vw, 24px);
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .4s ease;
}
.platform-module:hover .platform-visual {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-line);
}
.platform-module:hover .platform-name { letter-spacing: 0.13em; }
.platform-name { transition: letter-spacing .35s var(--ease-out); }

/* Bewegung, nur wenn erwünscht */
@media (prefers-reduced-motion: no-preference) {
  .pf-float { animation: pf-float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .pf-dash { animation: pf-dashflow 2.8s linear infinite; }
  .pf-ring--spin { animation: pf-spin 70s linear infinite; transform-origin: 252px 164px; }
  .pf-ring--spin-r { animation: pf-spin 55s linear infinite reverse; transform-origin: 252px 164px; }
  .pf-status { animation: pf-pulse 3.2s ease-in-out infinite; }
  .pf-chip { animation: pf-chip-pass 5.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .pf-blocked { animation: pf-blocked 5s ease-in-out infinite; }
  .pf-dot--a { animation: pf-dot-a 4.2s ease-in-out infinite; }
  .pf-dot--b { animation: pf-dot-b 4.2s ease-in-out infinite; animation-delay: 2.1s; }
}
@keyframes pf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pf-dashflow { to { stroke-dashoffset: -48; } }
@keyframes pf-spin { to { transform: rotate(360deg); } }
@keyframes pf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pf-chip-pass {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateX(118px); opacity: 1; }
  70%, 100% { transform: translateX(128px); opacity: 0; }
}
@keyframes pf-blocked { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.9; } }
@keyframes pf-dot-a {
  0% { transform: translate(96px, 214px); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translate(196px, 140px); opacity: 1; }
  55% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes pf-dot-b {
  0% { transform: translate(240px, 140px); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translate(336px, 108px); opacity: 1; }
  55% { opacity: 0; } 100% { opacity: 0; }
}

@media (max-width: 1080px) {
  .platform-module { grid-template-columns: 1fr; gap: 28px; }
  .platform-module:nth-child(even) .platform-copy { order: 0; }
  .platform-visual { order: -1; max-width: 560px; }
  .pf-orbit svg text { font-size: 17px; }
}


/* ---------- Über uns ---------- */
.about-story {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-story-copy h2 { max-width: 16ch; }
.about-story-copy p { color: var(--ink-soft); max-width: 58ch; }
.about-story-fact {
  margin: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(420px 260px at 90% -10%, var(--accent-soft), transparent 70%),
    var(--bg-raised);
  box-shadow: var(--shadow-soft);
}
.about-story-fact .kv-list div:first-child { border-top: 0; }

.stance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(40px, 6vw, 88px);
  max-width: 1040px;
}
.stance-grid .value:nth-child(1),
.stance-grid .value:nth-child(2) { border-top: 1px solid var(--line); }
.stance-grid .value:last-child { border-bottom: 1px solid var(--line); }
.stance-grid .value:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.stance-grid .value p { max-width: 52ch; }

.process.story-chain { grid-template-columns: repeat(5, 1fr); }

/* Team-Kopf: zentriert, mit Eyebrow */
.team-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.team-head .section-lead { margin-inline: auto; }

/* Übriges Team: zentrierte Karten in einer Reihe */
.team-grid.team-staff { grid-template-columns: repeat(4, 1fr); }
.team-grid.team-staff .person {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px) 18px;
}
.team-grid.team-staff .person-initials {
  margin: 0 auto;
  width: 84px;
  height: 84px;
  font-size: 1.5rem;
}
@media (max-width: 1080px) { .team-grid.team-staff { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid.team-staff { grid-template-columns: 1fr; } }

/* Team in Funktionsgruppen: alle Karten gleichwertig */
.team-groups { display: grid; gap: clamp(30px, 4.5vw, 52px); }
.team-group-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.team-grid.team-staff.team-duo {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 560px) {
  .team-grid.team-staff.team-duo { grid-template-columns: 1fr; }
}
/* Runde Porträts der Geschäftsleitung, gross genug zum Erkennen */
.person-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 35%, #F7F8FA 0%, #E3E7EC 100%);
  flex: none;
}
.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
}
@media (max-width: 560px) {
  .person-avatar { width: 160px; height: 160px; }
}
.team-staff { margin-top: 0; }


/* ---------- Preisrechner ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 40px);
}
/* Der Rechner ist eine Abfolge von Blöcken, keine Sammlung von Kästen.
   Getrennt wird mit einer Haarlinie, nicht mit Rahmen. */
.calc-form { display: block; }
.calc-group {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: clamp(24px, 3vw, 32px) 0 0;
  margin: clamp(24px, 3vw, 32px) 0 0;
}
.calc-form > .calc-group:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.calc-group legend {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
  color: var(--ink);
  padding: 0;
  margin-bottom: 6px;
}
.calc-lead {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 66ch;
}


/* ---------- Bausteine as a Service ---------- */
.svc-all {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: var(--accent-soft);
  cursor: pointer;
  margin-bottom: 14px;
  transition: border-color .2s ease;
}
.svc-all:hover { border-color: var(--accent); }
.svc-all input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.svc-all-text b { display: block; font-size: 0.97rem; font-weight: 650; color: var(--ink); }
.svc-all-text span { display: block; font-size: 0.85rem; line-height: 1.5; color: var(--muted); margin-top: 2px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.svc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-raised);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out);
}
.svc-card:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.svc-card:has(input[type="checkbox"]:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.svc-main {
  position: relative;
  display: grid;
  gap: 5px;
  align-content: start;
  flex: 1;
  padding: 16px 42px 16px 16px;
  cursor: pointer;
}
.svc-main input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.svc-card:has(input[type="checkbox"]:checked) .svc-main::after {
  content: "✓";
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}
.svc-main b { font-size: 1rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.svc-desc { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.svc-price { font-size: 0.85rem; font-weight: 650; color: var(--accent); font-variant-numeric: tabular-nums; }
/* Stufenwahl innerhalb einer Karte */
.svc-level { display: flex; gap: 6px; padding: 0 16px 16px; }
.svc-level label {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  font-size: 0.79rem;
  font-weight: 620;
  line-height: 1.25;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.svc-level label input { position: absolute; opacity: 0; pointer-events: none; }
.svc-level label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.svc-level label em { display: block; font-style: normal; font-weight: 500; font-size: 0.72rem; opacity: 0.85; }
/* Karte über die ganze Breite, etwa das Gerätemanagement mit Stufenwahl */
.svc-card:has(input[type="checkbox"]:not(:checked)) .svc-level { opacity: 0.4; pointer-events: none; }
/* Zusatzoptionen als ruhige Liste, nicht als grosse Karten */
.opt-list {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-raised);
  overflow: hidden;
}
.opt-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.opt-row + .opt-row { border-top: 1px solid var(--line); }
.opt-row:hover { background: var(--bg); }
.opt-row input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.opt-row:has(input:checked) { background: var(--accent-soft); }
.opt-text b { display: block; font-size: 0.95rem; font-weight: 650; color: var(--ink); }
.opt-desc { display: block; font-size: 0.83rem; line-height: 1.45; color: var(--muted); margin-top: 1px; }
.opt-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.opt-price em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.opt-row:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
@media (max-width: 560px) {
  .opt-row { grid-template-columns: auto minmax(0, 1fr); }
  .opt-price { grid-column: 2; text-align: left; }
  .opt-price em { display: inline; margin-left: 4px; }
}

/* Nicht wählbar, weil eine Voraussetzung fehlt */
/* Im Gesamtsystem gesetzt und gesperrt: sichtbar ausgegraut, die
   Stufenwahl im MDM bleibt aber bedienbar und deshalb voll sichtbar. */
.svc-card:has(input[type="checkbox"]:disabled:checked) {
  border-color: var(--line-strong);
  background: var(--bg-sunken);
  box-shadow: none;
}
.svc-card:has(input[type="checkbox"]:disabled:checked) .svc-main {
  opacity: 0.6;
  cursor: default;
}
.svc-card:has(input[type="checkbox"]:disabled:checked) .svc-main::after { color: var(--muted); }
.svc-card:has(input[type="checkbox"]:disabled:checked):hover { transform: none; box-shadow: none; }
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.calc-hint {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 72ch;
}
.calc-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px 14px;
  align-items: end;
}
.calc-fields .form-field { display: grid; gap: 4px; }
.calc-fields .form-field label {
  font-size: 0.82rem;
  font-weight: 650;
  margin: 0;
  line-height: 1.25;
}
.calc-fields .form-field label small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}
.calc-form input[type="number"],
.calc-form select {
  padding: 8px 11px;
  font-size: 0.95rem;
}
/* Leistungen: drei Kategorien wie im Menü */
.calc-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
/* Jede Kategorie als eigene Box untereinander, Karten darin nebeneinander */
.calc-cat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: var(--bg);
  padding: 14px 14px 16px;
}
.calc-cat > .calc-cat-title,
.calc-cat > .calc-cat-note { grid-column: 1 / -1; }
/* Leistungsumfang: trennt Hardware von reinem Betrieb, damit niemand
   denkt, wir liefern auch Drucker und Endgeräte */
.calc-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.scope-block {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  padding: 12px 14px 14px;
}
.scope-block.scope-hw {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.scope-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.scope-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.scope-block li {
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.scope-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}
.scope-block li b { color: var(--ink); font-weight: 650; }
@media (max-width: 700px) {
  .calc-scope { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------
   Zahlenfelder mit Beschriftung (im Rechner bei Access: IP-Adressen
   und Reserveleitung). Schritt 01 hat seine eigene Karte .school in
   site.css.
   --------------------------------------------------------------- */
.inv-f {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  cursor: pointer;
}
.inv-f > span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-soft);
}
.inv-f input {
  width: 100%;
  font: 450 0.95rem/1.5 var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  padding: 8px 11px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.inv-f input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.inv-f:hover input { border-color: var(--accent-line); }

/* Abgeleitete Mengen: das Ergebnis, nicht die Eingabe. Ohne Rahmen,
   dafür mit der Akzentfarbe auf der Zahl. */
.inv-o {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 2px;
}
.inv-o b {
  font-size: 1.32rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.inv-o span { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.inv-o em {
  font-style: normal;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Schmal: die Beschriftung stellt sich über die Zahlen, die Felder
   teilen sich die Breite. Diese Regeln stehen bewusst nach den
   Grundregeln, sonst gewinnt die Grundregel. */
@media (max-width: 620px) {
}

/* Kurzer Erklärtext unter dem Kategorietitel */
.calc-cat-note {
  margin: -2px 0 6px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 92ch;
}
@media (max-width: 900px) {
  .calc-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .calc-cat { grid-template-columns: 1fr; }
}
/* Leistungen als wählbare Karten, gleiches Muster wie die SLA-Auswahl */
.calc-cat .calc-check {
  position: relative;
  margin-inline: 0;
  padding: 12px 36px 11px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-raised);
  transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.calc-cat .calc-check:hover {
  background: var(--bg-raised);
  border-color: var(--accent-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.calc-cat .calc-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc-cat .calc-check:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.calc-cat .calc-check:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 13px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.calc-cat .calc-check:has(input:disabled) {
  cursor: default;
  transform: none;
  box-shadow: inset 0 0 0 1px var(--accent);
  opacity: 0.72;
}
/* Abhängige Option (kein eigener Baustein): gestrichelt und eingerückt */
.calc-cat .calc-check.calc-sub {
  border-style: dashed;
  background: var(--bg);
}
.calc-cat .calc-check.calc-sub:has(input:disabled) { opacity: 1; }
.calc-cat-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin: 0 0 6px;
}
.calc-cat .form-field { margin-top: 8px; }
.calc-check {
  display: flex;
  align-items: start;
  gap: 11px;
  padding: 10px 12px;
  margin-inline: -12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.calc-check:hover { background: var(--bg-sunken); }
.calc-check input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; margin-top: 2px; }
.calc-check span { font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.35; min-width: 0; }
.calc-check span em {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}
.calc-check.calc-sub { margin-left: 0; }
.calc-check input:disabled { opacity: 0.6; cursor: default; }
.calc-check input:disabled + span { opacity: 0.55; }
.calc-ns-active .calc-check:has(input:disabled) { cursor: default; }
/* NETSCHOOL-Hauptschalter: hervorgehoben über den Kategorien */
.calc-ns-check {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: var(--accent-soft);
}
.calc-ns-check:hover { background: var(--accent-soft); }
.calc-ns-check input { width: 17px; height: 17px; }
.calc-ns-check span { font-size: 0.98rem; font-weight: 700; }
.calc-ns-check span em { color: var(--ink-soft); }
@media (max-width: 860px) {
  .calc-cats { grid-template-columns: 1fr; }
}
.calc-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(420px 240px at 90% -10%, var(--accent-soft), transparent 70%),
    var(--bg-raised);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
}
.calc-summary h3 { font-size: 1.05rem; margin: 0; }
.calc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.calc-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.calc-list li b { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.calc-list li em { font-style: normal; color: var(--muted); font-size: 0.78rem; }
.calc-list .calc-empty { border: 0; color: var(--muted); }
/* Kategoriezeile: gliedert die Positionen und zeigt die Zwischensumme */
.calc-list .calc-kat {
  margin-top: 10px;
  padding-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
}
.calc-list .calc-kat:first-child { margin-top: 0; }
.calc-list .calc-kat b { font-size: 0.78rem; letter-spacing: 0; color: var(--accent); }
.calc-list .calc-kat + li { padding-top: 2px; }
.calc-list .calc-empty {
  display: block;
  border: 0;
  padding: 6px 0 2px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}
.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.02rem;
  font-weight: 650;
}
.calc-total-row b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.calc-netschool {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--on-accent);
}
.calc-netschool-head,
.calc-netschool-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.calc-netschool-head { font-size: 0.84rem; font-weight: 600; opacity: 0.92; }
.calc-netschool-total { font-size: 0.95rem; font-weight: 700; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / 0.28); }
.calc-netschool em { font-style: normal; }
.calc-netschool b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-netschool-total b { font-size: 1.2rem; }
.calc-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
/* Nebenaktionen unter dem Haupt-CTA */
.calc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.calc-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding-inline: 12px;
  font-size: 0.82rem;
}
.calc-actions .btn svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 460px) {
  .calc-actions { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
}


/* ---------- Druckdokument des Rechners (Als PDF speichern) ---------- */
.print-doc { display: none; }
@media print {
  html, body { background: #fff !important; color: #12181F; }
  body > *:not(.print-doc) { display: none !important; }
  .print-doc {
    display: block;
    font-family: var(--font-sans, system-ui, sans-serif);
    color: #12181F;
    background: #fff;
    padding: 0;
  }
  @page { margin: 18mm 16mm; }
  .print-doc .print-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1C63AE;
  }
  .print-doc .logo { height: 34px; width: auto; }
  .print-doc .logo .ink,
  .print-doc .logo .logo-claim path { fill: #12181F; }
  .print-doc .logo .blue { fill: #1C63AE; }
  .print-doc .print-meta { text-align: right; font-size: 10pt; line-height: 1.4; }
  .print-doc .print-meta b { display: block; font-size: 11pt; }
  .print-doc .print-meta span { color: #5A6674; }
  .print-doc h1 { font-size: 19pt; margin: 22px 0 4px; letter-spacing: -0.01em; }
  .print-doc .print-lead { font-size: 10pt; color: #5A6674; margin: 0 0 18px; }
  .print-doc .print-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 14px;
    margin-bottom: 20px;
  }
  .print-doc .print-facts div {
    border: 1px solid #DDE3EA;
    border-radius: 5px;
    padding: 7px 9px;
  }
  .print-doc .print-facts span { display: block; font-size: 7.5pt; text-transform: uppercase; letter-spacing: 0.08em; color: #5A6674; }
  .print-doc .print-facts b { font-size: 11pt; }
  .print-doc .print-table { width: 100%; border-collapse: collapse; font-size: 10pt; }
  .print-doc .print-table td { padding: 7px 0; border-bottom: 1px solid #E6EBF1; vertical-align: baseline; }
  .print-doc .print-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .print-doc .print-table em { font-style: normal; color: #5A6674; font-size: 8.5pt; }
  .print-doc .print-kat td {
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1C63AE;
    border-bottom: 1px solid #1C63AE;
    padding-top: 16px;
    padding-bottom: 4px;
  }
  .print-doc .print-kat:first-child td { padding-top: 0; }
  .print-doc .print-kat td:last-child { letter-spacing: 0; }
  .print-doc .print-total td { font-weight: 700; font-size: 11.5pt; border-top: 2px solid #12181F; border-bottom: none; padding-top: 10px; }
  .print-doc .print-rabatt td { color: #1C63AE; border-bottom: none; padding-top: 4px; padding-bottom: 2px; }
  .print-doc .print-total-ns td { color: #1C63AE; border-top: 1px solid #1C63AE; }
  .print-doc .print-note { font-size: 8.5pt; color: #5A6674; line-height: 1.5; margin: 22px 0 0; }
  .print-doc .print-foot {
    font-size: 8.5pt;
    color: #5A6674;
    margin: 26px 0 0;
    padding-top: 8px;
    border-top: 1px solid #E6EBF1;
  }
}


/* ---------- Rechtsseiten & 404 ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 1.2rem;
  margin-top: clamp(32px, 4vw, 44px);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--ink-soft); }
.legal-stand { font-size: 0.88rem; color: var(--muted); margin-top: 32px; }

.page-hero.notfound {
  border-bottom: 0;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  text-align: left;
}
.notfound-code {
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  margin: 0 0 8px;
}
.notfound-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }


/* ---------- CTA-Band ---------- */
.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 15% 0%, var(--accent-soft), transparent 65%),
    var(--bg-raised);
}
.cta-band .container {
  padding-block: clamp(56px, 7vw, 88px);
  display: grid; gap: 12px;
  justify-items: start;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--muted); max-width: 52ch; }
.cta-band .btn { margin-top: 10px; }


/* ---------- Sektionen ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}


/* ---------- Leistungen ---------- */
.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.services-intro p { color: var(--muted); max-width: 38ch; margin-bottom: 28px; }

.services-list {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: service;
}
.service {
  counter-increment: service;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px) 4px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background-color .25s ease;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service::after {
  content: counter(service, decimal-leading-zero);
  position: absolute; right: 4px; top: clamp(22px, 3vw, 30px);
  font-size: 0.85rem; font-weight: 600;
  color: var(--line-strong);
  font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.service:hover::after { color: var(--accent); }
.service-icon {
  width: 40px; height: 40px;
  padding: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 5px;
}
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted); max-width: 52ch; padding-right: 40px; }


/* ---------- Prinzip ---------- */
.section-principle {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}
.principle-band {
  position: relative;
  border-radius: 5px;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(720px 340px at 12% -20%, var(--accent-soft), transparent 65%),
    radial-gradient(560px 300px at 95% 120%, var(--accent-soft), transparent 70%),
    var(--bg);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 64px) clamp(84px, 9vw, 120px);
  overflow: hidden;
}
.principle-band::after {
  /* feine Signatur: grosse, halbtransparente Wortmarke des Anspruchs */
  content: "Simply IT";
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: -0.32em;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  opacity: 0.07;
  white-space: nowrap;
  pointer-events: none;
}
.principle-band h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 0.35em;
}
.principle-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
}
.principle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
  margin-top: calc(-1 * clamp(48px, 6vw, 72px));
  padding-inline: clamp(16px, 2.5vw, 40px);
  position: relative;
}
.principle-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.principle-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
}
.principle-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  transition: background-color .3s ease, color .3s ease;
}
.principle-icon svg { width: 26px; height: 26px; }
.principle-card:hover .principle-icon {
  background: var(--accent);
  color: var(--on-accent);
}
.principle-card h3 { font-size: 1.12rem; margin-bottom: 10px; max-width: 18ch; }
.principle-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }


/* ---------- Equalizer ---------- */
.equalizer-layout {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.equalizer-copy p { color: var(--muted); }
.equalizer-copy h2 { max-width: 16ch; }

.equalizer-price {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: var(--r-panel);
  display: grid; gap: 4px;
}
.price-value {
  font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.price-note { font-size: 0.92rem; color: var(--ink-soft); max-width: 44ch; }

.equalizer-visual { margin: 0; }
.flow {
  display: grid;
  gap: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}
.flow-node { display: grid; gap: 10px; }
.flow-label {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.flow-source .flow-sub, .flow-target .flow-sub {
  font-size: 0.98rem; font-weight: 550; color: var(--ink);
  padding: 12px 16px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
}
.flow-target .flow-sub {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.flow-connector {
  height: 34px;
  display: grid; place-items: center;
  position: relative;
}
.flow-connector i {
  display: block; width: 1.5px; height: 100%;
  background: linear-gradient(var(--line-strong), var(--accent));
}
.flow-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.flow-steps li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 16px;
  font-size: 0.95rem; font-weight: 550;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--bg);
  transition: border-color .3s ease, background-color .3s ease;
}
.flow-steps li.done {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.flow-steps em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.equalizer-visual figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 56ch;
}


/* ---------- Aus der Praxis ---------- */
.section-cases {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.case {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(26px, 3.4vw, 40px);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}
.case-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background:
    radial-gradient(720px 320px at 88% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.case h3 { max-width: 24ch; }
.case p { color: var(--muted); font-size: 0.98rem; }

.case-figures {
  display: grid; gap: 4px;
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(24px, 3vw, 40px);
}
.case-figures div { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; }
.case-figures div + div { border-top: 1px solid var(--line); }
.case-figures b {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  min-width: 74px;
}
.case-figures span { font-size: 0.92rem; color: var(--muted); }
/* Case Study: sechs Kennzahlen als ruhiges Zweierraster */
.case-figures-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(18px, 2.4vw, 34px);
  align-content: center;
}
.case-figures-grid div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 0; }
.case-figures-grid div:nth-child(2) { border-top: 0; }
.case-figures-grid b { min-width: 0; font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.case-figures-grid span { font-size: 0.85rem; }
.case-more { margin-top: 22px; }


/* ---------- NetSchool ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.module {
  position: relative;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg-raised);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.module:nth-child(1) {
  background:
    linear-gradient(150deg, var(--accent-soft), transparent 55%),
    var(--bg-raised);
}
.module:nth-child(4) {
  background:
    linear-gradient(330deg, var(--accent-soft), transparent 55%),
    var(--bg-raised);
}
.module-no {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem; font-weight: 650;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  background: var(--bg-raised);
}
.module p { color: var(--muted); font-size: 0.97rem; max-width: 52ch; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  position: relative;
  counter-reset: step;
}
.process::before {
  content: "";
  position: absolute; top: 7px; left: 8px; right: 8px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--line-strong));
}
.process-step { counter-increment: step; position: relative; padding-top: 26px; }
.process-step::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--accent);
}
.process-step h4::before {
  content: counter(step) " · ";
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.process-step p { font-size: 0.93rem; color: var(--muted); }


/* ---------- Preise ---------- */
.section-pricing {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.tier {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tier-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-soft);
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.78rem; font-weight: 650;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
}
.tier h3 { font-size: 1.3rem; }
.tier-for {
  font-size: 0.88rem; color: var(--muted);
  min-height: 2.6em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.tier ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  font-size: 0.93rem; color: var(--ink-soft);
}
.tier li { position: relative; padding-left: 22px; }
.tier li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 9px; height: 5.5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing-note {
  margin-top: 26px;
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 70ch;
}

.fixed-prices { margin-top: clamp(56px, 7vw, 80px); }
.fixed-prices > h3 { margin-bottom: 24px; }
.fixed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 1100px) { .fixed-grid { grid-template-columns: repeat(2, 1fr); } }
.fixed-item {
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.fixed-item h4 { font-size: 1.05rem; }
.fixed-item p { font-size: 0.92rem; color: var(--muted); }
.fixed-item b {
  margin-top: 16px;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.fixed-item small { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.fine-print { margin-top: 22px; font-size: 0.87rem; color: var(--muted); max-width: 78ch; }


/* ---------- Stimmen ---------- */
.section-quote { padding-block: clamp(64px, 8vw, 104px); }
.quote { margin: 0; max-width: 880px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 26px;
  font-weight: 650;
  color: var(--ink);
}
.quote figcaption span {
  display: block;
  font-weight: 450;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 2px;
}


/* ---------- FAQ ---------- */
.section-faq {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro h2 { max-width: 14ch; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg {
  flex: none; width: 18px; height: 18px;
  color: var(--muted);
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq-item p {
  padding: 0 40px 22px 2px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 62ch;
}


/* ---------- Über uns ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.team { display: grid; gap: clamp(20px, 2.5vw, 28px); }
.about-teaser {
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(560px 300px at 90% -10%, var(--accent-soft), transparent 70%),
    var(--bg-raised);
  box-shadow: var(--shadow-soft);
}
.about-teaser p { color: var(--ink-soft); max-width: 56ch; }
.about-teaser .btn { margin-top: 10px; }
.team-grid { grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.8vw, 20px); }
.team-grid .person {
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  align-items: start;
}
.team-grid .person-initials { width: 52px; height: 52px; font-size: 1.05rem; }
.team-grid .person h3 { font-size: 1.05rem; }
.team-grid .person-role { font-size: 0.8rem; margin-bottom: 8px; }
.team-grid .person p:last-child { font-size: 0.88rem; }
.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--bg-raised);
  box-shadow: var(--shadow-soft);
}
.person-initials {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.person h3 { margin-bottom: 2px; }
.person-role {
  font-size: 0.88rem; font-weight: 650;
  color: var(--accent);
  margin-bottom: 10px;
}
.person p:last-child { color: var(--muted); font-size: 0.96rem; }

.values { display: grid; gap: 0; }
.value { padding: 22px 0; border-top: 1px solid var(--line); }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h4 { margin-bottom: 6px; }
.value p { font-size: 0.95rem; color: var(--muted); }


/* ---------- Kontakt ---------- */
.section-contact {
  background:
    radial-gradient(900px 460px at 12% 0%, var(--accent-soft), transparent 65%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
}
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info h2 { max-width: 14ch; }
.contact-info > p { color: var(--muted); max-width: 42ch; }

.contact-facts { margin: 36px 0 0; display: grid; gap: 0; }
.contact-facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-facts div:last-child { border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: 0.88rem; font-weight: 650; color: var(--muted); padding-top: 2px; }
.contact-facts dd { margin: 0; font-size: 0.98rem; color: var(--ink); }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-soft);
}
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font: 450 1rem/1.5 var(--font-sans);
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: #C23A3A; }
.form-error { font-size: 0.85rem; color: #C23A3A; margin: 0; }
:root[data-theme="dark"] .form-error { color: #E88; }
:root[data-theme="dark"] .form-field.invalid input,
:root[data-theme="dark"] .form-field.invalid textarea { border-color: #E88; }
.form-note { font-size: 0.87rem; color: var(--muted); text-align: center; margin: 0; }


/* ---------- Reveal-Animationen ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) .reveal { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 1080px) {

  .services-layout { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .equalizer-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1080px) {
  .mega-panel { display: none; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Schmale Screens: wo Inhalte kompakt genug sind, zwei Spalten behalten */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .theme-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-strip img { height: 36px; max-width: 150px; }
  .marquee-set span { height: 38px; }
  .theme-card { padding: 16px; }
  .theme-card h3 { font-size: 0.95rem; }
  .theme-card p { font-size: 0.85rem; }
  .principle-cards { grid-template-columns: 1fr; padding-inline: 8px; margin-top: -56px; }
  .principle-band { padding-bottom: 96px; }
  .split-cards { grid-template-columns: 1fr; }
  .mega-inner { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-wide { grid-template-columns: 1fr; }
  .case-figures { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 8px; }
  .modules { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 20px; }
  .process::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 1.5px; height: auto;
    background: linear-gradient(var(--accent), var(--line-strong)); }
  .process-step { padding-top: 0; padding-left: 32px; }
  .tiers { grid-template-columns: 1fr; }
  .fixed-grid { grid-template-columns: 1fr; }
  .contact-facts div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .team-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .stance-grid { grid-template-columns: 1fr; }
  .stance-grid .value { border-top: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .stance-grid .value:first-child { border-top: 1px solid var(--line) !important; }
  .process.story-chain { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-copy { max-width: min(560px, calc(100vw - 40px)); }
  .hero-copy h1 br { display: none; }
  .hero-outro {
    max-width: calc(100vw - 40px);
    top: auto; bottom: 24px; transform: none;
    padding: 24px;
  }
  .hero-outro h2 { font-size: 1.45rem; }
  .hero-claim { transform: translate(-50%, calc(-50% + 90px)); }
}


