/* ============================================================
   NETKA GmbH, Designsystem «Convergence»
   Neuaufbau nach dem Vorbild der Referenz: dunkler Hero mit
   Partikel-Logo und Fluchtlinien, darunter Kapitel auf Papier
   und auf Tusche im Wechsel. Eine Schrift (Archivo), ein Akzent
   (Markenblau), Pillen für Aktionen, 8 px für Karten.
   ============================================================ */

@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%;
  font-display: swap; src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%;
  font-display: swap; src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens: Tusche (dunkel) ist die Grundlage ---------- */
:root {
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --w-label: 84%;

  --bg: #0B0B0A;
  --bg-2: #111110;
  --bg-3: #171716;
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.45);
  --ink-4: rgba(255, 255, 255, 0.28);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #4F9BE0;
  --accent-2: #7FB5EA;
  --accent-soft: rgba(79, 155, 224, 0.14);
  --on-accent: #0B1523;
  --btn-bg: #FFFFFF;
  --btn-ink: #111110;

  --header-h: 64px;
  --container: 1400px;
  --gutter: clamp(20px, 3vw, 32px);
  --r-card: 8px;
  --r-small: 3px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
/* Papier: eine Sektion mit .is-light kehrt alle Tokens um */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; padding: 10px 14px; background: var(--btn-bg); color: var(--btn-ink); border-radius: 999px; }
.skip-link:focus { left: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.legend { font-stretch: var(--w-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons: Pillen, zwei Stufen, ein Textlink ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px;
  border-radius: 999px;
  font: 500 0.9rem/1 var(--font);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.link svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link-muted { color: var(--ink-3); }

/* ---------- Header: 64 px, durchsichtig, liegt über allem ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background-color .25s ease;
}
.site-header.is-solid { background: var(--bg); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; height: 100%; }
.brand .logo { height: 30px; width: auto; }
.logo .blue { fill: var(--accent); }
.logo .ink, .logo .logo-claim path { fill: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 36px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 100%; padding: 0; border: 0; background: none;
  font: 500 0.875rem/1 var(--font); color: var(--ink-2); cursor: pointer;
  transition: color .18s ease;
}
.nav-btn:hover, .nav-btn[aria-expanded="true"], .nav-link:hover { color: var(--ink); }
.nav-btn svg { width: 12px; height: 12px; opacity: .5; transition: transform .2s var(--ease); }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link { font: 500 0.875rem/1 var(--font); color: var(--ink-2); transition: color .18s ease; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-actions .nav-link { color: var(--ink); }
.nav-burger { display: none; }

/* ---------- Mega-Panel: vier Karten, darunter die Vertrauenszeile ---------- */
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-6px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease); }
.mega-inner { padding: 28px 0 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-grid.cols-lists { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; }
.mega-grid.cols-wide { grid-template-columns: 2fr 1fr; }
.mega-stack { display: grid; gap: 12px; }
.mega-card {
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  transition: border-color .18s ease, background-color .18s ease;
}
.mega-card.short { min-height: 0; }
.mega-card:hover { border-color: var(--line-2); background: var(--bg-3); }
.mega-card .legend { margin-bottom: 18px; }
.mega-visual { flex: 1; min-height: 150px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mega-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.mega-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); flex: none; }
.mega-arrow svg { width: 12px; height: 12px; }
.mega-card:hover .mega-arrow { border-color: var(--ink-3); color: var(--ink); }
.mega-desc { margin-top: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.mega-list { padding: 8px 0 0; }
.mega-list .legend { margin-bottom: 14px; }
.mega-list a { display: block; padding: 7px 0; font-size: 0.95rem; color: var(--ink-2); transition: color .18s ease; }
.mega-list a:hover { color: var(--ink); }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }

/* Kleine Visualisierungen in den Karten: aus echten Zahlen, nicht
   aus Dekoration. Alles Haarlinien und Punkte in zwei Farben. */
.mv-steps { display: flex; align-items: center; gap: 0; margin-top: 26px; }
.mv-steps span { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.mv-steps span::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.mv-steps span:last-child { flex: 0; width: 7px; height: 7px; background: none; }
.mv-steps span:last-child::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); top: 0; }
.mv-steps-labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.68rem; color: var(--ink-3); font-stretch: var(--w-label); }
.mv-stat { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mv-stat small { display: block; margin-top: 2px; font-size: 0.68rem; letter-spacing: 0; color: var(--ink-3); font-stretch: var(--w-label); }
.mv-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 14px; }
.mv-bars i { flex: 1; display: block; background: var(--accent); border-radius: 2px 2px 0 0; opacity: .9; }
.mv-bars i:nth-child(odd) { opacity: .55; }
.mv-rows { display: grid; gap: 9px; margin-top: 10px; font-size: 0.78rem; color: var(--ink-2); }
.mv-rows span { display: flex; align-items: center; gap: 8px; }
.mv-rows span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); flex: none; }
.mv-rows span.on::before { background: var(--accent); }
.mv-code { margin-top: 10px; font-size: 0.78rem; line-height: 1.6; color: var(--ink-2); font-stretch: var(--w-label); }
.mv-code b { color: var(--accent); font-weight: 500; }
.mv-code .tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 0.68rem; letter-spacing: .06em; margin-right: 6px; }

/* ---------- Hero: Partikel-Logo links, Fluchtlinien, Headline rechts ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
.hero-stage { position: relative; min-height: 100svh; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-canvas.lines { pointer-events: none; }
/* Die Haarlinie vom Fluchtpunkt nach rechts, sie trägt das Blau */
.hero-rule {
  position: absolute; left: 50%; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 0%, rgba(79, 155, 224, 0.55) 40%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
}
.hero-rule::before {
  content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 18px 6px rgba(255, 255, 255, 0.55), 0 0 60px 20px rgba(79, 155, 224, 0.35);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 100svh;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.hero-copy { grid-column: 2; align-self: end; padding: 0 0 44px 0; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 0.98; }
.hero-copy h1 .glint {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, rgba(220, 222, 226, 1) 0%, rgba(220, 222, 226, 1) 34%, #fff 46%, #fff 54%, rgba(220, 222, 226, 1) 66%, rgba(220, 222, 226, 1) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: glint 7s cubic-bezier(.4, 0, .2, 1) .6s infinite;
}
.hero-copy h1 .glint-plain { display: block; }
@keyframes glint { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.hero-sub { grid-column: 2; grid-row: 2; padding-top: 40px; }
.hero-sub p { max-width: 620px; font-size: clamp(0.95rem, 1.2vw, 1.125rem); line-height: 1.5; color: var(--ink-3); }
.hero-sub p b { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(72px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 18px; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.55; color: var(--ink-3); max-width: 60ch; }
.section-head p b { color: var(--ink); font-weight: 500; }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Partnerzeile: Haarlinien, Logos, ein Link rechts */
.partners { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }
.partners-logos { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.partners-logos img { height: 22px; width: auto; opacity: .55; filter: grayscale(1) brightness(1.6); transition: opacity .2s ease; }
.is-light .partners-logos img { filter: grayscale(1); }
.partners-logos img:hover { opacity: 1; }

/* Kapitelband: ein Wort, ein Satz */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 64px); align-items: end; padding-block: clamp(56px, 7vw, 96px); }
.chapter-word { font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: .92; letter-spacing: -0.045em; }
.chapter-word span { color: var(--accent); }
.chapter-text { max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--ink-3); }
.chapter-text b { color: var(--ink); font-weight: 500; }
.chapter-meta { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-stretch: var(--w-label); font-size: 0.8rem; color: var(--ink-3); }
.chapter-meta b { color: var(--ink); font-weight: 600; }

/* Plan (Kapitel Planen), Papierseite */
.plan-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.field input { width: 100%; height: 40px; padding: 0 12px; font: 450 0.95rem var(--font); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-small); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 132px)); gap: 12px; margin: 12px 0 26px; }
.plan-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.inv-o b { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.inv-o span { display: block; font-size: 0.78rem; color: var(--ink-2); font-stretch: var(--w-label); }
.plan-note { font-size: 0.85rem; line-height: 1.55; color: var(--ink-3); max-width: 34ch; margin-bottom: 14px; }
.plan-figure { margin: 0; padding: 18px 10px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); }
.plan-svg { width: 100%; height: auto; display: block; overflow: visible; }
.plan-svg text { font-family: var(--font); }
.plan-label { font-size: 11px; font-weight: 600; font-stretch: var(--w-label); fill: var(--ink-3); }
.plan-small { font-size: 10px; font-weight: 500; font-stretch: var(--w-label); fill: var(--ink-3); }
.plan-right { text-anchor: end; }
.plan-wire { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.plan-trunk { stroke: var(--accent); stroke-opacity: .6; stroke-width: 1.6; }
.plan-rule { fill: none; stroke: var(--line); stroke-width: 1; }
.plan-fw rect { fill: var(--accent); }
.plan-fw text { font-size: 10px; font-weight: 700; fill: var(--on-accent); text-anchor: middle; letter-spacing: 0.04em; }
.plan-sw rect { fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.4; }
.plan-ap { fill: color-mix(in srgb, var(--accent) 24%, var(--bg-2)); stroke: var(--accent); stroke-width: 0.9; }
.plan-node, .plan-wire { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.7); }
.plan-wire { transform: none; }
.plan-in .plan-node, .plan-in .plan-wire { opacity: 1; transform: none; transition: opacity .32s ease var(--d, 0ms), transform .32s var(--ease) var(--d, 0ms); }

/* Referenzen: drei Stimmen, Haarlinien, keine Sterne, kein Karussell */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.ref + .ref { padding-left: 28px; }
.ref:last-child { border-right: 0; }
.ref img { height: 84px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; margin-bottom: 26px; opacity: 1; }
.is-light .ref img { opacity: 1; }
.ref p { font-size: 1.05rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); min-height: 4.5em; }
.ref footer { margin-top: 18px; font-size: 0.8rem; color: var(--ink-3); }
.ref footer b { display: block; font-weight: 600; color: var(--ink-2); }
.refs-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; font-size: 0.8rem; color: var(--ink-3); }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.contact-list span { color: var(--ink-3); font-size: 0.8rem; font-stretch: var(--w-label); padding-top: 3px; }
.contact-list a:hover { color: var(--accent); }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form textarea { width: 100%; min-height: 140px; padding: 12px; font: 450 0.95rem/1.5 var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-small); resize: vertical; }
.form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form input[type="text"], .form input[type="email"] { width: 100%; height: 40px; padding: 0 12px; font: 450 0.95rem var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-small); }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { font-size: 0.8rem; color: var(--ink-3); }

/* Footer */
.site-footer { padding: clamp(40px, 5vw, 64px) 0 28px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .legend { margin-bottom: 14px; }
.footer-grid a { display: block; padding: 5px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); }
.footer-brand .logo { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; line-height: 1.55; }
.footer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; }

/* Scroll-Reveal: nur dort, wo es den Lesefluss stützt, als Klasse gesetzt */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .hero-copy h1 .glint { animation: none; color: var(--ink); background: none; }
  html:not(.force-motion) .reveal { opacity: 1; transform: none; transition: none; }
  html:not(.force-motion) .plan-node, html:not(.force-motion) .plan-wire { opacity: 1; transform: none; transition: none; }
  html:not(.force-motion) { scroll-behavior: auto; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-grid.cols-lists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .refs { grid-template-columns: 1fr; }
  .ref { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .ref + .ref { padding-left: 0; }
  .ref:last-child { border-bottom: 0; }
  .ref p { min-height: 0; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost, .header-actions .nav-link { display: none; }
  .nav-burger { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; }
  .nav-burger span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; min-height: 100svh; padding-top: calc(var(--header-h) + 56vw + 28px); padding-bottom: 48px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero-copy { grid-column: 1; padding-bottom: 0; }
  .hero-sub { grid-column: 1; grid-row: auto; padding-top: 18px; }
  .hero-rule { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 18px; }
  .plan-layout { grid-template-columns: 1fr; gap: 24px; }
  .plan-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 14px 8px; }
  .plan-svg { min-width: 580px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .form .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mega-grid.cols-lists { grid-template-columns: 1fr; }
}

/* ============================================================
   THEMES
   Dunkel ist die Grundlage (Referenz). Hell kehrt die Seite auf
   Papier um. Der Hero und die Kapitelbänder bleiben in beiden
   Themes Tusche (.is-dark), so wie die Referenz ihren Hero auf
   einer hellen Seite dunkel hält.
   ============================================================ */
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --bg-3: #F3F3F2;
  --ink: #111110;
  --ink-2: rgba(17, 17, 16, 0.74);
  --ink-3: rgba(17, 17, 16, 0.50);
  --ink-4: rgba(17, 17, 16, 0.32);
  --line: rgba(17, 17, 16, 0.10);
  --line-2: rgba(17, 17, 16, 0.18);
  --accent: #1C63AE;
  --accent-2: #14528F;
  --accent-soft: rgba(28, 99, 174, 0.10);
  --on-accent: #FFFFFF;
  --btn-bg: #111110;
  --btn-ink: #FFFFFF;
}
/* Im hellen Theme sind Papierflächen gleich wie die Seite: der Kontrast
   kommt dann von den dunklen Bändern. */
:root[data-theme="light"] .is-light .partners-logos img { filter: grayscale(1); }


/* Hell-Dunkel-Schalter */
.theme-toggle {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Header über dem Hero: nur durchsichtig, die Farben kommen vom Theme.
   Der Hero folgt jetzt dem Theme, hell auf Papier, dunkel auf Tusche. */
.site-header.over-hero { background: transparent; }

/* Glanz auf der Headline im hellen Theme: Tusche mit hellem Streif */
:root[data-theme="light"] .hero-copy h1 .glint {
  background: linear-gradient(100deg, #111110 0%, #111110 42%, #7A7A74 50%, #111110 58%, #111110 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
}

/* ============================================================
   FLÄCHEN
   Zwei Töne je Theme, mehr nicht. Hell: Weiss und ein leichtes
   Grau. Dunkel: Schwarz und ein Schwarz, das fünf Prozent heller
   ist. .is-light ist die Grundfläche (gleich wie die Seite),
   .is-dark ist das Band dazwischen (die zweite Fläche).
   ============================================================ */
.is-light { background: var(--bg); color: var(--ink); }
.is-dark {
  --bg: #161615;
  --bg-2: #1C1C1B;
  --bg-3: #232322;
  background: var(--bg);
  color: var(--ink);
}
:root[data-theme="light"] .is-dark {
  --bg: #F3F3F2;
  --bg-2: #FFFFFF;
  --bg-3: #EAEAE9;
}

/* Partnerlogos als laufende Reihe: zwei identische Sätze, der zweite
   schliesst nahtlos an. Läuft langsam, hält bei Berührung an, steht
   bei reduzierter Bewegung. */
.partners { gap: 32px; }
.partners-marquee {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.partners-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); }
.marquee-set img { height: 40px; width: auto; opacity: .8; filter: grayscale(1) brightness(1.6); transition: opacity .2s ease; }
:root[data-theme="light"] .marquee-set img, .is-light .marquee-set img { filter: grayscale(1); }
.marquee-set img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .marquee-track { animation: none; } }
@media (max-width: 900px) { .partners-marquee { width: 100%; } }
.partners > .link { flex: none; white-space: nowrap; }
@media (max-width: 600px) { .marquee-set img { height: 30px; } }

/* DotWords: Kapiteltitel als Punktfeld (js/dot-words.js) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dot-words { position: relative; width: 100%; font-family: var(--font); }
.dot-words canvas { display: block; width: 100%; cursor: crosshair; touch-action: pan-y; }
.chapter .chapter-dots { align-self: end; }

/* ============================================================
   SEITENBAUSTEINE
   Dieselbe Sprache wie die Startseite, für alle Seiten: Haarlinien,
   ein Akzent, viel Luft. Kein Schatten, kein Verlauf, keine Karte,
   die sich hebt. Die Hierarchie kommt aus Grösse und Abstand.
   ============================================================ */

/* Seitenkopf: Ebene, Name, ein Satz. Kein Breadcrumb. */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-head .legend { display: block; margin-bottom: 22px; color: var(--accent); }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 16ch; }
.page-head .lead { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink-3); max-width: 50ch; }
.page-head .lead b { color: var(--ink); font-weight: 500; }
.page-head .hero-cta { margin-top: 24px; }

/* Türen: drei Ausgangslagen, je ein Zitat, ein Satz, ein Weg */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.door { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 32px 0; border-right: 1px solid var(--line); color: inherit; }
.door + .door { padding-left: 32px; }
.door:last-child { border-right: 0; padding-right: 0; }
.door h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.12; transition: color .18s ease; }
.door p { flex: 1; color: var(--ink-2); font-size: 0.98rem; }
.door .link { margin-top: 8px; }
.door:hover h3 { color: var(--accent); }

/* Register: Zeilen mit Haarlinien, Name links, Satz Mitte, Pfeil rechts */
.ledger { border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr) 28px; gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--line); color: inherit; }
.ledger-row > div { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.ledger-row .idx { flex: none; white-space: nowrap; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); font-stretch: var(--w-label); }
.ledger-row h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.1; transition: color .18s ease; }
.ledger-row p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; max-width: 60ch; }
.ledger-row p b { color: var(--ink); font-weight: 500; }
.ledger-row .mega-arrow { margin-top: 0; }
a.ledger-row:hover h3 { color: var(--accent); }
a.ledger-row:hover .mega-arrow { border-color: var(--ink-3); color: var(--ink); }
.ledger-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 18px; font-size: 0.875rem; color: var(--ink-3); }

/* Bausteine als Bild-Akkordeon (Startseite): fünf Spalten mit Foto im
   Hintergrund wie die Foto-Sektionen der Unterseiten. Die offene Spalte wird
   breit und zeigt Teaser, Leitsatz, drei Punkte und den Link. Autoplay läuft
   über js/site.js (Balken unten zeigt die Zeit), stoppt bei Hover, Fokus,
   Klick und ausserhalb des Sichtfelds. Unter 900 px stapeln sich die
   Spalten, die offene wächst in der Höhe. */
.slats-track { display: flex; gap: 6px; height: clamp(480px, 58vh, 600px); }
.slat { position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-card); background: #171716; color: #FFFFFF; cursor: pointer; transition: flex-grow .75s var(--ease);
  --ink: #FFFFFF; --ink-2: rgba(255,255,255,0.80); --ink-3: rgba(255,255,255,0.62); --line: rgba(255,255,255,0.18); --line-2: rgba(255,255,255,0.3); --accent: #4F9BE0; }
.slat.is-open { flex-grow: 4.4; cursor: default; }
.slat-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease), filter .6s ease; filter: saturate(0.75) brightness(0.9); }
.slat.is-open .slat-img { filter: none; }
.slat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,10,0.86) 0%, rgba(11,11,10,0.7) 48%, rgba(11,11,10,0.28) 100%), linear-gradient(180deg, rgba(11,11,10,0.08) 0%, rgba(11,11,10,0.5) 100%); transition: opacity .6s ease; }
.slat:not(.is-open)::after { background: linear-gradient(180deg, rgba(11,11,10,0.5) 0%, rgba(11,11,10,0.62) 60%, rgba(11,11,10,0.9) 100%); }
.slat-btn { position: static; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; margin: 0; padding: clamp(18px, 2vw, 28px) clamp(18px, 2vw, 28px) 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: inherit; z-index: 2; }
.slat-btn:focus-visible { outline: none; }
.slat-btn:focus-visible .slat-name { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.slat-btn .idx { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); font-stretch: var(--w-label); transition: color .25s ease; }
.slat.is-open .slat-btn .idx { color: var(--accent); }
.slat-name { font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; white-space: nowrap; transition: color .25s ease, font-size .5s var(--ease); }
.slat.is-open .slat-name { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.slat:not(.is-open) .slat-btn { padding-bottom: clamp(18px, 2vw, 28px); }
@media (max-height: 760px) and (min-width: 901px) { .slat-lead { display: none; } }
.slat:not(.is-open):hover .slat-name { color: var(--accent); }
.slat-body { position: relative; z-index: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.slat.is-open .slat-body { grid-template-rows: 1fr; }
.slat-clip { overflow: hidden; min-height: 0; }
.slat-inner { padding: 8px clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 28px); max-width: 56ch; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .4s var(--ease); }
.slat.is-open .slat-inner { opacity: 1; transform: none; transition: opacity .45s ease .25s, transform .6s var(--ease) .25s; }
.slat-teaser { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.slat-teaser b { color: var(--ink); font-weight: 500; }
.slat-lead { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.slat-lines { padding: 2px 16px; border-top: 0; border-radius: var(--r-card); background: rgba(11,11,10,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.slat-lines > div { padding: 7px 0; font-size: 0.88rem; line-height: 1.42; }
.slat-lines > div:last-child { border-bottom: 0; }
.slat-inner .link { margin-top: 12px; color: #FFFFFF; }
.slat-inner .link:hover svg { transform: translateX(3px); }
.slat-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.18); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.slat-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.slats.is-playing .slat.is-open .slat-bar { opacity: 1; }
.slats.is-playing .slat.is-open .slat-bar i { animation: slat-zeit var(--dauer, 6s) linear forwards; }
@keyframes slat-zeit { from { width: 0; } to { width: 100%; } }
@media (max-width: 900px) {
  .slats-track { flex-direction: column; height: auto; gap: 6px; }
  .slat { flex: none; min-height: 84px; }
  .slat.is-open { min-height: 0; }
  .slat:not(.is-open)::after { background: linear-gradient(180deg, rgba(11,11,10,0.55) 0%, rgba(11,11,10,0.86) 100%); }
  .slat-btn { flex-direction: row; align-items: baseline; gap: 14px; padding: 22px 20px; }
  .slat.is-open .slat-btn { padding-bottom: 0; }
  .slat:not(.is-open) .slat-btn { padding-bottom: 22px; }
  .slat-inner { padding: 10px 20px 22px; }
  .slat-name { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .slat, .slat-img, .slat-name, .slat-body, .slat-inner { transition: none; }
  .slats.is-playing .slat.is-open .slat-bar i { animation: none; width: 100%; }
}

/* Schritte: drei nummerierte Spalten */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); }
.step { padding-top: 22px; }
.step .idx { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); }
.step h3 { margin: 12px 0 10px; font-size: 1.3rem; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Kennzahlen in einer Zeile */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 22px 28px 22px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.55em; letter-spacing: -0.01em; color: var(--ink-3); font-weight: 500; }
.stat span { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--ink-3); font-stretch: var(--w-label); }

/* Statement: eine grosse Aussage, daneben vier Zeilen */
.statement { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.statement h2 { max-width: 18ch; }
.statement > div > p { margin-top: 22px; max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-3); }
.lines { border-top: 1px solid var(--line); }
.lines > div { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }
.lines b { display: block; color: var(--ink); font-weight: 500; }

/* Geteilte Sektion: Titel links, Inhalt rechts */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 14ch; }
.split .split-lead { margin-top: 14px; max-width: 34ch; color: var(--ink-3); font-size: 0.95rem; }
.split .lines > div { padding: 18px 0; }
.split .lines p { margin: 0; }
.split-prose p { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-2); max-width: 62ch; }
.split-prose p b { color: var(--ink); font-weight: 500; }
.split-prose p + p { margin-top: 1em; }

/* Zwei Sätze: für die Schulleitung, für die ICT */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pair > div { padding: 22px 28px 22px 0; border-right: 1px solid var(--line); }
.pair > div + div { padding-left: 28px; border-right: 0; }
.pair .legend { display: block; margin-bottom: 10px; }
.pair p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Fragen: Titel links, Liste rechts. Gilt auch für die alten .faq-Klassen. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-intro h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 14ch; }
.faq-intro p { margin-top: 14px; max-width: 34ch; color: var(--ink-3); font-size: 0.95rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); border-top: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 1.08rem; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); transition: transform .25s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item > p, .faq-item > div { padding: 0 0 22px; margin: 0; color: var(--ink-2); max-width: 62ch; font-size: 0.98rem; line-height: 1.55; }

/* Abschluss: eine Einladung, zwei Wege */
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.closing-grid h2 { max-width: 16ch; }
.closing-grid p { margin-top: 18px; max-width: 48ch; color: var(--ink-3); font-size: clamp(1rem, 1.25vw, 1.125rem); }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Produktbilder: ruhig im Rahmen, keine Bühne, kein Schatten */
.shots { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); overflow: hidden; box-shadow: none; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot-bar i { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--ink-3); font-stretch: var(--w-label); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 12px 14px 14px; font-size: 0.8rem; line-height: 1.5; color: var(--ink-3); border-top: 1px solid var(--line); }
.shot-stage .shot-lift, .shot-lift { margin-top: 0; outline: 0; box-shadow: none; }
.shot-more .shot, .shot-duo .shot { box-shadow: none; }

/* Alte Komponenten der Unterseiten auf die neue Sprache gelegt */
.theme-card, .svc-card, .sla-card, .tier, .fixed-item, .principle-card, .split-card, .person { box-shadow: none; }
.theme-card:hover, .svc-card:hover, .sla-card:hover, .tier:hover { transform: none; box-shadow: none; }
.theme-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 8px; background: transparent; }
.theme-card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.theme-card p { font-size: 0.95rem; color: var(--ink-2); }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.fn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); }
.fn { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.fn-icon { width: 28px; height: 28px; border: 0; background: transparent; color: var(--accent); padding: 0; }
.fn-icon svg { width: 22px; height: 22px; }
.fn > div > b { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.015em; }
.fn > div > span { color: var(--ink-2); font-size: 0.92rem; }
.stance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.value { padding: 22px 0; border-top: 1px solid var(--line); }
.value h4 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.value p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.section-lead { margin: 16px 0 clamp(28px, 4vw, 48px); font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-3); max-width: 60ch; }
.eyebrow { margin: 0 0 18px; font-stretch: var(--w-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.page-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.cta-band { background: var(--bg); }


@media (max-width: 1100px) {
  .doors { grid-template-columns: 1fr; }
  .door { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .door + .door { padding-left: 0; }
  .door:last-child { border-bottom: 0; }
  .theme-grid, .fn-grid, .stance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-head-grid, .statement, .split, .faq-layout, .closing-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .ledger-row { grid-template-columns: 1fr 28px; gap: 10px 16px; }
  .ledger-row > div { grid-column: 1; grid-row: 1; }
  .ledger-row .mega-arrow { grid-column: 2; grid-row: 1; }
  .ledger-row p { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 0; }
  .stat:last-child { border-bottom: 0; }
  .pair { grid-template-columns: 1fr; }
  .pair > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pair > div + div { padding-left: 0; border-bottom: 0; }
  .closing-actions { justify-content: flex-start; }
  .shots.two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .theme-grid, .fn-grid, .stance-grid { grid-template-columns: 1fr; }
}

/* Kleinigkeiten der Startseite */
.hero-note { margin-top: 18px; font-size: 0.8rem; color: var(--ink-3); font-stretch: var(--w-label); }
.section-head .eyebrow { display: block; }
.main-nav .nav-link { display: inline-flex; align-items: center; height: 100%; }
.shot-stage { padding-block: clamp(32px, 4vw, 56px); }
.pricing-note { margin-top: 20px; font-size: 0.9rem; color: var(--ink-3); max-width: 70ch; }
html.js .reveal.in { opacity: 1; transform: none; }
/* Header: Logo behält seine Grösse, Aktionen rücken auf dem Telefon zusammen */
.brand { flex: none; }
.brand .logo { width: 126px; height: 30px; }
@media (max-width: 480px) {
  .header-inner { gap: 16px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { height: 36px; padding: 0 14px; font-size: 0.82rem; }
  .brand .logo { width: 105px; height: 25px; }
}

/* ============================================================
   MECHANISMEN
   Kleine Szenen in SVG, die einen Ablauf erklären: anmelden,
   Drucker erscheinen, drucken. Nur transform und opacity werden
   animiert, alles in einer Schleife, Start erst im Sichtfeld,
   bei reduzierter Bewegung steht die Szene im Endzustand.
   ============================================================ */
.mech { --T: 8s; --mech-max: clamp(260px, calc(100svh - var(--header-h) - 220px), 600px); position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); padding: clamp(14px, 2vw, 24px); }
/* Die Szene (640 x 300) füllt die Breite, bleibt aber immer ganz im Sichtfeld:
   die Höhe ist an den Viewport gebunden, die Breite folgt dem Seitenverhältnis,
   auf grossen Bildschirmen steht sie zentriert. */
.mech svg { display: block; width: 100%; height: auto; aspect-ratio: 640 / 300; max-height: var(--mech-max); max-width: calc(var(--mech-max) * 640 / 300); margin-inline: auto; overflow: visible; }
/* Schmale Bildschirme: die Szene bleibt ganz im Bild, nichts wird abgeschnitten,
   nichts muss geschoben werden. Der Rahmen nutzt die volle Breite, die
   Schrift in der Szene ist in Szenen-Einheiten grösser gesetzt, damit sie
   nach dem Verkleinern lesbar bleibt. */
@media (max-width: 640px) {
  .mech { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 14px 10px 12px; }
  .mech svg { max-width: none; max-height: none; }
  .mech .m-sm { font-size: 13px; }
  .mech .m-lbl { font-size: 12.5px; }
  .mech .m-ttl { font-size: 15px; }
  .mech .m-x { font-size: 16px; }
  .mech .m-tight { font-size: 11.5px; }
  .mech .m-desk { display: none; }
  .mech-steps { grid-template-columns: 1fr; gap: 10px; }
  .mech-replay { position: static; display: block; margin: 10px 0 0; }
}
.mech-hint { display: none; }
.mech svg text { font-family: var(--font); }
.mech-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); font-stretch: var(--w-label); }
.mech-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mech-steps span { font-size: 0.82rem; line-height: 1.4; color: var(--ink-3); transition: color .2s; }
.mech-steps span b { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: .12em; color: var(--ink-4); font-stretch: var(--w-label); margin-bottom: 2px; }
.mech-steps span.on { color: var(--ink); }
.mech-steps span.on b { color: var(--accent); }

/* Zeichenklassen */
.m-box { fill: var(--bg-3); stroke: var(--line-2); stroke-width: 1.2; }
.m-wire { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.m-wire.dash { stroke-dasharray: 3 4; }
.m-dot { fill: var(--accent); }
.m-ring { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.m-lit { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
.m-lbl { font-size: 11px; font-weight: 600; fill: var(--ink-3); font-stretch: var(--w-label); }
.m-sm { font-size: 10px; font-weight: 500; fill: var(--ink-3); font-stretch: var(--w-label); }
.m-ttl { font-size: 12px; font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
.m-acc { fill: var(--accent); }
.m-mid { text-anchor: middle; }
.m-x { font-size: 13px; font-weight: 600; fill: var(--ink-3); text-anchor: middle; }
.m-ok { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-bar { fill: var(--line); }
.m-fill { fill: var(--accent); transform-origin: left center; transform: scaleX(0); }
.m-screen { fill: var(--bg-2); stroke: var(--line); }

/* Rollen in der Animation */
.mech [class^="a-"], .mech [class*=" a-"] { animation-duration: var(--T); animation-iteration-count: 1; animation-timing-function: linear; animation-fill-mode: forwards; }
.mech:not(.is-on) [class^="a-"], .mech:not(.is-on) [class*=" a-"] { animation: none; }
.a-win { animation-name: m-win; opacity: 0; }
@keyframes m-win { 0%, 94% { opacity: 1; } 100% { opacity: 0; } }
.a-travel { animation-name: m-travel; transform: translate(0, 0); opacity: 0; }
.a-on { animation-name: m-on; opacity: 0; }
.a-blink { animation-name: m-blink; opacity: 0; }
.a-pop { animation-name: m-pop; opacity: 0; transform-box: fill-box; transform-origin: center; }
.a-fill { animation-name: m-fill; }
.a-draw { animation-name: m-draw; stroke-dasharray: 1; stroke-dashoffset: 1; }
.a-rise { animation-name: m-rise; opacity: 0; }
.a-ripple { animation-name: m-ripple; opacity: 0; transform-box: fill-box; transform-origin: center; }
.a-type { animation-name: m-type; transform-origin: left center; transform: scaleX(0); }

/* Jede Rolle hat ein Fenster: --s Start, --e Ende, in Prozent der Schleife.
   Die Keyframes sind generisch, das Fenster kommt aus den Variablen. */
@keyframes m-travel {
  0% { transform: translate(0, 0); opacity: 0; }
  1% { opacity: 1; }
  99% { opacity: 1; }
  100% { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 0; }
}
@keyframes m-on { 0%, 100% { opacity: 1; } }
@keyframes m-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes m-pop { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1.08); } 45%, 100% { opacity: 1; transform: scale(1); } }
@keyframes m-fill { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes m-draw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes m-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes m-ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes m-type { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* Die Fenster: animation-delay und -duration werden pro Element aus
   --s und --e gerechnet. Ausserhalb des Fensters gilt der Startzustand. */
.mech [style*="--s"] { animation-delay: calc(var(--s) * var(--T) / 100); animation-duration: calc((var(--e) - var(--s)) * var(--T) / 100); }

/* Reduzierte Bewegung: Endzustand ohne Schleife */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .mech [class^="a-"], html:not(.force-motion) .mech [class*=" a-"] { animation: none !important; }
  html:not(.force-motion) .mech .a-travel, html:not(.force-motion) .mech .a-ripple { display: none; }
  html:not(.force-motion) .mech .a-on, html:not(.force-motion) .mech .a-pop, html:not(.force-motion) .mech .a-rise, html:not(.force-motion) .mech .a-blink { opacity: 1; transform: none; }
  html:not(.force-motion) .mech .a-fill, html:not(.force-motion) .mech .a-type { transform: scaleX(1); }
  html:not(.force-motion) .mech .a-draw { stroke-dashoffset: 0; }
  html:not(.force-motion) .mech-steps span { color: var(--ink); }
}
@media (max-width: 600px) { .mech-steps { grid-template-columns: 1fr; gap: 8px; } }
/* Mechanismus: läuft einmal, bleibt stehen, Link zum Wiederholen */
.mech-replay { position: absolute; right: clamp(14px, 2vw, 24px); top: clamp(10px, 1.5vw, 18px); border: 0; background: none; padding: 0; font: 500 0.78rem var(--font); color: var(--ink-3); cursor: pointer; opacity: 0; transition: opacity .2s, color .2s; }
.mech.is-done .mech-replay { opacity: 1; }
.mech-replay:hover { color: var(--accent); }
/* Fünf Bausteine im Panel Leistungen */
.mega-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mega-grid.cols-5 .mega-card { padding: 20px; min-height: 280px; }
.mega-grid.cols-5 .mega-title { font-size: 1.1rem; }
@media (max-width: 1100px) { .mega-grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Fotos: ruhig, im Rahmen der Seite, feste Seitenverhältnisse ---------- */
.photo { margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--bg-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.photo.wide { aspect-ratio: 21 / 9; }
.photo.two { aspect-ratio: 2 / 1; }
.photo.three { aspect-ratio: 3 / 2; }
.photo.tall { aspect-ratio: 4 / 5; }
.statement.has-photo { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.steps-layout .steps { grid-template-columns: 1fr; gap: 0; border-top: 0; }
.steps-layout .step { padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .statement.has-photo { grid-template-columns: 1fr 1fr; }
  .statement.has-photo .photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .statement.has-photo, .steps-layout { grid-template-columns: 1fr; }
  .steps-layout .step:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .photo.wide { aspect-ratio: 16 / 10; }
  .photo.two { aspect-ratio: 4 / 3; }
}
/* Panel Leistungen: die Zeilen der fünf Karten (Legende, Visual, Titel, Text)
   laufen über ein Subgrid, damit die Trennlinie in allen Karten gleich hoch sitzt. */
@supports (grid-template-rows: subgrid) {
  .mega-grid.cols-5 { grid-template-rows: auto minmax(150px, 1fr) auto auto; row-gap: 0; column-gap: 12px; }
  .mega-grid.cols-5 .mega-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .mega-grid.cols-5 .mega-visual { margin-bottom: 0; }
  .mega-grid.cols-5 .mega-title { padding-top: 18px; }
}

/* ---------- Kontakt: Adresse links, Formular als ruhige Karte rechts ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-big { display: block; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; }
.contact-big .legend { display: block; margin-bottom: 8px; }
.contact-big b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; transition: color .18s ease; }
.contact-big:hover b { color: var(--accent); }
.contact-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-facts .legend { display: block; margin-bottom: 8px; }
.contact-facts p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }
.contact-note { margin-top: 18px; font-size: 0.85rem; line-height: 1.5; color: var(--ink-3); max-width: 36ch; }
.form-card { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-3); gap: 18px; }
.form-card .field > span { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea { background: var(--bg); border-color: var(--line-2); border-radius: 6px; }
.form-card input[type="text"], .form-card input[type="email"] { height: 46px; padding: 0 14px; }
.form-card textarea { padding: 12px 14px; min-height: 150px; }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--ink-4); }
.choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 6px; }
.choice > .legend { width: 100%; margin-bottom: 4px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.choice label:hover .pill { border-color: var(--ink-3); color: var(--ink); }
.choice input:checked + .pill { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + .pill { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.form-foot .form-note { margin: 0; max-width: 40ch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-foot .btn { width: 100%; justify-content: center; } }

/* ---------- Klarheit: Haltung mit Punktwort, Referenz-Zeile, Vorher/Nachher ---------- */
.statement-line { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; color: var(--ink); max-width: 14ch; }
.statement-dots { margin: 6px 0 22px; }
.ref-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 40px); }
.ref-logos img { height: 64px; width: auto; max-width: 180px; object-fit: contain; }
.ref-quote { margin: 0; }
.ref-quote p { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.ref-quote footer { margin-top: 16px; font-size: 0.8rem; color: var(--ink-3); }
.ref-quote footer b { display: block; font-weight: 600; color: var(--ink-2); }
.steps-lines { margin-top: 22px; }
.steps-lines .idx { display: inline-block; margin-right: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); }
.contact-facts.compact { margin-top: 22px; }
.contact-facts.compact > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; }
.contact-facts.compact .legend { margin: 3px 0 0; }
.contact-facts.compact p { font-size: 0.9rem; }
.contact-facts.compact a:hover { color: var(--accent); }
.ledger .tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--accent); border-radius: 999px; font-style: normal; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--accent); vertical-align: 1px; }
.shift-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 10px; }
.shift-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.shift-row p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-3); }
.shift-row p b { font-weight: 500; color: var(--ink); }
.shift-row p:last-child { position: relative; padding-left: 22px; }
.shift-row p:last-child::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) {
  .ref-row { grid-template-columns: 1fr; }
  .ref-logos img { height: 48px; }
}
@media (max-width: 600px) {
  .shift-head { display: none; }
  .shift-row { grid-template-columns: 1fr; gap: 8px; }
}
.statement > div > p.statement-line { margin: 0 0 4px; font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); max-width: 36ch; }

/* Wer macht was: Baustein, wir, Ihre ICT */
.who-head, .who-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 48px); }
.who-head { padding-bottom: 10px; }
.who-row { padding: 20px 0; border-top: 1px solid var(--line); }
.who-row:last-child { border-bottom: 1px solid var(--line); }
.who-row h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.who-row p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }
.who-row p:last-child { color: var(--ink); }
.who-note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); max-width: 70ch; }
@media (max-width: 760px) {
  .who-head { display: none; }
  .who-row { grid-template-columns: 1fr; gap: 6px; }
  .who-row p::before { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; font-stretch: var(--w-label); }
  .who-row p:nth-of-type(1)::before { content: "Wir übernehmen"; }
  .who-row p:nth-of-type(2)::before { content: "Ihre ICT behält"; }
}
@media (min-width: 1101px) { .refs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .refs.four .ref:nth-child(2) { border-right: 0; } .refs.four .ref:nth-child(n+3) { border-top: 1px solid var(--line); } .refs.four .ref:nth-child(3) { padding-left: 0; } }

/* ---------- Abschnitt auf Foto: dunkle Abdunklung, Text immer hell ---------- */
.is-photo { position: relative; isolation: isolate; color: #FFFFFF;
  --ink: #FFFFFF; --ink-2: rgba(255,255,255,0.80); --ink-3: rgba(255,255,255,0.62); --ink-4: rgba(255,255,255,0.4);
  --line: rgba(255,255,255,0.18); --line-2: rgba(255,255,255,0.3); --accent: #4F9BE0; --accent-soft: rgba(79,155,224,0.18); }
.is-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--photo); background-size: cover; background-position: var(--pos, 50% 50%); }
.is-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,10,0.9) 0%, rgba(11,11,10,0.74) 50%, rgba(11,11,10,0.6) 100%); }
.is-photo .statement { padding-block: clamp(16px, 3vw, 48px); }
@media (max-width: 900px) { .is-photo::after { background: rgba(11,11,10,0.86); } }
.is-photo .lines { padding: 4px 20px; border-radius: var(--r-card); background: rgba(11,11,10,0.62); border-top: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.is-photo .lines > div:last-child { border-bottom: 0; }
/* Mechanismus: Reise, die am Ziel stehen bleibt (Angriffe, die man nachlesen soll) */
.a-stay { animation-name: m-stay; transform: translate(0, 0); opacity: 0; }
@keyframes m-stay { 0% { transform: translate(0, 0); opacity: 0; } 4% { opacity: 1; } 100% { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .mech .a-stay { opacity: 1; transform: translate(var(--dx, 0), var(--dy, 0)); } }

/* ---------- Stimmen als Slideshow: Mitte gross, Nachbarn klein, Pfeile mittig ---------- */
.voices { position: relative; }
.voices-track { display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 30%; }
.voices-track::-webkit-scrollbar { display: none; }
.voices-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.voice { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; padding: 28px clamp(16px, 2.5vw, 36px); border: 0; opacity: .45; transform: scale(.86); transform-origin: center; transition: opacity .35s ease, transform .45s var(--ease); }
.voice.is-active { opacity: 1; transform: scale(1); }
.voices-track .voice p { min-height: 0; }
.voices-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.voices-btn[data-dir="-1"] { left: 0; }
.voices-btn[data-dir="1"] { right: 0; }
.voices-btn svg { width: 16px; height: 16px; }
.voices-btn:hover { border-color: var(--ink-3); }
.voices-nav { display: flex; justify-content: center; padding-top: 6px; }
.voices-dots { display: flex; gap: 8px; }
.voices-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--ink-4); cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.voices-dots button.on { background: var(--accent); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .voice { transition: none; } }
@media (max-width: 1100px) { .voices-track { padding: 12px 20%; } }
@media (max-width: 700px) { .voices-track { padding: 8px 8%; } .voice { padding: 20px 8px; transform: scale(.94); } .voices-btn { display: none; } }
.is-photo .statement > div > p:not(.statement-line) { color: var(--ink-2); }
.is-photo .statement > div > p + p:not(.statement-line) { margin-top: 1em; }
/* Seitenkopf mit Punktwort (Über uns) */
.page-head .head-line { margin: 0 0 6px; font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); max-width: 36ch; }
.page-head .head-dots { max-width: 760px; }
.is-photo .statement > div > .eyebrow { display: block; margin-bottom: 18px; }
.is-photo .statement > div > p:first-of-type { margin-top: 0; }

/* ---------- Ecken: Buttons, Pillen und Rahmen mit wenig Rundung ---------- */
:root { --r-btn: 4px; --r-card: 6px; }
.btn, .choice .pill, .voices-btn, .theme-toggle, .nav-burger, .mega-arrow, .skip-link, .mv-code .tag, .ledger .tag { border-radius: var(--r-btn); }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea, .field input { border-radius: var(--r-btn); }
.voices-dots button { border-radius: 2px; }

/* ---------- Preisrechner: Schritte, Kopfzeile, Zugang ---------- */
.calc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.calc-top .legend { display: block; margin-bottom: 6px; }
.calc-top b { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.cstep { border: 0; margin: 0; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; }
.cstep:first-of-type { border-top: 0; padding-top: 8px; }
.cstep-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 20px; }
.cstep-head .idx { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); padding-top: 8px; }
.cstep-head h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.cstep-head p { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-3); max-width: 60ch; }
.zugang-ok h3 { margin: 8px 0 10px; font-size: 1.3rem; letter-spacing: -0.02em; }
.zugang-ok p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.zugang-ok b { font-weight: 500; color: var(--accent); }

/* ---------- Rechner: Bausteine mit Schalter, Kacheln zum Wählen ---------- */
.cstep-opt { display: inline-block; vertical-align: 4px; margin-left: 10px; padding: 3px 8px 2px; border: 1px solid var(--line-2); border-radius: var(--r-btn); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-stretch: var(--w-label); }

/* Schalter: die Checkbox bleibt im DOM, sichtbar ist die Pille */
.sw { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sw-ui { position: relative; flex: none; display: block; width: 40px; height: 22px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background-color .2s ease; }
.sw-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.28); transition: transform .22s var(--ease); }
.sw:checked + .sw-ui { background: var(--accent); }
.sw:checked + .sw-ui::after { transform: translateX(18px); }
.sw:focus-visible + .sw-ui { outline: 2px solid var(--accent); outline-offset: 3px; }
.sw:disabled + .sw-ui { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .sw-ui, .sw-ui::after { transition: none; } }

/* NETSCHOOL: ein Schalter für alle fünf */
.bk-all { display: flex; align-items: center; gap: 18px; padding: 16px 18px; margin-bottom: 18px; border: 1px solid var(--accent); border-radius: var(--r-card); background: var(--accent-soft); cursor: pointer; }
.bk-all .bk-text { flex: 1; }
.bk-all .bk-text b { color: var(--accent); }

/* Zeilen */
.bk-list { border-top: 1px solid var(--line); }
.bk { border-bottom: 1px solid var(--line); }
.bk-head { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 40px; gap: 6px 16px; align-items: center; padding: 16px 0; cursor: pointer; }
.bk-head.is-static { cursor: default; grid-template-columns: 34px minmax(0, 1fr) auto; }
.bk-idx { align-self: start; padding-top: 5px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); }
.bk-text b { display: block; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); transition: color .18s ease; }
.bk-text span { display: block; margin-top: 3px; font-size: 0.88rem; line-height: 1.45; color: var(--ink-3); max-width: 54ch; }
.bk-text a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.bk-text a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.bk-price { text-align: right; font-variant-numeric: tabular-nums; min-width: 150px; }
.bk-price b { display: block; font-size: 1rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.bk-price em { display: block; margin: 3px 0 0 auto; max-width: 26ch; font-style: normal; font-size: 0.74rem; line-height: 1.4; color: var(--ink-3); font-stretch: var(--w-label); }
.bk-head:has(> .sw:checked) .bk-text b { color: var(--accent); }
.bk-head:has(> .sw:disabled) { cursor: default; }

/* Aufgeklappte Details, nur mit eingeschaltetem Baustein */
.bk-body { display: none; padding: 0 0 18px 50px; }
.bk-body.is-open,
.bk:has(> .bk-head > .sw:checked) > .bk-body,
.bk-sub:has(> .bk-head > .sw:checked) > .bk-body { display: block; }
.bk-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 190px)); gap: 14px 18px; }
.bk-opts .inv-f em { font-style: normal; font-size: 0.74rem; line-height: 1.4; color: var(--ink-3); }

/* Unterzeilen (Windows, Apple, Contentfilter, Datensicherung): als Baum
   unter dem Baustein, Linie links, Abzweig je Zeile */
.bk-sub { position: relative; margin-left: 50px; padding-left: 24px; }
.bk-sub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.bk-sub::after { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 2px; background: var(--line-2); }
.bk-sub:last-child::before { bottom: auto; height: 27px; }
.bk-sub .bk-head { grid-template-columns: minmax(0, 1fr) auto 40px; padding: 14px 0; }
.bk-sub .bk-head.is-static { grid-template-columns: minmax(0, 1fr) auto; }
.bk-sub .bk-text b { font-size: 0.95rem; }
.bk-sub .bk-text span { font-size: 0.85rem; }
.bk-sub .bk-price b { font-size: 0.95rem; }
.bk-sub .bk-body { padding: 0 0 16px; }
.bk-sub + .bk-sub .bk-head { border-top: 1px solid var(--line); }
.bk-list.is-plain .bk-head { grid-template-columns: minmax(0, 1fr) auto 40px; }

/* Paketinhalt (Schulwebsite): Begriff und ein Satz, Häkchen in Markenblau */
.bk-incl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.bk-incl li { position: relative; padding-left: 22px; font-size: 0.84rem; line-height: 1.45; color: var(--ink-3); }
.bk-incl li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 5px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.bk-incl b { display: block; font-weight: 500; color: var(--ink); }
.bk-list.is-plain .bk-body { padding-left: 0; }


/* Schritt 01: Steckbrief der Schule. Eine Karte, drei Spalten (Personen,
   Standorte, Geräte), jede Zahl mit Stepper, unten die abgeleitete Technik. */
.school { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); overflow: hidden; }
.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.school-col { padding: 16px 18px 12px; border-left: 1px solid var(--line); }
.school-col:first-child { border-left: 0; }
.school-cap b { display: block; font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.school-cap span { display: block; margin-top: 2px; font-size: 0.76rem; line-height: 1.4; color: var(--ink-3); }
.school-col > .school-cap { min-height: 44px; margin-bottom: 8px; }
.sf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.sf label { font-size: 0.86rem; line-height: 1.3; color: var(--ink-2); cursor: pointer; }
.sf-ctl { display: inline-flex; align-items: stretch; flex: none; height: 34px; border: 1px solid var(--line-2); border-radius: var(--r-small); background: var(--bg); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.sf-ctl:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.school .sf-ctl input[type="number"] { width: 58px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font: 500 0.95rem var(--font); font-variant-numeric: tabular-nums; color: var(--ink); -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.sf-ctl input::-webkit-outer-spin-button, .sf-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.school .sf-ctl input:focus { outline: none; box-shadow: none; border: 0; }
.sf-step { width: 30px; padding: 0; border: 0; background: transparent; color: var(--ink-3); font: 500 1.05rem/1 var(--font); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sf-step:hover { background: var(--accent-soft); color: var(--accent); }
.sf-step:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.school-out { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 10px 20px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--accent-soft); }
.school-out-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
.so { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; align-items: baseline; }
.so b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.so span { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.so em { grid-column: 2; font-style: normal; font-size: 0.72rem; line-height: 1.3; color: var(--ink-3); }
@media (max-width: 900px) {
  .school-grid { grid-template-columns: 1fr; }
  .school-col { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px 10px; }
  .school-col:first-child { border-top: 0; }
  .school-col > .school-cap { min-height: 0; }
  .school-out { grid-template-columns: 1fr; padding: 14px 16px; }
  .school-out-list { grid-template-columns: 1fr; gap: 10px; }
}

/* Teile innerhalb eines Schritts: Zwischentitel und ein Satz */
.cstep-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 10px; }
.cstep-sub-note { font-size: 0.8rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent); font-stretch: 100%; }
.cstep-part { margin-top: 26px; }
.cstep-note { margin: -4px 0 12px; max-width: 60ch; font-size: 0.88rem; line-height: 1.5; color: var(--ink-3); }

/* Kacheln: Varianten, Stufen, Pakete */
.pick-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pick-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pick { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--bg); cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.pick:hover { border-color: var(--ink-3); }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pick b { padding-right: 20px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.pick-price { font-size: 0.95rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.pick-price small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--ink-3); }
.pick-sub { font-size: 0.8rem; line-height: 1.4; color: var(--ink-2); }
.pick-hint { font-size: 0.74rem; line-height: 1.4; color: var(--ink-3); }
.pick-save { justify-self: start; margin-top: 2px; padding: 2px 7px; border-radius: var(--r-btn); background: var(--accent-soft); color: var(--accent); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; }
.pick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pick:has(input:checked)::after { content: "✓"; position: absolute; top: 10px; right: 12px; font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick:has(input:disabled) { opacity: .45; cursor: default; }
@media (max-width: 1150px) { .pick-grid.five { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
@media (max-width: 760px) {
  .bk-head { grid-template-columns: 30px minmax(0, 1fr) 40px; }
  .bk-head.is-static { grid-template-columns: 30px minmax(0, 1fr); }
  .bk-price { grid-column: 2; text-align: left; min-width: 0; }
  .bk-price em { margin-left: 0; max-width: none; }
  .bk-sub { margin-left: 12px; padding-left: 18px; }
  .bk-sub::after { width: 10px; }
  .bk-body { padding-left: 0; }
  .bk-sub .bk-head, .bk-list.is-plain .bk-head { grid-template-columns: minmax(0, 1fr) 40px; }
  .bk-sub .bk-price, .bk-list.is-plain .bk-price { grid-column: 1; }
  .bk-all { gap: 14px; padding: 14px; }
  .pick-grid.two { grid-template-columns: 1fr; }
}

/* ---------- Vergleich: eigene Stelle oder NETKA, fair gelesen ---------- */
.compare-wrap { margin-top: 48px; }
.compare-wrap h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.compare-wrap .section-lead { margin-top: 10px; }
.compare { width: 100%; border-collapse: collapse; margin-top: 24px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.5; }
.compare thead th { border-top: 0; padding-top: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-stretch: var(--w-label); }
.compare thead th.is-netka { color: var(--accent); }
.compare tbody th { width: 22%; font-weight: 500; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare td.is-netka { color: var(--ink); background: var(--accent-soft); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .compare th, .compare td, .compare tbody tr:last-child th, .compare tbody tr:last-child td { display: block; width: auto; padding: 3px 0; border: 0; }
  .compare tbody th { padding-bottom: 6px; }
  .compare td::before { content: attr(data-col); display: block; margin-bottom: 1px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .compare td.is-netka { background: transparent; padding-top: 8px; }
  .compare td.is-netka::before { color: var(--accent); }
}

/* ---------- Rechner als Wizard: ein Schritt pro Ansicht ---------- */
.calc-wizard { margin-top: clamp(20px, 3vw, 32px); }
.wiz-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.wiz-nav:empty { display: none; }
.wiz-nav button { display: inline-flex; align-items: center; gap: 11px; padding: 8px 14px 8px 8px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font: 500 0.95rem var(--font); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.wiz-nav button:hover { background: var(--accent-soft); color: var(--ink); }
.wiz-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wiz-idx { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; font-stretch: var(--w-label); transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.wiz-nav .is-current { color: var(--ink); }
.wiz-nav .is-current .wiz-idx { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.wiz-nav .is-done .wiz-idx { border-color: var(--accent); color: var(--accent); }
.wiz-nav .is-done .wiz-idx::before { content: "✓"; }
.wiz-nav .is-done .wiz-idx span { display: none; }
.wiz-status { margin: 0 0 20px; text-align: center; font-size: 0.8rem; color: var(--ink-3); font-stretch: var(--w-label); }
.wiz-status:empty { display: none; }

/* Nur der aktive Schritt ist sichtbar, der Rest bleibt im DOM und rechnet mit */
.calc-wizard.is-wizard .cstep { display: none; border-top: 0; padding-top: 10px; margin-top: 0; }
.calc-wizard.is-wizard .cstep.is-active { display: block; animation: wiz-in .3s var(--ease) both; }
.calc-wizard.is-wizard .cstep-head h3:focus { outline: none; }
@keyframes wiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .calc-wizard.is-wizard .cstep.is-active { animation: none; } }

/* Fussleiste: zurück, Zwischentotal, weiter */
.wiz-bar { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 0 14px; border-top: 1px solid var(--line); background: var(--bg); }
.wiz-total { text-align: center; font-variant-numeric: tabular-nums; }
.wiz-total span { display: block; white-space: nowrap; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-stretch: var(--w-label); }
.wiz-total em { font-style: normal; }
.wiz-total b { display: block; margin-top: 1px; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.wiz-bar .btn svg { width: 16px; height: 16px; }
.wiz-bar .btn[hidden] { display: none; }
#wizBack { justify-self: start; }
#wizNext { justify-self: end; }
.wiz-bar .btn:disabled { opacity: .4; cursor: default; }

/* Schritt 06: Übersicht links, nächster Schritt rechts */
.wiz-final { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.wiz-final .calc-summary { position: static; }
.wiz-final .wiz-contact { position: sticky; top: calc(var(--header-h) + 24px); }
.wiz-contact { display: grid; gap: 12px; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); }
.wiz-contact h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.wiz-contact > p { font-size: 0.92rem; line-height: 1.55; color: var(--ink-2); }
.wiz-contact .calc-actions { margin-top: 0; }
.wiz-contact-facts { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.wiz-contact-facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); }
.wiz-contact-facts b { font-weight: 500; color: var(--ink); }
.wiz-contact-facts a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.wiz-contact-facts a:hover { color: var(--accent); text-decoration-color: var(--accent); }

@media (max-width: 900px) {
  .wiz-final { grid-template-columns: 1fr; }
  .wiz-final .wiz-contact { position: static; }
}
@media (max-width: 760px) {
  .wiz-nav { gap: 4px 0; }
  .wiz-nav button { padding: 6px; }
  .wiz-nav .wiz-label { display: none; }
  .wiz-nav .is-current .wiz-label { display: inline; padding-right: 6px; }
  .wiz-bar { gap: 10px; padding: 10px 0 12px; }
  .wiz-total b { font-size: 1rem; }
  .wiz-total em { display: none; }
  .wiz-nav { gap: 2px 0; }
  .wiz-nav button { padding: 5px 4px; gap: 7px; }
  .wiz-idx { width: 32px; height: 32px; font-size: 0.74rem; }
  .wiz-contact { padding: 16px; }
  .wiz-contact-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Schritt 02: fünf Bausteine als Kacheln, Details darunter ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 18px; }
.tile { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 196px; padding: 16px 16px 14px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--bg-2); cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.tile:hover { border-color: var(--ink-3); }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-idx { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); }
.tile-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color .18s ease, border-color .18s ease; }
.tile-check::after { content: ""; width: 10px; height: 5px; margin-top: -2px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg); opacity: 0; transition: opacity .18s ease; }
.tile > b { font-size: 1.08rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.tile-text { font-size: 0.82rem; line-height: 1.45; color: var(--ink-3); }
.tile-price { padding-top: 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tile-price b { display: block; font-size: 1rem; font-weight: 500; color: var(--ink); }
.tile-price em { display: block; margin-top: 2px; font-style: normal; font-size: 0.72rem; line-height: 1.4; color: var(--ink-3); font-stretch: var(--w-label); }
.tile:has(> .sw:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.tile:has(> .sw:checked) > b { color: var(--accent); }
.tile:has(> .sw:checked) .tile-check { background: var(--accent); border-color: var(--accent); }
.tile:has(> .sw:checked) .tile-check::after { opacity: 1; }
.tile:has(> .sw:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile:has(> .sw:disabled) { cursor: default; }
.tile:has(> .sw:disabled) .tile-check { opacity: .75; }

.bk-details { margin-top: 22px; }
.bk-detail { display: none; padding: 20px 0 22px; border-top: 1px solid var(--line); }
.bk-detail.is-open { display: block; animation: wiz-in .3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .bk-detail.is-open { animation: none; } }
.bk-detail h4 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.bk-detail-note { margin: 0 0 14px; max-width: 64ch; font-size: 0.88rem; line-height: 1.5; color: var(--ink-3); }
.bk-detail .bk-list.is-tree { border-top: 0; }
.bk-detail .bk-sub { margin-left: 14px; }
.bk-detail .bk-sub:first-child { border-top: 0; }

@media (max-width: 760px) {
  .tile { min-height: 0; padding: 14px; }
  .bk-detail .bk-sub { margin-left: 6px; }
}

/* Schritt 01: Faustregel oder selbst zählen */
.school-out { align-items: start; }
.seg { display: inline-flex; margin-top: 10px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 500; line-height: 1.2; color: var(--ink-3); white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.seg input:checked + span { background: var(--accent); color: #FFFFFF; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.school-own { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.school-own .sf:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.school-out:has(input[name="netzmodus"][value="selbst"]:checked) .school-own { display: grid; }
.school-out:has(input[name="netzmodus"][value="selbst"]:checked) .school-out-list { display: none; }
@media (max-width: 900px) {
  .school-own { grid-template-columns: 1fr; }
  .school-own .sf:nth-child(2) { border-top: 1px solid var(--line); padding-top: 6px; }
}

/* ---------- Partner und Lieferanten ---------- */
/* Abzeichen: Badge links als Bild, rechts Text und drei Zeilen */
.badge-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.badge { margin: 0; }
.badge img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: var(--r-card); }
.badge figcaption { margin-top: 12px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-stretch: var(--w-label); }
.badge-grid h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.badge-lead { margin: 0 0 22px; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.badge-grid .link { margin-top: 22px; }
/* Lieferanten: Gruppen je Baustein, Karten mit Logo oder Wortmarke */
.vendor-group { padding: 26px 0 8px; border-top: 1px solid var(--line); }
.vendor-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-size: 1.1rem; letter-spacing: -0.015em; }
.vendor-head .idx { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); font-stretch: var(--w-label); }
.vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vendor { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); color: inherit; background: var(--bg-2, transparent); transition: border-color .2s ease; }
.vendor:hover { border-color: var(--line-2); }
.vendor-logo { display: flex; align-items: center; height: 44px; }
.vendor-logo img { max-height: 36px; max-width: 160px; width: auto; height: auto; filter: grayscale(1); opacity: .85; transition: filter .25s ease, opacity .25s ease; }
.vendor:hover .vendor-logo img { filter: none; opacity: 1; }
[data-theme="dark"] .vendor-logo img { filter: grayscale(1) brightness(1.6); }
[data-theme="dark"] .vendor:hover .vendor-logo img { filter: grayscale(1) brightness(2); }
.vendor-mark { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-3); transition: color .25s ease; }
.vendor:hover .vendor-mark { color: var(--ink); }
.vendor-name { font-weight: 500; color: var(--ink); }
.vendor-text { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) {
  .badge-grid { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vendor-grid { grid-template-columns: 1fr; }
}
.badge-more { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.vendor-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--accent); border-radius: 999px; font-style: normal; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--accent); vertical-align: 2px; }
.pgrid-head { margin: 0 0 18px; font-size: 1.1rem; letter-spacing: -0.015em; }
.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); color: inherit; transition: border-color .2s ease; }
a.pcard:hover { border-color: var(--line-2); }
.pcard-logo { display: flex; align-items: center; height: 40px; margin-bottom: 4px; }
.pcard-logo img { max-height: 30px; max-width: 150px; width: auto; height: auto; filter: grayscale(1) brightness(1.6); opacity: .9; }
.pcard b { font-weight: 500; color: var(--ink); }
.pcard > span:not(.pcard-logo):not(.pcard-link) { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.pcard-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.pcard-link svg { width: 13px; height: 13px; transition: transform .18s var(--ease); }
a.pcard:hover .pcard-link svg { transform: translate(2px, -2px); }
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil: Menü wie eine App ----------
   Vollflächiges Blatt unter dem Header. Oben die zwei Aktionen, dann die fünf
   Bausteine als Kacheln, NETSCHOOL und Preise als Zeilen mit Untertitel und
   Pfeil, Lizenzen als Chips, Unternehmen als Zeilen, unten der Kontakt.
   Öffnet mit kurzem Einblenden, Seite dahinter ist gesperrt. */
@media (max-width: 900px) {
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 98; background: var(--bg); overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px var(--gutter) max(40px, env(safe-area-inset-bottom)); opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .32s var(--ease); }
  .mobile-nav.is-open { opacity: 1; transform: none; }
  .mobile-nav[hidden] { display: none; }
  .mnav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mnav-cta .btn { width: 100%; height: 46px; padding: 0 10px; justify-content: center; font-size: 0.9rem; white-space: nowrap; }
  .mnav-group { padding: 20px 0 8px; }
  .mnav-group + .mnav-group { border-top: 1px solid var(--line); }
  .mnav-group .legend { display: block; margin: 0 0 12px; }
  .mnav-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav-tile { display: flex; flex-direction: column; gap: 3px; min-height: 84px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); color: var(--ink); -webkit-tap-highlight-color: transparent; }
  .mnav-tile:active { border-color: var(--accent); }
  .mnav-tile .idx { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-stretch: var(--w-label); }
  .mnav-tile b { font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em; }
  .mnav-tile small { font-size: 0.78rem; line-height: 1.3; color: var(--ink-3); }
  .mnav-tile.is-all { position: relative; justify-content: flex-end; background: transparent; border-style: dashed; }
  .mnav-tile.is-all span { display: flex; flex-direction: column; gap: 2px; }
  .mnav-tile.is-all svg { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; color: var(--accent); }
  .mnav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 11px 0; color: var(--ink); border-bottom: 1px solid var(--line); -webkit-tap-highlight-color: transparent; }
  .mnav-row:last-child { border-bottom: 0; }
  .mnav-row b { display: block; font-weight: 500; font-size: 1.02rem; }
  .mnav-row small { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--ink-3); }
  .mnav-row svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
  .mnav-row:active b { color: var(--accent); }
  .mnav-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .mnav-chips a { padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.86rem; color: var(--ink); -webkit-tap-highlight-color: transparent; }
  .mnav-chips a:active { border-color: var(--accent); color: var(--accent); }
  .mnav-foot { display: grid; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
  .mnav-foot a { color: var(--ink); }
  .mnav-legal { display: flex; gap: 16px; margin-top: 4px; }
  /* Header: Aktion bleibt, aber kompakt, ohne Überlauf */
  .header-inner { gap: 14px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 420px) {
  .header-actions .btn { padding: 0 12px; font-size: 0.8rem; }
  .brand .logo { width: 100px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-nav { transition: none; transform: none; } }

/* ---------- Mobil: Karten nebeneinander statt untereinander ----------
   Vier Betriebsstufen und ähnliche Reihen laufen auf dem Handy als
   Karten mit Schnappen, eine Karte lugt an, damit klar ist, dass es weitergeht. */
.theme-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .theme-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .theme-grid.four { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .theme-grid.four::-webkit-scrollbar { display: none; }
  .theme-grid.four > .theme-card { flex: 0 0 min(78%, 300px); scroll-snap-align: start; margin: 0; padding: 18px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); }
  .plan-out { grid-template-columns: 1fr; gap: 0; }
  .plan-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .plan-out > div:last-child { border-bottom: 0; }
}
/* Mobil: Gruppen im Menü erscheinen gestaffelt, Aktionen in voller Breite,
   kein graues Tipp-Rechteck. */
@media (max-width: 900px) {
  .mobile-nav.is-open .mnav-cta, .mobile-nav.is-open .mnav-group, .mobile-nav.is-open .mnav-foot { animation: mnav-in .38s var(--ease) both; }
  .mobile-nav.is-open .mnav-group:nth-child(2) { animation-delay: 40ms; }
  .mobile-nav.is-open .mnav-group:nth-child(3) { animation-delay: 80ms; }
  .mobile-nav.is-open .mnav-group:nth-child(4) { animation-delay: 120ms; }
  .mobile-nav.is-open .mnav-group:nth-child(5) { animation-delay: 160ms; }
  .mobile-nav.is-open .mnav-foot { animation-delay: 200ms; }
  @keyframes mnav-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  a, button { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 520px) {
  .closing-actions { flex-direction: column; }
  .closing-actions .btn, .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mobile-nav.is-open .mnav-cta, .mobile-nav.is-open .mnav-group, .mobile-nav.is-open .mnav-foot { animation: none; } }

/* ---------- Partnerschaften: drei gleich grosse Abzeichen ----------
   Swisscom hat ein offizielles Badge als Bild. Microsoft und Jamf haben keins,
   darum bekommen sie eine Karte im selben Format (Seitenverhältnis des
   Swisscom-Badges), Logo in Farbe auf Weiss, Partnerstufe darunter.
   Dieselbe Karte läuft klein in der Fusszeile auf allen Seiten. */
.pbadges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); }
.pbadge { display: flex; flex-direction: column; gap: 10px; }
.pbadge-fig { display: block; margin: 0 0 8px; aspect-ratio: 2000 / 896; border-radius: var(--r-card); overflow: hidden; container-type: inline-size; }
.pbadge-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pbadge-fig.is-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }
.pbadge-fig.is-card img { width: auto; height: 12cqi; max-width: 72%; margin-bottom: 5cqi; object-fit: contain; }
.pbadge-fig.is-card span { font-size: 6.4cqi; font-weight: 600; letter-spacing: -0.01em; line-height: 1; color: #1f2328; }
.pbadge h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.015em; }
.pbadge-tag { align-self: flex-start; padding: 2px 9px; border: 1px solid var(--accent); border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--accent); font-stretch: var(--w-label); }
.pbadge p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.pbadge .link { margin-top: auto; padding-top: 8px; }
.partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pbadges { grid-template-columns: 1fr; gap: 36px; }
  .pbadge-fig { max-width: 440px; }
}
/* Fusszeile: dieselben drei Abzeichen, klein, mit Beschrift darunter */
.footer-badges { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-badges .legend { display: block; margin-bottom: 12px; }
.footer-badge-row { display: flex; flex-wrap: wrap; gap: 20px; }
.fbadge { display: flex; flex-direction: column; gap: 7px; width: 136px; font-size: 0.74rem; line-height: 1.3; color: var(--ink-3); transition: color .2s ease; }
.fbadge:hover { color: var(--ink); }
.fbadge .pbadge-fig { width: 100%; margin: 0; border-radius: 5px; }
@media (max-width: 520px) {
  .footer-badge-row { gap: 12px; }
  .fbadge { width: calc((100% - 24px) / 3); }
}
/* In der Fusszeile sind die Karten klein, darum Logo und Stufe darin grösser */
.fbadge { width: 150px; }
.fbadge .pbadge-fig.is-card img { margin-bottom: 4cqi; }
.fbadge .pbadge-fig.is-card img { height: 17cqi; }
.fbadge .pbadge-fig.is-card span { font-size: 8.5cqi; }
@media (max-width: 520px) { .fbadge { width: calc((100% - 24px) / 3); font-size: 0.7rem; } }
@media (max-width: 520px) { .fbadge .pbadge-fig.is-card span { font-size: 10cqi; } }

/* ---------- Betriebsstufen: Monatsbetrag in der Karte ---------- */
.tier-price { margin: 0 0 16px; }
.tier-price b { display: block; font-size: 1.55rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tier-price small { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--ink-3); font-stretch: var(--w-label); }
/* Partnerseite: Zertifikatslink unter einer Lieferantengruppe */
.vendor-note { margin: 14px 0 0; font-size: 0.92rem; }

/* ---------- Mega-Menü: die Seite darunter wird abgedunkelt ----------
   Panel und Seite haben dieselbe Grundfarbe; im Dark Mode war die
   Unterkante des Panels kaum zu sehen. Der Schleier liegt als
   Pseudo-Element unter dem Panel, lässt Maus und Klick durch (so bleibt
   das Schliessen beim Verlassen und beim Klick daneben wie bisher) und
   blendet mit dem Panel ein und aus. Dazu eine kräftigere Unterkante
   und ein Schatten, der das Panel von der Fläche löst. */
.mega { border-bottom-color: var(--line-2); box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.6); }
.mega::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh;
  background: rgba(0, 0, 0, 0.58); pointer-events: none;
}
:root[data-theme="light"] .mega { box-shadow: 0 28px 56px -28px rgba(17, 17, 16, 0.28); }
:root[data-theme="light"] .mega::after { background: rgba(17, 17, 16, 0.26); }
/* Dark Mode: Panel und Header (solange ein Panel offen ist) einen Hauch
   heller als die Seite, die Karten darin nochmals eine Stufe darüber. */
:root:not([data-theme="light"]) .mega,
:root:not([data-theme="light"]) .site-header.mega-open { background: #131312; }
:root:not([data-theme="light"]) .mega-card { background: #1A1A19; }
:root:not([data-theme="light"]) .mega-card:hover { background: #212120; }

/* ---------- Foto-Abschnitt mit Produktoberfläche ----------
   Die Produktseiten zeigen die echte Software als Hintergrund (Printix,
   Jamf School, Intune, Contentfilter, Equalizer). Die Oberflächen sind
   hell, darum liegt der Schleier etwas dichter als bei Fotos und die
   Oberfläche ist leicht entsättigt; rechts bleibt sie erkennbar. */
.is-photo.is-ui::before { filter: saturate(0.7) brightness(0.92); }
.is-photo.is-ui::after { background: linear-gradient(90deg, rgba(11,11,10,0.93) 0%, rgba(11,11,10,0.8) 48%, rgba(11,11,10,0.62) 100%); }
@media (max-width: 900px) { .is-photo.is-ui::after { background: rgba(11,11,10,0.88); } }

/* ---------- Preishinweis in der Fusszeile ----------
   Alle Beträge der Website sind Richtwerte; der Satz steht einmal, auf jeder Seite. */
.footer-note { margin: 36px 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
.footer-note + .footer-foot { margin-top: 14px; }

/* ---------- Mega-Panel Unternehmen ----------
   Zwei Karten (Foto «Über uns», Erreichbarkeit) und zwei Linklisten, damit das
   Panel dieselbe Dichte hat wie Leistungen und NETSCHOOL. */
.mega-grid.cols-company { grid-template-columns: 1.45fr 1.15fr 1fr 1fr; gap: 12px 24px; }
.mega-grid.cols-company .mega-card { min-height: 0; }
.mega-grid.cols-company .mega-list { padding-top: 24px; }
.mega-visual.is-photo { position: relative; min-height: 150px; padding: 0; border: 0; border-radius: calc(var(--r-card) - 8px); overflow: hidden; background: var(--bg-3); }
.mega-visual.is-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.mega-card:hover .mega-visual.is-photo img { transform: scale(1.03); }
@media (max-width: 1100px) { .mega-grid.cols-company { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .mega-card:hover .mega-visual.is-photo img { transform: none; } }

/* ---------- Managed-Etiketten ----------
   Jeder Baustein trägt den Namen seines Managed Service (Managed Access,
   Managed Network, Managed Firewall, Managed Devices, Managed Security,
   Managed Operations): im Seitenkopf, in der Leistungsübersicht und auf der
   Startseite. Pille in Markenblau, Haarlinie, keine Fläche. */
.managed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.managed-tag, .managed-tags span { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-stretch: var(--w-label); color: var(--accent); white-space: nowrap; }
.ledger-row > div { flex-wrap: wrap; row-gap: 8px; }
.ledger-row .managed-tag { align-self: center; }
.slat-inner .managed-tag { margin: 0 6px 12px 0; }
.managed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.managed-card { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; transition: border-color .18s ease, background-color .18s ease; }
.managed-card:hover { border-color: var(--line-2); background: var(--bg-3); }
.managed-card b { display: block; margin-bottom: 8px; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 900px) { .managed-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .managed-grid { grid-template-columns: 1fr; } }

/* ---------- Fusszeile, kompakt ----------
   Logo mit Claim «Simply IT», darunter drei Spalten in einer Zeile: Partnerschaften,
   Erreichbar, Preise. Die Spalten folgen dem Raster der Linkspalten darüber. */
.site-footer { padding: clamp(36px, 4vw, 52px) 0 22px; }
.footer-grid { gap: 28px 32px; }
.footer-grid a { padding: 4px 0; }
.footer-brand .logo { height: 52px; margin-bottom: 12px; }
.footer-lower { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-lower .footer-badges { grid-column: 1 / 3; margin: 0; padding: 0; border: 0; }
.footer-reach .legend { display: block; margin-bottom: 12px; }
.footer-reach p { margin: 0 0 8px; line-height: 1.55; max-width: 32ch; }
.footer-reach .link { font-size: 0.875rem; }
.footer-lower + .footer-foot { margin-top: 22px; }
@media (max-width: 900px) {
  .footer-lower { grid-template-columns: 1fr 1fr; }
  .footer-lower .footer-badges { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-lower { grid-template-columns: 1fr; } }

/* Vergleich eigene Stelle / 1st Level: eigener Abschnitt mit grossem Titel (preise.html) */
#vergleich .compare-wrap { margin-top: 0; }
#vergleich .compare { margin-top: 0; }

/* ---------- Fusszeile als Tusche-Fläche ----------
   Die Website beginnt dunkel (Hero) und endet dunkel (Fusszeile), dazwischen
   Papier. Die Fusszeile trägt deshalb in beiden Themes ihre eigenen Token:
   im hellen Theme ist sie die einzige dunkle Fläche am Seitenende, im dunklen
   Theme eine Stufe heller als die Seite, mit Linie darüber. Logo weiss mit
   blauem Mark, Partnerkarten behalten ihr weisses Feld. */
.site-footer {
  --bg: #141413;
  --bg-2: #1A1A19;
  --bg-3: #212120;
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.50);
  --ink-4: rgba(255, 255, 255, 0.30);
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.20);
  --accent: #4F9BE0;
  --accent-2: #7FB5EA;
  --accent-soft: rgba(79, 155, 224, 0.14);
  --on-accent: #0B1523;
  --btn-bg: #FFFFFF;
  --btn-ink: #111110;
  background: var(--bg);
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 5vw, 64px) 0 24px;
}
:root[data-theme="light"] .site-footer { --bg: #111110; --bg-2: #171716; --bg-3: #1D1D1C; border-top-color: transparent; }
.site-footer .legend { color: rgba(255, 255, 255, 0.46); }
.site-footer .footer-grid a { color: var(--ink-2); }
.site-footer .footer-grid a:hover { color: var(--ink); }
.site-footer .footer-brand p { color: var(--ink-3); }
.site-footer .footer-reach p { color: var(--ink-2); }
.site-footer .link-muted { color: var(--ink-2); }
.site-footer .link-muted:hover { color: var(--ink); }
.site-footer .fbadge { color: var(--ink-3); }
.site-footer .fbadge:hover { color: var(--ink); }
.site-footer .fbadge .pbadge-fig { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10); }
.site-footer .fbadge .pbadge-fig.is-card { border-color: transparent; }
.site-footer .footer-lower, .site-footer .footer-foot { border-top-color: var(--line); }
.site-footer .footer-foot { color: var(--ink-4); }
.site-footer .footer-foot a { color: var(--ink-3); }
.site-footer .footer-foot a:hover { color: var(--ink); }
.site-footer ::selection { background: var(--accent); color: var(--on-accent); }

/* Fusszeilen-Logo: so breit wie der Text darunter, damit beide bündig stehen */
.footer-brand .logo { width: min(100%, 224px); height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 224px; text-wrap: pretty; }

/* ---------- Kontaktformular: Rolle als Auswahlmarken ----------
   Statt Pillen eine ruhige Zeile mit runden Marken, wie auf einem Formular
   aus Papier. «Andere» öffnet ein kurzes Feld daneben. */
.choice-marks { margin: 0; padding: 0 0 2px; border: 0; min-width: 0; display: block; }
.choice-marks legend { padding: 0; margin-bottom: 12px; }
.choice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.choice-marks .opt { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 450; color: var(--ink-2); cursor: pointer; }
.choice-marks .opt:hover { color: var(--ink); }
.choice-marks .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-marks .mark { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--bg); transition: border-color .15s ease, border-width .15s ease; }
.choice-marks .opt:hover .mark { border-color: var(--ink-3); }
.choice-marks .opt input:checked + .mark { border-color: var(--accent); border-width: 5.5px; }
.choice-marks .opt input:checked ~ span:last-child { color: var(--ink); }
.choice-marks .opt input:focus-visible + .mark { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice-marks input.opt-input { position: static; opacity: 1; pointer-events: auto; width: auto; min-width: 0; display: none; height: 36px; flex: 1 1 120px; max-width: 220px; padding: 0 12px; font: 450 0.9rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-btn, 6px); }
.choice-marks input.opt-input::placeholder { color: var(--ink-4); }
.choice-marks input.opt-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice-marks.is-other input.opt-input { display: block; }
@media (max-width: 520px) {
  .choice-row { gap: 12px 18px; }
  .choice-marks input.opt-input { flex-basis: 100%; max-width: none; }
}

/* ---------- Preisrechner: Pflichtschritte ----------
   Schritt 01 und 02 tragen «Pflicht». Fehlt die Wahl, bleibt der Rechner auf dem
   Schritt und sagt in der Leiste, was fehlt. Die betroffene Gruppe wird umrandet. */
.cstep-opt.is-req { border-color: var(--accent); color: var(--accent); }
.wiz-hint { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border: 1px solid #C23A3A; border-radius: var(--r-btn, 6px); background: rgba(194, 58, 58, 0.06); color: var(--ink); font-size: 0.88rem; line-height: 1.45; }
.wiz-hint::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; background: #C23A3A; color: #FFFFFF; font-size: 0.72rem; font-weight: 700; vertical-align: -3px; }
.wiz-hint[hidden] { display: none; }
:root:not([data-theme="light"]) .wiz-hint { border-color: #E88; background: rgba(232, 136, 136, 0.10); }
:root:not([data-theme="light"]) .wiz-hint::before { background: #E88; color: #1A1414; }
.is-invalid { outline: 2px solid #C23A3A; outline-offset: 8px; border-radius: 6px; }
:root:not([data-theme="light"]) .is-invalid { outline-color: #E88; }
@media (max-width: 700px) { .wiz-hint { font-size: 0.84rem; padding: 9px 12px; } }

/* ---------- NETSCHOOL: Dashboard nach Rolle (Vorschau) ----------
   Links die Rollen als Tabs, rechts das Board mit sechs Kacheln je Rolle.
   Beim Wechsel steigen die Kacheln gestaffelt auf (--d je Kachel). */
.board-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.board-side .legend { display: block; margin-bottom: 12px; }
.board-roles { display: grid; gap: 4px; }
.board-roles button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-btn, 4px); background: transparent; color: var(--ink-2); font: 500 0.95rem var(--font); text-align: left; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.board-roles button::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .18s ease, transform .25s var(--ease); }
.board-roles button:hover { color: var(--ink); background: var(--bg-3); }
.board-roles button[aria-selected="true"] { color: var(--ink); background: var(--bg-3); border-color: var(--line); }
.board-roles button[aria-selected="true"]::after { opacity: 1; transform: scale(1); }
.board-roles button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.board { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); overflow: hidden; }
.board-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.board-head .legend { color: var(--accent); }
.board-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.015em; flex: 1 1 auto; min-width: 0; }
.board-head h3::before { content: "/"; margin-right: 10px; color: var(--ink-4); font-weight: 400; }
.board-status { flex: none; padding: 3px 9px 2px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-stretch: var(--w-label); }
.board-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.board-panel[hidden] { display: none; }
.board-tile { display: grid; align-content: start; gap: 6px; min-height: 150px; padding: 18px 18px 20px; background: var(--bg-2); opacity: 0; transform: translateY(10px); }
.board-panel.is-in .board-tile { opacity: 1; transform: none; transition: opacity .35s ease var(--d, 0ms), transform .45s var(--ease) var(--d, 0ms); }
.board-tile .legend { font-size: 0.66rem; color: var(--accent); }
.board-tile b { font-weight: 500; font-size: 1rem; letter-spacing: -0.012em; color: var(--ink); line-height: 1.25; }
.board-tile p { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .board-tile { opacity: 1; transform: none; } html:not(.force-motion) .board-panel.is-in .board-tile { transition: none; } }
@media (max-width: 1000px) { .board-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .board-layout { grid-template-columns: 1fr; gap: 24px; }
  .board-roles { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .board-roles::-webkit-scrollbar { display: none; }
  .board-roles button { width: auto; flex: none; border-color: var(--line-2); padding: 8px 12px; font-size: 0.88rem; }
  .board-roles button::after { display: none; }
  .board-roles button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
}
@media (max-width: 560px) { .board-panel { grid-template-columns: 1fr; } .board-tile { min-height: 0; } .board-head { flex-wrap: wrap; } }

/* ---------- Schalter: Preise verbergen, Rechner aus ----------
   Bis site.js den Text getauscht hat, bleiben Preise und Rechner-Links
   unsichtbar, damit kein Betrag kurz aufblitzt. */
html[data-preise="aus"] .preis:not(.is-swapped),
html[data-rechner="aus"] a[href^="rechner.html"]:not(.is-swapped),
html[data-rechner="aus"] [data-rechner-aus]:not(.is-swapped) { visibility: hidden; }
html[data-rechner="aus"] .nur-rechner { display: none !important; }
.rechner-aus-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rechner-aus-grid .lines { margin-top: 18px; }
@media (max-width: 860px) { .rechner-aus-grid { grid-template-columns: 1fr; } }

/* ---------- Bausteine: passt ins Fenster ----------
   Auf Desktop-Breiten soll der Abschnitt mit Titel, fünf Spalten und
   Fusszeile unter dem Kopf Platz haben, sonst steht der Titel beim Lesen
   der Spalten hinter dem Kopf. Dafür engere Sektion, Spaltenhöhe nach
   Fensterhöhe, auf niedrigen Fenstern kompaktere Texte in der Spalte. */
@media (min-width: 901px) {
  #bausteine { padding-block: clamp(48px, 5vw, 72px); }
  #bausteine .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
  .slats-track { height: clamp(440px, calc(100svh - 464px), 600px); }
}
@media (min-width: 901px) and (max-height: 1000px) {
  .slat-teaser { font-size: 0.95rem; margin-bottom: 6px; }
  .slat-lead { margin-bottom: 8px; }
  .slat-lines > div { padding: 5px 0; font-size: 0.86rem; }
  .slat-inner { padding-bottom: 16px; }
  .slat-inner .link { margin-top: 8px; }
}

/* ---------- Mobil: Rhythmus, zwei Spalten wo Platz ist, Tippflächen ----------
   Unter 760 px sind die Sektionen enger gesetzt, Kennzahlen, Fusszeile und
   Team-Karten stehen zu zweit nebeneinander, Labels sind einen Hauch grösser.
   Steht am Ende der Datei, damit es die allgemeinen Regeln sicher überlagert. */
@media (max-width: 760px) {
  .section { padding-block: 56px; }
  .section-tight { padding-block: 36px; }
  .section-head { margin-bottom: 28px; }
  .section-head p { margin-top: 12px; }
  .section-lead { margin-bottom: 24px; }
  .page-head { padding: 40px 0 32px; }
  .page-head .legend { margin-bottom: 14px; }
  .page-head-grid { gap: 18px; }
  .legend, .eyebrow { font-size: 0.75rem; }
  .eyebrow { margin-bottom: 14px; }
  .lines > div { padding: 13px 0; }
  .split .lines > div { padding: 14px 0; }
  .pair > div { padding: 16px 0; }
  .door { padding: 20px 0; }
  /* Kennzahlen: zwei nebeneinander, eine ungerade letzte über die ganze Breite */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px 14px 16px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { padding-left: 14px; padding-right: 0; border-right: 0; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
  .stat:last-child, .stat:nth-child(odd):nth-last-child(2) { border-bottom: 0; }
  /* Fusszeile: Marke über die Breite, danach zwei Spalten */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid a { padding: 7px 0; }
  .footer-foot { font-size: 0.85rem; }
  .footer-foot a { display: inline-block; padding: 6px 0; }
  /* Vergleichstabelle: die Kriterium-Zelle darf die volle Breite nutzen */
  .compare tbody th { width: auto; }
  /* Team: Mitarbeitende zu zweit, Porträts der Leitung kleiner */
  .team-grid.team-staff:not(.team-duo), .team-grid.team-staff.team-duo:has(.person-initials) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .team-grid.team-staff .person { padding: 18px 12px; gap: 10px; }
  .team-grid.team-staff .person-initials { width: 64px; height: 64px; font-size: 1.2rem; }
  .team-grid.team-staff .person h3 { font-size: 1.05rem; }
  .team-grid.team-staff .person p { font-size: 0.86rem; }
  .person-avatar { width: 128px; height: 128px; }
}
/* Touch: unsichtbar grössere Trefffläche für Textlinks */
@media (hover: none) and (pointer: coarse) {
  .link { padding-block: 6px; margin-block: -6px; }
  .footer-grid a { padding-block: 8px; }
}
/* Bausteine als Akkordeon: das geöffnete Element wird unter den Kopf gescrollt
   (site.js, der Kopfabstand kommt aus scroll-padding-top), kürzeres Auf- und Zuklappen */
@media (max-width: 900px) {
  .slat-body { transition-duration: .4s; }
  .slat.is-open .slat-inner { transition-delay: .1s, .1s; }
  .slat-btn { padding: 20px 18px; }
  .slat:not(.is-open) .slat-btn { padding-bottom: 20px; }
  .slat-inner { padding: 8px 18px 20px; }
}
/* NETSCHOOL-Board: die Rollenleiste darf die Spalte nicht aufweiten */
@media (max-width: 860px) {
  .board-layout { grid-template-columns: minmax(0, 1fr); }
  .board-side, .board { min-width: 0; }
}

/* ---------- Kontaktformular: Status, Erfolg, Fallenfeld ----------
   Das Fallenfeld «website» ist für Menschen unsichtbar und nicht erreichbar,
   ein Bot füllt es aus. Die Statuszeile meldet Fehler, der Erfolg ersetzt die Felder. */
.form-falle { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-card { position: relative; }
.form-status { margin: 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn); font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); background: var(--bg); }
.form-status.is-error { border-color: var(--accent); color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft); }
.form-turnstile { min-height: 65px; }
.form-done { display: none; padding: 8px 0 4px; }
.form-done .legend { display: block; margin-bottom: 10px; color: var(--accent); }
.form-done-title { margin: 0 0 10px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); }
.form-done p:not(.form-done-title) { margin: 0; color: var(--ink-2); }
.form-done:focus { outline: none; }
.form.is-sent > :not(.form-done) { display: none; }
.form.is-sent .form-done { display: block; }

/* ---------- Datenschutz-Leiste ----------
   Ruhige Karte unten links, blockiert nichts. Beide Knöpfe gleich gross,
   Ablehnen ist so leicht wie Akzeptieren. Unter dem mobilen Menü (z 98). */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 20px 18px;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .45s var(--ease);
}
:root[data-theme="light"] .consent { box-shadow: 0 16px 40px rgba(17, 17, 16, 0.12); }
.consent.is-open { opacity: 1; transform: none; }
.consent .legend { display: block; margin-bottom: 8px; }
.consent p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent .consent-stand { margin-top: 8px; font-size: 0.82rem; color: var(--ink-3); }
.consent-actions { display: flex; gap: 10px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 0; justify-content: center; height: 44px; }
.consent-wahl { display: grid; gap: 10px; margin-top: 14px; }
.consent-wahl[hidden] { display: none; }
.consent-wahl label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; }
.consent-wahl input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.consent-wahl b { display: block; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.consent-wahl small { display: block; font-size: 0.8rem; color: var(--ink-3); }
.consent-mehr { display: block; margin: 12px auto 0; padding: 6px 8px; background: none; border: 0; font: inherit; font-size: 0.84rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-mehr:hover { color: var(--ink); }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 16px 16px 14px; }
  .consent p { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; transform: none; } }
@media print { .consent { display: none; } }

/* Kontaktformular ohne Zustimmung zum Spamschutz */
.form-consent { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-btn); }
.form-consent p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink-2); }
.form-consent .btn { margin: 12px 0 10px; }
.form-consent-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Rechtstexte: Aufzählungen */
.legal-content ul { margin: 0 0 1.1em; padding-left: 1.2em; color: var(--ink-2); }
.legal-content li { margin: 0.3em 0; }
.legal-content code { font-size: 0.88em; }
