@import url("fonts.css");

/* ==========================================================
   NETWERKPRO – Website v3
   Motiv: die Pixel-Punkte aus dem „N“ des Logos.
   Eine Bewegungskurve für alles: leicht über das Ziel hinaus und zurück.
   ========================================================== */
:root {
  --blue: #0d5099;
  --blue-2: #1a63b8;
  --blue-hover: #0a427f;
  --night: #0b2340;
  --night-2: #071a31;
  --graphite: #1e2329;
  --text-2: #3e4a58;
  --muted: #66727f;
  --paper: #f4f6f9;
  --white: #fff;
  --cyan: #36b3f5;
  --green: #3ccf7a;
  --amber: #f5b82e;
  --line: #e1e6ec;
  --line-2: #cbd4de;
  --danger: #c0392b;

  --spring: cubic-bezier(.2, .9, .25, 1.25);
  --out: cubic-bezier(.2, .8, .2, 1);
  --t: 420ms;
  --t-fast: 220ms;

  --wrap: 1240px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11, 35, 64, .06);
  --shadow-2: 0 18px 40px -18px rgba(11, 35, 64, .28), 0 2px 6px -2px rgba(11, 35, 64, .08);
  --px: 9px; /* Größe eines Logo-Pixels in der Typografie */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
.stage-card, .office-field { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--graphite); font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; color: var(--night); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* Der Punkt am Satzende ist ein Logo-Pixel */
.pdot { display: inline-block; width: .19em; height: .19em; margin-left: .06em; background: var(--blue); color: transparent; overflow: hidden; vertical-align: baseline; border-radius: 1px; line-height: 0; }
.section-dark .pdot { background: var(--cyan); }
.px-live { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 1px; flex: none; animation: px-blink 2.6s steps(1) infinite; }
@keyframes px-blink { 0%, 80% { opacity: 1; } 84%, 90% { opacity: .2; } 94% { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn { --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--h); padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--spring), background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease; }
.btn:active { transform: scale(.96); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-line { background: #fff; color: var(--night); border-color: var(--line-2); }
.btn-ghost { background: transparent; color: var(--night); }
.btn-signal { background: var(--amber); color: #2a1d00; }
.btn-white { background: #fff; color: var(--night); }
.btn-dark-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(.96); }
  .btn-primary:hover { background: var(--blue-hover); }
  .btn-line:hover { border-color: var(--night); }
  .btn-ghost:hover { background: var(--paper); }
  .btn-signal:hover { background: #ffc54a; }
  .btn-white:hover { background: #e8f2fc; }
  .btn-dark-line:hover { border-color: #fff; }
}
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Punktfeld (gemeinsame Basis aller Szenen) ---------- */
.field { position: relative; width: 100%; height: 100%; }
.dot { position: absolute; left: 0; top: 0; width: var(--s, 10px); height: var(--s, 10px); border-radius: 2px; background: var(--c, var(--blue)); opacity: 0;
  transform: translate3d(calc(var(--x, 0px) + var(--rx, 0px)), calc(var(--y, 0px) + var(--ry, 0px)), 0) scale(var(--k, .4));
  transition: transform 900ms var(--spring) var(--d, 0ms), opacity 350ms ease var(--d, 0ms), background-color 500ms ease var(--d, 0ms);
  will-change: transform; pointer-events: none; }
.dot.on { opacity: 1; --k: 1; }
.dot.dim { opacity: .35; }

/* ---------- Eröffnung (Vorhang) ---------- */
.curtain { display: none; }
.intro .curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: var(--night); cursor: pointer;
  transition: clip-path 900ms cubic-bezier(.7, 0, .2, 1), visibility 0s linear 900ms; clip-path: inset(0 0 0 0); }
.curtain.is-open { clip-path: inset(0 0 100% 0); visibility: hidden; }
.curtain-field { width: min(60vw, 320px); aspect-ratio: 20 / 16; }
.curtain-word { position: absolute; bottom: 18%; left: 0; right: 0; text-align: center; font: 600 13px "Inter", sans-serif; letter-spacing: .5em; color: #7f9ab8; opacity: 0; transform: translateY(10px); transition: opacity 500ms ease 700ms, transform 700ms var(--spring) 700ms; }
.curtain-word img { height: 22px; width: auto; display: inline-block; opacity: .9; }
.curtain.is-built .curtain-word { opacity: 1; transform: none; }
.intro body { overflow: hidden; }

/* ---------- Kopfzeile ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 300ms ease; }
.head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { width: 198px; height: auto; display: block; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 8px 12px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 8px; transition: color var(--t-fast) ease; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; background: var(--blue); border-radius: 1px; transform: scale(0); transition: transform var(--t) var(--spring); }
.nav a.is-active { color: var(--night); }
.nav a.is-active::after { transform: scale(1); }
@media (hover: hover) { .nav a:hover { color: var(--night); } }
.head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--paper); cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; transition: transform var(--t-fast) var(--spring); }
.burger:active { transform: scale(.92); }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--night); transition: transform var(--t) var(--spring); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 72px 0 0; z-index: 39; background: #fff; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a, .sheet-foot { opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 600ms var(--spring); transition-delay: calc(var(--i) * 40ms); }
.sheet.is-open nav a, .sheet.is-open .sheet-foot { opacity: 1; transform: none; }
.sheet nav a { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--night); text-decoration: none; font: 700 26px/1.1 "Poppins", sans-serif; letter-spacing: -.02em; }
.sheet nav a::before { content: ""; width: 8px; height: 8px; background: var(--blue); border-radius: 1px; }
.sheet-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }
.sheet-phone { text-align: center; color: var(--night); font-weight: 600; text-decoration: none; padding: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; background: linear-gradient(#fff 0%, var(--paper) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13, 80, 153, .14) 1.2px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 72%); -webkit-mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: min(640px, 72vh); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); margin-bottom: 26px; }
.hero-title { font-size: clamp(46px, 6.6vw, 96px); line-height: .96; letter-spacing: -.045em; font-weight: 700; max-width: 12.5ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform 900ms var(--spring); transition-delay: calc(var(--n) * 55ms + 80ms); }
.is-ready .hero-title .w > span { transform: none; }
.no-js .hero-title .w > span { transform: none; }
.hero-title .pdot { transform: scale(0); transition: transform 700ms var(--spring) 700ms; }
.is-ready .hero-title .pdot { transform: scale(1); }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 50ch; margin: 28px 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sub, .hero-cta, .hero-kicker { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 900ms var(--spring); }
.hero-kicker { transition-delay: 0ms; } .hero-sub { transition-delay: 380ms; } .hero-cta { transition-delay: 480ms; }
.is-ready .hero-sub, .is-ready .hero-cta, .is-ready .hero-kicker, .no-js .hero-sub, .no-js .hero-cta, .no-js .hero-kicker { opacity: 1; transform: none; }
.hero-visual { position: relative; }
.hero-field { width: 100%; aspect-ratio: 20 / 16; max-width: 520px; margin-left: auto; touch-action: pan-y; }
.hero-caption { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 24px 30px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 700 44px/1 "Poppins", sans-serif; letter-spacing: -.035em; color: var(--night); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.stats dd { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Abschnitte ---------- */
.section { padding: 120px 0; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--night); color: #c5d3e2; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(54, 179, 245, .18) 1.2px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 46ch; }

/* ---------- Leistungen: Sticky-Szene ---------- */
.services { padding: 120px 0 60px; }
.scene { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.scene-stage { position: sticky; top: 104px; }
.stage-card { background: var(--night); border-radius: var(--r-lg); padding: 18px 20px 16px; box-shadow: 0 40px 80px -36px rgba(7, 26, 49, .6); }
.stage-top { display: flex; justify-content: space-between; align-items: center; color: #9fb4ca; font-size: 13.5px; font-weight: 500; padding: 0 2px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stage-top [data-stage-label] { color: #fff; font: 600 15px "Poppins", sans-serif; }
.stage-count b { color: #fff; font-variant-numeric: tabular-nums; }
.stage-field { aspect-ratio: 28 / 19; margin: 16px 0 12px; }
.stage-status { display: flex; align-items: center; gap: 10px; color: #c5d3e2; font-size: 13.5px; padding: 10px 2px 0; border-top: 1px solid rgba(255, 255, 255, .08); min-height: 34px; }
.scene-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; padding: 10vh 0; opacity: .32; transition: opacity 500ms ease; }
.step:first-child { padding-top: 2vh; }
.step.is-active { opacity: 1; }
.step-no { display: inline-block; font: 600 13px "Inter", sans-serif; color: var(--blue); letter-spacing: .08em; margin-bottom: 14px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 4px; }
.step h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; }
.step p { color: var(--text-2); font-size: 18px; max-width: 42ch; }
.tags { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; padding: 5px 11px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--night); font-weight: 500; }
.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
.more span { transition: transform var(--t) var(--spring); }
@media (hover: hover) { .more:hover span { transform: translateX(5px); } }

/* ---------- Betreuung: Regler ---------- */
.office { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); margin-bottom: 28px; }
.office-panel { padding: 34px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.office-label { font-weight: 600; color: var(--night); font-size: 15px; }
.office-num { display: block; font: 700 96px/1 "Poppins", sans-serif; letter-spacing: -.05em; color: var(--blue); margin: 10px 0 18px; font-variant-numeric: tabular-nums; transition: transform 500ms var(--spring); }
.office-num.bump { transform: scale(1.06); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; margin: 0; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) var(--p, 14%), var(--line) var(--p, 14%)); }
.range::-moz-range-track { height: 8px; border-radius: 2px; background: var(--line); }
.range::-moz-range-progress { height: 8px; border-radius: 2px; background: var(--blue); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 6px; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 12px -2px rgba(13, 80, 153, .45); transition: transform 300ms var(--spring); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 6px; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 12px -2px rgba(13, 80, 153, .45); }
.range:active::-webkit-slider-thumb { transform: scale(1.15) rotate(45deg); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(54, 179, 245, .4); }
.range-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.office-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.office-list li { font-size: 14.5px; color: var(--text-2); }
.office-list b { display: block; font: 700 24px/1.1 "Poppins", sans-serif; color: var(--night); font-variant-numeric: tabular-nums; }
.office-note { margin: auto 0 0; padding-top: 20px; font-size: 13px; color: var(--muted); }
.office-field { background: var(--night); padding: 26px; aspect-ratio: auto; min-height: 380px; }
.office-field { display: flex; flex-direction: column; gap: 14px; }
.office-field .field { flex: 1; min-height: 300px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: #a9bccf; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; display: flex; flex-direction: column; transition: transform 600ms var(--spring), border-color 300ms ease, box-shadow 400ms ease; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); font-size: 15px; margin: 6px 0 20px; }
.plan .ticks { flex: 1; align-content: start; margin-bottom: 24px; }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 10px 5px 24px; border-radius: 6px; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity 250ms ease, transform 500ms var(--spring); }
.plan-flag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--green); border-radius: 1px; }
.plan.is-rec { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-2); transform: translateY(-8px); }
.plan.is-rec .plan-flag { opacity: 1; transform: none; }
.plan.is-rec .btn-line { background: var(--blue); color: #fff; border-color: var(--blue); }
.plans-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 26px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; background: var(--blue); border-radius: 1px; }

/* ---------- Ablauf: Datenpaket ---------- */
.route { position: relative; }
.route-line { position: absolute; left: 0; right: 0; top: 23px; height: 4px; background: var(--line); border-radius: 2px; }
.route-fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--blue); border-radius: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }
.packet { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--cyan); border-radius: 3px; box-shadow: 0 0 0 6px rgba(54, 179, 245, .2), 0 0 24px rgba(54, 179, 245, .7); transform: translateX(var(--x, 0)) rotate(calc(var(--p, 0) * 360deg)); }
.route-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.stop-node { display: block; width: 50px; height: 50px; border-radius: 8px; background: #fff; border: 2px solid var(--line-2); margin-bottom: 26px; position: relative; transition: transform 600ms var(--spring), border-color 300ms ease, background-color 300ms ease; }
.stop-node::after { content: ""; position: absolute; inset: 14px; background: var(--line-2); border-radius: 2px; transition: background-color 300ms ease, transform 600ms var(--spring); }
[data-stop].is-on .stop-node { border-color: var(--blue); transform: rotate(45deg) scale(.92); }
[data-stop].is-on .stop-node::after { background: var(--blue); transform: rotate(-45deg); }
[data-stop]:last-child.is-on .stop-node { background: var(--blue); }
[data-stop]:last-child.is-on .stop-node::after { background: var(--green); }
.stop-no { display: block; font: 600 13px "Inter"; color: var(--muted); letter-spacing: .08em; margin-bottom: 8px; transition: color 300ms ease; }
[data-stop].is-on .stop-no { color: var(--blue); }
.route-stops h3 { margin-bottom: 8px; }
.route-stops p { color: var(--muted); font-size: 16px; }

/* ---------- Support ---------- */
.support-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.support-lead { font-size: 18px; margin: 22px 0 32px; max-width: 50ch; }
.support-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.status-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); padding: 28px; backdrop-filter: blur(6px); }
.status-card h3 { margin-bottom: 6px; }
.status-card > p { font-size: 15px; color: #a9bccf; margin-bottom: 18px; }
.f.f-dark > span { color: #c5d3e2; }
.f.f-dark input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.f.f-dark input::placeholder { color: #7f97b2; }
.f.f-dark input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(54, 179, 245, .25); }
.section-dark .form-error { background: rgba(192, 57, 43, .2); border-color: rgba(255, 150, 140, .35); color: #ffd6d1; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p { color: var(--text-2); max-width: 56ch; }
.owner { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.owner-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: var(--blue); color: #fff; font: 700 17px "Poppins", sans-serif; }
.owner strong { display: block; color: var(--night); }
.owner span { color: var(--muted); font-size: 14.5px; }
.quotes { display: grid; gap: 16px; }
.quote { position: relative; margin: 0; padding: 30px 30px 26px 30px; background: var(--paper); border-radius: var(--r-lg); }
.quote::before { content: ""; position: absolute; left: 30px; top: -9px; width: 18px; height: 18px; background: var(--blue); border-radius: 3px; box-shadow: 24px 0 0 var(--cyan); }
.quote blockquote { margin: 0 0 18px; font: 500 19px/1.5 "Inter", sans-serif; color: var(--night); }
.quote figcaption { font-size: 14.5px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--graphite); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head p { color: var(--muted); font-size: 18px; margin: 18px 0 26px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 2px; cursor: pointer; font: 600 19px/1.35 "Poppins", sans-serif; color: var(--night); letter-spacing: -.01em; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: var(--blue); border-radius: 2px; transition: transform 600ms var(--spring), background-color 300ms ease; }
.faq details[open] summary::after { transform: rotate(45deg) scale(.8); background: var(--cyan); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--spring); }
.faq-a > p { overflow: hidden; margin: 0; color: var(--text-2); max-width: 62ch; }
.faq details[open] .faq-a { grid-template-rows: 1fr; padding-bottom: 22px; }
.faq details.is-opening .faq-a { grid-template-rows: 0fr; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--muted); font-size: 18px; max-width: 40ch; margin-bottom: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: border-color var(--t-fast) ease, transform var(--t) var(--spring); }
.contact-list a { display: flex; align-items: center; gap: 14px; flex: 1; color: var(--night); font-weight: 600; text-decoration: none; }
.contact-list li > span:last-child { color: var(--night); font-weight: 600; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.contact-list li:has(a):active { transform: scale(.98); }
@media (hover: hover) { .contact-list li:has(a):hover { border-color: var(--blue); transform: translateX(4px); } }
.ci { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #e7f0fa; color: var(--blue); flex: none; }
.ci svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-2); overflow: hidden; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 9px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); transition: transform 600ms var(--spring); }
.seg[data-active="support"] .seg-pill { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 11px; font: 600 15px "Inter", sans-serif; color: var(--muted); cursor: pointer; transition: color var(--t-fast) ease; -webkit-tap-highlight-color: transparent; }
.seg button[aria-selected="true"] { color: var(--night); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.f > span, .f legend { font-size: 14px; font-weight: 500; color: #34414f; padding: 0; }
.f legend { margin-bottom: 8px; }
.f em { color: var(--danger); font-style: normal; }
.f input, .f textarea { width: 100%; font: 16px/1.4 "Inter", sans-serif; color: var(--graphite); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.f textarea { resize: vertical; min-height: 120px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 80, 153, .13); }
.invalid { border-color: var(--danger) !important; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 500ms var(--spring); user-select: none; }
.choice span::before { content: ""; width: 0; height: 7px; background: currentColor; border-radius: 1px; transition: width 400ms var(--spring); }
.choice label:active span { transform: scale(.95); }
.choice input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.choice input:checked + span::before { width: 7px; background: var(--cyan); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.choice-prio .crit input:checked + span { background: var(--danger); border-color: var(--danger); }
.choice-prio .crit input:checked + span::before { background: #fff; }
@media (hover: hover) { .choice span:hover { border-color: var(--night); } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 18px; line-height: 1.5; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-error { background: #fdf0ef; color: #8a1c13; border: 1px solid #f1c4bf; border-radius: 10px; padding: 10px 14px; font-size: 15px; animation: nudge 500ms var(--spring); }
@keyframes nudge { 0% { transform: translateX(0); } 30% { transform: translateX(-6px); } 60% { transform: translateX(4px); } 100% { transform: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn .spin { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 3px; }
.btn .spin i { width: 5px; height: 5px; background: #fff; border-radius: 1px; animation: hop 700ms var(--spring) infinite; }
.btn .spin i:nth-child(2) { animation-delay: 100ms; } .btn .spin i:nth-child(3) { animation-delay: 200ms; }
@keyframes hop { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
form.is-sending { transition: opacity 300ms ease, filter 300ms ease, transform 500ms var(--spring); }
form.is-dissolving { opacity: 0; filter: blur(6px); transform: scale(.97); }
.done { text-align: left; }
.done-field { width: 120px; height: 96px; margin: 6px 0 10px; }
.done h3 { margin: 8px 0 8px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.done p { color: var(--muted); }
.done > h3, .done > p, .done > .btn { opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 700ms var(--spring); }
.done.is-shown > h3, .done.is-shown > p, .done.is-shown > .btn { opacity: 1; transform: none; }
.done.is-shown > h3 { transition-delay: 700ms; } .done.is-shown > p { transition-delay: 800ms; } .done.is-shown > .btn { transition-delay: 900ms; }

/* ---------- Fußzeile ---------- */
.foot { background: var(--night-2); color: #9fb3c8; padding: 72px 0 28px; font-size: 15px; }
.foot a { color: #dbe6f1; text-decoration: none; }
@media (hover: hover) { .foot a:hover { color: #fff; } }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot-brand img { width: 180px; height: auto; margin-bottom: 18px; display: block; }
.foot-brand p { max-width: 34ch; }
.foot h2 { color: #fff; font: 600 14px "Inter", sans-serif; letter-spacing: 0; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; flex-wrap: wrap; font-size: 14px; }
.foot-bottom nav { display: flex; gap: 22px; }

.dock { display: none; }

/* ---------- Dialog & Toast ---------- */
.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(440px, calc(100vw - 32px)); box-shadow: 0 40px 100px -20px rgba(7, 26, 49, .5); background: #fff; color: var(--graphite); }
.modal::backdrop { background: rgba(7, 26, 49, .5); backdrop-filter: blur(3px); }
.modal[open] { animation: pop 500ms var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.modal-body { position: relative; padding: 28px; }
.modal-body h3 { margin-bottom: 6px; font-size: 22px; }
.modal-body > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 8px; border: 0; background: var(--paper); font-size: 22px; line-height: 1; color: var(--night); cursor: pointer; transition: transform 400ms var(--spring); }
.modal-x:active { transform: scale(.9); }
.toasts { position: fixed; z-index: 160; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; background: var(--night); color: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 20px 40px -12px rgba(7, 26, 49, .5); font-size: 15px; line-height: 1.45; animation: toast-in 600ms var(--spring) both; }
.toast.is-out { animation: toast-out 220ms ease-in forwards; }
.toast > div { flex: 1; min-width: 0; }
.toast b { display: block; }
.toast div span { display: block; color: #c5d3e2; }
.toast .t-ic { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 2px; background: var(--green); }
.toast.err .t-ic { background: #ff8a7a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Rechtstexte ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -.04em; margin-bottom: 28px; }
.legal h2 { font-size: 22px; letter-spacing: -.015em; margin: 34px 0 10px; }
.legal p, .legal li { color: #34414f; }
.legal ul { padding-left: 20px; }

/* ==========================================================
   Responsiv
   ========================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .head-actions .btn-primary { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .hero-field { max-width: 380px; margin: 0 auto; }
  .hero-caption { justify-content: center; }
  .support-grid, .about, .faq-grid, .contact { grid-template-columns: 1fr; gap: 40px; }
  .office { grid-template-columns: 1fr; }
  .office-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .head-row { height: 64px; gap: 12px; }
  .sheet { inset: 64px 0 0; }
  .logo img { width: 156px; }
  .section { padding: 80px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec-head p { font-size: 17px; }
  .hero { padding-top: 32px; }
  .hero-sub { font-size: 17.5px; margin: 22px 0 26px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .stats > div { padding: 20px 14px 22px; border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .stats dt { font-size: 36px; }
  /* Szene: Bühne oben fixiert, Text läuft darunter */
  .services { padding: 80px 0 20px; }
  .scene { grid-template-columns: 1fr; gap: 0; }
  .scene-stage { top: 64px; z-index: 2; padding: 10px 0 12px; background: linear-gradient(#fff 88%, rgba(255, 255, 255, 0)); margin: 0 -20px; padding-inline: 20px; }
  .stage-card { padding: 12px 14px 10px; border-radius: 16px; }
  .stage-field { margin: 10px 0 6px; }
  .stage-status { font-size: 12.5px; padding-top: 8px; min-height: 28px; }
  .step { min-height: 0; padding: 36px 0 56px; opacity: .3; }
  .step h3 { font-size: 28px; }
  .step p { font-size: 16.5px; }
  .plans { grid-template-columns: 1fr; gap: 20px; }
  .office-panel { padding: 26px 22px; }
  .office-num { font-size: 76px; }
  .office-field { min-height: 280px; padding: 18px; }
  .office-field .field { min-height: 220px; }
  .route-line { left: 23px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .route-fill { inset: 0 0 auto 0; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .packet { top: 0; left: 50%; margin: -9px 0 0 -9px; transform: translateY(var(--x, 0)) rotate(calc(var(--p, 0) * 360deg)); }
  .route-stops { grid-template-columns: 1fr; gap: 0; }
  .route-stops li { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; padding-bottom: 34px; }
  .route-stops .stop-node { grid-row: span 3; margin: 0; }
  .faq summary { font-size: 17px; padding: 18px 2px; }
  .form-card { padding: 20px 16px; border-radius: 18px; }
  .grid2 { grid-template-columns: 1fr; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand { grid-column: span 2; }
  .dock { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px; background: rgba(11, 35, 64, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(7, 26, 49, .5); transform: translateY(150%); transition: transform 700ms var(--spring); }
  .dock.is-visible { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 11px; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; -webkit-tap-highlight-color: transparent; transition: transform 400ms var(--spring); }
  .dock a:active { transform: scale(.93); }
  .dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .dock .dock-main { background: var(--amber); color: #2a1d00; }
  .toasts { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .scene-stage { margin: 0 -16px; padding-inline: 16px; }
  .head-actions .btn-ghost .px-live { display: none; }
  .head-actions .btn-ghost { padding: 0 8px; }
  .hero-title { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .curtain { display: none !important; }
}

/* ---------- v3.1: Hinweisleiste, Fernwartung, Projekte ---------- */
.topbar { background: var(--night); color: #dfe8f2; font-size: 14px; position: relative; z-index: 61; }
.topbar-warn { background: var(--amber); color: var(--night); }
.topbar-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 8px; }
.topbar p { margin: 0; flex: 1; }
.topbar a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.topbar-x { border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; opacity: .7; transition: transform var(--t-fast) var(--spring), opacity var(--t-fast); }
.topbar-x:hover { opacity: 1; transform: scale(1.1); }
.topbar.is-gone { display: none; }

.remote { margin-top: 26px; }
.remote-btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; max-width: 520px; transition: transform var(--t) var(--spring), border-color var(--t-fast), background-color var(--t-fast); }
.remote-btn strong { display: block; font-size: 16px; }
.remote-btn small { display: block; color: #9fb3c8; font-size: 13.5px; margin-top: 2px; }
.remote-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cyan); display: grid; place-items: center; }
.remote-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .remote-btn:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(54, 179, 245, .08); } }

.plan-price { font: 700 22px/1.2 "Poppins", sans-serif; color: var(--night); margin: -8px 0 18px; letter-spacing: -.02em; }
.foot-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
@media (hover: hover) { .foot-link:hover { color: #fff; } }
.route-stops { grid-template-columns: repeat(var(--n, 4), 1fr); }

.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ref { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow-1); transition: transform var(--t) var(--spring), box-shadow var(--t) ease, border-color var(--t-fast); }
@media (hover: hover) { a.ref:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-2); } a.ref:hover .more span { transform: translateX(5px); } }
.ref-media { position: relative; aspect-ratio: 16 / 10; background: var(--night); overflow: hidden; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--spring); }
@media (hover: hover) { a.ref:hover .ref-media img { transform: scale(1.04); } }
.ref-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(54, 179, 245, .5) 2px, transparent 2.4px); background-size: 18px 18px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); }
.ref-initial { position: absolute; left: 22px; bottom: 10px; font: 700 88px/1 "Poppins", sans-serif; color: #fff; letter-spacing: -.05em; }
.ref-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ref-body h3 { margin: 0; }
.ref-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ref-meta { font-size: 13px !important; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue) !important; }
.ref-client { color: var(--text-2) !important; font-weight: 500; }
.ref-body .more { margin-top: auto; padding-top: 10px; color: var(--blue); }
@media (max-width: 860px) {
  .route-stops { grid-template-columns: 1fr; }
  .refs { grid-template-columns: 1fr; }
  .remote-btn { width: 100%; }
}

/* ---------- v3.2: Software nach Maß ---------- */
.sw .wrap { position: relative; }
.sw-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--cyan); margin: 0 0 18px; text-transform: uppercase; }
.sw h2 { margin-bottom: 22px; }
.sw-lead { font-size: 18px; color: #c5d3e2; max-width: 52ch; margin: 0 0 30px; }
.sw-points { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.sw-points li { display: flex; gap: 14px; align-items: flex-start; }
.sw-points strong { display: block; color: #fff; font-size: 16px; margin-bottom: 3px; }
.sw-points span { color: #9fb3c8; font-size: 14.5px; line-height: 1.5; }
.sw-dot { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 3px; background: var(--cyan); box-shadow: 14px 0 0 -2px rgba(54, 179, 245, .35); }
.sw-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sw-note { margin: 0; color: #8fa6bf; font-size: 14px; max-width: 34ch; }
.sw-visual { position: relative; }
.sw-app { background: #0f2c4c; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .02); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform 1.2s var(--spring); }
.sw-app.is-in { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.sw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0b2340; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.sw-bar i { width: 10px; height: 10px; border-radius: 3px; background: #2b4c70; }
.sw-bar i:first-child { background: #f87171; } .sw-bar i:nth-child(2) { background: var(--amber); } .sw-bar i:nth-child(3) { background: var(--green); }
.sw-bar span { margin-left: 12px; font-size: 12px; color: #7f9ab8; background: rgba(255, 255, 255, .05); padding: 4px 12px; border-radius: 6px; }
.sw-body { display: grid; grid-template-columns: 52px 1fr; min-height: 340px; }
.sw-nav { background: #0b2340; padding: 16px 0; display: grid; align-content: start; justify-items: center; gap: 14px; }
.sw-nav b { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.sw-nav b.on { background: var(--cyan); }
.sw-main { padding: 18px; display: grid; gap: 16px; }
.sw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sw-kpis div { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 10px 12px; }
.sw-kpis small { display: block; font-size: 11px; color: #7f9ab8; }
.sw-kpis strong { font: 700 22px/1.2 "Poppins", sans-serif; color: #fff; letter-spacing: -.02em; }
.sw-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 10px 12px 8px; background: rgba(255, 255, 255, .03); border-radius: 10px; }
.sw-col { flex: 1; display: flex; flex-direction: column-reverse; gap: 3px; }
.sw-col i { display: block; height: 7px; border-radius: 2px; background: var(--blue-2); transform: scale(0); transition: transform 600ms var(--spring); transition-delay: calc(var(--c) * 45ms + var(--k) * 22ms + 200ms); }
.sw-col:nth-child(n+10) i { background: var(--cyan); }
.sw-app.is-in .sw-col i { transform: none; }
.sw-rows { display: grid; gap: 7px; }
.sw-row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; color: #c5d3e2; opacity: 0; transform: translateX(16px); transition: opacity 400ms ease, transform 700ms var(--spring); transition-delay: calc(var(--i) * 110ms + 700ms); }
.sw-app.is-in .sw-row { opacity: 1; transform: none; }
.sw-row i { width: 8px; height: 8px; border-radius: 2px; }
.sw-row span { flex: 1; }
.sw-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
i.st-ok { background: var(--green); } i.st-run { background: var(--amber); } i.st-new { background: var(--cyan); }
em.st-ok { background: rgba(60, 207, 122, .15); color: #7ee2a8; } em.st-run { background: rgba(245, 184, 46, .15); color: #f8cf6e; } em.st-new { background: rgba(54, 179, 245, .15); color: #8fd3fa; }
.sw-points li { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 800ms var(--spring); transition-delay: calc(var(--i) * 90ms); }
.sw.is-in .sw-points li { opacity: 1; transform: none; }
html.no-js .sw-points li, html.no-js .sw-row { opacity: 1; transform: none; }
html.no-js .sw-col i { transform: none; }

/* ---------- Eigene Produkte ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.product { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; overflow: hidden; box-shadow: var(--shadow-1); transition: transform var(--t) var(--spring), box-shadow var(--t) ease, border-color var(--t-fast); }
.product::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background-image: radial-gradient(color-mix(in srgb, var(--pc) 45%, transparent) 2px, transparent 2.6px); background-size: 16px 16px; mask-image: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); pointer-events: none; }
@media (hover: hover) { a.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--pc) 40%, var(--line)); } a.product:hover .more span { transform: translateX(5px); } }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.product-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--pc); color: #fff; display: grid; place-items: center; font: 700 24px "Poppins", sans-serif; overflow: hidden; }
.product-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: color-mix(in srgb, var(--pc) 12%, #fff); color: var(--pc); }
.product h3 { margin: 0; font-size: 22px; }
.product-tag { margin: 0; color: var(--pc); font-weight: 600; font-size: 14.5px; }
.product-text { margin: 4px 0 6px; color: var(--muted); font-size: 15.5px; }
.product .tags { margin-bottom: 8px; }
.product .more { margin-top: auto; color: var(--pc); }

/* ---------- Über uns: Kennzahlen statt Zitate ---------- */
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: center; }
.about-facts div { background: var(--paper); border-radius: var(--r-lg); padding: 24px 26px; }
.about-facts strong { display: block; font: 700 40px/1.1 "Poppins", sans-serif; color: var(--blue); letter-spacing: -.03em; }
.about-facts span { color: var(--text-2); font-size: 15px; }

/* ---------- Kundenstimmen ---------- */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.rev-head h2 { margin-bottom: 14px; }
.rev-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 52ch; }
.rev-score { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 22px; flex-wrap: wrap; box-shadow: var(--shadow-1); }
.rev-score > strong { font: 700 44px/1 "Poppins", sans-serif; color: var(--night); letter-spacing: -.03em; }
.rev-score small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.rev-google { font-size: 14px; font-weight: 600; }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 14px; height: 14px; background: #d9dfe7; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--amber); }
.rev-carousel { position: relative; }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rev-track::-webkit-scrollbar { display: none; }
.rev { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1); }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rev-src { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rev-src b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: #4285f4; font: 700 11px "Inter", sans-serif; }
.rev blockquote { margin: 0; font: 500 16.5px/1.6 "Inter", sans-serif; color: var(--night); }
.rev blockquote.is-long { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rev blockquote.is-open { display: block; }
.rev-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--blue); font: 600 14px "Inter", sans-serif; cursor: pointer; margin-top: -6px; }
.rev figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rev figcaption img, .rev-av { width: 38px; height: 38px; border-radius: 10px; flex: none; object-fit: cover; }
.rev-av { display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 13px "Poppins", sans-serif; }
.rev figcaption strong { display: block; color: var(--graphite); font-size: 15px; }
.rev figcaption small { color: var(--muted); font-size: 13px; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.rev-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--night); font-size: 18px; cursor: pointer; transition: transform var(--t-fast) var(--spring), border-color var(--t-fast), background var(--t-fast); }
.rev-btn:hover { border-color: var(--night); transform: translateY(-2px); }
.rev-btn:disabled { opacity: .35; cursor: default; transform: none; }
.rev-dots { display: flex; gap: 6px; }
.rev-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 3px; background: var(--line-2); cursor: pointer; transition: width var(--t) var(--spring), background var(--t-fast); }
.rev-dots button.on { width: 26px; background: var(--blue); }

/* ---------- Nach oben ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--night); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(11, 35, 64, .55); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity 250ms ease, transform 500ms var(--spring), background var(--t-fast); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .rev-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .sw-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .sw-points { grid-template-columns: 1fr; }
  .sw-app { transform: none !important; }
  .sw-body { min-height: 0; }
  .rev-track { grid-auto-columns: 86%; }
  .about-facts strong { font-size: 32px; }
  .to-top { bottom: 86px; right: 14px; width: 44px; height: 44px; }
}
@media (max-width: 420px) {
  .sw-kpis strong { font-size: 18px; }
  .sw-kpis div:nth-child(3) { display: none; } .sw-kpis { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 10px; } .about-facts div { padding: 18px; }
}
.sw-points li { gap: 24px; }
.product-idea { --pc: #66727f; background: transparent; border: 2px dashed var(--line-2); box-shadow: none; }
.product-idea::after { display: none; }
.product-idea .product-logo { background: var(--paper); color: var(--blue); font-size: 30px; }
@media (hover: hover) { a.product-idea:hover { border-color: var(--blue); --pc: var(--blue); background: #fff; } }

.products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.products { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* ---------- Eigene Software: Karussell ---------- */
#produkte { overflow: hidden; }
.prod-car { position: relative; }
.products.prod-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 0 34px; margin: -14px 0 0; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.prod-track::-webkit-scrollbar { display: none; }
.prod-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.prod-track.is-drag .product { pointer-events: none; }
.prod-track .product { flex: 0 0 min(400px, 82%); scroll-snap-align: start; transform: scale(calc(1 - var(--d, 0) * .07)); opacity: calc(1 - var(--d, 0) * .22); transform-origin: left center; transition: transform 500ms var(--spring), opacity 300ms ease, box-shadow var(--t) ease, border-color var(--t-fast); min-height: 360px; }
.prod-track .product.is-active { border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--pc) 60%, transparent), var(--shadow-1); }
.prod-track .product::after { transition: transform 900ms var(--spring), opacity 400ms; transform: scale(.6); opacity: .5; }
.prod-track .product.is-active::after { transform: scale(1.25); opacity: 1; }
.prod-track .product-logo { transition: transform 600ms var(--spring); }
.prod-track .product.is-active .product-logo { transform: rotate(-6deg) scale(1.06); }
.prod-track::after { content: ""; flex: 0 0 calc(100% - min(400px, 82%) - 24px); }
.prod-nav { display: flex; align-items: center; gap: 18px; }
.prod-pix { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-pix button { position: relative; height: 34px; padding: 0 12px 0 28px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: 600 13px "Inter", sans-serif; cursor: pointer; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), transform 400ms var(--spring); }
.prod-pix button::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 2px; background: var(--pc); opacity: .45; transition: opacity var(--t-fast), transform 500ms var(--spring); }
.prod-pix button:hover { color: var(--night); transform: translateY(-2px); }
.prod-pix button.on { border-color: var(--pc); color: var(--pc); background: color-mix(in srgb, var(--pc) 7%, #fff); }
.prod-pix button.on::before { opacity: 1; transform: rotate(45deg) scale(1.15); }
@media (max-width: 860px) {
  .products.prod-track { grid-template-columns: none; }
  .prod-track .product { flex-basis: 86%; min-height: 0; }
  .prod-pix span { display: none; }
  .prod-pix button { width: 28px; padding: 0; }
  .prod-pix button::before { left: 50%; margin-left: -4.5px; }
}
@media (prefers-reduced-motion: reduce) { .prod-track .product { transform: none; opacity: 1; } }
.prod-car { margin-right: calc(50% - 50vw); }
.prod-car .prod-track::after { flex-basis: 40px; }
.product-rent { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--night); }
.product-rent span { width: 8px; height: 8px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 4px rgba(60, 207, 122, .18); }

/* Kontaktformular: Themenwahl als Kachelraster */
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.topic { position: relative; display: block; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.topic-in { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 58px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 400ms var(--spring); user-select: none; }
.topic-in svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 200ms ease; }
.topic-t { display: grid; gap: 1px; min-width: 0; }
.topic-t b { font-size: 14px; font-weight: 600; color: var(--graphite); line-height: 1.25; }
.topic-t small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.topic-ok { position: absolute; top: 7px; right: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); transform: scale(0); transition: transform 300ms var(--spring); }
.topic-ok::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.topic input:checked + .topic-in { border-color: var(--night); background: #f1f6fc; box-shadow: 0 0 0 1px var(--night) inset; }
.topic input:checked + .topic-in .topic-ok { transform: scale(1); }
.topic input:focus-visible + .topic-in { outline: 2px solid var(--cyan); outline-offset: 2px; }
.topic:active .topic-in { transform: scale(.97); }
@media (hover: hover) { .topic:hover .topic-in { border-color: var(--night); } }
@media (max-width: 1100px) and (min-width: 761px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .topic-in { min-height: 54px; padding: 9px 10px; gap: 8px; } .topic-t small { display: none; } .topic-t b { font-size: 13.5px; } }
/* Kacheln kompakt: Symbol oben, Titel darunter (breite Ansicht) */
@media (min-width: 761px) {
  .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .topic-in { flex-direction: column; justify-content: center; text-align: center; gap: 6px; min-height: 76px; padding: 12px 6px 10px; }
  .topic-t small { display: none; }
  .topic-t b { font-size: 13.5px; }
}
/* Dringlichkeit im Support-Formular: gleiche Kacheln, Stufen-Symbol in Prioritätsfarbe */
.prio .topic-in svg { stroke: none; }
.prio .topic-in svg rect { fill: #d6dde6; transition: fill 200ms ease; }
.prio .topic-in svg rect.on { fill: var(--pc); }
.prio .topic-ok { background: var(--pc); }
.prio input:checked + .topic-in { border-color: var(--pc); box-shadow: 0 0 0 1px var(--pc) inset; background: color-mix(in srgb, var(--pc) 7%, #fff); }
.prio.crit input:checked + .topic-in { background: #fdeeee; }
.prio.crit input:checked + .topic-in .topic-t b { color: #b91c1c; }
@media (hover: hover) { .prio:hover .topic-in { border-color: var(--pc); } }
@media (max-width: 760px) { .prio-grid .topic-t small { display: block; font-size: 11px; } }
