/* Schrift Inter, selbst gehostet (SIL Open Font License, siehe fonts/Inter-OFL.txt), wie auf pi-health.de */
@font-face { font-family: "Inter"; src: url("fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Schriften: Geist und Geist Mono, selbst gehostet (SIL Open Font License, siehe fonts/OFL.txt) */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* PI Health / DocPad Website
   Layout-Idee: helle, ruhige Fläche; das Produkt schwebt als Bühne im Raum, Ausschnitte reagieren auf die Maus.
   Livegang: Schriften lokal hosten statt Google Fonts (siehe <link> im Kopf jeder Seite). */

:root {
  color-scheme: light;
  --bg: #FBFAFD;
  --surface: #FFFFFF;
  --tint: #F3EDFC;
  --line: #E6E3EC;
  --ink: #191622;
  --chip: #6B38BB;
  --ink-2: #4F4B59;
  --ink-3: #6B6676;
  --accent: #6B38BB;
  --accent-deep: #4A2585;
  --night: #4A2585;
  --night-2: #6B38BB;
  --night-3: #8B5FD3;
  --on-night: #F4F0FA;
  --on-night-2: #E8DDF8;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --shadow-1: 0 1px 2px rgba(33,25,48,.06), 0 8px 24px rgba(33,25,48,.06);
  --shadow-2: 0 2px 4px rgba(33,25,48,.06), 0 24px 60px rgba(44,26,74,.16);
  --wrap: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
fieldset { min-width: 0; }
.roles, .yesno { position: relative; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Typo-Skala */
.display { font-size: clamp(40px, 5.1vw, 74px); line-height: .98; font-weight: 600; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.small { font-size: 13px; color: var(--ink-3); }
.ph { color: var(--ink-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(107,56,187,.28); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-light { background: #fff; color: var(--night-2); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Statusleiste */
.statusbar { background: var(--night); color: var(--on-night-2); font-size: 13px; }
.statusbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-block: 9px; }
.statusbar strong { color: var(--on-night); font-weight: 600; }
.statusbar a { color: var(--on-night); text-underline-offset: 3px; }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,250,253,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--ink-3); font-weight: 500; font-size: 14px; letter-spacing: 0; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font: 500 15px/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: var(--tint); }
.menu .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.menu li.open .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 10px;
  background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.menu li.open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.drop a:hover { background: var(--tint); }
.drop a small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 3px; }
.lang a { padding: 6px 10px; border-radius: 999px; font: 600 13px/1 var(--mono); text-decoration: none; color: var(--ink-3); }
.lang a[aria-current="true"] { background: var(--chip); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--tint); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding-block: 72px 24px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 22px; transition: opacity .6s ease, transform .6s ease; }
.slide[aria-hidden="true"] { opacity: 0; transform: translateY(14px); pointer-events: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { display: flex; gap: 10px; margin-top: 40px; max-width: 460px; }
.tick { flex: 1; border: 0; background: none; padding: 8px 0; cursor: pointer; text-align: left; font: 500 13px/1.2 var(--font); color: var(--ink-3); }
.tick i { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 9px; }
.tick i b { display: block; height: 100%; width: 0; background: var(--chip); }
.tick.on { color: var(--ink); }
.tick.on i b { animation: fill 7s linear forwards; }
.hero.paused .tick.on i b { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

.stage { position: relative; perspective: 1600px; min-height: 520px; margin-left: 24px; z-index: 1; }
.hero .wrap > div:first-child { position: relative; z-index: 2; }
.stage-inner { position: relative; transform-style: preserve-3d; transform: rotateY(-9deg) rotateX(5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.screen-wrap { position: relative; width: 118%; border-radius: 22px; box-shadow: 0 2px 6px rgba(33,25,48,.06), 0 50px 120px -20px rgba(44,26,74,.35); transform-style: preserve-3d; }
.screen { width: 100%; border-radius: 22px; background: #fff; transition: filter .3s ease; }
.screen-wrap.focus .screen { filter: saturate(.6) brightness(.93); }
.zone { position: absolute; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; transform-origin: center; }
.zone .crop { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; opacity: 0; transition: opacity .2s ease; }
.zone .crop img { position: absolute; max-width: none; }
.zone:hover, .zone:focus-visible { transform: translateZ(60px) scale(var(--zoom, 1.22)); z-index: 6; box-shadow: 0 30px 80px rgba(44,26,74,.35); outline: none; }
.zone:hover .crop, .zone:focus-visible .crop { opacity: 1; }
.zone .tag { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); white-space: nowrap; background: var(--chip); color: #fff; font: 500 12px/1 var(--font); padding: 8px 11px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.zone.below .tag { bottom: auto; top: calc(100% + 10px); }
.zone:hover .tag, .zone:focus-visible .tag { opacity: 1; transform: translateX(-50%); }
.stage-hint { margin-top: 26px; text-align: right; }
.stage-note { position: absolute; right: 0; bottom: -34px; }

/* Logo-Band */
.logos { padding-block: 64px 24px; }
.logos .label { text-align: center; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 20px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.logo { flex: 0 0 auto; height: 84px; min-width: 200px; padding: 14px 26px; display: grid; place-items: center; background: var(--surface); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.logo img { max-height: 52px; width: auto; opacity: .92; transition: opacity .25s ease; }
.logo:hover { transform: scale(1.08); box-shadow: var(--shadow-1); }
.logo:hover img { opacity: 1; }
@keyframes slide { to { transform: translateX(calc(-50% - 10px)); } }
.logos .small { text-align: center; margin-top: 18px; }

/* Abschnitte */
.section { padding-block: 112px; }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin-bottom: 56px; }
.band-dark { background: var(--night); color: var(--on-night); }
.band-dark .lead, .band-dark .small, .band-dark .label { color: var(--on-night-2); }
.band-tint { background: var(--tint); }

/* Zahlen */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { background: var(--surface); border-radius: var(--r-l); padding: 34px; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.fact .num { font-size: clamp(56px, 6vw, 84px); line-height: .9; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.fact .num small { font-size: .36em; letter-spacing: -0.01em; margin-left: 6px; }
.fact p { font-size: 18px; font-weight: 500; line-height: 1.4; }
.aha { margin-top: 48px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; max-width: 30ch; }

/* Produkt-Reiter */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.tab { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: none; font: 600 15px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background .2s ease, color .2s ease; }
.tab[aria-selected="true"] { background: var(--chip); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.panel[hidden] { display: none !important; }
.panel-text { display: flex; flex-direction: column; gap: 18px; }
.panel-text p { color: var(--ink-2); font-size: 18px; }
.panel-text .punch { color: var(--ink); font-weight: 600; font-size: 20px; }
.device { position: relative; transform-style: preserve-3d; transition: transform .4s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 40px 60px rgba(44,26,74,.22)); }
.device img { border-radius: 26px; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border-radius: var(--r-l); padding: 30px 26px 34px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.step .n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); font: 600 17px/1 var(--mono); }
.step p { color: var(--ink-2); font-size: 16px; }

/* Vergleich */
.switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.switch button { height: 46px; padding: 0 24px; border-radius: 999px; border: 0; background: none; font: 600 16px/1 var(--font); color: var(--ink-2); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.compare { border-radius: var(--r-l); padding: 48px; transition: background .4s ease, color .4s ease; }
.compare.before { background: #EFEDF2; }
.compare.after { background: var(--night-2); color: var(--on-night); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.compare li { font-size: 20px; line-height: 1.4; padding-left: 30px; position: relative; }
.compare li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 2px; background: currentColor; opacity: .5; }
.compare.after li::before { width: 10px; height: 10px; border-radius: 50%; top: .4em; background: #fff; opacity: 1; }
.compare .end { margin-top: 36px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.compare .pane[hidden] { display: none !important; }

/* Kann / tut nicht */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.box { border-radius: var(--r-l); padding: 38px; display: flex; flex-direction: column; gap: 16px; }
.box.can { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.box.cant { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.box li { padding-left: 30px; position: relative; font-size: 18px; color: var(--ink-2); }
.box.can li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.box.cant li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 14px; height: 2.5px; background: var(--ink-3); }

/* Zielgruppen-Karten */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 30px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { box-shadow: var(--shadow-2); }
.card p { color: var(--ink-2); font-size: 16px; }
.card .go { margin-top: auto; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.card.dark { background: var(--night-2); color: var(--on-night); box-shadow: none; }
.card.dark p, .card.dark .label { color: var(--on-night-2); }

/* Zitat */
.quote { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.quote blockquote { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; font-weight: 500; letter-spacing: -0.025em; max-width: 26ch; }
.who { display: flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font: 600 15px/1 var(--mono); color: var(--ink-3); }

/* Sicherheit */
.secure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.secure-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: var(--r-m); padding: 26px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, background .25s ease; }
.tile:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.tile strong { font-size: 20px; letter-spacing: -0.01em; }
.tile span { color: var(--on-night-2); font-size: 15.5px; }
.ce { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.ce b { border: 2px solid var(--on-night); border-radius: 8px; padding: 6px 12px; font: 600 20px/1 var(--mono); }

/* Geschichte */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-l); background: linear-gradient(140deg, var(--night) 0%, var(--night-2) 55%, var(--night-3) 100%); display: grid; place-items: center; color: var(--on-night-2); overflow: hidden; }
.video .play { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: transform .3s ease; }
.video:hover .play { transform: scale(1.1); }
.video .cap { position: absolute; left: 24px; bottom: 20px; right: 24px; font-size: 14px; }
.bmg { margin-top: 26px; padding-top: 22px; box-shadow: 0 -1px 0 var(--line); }
.bmg p { font-size: 18px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: transform .25s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 52px 26px 0; color: var(--ink-2); font-size: 17.5px; max-width: 68ch; }

/* Schlussband */
.cta { padding-block: 40px 112px; }
.cta-box { border-radius: 36px; padding: 72px 56px; background: linear-gradient(125deg, var(--night) 0%, var(--night-2) 50%, var(--night-3) 100%); color: var(--on-night); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; position: relative; overflow: hidden; }
.cta-box .h2 { max-width: 16ch; }
.cta-box p { color: var(--on-night-2); margin-top: 16px; font-size: 18px; max-width: 46ch; }

/* Footer */
.foot { background: var(--night); color: var(--on-night-2); font-size: 15px; }
.foot .wrap { padding-block: 72px 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.foot h3 { color: var(--on-night); font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot a { color: var(--on-night-2); text-decoration: none; }
.foot a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { margin-top: 56px; padding-top: 28px; box-shadow: 0 -1px 0 rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-start; justify-content: space-between; font-size: 13.5px; }
.foot-bottom .legal { max-width: 720px; line-height: 1.6; }
.foot-bottom .ce b { border-color: var(--on-night-2); font-size: 15px; padding: 4px 9px; }

/* Bewegung beim Scrollen: nur fuer Elemente unterhalb der ersten Ansicht */
.pre { transform: translateY(26px); opacity: .001; }
.in { transform: none; opacity: 1; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }

/* Kontaktseite */
.demo { padding-block: 72px 112px; }
.demo .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.demo-steps { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.demo-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; font-size: 17px; color: var(--ink-2); }
.demo-steps li b { color: var(--ink); display: block; }
.demo-steps .n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); font: 600 16px/1 var(--mono); color: var(--ink); }
.contact { margin-top: 36px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.contact .avatar { width: 64px; height: 64px; }
.note { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-m); background: var(--tint); font-size: 15.5px; color: var(--ink-2); }
.form { background: var(--surface); border-radius: var(--r-l); padding: 40px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.form fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.form legend { font-weight: 600; margin-bottom: 12px; font-size: 16px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .15s ease; }
.roles input:checked + label { background: var(--chip); color: #fff; box-shadow: none; }
.roles input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label .req { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { font: 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(107,56,187,.14); }
.field.err input, .field.err select { border-color: #B42318; }
.field .msg { font-size: 13px; color: #B42318; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--ink-2); margin: 22px 0 26px; }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); margin: 2px 0 0; }
.thanks { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.thanks .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.problem { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 24px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.problem a { font-weight: 600; text-underline-offset: 3px; }

/* Kommt bald */
.soon { padding-block: 140px; text-align: center; }
.soon .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* Responsiv */
@media (max-width: 1080px) {
  .hero .wrap, .panel, .secure, .story, .demo .wrap { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 0; margin-top: 30px; }
  .screen-wrap { width: 100%; }
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu, .nav-right .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav.open .menu { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); padding: 12px max(16px, env(safe-area-inset-left, 0px)) 20px; box-shadow: var(--shadow-2); }
  .nav.open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; display: none; }
  .nav.open li.open .drop { display: block; }
  .facts, .split, .compare ul, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 80px; }
  .compare, .box, .form, .cta-box { padding: 28px; }
}
@media (max-width: 560px) {
  .cards, .steps, .secure-tiles, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-hint { text-align: left; }
}
@media (pointer: coarse) { .zone { pointer-events: none; } .stage-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pre { transform: none; opacity: 1; }
  .track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Unterseiten */
.page-hero { padding-block: 80px 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin-left: auto; margin-right: auto; }
.page-hero .wrap.wide { max-width: var(--wrap); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 500; font-size: 15px; background: var(--surface); transition: box-shadow .2s ease; }
.toc a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 64px; box-shadow: 0 -1px 0 var(--line); scroll-margin-top: 90px; }
.block > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts-list li { background: var(--surface); border-radius: var(--r-m); padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.facts-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.facts-list strong { font-size: 18px; letter-spacing: -0.01em; }
.facts-list span { color: var(--ink-2); font-size: 15.5px; }
.docs { list-style: none; margin: 0; padding: 0; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.docs li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; box-shadow: 0 1px 0 var(--line); flex-wrap: wrap; }
.docs li:last-child { box-shadow: none; }
.docs .what { font-weight: 600; }
.docs .what small { display: block; font-weight: 400; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--tint); color: var(--ink); text-decoration: none; }
a.pill:hover { background: var(--accent); color: #fff; }
.quiet { color: var(--ink-2); font-size: 17px; }
.alert { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center; padding: 24px 26px; border-radius: var(--r-l); background: var(--night-2); color: var(--on-night); }
.alert .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.alert strong { font-size: 20px; display: block; }
.alert span { color: var(--on-night-2); }
.contact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-row > div { background: var(--surface); border-radius: var(--r-m); padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.contact-row .val { font-size: 19px; font-weight: 600; user-select: all; word-break: break-word; }
.copy { align-self: flex-start; border: 0; background: var(--tint); border-radius: 999px; padding: 7px 13px; font: 600 13px/1 var(--font); cursor: pointer; color: var(--ink); }
.copy:hover { background: var(--accent); color: #fff; }
.yesno { display: flex; gap: 8px; }
.yesno input { position: absolute; opacity: 0; pointer-events: none; }
.yesno label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; cursor: pointer; }
.yesno input:checked + label { background: var(--chip); color: #fff; box-shadow: none; }
.yesno input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset.err .yesno label { box-shadow: inset 0 0 0 1.5px #B42318; }
@media (max-width: 860px) {
  .block, .contact-row, .facts-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* DocPad-Produktseite */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 40; background: rgba(251,250,253,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 6px; min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav strong { margin-right: 14px; font-size: 16px; white-space: nowrap; }
.subnav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.subnav a:hover { color: var(--ink); background: var(--tint); }
.subnav a.on { color: var(--ink); background: var(--tint); font-weight: 600; }
.subnav .btn { margin-left: auto; min-height: 36px; padding: 0 16px; font-size: 14px; flex: 0 0 auto; }
.prod-hero { padding-block: 96px 56px; text-align: center; }
.prod-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.prod-hero .icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow-2); }
.prod-hero .display { font-size: clamp(46px, 7vw, 104px); max-width: 14ch; }
.prod-hero .lead { margin: 0 auto; text-align: center; }
.scrolly { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-block: 40px 80px; }
.viewer { position: sticky; top: 150px; height: min(68vh, 620px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.viewer .pan { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.viewer .pan img { width: 100%; }
.viewer .vlabel { position: absolute; left: 18px; bottom: 16px; background: var(--chip); color: #fff; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.steps-col { display: flex; flex-direction: column; }
.sstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .35; transition: opacity .4s ease; }
.sstep.on { opacity: 1; }
.sstep:last-child { min-height: 60vh; }
.sstep p { color: var(--ink-2); font-size: 19px; max-width: 42ch; }
.feature { padding-block: 112px; scroll-margin-top: 130px; }
.feature .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip .grid > :first-child { order: 2; }
.feature .text { display: flex; flex-direction: column; gap: 18px; }
.feature .text p { color: var(--ink-2); font-size: 18.5px; }
.rt { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; }
.rt svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt .node { position: absolute; width: 15%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--line); background: #fff; font: 600 13px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.rt .node:hover { transform: translate(-50%, -50%) scale(1.12); border-color: var(--accent); }
.rt .node.load { border-color: #B9A2E6; background: var(--tint); color: var(--ink); }
.rt .node[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.rt-info { margin: 22px auto 0; max-width: 480px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rt-info strong { font-size: 18px; }
.rt-info .pill { white-space: nowrap; }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.desk > div { border-radius: var(--r-l); padding: 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; transition: transform .3s ease; }
.desk > div:hover { transform: translateY(-6px); }
.desk .a { background: var(--accent); color: #fff; }
.desk .b { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.desk .x { align-self: center; color: var(--ink-3); font-size: 28px; }
.desk strong { font-size: 24px; letter-spacing: -0.02em; }
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.needs > div { background: var(--surface); border-radius: var(--r-l); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.needs strong { font-size: 19px; }
.needs span { color: var(--ink-2); font-size: 15.5px; }
.wide-shot { border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
@media (max-width: 1080px) {
  .scrolly, .feature .grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .grid > :first-child { order: 0; }
  .viewer { position: relative; top: 0; height: 56vw; }
  .sstep { min-height: 0; opacity: 1; padding-block: 24px; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .needs, .desk { grid-template-columns: minmax(0, 1fr); } .desk .x { display: none; } }
.shots2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.shots2 .wide-shot:last-child { width: 78%; margin: -60px 0 0 auto; position: relative; }
@media (prefers-reduced-motion: reduce) { .viewer .pan { transition: none; } }
.subnav a.btn, .subnav a.btn:hover { color: #fff; background: var(--accent); }
@media (max-width: 980px) {
  .viewer { position: sticky; top: 124px; z-index: 2; height: 58vw; }
  .sstep { min-height: 48vh; opacity: .35; }
  .sstep.on { opacity: 1; }
}
/* Zielgruppen-Seiten */
.aud-hero { padding-block: 80px 72px; }
.aud-hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.aud-text { display: flex; flex-direction: column; gap: 22px; }
.aud-text .display { max-width: 13ch; }
.pad-top-0 { padding-top: 0; }
.problem-text { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; max-width: 34ch; color: var(--ink); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards .card { min-height: 260px; }
.steps.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.muted { color: var(--ink-2); font-size: 17.5px; }
.example { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; padding: 56px; border-radius: 36px; background: var(--tint); }
.example > div { display: flex; flex-direction: column; gap: 16px; }
.example ol { margin: 0; padding: 0; list-style: none; counter-reset: ex; display: flex; flex-direction: column; gap: 18px; }
.example li { counter-increment: ex; position: relative; padding-left: 52px; font-size: 19px; color: var(--ink); }
.example li::before { content: counter(ex); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 12px; background: #fff; display: grid; place-items: center; font: 600 15px/1 var(--mono); color: var(--accent); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.flow > div { position: relative; background: var(--surface); border-radius: var(--r-l); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .3s ease, box-shadow .3s ease; }
.flow > div:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.flow > div:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 46px; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.flow .n { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 16px/1 var(--mono); }
.flow strong { font-size: 19px; }
.flow span:not(.n) { color: var(--ink-2); font-size: 15.5px; }
.lanes { margin: 0; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 34px 30px 22px; display: flex; flex-direction: column; gap: 16px; }
.lane { position: relative; height: 46px; border-radius: 14px; background: #F7F5FA; padding-left: 104px; }
.lane span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lane i, .lane b { position: absolute; top: 50%; transform: translate(-50%, -50%) scale(0); margin-left: 52px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.lane i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.lane i.n { background: #4A2585; width: 16px; height: 16px; box-shadow: 0 0 0 5px rgba(107,56,187,.15); }
.lane b { height: 16px; border-radius: 8px; background: var(--night-3); transform: translate(0, -50%) scaleX(0); transform-origin: left; }
.lanes.go .lane i { transform: translate(-50%, -50%) scale(1); }
.lanes.go .lane b { transform: translate(0, -50%) scaleX(1); }
.lane:nth-child(2) i { transition-delay: .5s; } .lane:nth-child(3) b { transition-delay: .9s; }
.axis { display: flex; justify-content: space-between; padding-left: 104px; font-size: 13px; color: var(--ink-3); }
.lanes figcaption { font-size: 13px; color: var(--ink-3); }
.stack { margin: 0; display: flex; flex-direction: column; gap: 14px; perspective: 1200px; }
.stack .layer { border-radius: var(--r-l); padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.stack:hover .layer.top { transform: translateY(-8px) rotateX(6deg); }
.stack .layer small { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.stack .layer strong { font-size: 26px; letter-spacing: -0.02em; }
.stack .top { background: var(--accent); color: #fff; box-shadow: 0 30px 60px rgba(74,37,133,.3); }
.stack .mid { background: var(--tint); }
.stack .mid span, .stack .low span { color: var(--ink-2); }
.stack .low { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; }
.stack .low > div { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.stack .low strong { font-size: 20px; }
.facts-dark { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts-dark > div { border-radius: var(--r-l); padding: 28px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 10px; }
.facts-dark strong { font-size: 24px; letter-spacing: -0.02em; }
.facts-dark span { color: var(--on-night-2); font-size: 15.5px; }
@media (max-width: 980px) {
  .aud-hero .wrap, .example { grid-template-columns: minmax(0, 1fr); }
  .cards.c3, .flow, .facts-dark, .steps.s3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow > div::after { display: none; }
  .example { padding: 32px; gap: 28px; }
}
@media (max-width: 560px) {
  .cards.c3, .flow, .facts-dark, .steps.s3 { grid-template-columns: minmax(0, 1fr); }
  .lane { padding-left: 88px; } .axis { padding-left: 88px; }
}
.lanes { --lp: 104px; }
.lane i, .lane b { margin-left: 12px; }
.lane span { z-index: 1; }
@media (max-width: 560px) { .lanes { --lp: 88px; padding: 24px 18px 18px; } }
.aud-hero .display { font-size: clamp(40px, 4.3vw, 64px); hyphens: manual; overflow-wrap: break-word; }

/* Produktseite: Bildschirm folgt dem Text, neu */
.viewer { height: auto; aspect-ratio: 16 / 10; top: calc(50vh - 150px); background: #F4F3F8; }
.viewer .pan { will-change: auto; }
.sstep { min-height: 92vh; opacity: .18; transition: opacity .35s ease; }
.sstep.on { opacity: 1; }
.sstep.on p { color: var(--ink); }
.sstep:first-child { min-height: 70vh; }
.rt-shot { max-width: 520px; margin: 0 auto; }
.board { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
.board img { display: block; width: 100%; height: auto; }
.annot { position: absolute; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(107,56,187,0); transition: box-shadow .25s ease, background .25s ease; }
.annot em { position: absolute; left: 10px; top: 10px; font: 600 12.5px/1 var(--font); font-style: normal; color: #fff; background: var(--accent); padding: 7px 10px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.annot:hover, .annot.show { box-shadow: inset 0 0 0 3px rgba(107,56,187,.9); background: rgba(107,56,187,.05); }
.annot:hover em, .annot.show em { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .viewer { top: 116px; aspect-ratio: 16 / 10; height: auto; }
  .sstep { min-height: 62vh; }
}
.viewer { aspect-ratio: auto; transition: height .8s cubic-bezier(.2,.8,.2,1), top .8s cubic-bezier(.2,.8,.2,1); align-self: start; }
.scrolly { align-items: start; }
@media (max-width: 980px) { .viewer { aspect-ratio: auto; } }
.annot em { left: auto; right: 10px; }
/* Unternehmen */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; transform-style: preserve-3d; }
.person:hover { box-shadow: var(--shadow-2); }
.person > div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.person strong { font-size: 20px; letter-spacing: -0.01em; }
.person span { color: var(--ink-2); font-size: 15.5px; }
.pfoto { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; background: var(--tint); }
.person .pfoto { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.person:hover .pfoto { transform: scale(1.04); }
.noimg { display: grid; place-content: center; text-align: center; gap: 6px; background: linear-gradient(150deg, var(--tint), #E2D5F7); }
.noimg span { font: 600 48px/1 var(--font); color: var(--accent); letter-spacing: -0.03em; }
.noimg small { font-size: 13px; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 108px; top: 12px; bottom: 12px; width: 2px; background: #D9CCF2; }
.timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 44px; align-items: start; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 102px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--tint); }
.timeline .when { font: 600 15px/1.3 var(--mono); color: var(--accent); padding-top: 26px; text-align: right; }
.timeline li > div { background: var(--surface); border-radius: var(--r-l); padding: 24px 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; transition: transform .3s ease, box-shadow .3s ease; }
.timeline li > div:hover { transform: translateX(6px); box-shadow: var(--shadow-2); }
.timeline p { color: var(--ink-2); }
.profiles { display: flex; flex-direction: column; gap: 28px; }
.profile { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 44px; padding: 32px; border-radius: 32px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); align-items: start; scroll-margin-top: 140px; }
.profile .pfoto { border-radius: 22px; }
.pbody { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pbody .role { color: var(--accent); font-weight: 600; font-size: 17px; }
.pcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; margin-top: 6px; }
.pcols ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16px; }
.pgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pgroup { border-radius: var(--r-l); padding: 32px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.pnames { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pname { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--tint); transition: transform .2s ease; }
.pname:hover { transform: translateX(4px); }
.pname strong { font-size: 18px; }
.pname span { color: var(--ink-2); font-size: 15px; }
.pname span:empty { display: none; }
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 22px 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.job strong { font-size: 19px; flex: 1 1 auto; }
.job span:not(.pill) { color: var(--ink-2); }
@media (max-width: 980px) {
  .people, .pgroups { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile .pfoto { max-width: 280px; }
}
@media (max-width: 560px) {
  .people, .pcols { grid-template-columns: minmax(0, 1fr); }
  .timeline::before { left: 7px; } .timeline li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .timeline li::before { left: 1px; top: 4px; } .timeline .when { text-align: left; padding-top: 0; }
}
/* Team-Gruppen */
.tgroups { display: flex; flex-direction: column; gap: 64px; }
.tgroup { display: flex; flex-direction: column; gap: 14px; }
.tgroup .profiles { margin-top: 18px; }
.people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Fragen und Antworten */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fsearch { margin-top: 10px; display: flex; align-items: center; gap: 12px; max-width: 640px; padding: 0 18px; min-height: 58px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1, 0 10px 30px rgba(33,25,48,.06)); color: var(--ink-3); }
.fsearch:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.fsearch input { flex: 1; border: 0; background: transparent; font: 17px/1.4 var(--font); color: var(--ink); outline: none; min-width: 0; }
.fbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 30; background: rgba(251,250,253,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); margin-bottom: 40px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 0; border-radius: 999px; padding: 9px 15px; font: 500 14px/1 var(--font); background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.chip:hover { color: var(--ink); background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--chip); color: #fff; box-shadow: none; }
.fwrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.fcats { display: flex; flex-direction: column; gap: 48px; }
.fcat { scroll-margin-top: 150px; display: flex; flex-direction: column; gap: 10px; }
.fcat[hidden] { display: none !important; }
.fside { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
.fside .box { padding: 28px; gap: 12px; }
.fnone { font-size: 18px; color: var(--ink-2); }
mark { background: #EBDDFE; color: inherit; border-radius: 3px; padding: 0 1px; }
@media (max-width: 980px) { .fwrap { grid-template-columns: minmax(0, 1fr); } .fside { position: static; } }
.menu > li > a, .menu > li > button, .nav .btn, .brand { white-space: nowrap; }
@media (max-width: 1240px) { .brand span { display: none; } .nav .btn-primary { padding-inline: 18px; } }

/* Termine */
.events { display: flex; flex-direction: column; gap: 18px; }
.event { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.edate { border-radius: 22px; background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 10px; text-align: center; gap: 4px; align-self: start; }
.edate b { font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.edate span { font-weight: 600; font-size: 16px; }
.edate small { font: 500 13px/1 var(--mono); opacity: .8; }
.event.past .edate { background: var(--tint); color: var(--accent); }
.ebody { display: flex; flex-direction: column; gap: 8px; }
.eplace { color: var(--accent); font-weight: 600; }
/* Neuigkeiten */
.newsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news { border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nimg { aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--tint), #E2D5F7); }
.nbody { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.news.empty { opacity: .75; }
@media (max-width: 980px) { .newsgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .event { grid-template-columns: minmax(0, 1fr); gap: 18px; } .edate { flex-direction: row; gap: 10px; padding: 14px 18px; justify-self: start; } .edate b { font-size: 24px; } }
/* Impressum */
.imprint { max-width: 820px; border-radius: 32px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 40px; }
.irow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.irow:last-child { border-bottom: 0; }
.irow p:last-child { font-size: 18px; line-height: 1.6; }
@media (max-width: 560px) { .imprint { padding: 4px 22px; } .irow { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.imprint { max-width: 980px; margin-inline: auto; }
/* Glossar */
.az { display: flex; gap: 2px; flex-wrap: wrap; padding-bottom: 12px; }
.az a, .az span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font: 600 13px/1 var(--mono); text-decoration: none; }
.az a { color: var(--accent); }
.az a:hover { background: var(--tint); }
.az span { color: #C9C4D3; }
.glist { display: flex; flex-direction: column; gap: 28px; }
.gletter { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; scroll-margin-top: 190px; }
.gletter[hidden] { display: none !important; }
.gl { font: 600 40px/1 var(--font); color: var(--accent); letter-spacing: -0.03em; padding-top: 18px; }
.gletter dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.term { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 24px; scroll-margin-top: 190px; transition: box-shadow .25s ease, transform .25s ease; }
.term:hover { box-shadow: var(--shadow-2); transform: translateX(4px); }
.term[hidden] { display: none !important; }
.term:target { box-shadow: inset 0 0 0 2px var(--accent); }
.term dt { font-weight: 600; font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.term dt .pill { font-size: 12px; min-height: 24px; padding: 0 10px; font-weight: 500; }
.term dd { margin: 8px 0 0; color: var(--ink-2); font-size: 16.5px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.term .more { font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.gnone { font-size: 18px; color: var(--ink-2); }
@media (max-width: 560px) { .gletter { grid-template-columns: minmax(0, 1fr); gap: 6px; } .gl { padding-top: 0; font-size: 30px; } }
.systable { width: 100%; margin-top: 8px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.srow { display: grid; grid-template-columns: minmax(0, 3fr) 92px minmax(0, 6fr); gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); align-items: start; }
.srow.head { border-top: 0; background: var(--tint); font: 600 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.srow strong { color: var(--ink); font-weight: 600; }
.srow .pill { font-size: 12px; min-height: 24px; padding: 0 10px; background: var(--accent); color: #fff; }
.systable .small { padding: 10px 16px 12px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .srow { grid-template-columns: minmax(0, 1fr) auto; } .srow > span:last-child { grid-column: 1 / -1; } .srow.head { display: none; } }
/* Telefon im Kopf und Leiste auf dem Handy */
.nav .tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; padding: 8px 10px; border-radius: 999px; }
.nav .tel:hover { background: var(--tint); }
.nav .tel svg { color: var(--accent); }
@media (max-width: 1240px) { .nav .tel span { display: none; } }
.mbar { display: none; }
@media (max-width: 980px) {
  .nav .tel { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(251,250,253,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); }
  .mbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); }
  .mbar a.go { background: var(--accent); color: #fff; box-shadow: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
/* Schieberegler Freitext gegen DocPad */
.beforeafter { position: relative; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); aspect-ratio: 2493 / 1408; user-select: none; touch-action: pan-y; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #FBF8F1; }
.letter { position: absolute; inset: 6% 8%; font: 15px/1.6 Georgia, serif; color: #3d3a33; display: flex; flex-direction: column; gap: 10px; }
.letter .lh { font: 600 22px Georgia, serif; color: #2a2722; }
.letter .ph { font: italic 15px/1.5 Georgia, serif; color: #8a8478; max-width: 40ch; }
.letter i { display: block; height: 10px; border-radius: 5px; background: #E4DED0; width: 96%; }
.ba-tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; font: 600 13px/1 var(--font); }
.ba-tag.l { left: 16px; background: #2a2722; color: #fff; }
.ba-tag.r { right: 16px; background: var(--accent); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba-handle span { position: absolute; top: 50%; left: 0; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center; }
.ba-handle span::before { content: "‹ ›"; font: 700 18px/1 var(--font); color: var(--accent); letter-spacing: 2px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-handle span, .beforeafter:focus-within .ba-handle span { box-shadow: 0 0 0 3px var(--accent); }
/* Geschichte als eine Zeile */
.storyline { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink-2); transition: box-shadow .25s ease, transform .25s ease; }
.storyline:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.storyline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: 0 0 auto; }
.storyline b { color: var(--ink); }
.storyline .go { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .storyline { flex-wrap: wrap; } .storyline .go { margin-left: 84px; } }
/* Abschluss mit Gesicht */
.person-cta { align-items: center; flex-wrap: nowrap; gap: 44px; justify-content: flex-start; }
.cta-face { width: 200px; height: 250px; object-fit: cover; object-position: top; border-radius: 24px; flex: 0 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.cta-text { display: flex; flex-direction: column; gap: 6px; }
.cta-text .h2 { max-width: 20ch; }
.btn-onnight { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-onnight:hover { box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 720px) { .person-cta { flex-wrap: wrap; } .cta-face { width: 140px; height: 175px; } }
/* Ansprechpartner auf den Zielgruppen-Seiten */
.apcard { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px; border-radius: 32px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.apcard img, .apcard .noface { width: 220px; height: 260px; object-fit: cover; object-position: top; border-radius: 22px; }
.apcard .noface { display: grid; place-items: center; background: linear-gradient(150deg, var(--tint), #E2D5F7); font: 600 54px/1 var(--font); color: var(--accent); }
.aptext { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 720px) { .apcard { grid-template-columns: minmax(0, 1fr); } .apcard img, .apcard .noface { width: 160px; height: 190px; } }
/* Praxis-Check */
.pcheck { border-radius: 32px; background: var(--tint); padding: 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.pc-head { display: flex; flex-direction: column; gap: 12px; }
.pc-q { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: q; }
.pc-q li { counter-increment: q; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 56px; border-radius: 18px; background: #fff; position: relative; font-size: 16.5px; }
.pc-q li::before { content: counter(q); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 9px; background: var(--tint); display: grid; place-items: center; font: 600 13px/1 var(--mono); color: var(--accent); }
.pc-q li.done::before { background: var(--accent); color: #fff; content: "✓"; }
.yn { display: flex; gap: 6px; flex: 0 0 auto; }
.yn button { border: 0; border-radius: 999px; padding: 9px 16px; font: 600 14px/1 var(--font); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; color: var(--ink); }
.yn button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.pc-result { grid-column: 2; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); }
.pc-result[hidden] { display: none !important; }
.pc-hints { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
@media (max-width: 980px) { .pcheck { grid-template-columns: minmax(0, 1fr); padding: 26px; } .pc-result { grid-column: 1; } .pc-q li { flex-wrap: wrap; } }
/* Schreibtisch und Aktenschrank animiert */
.flowscene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.fs-ipad, .fs-cab { border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 6px; min-height: 260px; position: relative; overflow: hidden; }
.fs-ipad { background: var(--accent); color: #fff; }
.fs-cab { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fs-label { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.fs-ipad strong, .fs-cab strong { font-size: 24px; letter-spacing: -0.02em; }
.fs-screen { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.14); }
.fs-screen i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.55); width: 0; transition: width .6s ease; }
.flowscene.go .fs-screen i:nth-child(1) { width: 90%; transition-delay: .2s; } .flowscene.go .fs-screen i:nth-child(2) { width: 70%; transition-delay: .5s; } .flowscene.go .fs-screen i:nth-child(3) { width: 80%; transition-delay: .8s; }
.fs-drawers { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.fs-drawers i { display: block; height: 30px; border-radius: 10px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.fs-drawers i.in { background: var(--tint); transition: background .4s ease 2.6s, box-shadow .4s ease 2.6s; }
.flowscene.go .fs-drawers i.in { background: #DCCBF6; box-shadow: inset 0 0 0 2px var(--accent); }
.fs-track { position: relative; }
.fs-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; border-top: 2px dashed #CDBBEE; }
.fs-doc { position: absolute; top: 50%; left: 0; transform: translate(-30%, -50%) scale(.6); opacity: 0; width: 120px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-2); z-index: 2; }
.fs-doc b { color: var(--ink); font-size: 15px; }
.flowscene.go .fs-doc { animation: fsfly 2.2s cubic-bezier(.5,.1,.2,1) 1.1s forwards; }
@keyframes fsfly { 0% { opacity: 0; left: 0; transform: translate(-30%, -50%) scale(.6); } 20% { opacity: 1; transform: translate(-30%, -50%) scale(1); } 85% { opacity: 1; left: 100%; transform: translate(-70%, -50%) scale(1); } 100% { opacity: 0; left: 100%; transform: translate(-70%, -10%) scale(.5); } }
.fs-steps { grid-column: 1 / -1; list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; font-weight: 600; color: var(--ink-3); }
.fs-steps li { transition: color .3s ease; }
.flowscene.go .fs-steps li:nth-child(1) { color: var(--ink); transition-delay: .3s; } .flowscene.go .fs-steps li:nth-child(2) { color: var(--ink); transition-delay: 1.2s; } .flowscene.go .fs-steps li:nth-child(3) { color: var(--accent); transition-delay: 2.8s; }
@media (max-width: 720px) { .flowscene { grid-template-columns: minmax(0, 1fr); } .fs-track { height: 90px; } .fs-track::before { left: 50%; right: auto; top: 10%; bottom: 10%; border-top: 0; border-left: 2px dashed #CDBBEE; } .flowscene.go .fs-doc { animation-name: fsdown; } @keyframes fsdown { 0% { opacity: 0; left: 50%; top: 0; transform: translate(-50%, 0) scale(.6); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1); } 85% { opacity: 1; top: 70%; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; top: 80%; transform: translate(-50%, 0) scale(.5); } } }
@media (prefers-reduced-motion: reduce) { .flowscene .fs-doc { display: none; } .flowscene .fs-screen i { width: 80%; } }
/* Kontaktkarte ohne Bild */
.apcard.nopic { grid-template-columns: minmax(0, 1fr); padding: 36px 40px; }
/* Aufklappendes iPad */
.foldstage { --p: 0; position: relative; width: min(1000px, 92vw); margin: 56px auto 0; perspective: 2400px; perspective-origin: 50% 20%; }
.fold-ipad { position: relative; aspect-ratio: 2493 / 1408; transform-style: preserve-3d; transform: rotateX(calc(52deg * (1 - var(--p)))) scale(calc(.86 + .14 * var(--p))); transform-origin: 50% 100%; transition: transform .08s linear; }
.fold-body { position: absolute; inset: 0; border-radius: 34px; background: #1d1b22; padding: 2.2%; box-shadow: 0 50px 90px rgba(44,26,74,calc(.15 + .2 * var(--p))); }
.fold-screen { position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; }
.fold-screen img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: calc(.3 + .7 * var(--o, 0)); }
.fold-body .cam { position: absolute; top: 50%; left: 1%; width: 8px; height: 8px; border-radius: 50%; background: #3a3742; transform: translateY(-50%); }
.fold-cover { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 0% 50%; transform: translateZ(2px) rotateY(calc(-178deg * var(--o, 0))); }
.fc-front, .fc-back { position: absolute; inset: 0; border-radius: 34px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fc-front { background: linear-gradient(135deg, #6B38BB 0%, #4A2585 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; font: 600 28px var(--font); letter-spacing: -0.02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.fc-front img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.fc-front::after { content: ""; position: absolute; top: 0; bottom: 0; left: 33%; border-left: 1px solid rgba(255,255,255,.12); box-shadow: 1px 0 0 rgba(0,0,0,.08); }
.fc-back { transform: rotateY(180deg); background: linear-gradient(135deg, #3B2162, #4A2585); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.fold-shadow { position: absolute; left: 6%; right: 6%; bottom: -26px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(44,26,74,.25), transparent); filter: blur(6px); }
@media (max-width: 720px) { .fold-body, .fc-front, .fc-back { border-radius: 18px; } .fc-front { font-size: 18px; } .fc-front img { width: 44px; height: 44px; border-radius: 11px; } }
.prod-hero .wrap { position: relative; z-index: 2; } .fold-body { transform: translateZ(0); }
.letter { inset: 5% 6% 0 6%; gap: 8px; font-size: 13.5px; line-height: 1.5; text-align: justify; hyphens: auto; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.letter p { margin: 0; }
.letter .lh { text-align: left; }
@media (max-width: 720px) { .letter { font-size: 9px; line-height: 1.4; gap: 4px; } .letter .lh { font-size: 14px; } }
.letter { font-size: clamp(9px, 1.25vw, 16.5px); line-height: 1.55; gap: 10px; }
/* iPad: aufrichten, aufwachen, hineinfahren */
.devstage { --t: 0; --w: 0; --b: 0; --z: 0; position: relative; height: 290vh; margin-top: -40px; }
.dev-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.dev-scene { position: relative; width: min(980px, 86vw, calc((100vh - 200px) * 1.387)); perspective: 1800px; perspective-origin: 50% 30%; transform: translateY(calc(-30px * var(--z))) scale(calc(1 + (var(--zs, 1.6) - 1) * var(--z))); transform-origin: 50% 46%; will-change: transform; }
.dev-ipad { position: relative; aspect-ratio: 1.387; border-radius: 6.4% / 8.9%; background: linear-gradient(160deg, #3a3940 0%, #1c1b20 45%, #121116 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 5px #0d0c10, 0 1px 0 rgba(255,255,255,.08); transform-style: preserve-3d; transform-origin: 50% 85%; transform: translateY(calc(70px * (1 - var(--t)))) rotateX(calc(66deg * (1 - var(--t)))) scale(calc(.82 + .18 * var(--t))); }
.dev-screen { position: absolute; inset: 4.4% 3.3%; border-radius: 4.2% / 6%; overflow: hidden; background: #F4F2F8; }
.dev-status { position: absolute; top: 0; left: 0; right: 0; height: 4.2%; display: flex; justify-content: space-between; align-items: center; padding: 0 2.4%; font: 600 clamp(7px, .9vw, 12px)/1 var(--font); color: #1c1b20; opacity: var(--w); }
.dev-app { position: absolute; left: 0; right: 0; top: 4.2%; }
.dev-app img { display: block; width: 100%; height: auto; }
.veil { position: absolute; background: #F4F2F8; }
.veil.v1 { left: 0; right: 0; top: 0; height: 13.5%; opacity: calc(1 - min(1, var(--b) * 4)); }
.veil.v2 { left: 0; right: 0; top: 13.5%; height: 22.5%; opacity: calc(1 - min(1, max(0, var(--b) * 4 - 1))); }
.veil.v3 { left: 0; width: 36.5%; top: 36%; bottom: 0; opacity: calc(1 - min(1, max(0, var(--b) * 4 - 2))); }
.veil.v4 { left: 36.5%; right: 0; top: 36%; bottom: 0; opacity: calc(1 - min(1, max(0, var(--b) * 4 - 3))); }
.dev-app::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40vh; background: #F4F2F8; }
.dev-wake { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #fff; font: 600 clamp(16px, 2.4vw, 30px) var(--font); color: var(--ink); letter-spacing: -0.02em; opacity: calc(min(1, var(--w) * 3) * (1 - min(1, max(0, var(--w) * 3 - 2)))); }
.dev-wake img { width: 22%; max-width: 96px; height: auto; border-radius: 22%; box-shadow: 0 12px 30px rgba(74,37,133,.25); transform: scale(calc(.8 + .2 * min(1, var(--w) * 2))); }
.dev-black { position: absolute; inset: 0; background: #08070a; opacity: calc(1 - min(1, var(--w) * 3)); }
.dev-home { position: absolute; left: 50%; bottom: 1.4%; width: 18%; height: .6%; min-height: 3px; border-radius: 99px; background: rgba(28,27,32,.35); transform: translateX(-50%); }
.dev-shadow { position: absolute; left: 4%; right: 4%; bottom: calc(-10px - 50px * (1 - var(--t))); height: calc(30px + 60px * (1 - var(--t))); border-radius: 50%; background: radial-gradient(closest-side, rgba(44,26,74,calc(.32 - .12 * var(--t))), transparent); filter: blur(8px); opacity: calc(1 - var(--z)); }
.dev-cap { position: absolute; left: 0; right: 0; bottom: 7vh; text-align: center; font: 600 clamp(20px, 2.4vw, 32px)/1.2 var(--font); letter-spacing: -0.02em; color: var(--ink); pointer-events: none; }
.dev-cap span { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.devstage[data-phase="1"] .c1, .devstage[data-phase="2"] .c2, .devstage[data-phase="3"] .c3 { opacity: 1; transform: none; }
@media (max-width: 720px) { .devstage { height: 210vh; } .dev-scene { width: 92vw; } .dev-cap { bottom: 12vh; } }
@media (prefers-reduced-motion: reduce) { .devstage { height: auto; padding-block: 40px; } .dev-sticky { position: static; height: auto; } .dev-cap { display: none; } }
.dev-sticky { padding-top: 110px; box-sizing: border-box; }
.dev-scene { width: min(980px, 86vw, calc((100vh - 260px) * 1.387)); }
.dev-cap { bottom: 4vh; }
.dev-cap span { transition: none; }
.devstage[data-phase="1"] .c1, .devstage[data-phase="2"] .c2, .devstage[data-phase="3"] .c3 { transition: opacity .45s ease, transform .45s ease; }
@media (max-width: 720px) { .dev-sticky { padding-top: 90px; } .dev-scene { width: 92vw; } }
/* iPad mit Smart-Folio-Hülle */
.folio { --t: 0; --o: 0; --f: 0; position: relative; height: 230vh; margin-top: -40px; }
.fo-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding-top: 100px; box-sizing: border-box; overflow: hidden; }
.fo-scene { position: relative; width: min(900px, 80vw, calc((100vh - 200px) * 1.302)); perspective: 2200px; perspective-origin: 30% 40%; }
.fo-ipad { position: relative; aspect-ratio: 940 / 722; transform-style: preserve-3d; transform-origin: 50% 90%; transform: translateY(calc(60px * (1 - var(--t)))) rotateX(calc(58deg * (1 - var(--t)))) scale(calc(.84 + .16 * var(--t))); }
.fo-ipad > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 40px 60px rgba(44,26,74,.22)); }
.fo-cover { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(2px); }
.fo-s { position: absolute; top: 0; bottom: 0; width: 33.334%; transform-style: preserve-3d; transform-origin: 0 50%; }
.fo-s.s1 { left: 0; transform: rotateY(calc(-176deg * var(--o))); }
.fo-s.s2, .fo-s.s3 { left: 100%; width: 100%; transform: rotateY(calc(28deg * var(--f))); }
.fo-f, .fo-b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fo-f { background: linear-gradient(160deg, #7444c4 0%, #6B38BB 40%, #5a2ea3 100%); box-shadow: inset 1px 0 0 rgba(255,255,255,.10), inset -1px 0 0 rgba(0,0,0,.18); }
.fo-b { transform: rotateY(180deg); background: linear-gradient(160deg, #3B2162, #2C1A4A); box-shadow: inset 1px 0 0 rgba(255,255,255,.06); }
.s1 > .fo-f { border-radius: 5.2% 0 0 5.2% / 6.8% 0 0 6.8%; border-radius: 34px 0 0 34px; }
.s1 > .fo-b { border-radius: 0 34px 34px 0; }
.s3 > .fo-f { border-radius: 0 34px 34px 0; }
.s3 > .fo-b { border-radius: 34px 0 0 34px; }
.fo-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; font: 600 clamp(18px, 2.4vw, 30px)/1 var(--font); letter-spacing: -0.02em; white-space: nowrap; }
.fo-logo img { width: clamp(48px, 7vw, 84px); height: auto; border-radius: 22%; box-shadow: 0 14px 34px rgba(20,8,40,.35); }
.fo-by { position: absolute; top: 9%; right: 13%; font: 500 clamp(10px, 1.1vw, 14px)/1 var(--font); color: rgba(255,255,255,.82); letter-spacing: .02em; white-space: nowrap; }
.fo-shadow { position: absolute; left: 6%; right: 6%; bottom: calc(-14px - 40px * (1 - var(--t))); height: calc(30px + 50px * (1 - var(--t))); border-radius: 50%; background: radial-gradient(closest-side, rgba(44,26,74,.28), transparent); filter: blur(8px); }
@media (max-width: 720px) { .folio { height: 180vh; } .fo-scene { width: 92vw; } .s1 > .fo-f, .s3 > .fo-b { border-radius: 16px 0 0 16px; } .s1 > .fo-b, .s3 > .fo-f { border-radius: 0 16px 16px 0; } }
@media (prefers-reduced-motion: reduce) { .folio { height: auto; padding-block: 40px; } .fo-sticky { position: static; height: auto; } }
.fo-scene { width: min(880px, 80vw, calc((100vh - 250px) * 1.302)); perspective-origin: 45% 40%; }
.fo-ipad { aspect-ratio: 1.43; }
.fo-dev { position: absolute; inset: 0; background: #1d1b22; border-radius: 34px; padding: 2.4%; box-shadow: inset 0 0 0 2px #3a3742, 0 40px 60px rgba(44,26,74,.22); }
.fo-scr { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #EAE6F3; display: flex; align-items: center; }
.fo-scr img { width: 100%; height: auto; display: block; }
.fo-scene { width: min(900px, 80vw, calc((100vh - 250px) * 1.43)); }
@media (max-width: 720px) { .fo-dev { border-radius: 16px; } .fo-scr { border-radius: 6px; } .fo-scene { width: 92vw; } }
.fo-logo { gap: 12px; }
.fo-by2 { margin-top: -2px; font: 500 clamp(13px, 1.6vw, 20px)/1 var(--font); color: rgba(255,255,255,.85); letter-spacing: .01em; }
/* Neu in DocPad: schlichte Liste ohne Kästen */
.rels { border-top: 1px solid var(--line, #e6e2ee); max-width: 860px; }
.rel { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line, #e6e2ee); }
.rel-v strong { display: block; font-size: 20px; letter-spacing: -0.01em; }
.rel-v span { color: var(--muted, #5b5668); font-size: 15px; }
.rel-l { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; }
@media (max-width: 720px) { .rel { grid-template-columns: 1fr; gap: 10px; } }
/* Schlichte Spalten ohne Kästen */
.plain3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--line, #e6e2ee); padding-top: 28px; }
.plain3 .h3 { margin-bottom: 10px; }
.plain3 p { color: var(--ink-2, #3d3848); line-height: 1.55; }
.morelinks { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.morelinks a { font-weight: 600; color: var(--night, #4A2585); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.factlist { margin-top: 14px; padding-left: 18px; display: grid; gap: 8px; line-height: 1.5; }
@media (max-width: 860px) { .plain3 { grid-template-columns: 1fr !important; gap: 24px; } }
.secure-tiles .tile:first-child { grid-column: 1 / -1; }
/* Ablauf eines Pilots */
.pilot { max-width: 1040px; }
.pl-bar { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--line, #e6e2ee); }
.pl-bar button { all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box; padding: 14px 10px 0 0; margin-top: -2px; border-top: 2px solid transparent; font-size: 14px; line-height: 1.3; color: var(--muted, #5b5668); }
.pl-bar button span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.pl-bar button:hover { color: var(--ink, #191622); }
.pl-bar button[aria-current="step"] { border-top-color: var(--night-2, #6B38BB); color: var(--ink, #191622); font-weight: 600; }
.pl-bar button[aria-current="step"] span { color: var(--night-2, #6B38BB); }
.pl-bar button:focus-visible { outline: 2px solid var(--night-2, #6B38BB); outline-offset: 4px; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.pl-step h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pl-n { color: var(--night-2, #6B38BB); }
.pl-when { font-size: 14px; font-weight: 500; color: var(--muted, #5b5668); }
.pl-step ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: 17px; line-height: 1.55; max-width: 760px; }
.pl-week { margin-top: 40px; }
.pl-wt { font-weight: 600; margin-bottom: 14px; }
.pl-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line, #e6e2ee); margin-bottom: 14px; }
.pl-day { padding: 16px 18px 18px 0; border-right: 1px solid var(--line, #e6e2ee); margin-right: 18px; transition: opacity .3s ease; }
.pl-day:last-child { border-right: 0; margin-right: 0; }
.pl-dh { margin-bottom: 12px; }
.pl-dh strong { display: block; color: var(--night-2, #6B38BB); }
.pl-lane { font-size: 15px; line-height: 1.45; margin-top: 8px; }
.pl-lane span { display: block; font-size: 13px; font-weight: 600; color: var(--muted, #5b5668); }
.pilot.js .pl-step { display: none; }
.pilot.js .pl-step.on { display: block; }
.pilot.js .pl-week { display: none; }
.pilot.js.week .pl-week { display: block; }
.pilot.js .pl-day { opacity: .38; }
.pilot.js .pl-day.on { opacity: 1; }
@media (max-width: 860px) {
  .pl-bar { display: none !important; }
  .pilot.js .pl-step { display: block; }
  .pilot.js .pl-week { display: block; }
  .pilot.js .pl-day { opacity: 1; }
  .pl-days { grid-template-columns: 1fr; }
  .pl-day { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line, #e6e2ee); }
}
/* Sicherheit: ohne Kästen, nur Text und Linien */
.plainpage .toc { gap: 6px 22px; }
.plainpage .toc a { min-height: 0; padding: 0; border-radius: 0; box-shadow: none; background: none; font-weight: 500; color: var(--night, #4A2585); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(74,37,133,.35); }
.plainpage .toc a:hover { box-shadow: none; text-decoration-color: currentColor; }
.plainpage .facts-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.plainpage .facts-list li { background: none; border-radius: 0; box-shadow: none; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; transition: none; }
.plainpage .facts-list li:hover { transform: none; box-shadow: none; }
.plainpage .facts-list strong { font-size: 17px; }
.plainpage .facts-list span { font-size: 16px; line-height: 1.5; }
.plainpage .docs { background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
.plainpage .docs li { padding: 16px 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.plainpage .docs .pill { background: none; box-shadow: none; padding: 0; min-height: 0; font-size: 14px; font-weight: 500; color: var(--ink-3); }
@media (max-width: 720px) { .plainpage .facts-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Formular: Schutzfeld gegen Spam und Fehlermeldung */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8A1C1C; font-size: 15px; }
/* Schulung: Videos */
.vsearch input { width: 100%; max-width: 520px; margin-top: 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font: 400 16px/1.2 var(--font); background: var(--surface, #fff); }
.vchap { padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.vchap-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vbtn { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.vbtn:focus-visible { outline: 2px solid var(--night-2); outline-offset: 4px; border-radius: 12px; }
.vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #EAE6F3; display: grid; place-items: center; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: relative; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--night); display: grid; place-items: center; }
.vdur { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(25,22,34,.72); color: #fff; font-size: 13px; }
.vtitle { font-weight: 600; font-size: 16px; line-height: 1.35; }
.vtext { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.vbtn:hover .vtitle { color: var(--night); }
.vdialog { border: 0; padding: 0; background: transparent; width: min(960px, 94vw); }
.vdialog::backdrop { background: rgba(20,12,36,.72); }
.vdbox { background: #111; border-radius: 14px; overflow: hidden; }
.vdhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; color: #fff; font-size: 15px; }
.vdclose { all: unset; cursor: pointer; font-size: 26px; line-height: 1; padding: 0 6px; color: #fff; }
.vdbox video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 860px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }

/* ===== PI Health: Farben und Schrift wie pi-health.de (Mischung: dunkler Kopf, helle Inhalte) ===== */
:root {
  --bg: #F7F5FF; --surface: #FFFFFF; --tint: #F0EEFE; --line: #DDD9F5;
  --ink: #1A1433; --ink-2: #4A4468; --ink-3: #6B6585;
  --accent: #6E5FC8; --accent-deep: #5B4FB8; --chip: #6E5FC8;
  --night: #1A1547; --night-2: #6E5FC8; --night-3: #9D92DC;
  --on-night: #FFFFFF; --on-night-2: #C9BEF0;
  --pi-head: rgba(4, 24, 40, .96); --pi-hero: linear-gradient(180deg, #0E0A2E 0%, #1A1547 100%);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif; --mono: "Inter", "Helvetica Neue", Arial, sans-serif;
}
.label { letter-spacing: .06em; }
/* Kopfzeile dunkel */
.nav { background: var(--pi-head); border-bottom-color: transparent; }
.nav.scrolled { border-bottom-color: rgba(255,255,255,.08); }
.nav .menu > li > a, .nav .menu > li > button, .nav .brand { color: #fff; }
.nav .menu > li > a:hover, .nav .menu > li > button:hover { color: var(--on-night-2); }
.nav .lang { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.nav .lang a { color: var(--on-night-2); }
.nav .lang a[aria-current="true"] { background: var(--accent); color: #fff; }
.nav .burger span { background: #fff; }
.brand { gap: 10px; font-weight: 700; }
.brand .pi-mark { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #7C6FCD, #C9BEF0); color: #fff; display: inline-grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.brand .pi-name { color: #fff; font-size: 19px; }
.brand .pi-name em { font-style: normal; color: var(--on-night-2); font-weight: 600; }
/* Kopfbereiche dunkel */
.hero, .page-hero, .prod-hero, .aud-hero { background: var(--pi-hero); color: #fff; }
.hero .lead, .page-hero .lead, .prod-hero .lead, .aud-hero .lead { color: var(--on-night-2); }
.hero .label, .page-hero .label, .prod-hero .label, .aud-hero .label, .hero .small, .page-hero .small, .aud-hero .small { color: var(--on-night-2); }
.hero .btn-ghost, .page-hero .btn-ghost, .prod-hero .btn-ghost, .aud-hero .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .prod-hero .btn-ghost:hover, .aud-hero .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.page-hero a:not(.btn), .aud-hero a:not(.btn) { color: #fff; }
.plainpage .toc a, .page-hero .toc a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.page-hero { padding-block: 80px 64px; margin-bottom: 40px; }
.hero { padding-bottom: 56px; }
.hero .tick { color: var(--on-night-2); }
.hero .tick.on { color: #fff; }
.prod-hero + .folio { background: linear-gradient(180deg, #1A1547 0%, var(--bg) 38%); }
.page-hero .display, .aud-hero .display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.edate { background: #6E5FC8; } .edate small { opacity: 1; }
.needs.float-needs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.float-needs .need { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 28px; border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(26, 21, 71, .10); animation: needfloat 6s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.float-needs .need strong { font-size: 18px; color: var(--ink); }
.float-needs .need span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.need-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #6E5FC8; background: linear-gradient(145deg, #F1EEFF, #E4DEFA); margin-bottom: 6px; }
.need-ic svg { width: 30px; height: 30px; }
@keyframes needfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .needs.float-needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .needs.float-needs { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .float-needs .need { animation: none; } }
.sstep { opacity: 1 !important; } .sstep:not(.on) .h3, .sstep:not(.on) p { color: #6B6680; } .sstep.on .h3 { color: var(--ink); }
/* Einführung: Symbole und iPad */
.needs-x { background: radial-gradient(1200px 600px at 75% 30%, #2A2170 0%, rgba(42,33,112,0) 60%), linear-gradient(160deg, #0E0A2E 0%, #1A1547 100%); color: #fff; overflow: hidden; }
.needs-x .label { color: #B9B0F0; }
.needs-x .h2 { color: #fff; }
.needs-x .lead { color: #CFC9F2; max-width: 560px; }
.nx-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.nx { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.nx-bar { display: flex; flex-direction: column; gap: 14px; }
.nb { display: flex; align-items: center; gap: 18px; padding: 10px 14px 10px 10px; border: 0; border-radius: 22px; background: transparent; color: #E9E6FF; cursor: pointer; text-align: left; font: 600 18px/1.2 var(--font); transition: background .3s ease, transform .3s ease; animation: nbfloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.nb:hover { background: rgba(255,255,255,.06); }
.nb:focus-visible { outline: 2px solid #B9B0F0; outline-offset: 3px; }
.nb[aria-selected="true"] { background: rgba(255,255,255,.10); }
.nb-tile { position: relative; flex: 0 0 auto; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 12px 30px rgba(0,0,0,.25); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease; }
.nb-tile .ni { width: 40px; height: 40px; }
.nb[aria-selected="true"] .nb-tile { transform: scale(1.08); background: linear-gradient(145deg, #8F82E6, #5B4CC4); box-shadow: 0 0 0 6px rgba(143,130,230,.18), 0 18px 40px rgba(91,76,196,.55); }
.nb-name { opacity: .8; }
.nb[aria-selected="true"] .nb-name { opacity: 1; }
@keyframes nbfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ni .fill { fill: currentColor; fill-opacity: .18; }
.ni .dot { fill: currentColor; stroke: none; }
.nx-ipad { perspective: 1400px; }
.nx-bezel { position: relative; aspect-ratio: 1.43; border-radius: 34px; padding: 18px; background: linear-gradient(160deg, #3a3940 0%, #1c1b20 45%, #121116 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 90px rgba(0,0,0,.45); transform: rotateY(-6deg) rotateX(3deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.nx-ipad:hover .nx-bezel { transform: rotateY(0) rotateX(0); }
.nx-screen { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #F7F5FF; color: var(--ink); }
.np { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); animation: npin .55s cubic-bezier(.2,.8,.2,1); }
.np[hidden] { display: none; }
@keyframes npin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.np-art { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #EDE9FF 0%, #DCD4FB 55%, #C9BEF6 100%); color: #5B4CC4; }
.np-art .ni.big { width: 46%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 14px 24px rgba(91,76,196,.28)); }
.np-ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(91,76,196,.25); animation: ring 3.2s ease-out infinite; }
.np-ring.two { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.np-text { padding: 9% 8% 8% 7%; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.np-step { font: 600 13px/1 var(--mono, monospace); color: #6E5FC8; letter-spacing: .08em; }
.np-text .h3 { font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); }
.np-text p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.np-text ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.np-text li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); animation: npin .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--j) * .12s); }
.np-text li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #6E5FC8; box-shadow: inset 0 0 0 4px #E4DEFA; }
/* Bewegung der großen Symbole */
.np-wlan .w1, .np-wlan .w2, .np-wlan .w3 { animation: wave 2.4s ease-in-out infinite; }
.np-wlan .w2 { animation-delay: .25s; } .np-wlan .w3 { animation-delay: .5s; }
@keyframes wave { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.np-pvs .flow { stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; }
.np-pvs .flow.r { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.np-sprache .spin { transform-origin: 32px 32px; animation: spin 5s ease-in-out infinite; }
@keyframes spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.2); } }
.np-schulung .ni.big { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
.np-ipad .fill { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { fill-opacity: .12; } 50% { fill-opacity: .45; } }
@media (max-width: 980px) {
  .nx { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nx-bar { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .nb { flex-direction: column; gap: 8px; padding: 8px; font-size: 14px; animation: none; text-align: center; }
  .nb-tile { width: 60px; height: 60px; border-radius: 18px; }
  .nb-tile .ni { width: 32px; height: 32px; }
  .nx-bezel { aspect-ratio: auto; transform: none; padding: 12px; border-radius: 26px; }
  .nx-screen { height: auto; min-height: 520px; }
  .np { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: 170px auto; }
  .np-art .ni.big { width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .nb, .np, .np-text li, .np-ring, .np-art *, .np-art .ni.big { animation: none !important; }
  .nx-bezel { transform: none; }
}
/* Brücke PVS und DocPad */
.bridge { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); align-items: center; gap: 0; padding: 40px; border-radius: 32px; background: linear-gradient(160deg, #F7F5FF, #EEEAFE); box-shadow: inset 0 0 0 1px #E2DCF8; }
.br-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; border-radius: 26px; background: #fff; box-shadow: 0 20px 50px rgba(26,21,71,.10); position: relative; z-index: 2; }
.br-ic { width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; }
.br-pvs .br-ic { background: linear-gradient(145deg, #4B4566, #2A2540); }
.br-dp .br-ic { background: linear-gradient(145deg, #8F82E6, #5B4CC4); box-shadow: 0 14px 30px rgba(91,76,196,.4); }
.br-ic svg { width: 42px; height: 42px; }
.br-node strong { font-size: 22px; color: var(--ink); }
.br-sub { color: var(--ink-2); font-size: 15px; }
.br-node ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.br-node li { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--tint, #F1EEFF); color: var(--ink); }
.br-span { position: relative; display: flex; flex-direction: column; gap: 30px; padding: 0 6px; }
.br-arch { position: absolute; left: -10px; right: -10px; top: 50%; height: 90px; transform: translateY(-50%); border-radius: 50%; border-top: 2px dashed rgba(110,95,200,.25); pointer-events: none; }
.br-lane { display: flex; flex-direction: column; gap: 8px; }
.br-lane.back { flex-direction: column-reverse; }
.br-tag { align-self: center; font: 600 13px/1.2 var(--font); color: #5B4CC4; background: #fff; padding: 7px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(26,21,71,.08); text-align: center; }
.br-lane.back .br-tag { color: #2A2540; }
.br-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(42,37,64,.18), rgba(110,95,200,.28)); overflow: hidden; }
.br-track i { position: absolute; top: 1px; left: 0; width: 26px; height: 8px; border-radius: 999px; background: #6E5FC8; box-shadow: 0 0 12px rgba(110,95,200,.8); animation: brgo 3.2s linear infinite; animation-delay: calc(var(--k) * -.8s); }
.br-lane.back .br-track i { background: #2A2540; box-shadow: 0 0 10px rgba(42,37,64,.5); animation-name: brback; }
@keyframes brgo { from { transform: translateX(-30px); } to { transform: translateX(calc(var(--bw, 380px) + 10px)); } }
@keyframes brback { from { transform: translateX(calc(var(--bw, 380px) + 10px)); } to { transform: translateX(-30px); } }
.br-note { grid-column: 1 / -1; text-align: center; margin-top: 28px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .bridge { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 18px; }
  .br-span { flex-direction: row; justify-content: center; gap: 18px; padding: 6px 0; }
  .br-arch { display: none; }
  .br-lane, .br-lane.back { flex-direction: row; align-items: center; gap: 10px; }
  .br-track { width: 10px; height: 90px; background: linear-gradient(180deg, rgba(42,37,64,.18), rgba(110,95,200,.28)); }
  .br-track i { width: 8px; height: 22px; left: 1px; top: 0; animation-name: brdown; }
  .br-lane.back .br-track i { animation-name: brup; }
  .br-tag { font-size: 12px; max-width: 120px; }
  @keyframes brdown { from { transform: translateY(-26px); } to { transform: translateY(100px); } }
  @keyframes brup { from { transform: translateY(100px); } to { transform: translateY(-26px); } }
}
@media (prefers-reduced-motion: reduce) { .br-track i { animation: none; left: 45%; } }
/* Team als Mosaik mit Wendekacheln */
.profiles.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mtile { perspective: 1200px; aspect-ratio: 4 / 5; cursor: pointer; border-radius: 26px; }
.mtile:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.mt-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.mtile.flip .mt-in { transform: rotateY(180deg); }
@media (hover: hover) { .mtile:hover .mt-in { transform: rotateY(180deg); } }
.mt-front, .mt-back { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 22px 50px rgba(26,21,71,.14); }
.mt-front .pfoto { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top center; display: block; }
.mt-front .pfoto.noimg { display: grid; place-items: center; background: linear-gradient(160deg, #1A1547, #2A2170); color: #fff; font: 600 56px/1 var(--font); }
.mt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, rgba(14,10,46,0) 0%, rgba(14,10,46,.88) 70%); color: #fff; }
.mt-cap .h3 { color: #fff; font-size: 21px; }
.mt-cap .role { color: #D8D2FA; font-size: 14px; margin-top: 4px; }
.mt-back { transform: rotateY(180deg); background: linear-gradient(160deg, #1A1547 0%, #2A2170 100%); color: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.mt-back .h3 { color: #fff; font-size: 20px; }
.mt-back .role { color: #B9B0F0; font-size: 14px; }
.mt-back .pcols { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.mt-back .label { color: #B9B0F0; font-size: 11px; }
.mt-back ul { margin: 6px 0 0; padding-left: 16px; display: flex; flex-direction: column; gap: 5px; }
.mt-back li { font-size: 13.5px; line-height: 1.4; color: #EDEAFF; }
.mt-back .pill { align-self: flex-start; margin-top: auto; background: rgba(255,255,255,.12); color: #fff; }
@media (prefers-reduced-motion: reduce) { .mt-in { transition: none; } }
/* Glossar als Lexikon */
.lex .az { position: sticky; top: 118px; z-index: 5; gap: 6px; padding: 10px 0 14px; background: linear-gradient(180deg, var(--bg, #fff) 70%, rgba(255,255,255,0)); }
.lex .az a, .lex .az span { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
.lex .az a { background: #F1EEFF; transition: transform .2s ease, background .2s ease, color .2s ease; }
.lex .az a:hover { transform: translateY(-2px); }
.lex .az a.on { background: #5B4CC4; color: #fff; box-shadow: 0 8px 18px rgba(91,76,196,.35); }
.lex .gletter { position: relative; grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
.lex .gl { position: absolute; right: 0; top: -10px; font-size: 140px; line-height: 1; color: #EEEAFE; z-index: 0; pointer-events: none; padding: 0; }
.lex .gletter dl { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lex .term { cursor: pointer; padding: 18px 20px; background: #fff; transition: box-shadow .25s ease, transform .25s ease, background .25s ease; }
.lex .term:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26,21,71,.10); }
.lex .term dt { justify-content: space-between; }
.lex .term dt::after { content: "+"; font: 500 22px/1 var(--font); color: #6E5FC8; transition: transform .3s ease; }
.lex .term dd { display: none; }
.lex .term.open { grid-column: 1 / -1; background: linear-gradient(160deg, #FFFFFF, #F4F1FF); box-shadow: inset 0 0 0 2px #CFC7F6, 0 18px 40px rgba(26,21,71,.10); transform: none; }
.lex .term.open dt::after { transform: rotate(45deg); }
.lex .term.open dd { display: flex; animation: npin .4s cubic-bezier(.2,.8,.2,1); }
.lex .rel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.lex .rel span { font: 600 12px/1 var(--mono, monospace); color: #6E5FC8; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.lex .rel a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: #EDE9FF; color: #3E2F9E; text-decoration: none; }
.lex .rel a:hover { background: #5B4CC4; color: #fff; }
@media (max-width: 760px) { .lex .gletter dl { grid-template-columns: minmax(0, 1fr); } .lex .gl { font-size: 90px; } .lex .az { top: 104px; } }
.lex .term dt { justify-content: flex-start; } .lex .term dt::after { margin-left: auto; }
/* Drei gute Gründe: Zettel links, DocPad rechts */
.zd-sec { background: linear-gradient(180deg, #F7F5FF 0%, #EFEBFF 100%); overflow: hidden; }
.zd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 10px; }
.zd-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.zd-tab { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 12px 20px 12px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 16px/1 var(--font); box-shadow: 0 6px 18px rgba(26,21,71,.08); transition: background .25s ease, color .25s ease, transform .25s ease; }
.zd-tab:hover { transform: translateY(-2px); }
.zd-tab[aria-selected="true"] { background: #5B4CC4; color: #fff; box-shadow: 0 12px 28px rgba(91,76,196,.35); }
.zd-tab:focus-visible { outline: 3px solid #B9B0F0; outline-offset: 3px; }
.zd-n { font: 600 12px/1 var(--mono, monospace); opacity: .7; }
.zd-stage { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); align-items: center; max-width: 900px; margin: 0 auto; width: 100%; }
.zd-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.zd-badge { font: 600 12px/1 var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.zd-badge.before { background: #E9E4D6; color: #5B5341; }
.zd-badge.after { background: #5B4CC4; color: #fff; }
.zd-paper { position: relative; width: min(300px, 100%); aspect-ratio: 3 / 4; padding: 46px 26px 26px 34px; background: repeating-linear-gradient(180deg, #FFFDF5 0 33px, #DCE6F4 33px 34px), #FFFDF5; border-radius: 6px; box-shadow: 0 30px 60px rgba(60,48,20,.18), 0 2px 0 #EAE3CC; transform: rotate(-3deg); font-family: "Bradley Hand", "Segoe Print", "Noteworthy", "Chalkboard SE", "Comic Sans MS", cursive; color: #2B3A67; }
.zd-paper::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1.5px; background: #F0A9A9; }
.zd-tape { position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(3deg); background: rgba(240,226,170,.75); box-shadow: 0 2px 4px rgba(0,0,0,.06); }
.zd-ring { position: absolute; right: 18px; bottom: 22px; width: 74px; height: 74px; border-radius: 50%; border: 6px solid rgba(140,96,50,.14); transform: rotate(12deg); }
.zd-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.zd-lines li { font-size: clamp(16px, 1.6vw, 20px); line-height: 34px; transform: rotate(calc((var(--j) - 2) * .6deg)); animation: scrib .5s ease both; animation-delay: calc(var(--j) * .08s); }
.zd-lines li:nth-child(2n) { padding-left: 14px; }
.zd-lines s { text-decoration-thickness: 2px; text-decoration-color: #C0392B; }
.zd-lines b { color: #C0392B; font-weight: 700; }
@keyframes scrib { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; } }
.zd-stage.go .zd-lines li { animation: flyout .7s cubic-bezier(.6,0,.4,1) both; animation-delay: calc(var(--j) * .05s); }
@keyframes flyout { to { opacity: 0; transform: translateX(160px) scale(.6); filter: blur(2px); } }
.zd-flow { position: relative; height: 60px; }
.zd-flow i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 3px; background: #8F82E6; opacity: 0; }
.zd-stage.go .zd-flow i { animation: bits .9s cubic-bezier(.4,0,.2,1) both; }
.zd-flow i:nth-child(2) { animation-delay: .08s !important; top: 30%; } .zd-flow i:nth-child(3) { animation-delay: .16s !important; top: 70%; } .zd-flow i:nth-child(4) { animation-delay: .24s !important; top: 40%; } .zd-flow i:nth-child(5) { animation-delay: .32s !important; top: 60%; }
@keyframes bits { 0% { opacity: 0; transform: translateX(0) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(130px) rotate(180deg); border-radius: 50%; } }
.zd-flow::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, #B9B0F0 0 8px, transparent 8px 16px); animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 32px 0; } }
.zd-ipad { width: min(300px, 100%); aspect-ratio: 3 / 4.15; padding: 14px; border-radius: 34px; background: linear-gradient(160deg, #3a3940 0%, #1c1b20 45%, #121116 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 34px 70px rgba(26,21,71,.30); transform: rotate(2deg); }
.zd-screen { height: 100%; border-radius: 22px; overflow: hidden; background: #F7F5FF; position: relative; }
.zd-scr { position: absolute; inset: 0; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; animation: npin .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: .25s; }
.zd-scr[hidden] { display: none; }
.zd-sh { display: flex; flex-direction: column; gap: 3px; font: 600 15px/1.2 var(--font); color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid #E4DEFA; }
.zd-sh span { font: 500 11.5px/1.3 var(--font); color: #6E5FC8; }
.zd-cap { margin-top: auto; font-size: 12.5px; line-height: 1.4; color: #5B4CC4; background: #EDE9FF; padding: 8px 10px; border-radius: 12px; }
.zd-tree { width: 100%; height: auto; }
.zd-tree g circle { fill: #fff; stroke: #DAD4F2; stroke-width: .6; }
.zd-tree g.on circle { stroke: #8F82E6; stroke-width: .9; }
.zd-tree text { font: 600 3.4px/1 var(--font); fill: #7A7590; text-anchor: middle; }
.zd-tree g.on text { fill: #3E2F9E; }
.zd-tree .halo { fill: #FFF6D8; }
.zd-tree .hub { fill: #5B4CC4; }
.zd-tree .arms line { stroke: #6E5FC8; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: arm .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.45s + var(--d)); }
@keyframes arm { to { stroke-dashoffset: 0; } }
.zd-vit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zd-vit div { background: #fff; border-radius: 12px; padding: 9px 10px; box-shadow: inset 0 0 0 1px #E4DEFA; display: flex; flex-direction: column; gap: 2px; animation: npin .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.45s + var(--j) * .09s); }
.zd-vit span { font: 600 10.5px/1 var(--mono, monospace); color: #6E5FC8; }
.zd-vit strong { font-size: 19px; color: var(--ink); }
.zd-vit em { font-style: normal; font-size: 11px; color: var(--ink-2); }
.zd-sig { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font); color: #2E7D4F; }
.zd-sig span { width: 16px; height: 16px; border-radius: 50%; background: #2E7D4F; box-shadow: inset 0 0 0 4px #D7F0E1; }
.zd-time { list-style: none; margin: 0; padding: 0 0 0 16px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.zd-time::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: #DAD4F2; }
.zd-time li { position: relative; background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1px #E4DEFA; display: flex; flex-direction: column; gap: 3px; animation: npin .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.45s + var(--j) * .15s); }
.zd-time li::before { content: ""; position: absolute; left: -17px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #00B3D6; }
.zd-time li.amb::before { background: #F28C28; } .zd-time li.now::before { background: #5B4CC4; box-shadow: 0 0 0 4px rgba(91,76,196,.2); }
.zd-time span { font: 600 10.5px/1 var(--mono, monospace); color: #6E5FC8; text-transform: uppercase; letter-spacing: .05em; }
.zd-time strong { font-size: 14px; color: var(--ink); }
.zd-texts { max-width: 640px; margin: 0 auto; text-align: center; }
.zd-txt { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: npin .5s cubic-bezier(.2,.8,.2,1); }
.zd-txt[hidden] { display: none; }
.zd-txt .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.zd-txt p { color: var(--ink-2); font-size: 18px; }
.zd-go { font-weight: 600; color: #5B4CC4; text-decoration: none; }
.zd-go:hover { text-decoration: underline; }
.zd-note { text-align: center; }
@media (max-width: 720px) {
  .zd-stage { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .zd-paper { padding: 34px 12px 14px 20px; } .zd-lines li { font-size: 13px; line-height: 24px; } .zd-paper { background: repeating-linear-gradient(180deg, #FFFDF5 0 23px, #DCE6F4 23px 24px), #FFFDF5; }
  .zd-ipad { padding: 8px; border-radius: 22px; } .zd-scr { padding: 10px 9px; gap: 8px; } .zd-sh { font-size: 12px; } .zd-sh span { font-size: 9.5px; }
  .zd-vit strong { font-size: 14px; } .zd-vit div { padding: 6px; } .zd-time strong { font-size: 11.5px; } .zd-cap { font-size: 10.5px; }
  .zd-tab { padding: 10px 14px 10px 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .zd *, .zd-stage.go * { animation: none !important; } .zd-tree .arms line { stroke-dashoffset: 0; } .zd-flow::after { animation: none; } }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-500.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
.zd-paper { font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive; }
.zd-lines li { font-size: clamp(20px, 2vw, 25px); }
@media (max-width: 720px) { .zd-lines li { font-size: 16px; } }
.zd-n { opacity: 1; }
.lex .term dt::after { content: none; }
.lex .tbtn { all: unset; box-sizing: border-box; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 19px; color: var(--ink); }
.lex .tbtn::after { content: "+"; margin-left: auto; font: 500 22px/1 var(--font); color: #6E5FC8; transition: transform .3s ease; }
.lex .term.open .tbtn::after { transform: rotate(45deg); }
.lex .tbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.mtile { cursor: default; }
.mt-flip { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; border-radius: 26px; }
.mt-flip:focus-visible, .mt-back-btn:focus-visible { outline: 3px solid #B9B0F0; outline-offset: -4px; }
.mt-back-btn { align-self: flex-end; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; font: 600 13px/1 var(--font); padding: 8px 12px; border-radius: 999px; }
.mtile:not(.flip) .mt-back { visibility: hidden; transition: visibility 0s .35s; }
.mtile.flip .mt-front { visibility: hidden; transition: visibility 0s .35s; }
@media (hover: hover) { .mtile:hover:not(.flip) .mt-in { transform: none; } }
.np-step, .zd-sh span, .zd-vit span, .zd-time span, .lex .rel span { color: #4E3FB5; }
.nb-name { opacity: 1; }
.pl-n, .timeline .when { color: #4E3FB5; }
.pl-dh strong, .pl-when, .pl-lane span { color: #4E3FB5; }
