/* ==========================================================================
   praxisserver.at – Statische Website
   Alle Ressourcen lokal gehostet (DSGVO-konform, keine externen Requests)
   ========================================================================== */

/* ---------- Self-hosted Font (JetBrains Mono, variable, latin) ---------- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #F5F9FB;
  --surface: #FFFFFF;
  --surface-2: #EAF2F6;
  --text: #0A2533;
  --text-2: #24455A;
  --muted: #52707F;
  --border: #D3E2EA;

  --primary: #0B6E9E;
  --primary-ink: #FFFFFF;
  --primary-2: #003950;
  --primary-soft: #E1EFF6;

  --accent: #3FA9DC;
  --accent-soft: #E6F4FC;

  --success: #1F7A4D;

  --focus: #0B6E9E;

  --shadow-sm: 0 1px 2px rgba(0, 57, 80, .06);
  --shadow-md: 0 10px 30px rgba(0, 57, 80, .10);
  --shadow-lg: 0 18px 60px rgba(0, 57, 80, .14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --container: 1120px;
  --gutter: 20px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 64px;
  --space-9: 96px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 260ms;

  --font-heading: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', 'Courier New', monospace;
  --font-body: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', 'Courier New', monospace;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* "hidden" ist die Rueckfalloption fuer aeltere Browser; "clip" clippt
     genauso, macht das Element aber NICHT zum Scroll-Container - nur so
     bleibt die klebende Kopfleiste beim Scrollen oben stehen. */
  overflow-x: hidden;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 var(--space-4); color: var(--text-2); }
ul { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(11, 110, 158, .38);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

section { scroll-margin-top: 92px; }
.plan { scroll-margin-top: 104px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-2);
  color: var(--primary-ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 10px 16px;
  min-height: 44px;
}
.btn-ghost:hover { background: var(--primary-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 249, 251, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--primary); }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.main-nav { display: none; }
.header-actions { display: none; }

@media (min-width: 1024px) {
  .main-nav { display: flex; flex-wrap: nowrap; gap: 2px; }
  .main-nav a {
    padding: 9px 9px;
    border-radius: 999px;
    color: var(--text-2);
    font-weight: 500;
    font-size: .84rem;
    white-space: nowrap;
    transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
  }
  .main-nav a:hover { background: var(--primary-soft); color: var(--primary-2); }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .header-actions .btn { white-space: nowrap; }
  /* Zwischen 1024–1199px reicht der Platz nicht für beide CTAs */
  .header-actions .btn-ghost { display: none; }
  .mobile-nav-toggle { display: none !important; }
}
@media (min-width: 1360px) {
  .main-nav a { padding: 10px 9px; font-size: .87rem; }
  .header-actions .btn-ghost { display: inline-flex; }
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

/* Offcanvas */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 27, 27, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease-out);
  z-index: 110;
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  /* visibility verhindert, dass Links im zugeschobenen (aria-hidden-)Panel
     fokussierbar bleiben; die Verzoegerung erhaelt die Zuschieb-Animation */
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
  z-index: 120;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}
.mobile-nav-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur-3) var(--ease-out), visibility 0s;
}
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.mobile-nav-panel nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-panel nav a {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}
.mobile-nav-panel nav a:hover { background: var(--surface-2); }
.mobile-nav-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-8)) 0 var(--space-8);
  background:
    radial-gradient(900px 500px at 12% 8%, rgba(11, 110, 158, .10), transparent 60%),
    radial-gradient(700px 420px at 88% 0%, rgba(63, 169, 220, .10), transparent 55%),
    var(--bg);
}
/* Feines Blueprint-Raster, zu den Rändern hin ausgeblendet */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 110, 158, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 158, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 95% at 45% 10%, #000 25%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 95% at 45% 10%, #000 25%, transparent 76%);
}
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: var(--space-9) 0; }
  /* Visual-Spalte bewusst breiter: die Befehls-Karten sind das Schaufenster */
  .hero-grid { grid-template-columns: .92fr 1.08fr; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-2);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: var(--space-5);
}
.hero h1 { margin-bottom: var(--space-4); }
/* min-width 12ch = exakte Breite von "Zuverlässig." (Mono-Font):
   der Typing-Effekt kann so nie den Zeilenumbruch der H1 verändern. */
.hero h1 .accent-word { color: var(--primary); display: inline-block; min-width: 12ch; }
.hero h1 .accent-word.is-typing::after {
  content: '▍';
  margin-left: 2px;
  color: var(--primary);
  animation: caretBlink 1s steps(1) infinite;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-2);
  max-width: 34rem;
  margin-bottom: var(--space-6);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-6);
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}
.trust-chips svg { color: var(--success); flex-shrink: 0; }
/* Schmale Geraete: kleinere Chips, damit auch die laengeren Botschaften
   (Enterprise-Niveau, Ansprechpartner) einzeilig im Raster bleiben */
@media (max-width: 480px) {
  .trust-chips li { font-size: .74rem; white-space: normal; }
}

/* Browser-Frame */
.browser-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Toast im Screenshot: erscheint synchron zum portal-sync-Befehl im Terminal.
   Oben rechts (unter der Browser-Leiste) - unten würde ihn das davor
   liegende Terminal verdecken. */
.portal-toast {
  position: absolute;
  right: 12px;
  top: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid rgba(11, 110, 158, .28);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(4, 18, 31, .2);
  padding: 8px 14px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--primary-2);
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  pointer-events: none;
}
.portal-toast .pt-check { color: var(--success); font-weight: 700; }
.portal-toast .pt-sub { color: var(--muted); font-weight: 500; }
.portal-toast.is-in { opacity: 1; transform: translateY(0); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #F2B8B5; }
.dot-y { background: #F5D999; }
.dot-g { background: #B7DFC5; }
.browser-url {
  margin-left: 10px;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--muted);
  padding: 4px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame img { width: 100%; }

.hero-visual { position: relative; perspective: 1200px; }
/* Tilt-Wrapper: eigenes Element, damit sich Parallax (auf .hero-visual)
   und Maus-Tilt nicht gegenseitig die transform überschreiben. */
.hero-tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease-out);
  will-change: transform;
}

/* ---------- Hero: Karten-Deck (Karte folgt dem Terminal-Befehl) ----------
   Eigener Stacking-Kontext (z-index 1): die z-indizes der Karten bleiben
   darin gefangen, das Terminal (z-index 2) liegt immer davor. Die Portal-
   Karte ist die Basiskarte im Fluss und bestimmt die Deck-Höhe. */
.hero-cards { position: relative; z-index: 1; }
.hcard { margin: 0; }
.hcard-abs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(46px) rotate(1.4deg);
  transition: transform .55s var(--ease-out), opacity .45s var(--ease-out);
  z-index: 0;
  will-change: transform, opacity;
}
.hcard-abs.is-active { opacity: 1; transform: none; z-index: 2; }
.hcard-base {
  transition: transform .55s var(--ease-out), opacity .45s var(--ease-out), filter .45s var(--ease-out);
}
.hcard-base.is-behind {
  opacity: .5;
  transform: translate(12px, -12px) scale(.985) rotate(.5deg);
  filter: saturate(.55);
}
.hcard-base.is-active { opacity: 1; transform: none; filter: none; }

/* Karten-Inhalt (reine CSS/SVG-Karten) */
.hc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(12px, 2.4vw, 22px);
  /* Blueprint-Raster als Textur: gibt dem Glas-Effekt des Terminals
     überall sichtbare Struktur (und passt zur Design-Signatur) */
  background:
    linear-gradient(rgba(11, 110, 158, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 158, .055) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, #F0F7FC 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  overflow: hidden;
  min-height: 0;
}
.hc-head { display: flex; align-items: center; gap: 12px; }
.hc-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(11, 110, 158, .25);
}
.hc-head strong { display: block; font-size: .95rem; color: var(--primary-2); line-height: 1.25; }
.hc-head em { display: block; font-style: normal; font-size: .72rem; color: var(--muted); }
.hc-chip {
  margin-left: auto;
  flex-shrink: 0;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(11, 110, 158, .1);
  border: 1px solid rgba(11, 110, 158, .28);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hc-chip .pulse-dot { width: 7px; height: 7px; background: var(--primary); }
.hc-chip .pulse-dot::after { border-color: rgba(11, 110, 158, .4); }

.hc-rows { display: flex; flex-direction: column; gap: 8px; }
.hc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #D8E7F1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .78rem;
  color: var(--text-2);
  opacity: 0;
}
.hc-row svg { flex-shrink: 0; color: var(--primary); }
.hc-ok {
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 700;
  font-size: .72rem;
  color: var(--success);
  white-space: nowrap;
}
.hc-warntag { margin-left: auto; flex-shrink: 0; font-weight: 700; font-size: .72rem; color: #B07B1E; white-space: nowrap; }
/* Zeilen erscheinen gestaffelt, sobald die Karte aktiv ist */
.is-active .hc-row { animation: hcRow .45s var(--ease-out) both; }
.is-active .hc-row:nth-of-type(1) { animation-delay: .55s; }
.is-active .hc-row:nth-of-type(2) { animation-delay: 1.15s; }
.is-active .hc-row:nth-of-type(3) { animation-delay: 1.75s; }
.is-active .hc-row:nth-of-type(4) { animation-delay: 2.35s; }
@keyframes hcRow {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

/* Backup-Karte: Pipeline Server -> Verschlüsselung -> Tresor */
.bk-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #0E2A40;
  border-radius: 12px;
  color: #D5E6F2;
}
.bk-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: .62rem;
  letter-spacing: .04em;
  color: #9CC3DD;
  flex-shrink: 0;
}
.bk-node svg { color: #7FC0EA; }
.bk-line { position: relative; flex: 1; height: 2px; background: rgba(127, 192, 234, .3); border-radius: 2px; }
.bk-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7FC0EA;
  opacity: 0;
}
.is-active .bk-dot { animation: bkMove 1.5s ease-in-out .4s infinite; }
.is-active .bk-dot-2 { animation-delay: 1.15s; }
@keyframes bkMove {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* Threats-Karte: Schild mit Puls */
.th-shield {
  position: relative;
  align-self: center;
  color: var(--primary);
  margin: 2px 0 -2px;
}
.th-shield::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(11, 110, 158, .35);
  opacity: 0;
}
.is-active .th-shield::after { animation: pulse 1.8s var(--ease-out) .5s infinite; }

/* Patch-Karte: Fortschrittsbalken */
.pb {
  flex: 1;
  max-width: 130px;
  margin-left: auto;
  height: 7px;
  border-radius: 6px;
  background: #E3EEF6;
  overflow: hidden;
}
.pb i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), #3FA9DC);
}
.is-active .hc-row:nth-of-type(1) .pb i { animation: pbFill 1.1s var(--ease-out) .8s forwards; }
.is-active .hc-row:nth-of-type(2) .pb i { animation: pbFill 1.1s var(--ease-out) 1.4s forwards; }
.is-active .hc-row:nth-of-type(3) .pb i { animation: pbFill 1.1s var(--ease-out) 2s forwards; }
@keyframes pbFill { to { width: 100%; } }
.pb + .hc-ok { opacity: 0; margin-left: 10px; }
.is-active .hc-row:nth-of-type(1) .pb + .hc-ok { animation: hcRow .3s 1.95s forwards; }
.is-active .hc-row:nth-of-type(2) .pb + .hc-ok { animation: hcRow .3s 2.55s forwards; }
.is-active .hc-row:nth-of-type(3) .pb + .hc-ok { animation: hcRow .3s 3.15s forwards; }

/* Server-Karte: Neustart + Dienste-Chips */
.is-active .sv-restart .hc-spin { animation: svSpin 1s linear .9s 2; }
@keyframes svSpin { to { transform: rotate(360deg); } }
.sv-label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sv-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sv-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: var(--text-2);
  background: #fff;
  border: 1px solid #D8E7F1;
  border-radius: 10px;
  padding: 8px 11px;
  opacity: 0;
}
.sv-chip b { margin-left: auto; color: var(--success); font-size: .72rem; }
.is-active .sv-chip { animation: hcRow .4s var(--ease-out) both; }
.is-active .sv-chip:nth-child(1) { animation-delay: 2.3s; }
.is-active .sv-chip:nth-child(2) { animation-delay: 2.65s; }
.is-active .sv-chip:nth-child(3) { animation-delay: 3s; }
.is-active .sv-chip:nth-child(4) { animation-delay: 3.35s; }

/* Offboarding-Karte: Smartphone-Wipe */
.ob-phone { position: relative; overflow: hidden; border-radius: 3px; }
.ob-wipe {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 110, 158, .55), rgba(63, 169, 220, .55));
  transform: translateY(101%);
}
.is-active .ob-wipe { animation: obWipe 1.2s var(--ease-out) 2.1s forwards; }
@keyframes obWipe { to { transform: translateY(0); } }

/* Schmale Screens: Karteninhalte deutlich kompakter (Body hat feste
   Bild-Proportion -> Inhalt muss hineinpassen, overflow ist versteckt) */
@media (max-width: 479px) {
  .hc-body { gap: 6px; padding: 8px 10px; }
  .hc-ico { width: 28px; height: 28px; border-radius: 8px; }
  .hc-ico svg { width: 15px; height: 15px; }
  .hc-head { gap: 8px; }
  .hc-head strong { font-size: .78rem; }
  .hc-head em { font-size: .6rem; }
  .hc-rows { gap: 5px; }
  .hc-row, .sv-chip { padding: 4px 8px; font-size: .64rem; border-radius: 8px; }
  .hc-ok, .hc-warntag { font-size: .6rem; }
  .bk-flow { padding: 5px 8px; }
  .bk-node { font-size: .54rem; }
  .bk-node svg { width: 15px; height: 15px; }
  .th-shield { display: none; }
  .sv-services { gap: 5px; }
  .hc-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hcard-abs, .hcard-base { transition: none; }
  .is-active .hc-row, .is-active .sv-chip { animation: none; opacity: 1; }
  .is-active .hc-row .pb i { animation: none; width: 100%; }
  .is-active .pb + .hc-ok { animation: none; opacity: 1; }
  .is-active .bk-dot, .is-active .th-shield::after, .is-active .sv-restart .hc-spin { animation: none; }
  .is-active .ob-wipe { animation: none; transform: translateY(0); }
}

/* Pulsierender Status-Punkt (mehrfach verwendet: Terminal, Demos, Footer) */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3DDC97;
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(61, 220, 151, .45);
  animation: pulse 2s var(--ease-out) infinite;
}
.pulse-dot-sm { width: 8px; height: 8px; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Hero: Live-Monitoring-Terminal ---------- */
/* z-index 2: liegt IMMER vor dem Karten-Deck (das kapselt seine z-indizes
   in einem eigenen Stacking-Kontext). Leicht transparent mit wenig Blur,
   damit die aktive Karte dezent durchscheint, aber lesbar bleibt. */
.hero-terminal {
  position: absolute;
  bottom: -52px;
  left: -34px;
  z-index: 2;
  width: min(96%, 470px);
  background: rgba(8, 28, 46, .75);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(127, 192, 234, .35);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(4, 18, 31, .5), 0 0 30px rgba(127, 192, 234, .15);
  overflow: hidden;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
/* Desktop: noch tiefer versetzt (Hero hat hier 96px Innenabstand unten) */
@media (min-width: 960px) {
  .hero-terminal { bottom: -78px; }
}
/* Dezente Scanlines (CRT-Anmutung, sehr zurückhaltend) */
.hero-terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(213, 230, 242, .55) 0 1px, transparent 1px 3px);
  opacity: .04;
}
/* Alarm-Flash während eines "abgewehrt"-Ereignisses */
.hero-terminal.is-alert {
  border-color: rgba(245, 192, 90, .65);
  box-shadow: 0 24px 60px rgba(4, 18, 31, .5), 0 0 30px rgba(245, 192, 90, .24);
}
.terminal-status .ts-alert { display: none; }
.hero-terminal.is-alert .terminal-status { color: #F5C05A; }
.hero-terminal.is-alert .ts-ok { display: none; }
.hero-terminal.is-alert .ts-alert { display: inline; }
.hero-terminal.is-alert .terminal-status .pulse-dot { background: #F5C05A; }
.hero-terminal.is-alert .terminal-status .pulse-dot::after { border-color: rgba(245, 192, 90, .5); }
.hero-terminal .terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(127, 192, 234, .08);
  border-bottom: 1px solid rgba(127, 192, 234, .18);
}
.terminal-title {
  margin-left: 6px;
  flex: 1;
  font-size: .7rem;
  color: #8FB8D4;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3DDC97;
}
.terminal-body {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  /* Festes Konsolen-Fenster: 4 Zeilen sichtbar, Überlauf (auch durch
     umbrechende Zeilen) verschwindet oben - die Höhe bleibt IMMER gleich. */
  height: 116px;
  overflow: hidden;
}
.terminal-body .tl { flex-shrink: 0; }
.tl {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: .76rem;
  line-height: 1.45;
  color: #D5E6F2;
}
.tl-time { color: #7FC0EA; font-weight: 600; flex-shrink: 0; }
.tl-text { min-width: 0; }
.tl-ok, .tl-warn, .tl-info {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: .7rem;
}
.tl-ok { color: #3DDC97; }
.tl-warn { color: #F5C05A; }
.tl-info { color: #7FC0EA; }
.tl.is-typing .tl-text::after {
  content: '▍';
  margin-left: 2px;
  color: #7FC0EA;
  animation: caretBlink 1s steps(1) infinite;
}
.tl.is-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* Prompt-Zeile: der "Operator" tippt Befehle, das Log oben antwortet */
.terminal-prompt {
  display: flex;
  align-items: baseline;
  padding: 9px 16px 11px;
  border-top: 1px solid rgba(127, 192, 234, .16);
  background: rgba(127, 192, 234, .05);
  font-size: .74rem;
  white-space: nowrap;
  overflow: hidden;
}
.tp-host { color: #3DDC97; font-weight: 700; }
.tp-path { color: #7FC0EA; margin-right: 8px; }
.tp-cmd { color: #D5E6F2; overflow: hidden; text-overflow: ellipsis; }
.tp-caret { color: #7FC0EA; margin-left: 2px; animation: caretBlink 1s steps(1) infinite; }

@media (max-width: 719px) {
  /* relative statt static: ::after (Scanlines) braucht einen Bezugsrahmen */
  .hero-terminal { position: relative; bottom: auto; left: auto; width: 100%; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; }
  .tl.is-typing .tl-text::after { animation: none; }
  .tp-caret { animation: none; }
}

/* ---------- Sections allgemein ---------- */
.section { padding: var(--space-8) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 110, 158, .35);
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { margin-bottom: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.stats-band {
  background:
    radial-gradient(720px 320px at 18% 0%, rgba(127, 192, 234, .28), transparent 60%),
    radial-gradient(600px 300px at 88% 100%, rgba(127, 192, 234, .16), transparent 55%),
    linear-gradient(135deg, #003950 0%, #0B6E9E 100%);
  border-top: 1px solid rgba(127, 192, 234, .25);
  border-bottom: 1px solid rgba(127, 192, 234, .25);
  color: #fff;
  padding: var(--space-7) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}
.stat-label {
  margin-top: 6px;
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #CFE9F8;
}

/* ---------- Portal-Sektion ---------- */
.portal-intro-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  margin-bottom: var(--space-8);
}
@media (min-width: 960px) { .portal-intro-grid { grid-template-columns: 1.1fr .9fr; } }
.portal-feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
@media (min-width: 620px) { .portal-feature-list { grid-template-columns: 1fr 1fr; } }
.portal-feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--text-2);
}
.portal-feature-list li strong { color: var(--text); display: block; }
.portal-feature-list svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }

.portal-shots-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (min-width: 900px) { .portal-shots-grid { grid-template-columns: repeat(3, 1fr); } }
.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.shot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.shot-card figcaption { padding: var(--space-4) var(--space-5); }
.shot-card figcaption strong { display: block; margin-bottom: 4px; font-size: .98rem; }
.shot-card figcaption span { font-size: .88rem; color: var(--muted); }

.print-docs {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 760px) { .print-docs { grid-template-columns: 1fr 1fr; } }
.print-doc {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.print-doc picture { flex-shrink: 0; display: block; }
.print-doc img {
  width: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #fff;
  flex-shrink: 0;
}
.print-doc h3 { margin-bottom: 6px; }
.print-doc p { margin: 0; font-size: .92rem; }

.portal-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: var(--space-7);
  justify-content: center;
}

/* ---------- Pricing ---------- */
.pricing-note {
  max-width: 46rem;
  margin: 0 auto var(--space-7);
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.pricing-grid {
  display: grid;
  gap: var(--space-5);
  align-items: stretch;
}
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.is-featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-badge.badge-neutral { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.plan h3 { font-size: 1.22rem; margin-bottom: var(--space-2); }
.plan-desc { font-size: .92rem; color: var(--muted); min-height: 2.6em; }
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin: var(--space-4) 0 2px;
}
.plan-price span { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-price-note { font-size: .8rem; color: var(--muted); margin-bottom: var(--space-5); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  gap: 9px;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--text-2);
}
.plan-features svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.plan-features .pf-text { flex: 1; min-width: 0; }
.plan-features .pf-price {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.section-dark .plan-features .pf-price { color: var(--dark-accent); }
.plan-foot { font-size: .78rem; color: var(--muted); margin: 0 0 var(--space-5); }
.section-dark .plan-foot { color: var(--dark-muted); }
.plan-price-individual { font-size: 1.9rem; letter-spacing: .02em; }
.plan .btn { width: 100%; }

/* Add-on-Zeile unter den Paketen */
.pricing-addons {
  margin-top: var(--space-6);
  border: 1px dashed rgba(127, 192, 234, .3);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  color: var(--dark-text-2);
}
.pricing-addons-title {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  margin-bottom: 10px;
}
.pricing-addons ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: .85rem;
}
.pricing-addons li b { color: #fff; font-weight: 600; margin-left: 6px; }
.pricing-addons li em { font-style: normal; color: var(--dark-muted); font-size: .76rem; margin-left: 6px; }
.pricing-addons p { margin: 0; font-size: .82rem; color: var(--dark-muted); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-3);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.faq-item.is-open {
  border-color: rgba(11, 110, 158, .4);
  box-shadow: var(--shadow-sm);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: var(--space-5) var(--space-5);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}
.faq-trigger:hover { color: var(--primary-2); }
.faq-trigger .faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-3) var(--ease-out);
}
.faq-panel.is-open { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  padding: 0 var(--space-5) var(--space-5);
  margin: 0;
  color: var(--text-2);
  font-size: .97rem;
}

/* ---------- Zwei Bereiche ---------- */
.areas-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 860px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 110, 158, .45);
  color: inherit;
}
.area-card .icon-chip { margin-bottom: 0; }
.area-card h3 { margin: 0; font-size: 1.18rem; }
.area-card p { margin: 0; font-size: .95rem; }
.area-num {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--surface);
}
.area-price {
  display: inline-flex;
  width: fit-content;
  background: var(--primary-soft);
  color: var(--primary-2);
  font-weight: 600;
  font-size: .88rem;
  border-radius: 999px;
  padding: 6px 14px;
}
.area-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .93rem;
  margin-top: var(--space-2);
}
.area-card:hover .area-link { color: var(--primary-2); }

/* ---------- Portal-Preis-Banner ---------- */
.portal-price-banner {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  justify-content: space-between;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
}
.portal-price-banner h3 { margin: 0 0 6px; font-size: 1.18rem; }
.portal-price-banner p { margin: 0; max-width: 44rem; font-size: .95rem; }
.portal-price-banner .eyebrow { margin-bottom: 10px; }
.portal-price-banner-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}
.contact-rows { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.contact-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-row .icon-chip { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.contact-row strong { display: block; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-row a, .contact-row span.value { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-row a:hover { color: var(--primary); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); }
.hours-table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: .97rem;
  color: var(--text-2);
}
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--text); }
.hours-highlight td { color: var(--primary-2) !important; font-weight: 600; }
.contact-note {
  margin-top: var(--space-5);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  font-size: .9rem;
  color: var(--primary-2);
}
.contact-note svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(13, 32, 51, .55), rgba(13, 32, 51, .34)),
    linear-gradient(rgba(127, 192, 234, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 192, 234, .04) 1px, transparent 1px),
    url('../img/cta-ekg.webp') center 68% no-repeat #10293D;
  background-size: auto, 72px 72px, 72px 72px, cover;
  color: #fff;
  padding: var(--space-8) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 40rem; margin: 0 auto var(--space-4); }
.cta-band p { color: #B9CCDA; max-width: 36rem; margin: 0 auto var(--space-6); }
.cta-band .btn-primary { background: #fff; color: #10293D; }
.cta-band .btn-primary:hover { background: #D8EAF6; color: #10293D; }
.cta-band .btn-secondary { background: transparent; color: #CFE3F0; border-color: rgba(127, 192, 234, .4); }
.cta-band .btn-secondary:hover { border-color: #7FC0EA; color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #10293D;
  color: #BAD0DE;
  padding: var(--space-8) 0 var(--space-6);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer p { color: #8FA9BC; }
.site-footer a { color: #CFE3F0; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: #8FA9BC;
}
.no-tracking-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 122, 77, .15);
  border: 1px solid rgba(31, 122, 77, .4);
  color: #8FD4AE;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
}

/* ---------- Legal / Artikel-Seiten ---------- */
/* Deutlich vom Inhalt abgesetzter Seitenkopf: getoentes Band mit
   Blueprint-Raster (Markensignatur) und klarer Unterkante - erleichtert
   die Orientierung, wo der Kopf endet und der Inhalt beginnt. */
.page-hero {
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(11, 110, 158, .13), transparent 60%),
    linear-gradient(rgba(11, 110, 158, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 158, .05) 1px, transparent 1px),
    linear-gradient(180deg, #E3EFF6 0%, #EFF6FA 100%);
  background-size: auto, 44px 44px, 44px 44px, auto;
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid rgba(11, 110, 158, .20);
}
.page-hero p { color: var(--muted); margin: 0; }
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-8) var(--gutter);
}
.prose h2 { font-size: 1.45rem; margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose ul { padding-left: 1.2rem; color: var(--text-2); margin-bottom: var(--space-4); }
.prose li { margin-bottom: 6px; }
.prose .lead { font-size: 1.1rem; color: var(--text-2); }
.info-box {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin: var(--space-6) 0;
  color: var(--primary-2);
}
.info-box p { color: inherit; margin: 0; }

/* ---------- Reveal ----------
   Versteckt-Zustand nur bei aktivem JS (html.js) – ohne JS bleibt alles sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}
html.js .reveal-left { transform: translateX(-36px); }
html.js .reveal-right { transform: translateX(36px); }
html.js .reveal-scale { transform: translateY(12px) scale(.94); }
html.js .reveal-clip {
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: opacity 600ms var(--ease-out), clip-path 850ms var(--ease-out);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0); }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }

/* ---------- Scroll-Progress-Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-2), var(--primary) 55%, var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Hero-Parallax-Blobs ---------- */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .5;
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 {
  width: 540px;
  height: 540px;
  left: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(11, 110, 158, .38), transparent 68%);
}
.hero-blob-2 {
  width: 480px;
  height: 480px;
  right: -140px;
  top: -60px;
  background: radial-gradient(circle, rgba(63, 169, 220, .32), transparent 68%);
}
/* Hide parallax blobs on mobile to prevent horizontal overflow */
@media (max-width: 768px) {
  .hero-blob { display: none; }
}
.hero .container { position: relative; z-index: 1; }
.hero-visual { will-change: transform; }

/* ---------- EKG-Trennlinie (scrollgezeichnet) ---------- */
.ekg-divider {
  color: var(--primary);
  opacity: .55;
  overflow: hidden;
  margin-top: -10px;
}
.ekg-divider svg {
  display: block;
  width: 100%;
  height: 74px;
}

/* ---------- Keyword-Ticker (scroll-gekoppelt) ---------- */
.ticker {
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  will-change: transform;
}
.ticker-track span { flex-shrink: 0; }
.ticker-track span:nth-child(even) { color: var(--accent); font-weight: 600; }

/* ---------- Zahlen (Count-Up) ---------- */
.stat-value { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   Bereichs-Differenzierung: IT-Services = Dark (T2.at-Look), Portal = Blau/Hell
   ========================================================================== */
:root {
  --dark-bg: #10293D;
  --dark-card: #17334A;
  --dark-border: rgba(127, 192, 234, .16);
  --dark-text: #F2F7FB;
  --dark-text-2: #B9CCDA;
  --dark-muted: #8FA9BC;
  --dark-accent: #7FC0EA;
  --dark-accent-2: #A3D4F2;
}

/* --- Dunkle Sektion mit feinem Grid (T2-Signatur) --- */
.section-dark {
  background:
    linear-gradient(rgba(127, 192, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 192, 234, .05) 1px, transparent 1px),
    var(--dark-bg);
  background-size: 72px 72px, 72px 72px, auto;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.section-dark h2, .section-dark h3 { color: var(--dark-text); }
/* WICHTIG: In dunklen Sektionen duerfen Ueberschriften INNERHALB
   WEISSER Karten (.role-card) nicht die helle Farbe erben (sonst
   weiss auf weiss). NICHT auf .card ausweiten - die Service-Karten
   in dunklen Sektionen sind selbst dunkel und brauchen helle Titel! */
.section-dark .role-card h3 { color: var(--primary-2); }
.section-dark .section-head p { color: var(--dark-text-2); }
.section-dark .eyebrow {
  background: transparent;
  border: 1px solid rgba(127, 192, 234, .35);
  color: var(--dark-accent);
}

/* Karten im Dark-Bereich */
.section-dark .card {
  background: var(--dark-card);
  border-color: var(--dark-border);
  box-shadow: none;
}
.section-dark .card:hover {
  border-color: rgba(127, 192, 234, .5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.section-dark .card p { color: var(--dark-text-2); }
.section-dark .icon-chip { background: rgba(127, 192, 234, .12); color: var(--dark-accent); }

/* Preis-Pakete im Dark-Bereich */
.section-dark .plan {
  background: var(--dark-card);
  border-color: var(--dark-border);
  box-shadow: none;
}
.section-dark .plan:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.section-dark .plan-desc { color: var(--dark-muted); }
.section-dark .plan-price { color: #FFFFFF; }
.section-dark .plan-price span, .section-dark .plan-price-note { color: var(--dark-muted); }
.section-dark .plan-features li { color: #BDD0DE; }
.section-dark .plan-features svg { color: var(--dark-accent); }
.section-dark .plan.is-featured {
  border-color: var(--dark-accent);
  box-shadow: 0 0 0 1px rgba(127, 192, 234, .25), 0 18px 60px rgba(0, 0, 0, .5);
}
.section-dark .plan-badge { background: var(--dark-accent); color: var(--dark-bg); }
.section-dark .plan-badge.badge-neutral {
  background: transparent;
  color: var(--dark-muted);
  border: 1px solid rgba(127, 192, 234, .25);
}
.section-dark .pricing-note { color: var(--dark-muted); }
.section-dark .pricing-note strong { color: #CFE3F0; }
.section-dark .btn-primary { background: var(--dark-accent); color: var(--dark-bg); }
.section-dark .btn-primary:hover { background: var(--dark-accent-2); color: var(--dark-bg); }
.section-dark .btn-secondary {
  background: transparent;
  color: #CFE3F0;
  border-color: rgba(127, 192, 234, .35);
}
.section-dark .btn-secondary:hover { border-color: var(--dark-accent); color: #FFFFFF; }

/* Portal-Preis-Banner: helle blaue Insel im dunklen Preis-Bereich */
.portal-price-banner {
  background: linear-gradient(135deg, #F2F8FC, #E7F1F9);
  border-color: #BFD9EC;
  border-left: 5px solid var(--primary);
}
.section-dark .portal-price-banner h3 { color: var(--text); }
.section-dark .portal-price-banner p { color: var(--text-2); }
.portal-price-banner .eyebrow {
  background: var(--primary-soft);
  border: 0;
  color: var(--primary-2);
}
.portal-price-banner .btn-primary { background: var(--primary); color: #fff; }
.portal-price-banner .btn-primary:hover { background: var(--primary-2); color: #fff; }
.section-dark .portal-price-banner .btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}
.section-dark .portal-price-banner .btn-secondary:hover { border-color: var(--primary); color: var(--primary-2); }

/* --- Bereichs-Karten: IT = dunkel, Portal = blau/hell --- */
.area-card { overflow: hidden; }
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
}
.area-card-it {
  background:
    linear-gradient(rgba(127, 192, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 192, 234, .05) 1px, transparent 1px),
    var(--dark-bg);
  background-size: 56px 56px, 56px 56px, auto;
  border-color: var(--dark-border);
}
.area-card-it::before { background: var(--dark-accent); }
.area-card-it h3 { color: var(--dark-text); }
.area-card-it p { color: var(--dark-text-2); }
.area-card-it .icon-chip { background: rgba(127, 192, 234, .12); color: var(--dark-accent); }
.area-card-it .area-price { background: rgba(127, 192, 234, .14); color: #CFE3F0; }
.area-card-it .area-link { color: var(--dark-accent); }
.area-card-it:hover { border-color: rgba(127, 192, 234, .5); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.area-card-it:hover .area-link { color: var(--dark-accent-2); }
.area-num { border: 0; }
.area-num-it {
  background: transparent;
  border: 1px solid rgba(127, 192, 234, .35);
  color: var(--dark-accent);
}
.area-card-portal::before { background: var(--primary); }
.area-card-portal .icon-chip { background: var(--primary-soft); color: var(--primary); }
.area-card-portal .area-price { background: var(--primary-soft); color: var(--primary-2); }
.area-card-portal .area-link { color: var(--primary); }
.area-card-portal:hover { border-color: rgba(11, 110, 158, .45); }
.area-card-portal:hover .area-link { color: var(--primary-2); }
.area-num-portal { background: var(--primary-soft); color: var(--primary-2); }

/* --- Portal-Sektion: heller Blau-Bereich --- */
#portal.section-alt {
  background: linear-gradient(180deg, #F0F7FC, #E9F3FA);
  border-top-color: #CFE2EF;
  border-bottom-color: #CFE2EF;
}
#portal .shot-card { border-color: #CFE2EF; }
#portal .print-doc { background: #E7F1F8; border-color: #CFE2EF; }

/* ==========================================================================
   Signatur-Elemente: Terminal-Ästhetik, Schaubild, Sync-Demo, Paket-Finder
   ========================================================================== */

/* ---------- Grundlagen: Auswahl, Scrollbar, Details ---------- */
::selection { background: var(--primary); color: #fff; }
html { scrollbar-color: rgba(11, 110, 158, .5) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(11, 110, 158, .45); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.ekg-divider svg { filter: drop-shadow(0 0 7px rgba(11, 110, 158, .3)); }

/* Nummerierte Sektions-Labels */
.eyebrow-idx { font-weight: 700; letter-spacing: 0; color: var(--primary); }
.eyebrow-idx::after { content: '/'; margin: 0 8px; opacity: .35; font-weight: 500; }
.section-dark .eyebrow-idx { color: var(--dark-accent); }

/* Fadenkreuz-Ecken (technische Blueprint-Anmutung) */
.crosshair, .crosshair-dark { position: relative; }
.crosshair {
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 2v11M2 7.5h11' stroke='%230B6E9E' stroke-opacity='.5' stroke-width='1.5'/%3E%3C/svg%3E");
}
.crosshair-dark {
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 2v11M2 7.5h11' stroke='%237FC0EA' stroke-opacity='.55' stroke-width='1.5'/%3E%3C/svg%3E");
}
.crosshair, .crosshair-dark {
  background-image: var(--cross), var(--cross), var(--cross), var(--cross);
  background-position: 10px 10px, calc(100% - 10px) 10px, 10px calc(100% - 10px), calc(100% - 10px) calc(100% - 10px);
  background-repeat: no-repeat;
}

/* Demo-Chip (Label für interaktive Bereiche) */
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-soft);
  color: var(--primary-2);
  border: 1px solid rgba(11, 110, 158, .22);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}
.demo-chip-dark {
  background: rgba(127, 192, 234, .1);
  color: var(--dark-accent);
  border-color: rgba(127, 192, 234, .32);
}

/* ---------- Infrastruktur-Schaubild ---------- */
.infra { margin-top: var(--space-8); }
.infra-head {
  max-width: 46rem;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.infra-head h3 { color: var(--dark-text); font-size: 1.35rem; }
.infra-head p { color: var(--dark-text-2); }
.infra-frame {
  position: relative;
  background-color: rgba(8, 28, 46, .6);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.infra-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.infra-svg { display: block; width: 100%; min-width: 860px; height: auto; }

/* Mobile Diagramm-Varianten: vertikal statt horizontal scrollen */
.infra-m-svg, .dot1x-m-svg, .tel-m-svg {
  display: none;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: auto;
}
@media (max-width: 759px) {
  .infra-scroll { overflow-x: visible; }
  .infra-svg { display: none; }
  .infra-m-svg, .dot1x-m-svg, .tel-m-svg { display: block; }
}

.flow-line { stroke: rgba(127, 192, 234, .42); stroke-width: 2; fill: none; }
.flow-thin { stroke-width: 1.2; stroke-opacity: .6; }
.ghost-path { stroke: none; fill: none; }
.flow-pulse { fill: #7FC0EA; }
.flow-pulse-red { fill: #F26D6D; }
.flow-pulse-amber { fill: #F5C05A; }

/* Block-Marker (✕) an der Firewall */
.blk-x { stroke-width: 2.2; stroke-linecap: round; fill: none; animation: blkBlink 2.4s ease-in-out infinite; }
.blk-x-red { stroke: #F26D6D; }
.blk-x-amber { stroke: #F5C05A; animation-duration: 3.2s; }
.blk-x-d2 { animation-delay: 1.3s; animation-duration: 2.8s; }
@keyframes blkBlink {
  0%, 100% { opacity: .15; }
  38% { opacity: 1; }
}
.lg-x { font-size: .9rem; font-weight: 700; line-height: 1; }
.lg-x-red { color: #F26D6D; }
.lg-x-amber { color: #F5C05A; }
.mon-line {
  stroke: rgba(61, 220, 151, .4);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  animation: monDash 1.4s linear infinite;
}
@keyframes monDash { to { stroke-dashoffset: -12; } }

.infra-box { fill: none; stroke: rgba(127, 192, 234, .3); stroke-width: 1.2; stroke-dasharray: 7 7; }
.infra-box-label {
  fill: #7FC0EA;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
}
.net-node { cursor: pointer; outline: none; }
.net-node .nn-box {
  fill: #12314B;
  stroke: rgba(127, 192, 234, .3);
  stroke-width: 1.2;
  transition: stroke var(--dur-2) var(--ease-out), fill var(--dur-2) var(--ease-out);
}
.net-node:hover .nn-box,
.net-node:focus-visible .nn-box,
.net-node.is-active .nn-box { stroke: #7FC0EA; stroke-width: 1.8; fill: #16395B; }
.net-node.is-firewall .nn-box { stroke: rgba(127, 192, 234, .55); }
.net-node.is-noc .nn-box { stroke: rgba(61, 220, 151, .45); }
.net-node.is-noc:hover .nn-box,
.net-node.is-noc:focus-visible .nn-box,
.net-node.is-noc.is-active .nn-box { stroke: #3DDC97; }
.nn-label {
  fill: #F2F7FB;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.nn-sub {
  fill: #8FA9BC;
  font-family: var(--font-body);
  font-size: 10.5px;
  pointer-events: none;
}
.nn-icon { stroke: #7FC0EA; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.net-node.is-noc .nn-icon { stroke: #3DDC97; }
.noc-dot { fill: #3DDC97; animation: blinkDot 2s ease-in-out infinite; }
@keyframes blinkDot { 50% { opacity: .2; } }
.noc-logo { opacity: .85; pointer-events: none; }
.net-node.is-internet .nn-box { stroke-dasharray: 5 5; }

.infra-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  max-width: 270px;
  background: #fff;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-12px);
  transition: opacity var(--dur-2) var(--ease-out);
}
.infra-tip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.infra-tip.is-visible { opacity: 1; }
.infra-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: center;
  margin-top: var(--space-4);
  color: var(--dark-muted);
  font-size: .78rem;
}
.infra-meta-item { display: inline-flex; align-items: center; gap: 9px; }
.lg-flow, .lg-mon { display: inline-block; width: 26px; border-top: 2px solid rgba(127, 192, 234, .55); }
.lg-mon { border-top-style: dashed; border-top-color: rgba(61, 220, 151, .55); }
.infra-meta-hint::before { content: '›'; margin-right: 7px; color: var(--dark-accent); }

/* ---------- 802.1x-Visualisierung ---------- */
.dot1x { margin-top: var(--space-8); }
.dot1x-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(127, 192, 234, .18);
}
.dot1x-scenarios { display: flex; flex-wrap: wrap; gap: 8px; }
.dot1x-scenario {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  font-size: .86rem;
}
.dot1x-scenario svg { flex-shrink: 0; }
.dot1x-next {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--dark-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.dot1x-scenario[aria-pressed="true"] .dot1x-next { background: var(--dark-bg); }
.dot1x-scenario.is-armed .dot1x-next { animation: pfProgress 4.5s linear forwards; }
@media (max-width: 639px) {
  .dot1x-scenarios { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dot1x-scenario { justify-content: center; gap: 6px; font-size: .74rem; padding: 8px 6px; min-height: 44px; }
  .dot1x-scenario svg { display: none; }
  .d1x-long { display: none; }
  .dot1x-replay { margin: 0 auto; font-size: .76rem; min-height: 40px; padding: 7px 14px; }
}
.dot1x-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark-muted);
  background: transparent;
  border: 1.5px dashed rgba(127, 192, 234, .32);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.dot1x-replay:hover { color: #fff; border-color: var(--dark-accent); }

/* Ergebnis-Banner (Kernaussage nach Ablaufende).
   Der Platz ist DAUERHAFT reserviert: ein unsichtbarer Sizer (::after mit der
   längeren Meldung aus data-reserve, von main.js gesetzt) und der sichtbare
   Text liegen in derselben Grid-Zelle - die Höhe bleibt bei jedem Zustand
   und jeder Viewport-Breite konstant, nichts springt. */
.dot1x-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 12px 0 0;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}
.dot1x-result::after {
  content: attr(data-reserve);
  visibility: hidden;
  grid-area: 1 / 1;
}
.dot1x-result .dot1x-result-text { grid-area: 1 / 1; }
.dot1x-result.is-ok {
  background: rgba(61, 220, 151, .12);
  border-color: rgba(61, 220, 151, .4);
  color: #3DDC97;
}
.dot1x-result.is-bad {
  background: rgba(242, 109, 109, .12);
  border-color: rgba(242, 109, 109, .45);
  color: #F26D6D;
}

.d1x-line { stroke: rgba(127, 192, 234, .22); stroke-width: 2; fill: none; transition: stroke var(--dur-3) var(--ease-out); }
.d1x-line.is-on { stroke: #7FC0EA; stroke-dasharray: 6 7; animation: monDash .8s linear infinite; }
.d1x-line.is-ok { stroke: #3DDC97; stroke-dasharray: none; animation: none; }
.d1x-line.is-bad { stroke: #F26D6D; stroke-dasharray: none; animation: none; }
.d1x-line-dashed { stroke-dasharray: 3 9; }

.d1x-node .nn-box { transition: stroke var(--dur-3) var(--ease-out), fill var(--dur-3) var(--ease-out); }
.d1x-node.is-on .nn-box { stroke: #7FC0EA; stroke-width: 1.8; fill: #16395B; }
.d1x-node.is-ok .nn-box { stroke: #3DDC97; stroke-width: 1.8; }
.d1x-node.is-bad .nn-box { stroke: #F26D6D; stroke-width: 1.8; }
.d1x-node.is-ok .nn-icon { stroke: #3DDC97; }
.d1x-node.is-bad .nn-icon { stroke: #F26D6D; }

.d1x-chip rect { fill: #12314B; stroke: rgba(127, 192, 234, .25); stroke-width: 1.2; transition: stroke var(--dur-3) var(--ease-out), fill var(--dur-3) var(--ease-out); }
.d1x-chip text { fill: #8FA9BC; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; transition: fill var(--dur-3) var(--ease-out); }
.d1x-chip.is-on rect { stroke: #7FC0EA; }
.d1x-chip.is-ok rect { stroke: #3DDC97; fill: rgba(61, 220, 151, .12); }
.d1x-chip.is-ok text { fill: #3DDC97; }
.d1x-chip.is-bad rect { stroke: #F26D6D; fill: rgba(242, 109, 109, .12); }
.d1x-chip.is-bad text { fill: #F26D6D; }

.d1x-ticket { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.d1x-ticket.is-on { opacity: 1; transform: scale(1); }
.d1x-ticket rect { fill: rgba(245, 192, 90, .14); stroke: #F5C05A; stroke-width: 1.4; }
.d1x-ticket text { fill: #F5C05A; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; }

/* Gerät-Icon je Szenario */
.dot1x .d1x-icon-nb { display: none; }
.dot1x[data-mode="unknown"] .d1x-icon-nb { display: block; }
.dot1x[data-mode="unknown"] .d1x-icon-ekg { display: none; }

/* Feste Log-Höhe ohne Magic Numbers: main.js rendert die höchste End-Ansicht
   (Szenario "unbekannt", 6 Zeilen) einmal unsichtbar als Sizer vor; die
   Live-Zeilen liegen in derselben Grid-Zelle darüber. Die Karte behält damit
   bei jedem Szenario, Zwischenschritt und jeder Breite dieselbe Höhe. */
.dot1x-log {
  margin: 12px 0 0;
  background: #081C2E;
  border: 1px solid rgba(127, 192, 234, .3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 168px; /* Fallback ohne JS */
}
.dot1x-log-sizer, .dot1x-log-lines {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dot1x-log-sizer { visibility: hidden; }
.dot1x-log:empty::before, .dot1x-log-lines:empty::before {
  content: '· Szenario wählen und Ablauf beobachten ·';
  color: var(--dark-muted);
  font-size: .78rem;
  text-align: center;
  margin: auto;
}

/* ---------- Portal: interaktive Sync-Demo ---------- */
/* Farblich hervorgehobene Karte: Akzentbalken oben, zarter Blau-Verlauf als
   unterste Background-Ebene (die 4 Crosshair-Ecken bleiben darüber erhalten). */
.sync-demo {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  background-image: var(--cross), var(--cross), var(--cross), var(--cross),
    linear-gradient(180deg, #FFFFFF 0%, #E9F4FB 100%);
  background-position: 10px 10px, calc(100% - 10px) 10px, 10px calc(100% - 10px),
    calc(100% - 10px) calc(100% - 10px), 0 0;
  background-repeat: no-repeat;
  background-size: auto, auto, auto, auto, 100% 100%;
  border: 1px solid rgba(11, 110, 158, .35);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(11, 110, 158, .14);
  padding: clamp(20px, 4vw, 44px);
  margin-bottom: var(--space-8);
}
.sync-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--dark-accent));
}
.sync-demo-head { max-width: 54rem; margin-bottom: var(--space-6); }
.sync-demo-head h3 { font-size: 1.35rem; }
.sync-demo-head em { font-style: normal; color: var(--muted); font-size: .92em; }
.sync-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 980px) { .sync-grid { grid-template-columns: 300px 1fr; } }

.sync-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.sync-form-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}
.sync-form-title svg { color: var(--primary); }
.sync-field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.sync-field input,
.sync-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
}
.sync-field input:focus-visible,
.sync-field select:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 158, .18);
}
.sync-apply { width: 100%; }
.sync-apply.is-busy { pointer-events: none; opacity: .85; }
.sync-apply.is-busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sync-status {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
  min-height: 2.4em;
}
.sync-status.is-busy { color: var(--primary); }
.sync-status.is-done { color: var(--success); }
@media (min-width: 640px) and (max-width: 979px) {
  .sync-form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .sync-form-title { width: 100%; }
  .sync-field { flex: 1 1 160px; }
  .sync-apply { width: auto; }
  .sync-status { width: 100%; min-height: 0; }
}

.sync-previews { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .sync-previews { grid-template-columns: 1fr 1fr; } }
.sync-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.sync-tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
}
.sync-tile-head svg { color: var(--primary); flex-shrink: 0; }
.sync-badge {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--success);
  background: rgba(31, 122, 77, .1);
  border: 1px solid rgba(31, 122, 77, .28);
  border-radius: 999px;
  padding: 2px 10px;
  transition: color var(--dur-2), background-color var(--dur-2), border-color var(--dur-2);
}
.sync-tile.is-syncing { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 110, 158, .16); }
.sync-tile.is-syncing .sync-badge {
  color: var(--primary-2);
  background: var(--primary-soft);
  border-color: rgba(11, 110, 158, .3);
}
.sync-tile.is-stale .sync-badge {
  color: #8A6A12;
  background: #FCF4E3;
  border-color: #EBD9A8;
}
.sync-tile-body { flex: 1; }

/* Website-Preview */
.sync-web-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.sync-web-bar .dot { width: 8px; height: 8px; }
.sync-web-url {
  margin-left: 6px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .66rem;
  color: var(--muted);
  padding: 2px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sync-web-page { padding: 12px 14px 14px; }
.sync-web-header strong { display: block; font-size: .9rem; letter-spacing: -.01em; }
.sync-web-header span { font-size: .68rem; color: var(--muted); }
.sync-web-banner {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #FCF4E3;
  border: 1px solid #EBD9A8;
  color: #6E5312;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: .76rem;
  line-height: 1.5;
}
.sync-web-banner svg { flex-shrink: 0; margin-top: 2px; }
.sync-web-skeleton { margin-top: 12px; display: grid; gap: 6px; }
.sync-web-skeleton span { height: 8px; border-radius: 4px; background: var(--surface-2); }
.sync-web-skeleton span:nth-child(2) { width: 82%; }
.sync-web-skeleton span:nth-child(3) { width: 58%; }

/* Signage-Preview */
.sync-sig {
  background: linear-gradient(150deg, #0E2A40, #123B57);
  color: #fff;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 13px 16px;
}
.sync-sig-top {
  display: flex;
  justify-content: space-between;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7FC0EA;
}
.sync-sig-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.sync-sig-kicker {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #F5C05A;
}
.sync-sig-main strong { font-size: 1.02rem; line-height: 1.3; }
.sync-sig-sub { font-size: .76rem; color: #CFE3F0; }
.sync-sig-foot { font-size: .62rem; color: #8FA9BC; }

/* Telefon-Preview */
.sync-tel { padding: 14px; }
.sync-tel-wave { display: flex; gap: 4px; align-items: flex-end; height: 30px; margin-bottom: 10px; }
.sync-tel-wave span {
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: var(--primary);
  transform: scaleY(.25);
  transform-origin: bottom;
  animation: wave 1.15s ease-in-out infinite;
}
.sync-tel-wave span:nth-child(2) { animation-delay: .12s; }
.sync-tel-wave span:nth-child(3) { animation-delay: .24s; }
.sync-tel-wave span:nth-child(4) { animation-delay: .36s; }
.sync-tel-wave span:nth-child(5) { animation-delay: .48s; }
.sync-tel-wave span:nth-child(6) { animation-delay: .6s; }
.sync-tel-wave span:nth-child(7) { animation-delay: .72s; }
@keyframes wave { 50% { transform: scaleY(1); } }
.sync-tel-text { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--text-2); }

/* Türaushang-Preview */
.sync-print { background: var(--surface-2); display: flex; justify-content: center; padding: 16px; }
.sync-paper {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  width: min(240px, 100%);
  padding: 18px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
  transform: rotate(-.6deg);
}
.sync-paper strong {
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 7px;
}
.sync-paper-range { font-size: .82rem; font-weight: 700; color: var(--text); }
.sync-paper-sub { font-size: .72rem; color: var(--text-2); line-height: 1.5; }
.sync-paper-foot {
  border-top: 1px solid var(--border);
  padding-top: 6px;
  font-size: .58rem;
  color: var(--muted);
}

/* ---------- Paket-Finder (IT-Befund) ---------- */
.finder {
  background-color: rgba(8, 28, 46, .6);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 44px);
  margin-bottom: var(--space-7);
}
.finder-head { max-width: 54rem; }
.finder-head h3 { color: var(--dark-text); font-size: 1.35rem; }
.finder-head p { color: var(--dark-text-2); }
.finder-grid { display: grid; gap: var(--space-6); }
@media (min-width: 980px) { .finder-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: #BDD0DE;
  background: transparent;
  border: 1.5px solid rgba(127, 192, 234, .32);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.chip:hover { border-color: var(--dark-accent); color: #fff; }
.chip[aria-pressed="true"] { background: var(--dark-accent); border-color: var(--dark-accent); color: var(--dark-bg); }
.chip-sm { padding: 7px 13px; min-height: 38px; font-size: .8rem; }

/* Preisrechner: Eingaben */
.calc-inputs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: rgba(18, 49, 75, .55);
  border: 1px solid rgba(127, 192, 234, .18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.calc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc-label { color: #F2F7FB; font-weight: 600; font-size: .92rem; }
.calc-hint { color: var(--dark-muted); font-size: .74rem; }
.calc-stepper { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.calc-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid rgba(127, 192, 234, .32);
  background: transparent;
  color: #CFE3F0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.calc-btn:hover { border-color: var(--dark-accent); color: #fff; background: rgba(127, 192, 234, .1); }
.calc-value {
  min-width: 42px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.calc-row-choice { flex-wrap: wrap; }
.calc-chiprow { justify-content: flex-end; }
.calc-foot { margin: 4px 2px 0; color: var(--dark-muted); font-size: .74rem; }

/* Preisrechner: Aufschlüsselung im Befund */
.calc-breakdown {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .86rem;
  color: var(--text-2);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 7px;
}
.calc-breakdown b { color: var(--text); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.befund {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.befund-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--primary-2);
  color: #CFE9F8;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 18px;
}
.befund-body { padding: var(--space-5) var(--space-6) var(--space-6); }
.befund-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.1;
}
.befund-price em { display: block; margin-top: 4px; font-style: normal; font-size: .82rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.befund-note {
  background: var(--primary-soft);
  color: var(--primary-2);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: .82rem;
  line-height: 1.55;
  margin: var(--space-4) 0 0;
}
.befund-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-5); }
.befund-ctas .btn { flex: 1 1 auto; }
.section-dark .befund .btn-primary { background: var(--primary); color: #fff; }
.section-dark .befund .btn-primary:hover { background: var(--primary-2); color: #fff; }
.section-dark .befund .btn-secondary { background: #fff; color: var(--primary); border-color: var(--border); }
.section-dark .befund .btn-secondary:hover { border-color: var(--primary); color: var(--primary-2); }
.befund-stamp {
  display: none;
  position: absolute;
  top: 54px;
  right: 20px;
  transform: rotate(7deg);
  border: 2.5px solid rgba(11, 110, 158, .5);
  color: rgba(11, 110, 158, .62);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 6px;
  pointer-events: none;
}
.befund.is-complete .befund-stamp { display: block; }
/* Rechner- und Check-Befund: oben Platz für den Stempel reservieren */
[data-calc] .befund-body,
.check-befund .befund-body { padding-top: 62px; }

/* ---------- Pflichten-Sektion (Rotor) ---------- */
.pflicht-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.pflicht-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: .8rem;
  color: var(--text-2);
}
.pflicht-stat b {
  font-family: var(--font-heading);
  font-size: .88rem;
  color: var(--primary-2);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.pflicht-rotor { max-width: 820px; margin: 0 auto; }
.pflicht-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.pflicht-tab {
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  min-height: 40px;
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.pflicht-tab:hover { border-color: var(--primary); color: var(--primary-2); }
.pflicht-tab.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-2);
}
.pflicht-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.is-auto .pflicht-tab.is-active .pflicht-progress { animation: pfProgress 5.5s linear; }
@keyframes pfProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.pflicht-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3.4vw, 36px);
  min-height: 250px;
}
.pflicht-card.is-swap { animation: pfSwap 340ms var(--ease-out); }
@keyframes pfSwap {
  0% { opacity: 1; transform: none; }
  45% { opacity: 0; transform: translateY(7px); }
  55% { opacity: 0; }
  100% { opacity: 1; transform: none; }
}
.pflicht-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: var(--space-3);
}
.pflicht-law {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-2);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.pflicht-title { font-size: 1.18rem; color: var(--text); letter-spacing: -.01em; }
.pflicht-req { margin: 0 0 var(--space-4); color: var(--text-2); font-size: .97rem; }
.pflicht-answer {
  background: var(--surface-2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
}
.pflicht-answer-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.pflicht-answer p { margin: 0 0 10px; font-size: .93rem; color: var(--text-2); }
.pflicht-service {
  display: inline-flex;
  font-size: .76rem;
  font-weight: 600;
  color: var(--primary-2);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}
.pflicht-note {
  margin: var(--space-4) auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- Ordinations-Check (Wizard) ---------- */
.check-grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 960px) { .check-grid { grid-template-columns: 1.05fr .95fr; } }
.check-wizard {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3.4vw, 36px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.check-wizard.is-swap { animation: pfSwap 340ms var(--ease-out); }
.check-progressbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--surface-2);
}
.check-progressbar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-2), var(--primary) 60%, var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-3) var(--ease-out);
}
.check-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.check-step {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.check-back {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.check-back:hover { background: var(--primary-soft); }
.check-back:disabled { color: var(--muted); opacity: .5; cursor: default; background: none; }
.check-question {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 var(--space-5);
}
.check-answers { gap: 10px; }
.chip-light {
  color: var(--text-2);
  background: var(--surface);
  border-color: var(--border);
}
.chip-light:hover { border-color: var(--primary); color: var(--primary-2); }
.chip-light[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.check-noscript { margin: var(--space-4) 0 0; font-size: .85rem; color: var(--muted); }

.check-befund .befund-top { background: var(--primary-2); }
.check-hint { margin: 0; color: var(--muted); font-size: .92rem; }
.check-hint b { color: var(--primary-2); }
.check-verdict {
  margin: 0 0 var(--space-4);
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.55;
}
.check-verdict span {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-2);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-right: 8px;
}
.check-points-label {
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.check-points-clean { color: var(--success); }
.check-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 190px;
  overflow-y: auto;
  padding-right: 6px;
}
.check-points li {
  position: relative;
  padding-left: 18px;
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.45;
}
.check-points li::before {
  content: '›';
  position: absolute;
  left: 2px;
  color: #B7791F;
  font-weight: 700;
}
.check-restart {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.check-restart:hover { border-color: var(--primary); color: var(--primary-2); }

/* ---------- Telefonie ---------- */
.tel-grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-6);
}
@media (min-width: 900px) { .tel-grid { grid-template-columns: 1.05fr .95fr; } }
.tel-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3.4vw, 36px);
}
.tel-card h3 { margin-bottom: var(--space-2); font-size: 1.2rem; }
.tel-card > p { font-size: .95rem; }
.tel-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tel-features li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.tel-features li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--success);
  font-weight: 700;
}
.tel-features strong { color: var(--text); }
.tel-details {
  margin-top: var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.tel-details summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-2);
  list-style-position: inside;
}
.tel-details summary:hover { color: var(--primary); }
.tel-details-body { padding: 0 16px 4px; }
.tel-details-body p { font-size: .85rem; color: var(--text-2); }
.tel-details-body b { color: var(--text); }
.tel-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  align-items: center;
  justify-content: space-between;
  background: var(--primary-soft);
  border: 1px solid rgba(11, 110, 158, .2);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.tel-cta p { margin: 0; max-width: 46rem; font-size: .92rem; color: var(--primary-2); }

/* ---------- Wechsel-Timeline ---------- */
.wechsel-timeline { position: relative; padding-top: 26px; }
.wechsel-line {
  position: absolute;
  top: 8px;
  left: 4%;
  width: 92%;
  height: 12px;
  display: none;
  color: var(--primary);
}
.wechsel-line path {
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s var(--ease-out) .25s;
}
html.js .wechsel-timeline.is-visible .wechsel-line path,
html:not(.js) .wechsel-line path { stroke-dashoffset: 0; }
.wechsel-pulse { fill: var(--primary); }
.wechsel-steps { display: grid; gap: var(--space-4); }
@media (min-width: 900px) {
  .wechsel-line { display: block; }
  .wechsel-steps { grid-template-columns: repeat(4, 1fr); }
}
.wechsel-step {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5) var(--space-5);
  margin-top: 18px;
}
.wechsel-num {
  position: absolute;
  top: -18px;
  left: var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}
.wechsel-step h3 { font-size: .98rem; margin-bottom: 6px; }
.wechsel-step p { margin: 0; font-size: .84rem; color: var(--text-2); line-height: 1.55; }
.wechsel-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: var(--space-6);
}
.wechsel-notes span {
  position: relative;
  padding: 8px 16px 8px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text-2);
}
.wechsel-notes span::before {
  content: '✓';
  position: absolute;
  left: 15px;
  color: var(--success);
  font-weight: 700;
}

/* ---------- Footer-Statuszeile ---------- */
.footer-status {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: var(--space-5);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FD4AE;
}

/* ---------- Telefonie: Anlagen-Simulation ---------- */
[data-telefon] .dot1x-scenario.is-armed .dot1x-next { animation-duration: 10.4s; }
.tel-svg { min-width: 900px; }
.tel-scenarios { flex-wrap: wrap; }
.tel-pbx-box { fill: rgba(11, 110, 158, .1); stroke: rgba(127, 192, 234, .4); }
.tel-panel { fill: rgba(127, 192, 234, .06); stroke: rgba(127, 192, 234, .25); stroke-width: 1.2; }
/* Betriebsmodus-Chip: geöffnet (grün) vs. Urlaubsmodus (amber) */
.tel-mode rect { fill: rgba(61, 220, 151, .08); stroke: rgba(61, 220, 151, .4); stroke-width: 1.2; transition: stroke var(--dur-3) var(--ease-out), fill var(--dur-3) var(--ease-out); }
.tel-mode text { fill: #3DDC97; font-family: var(--font-body); font-size: 12px; font-weight: 700; }
.tel-mode .tm-urlaub { display: none; }
.tel-mode.is-urlaub .tm-open { display: none; }
.tel-mode.is-urlaub .tm-urlaub { display: block; }
.tel-mode.is-urlaub rect { fill: rgba(245, 192, 90, .1); stroke: rgba(245, 192, 90, .55); }
.tel-mode.is-urlaub text { fill: #F5C05A; }
/* Warteschleifen-Plätze */
.tel-q { fill: rgba(127, 192, 234, .08); stroke: rgba(127, 192, 234, .35); stroke-width: 1.4; transition: fill var(--dur-3) var(--ease-out), stroke var(--dur-3) var(--ease-out); }
.tel-q.is-on { fill: rgba(127, 192, 234, .45); stroke: #7FC0EA; animation: telQPulse 1.4s ease-in-out infinite; }
.tel-q.is-bad { fill: rgba(245, 192, 90, .4); stroke: #F5C05A; animation: telQPulse 1s ease-in-out infinite; }
.tel-q.is-ok { fill: rgba(61, 220, 151, .35); stroke: #3DDC97; animation: none; }
@keyframes telQPulse { 50% { fill-opacity: .8; } }
/* Schallwellen (TTS-Ansage, Lautsprecher) */
.tel-wave path { fill: none; stroke: #7FC0EA; stroke-width: 1.8; stroke-linecap: round; opacity: .12; }
.tel-wave.is-on path { animation: telWave 1.2s ease-in-out infinite; }
.tel-wave.is-on path:nth-child(2) { animation-delay: .18s; }
.tel-wave.is-on path:nth-child(3) { animation-delay: .36s; }
@keyframes telWave { 0%, 100% { opacity: .12; } 40% { opacity: 1; } }
/* Einblend-Badges (Rufnummernanzeige, Rückruf-Eintrag, Terminbestätigung) */
.tel-pop { opacity: 0; transform: scale(.7); transform-box: fill-box; transform-origin: center; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.tel-pop.is-on, .tel-pop.is-ok { opacity: 1; transform: scale(1); }
/* Besetzt-Zustand einer Nebenstelle */
.d1x-node.is-busy .nn-box { stroke: #F5C05A; stroke-width: 1.8; fill: rgba(245, 192, 90, .07); }
.d1x-node.is-busy .nn-icon { stroke: #F5C05A; }

@media (prefers-reduced-motion: reduce) {
  .tel-q.is-on, .tel-q.is-bad { animation: none; }
  .tel-wave.is-on path { animation: none; opacity: .9; }
  .tel-pop { transition: none; }
}

/* Nutzen-Vergleich (Beispielordination): Anrufe vorher/nachher */
.nutzen-grid { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 900px) { .nutzen-grid { grid-template-columns: .9fr 1.1fr; } }
.nutzen-stat { background: var(--dark-bg); color: #D5E6F2; border-radius: var(--radius-lg); padding: 26px 28px; }
.nutzen-stat-label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7FC0EA; margin-bottom: 18px; }
.nutzen-bar-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.nutzen-bar-row strong { font-size: 1.15rem; white-space: nowrap; }
.nutzen-neu { color: #3DDC97; }
.nutzen-bar-name { font-size: .78rem; color: #9CC3DD; }
.nutzen-bar { height: 14px; border-radius: 7px; background: rgba(127, 192, 234, .12); overflow: hidden; }
.nutzen-bar i { display: block; height: 100%; border-radius: 7px; width: 0; }
.nutzen-bar-alt { background: #F26D6D; --w: 100%; }
.nutzen-bar-neu { background: #3DDC97; --w: 35%; }
.is-visible .nutzen-bar-alt { animation: nutzenFill 1.2s var(--ease-out) .3s forwards; }
.is-visible .nutzen-bar-neu { animation: nutzenFill 1.2s var(--ease-out) .6s forwards; }
@keyframes nutzenFill { to { width: var(--w); } }
.nutzen-foot { margin: 14px 0 0; font-size: .82rem; color: #9CC3DD; }
@media (prefers-reduced-motion: reduce) {
  .is-visible .nutzen-bar-alt, .is-visible .nutzen-bar-neu { animation: none; width: var(--w); }
}

/* ---------- Hauptnavigation: Gruppen-Dropdowns ----------
   "Produkte" (mit Punkt-Markierung) und "Ratgeber" gruppieren die
   Unterseiten; Kennzeichnung der Produktseiten direkt im Menü. */
.nav-group { position: relative; display: none; }
@media (min-width: 1024px) {
  .nav-group { display: block; }
  .nav-group-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    padding: 9px 9px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    color: var(--text-2);
    font-weight: 500;
    font-size: .84rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
  }
  .nav-group-btn:hover { background: var(--primary-soft); color: var(--primary-2); }
  .nav-group-btn svg { transition: transform var(--dur-2) var(--ease-out); }
  .nav-group:hover .nav-group-btn svg,
  .nav-group.is-open .nav-group-btn svg { transform: rotate(180deg); }
}
@media (min-width: 1360px) {
  .nav-group-btn { padding: 10px 9px; font-size: .87rem; }
}
.nav-group-btn.is-current-group { color: var(--primary-2); background: var(--primary-soft); }
/* Punkt-Markierung: kennzeichnet Produkte im Menü */
.nav-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.nav-group-produkt > .nav-group-btn::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 265px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
  z-index: 60;
}
.nav-group:hover .nav-drop,
.nav-group:focus-within .nav-drop,
.nav-group.is-open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  white-space: nowrap;
}
.main-nav .nav-drop a:hover { background: var(--primary-soft); }
.main-nav .nav-drop a.is-current { background: var(--primary-soft); }
.nav-drop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .86rem;
  color: var(--primary-2);
}
.nav-drop small { display: block; margin-top: 1px; font-size: .7rem; font-weight: 400; color: var(--muted); }

/* Mobilmenü: Gruppen-Labels */
.mobile-nav-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 4px;
  padding: 0 4px;
}
.mobile-nav-label:first-child { margin-top: 0; }
.mobile-nav-label-produkt::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.mobile-nav-panel nav a .nav-dot { margin-right: 8px; }

/* ---------- Unterseiten: Seitentyp-Kennzeichnung ----------
   Produktseiten (Portal, Telefonie) = blauer Hero mit Akzentlinie + gefüllter
   Chip; Informationsseiten (Leistungen, Checklisten, Rechtliches) = neutraler
   Hero mit Umriss-Chip. */
.page-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: var(--space-4);
}
.page-kind--produkt { background: var(--primary); color: #fff; }
.page-kind--info { background: var(--surface); color: var(--primary-2); border: 1px solid var(--border); }
.page-hero { position: relative; }
.page-hero--produkt {
  background:
    linear-gradient(rgba(11, 110, 158, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 158, .05) 1px, transparent 1px),
    linear-gradient(180deg, #E4F0F9 0%, #F4F9FD 100%);
  background-size: 44px 44px, 44px 44px, auto;
  border-bottom: 1px solid #C8DEEE;
}
.page-hero--produkt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--dark-accent));
}
.main-nav a.is-current { color: var(--primary-2); background: var(--primary-soft); border-radius: 8px; }

/* ---------- Unterseiten: e-card/GIN & Checkliste ---------- */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.faq-more { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }

/* Rollen-Karten (Wer macht was?) */
.role-grid { display: grid; gap: var(--space-5); }
@media (min-width: 860px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }
.role-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 24px 22px;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #CFE2EF;
}
.role-card-accent::before { background: linear-gradient(90deg, var(--primary), var(--dark-accent)); }
.role-card-accent { border-color: rgba(11, 110, 158, .35); }
.role-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-2);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 10px;
}
.role-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.role-sub {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.role-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; font-size: .88rem; color: var(--text-2); }
.role-note { max-width: 56rem; margin-top: var(--space-6); font-size: .95rem; color: var(--text-2); }

/* Leistungsliste */
.leist-list { display: grid; gap: var(--space-4); max-width: 56rem; }
.leist-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #CFE2EF;
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.leist-item h3 { font-size: 1rem; margin-bottom: 6px; }
.leist-item p { margin: 0; font-size: .92rem; color: var(--text-2); }
.leist-item-accent { border-left-color: var(--primary); background: #F4FAFE; }

/* Zuständigkeitstabelle */
.zust-wrap { overflow-x: auto; }
.zust-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: .88rem;
}
.zust-table th, .zust-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.zust-table thead th {
  background: var(--primary-soft);
  color: var(--primary-2);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.zust-table tbody tr:last-child td { border-bottom: 0; }
.zust-table .zust-us { color: var(--primary-2); font-weight: 600; background: rgba(11, 110, 158, .05); }

/* Checkliste: Rückwärts-Zeitachse */
.pdf-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: var(--space-5); }
.pdf-box span { font-size: .8rem; color: var(--muted); }
.cl-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.cl-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 71px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(11, 110, 158, .35) 0 6px, transparent 6px 12px);
}
.cl-step { position: relative; display: flex; gap: 22px; align-items: flex-start; }
.cl-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 144px;
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary-2);
  background: var(--primary-soft);
  border: 1px solid rgba(11, 110, 158, .3);
  border-radius: 999px;
  padding: 7px 10px;
  margin-top: 2px;
}
.cl-step-final .cl-badge { background: var(--primary); color: #fff; border-color: var(--primary); }
.cl-step > div {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.cl-step h3 { font-size: 1rem; margin-bottom: 6px; }
.cl-step p { margin: 0; font-size: .9rem; color: var(--text-2); }
.cl-note {
  max-width: 56rem;
  margin-top: var(--space-6);
  background: #F4FAFE;
  border: 1px solid rgba(11, 110, 158, .3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.cl-note h3 { font-size: 1rem; margin-bottom: 6px; }
.cl-note p { margin: 0; font-size: .9rem; color: var(--text-2); }
@media (max-width: 639px) {
  .cl-timeline::before { display: none; }
  .cl-step { flex-direction: column; gap: 8px; }
  .cl-badge { width: auto; align-self: flex-start; }
}

/* Unterseiten-CTA */
.subpage-cta {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid rgba(11, 110, 158, .3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3.4vw, 36px);
}
.subpage-cta h2 { font-size: 1.35rem; margin-bottom: 6px; }
.subpage-cta p { margin: 0; max-width: 38rem; color: var(--text-2); }
.subpage-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Startseite: Vertragsmanagement ---------- */
.vertrag-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .vertrag-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vertrag-grid { grid-template-columns: repeat(3, 1fr); } }
.vertrag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.vertrag-card h3 { display: flex; align-items: center; gap: 9px; font-size: .98rem; margin-bottom: 6px; }
.vertrag-card h3 svg { color: var(--primary); flex-shrink: 0; }
.vertrag-card p { margin: 0; font-size: .86rem; color: var(--text-2); }
.vertrag-note {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 860px) { .vertrag-note { grid-template-columns: 1.2fr .8fr; align-items: stretch; } }
.vertrag-quote {
  background: var(--dark-bg);
  color: #D5E6F2;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: .98rem;
  line-height: 1.6;
  position: relative;
}
.vertrag-quote strong { color: #fff; }
.vertrag-legal {
  background: #F4FAFE;
  border: 1px solid rgba(11, 110, 158, .3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: .88rem;
  color: var(--text-2);
}
.vertrag-links { margin-top: var(--space-5); display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Druck: Checkliste als sauberes PDF ---------- */
@media print {
  .page-checkliste .site-header, .page-checkliste .site-footer,
  .page-checkliste .subpage-cta, .page-checkliste .pdf-box,
  .page-checkliste .breadcrumb, .page-checkliste .section-alt { display: none !important; }
  .page-checkliste .page-hero { padding: 0 0 12px; background: #fff; }
  .page-checkliste .cl-timeline::before { display: none; }
  .page-checkliste .cl-step { break-inside: avoid; }
  .page-checkliste .cl-step > div { border: 1px solid #bbb; }
  .page-checkliste .cl-badge { border: 1px solid #888; background: #fff; color: #000; }
  .page-checkliste a { color: inherit; text-decoration: none; }
  .page-checkliste a[href^="index"]::after, .page-checkliste a[href^="e-card"]::after { content: ' (praxisserver.at)'; font-size: .8em; color: #666; }
}

/* ---------- Druckansicht ---------- */
@media print {
  .site-header, .mobile-nav-panel, .mobile-nav-overlay, .scroll-progress,
  .ticker, .ekg-divider, .cta-band, .sync-demo, .finder, .hero-terminal,
  .footer-status { display: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body { background: #fff; }
}

/* ---------- Reduzierte Bewegung: neue Elemente ---------- */
@media (prefers-reduced-motion: reduce) {
  .infra-pulses { display: none; }
  .mon-line, .noc-dot { animation: none; }
  .blk-x { animation: none; opacity: .7; }
  .d1x-line.is-on { animation: none; }
  .d1x-ticket { transition: none; }
  .dot1x-scenario.is-armed .dot1x-next { animation: none; }
  .sync-tel-wave span { animation: none; transform: scaleY(.55); }
  .sync-apply.is-busy svg { animation: none; }
  .sync-tile.is-syncing { box-shadow: none; }
  .ekg-divider svg { filter: none; }
}
#portal .print-doc img { border-color: #CFE2EF; }

/* ============ Standards-Seite (so-arbeiten-wir): Doku-Demo, Beispiele, Zitate ============ */
.doku { margin-top: var(--space-6); }
.doku-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.doku-tab {
  font-family: inherit;
  font-size: .86rem;
  color: var(--dark-accent);
  background: rgba(127, 192, 234, .08);
  border: 1px solid rgba(127, 192, 234, .28);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 42px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.doku-tab:hover { background: rgba(127, 192, 234, .16); }
.doku-tab[aria-selected="true"] {
  background: var(--dark-accent);
  border-color: var(--dark-accent);
  color: var(--dark-bg);
  font-weight: 600;
}
/* Grid-Stack: alle Panes uebereinander -> Container so hoch wie das hoechste Pane, nichts springt */
.doku-panes { display: grid; margin-top: var(--space-5); }
.doku-pane { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .25s ease; }
.doku-pane.is-active { visibility: visible; opacity: 1; }

/* "Papier"-Dokumente der Demo-Auszuege */
.paper {
  background: #FDFEFF;
  color: var(--text);
  border: 1px solid rgba(11, 110, 158, .18);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(3, 22, 36, .45);
  overflow: hidden;
}
.paper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: var(--space-4) var(--space-5);
  border-bottom: 2px solid var(--primary);
  background: rgba(11, 110, 158, .05);
}
.paper-head strong { display: block; font-size: 1.02rem; color: var(--primary-2); }
.paper-head span { font-size: .82rem; color: var(--muted); }
.demo-badge {
  align-self: center;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7A5C12;
  background: rgba(245, 192, 90, .22);
  border: 1px solid rgba(245, 192, 90, .55);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.paper-body { padding: var(--space-2) 0; }
.paper-row {
  display: grid;
  grid-template-columns: 44px 200px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 9px var(--space-5);
  font-size: .9rem;
  border-bottom: 1px dashed rgba(11, 110, 158, .14);
}
.paper-row:last-child { border-bottom: 0; }
.paper-row-head { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom-style: solid; }
.paper-row > span:nth-child(2) { font-weight: 600; color: var(--primary-2); }
.paper-row > span:nth-child(3) { color: var(--muted); }
.paper-ok, .paper-warn, .paper-dt { font-family: inherit; text-align: center; font-size: .84rem; }
.paper-ok { color: #1E9E6A; font-weight: 700; }
.paper-warn { color: #B07B0E; font-weight: 700; }
.paper-dt { color: var(--muted); font-size: .78rem; }
.paper-foot {
  padding: var(--space-3) var(--space-5);
  background: rgba(11, 110, 158, .05);
  border-top: 1px solid rgba(11, 110, 158, .12);
  font-size: .84rem;
  color: var(--muted);
}
@media (max-width: 639px) {
  .paper-row { grid-template-columns: 30px 1fr; }
  .paper-row > span:nth-child(3) { grid-column: 2; }
}

/* Mini-Infrastrukturkette in den Beispiel-Karten */
.mini-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: var(--space-3) 0 var(--space-4);
}
.mini-chain span {
  font-size: .72rem;
  color: var(--primary-2);
  background: rgba(11, 110, 158, .07);
  border: 1px solid rgba(11, 110, 158, .22);
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}
.mini-chain span + span { margin-left: 14px; position: relative; }
.mini-chain span + span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(11, 110, 158, .45);
}

/* Zitat-Karten (vorbereitet fuer echte, freigegebene Testimonials) */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  margin: 0;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(11, 110, 158, .16);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.quote-card blockquote { margin: 0 0 var(--space-3); font-size: .98rem; line-height: 1.65; color: var(--text); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.quote-logo { display: block; height: 34px; width: auto; margin-bottom: var(--space-4); }
.quote-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(11, 110, 158, .22);
  flex-shrink: 0;
}
.quote-who { min-width: 0; }
/* Kennzeichnung der Demo-Zitate (entfernen, sobald echte Stimmen eingesetzt sind) */
.quote-demo {
  display: block;
  margin-top: 4px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9A7B23;
}
.section-head h2 .demo-badge { vertical-align: middle; margin-left: 10px; }
#stimmen .portal-shots-grid { margin-top: var(--space-6); }

/* Teaser-Link unter dem Services-Grid der Startseite */
.section-more { text-align: center; margin-top: var(--space-6); }

@media (prefers-reduced-motion: reduce) {
  .doku-pane { transition: none; }
}

/* Preisrechner: Inklusiv-/Exklusiv-Uebersicht */
.calc-inklusive {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(127, 192, 234, .18);
}
@media (min-width: 760px) { .calc-inklusive { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.calc-inklusive h4 {
  margin: 0 0 6px;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dark-accent);
}
.calc-inklusive p { margin: 0; font-size: .88rem; line-height: 1.65; color: rgba(234, 244, 251, .78); }

/* ============ Leistungsumfang-Seite ============ */
.lu-two { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 900px) { .lu-two { grid-template-columns: 1fr 1fr; align-items: start; } }
.lu-subhead { font-size: 1.05rem; margin: 0 0 var(--space-4); color: var(--primary-2); }
.fw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fw-list li {
  position: relative;
  padding: 10px 14px 10px 38px;
  background: #fff;
  border: 1px solid rgba(11, 110, 158, .14);
  border-radius: 10px;
  font-size: .92rem;
}
.fw-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1E9E6A;
  font-weight: 700;
}
.fw-rules {
  background: #fff;
  border: 1px solid rgba(11, 110, 158, .14);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.fw-rules p { margin: 0 0 var(--space-3); font-size: .92rem; line-height: 1.7; }
.fw-rules p:last-child { margin-bottom: 0; }
.lu-price {
  font-family: inherit;
  font-weight: 700;
  color: var(--primary-2);
  margin: -4px 0 8px;
  font-size: .95rem;
}
/* Virenschutz-Schichten */
.av-wrap { display: grid; gap: var(--space-6); margin-top: var(--space-6); align-items: center; }
@media (min-width: 900px) { .av-wrap { grid-template-columns: 300px 1fr; align-items: start; } }
.av-shield { width: min(260px, 60vw); margin: 0 auto; display: block; }
@media (min-width: 900px) { .av-shield { position: sticky; top: 110px; width: 100%; } }
.av-grid {
  list-style: none;
  counter-reset: av;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) { .av-grid { grid-template-columns: 1fr 1fr; } }
.av-item {
  counter-increment: av;
  position: relative;
  background: rgba(127, 192, 234, .07);
  border: 1px solid rgba(127, 192, 234, .22);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 46px;
}
.av-item::before {
  content: counter(av, decimal-leading-zero);
  position: absolute;
  left: 13px;
  top: 14px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--dark-accent);
  opacity: .85;
}
.av-item strong { display: block; color: #EAF4FB; font-size: .93rem; margin-bottom: 3px; }
.av-item span { font-size: .85rem; color: rgba(234, 244, 251, .72); line-height: 1.55; }
/* Modell-Chart */
.lu-two-chart { align-items: center; }
.modell-chart { margin: 0; }
.modell-chart svg {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(11, 110, 158, .14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}
.modell-chart figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); }
/* Link unter der Inklusiv-Box im Preisrechner */
.calc-detail-link { margin: var(--space-4) 0 0; font-size: .88rem; }
.calc-detail-link a { color: var(--dark-accent); }

/* Leistungsumfang: Browser-Zusatzblock + optional-Zustand in der Matrix */
.av-extra { margin-top: var(--space-6); }
.av-extra .lu-subhead { color: var(--dark-accent); }
.av-grid-extra { grid-template-columns: 1fr; }
@media (min-width: 720px) { .av-grid-extra { grid-template-columns: repeat(3, 1fr); } }
.av-item-plus::before { content: "+"; font-size: .95rem; top: 11px; }
.zust-table .zust-opt {
  color: #8A6A1C;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(245, 192, 90, .12);
}

/* Firewall-Stufen: zweispaltig */
.fw-stufen { margin-bottom: var(--space-2); }
@media (min-width: 720px) { .fw-stufen { grid-template-columns: repeat(2, 1fr); } }

/* ============ IT-Sicherheitskonzept-Generator ============ */
:root {
  --sk-gruen: #1E9E6A;
  --sk-gelb: #D99A1B;
  --sk-rot: #E05252;
}
.sk-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-4) 0 var(--space-2); }
.sk-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-2);
  background: rgba(11, 110, 158, .07);
  border: 1px solid rgba(11, 110, 158, .2);
  border-radius: 999px;
  padding: 7px 14px;
}
.sk-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; }
/* Blockleiste */
.sk-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.sk-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: .74rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 110, 158, .25);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.sk-chip span { font-weight: 700; color: var(--primary); }
.sk-chip:hover { border-color: var(--primary); }
.sk-chip.is-current { border-color: var(--primary); background: var(--primary-soft, rgba(11,110,158,.08)); color: var(--primary-2); box-shadow: 0 0 0 2px rgba(11, 110, 158, .12); }
.sk-chip.is-teil { border-style: dashed; }
.sk-chip.is-done.sk-gruen { border-color: var(--sk-gruen); }
.sk-chip.is-done.sk-gruen span { color: var(--sk-gruen); }
.sk-chip.is-done.sk-gelb { border-color: var(--sk-gelb); }
.sk-chip.is-done.sk-gelb span { color: var(--sk-gelb); }
.sk-chip.is-done.sk-rot { border-color: var(--sk-rot); }
.sk-chip.is-done.sk-rot span { color: var(--sk-rot); }
.sk-chip.is-na { opacity: .55; text-decoration: line-through; }
/* Layout */
.sk-wrap { display: grid; gap: var(--space-5); margin-top: var(--space-4); align-items: start; }
@media (min-width: 1000px) { .sk-wrap { grid-template-columns: minmax(0, 1fr) 300px; } }
.sk-card {
  background: #fff;
  border: 1px solid rgba(11, 110, 158, .16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}
.sk-block-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.15rem; color: var(--primary-2); }
.sk-nr {
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(11, 110, 158, .08);
  border: 1px solid rgba(11, 110, 158, .25);
  border-radius: 7px;
  padding: 3px 8px;
}
.sk-block-intro { margin: 0 0 var(--space-4); color: var(--muted); font-size: .92rem; }
/* Fragen */
.sk-frage { padding: var(--space-4) 0; border-top: 1px dashed rgba(11, 110, 158, .18); }
.sk-frage:first-of-type { border-top: 0; }
.sk-frage-text { margin: 0 0 8px; font-weight: 600; color: var(--text); font-size: .96rem; }
.sk-frage-text em { font-style: normal; font-size: .72rem; color: var(--muted); margin-right: 8px; }
.sk-hilfe {
  margin: 0 0 12px;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--muted);
  background: rgba(245, 192, 90, .1);
  border-left: 3px solid rgba(245, 192, 90, .8);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
}
.sk-hilfe strong { color: #8A6A1C; }
.sk-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.sk-opt {
  font-family: inherit;
  font-size: .8rem;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(11, 110, 158, .3);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.sk-opt:hover { border-color: var(--primary); transform: translateY(-1px); }
.sk-opt.is-active { font-weight: 700; }
.sk-opt-ja.is-active { background: var(--sk-gruen); border-color: var(--sk-gruen); color: #fff; }
.sk-opt-teil.is-active, .sk-opt-plan.is-active { background: var(--sk-gelb); border-color: var(--sk-gelb); color: #fff; }
.sk-opt-nein.is-active { background: var(--sk-rot); border-color: var(--sk-rot); color: #fff; }
.sk-opt-na.is-active { background: var(--muted); border-color: var(--muted); color: #fff; }
.sk-opt-unklar.is-active { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }
.sk-frage.is-beantwortet .sk-frage-text::after { content: " ✓"; color: var(--sk-gruen); }
.sk-na-hinweis { margin: var(--space-3) 0 0; color: var(--sk-gruen); font-size: .9rem; font-weight: 600; }
.sk-card-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid rgba(11, 110, 158, .14); }
.sk-card-foot > :only-child { margin-left: auto; }
.sk-btn-sm { padding: 10px 18px; font-size: .88rem; }
/* Stammdaten */
.sk-stamm-grid { display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .sk-stamm-grid { grid-template-columns: 1fr 1fr; } }
.sk-feld { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--primary-2); }
.sk-feld input, .sk-feld select {
  font-family: inherit;
  font-size: .92rem;
  padding: 10px 12px;
  border: 1px solid rgba(11, 110, 158, .3);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
}
.sk-feld input:focus, .sk-feld select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
/* Live-Panel */
.sk-live {
  background: var(--dark-bg);
  color: #EAF4FB;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: 0 18px 44px rgba(3, 22, 36, .35);
}
@media (min-width: 1000px) { .sk-live { position: sticky; top: 96px; } }
.sk-live h3 { margin: 0 0 var(--space-3); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-accent); }
.sk-ring-wrap { position: relative; width: 128px; margin: 0 auto; }
.sk-ring { width: 128px; height: 128px; transform: rotate(-90deg); }
.sk-ring-bg { fill: none; stroke: rgba(127, 192, 234, .18); stroke-width: 10; }
.sk-ring-val { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .6s ease, stroke .6s ease; }
.sk-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sk-ring-text strong { font-size: 1.5rem; }
.sk-ring-text span { font-size: .68rem; color: rgba(234, 244, 251, .65); letter-spacing: .05em; text-transform: uppercase; }
.sk-live-progress { margin: var(--space-3) 0; font-size: .8rem; color: rgba(234, 244, 251, .7); text-align: center; }
.sk-live-dots { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: var(--space-3); }
.sk-dot { width: 13px; height: 13px; border-radius: 4px; border: 1px solid rgba(127, 192, 234, .35); background: transparent; cursor: pointer; padding: 0; transition: transform .15s ease, background .3s ease; }
.sk-dot:hover { transform: scale(1.25); }
.sk-dot.is-current { outline: 2px solid var(--dark-accent); outline-offset: 1px; }
.sk-dot-gruen { background: #3DDC97; border-color: #3DDC97; }
.sk-dot-gelb { background: #F5C05A; border-color: #F5C05A; }
.sk-dot-rot { background: #F26D6D; border-color: #F26D6D; }
.sk-dot-teil { background: rgba(127, 192, 234, .4); }
.sk-dot-na { background: rgba(127, 192, 234, .12); border-style: dashed; }
.sk-live-gaps { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.sk-gapchip { font-size: .72rem; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(127, 192, 234, .3); color: rgba(234, 244, 251, .75); }
.sk-gapchip strong { font-size: .85rem; }
.sk-gap1.has { border-color: #F26D6D; color: #F26D6D; animation: skPulse 1.6s ease infinite; }
.sk-gap2.has { border-color: #F5C05A; color: #F5C05A; }
.sk-gap3.has { border-color: var(--dark-accent); color: var(--dark-accent); }
@keyframes skPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 109, 109, .35); } 50% { box-shadow: 0 0 0 5px rgba(242, 109, 109, 0); } }
.sk-live-warn { margin: var(--space-3) 0 0; font-size: .8rem; color: #F8B4B4; line-height: 1.5; }
.sk-live-ok { margin: var(--space-3) 0 0; font-size: .8rem; color: #3DDC97; }
.sk-live-note { margin: var(--space-3) 0 0; font-size: .72rem; color: rgba(234, 244, 251, .5); }
/* Ergebnis */
.sk-ergebnis { margin-top: var(--space-6); display: grid; gap: var(--space-5); }
.sk-erg-locked { text-align: center; }
.sk-lockbar { height: 8px; border-radius: 999px; background: rgba(11, 110, 158, .12); overflow: hidden; margin: var(--space-3) auto; max-width: 420px; }
.sk-lockbar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s ease; }
.sk-bars { display: grid; gap: 9px; }
.sk-bar-row { display: grid; grid-template-columns: minmax(140px, 240px) 1fr 48px; gap: 10px; align-items: center; font-size: .8rem; }
.sk-bar-label { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-bar { height: 12px; border-radius: 999px; background: rgba(11, 110, 158, .1); overflow: hidden; position: relative; }
.sk-bar-fill { display: block; height: 100%; border-radius: 999px; transition: width .7s ease; }
.sk-bar-fill.sk-gruen { background: var(--sk-gruen); }
.sk-bar-fill.sk-gelb { background: var(--sk-gelb); }
.sk-bar-fill.sk-rot { background: var(--sk-rot); }
.sk-bar-na { font-size: .68rem; color: var(--muted); padding-left: 8px; line-height: 12px; }
.sk-bar-pct { font-weight: 700; color: var(--primary-2); text-align: right; }
.sk-gap-h { margin: var(--space-5) 0 var(--space-3); font-size: .95rem; }
.sk-gap-h1 { color: var(--sk-rot); }
.sk-gap-h2 { color: #8A6A1C; }
.sk-gapcard { border: 1px solid rgba(11, 110, 158, .16); border-left-width: 4px; border-radius: 10px; padding: var(--space-3) var(--space-4); margin-bottom: 10px; }
.sk-gapcard.sk-prio1 { border-left-color: var(--sk-rot); background: rgba(224, 82, 82, .04); }
.sk-gapcard.sk-prio2 { border-left-color: var(--sk-gelb); background: rgba(217, 154, 27, .04); }
.sk-gapcard.sk-prio3 { border-left-color: rgba(11, 110, 158, .4); }
.sk-gapcard-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.sk-prio-badge { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; color: #fff; background: var(--sk-rot); }
.sk-prio2 .sk-prio-badge { background: var(--sk-gelb); }
.sk-prio3 .sk-prio-badge { background: rgba(11, 110, 158, .6); }
.sk-unklar { font-size: .7rem; color: var(--primary-2); background: rgba(11, 110, 158, .08); border-radius: 6px; padding: 2px 8px; }
.sk-gapcard p { margin: 0 0 8px; font-size: .87rem; color: var(--muted); }
.sk-gapcard-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: .74rem; }
.sk-aufwand { color: var(--primary-2); font-weight: 600; }
.sk-gapblock { color: var(--muted); }
.sk-laufend { margin: 0; padding-left: 20px; font-size: .87rem; color: var(--muted); }
.sk-laufend li { margin-bottom: 5px; }
.sk-actions .sk-action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-3); }
.sk-action-row-sub .btn-ghost { border: 1px dashed rgba(11, 110, 158, .35); color: var(--primary-2); display: inline-flex; }
.sk-import input { display: none; }
.sk-steps .sk-step-num { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; align-items: center; justify-content: center; font-size: .8rem; margin-right: 9px; }
/* Druckdokument */
/* Das Konzeptdokument wird in einem eigenen Fenster gerendert und gedruckt
   (doPrint in skonzept.js, Stile dort in PRINT_CSS) - die frueheren
   sk-printing-Regeln auf der Generator-Seite sind damit entfallen. */
@media (prefers-reduced-motion: reduce) {
  .sk-ring-val, .sk-bar-fill, .sk-lockbar span, .sk-opt, .sk-dot { transition: none; }
  .sk-gap1.has { animation: none; }
}

/* Generator: Werkzeugleiste Sichern/Laden/Loeschen */
.sk-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px dashed rgba(11, 110, 158, .3);
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: var(--space-3);
}
.sk-tools-status { font-size: .78rem; color: var(--muted); }
.sk-tools-restored { color: var(--sk-gruen); }
.sk-tools-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.sk-toolbtn {
  font-family: inherit;
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(11, 110, 158, .35);
  background: #fff;
  color: var(--primary-2);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.sk-toolbtn:hover { border-color: var(--primary); background: rgba(11, 110, 158, .05); }
.sk-toolbtn-danger { color: #A33; border-color: rgba(200, 60, 60, .4); }
.sk-toolbtn-danger:hover { border-color: #C33; background: rgba(200, 60, 60, .05); }
.sk-toolbtn input { display: none; }

/* Doku-Tab: scrollbarer PDF-Viewer (vorgerenderte Seiten) */
.paper-pdf .paper-head { border-bottom-width: 1px; }
.pdfview {
  position: relative;
  height: 480px;
  overflow-y: auto;
  background: #E8EEF3;
  padding: 14px;
  display: grid;
  gap: 14px;
  scroll-behavior: smooth;
}
.pdfview img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(3, 22, 36, .18);
}
.pdfview:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.pdfview-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pdfview-bar > span:nth-child(2) { flex: 1 1 240px; }
.pdfview-page {
  font-weight: 700;
  color: var(--primary-2);
  background: rgba(11, 110, 158, .08);
  border-radius: 7px;
  padding: 3px 10px;
  white-space: nowrap;
}
.pdfview-bar a { font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pdfview { scroll-behavior: auto; } }

/* ---------- 404-Seite ---------- */
.nf-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 34px;
  align-items: start;
}
/* Eigenständige Terminal-Karte im Stil der Hero-Konsole (statisch positioniert) */
.nf-terminal {
  position: relative;
  background: rgba(8, 28, 46, .97);
  border: 1px solid rgba(127, 192, 234, .35);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(4, 18, 31, .35), 0 0 30px rgba(245, 192, 90, .12);
  overflow: hidden;
}
.nf-terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(213, 230, 242, .55) 0 1px, transparent 1px 3px);
  opacity: .04;
}
/* Fenster-Punkte: global dimensioniert (gilt auch fuer die Hero-Konsole) */
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.nf-terminal .terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(127, 192, 234, .08);
  border-bottom: 1px solid rgba(127, 192, 234, .18);
}
/* Status-Chip in Warnfarbe: hier ist wirklich etwas nicht gefunden worden */
.nf-terminal .terminal-status { color: #F5C05A; }
.nf-terminal .terminal-status .pulse-dot { background: #F5C05A; }
.nf-terminal .terminal-status .pulse-dot::after { border-color: rgba(245, 192, 90, .5); }
.nf-terminal .terminal-body {
  height: auto;
  min-height: 138px;
  justify-content: flex-start;
  padding: 14px 16px;
}
/* Angeforderte Adressen können lang und ohne Leerzeichen sein */
.nf-terminal .tl-text { overflow-wrap: anywhere; }
.nf-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.nf-links-title { font-size: 1.05rem; margin: 2px 0 14px; color: var(--primary-2); }
.nf-links { display: grid; gap: 10px; }
.nf-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.nf-link:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.nf-link strong { color: var(--primary-2); font-size: .95rem; }
.nf-link small { color: var(--muted); font-size: .8rem; }
@media (max-width: 859px) {
  /* minmax(0,…) statt 1fr: die nowrap-Promptzeile darf dem Grid-Item
     keine Mindestbreite aufzwingen (sie clippt stattdessen). */
  .nf-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-link:hover { transform: none; }
}

/* ---------- Schutzschichten: aufklappbare Erklaer-Animationen ----------
   Jede animierte Schicht ist ein Akkordeon (av-toggle + av-panel) mit
   einer SVG-Szene. Gemeinsames Vokabular: .box/.boxsoft (Knoten),
   .lbl/.sub (Beschriftung), .go (erscheint per is-on), .puls (wandernder
   Punkt, Ziel via --dx/--dy), .beamv/.beamh (Scan-Balken), ok/warn/bad-
   Farben. Gesteuert von schichtPlayer() in main.js. */
.av-anim { padding: 0; overflow: hidden; }
/* Geoeffnete Szene spannt ueber die volle Rasterbreite - die Animation
   bekommt so doppelte Breite und bleibt gut lesbar */
.av-anim.is-open { grid-column: 1 / -1; }
/* Varianten fuer Szenen ausserhalb des nummerierten Schutzschichten-Grids:
   av-nonum = ohne Zaehler, av-light = helle Kachel fuer helle Sektionen,
   av-grid-one = einspaltiger Grid-Wrapper, av-solo = frei stehende Karte */
.av-nonum::before { display: none; }
.av-nonum .av-toggle { padding-left: 14px; }
.av-grid-one { grid-template-columns: 1fr !important; max-width: 880px; margin: 22px auto 0; }
.av-solo { margin: 22px auto 0; max-width: 880px; }
.av-light { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.av-light .av-toggle:hover, .av-light.is-open .av-toggle { background: var(--primary-soft); }
.av-light .av-toggle strong { color: var(--primary-2); }
.av-light .av-toggle > span:not(.av-chip) { color: var(--muted); }
.av-light .av-chip { color: var(--primary); border-color: rgba(11, 110, 158, .4); }
.av-light .av-toggle:hover .av-chip, .av-light.is-open .av-chip { background: var(--primary); color: #fff; }
.av-light .sc-status { color: var(--text-2); }
.av-light .sc-replay { color: var(--primary); border-color: rgba(11, 110, 158, .4); }
.av-light .sc-replay:hover { background: var(--primary); color: #fff; }
.av-anim.is-open .av-panel .sc-stage { max-width: 720px; margin: 0 auto; }
.av-anim.is-open .sc-bar { max-width: 720px; margin-left: auto; margin-right: auto; margin-top: 9px; }
.av-anim::before { top: 15px; }
.av-toggle {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 12px 14px 12px 46px;
  position: relative;
}
.av-toggle:hover { background: rgba(127, 192, 234, .06); }
.av-toggle strong { display: block; }
.av-toggle > span:not(.av-chip) { display: block; }
/* Breite Kacheln: Chip oben rechts, Titel UND Beschreibung halten
   Abstand (Betreiber-Feedback: Chip sass auf dem Text auf) */
@media (min-width: 900px) {
  .av-toggle { padding-right: 128px; }
}
/* Schmale Kacheln: Chip rutscht als eigene Zeile unter den Text.
   Spezifitaet .av-toggle .av-chip noetig - die Basisregel .av-chip
   (position:absolute) steht spaeter im Stylesheet. */
@media (max-width: 899px) {
  .av-toggle .av-chip { position: static; display: inline-flex; margin-top: 9px; }
}
.av-chip {
  position: absolute;
  top: 13px;
  right: 12px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dark-accent);
  border: 1px solid rgba(127, 192, 234, .45);
  border-radius: 99px;
  padding: 3px 9px;
  white-space: nowrap;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.av-toggle:hover .av-chip, .av-anim.is-open .av-chip { background: var(--dark-accent); color: #0E2437; }
.av-anim.is-open .av-toggle { background: rgba(127, 192, 234, .05); }
.av-panel { padding: 2px 14px 14px; }
.av-panel[hidden] { display: none; }
.av-anim.is-open .av-panel { animation: avPanelIn .4s var(--ease-out); }
@keyframes avPanelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.sc-stage {
  background:
    linear-gradient(rgba(127, 192, 234, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 192, 234, .06) 1px, transparent 1px),
    linear-gradient(160deg, #0E2437 0%, #10293D 60%, #0C3350 100%);
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(127, 192, 234, .28);
  border-radius: var(--radius-sm);
  padding: 8px;
}
.sc { display: block; width: 100%; height: auto; }
.sc text { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.sc .box { fill: #14304A; stroke: #3E6E96; stroke-width: 1.5; }
.sc .boxsoft { fill: rgba(127, 192, 234, .08); stroke: rgba(127, 192, 234, .32); stroke-width: 1.2; }
.sc .bar { fill: rgba(127, 192, 234, .14); stroke: none; }
.sc .port { fill: #0E2437; stroke: #3E6E96; stroke-width: 1.3; }
.sc .dot1 { fill: #F2B8B5; } .sc .dot2 { fill: #F5D999; } .sc .dot3 { fill: #B7DFC5; }
.sc .lbl { fill: #E8F1F8; font-weight: 600; }
.sc .sub { fill: #8FB8D4; font-size: 9.5px; }
.sc .line { stroke: #3E6E96; stroke-width: 1.6; }
.sc .dim { opacity: .55; }
.sc .dimline { opacity: .3; }
.sc .docline { stroke: #9DB6C8; stroke-width: 2; opacity: .55; }
.sc .chiptext { fill: #12293D; font-size: 9px; font-weight: 600; }
.sc .chiplight { fill: #D5E6F2; font-size: 9.5px; }
.sc .logtext { fill: #D5E6F2; font-size: 10px; }
.sc .btntext { fill: #fff; font-size: 10.5px; font-weight: 600; }
.sc .oktext { fill: #3DDC97; font-size: 9.5px; font-weight: 600; }
.sc .warntext { fill: #F5C05A; font-size: 9.5px; font-weight: 600; }
.sc .badtext { fill: #F26D6D; font-weight: 600; }
.sc .stoptext { fill: #F26D6D; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.sc .shield { fill: rgba(127, 192, 234, .10); stroke: #5FA8D6; stroke-width: 2; }
.sc .shield-hot { stroke: #7FC0EA; fill: rgba(127, 192, 234, .16); }
.sc .okmark { fill: none; stroke: #3DDC97; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc .xmark { stroke: #F26D6D; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.sc .badline { stroke: #F26D6D; stroke-width: 1.8; stroke-dasharray: 6 5; }
.sc .pbarbg { fill: rgba(127, 192, 234, .18); }
.sc .pbar { fill: #7FC0EA; }
.sc .pbar.is-on { animation: scFill 1.3s var(--ease-out) forwards; }
@keyframes scFill { to { width: 200px; } }

/* Erscheinen + Bewegung */
.sc .go { opacity: 0; transition: opacity .5s var(--ease-out); }
.sc .go.is-on { opacity: 1; }
.sc .puls { fill: #7FC0EA; opacity: 0; }
.sc .pulsok { fill: #3DDC97; }
.sc .pulsbad { fill: #F26D6D; }
.sc .puls.is-on { opacity: 1; animation: scMove 1.7s linear infinite; }
@keyframes scMove { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 100px), var(--dy, 0px)); } }
.sc .beamv { fill: #7FC0EA; opacity: .85; animation: scSweepY 1.4s ease-in-out infinite alternate; }
@keyframes scSweepY { from { transform: translateY(0); } to { transform: translateY(var(--dy, 80px)); } }
.sc .beamh { fill: #7FC0EA; opacity: .85; animation: scSweepX 2.1s ease-in-out infinite alternate; }
@keyframes scSweepX { from { transform: translateX(0); } to { transform: translateX(var(--dx, 500px)); } }

.sc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}
/* Statuszeile als hervorgehobenes Erzaehl-Panel: getoent, Akzentkante
   links, blitzt bei jedem Schrittwechsel kurz auf (is-neu via JS). */
.sc-status {
  flex: 1;
  margin: 0;
  font-size: .78rem;
  line-height: 1.55;
  color: #D5E6F2;
  background: rgba(127, 192, 234, .10);
  border: 1px solid rgba(127, 192, 234, .28);
  border-left: 3px solid var(--dark-accent);
  border-radius: 9px;
  padding: 9px 13px;
  min-height: 3.1em;
}
.av-light .sc-status {
  background: var(--primary-soft);
  border-color: rgba(11, 110, 158, .22);
  border-left: 3px solid var(--primary);
  color: var(--text-2);
}
.sc-status.is-neu { animation: scStatusNeu .55s var(--ease-out); }
@keyframes scStatusNeu {
  0% { opacity: .25; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}
.sc-replay {
  background: none;
  border: 1px solid rgba(127, 192, 234, .4);
  color: var(--dark-accent);
  border-radius: 99px;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 11px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.sc-replay:hover { background: var(--dark-accent); color: #0E2437; }
@media (prefers-reduced-motion: reduce) {
  .sc .puls.is-on, .sc .beamv, .sc .beamh, .sc .pbar.is-on { animation: none; }
  .sc .pbar.is-on { width: 200px; }
  .sc .go { transition: none; }
  .av-anim.is-open .av-panel { animation: none; }
}

/* ---------- Generator: Blockwechsel-Kaskade ----------
   Beim Wechsel auf einen neuen Frageblock blenden Titel, Intro und
   Fragen nacheinander ein (Delays setzt renderStage in skonzept.js).
   Macht unmissverstaendlich sichtbar, dass neue Fragen geladen wurden. */
@keyframes skStageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.sk-card.sk-enter > * { animation: skStageIn .42s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  .sk-card.sk-enter > * { animation: none; }
}

/* ---------- Nav: hervorgehobener Eintrag IT-Sicherheitskonzept ----------
   Das kostenlose Werkzeug soll im Ratgeber-Menue sofort ins Auge fallen:
   getoente Karte mit Akzentrahmen, Titel in Primaerfarbe. */
.main-nav .nav-drop a.nav-drop-featured {
  background: linear-gradient(135deg, var(--primary-soft), rgba(63, 169, 220, .10));
  border: 1px solid rgba(11, 110, 158, .22);
}
.main-nav .nav-drop a.nav-drop-featured .nav-drop-title { color: var(--primary); }
.main-nav .nav-drop a.nav-drop-featured:hover { background: var(--primary-soft); }
.mobile-nav-panel nav a.mobile-nav-featured {
  background: linear-gradient(135deg, var(--primary-soft), rgba(63, 169, 220, .10));
  border: 1px solid rgba(11, 110, 158, .22);
  border-radius: 9px;
  color: var(--primary);
  font-weight: 600;
}

/* Hinweis unter dem Ordinations-Check: fuehrt zum kostenlosen Generator
   (gleiche Toenung wie der hervorgehobene Menuepunkt = ein Werkzeug) */
.check-sk-note {
  margin: 22px auto 0;
  max-width: 860px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(63, 169, 220, .10));
  border: 1px solid rgba(11, 110, 158, .22);
}

/* ---------- Generator: Werkzeugflaeche vom Seitenhintergrund abheben ----------
   Getoentes Blueprint-Panel um Werkzeugleiste, Blocknavigation, Fragen,
   Live-Analyse und Auswertung - so ist klar erkennbar, welche Bedien-
   elemente zum Generator gehoeren. */
[data-skonzept] {
  background-color: #EEF5F9;
  background-image:
    linear-gradient(180deg, rgba(238, 245, 249, .55), rgba(247, 251, 253, .92)),
    linear-gradient(rgba(11, 110, 158, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 158, .06) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  border: 1px solid rgba(11, 110, 158, .18);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2.4vw, 26px);
}

/* "Ihre Dokumente" als dunkle Blueprint-Karte: hebt die Dokument-Aktionen
   klar von Auswertung und Massnahmenplan ab (Betreiber-Wunsch). Der frueher
   unlesbare E-Mail-Hinweis (helles rgba auf weisser Karte) ist damit
   auf dunklem Grund wieder lesbar. */
.sk-card.sk-actions {
  background-color: var(--dark-bg);
  background-image:
    radial-gradient(ellipse at 85% 0%, rgba(127, 192, 234, .14), transparent 55%),
    linear-gradient(rgba(127, 192, 234, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 192, 234, .07) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  border: 1px solid rgba(127, 192, 234, .38);
}
.sk-actions h3 { color: var(--dark-text); }
.sk-actions > p { color: rgba(242, 247, 251, .88); }
.sk-actions .sk-live-note { color: rgba(242, 247, 251, .62); }
.sk-actions .btn-secondary {
  background: transparent;
  border-color: rgba(127, 192, 234, .55);
  color: #CFE7F6;
}
.sk-actions .btn-secondary:hover {
  background: rgba(127, 192, 234, .14);
  border-color: rgba(127, 192, 234, .85);
  color: #fff;
}
.sk-actions .btn-ghost { color: #A9CFE7; border: 1px solid rgba(127, 192, 234, .32); }
.sk-actions .btn-ghost:hover { background: rgba(127, 192, 234, .12); color: #fff; }

/* Generator-Teaser in Sektion 04: dunkle Pille, klar abgesetzt von den
   weissen Pflicht-Pillen darunter (deshalb auch der groessere Abstand) */
.btn-sk-dark {
  background: var(--primary-2);
  color: var(--dark-text);
  border: 1px solid rgba(0, 57, 80, .85);
  box-shadow: 0 10px 24px rgba(0, 57, 80, .24);
}
.btn-sk-dark:hover { background: #0B4A66; color: #fff; }
.section-more-sk { margin-bottom: 42px; }

/* IT-Services-Dropdown: Praxisform-Ziele als eigener, bewusst anders
   gestalteter Abschnitt (kompakte getoente Kacheln im Zweierraster,
   klar unterscheidbar von den grossen Eintraegen darueber) */
.nav-drop-label {
  display: block;
  margin: 10px 12px 7px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-drop-ziel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 12px 12px;
}
.nav-drop-ziel a {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--primary-soft);
  border: 1px solid rgba(11, 110, 158, .22);
  font-size: .84rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--primary-2);
}
.nav-drop-ziel a:hover { background: #D3E8F4; border-color: rgba(11, 110, 158, .42); }
.nav-drop-ziel a.is-current { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }

/* Praxisform-Zielseiten: Konzept-Spalte + Beispielkonfiguration nebeneinander */
.zg-duo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: start;
}
.zg-konzept-text { max-width: 62ch; color: var(--muted); }
.zg-konzept-text strong { color: var(--primary-2); }
.zg-schaubild { margin-top: 18px; }
.zg-schaubild-hinweis { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.zg-duo .plan { position: sticky; top: 96px; }
.zg-region {
  margin: 34px auto 0;
  max-width: 860px;
  text-align: center;
  padding: 16px 18px;
  background: var(--primary-soft);
  border: 1px solid rgba(11, 110, 158, .22);
  border-radius: var(--radius-md);
}
@media (max-width: 940px) {
  .zg-duo { grid-template-columns: 1fr; }
  .zg-duo .plan { position: static; }
}
