/* Frontierhaus – gemeinsames Stylesheet */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --card-2: #eef0f4;
  --ink: #0c0f14;
  --ink-2: #3d434d;
  --dim: #a3a9b4;
  --line: #e3e6ec;
  --accent: #2952e3;
  --accent-rgb: 41 82 227;
  --f: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.8,.24,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.dim { color: var(--dim); }
.label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.label::before { content: "‹"; color: var(--dim); }

/* Nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(246,247,249,.9); }
.nav { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(246,247,249,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.brand svg { flex: none; }
.brand small { font-size: 10.5px; color: var(--ink-2); border: 1px dashed #b9bfca; padding: 1px 6px; border-radius: 5px; letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; gap: 14px; align-items: center; font-size: 14.5px; }
.nav-right > a:first-child { color: var(--ink-2); }
@media (max-width: 860px) { .nav-links, .nav-right > a:first-child { display: none; } }

/* Buttons (Roll-Text-Effekt) */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14.5px; font-weight: 500; overflow: hidden; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.btn .roll { display: grid; height: 1.4em; overflow: hidden; line-height: 1.4; }
.btn .roll span { transition: transform .4s var(--ease); }
.btn:hover .roll span { transform: translateY(-100%); }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(12,15,20,.6); }
.btn-line { border: 1px solid #c9ced8; color: var(--ink); background: rgba(255,255,255,.5); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -8px rgba(12,15,20,.25); }

/* Hero */
.hero { position: relative; min-height: 640px; height: 100svh; max-height: 900px; display: grid; place-items: center; text-align: center; overflow: hidden; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(rgba(246,247,249,0), var(--bg)); }
.hero-in { position: relative; z-index: 1; padding-inline: max(20px, env(safe-area-inset-left, 0px)); max-width: 820px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); color: var(--ink); }
.hero h1 .dim { color: #7d8594; }
.hero p { margin: 22px auto 0; max-width: 30em; font-size: 18px; color: var(--ink-2); }
.hero .btn { margin-top: 32px; }
.blur-in { animation: blurin 1.2s var(--ease) both; }
@keyframes blurin { from { filter: blur(14px); opacity: 0; transform: translateY(10px); } to { filter: none; opacity: 1; transform: none; } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; font-size: 11px; letter-spacing: .14em; color: var(--ink-2); text-align: center; }
.scroll-hint i { display: block; margin: 8px auto 0; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px) rotate(45deg); } }

/* Sections */
section.s { padding-block: 130px; }
.head { max-width: 720px; }
.head.center { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 16px; }
@media (max-width: 700px) { section.s { padding-block: 84px; } }

/* Scroll-linked word highlight */
.hl .w { color: var(--dim); transition: color .3s; }
.hl .w.on { color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; align-items: start; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.stat:nth-child(2) { margin-top: 70px; }
.stat .num { font-size: 64px; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { color: var(--ink-2); font-size: 15px; }
.stat p b { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .stat:nth-child(2) { margin-top: 0; } .stat { min-height: 0; } }

/* Benefit cards with mockups */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.bcard { min-width: 0; }
.bvis { position: relative; aspect-ratio: 1 / 1.02; max-width: 100%; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.bvis .scene { position: absolute; inset: 0; }
.bvis .scene svg { width: 100%; height: 100%; display: block; }
.mock { position: absolute; left: 10%; right: 10%; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: 14px; padding: 16px; box-shadow: 0 20px 40px -20px rgba(30,40,70,.35); font-size: 13px; transition: transform .6s var(--ease); }
.bcard:hover .mock { transform: translateY(calc(-50% - 6px)); }
.mock h4 { margin: 0; font-size: 13.5px; font-weight: 500; }
.mock .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: var(--ink-2); font-size: 12.5px; }
.mock .bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 12px; }
.mock .bars i { flex: 1; background: #d7dce5; border-radius: 4px 4px 2px 2px; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease); }
.mock .bars i.hi { background: var(--ink); }
.in .mock .bars i { transform: scaleY(1); }
.track { height: 10px; border-radius: 99px; background: #e4e7ed; overflow: hidden; margin-top: 12px; }
.track b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--ink); transition: width 1.6s var(--ease); }
.in .track b { width: var(--w); }
.chk { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); opacity: .2; transition: opacity .5s; }
.chk i { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); flex: none; display: grid; place-items: center; }
.chk i::after { content: ""; width: 6px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }
.in .chk { opacity: 1; }
.in .chk:nth-child(3) { transition-delay: .3s; } .in .chk:nth-child(4) { transition-delay: .6s; } .in .chk:nth-child(5) { transition-delay: .9s; }
.bcard h3 { font-size: 22px; letter-spacing: -0.03em; margin-top: 22px; }
.bcard p { color: var(--ink-2); margin-top: 8px; font-size: 15px; max-width: 30em; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; gap: 40px; } .bvis { aspect-ratio: 16 / 11; } }

/* Stacked sticky cards */
.stack { margin-top: 60px; display: grid; gap: 26px; }
.scard { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; transform-origin: top center; box-shadow: 0 -10px 40px -30px rgba(12,15,20,.3); min-height: 440px; }
.scard:nth-child(2) { top: calc(env(safe-area-inset-top, 0px) + 110px); }
.scard:nth-child(3) { top: calc(env(safe-area-inset-top, 0px) + 130px); }
.scard:nth-child(4) { top: calc(env(safe-area-inset-top, 0px) + 150px); }
.scard > div { min-width: 0; }
.scard .vis { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / .92; max-width: 100%; }
.scard .vis .scene { position: absolute; inset: 0; }
.scard .vis .scene svg { width: 100%; height: 100%; display: block; }
.scard .txt { padding: 10px 30px 10px 0; }
.scard h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.035em; }
.scard .txt > p { color: var(--ink-2); margin-top: 14px; max-width: 28em; }
.scard ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.scard li::before { content: "—"; color: var(--dim); margin-right: 10px; }
.scard .btn { margin-top: 26px; }
.tabs { display: flex; gap: 6px; margin-top: 10px; }
.tabs span { font-size: 11px; padding: 3px 9px; border-radius: 6px; background: #eceff3; color: var(--ink-2); }
.tabs span.on { background: var(--ink); color: #fff; }
.big { font-size: 30px; letter-spacing: -0.04em; margin-top: 8px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.7; color: #3d434d; white-space: pre; overflow: hidden; }
.code b { color: var(--accent); font-weight: 500; }
@media (max-width: 860px) { .scard { position: relative; top: auto !important; grid-template-columns: 1fr; gap: 22px; min-height: 0; } .scard .txt { padding: 4px 10px 14px; } }

/* Betreuung grid */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.g { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; transition: background .3s; }
.g:hover { background: var(--card); }
.g .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 22px; color: var(--ink); transition: transform .4s var(--ease); }
.g:hover .ic { transform: rotate(-8deg) scale(1.08); }
.g h3 { font-size: 19px; letter-spacing: -0.02em; }
.g p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
@media (max-width: 860px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } .g { padding: 26px 22px; } }

/* Vergleich */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; max-width: 900px; margin-inline: auto; }
.col { border-radius: 22px; padding: 30px; min-width: 0; }
.col.them { border: 1px solid var(--line); }
.col.us { background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(12,15,20,.55); }
.col h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.col ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.col li { display: flex; gap: 12px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.col.us li { border-top-color: rgba(255,255,255,.12); color: #e6e9ef; }
.col li i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; font-style: normal; font-size: 11px; }
.col.them li i { background: #e7e9ee; color: #7d8594; }
.col.us li i { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Team marquee-like cards */
.team { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; margin-top: 60px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; transition: transform .4s var(--ease), box-shadow .4s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(12,15,20,.4); }
.tcard .who { display: flex; gap: 14px; align-items: center; }
.av { width: 48px; height: 48px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font-weight: 500; font-size: 18px; flex: none; }
.tcard b { font-weight: 500; display: block; }
.tcard small { color: var(--ink-2); font-size: 13.5px; }
.tcard p { color: var(--ink-2); font-size: 15px; }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tcard .tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); }
.tcard.ref { background: var(--ink); color: #fff; border-color: var(--ink); }
.tcard.ref p, .tcard.ref small { color: #b8bfcb; }
.tcard.ref .av { background: rgba(255,255,255,.1); }
.tcard.ref .tags span { background: rgba(255,255,255,.1); color: #dfe3ea; }
.tcard.ref a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* Zusammenarbeit */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 60px auto 0; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.pop { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(12,15,20,.55); }
.plan .top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.badge { font-size: 10.5px; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: var(--accent); color: #fff; }
.plan .price { font-size: 34px; letter-spacing: -0.04em; }
.plan .price small { font-size: 14px; color: var(--dim); letter-spacing: 0; margin-left: 4px; }
.plan > p { color: var(--ink-2); font-size: 15px; }
.plan.pop > p { color: #b8bfcb; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan.pop ul { border-top-color: rgba(255,255,255,.14); }
.plan li::before { content: "✓"; margin-right: 10px; color: var(--accent); }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 30px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan.pop { transform: none; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.faq-wrap > div { min-width: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s; }
.faq details[open] { border-color: #cfd4dd; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; margin-top: 4px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; animation: fa .4s var(--ease); }
@keyframes fa { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 30px; } }

/* Final CTA */
.final { border: 1px solid var(--line); position: relative; border-radius: 28px; overflow: hidden; min-height: 460px; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.final .scene { position: absolute; inset: 0; }
.final .scene svg { width: 100%; height: 100%; display: block; }
.final > div:last-child { position: relative; max-width: 640px; }
.final h2 { font-size: clamp(34px, 4.8vw, 56px); }
.final p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.final .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.final .contact { margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.ph { font-size: 10.5px; border: 1px dashed #b9bfca; padding: 1px 6px; border-radius: 5px; margin-left: 6px; }

footer { padding-block: 50px 40px; font-size: 13.5px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a:hover { color: var(--ink); }

/* Reveal */
.pending { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.revealed { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pending { opacity: 1; transform: none; filter: none; }
  .hl .w { color: var(--ink); }
  .mock .bars i { transform: none; } .track b { width: var(--w); } .chk { opacity: 1; }
}

/* ===== Mehrseiter: Navigation mit Mega-Dropdown ===== */
.nav-links { align-items: center; }
.nav-links a.cur, .nav-right a.cur { color: var(--ink); }
.dd > button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 64px; color: var(--ink-2); transition: color .2s; }
.dd > button:hover, .dd.open > button, .dd > button.cur { color: var(--ink); }
.dd > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.dd.open > button::after { transform: translateY(1px) rotate(-135deg); }
.dd > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 20px; display: flex; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; pointer-events: none; }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); pointer-events: auto; }
.mega-in { width: min(1120px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(12,15,20,.45), 0 2px 6px rgba(12,15,20,.04); overflow: hidden; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.mi { display: flex; gap: 14px; padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; transition: background .25s; opacity: 0; transform: translateY(8px); }
.mi:nth-child(4n) { border-right: 0; }
.dd.open .mi { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), background .25s; transition-delay: calc(var(--i) * 35ms), calc(var(--i) * 35ms), 0s; }
.mi:hover, .mi.cur { background: var(--bg); }
.mi .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .4s var(--ease), background .3s, color .3s; }
.mi:hover .ic { transform: rotate(-8deg) scale(1.06); background: var(--ink); color: #fff; }
.mi b { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.015em; color: var(--ink); }
.mi span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; background: var(--bg); font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.mega-foot a { color: var(--ink); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
a:hover > .arrow, a:hover .arrow { transform: translateX(4px); }

/* Burger + mobiles Menü */
.burger { all: unset; display: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; border: 1px solid #c9ced8; place-items: center; background: rgba(255,255,255,.5); }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.burger i::before { top: -5px; } .burger i::after { top: 5px; }
.menu-open .burger i { background: transparent; }
.menu-open .burger i::before { transform: translateY(5px) rotate(45deg); }
.menu-open .burger i::after { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 64px) 0 0; background: var(--bg); overflow-y: auto; padding: 10px 20px 40px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; z-index: 49; }
.menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.mnav > a { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 22px; letter-spacing: -0.03em; }
/* Leistungen als aufklappbarer Bereich: Höhe wächst weich über grid-template-rows */
.msec { border-bottom: 1px solid var(--line); }
.mtoggle { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; font-size: 22px; letter-spacing: -0.03em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mtoggle::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .45s var(--ease); }
.msec.open .mtoggle::after { transform: translateY(2px) rotate(225deg); }
.mtoggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mdrop { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.msec.open .mdrop { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease); }
.mdrop > div { overflow: hidden; min-height: 0; }
.mnav .msub { display: grid; padding: 0 0 14px; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.msec.open .msub { opacity: 1; transform: none; transition-delay: .06s; }
/* Nur die Namen, ruhig untereinander */
.mnav .msub a { padding: 10px 2px; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; color: var(--ink-2); -webkit-tap-highlight-color: transparent; transition: color .2s; }
.mnav .msub a:active, .mnav .msub a.cur { color: var(--accent); }
.mnav .msub .mall { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--accent); }
.mnav .btn { margin-top: 24px; width: 100%; }
@media (max-width: 860px) { .burger { display: grid; } .nav-right .btn { display: none; } }
@media (min-width: 861px) { .mnav { display: none; } }

/* ===== Unterseiten-Hero ===== */
.phero { position: relative; overflow: hidden; padding: calc(env(safe-area-inset-top, 0px) + 150px) 0 110px; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
.phero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.phero .hero-bg svg { width: 100%; height: 100%; display: block; }
.phero .wrap { position: relative; z-index: 1; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.phero-grid > div { min-width: 0; }
.phero.simple .phero-grid { grid-template-columns: 1fr; max-width: 820px; }
.phero h1 { font-size: clamp(38px, 5.4vw, 66px); }
.phero h1 .dim { color: #7d8594; }
.hero h1 > .dim,
.phero h1 > .dim,
.final h2 > .dim,
.network-intro h2 > span { display: block; }
.hl .heading-break { display: block; }
.phero .lead { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.phero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--dim); }
.pvis { position: relative; aspect-ratio: 1 / .9; border-radius: 24px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 40px 80px -50px rgba(30,40,70,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: floaty 7s ease-in-out infinite; }
.pvis .mock { left: 9%; right: 9%; }
.pvis .orb { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #c8d6f3 60%, rgba(200,214,243,0)); right: -20px; top: -24px; filter: blur(1px); animation: floaty 5s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; gap: 44px; } .phero { padding-top: calc(env(safe-area-inset-top, 0px) + 120px); padding-bottom: 80px; } .pvis { aspect-ratio: 16 / 12; } .pvis .mock { left: 7% !important; right: 7% !important; } .pvis .orb { right: -6px; width: 70px; height: 70px; } }

/* Intro "Was ist ..." */
.intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.intro > div { min-width: 0; }
.intro .prose p { color: var(--ink-2); font-size: 17px; }
.intro .prose p + p { margin-top: 16px; }
.intro .prose b { color: var(--ink); font-weight: 500; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.kf { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kf b { display: block; font-size: 26px; font-weight: 400; letter-spacing: -0.04em; }
.kf span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 30px; } }

/* Vorteils-Raster mit Links (Betreuung + Leistungen) */
a.g { display: block; }
.g .more { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 500; }

/* Prozess-Zeitleiste */
.steps { position: relative; margin-top: 60px; display: grid; gap: 0; max-width: 860px; }
.steps::before, .steps .fill { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); border-radius: 2px; }
.steps .fill { background: var(--ink); bottom: auto; height: calc((100% - 48px) * var(--p, 0)); transition: height .15s linear; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 26px; padding-bottom: 42px; }
.step:last-child { padding-bottom: 0; }
.step .n { width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step.on .n { background: var(--ink); color: #fff; border-color: var(--ink); }
.step h3 { font-size: 22px; letter-spacing: -0.03em; padding-top: 10px; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; max-width: 36em; }
.step small { display: inline-block; margin-top: 10px; font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--card-2); color: var(--ink-2); }

/* Einsatzbeispiele */
.ucs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.uc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; min-width: 0; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.uc::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgb(var(--accent-rgb) / .12), rgb(var(--accent-rgb) / 0) 70%); transition: transform .6s var(--ease); }
.uc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(12,15,20,.4); }
.uc:hover::after { transform: translate(-40px, -40px) scale(1.4); }
.uc .tag { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.uc h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 12px; }
.uc p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
@media (max-width: 900px) { .ucs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ucs { grid-template-columns: 1fr; } }

/* Technologie-Laufband */
.marquee { margin-top: 50px; 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); }
.marquee .belt { display: flex; gap: 12px; width: max-content; animation: belt 38s linear infinite; }
.marquee:hover .belt { animation-play-state: paused; }
.marquee span { white-space: nowrap; font-size: 15px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
@keyframes belt { to { transform: translateX(-50%); } }

/* Weitere Leistungen */
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.others a { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: background .3s; min-width: 0; }
.others a:hover { background: var(--card); }
.others .ic { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.others b { font-weight: 500; font-size: 15.5px; }
.others span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .others { grid-template-columns: 1fr 1fr; } }

/* Leistungs-Übersicht */
.lgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 60px; }
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.lcard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(12,15,20,.45); border-color: #d3d8e1; }
.lcard .top { display: flex; justify-content: space-between; align-items: center; }
.lcard .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s, color .3s; }
.lcard:hover .ic { transform: rotate(-8deg) scale(1.06); background: var(--ink); color: #fff; }
.lcard .no { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.lcard h3 { font-size: 26px; letter-spacing: -0.035em; margin-top: 8px; }
.lcard p { color: var(--ink-2); font-size: 15.5px; }
.lcard ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lcard li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); }
.lcard .go { margin-top: auto; padding-top: 10px; font-weight: 500; font-size: 14.5px; display: inline-flex; gap: 6px; }
.lcard.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.lcard.dark p { color: #b8bfcb; } .lcard.dark li { background: rgba(255,255,255,.1); color: #dfe3ea; }
.lcard.dark .ic { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 800px) { .lgrid { grid-template-columns: 1fr; } }

/* Kontakt */
.kgrid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.kgrid > * { min-width: 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chips label { display: inline-flex; cursor: pointer; }
.form .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 14px; transition: all .25s var(--ease); }
.form .chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.form .chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .send { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .hint { font-size: 13px; color: var(--ink-2); max-width: 30em; }
.form .ok { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; background: #eaf7ee; color: #1d6b3a; font-size: 14.5px; }
.form.sent .ok { display: block; animation: fa .4s var(--ease); }
.kside { display: grid; gap: 16px; }
.kbox { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.kbox.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kbox.dark p, .kbox.dark li { color: #b8bfcb; }
.kbox h3 { font-size: 20px; letter-spacing: -0.02em; }
.kbox p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.kbox ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 12px; }
.kbox ol li { counter-increment: k; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; }
.kbox ol li::before { content: counter(k); width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 12px; }
.kline { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kline:first-of-type { margin-top: 14px; }
.kline .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
@media (max-width: 900px) { .kgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* Werte (Über uns) */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.values .v { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; min-width: 0; }
.values .v b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -0.05em; color: var(--dim); line-height: 1; }
.values .v h3 { font-size: 19px; margin-top: 18px; letter-spacing: -0.02em; }
.values .v p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Über uns: Kernteam und flexibles Spezialisten-Netzwerk */
.about-story { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.about-story .hl { margin-top: 20px; max-width: 8em; }
.about-copy { border-top: 1px solid var(--ink); padding-top: 24px; }
.about-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.75; max-width: 44em; }
.about-copy p + p { margin-top: 20px; }
.about-copy .about-lead { color: var(--ink); font-size: clamp(20px, 2vw, 27px); line-height: 1.45; letter-spacing: -.025em; }
.about-founders { padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px !important; }
.about-founders strong { color: var(--ink); font-weight: 500; }
.about-network { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 7vw, 100px); padding: clamp(34px, 5vw, 68px); border-radius: 28px; background: var(--ink); color: #fff; }
.about-network::before { content: ''; position: absolute; width: 420px; aspect-ratio: 1; left: -180px; bottom: -270px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); pointer-events: none; }
.network-intro { position: relative; z-index: 1; }
.network-intro .label.light { color: #fff; border-color: rgba(255,255,255,.24); }
.network-intro h2 { margin-top: 24px; font-size: clamp(34px, 4.2vw, 62px); line-height: .98; letter-spacing: -.055em; font-weight: 400; }
.network-intro h2 span { color: #8f98a8; }
.network-intro p { margin-top: 28px; max-width: 34em; color: #b8bfcb; font-size: 16px; line-height: 1.7; }
.network-list { position: relative; z-index: 1; align-self: center; border-top: 1px solid rgba(255,255,255,.18); }
.network-list div { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.network-list span { color: #727b8a; font-size: 12px; }
.network-list b { font-size: 16px; font-weight: 450; }
.network-list small { color: #8f98a8; font-size: 12px; text-align: right; }
.about-steps { margin-top: 60px; border-top: 1px solid var(--line); }
.about-step { display: grid; grid-template-columns: minmax(70px, .35fr) minmax(0, 1fr); gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.about-step > b { color: var(--dim); font-size: 14px; font-weight: 500; }
.about-step > div { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1fr); gap: 36px; }
.about-step h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 450; letter-spacing: -.03em; }
.about-step p { max-width: 42em; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
@media (max-width: 860px) {
  .about-story, .about-network { grid-template-columns: 1fr; }
  .about-story { gap: 36px; }
  .about-story .hl { max-width: 12em; }
  .about-network { gap: 44px; }
}
@media (max-width: 600px) {
  .about-network { margin-inline: -8px; border-radius: 22px; }
  .network-list div { grid-template-columns: 26px 1fr; }
  .network-list small { grid-column: 2; text-align: left; margin-top: -8px; }
  .about-step { grid-template-columns: 42px 1fr; gap: 12px; }
  .about-step > div { grid-template-columns: 1fr; gap: 8px; }
}
.center-act { display: flex; justify-content: center; margin-top: 44px; }

/* Startseiten-Logo: Klammern, Tippsequenz und Flug in den Header.
   Logo und Hero-Text bilden zusammen eine mittig stehende Gruppe (Position rechnet extra.js aus).
   Der Flug selbst läuft per Web-Animation, nicht per CSS-Übergang. */
/* --group-lift: Logo + Text vor dem Andocken, --hero-lift: nur Text danach, jeweils so viel über der Mitte; --logo-lift: Logo zusätzlich höher */
.hero:has(.hero-logo-flight) { --logo-gap: clamp(40px, 6.5vh, 60px); --logo-lift: clamp(16px, 3vh, 28px); --hero-lift: clamp(40px, 7vh, 64px); --group-lift: var(--hero-lift); }
.hero:has(.hero-logo-flight) .hero-in { transform: translateY(calc(var(--logo-shift, 0px) - var(--group-lift))); transition: transform .8s cubic-bezier(.55,0,.15,1); }
.hero-logo-flight { position: fixed; z-index: 40; left: 0; right: 0; margin-inline: auto; top: clamp(112px, 18vh, 165px); width: min(560px, calc(100% - 40px)); aspect-ratio: 5 / 1; color: var(--ink); pointer-events: none; will-change: transform; }
.hero-logo-typing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(42px, 6.5vw, 78px); font-weight: 600; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.hero-logo-brace { color: var(--accent); font-weight: 600; }
.hero-logo-brace, .hero-logo-word { display: inline-block; white-space: pre; }
/* Gleiche Luft links und rechts: der Cursor belegt keinen eigenen Platz, die schließende Klammer
   bekommt den Ausgleich für die engen Seitenabstände zwischen „s“ und „}“ */
.hero-logo-cursor { flex: none; width: .045em; height: .82em; margin-inline: .034em -.079em; background: currentColor; transition: opacity .15s; }
.hero-logo-cursor + .hero-logo-brace { margin-left: .048em; }
body.logo-typed .hero-logo-cursor { animation: hero-logo-cursor .8s step-end infinite; }
@keyframes hero-logo-cursor { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
body:has(.hero-logo-flight) .nav .brand { transition: opacity .25s ease .1s; }
body:has(.hero-logo-flight):not(.logo-landed) .nav .brand { opacity: 0; pointer-events: none; }
/* Lila Horizont läuft unten weich aus statt mit harter Kante */
.hero:has(.hero-logo-flight) .hero-art { -webkit-mask-image: linear-gradient(#000 calc(100% - 70px), transparent); mask-image: linear-gradient(#000 calc(100% - 70px), transparent); }
body.logo-docked .hero:has(.hero-logo-flight) .hero-in { transform: translateY(calc(-1 * var(--hero-lift))); }
/* Im Stand unter Header, Leistungen-Menü und mobilem Menü; nur beim Flug darüber */
body.logo-docked .hero-logo-flight { z-index: 52; }
body.menu-open .hero-logo-flight { z-index: 40; }
body.logo-docked .hero-logo-cursor { opacity: 0; animation: none; }
body.logo-landed .hero-logo-flight { will-change: auto; opacity: 0; visibility: hidden; transition: opacity .25s ease .2s, visibility 0s .45s; }
@media (max-width: 600px) {
  /* Mobil kürzer, damit Bogen und Scroll-Hinweis nah am Inhalt sitzen; Abstand oben und unten etwa gleich */
  .hero:has(.hero-logo-flight) { --logo-gap: 30px; --logo-lift: 18px; --group-lift: 38px; --hero-lift: 47px; height: auto; min-height: calc(100svh - 120px); padding-block: 190px 150px; }
  /* padding-block: Platz für Header + Logo oben und Bogen unten, wenn der Inhalt auf kleinen Handys höher wird */
  .hero-logo-flight { top: 116px; }
  .hero-logo-typing { font-size: clamp(38px, 11vw, 48px); }
}

/* Frontierhaus Wortmarke */
.brand-logo, .footer-logo { position: relative; display: block; overflow: hidden; flex: none; }
.brand-logo { width: 170px; height: 34px; border-radius: 8px; transition: background .25s, box-shadow .25s; }
.brand-logo img, .footer-logo img { display: block; width: 100%; height: auto; }
.brand-logo img { transform: translateY(-20%); }
/* Auf dunklem Seitenkopf: weiße Schrift; sobald die Leiste hell wird (gescrollt, Menü offen), wieder dunkel */
.brand-logo img { transition: opacity .3s; }
.brand-logo .logo-hell { position: absolute; left: 0; top: 0; opacity: 0; }
body:has(.phero.dark) .nav:not(.solid) .brand-logo img { opacity: 0; }
body:has(.phero.dark) .nav:not(.solid) .brand-logo .logo-hell { opacity: 1; }
@media (max-width: 520px) {
  .brand-logo { width: 150px; height: 31px; }
}

/* Abgesetzter Marken-Footer */
footer { margin-top: 0; padding: 0; background: color-mix(in srgb, var(--accent) 11%, #fff); color: var(--ink); }
footer .footer-main { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(52px, 9vw, 130px); align-items: start; padding-top: 68px; padding-bottom: 58px; }
.footer-brand { max-width: 390px; }
.footer-logo { width: 270px; height: 52px; }
.footer-logo img { transform: translateY(-20%); }
.footer-brand p { max-width: 28em; margin-top: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
footer .footer-nav { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; }
footer .footer-nav > div { display: grid; align-content: start; gap: 10px; }
footer .footer-nav b { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
footer .footer-nav a { width: fit-content; color: var(--ink-2); font-size: 14px; transition: color .2s; }
footer .footer-nav a:hover { color: var(--accent); }
footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgb(var(--accent-rgb) / .16); color: var(--ink-2); font-size: 12.5px; }
footer .footer-bottom .ph { border-color: rgb(var(--accent-rgb) / .3); }
@media (max-width: 760px) {
  footer .footer-main { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; padding-bottom: 42px; }
  footer .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer .footer-bottom { align-items: flex-start; }
}
@media (max-width: 460px) {
  .footer-logo { width: 235px; height: 47px; }
  footer .footer-nav { grid-template-columns: 1fr; }
  footer .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-flight { display: none; }
  .mi { opacity: 1; transform: none; }
  .marquee .belt { animation: none; flex-wrap: wrap; width: auto; }
  .steps .fill { height: calc(100% - 48px); } .step .n { background: var(--ink); color: #fff; }
}

/* Navigation: ohne zusätzlichen Knopf, Menüpunkte stehen rechts */
@media (min-width: 861px) { .nav-right { display: none; } }

/* ===== Hero-Hintergrund: feines Raster und weicher Horizont ===== */
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgb(12 15 20 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(12 15 20 / .06) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 25%, transparent 80%); }
.hero-bg::after { z-index: 2; }
.hero-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.horizon { position: absolute; left: 50%; top: calc(100% - 190px); width: max(1500px, 150%); height: 900px; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(rgb(var(--accent-rgb) / .10), rgb(246 247 249 / 0) 22%); box-shadow: 0 -34px 90px -24px rgb(var(--accent-rgb) / .26); }
.horizon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border-top: 1.5px solid rgb(var(--accent-rgb) / .38); -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 50%, transparent 82%); mask-image: linear-gradient(90deg, transparent 18%, #000 50%, transparent 82%); }
@media (max-width: 600px) { .horizon { top: calc(100% - 110px); } }

/* ===== Leistungsseiten: eigene Bausteine je Seite ===== */
.s.t0 { padding-top: 0; }
.head .sub { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 36em; }
.head.center .sub { margin-inline: auto; }
.prose p { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 16px; }
.prose b { color: var(--ink); font-weight: 500; }
.cap { font-size: 12.5px; color: var(--dim); margin-top: 10px; }
.kick { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,165,90,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34,165,90,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Geräte ---------- */
.mbp { position: relative; width: 87.4%; margin-inline: auto; }
.mbp .lid { position: relative; background: #050506; border-radius: 2% / 3.1%; padding: 1.1% 1.1% 1.5%; box-shadow: 0 0 0 1px #6d7076, 0 0 0 2px #b9bcc2, 0 50px 80px -40px rgba(12,15,20,.55); }
.mbp .scr .notch { position: absolute; top: 0; left: 50%; width: 11.5%; height: 3.9%; transform: translateX(-50%); background: #050506; border-radius: 0 0 .8cqw .8cqw; z-index: 6; }
.mbp .scr .notch::after { content: ""; position: absolute; left: 50%; top: 50%; width: .55cqw; height: .55cqw; margin: -.275cqw 0 0 -.275cqw; border-radius: 50%; background: #1c2335; }
.mbp .scr::before { content: "Ablage     Bearbeiten     Darstellung     Fenster"; position: absolute; top: 0; left: 0; right: 0; height: 3.9%; display: flex; align-items: center; padding-left: 1.6cqw; background: #eceef2; border-bottom: 1px solid #dde0e6; font-size: 1.05cqw; color: #3d434d; white-space: pre; z-index: 4; }
.mbp .scr::after { content: "Di. 09:41"; position: absolute; top: 0; right: 1.6cqw; height: 3.9%; display: flex; align-items: center; font-size: 1.05cqw; color: #3d434d; z-index: 5; }
.mbp .scr > .ui { position: absolute; top: 3.9%; left: 0; right: 0; bottom: 0; height: auto; }
.mbp .scr { position: relative; aspect-ratio: 16 / 10.35; border-radius: .7% / 1.1%; overflow: hidden; background: #fff; container-type: inline-size; }
.mbp .base { position: relative; height: 0; padding-bottom: 2.1%; margin: 0 -7.2%; background: linear-gradient(#f0f1f3 0, #d3d6db 38%, #a9adb5 72%, #7f838b); border-radius: 1px 1px 7% 7% / 1px 1px 100% 100%; box-shadow: 0 30px 34px -24px rgba(12,15,20,.55); }
.mbp .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 42%; transform: translateX(-50%); background: linear-gradient(#a9adb5, #c9ccd2); border-radius: 0 0 10px 10px; }

.iph { position: relative; width: 100%; max-width: 260px; aspect-ratio: 100 / 210.5; background: #050506; border-radius: 17% / 8.1%; box-shadow: inset 0 0 0 1px #2b2d31, 0 0 0 1px #85878c, 0 0 0 2px #47494e, 0 40px 70px -30px rgba(12,15,20,.5); }
.iph::before, .iph::after { content: ""; position: absolute; width: 2px; background: #55575c; }
.iph::before { right: 100%; margin-right: 2px; top: 16%; height: 23%; border-radius: 2px 0 0 2px; background: linear-gradient(#55575c 0 17%, transparent 17% 31%, #55575c 31% 63%, transparent 63% 68%, #55575c 68% 100%); }
.iph::after { left: 100%; margin-left: 2px; top: 26%; height: 13%; border-radius: 0 2px 2px 0; }
.iph .scr { position: absolute; top: 1.24%; bottom: 1.24%; left: 2.6%; right: 2.6%; border-radius: 15.2% / 7%; overflow: hidden; background: #f6f7f9; container-type: inline-size; }
.iph .scr::after { content: ""; position: absolute; left: 32.5%; width: 35%; bottom: 2cqw; height: 1.3cqw; border-radius: 99px; background: #0c0f14; z-index: 6; }
.iph .island { position: absolute; top: 1.35%; left: 50%; width: 31.5%; height: 4.35%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 5; }
.iph .island::after { content: ""; position: absolute; right: 9%; top: 50%; width: 2.6cqw; height: 2.6cqw; margin-top: -1.3cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #27304a, #07090f 70%); }

.brw { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -45px rgba(12,15,20,.45); min-width: 0; }
.brw .bar, .rframe .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f3f6; border-bottom: 1px solid var(--line); flex: none; }
.brw .bar i, .rframe .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.brw .bar i:nth-child(2), .rframe .bar i:nth-child(2) { background: #febc2e; }
.brw .bar i:nth-child(3), .rframe .bar i:nth-child(3) { background: #28c840; }
.brw .url, .rframe .url { margin: 0 auto; font-size: 11.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 2px 14px; border-radius: 7px; min-width: 40%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brw .scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; }
.brw .ui { font-size: 1.85cqw; }
@media (min-width: 901px) { .phero.wide .phero-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.phero.wide h1 { font-size: clamp(36px, 4.6vw, 58px); }
.hero-dev .ui { font-size: 1.75cqw; }

/* ---------- App-Oberflächen in den Geräten ---------- */
.ui { display: grid; grid-template-columns: 3.2em 1fr; height: 100%; background: #f6f7f9; color: var(--ink); font-size: 1.55cqw; line-height: 1.35; text-align: left; }
.ui-side { background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: .9em; padding: 1.2em 0; }
.ui-side b { width: 1.6em; height: 1.6em; border-radius: .45em; background: var(--accent); margin-bottom: .6em; }
.ui-side i { width: 1.4em; height: 1.4em; border-radius: .4em; background: rgba(255,255,255,.13); }
.ui-side i.on { background: rgba(255,255,255,.9); }
.ui-main { padding: 1.2em 1.4em; min-width: 0; display: flex; flex-direction: column; gap: .9em; overflow: hidden; }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.ui-top b { font-weight: 500; font-size: 1.35em; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-pill { font-size: .85em; padding: .25em .75em; border-radius: 99px; background: #e8ecf3; color: var(--ink-2); white-space: nowrap; }
.ui-pill.live { background: #e3f6ea; color: #1d6b3a; }
.ui-pill.live::before { content: "●"; margin-right: .35em; animation: blink 1.6s infinite; }
.ui-btn { font-size: .85em; padding: .45em .9em; border-radius: .5em; background: var(--ink); color: #fff; white-space: nowrap; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.ui-kpis div, .ui-card { background: #fff; border: 1px solid var(--line); border-radius: .7em; padding: .75em .9em; min-width: 0; }
.ui-kpis small, .ui-card small { display: block; font-size: .8em; color: var(--ink-2); }
.ui-kpis b { font-size: 1.7em; font-weight: 400; letter-spacing: -0.04em; }
.ui-chips { display: flex; gap: .45em; flex-wrap: wrap; }
.ui-chips span { font-size: .85em; padding: .3em .8em; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.ui-chips span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ui-table { background: #fff; border: 1px solid var(--line); border-radius: .7em; overflow: hidden; min-width: 0; }
.ui-tr { display: grid; grid-template-columns: 4em 1.5fr 1.4fr .9fr 2em; gap: .6em; align-items: center; padding: .65em 1em; border-top: 1px solid var(--line); white-space: nowrap; }
.ui-tr > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ui-tr:first-child { border-top: 0; font-size: .82em; color: var(--dim); }
.ui-tr.t3 { grid-template-columns: 2.4fr .8fr 1fr; } .ui-tr.t3 > span:last-child { text-align: right; }
.ui-tr.t3.sum { font-weight: 500; background: var(--bg); }
.ui-tr.t4 { grid-template-columns: 1.6fr .9fr 1.1fr 1.1fr; }
.ui-tr.t5 { grid-template-columns: 3.4em 1.6fr 1.5fr; }
.st { font-style: normal; font-size: .8em; padding: .2em .7em; border-radius: 99px; display: inline-block; }
.st.w { background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--accent); } .st.ok { background: #e3f6ea; color: #1d6b3a; } .st.wait { background: #fff4df; color: #8a5a00; } .st.n { background: #eef0f4; color: var(--ink-2); }
.av2 { width: 2em; height: 2em; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font-size: .8em; }
.ui-foot { font-size: .85em; color: #1d6b3a; margin-top: auto; }
.bar1 { display: block; height: .5em; border-radius: 99px; background: #e4e7ed; overflow: hidden; margin-top: .5em; }
.bar1 b { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 99px; transform-origin: left; animation: grow 1.2s var(--ease) both; }
.ui-mach { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.ui-mach .ui-card b { font-weight: 500; font-size: 1.1em; }
.led { float: right; width: .8em; height: .8em; border-radius: 50%; margin-top: .3em; }
.led.ok { background: #22a55a; animation: ping 1.8s infinite; } .led.warn { background: #f0a020; } .led.idle { background: #c3c9d3; }
.ui-kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; flex: 1; }
.ui-kan > div { background: #eceff3; border-radius: .7em; padding: .7em; display: flex; flex-direction: column; gap: .5em; min-width: 0; }
.ui-kan small { font-size: .8em; color: var(--ink-2); }
.ui-kan p { background: #fff; border-radius: .5em; padding: .55em .7em; font-size: .85em; border: 1px solid var(--line); }
.ui-kan p i { font-style: normal; color: var(--ink-2); font-size: .9em; }
.ui-kan p.hot { border-left: 3px solid #e5484d; }
.ui-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: .8em; flex: 1; min-height: 0; }
.ui-map b { display: block; font-weight: 500; font-size: 1.1em; }
.map { position: relative; margin-top: .7em; border-radius: .5em; height: 62%; background-color: #eef2f7; background-image: linear-gradient(#dfe5ee 1px, transparent 1px), linear-gradient(90deg, #dfe5ee 1px, transparent 1px); background-size: 1.6em 1.6em; overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .rt { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.map svg { animation: wipe 2.6s var(--ease) 1s both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.pinp { position: absolute; width: .9em; height: .9em; margin: -.45em -.45em 0 0; border-radius: 50%; background: var(--accent); border: 2px solid #fff; right: 10%; top: 16%; animation: pingb 1.8s infinite; }
@keyframes pingb { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .5); } 70%, 100% { box-shadow: 0 0 0 1em rgb(var(--accent-rgb) / 0); } }

/* Gantt in der Auftragsplanung */
.ui-gantt { background: #fff; border: 1px solid var(--line); border-radius: .7em; padding: .8em 1em; display: grid; gap: .5em; flex: 1; align-content: start; }
.gr { display: grid; grid-template-columns: 5.2em 1fr; align-items: center; gap: .6em; }
.gr > span { font-size: .85em; color: var(--ink-2); }
.gr.days > div { display: grid; grid-template-columns: repeat(5, 1fr); font-size: .8em; color: var(--dim); }
.gt { position: relative; height: 1.55em; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), #eef0f4 calc(20% - 1px) 20%); border-radius: .3em; }
.gt b { position: absolute; top: .18em; bottom: .18em; left: var(--x); width: var(--w); border-radius: .35em; background: var(--ink); transform-origin: left; animation: grow 1s var(--ease) both; animation-delay: calc(.7s + var(--d, 0s)); }
.gt b.a { background: var(--accent); } .gt b.l { background: #c9d0dc; }
.gt b.mv { background: var(--accent); animation: drag 5s ease-in-out 1.8s infinite alternate both; }
@keyframes drag { 0%, 30% { transform: translateX(0); } 75%, 100% { transform: translateX(60%); } }
.mcur { position: absolute; left: 50%; top: 40%; width: 1.7em; height: 1.7em; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); animation: mcurs 5s ease-in-out 1.8s infinite alternate both; }
@keyframes mcurs { 0% { transform: translate(5em, 4em); } 24% { transform: translate(0, 0) scale(1); } 30% { transform: translate(0, 0) scale(.82); } 75% { transform: translate(0, 0) scale(.82); } 82%, 100% { transform: translate(0, 0) scale(1); } }

/* Hero mit Gerät */
.hero-dev { position: relative; padding: 6% 0 10%; }
.chip-float { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 13px; box-shadow: 0 16px 30px -18px rgba(12,15,20,.4); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.chip-float i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ea; color: #1d6b3a; display: grid; place-items: center; font-size: 11px; }
.chip-float.c1 { left: 0; bottom: 4%; }
.chip-float.c2 { right: 0; top: 0; animation-delay: -3s; }
.chip-float.c2 i { background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--accent); }

/* ---------- Individualsoftware: Vorher / Nachher ---------- */
.ba { position: relative; margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 16 / 8.6; container-type: inline-size; --p: 50%; box-shadow: 0 40px 80px -50px rgba(12,15,20,.5); }
.ba:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.ba-pane { position: absolute; inset: 0; }
.ba-pane.after { clip-path: inset(0 0 0 var(--p)); }
.ba .ui { font-size: 1.12cqw; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(12,15,20,.12); z-index: 3; pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(12,15,20,.25); display: grid; place-items: center; font-size: 17px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-tag { position: absolute; bottom: 16px; z-index: 2; font-size: 12.5px; padding: 6px 12px; border-radius: 99px; background: rgba(12,15,20,.85); color: #fff; pointer-events: none; }
.ba-tag.l { left: 16px; } .ba-tag.rt { right: 16px; background: var(--accent); }
@media (max-width: 700px) { .ba-tag { bottom: 10px; font-size: 11.5px; padding: 5px 10px; } .ba-tag.l { left: 10px; } .ba-tag.rt { right: 10px; } .ba-tag em { display: none; } }
.ba-tag em { font-style: normal; }
.xl { position: relative; height: 100%; background: #fff; display: flex; flex-direction: column; font-size: 1.2cqw; font-family: Calibri, Arial, sans-serif; color: #222; }
.xl-bar { display: flex; align-items: center; gap: .7em; padding: .75em 1em; background: #1f7a45; color: #fff; }
.xl-bar small { margin-left: auto; opacity: .8; font-size: .85em; }
.xl-ic { width: 1.5em; height: 1.5em; border-radius: .25em; background: #fff; color: #1f7a45; font-weight: 700; display: grid; place-items: center; font-size: .85em; }
.xl-fx { padding: .45em 1em; border-bottom: 1px solid #d9d9d9; font-family: ui-monospace, Menlo, monospace; color: #555; font-size: .92em; white-space: nowrap; overflow: hidden; }
.xl-fx b { color: #888; margin-right: .8em; font-style: italic; }
.xl-grid { display: grid; grid-template-columns: 2.4em 5.5em 1.3fr 1fr .8fr .6fr 1.5fr; grid-auto-rows: 2.25em; flex: 1; align-content: start; }
.xl-grid > span { border-right: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; padding: .45em .6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-grid .h { background: #f2f2f2; color: #666; text-align: center; font-size: .9em; }
.xl-grid .y { background: #fff3a8; } .xl-grid .o { background: #ffd9b3; } .xl-grid .e { color: #c62828; font-weight: 700; } .xl-grid .b { font-weight: 700; }
.xl-grid .s { text-decoration: line-through; color: #999; } .xl-grid .sel { outline: 2px solid #1f7a45; outline-offset: -2px; }
.xl-note { position: absolute; left: 16%; top: 58%; background: #ffe76a; padding: .9em 1.1em; font-size: 1.15em; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(0,0,0,.18); font-family: "Marker Felt", "Comic Sans MS", cursive; line-height: 1.3; color: #333; }
@container (max-width: 640px) {
  .xl { font-size: 2.6cqw; }
  .xl-grid { grid-template-columns: 2em 3.6em 1.3fr 1fr 1fr; }
  .xl-grid .c5, .xl-grid .c6 { display: none; }
  .xl-bar small { display: none; }
  .ba .ui { font-size: 2.6cqw; grid-template-columns: 1fr; }
  .ba .ui-side { display: none; }
  .ba .ui-tr { grid-template-columns: 3.6em 1.4fr 1.5fr; }
  .ba .ui-tr > span:nth-child(4), .ba .ui-tr > span:nth-child(5) { display: none; }
}
@media (max-width: 700px) { .ba { aspect-ratio: 4 / 5; } }

/* Selbst-Check */
.check { display: grid; grid-template-columns: 1.3fr .9fr; gap: 22px; margin-top: 56px; align-items: start; }
.check-list { display: grid; gap: 10px; }
.check-list label { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 17px 18px; cursor: pointer; transition: border-color .25s, color .25s, transform .25s var(--ease); font-size: 15.5px; color: var(--ink-2); }
.check-list label:hover { border-color: #cfd4dd; transform: translateX(3px); }
.check-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-list .bx { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c3c9d3; display: grid; place-items: center; transition: all .25s var(--ease); margin-top: 1px; }
.check-list .bx::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.check-list input:checked + .bx { background: var(--ink); border-color: var(--ink); }
.check-list input:checked + .bx::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check-list label:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.check-list input:focus-visible + .bx { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-out { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.ring { position: relative; width: 124px; height: 124px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: rgba(255,255,255,.12); }
.ring .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 * (1 - var(--v, 0))); transition: stroke-dashoffset .7s var(--ease); }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 400; letter-spacing: -0.04em; }
.check-out h3 { font-size: 25px; letter-spacing: -0.03em; margin-top: 6px; }
.check-out p { color: #b8bfcb; font-size: 15.5px; }
.check-out .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 860px) { .check { grid-template-columns: 1fr; } .check-out { position: static; } }

/* Modular gebaut */
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; margin-top: 40px; align-items: start; }
.duo > div { min-width: 0; }
.facts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts2 div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.facts2 b { display: block; font-size: 28px; font-weight: 400; letter-spacing: -0.04em; }
.facts2 span { font-size: 13.5px; color: var(--ink-2); }
.arch { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 24px 24px 18px; }
.arch svg { width: 100%; height: auto; display: block; font-family: var(--f); }
.arch .lk { stroke: #c9cfd9; stroke-width: 1.5; }
.arch .ext { stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; }
.arch .mod rect { fill: #fff; stroke: #d4d9e2; stroke-width: 1.5; }
.arch .mod text { font-size: 16px; fill: var(--ink); }
.arch .mod { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.7); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d); }
.arch.on .mod { opacity: 1; transform: none; }
.arch .core rect { fill: var(--ink); } .arch .core text { fill: #fff; font-size: 19px; } .arch .core .sm { fill: #9aa2b1; font-size: 13px; }
.arch .sys rect { fill: var(--bg); stroke: #d4d9e2; stroke-width: 1.5; } .arch .sys text { font-size: 15px; fill: var(--ink-2); }
.arch .new rect { fill: color-mix(in srgb, var(--accent) 5%, #fff); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 5; } .arch .new text { fill: var(--accent); font-size: 15px; }
.arch .new { transform-box: fill-box; transform-origin: center; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); } }
.arch-m { display: none; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 700px) {
  .arch svg { display: none; }
  .arch-m { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 10px 0; }
  .arch-m > b { background: var(--ink); color: #fff; font-weight: 500; padding: 14px 22px; border-radius: 16px; }
  .arch-m div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .arch-m span { font-size: 14px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); }
  .arch-m span:last-child { border: 1.5px dashed var(--accent); color: var(--accent); }
  .arch-m small { color: var(--ink-2); font-size: 13.5px; }
}

/* Kosten über die Jahre */
.cost { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.cost > div { min-width: 0; }
.chart { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px 18px; }
.chart svg { width: 100%; height: auto; display: block; font-family: var(--f); overflow: visible; }
.chart .ax { stroke: #eef0f4; } .chart .tx { font-size: 12.5px; fill: var(--dim); }
.chart .ln { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.chart.on .ln { stroke-dashoffset: 0; }
.chart .ln.std { stroke: #b9c0cc; } .chart .ln.ind { stroke: var(--ink); transition-delay: .4s; }
.chart .mark { opacity: 0; transition: opacity .6s 2s; } .chart.on .mark { opacity: 1; }
.chart .mark circle { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.chart .mark text { font-size: 14px; fill: var(--accent); font-weight: 500; }
.chart .zone { fill: color-mix(in srgb, var(--accent) 7%, #fff); }
.chart .drop { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 5; }
.legend { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.legend span { position: relative; padding-left: 26px; }
.legend i { position: absolute; left: 0; top: .72em; width: 18px; height: 3px; border-radius: 2px; }
@media (max-width: 900px) { .cost { grid-template-columns: 1fr; gap: 30px; } }

/* Tabs mit Einsatzbeispielen */
.tabs2 { display: flex; gap: 4px; margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 5px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs2 button { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s; white-space: nowrap; }
.tabs2 button:hover { color: var(--ink); }
.tabs2 button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs2 button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tpanel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; margin-top: 34px; }
.tpanel > div { min-width: 0; }
.tpanel[hidden] { display: none; }
.tpanel.show { animation: fa .5s var(--ease); }
.tpanel h3 { font-size: 30px; letter-spacing: -0.035em; }
.tpanel p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }
.tpanel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.tpanel li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); }
.tpanel li svg { color: var(--accent); flex: none; }
@media (max-width: 860px) { .tpanel { grid-template-columns: 1fr; gap: 26px; } }

/* Zeitplan als Balken */
.plan2 { margin-top: 50px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; overflow-x: auto; }
.plan2-in { min-width: 720px; display: grid; gap: 12px; }
.p-weeks, .p-row { display: grid; grid-template-columns: 190px repeat(12, 1fr) 1.6fr; align-items: center; column-gap: 4px; }
.p-weeks span { font-size: 12px; color: var(--dim); text-align: center; }
.p-row > b { font-weight: 500; font-size: 15px; line-height: 1.3; }
.p-row > b small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-2); }
.p-bar { grid-column: var(--s) / var(--e); height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; display: flex; align-items: center; padding: 0 12px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: var(--d); white-space: nowrap; overflow: hidden; }
.plan2.on .p-bar { transform: none; }
.p-bar.lite { background: var(--card-2); color: var(--ink); }
.p-bar.acc { background: var(--accent); }
.p-bar.sprints { background: none; padding: 0; gap: 3px; }
.p-bar.sprints i { flex: 1; height: 100%; display: flex; align-items: center; padding: 0 10px; background: var(--ink); border-radius: 8px; font-style: normal; }
.p-bar.open { background: linear-gradient(90deg, #e3f6ea, rgba(227,246,234,0)); color: #1d6b3a; }

/* ---------- Web- und Mobile-Apps ---------- */
.phero-c { max-width: 820px; margin: 0 auto; text-align: center; }
.phero-c .lead { margin-inline: auto; }
.phero-c .acts, .phero-c .crumbs { justify-content: center; }
.phero-stage { margin-top: 70px; }
.devices { position: relative; max-width: 960px; margin: 0 auto; padding-right: 9%; }
.devices .ui { font-size: 1.4cqw; }
.devices .iph { position: absolute; right: 0; bottom: -5%; width: 21%; max-width: none; animation: floaty 6s ease-in-out infinite; }
.toast { position: absolute; right: 13%; top: 6%; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: 0 20px 40px -20px rgba(12,15,20,.45); text-align: left; animation: toast 7s var(--ease) infinite; }
.toast i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.toast b { display: block; font-weight: 500; } .toast small { color: var(--ink-2); font-size: 12px; }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(-14px) scale(.96); } 14%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-8px); } }
.sync { position: absolute; right: 17%; bottom: 10%; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-size: 13px; box-shadow: 0 14px 30px -18px rgba(12,15,20,.4); }
.sync i { width: 8px; height: 8px; border-radius: 50%; background: #22a55a; animation: ping 1.8s infinite; }
@media (max-width: 700px) { .devices { padding-right: 14%; } .devices .iph { width: 30%; } .sync { display: none; } .toast { right: auto; left: 0; top: -12%; font-size: 11.5px; padding: 8px 10px; } .toast i { width: 24px; height: 24px; } }

/* Smartphone-App */
.pa { height: 100%; display: flex; flex-direction: column; font-size: 5cqw; background: #f6f7f9; color: var(--ink); text-align: left; line-height: 1.3; }
.pa-sbar { display: flex; justify-content: space-between; align-items: center; flex: none; height: 15.3cqw; padding: 0 6.5cqw 0 10cqw; font-size: 4.2cqw; font-weight: 600; }
.pa-sbar .stat-r { display: flex; align-items: center; gap: 1.5cqw; }
.pa-sbar svg { display: block; height: 3cqw; width: auto; fill: currentColor; }
.pa-h { padding: .35em 1.1em .5em; }
.pa-h small { color: var(--ink-2); font-size: .72em; }
.pa-h b { display: block; font-size: 1.4em; font-weight: 500; letter-spacing: -0.03em; }
.pa-body { flex: 1; padding: .3em .85em .8em; display: flex; flex-direction: column; gap: .5em; overflow: hidden; min-height: 0; }
.pa-card { background: #fff; border: 1px solid var(--line); border-radius: .85em; padding: .7em .8em; }
.pa-card b { font-weight: 500; font-size: .88em; display: block; }
.pa-card small { font-size: .7em; color: var(--ink-2); }
.pa-card.on { background: var(--ink); color: #fff; border-color: var(--ink); } .pa-card.on small { color: #b8bfcb; }
.pa-row { display: flex; justify-content: space-between; align-items: center; gap: .5em; }
.pa-tag { font-size: .62em; padding: .2em .6em; border-radius: 99px; background: #eef0f4; color: var(--ink-2); white-space: nowrap; }
.pa-tag.w { background: var(--accent); color: #fff; }
.pa-tab { display: flex; justify-content: space-around; padding: .7em 0 1.5em; background: #fff; border-top: 1px solid var(--line); }
.pa-tab i { width: 1.15em; height: 1.15em; border-radius: .35em; background: #d7dce5; }
.pa-tab i.on { background: var(--ink); }
.pa-next { flex: 1; display: flex; flex-direction: column; gap: .5em; min-height: 0; margin-top: .2em; }
.pa-btn { margin-top: auto; background: var(--ink); color: #fff; text-align: center; border-radius: .8em; padding: .75em; font-size: .82em; font-weight: 500; }
.pa-mapc { position: relative; flex: 1; min-height: 4em; background-color: #eef2f7; background-image: linear-gradient(#dfe5ee 1px, transparent 1px), linear-gradient(90deg, #dfe5ee 1px, transparent 1px); background-size: 1.3em 1.3em; }
.pa-mapc { overflow: hidden; padding: 0; }
.pa-mapc svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-mapc .rt { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.on .pa-mapc svg, .on.pa-next svg { animation: wipe 2s var(--ease) .4s both; }
.pa-mapc .pinp { right: 18%; top: 14%; }
.pa-mapc .me { position: absolute; left: 14%; top: 90%; width: .8em; height: .8em; margin: -.4em 0 0 -.4em; border-radius: 50%; background: var(--ink); border: 2px solid #fff; }
.ph-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3em; }
.ph-photos i { aspect-ratio: 1; border-radius: .45em; background: linear-gradient(135deg, #9fb3cf, #d6dfeb); }
.ph-photos i:nth-child(2) { background: linear-gradient(135deg, #c9b79c, #ebe2d4); } .ph-photos i:nth-child(3) { background: linear-gradient(135deg, #8fa69b, #d5e0da); }
.ph-photos i.add { background: #fff; border: 1px dashed #c3c9d3; display: grid; place-items: center; color: var(--ink-2); font-style: normal; }
.pa-chk { display: flex; gap: .5em; align-items: center; font-size: .8em; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: .7em; padding: .5em .65em; }
.pa-chk i { width: 1.1em; height: 1.1em; border-radius: 50%; border: 1.5px solid #c3c9d3; flex: none; transition: all .35s var(--ease); transition-delay: var(--d); }
.on .pa-chk i { background: #22a55a; border-color: #22a55a; box-shadow: inset 0 0 0 .22em #22a55a, inset 0 0 0 1em #fff; }
.on .pa-chk { color: var(--ink); }
.pa-sign { position: relative; background: #fff; border: 1px solid var(--line); border-radius: .85em; padding: .5em .7em .6em; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.pa-sign svg { width: 100%; height: auto; }
.pa-sign path { fill: none; stroke: #1b2a52; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.on .pa-sign path { animation: draw 2.2s ease-in-out .8s forwards; }
.pa-sign small { border-top: 1px dashed #c3c9d3; padding-top: .3em; font-size: .65em; color: var(--ink-2); }
.pa-ok { font-size: .72em; color: #1d6b3a; background: #e3f6ea; border-radius: .7em; padding: .55em .7em; text-align: center; opacity: 0; transform: translateY(.5em); transition: all .5s var(--ease) 3.2s; }
.on .pa-ok { opacity: 1; transform: none; }

/* Drei Smartphones */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; align-items: start; }
.phone-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; min-width: 0; }
.phone-step:nth-child(2) { margin-top: 70px; }
.pwrap { width: 100%; display: flex; justify-content: center; }
.phone-step .iph { max-width: 250px; will-change: transform; }
.phone-step .n { font-size: 12px; color: var(--dim); letter-spacing: .08em; }
.phone-step h3 { font-size: 21px; letter-spacing: -0.02em; margin-top: 6px; }
.phone-step p { color: var(--ink-2); font-size: 15px; margin-top: 6px; max-width: 22em; }
.sw-dots { display: none; }
/* Schmale Bildschirme: Wisch-Reihe, das aktive Handy mittig, die Nachbarn schauen angedeutet hervor */
@media (max-width: 860px) {
  .phones { --pw: min(68vw, 290px); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: var(--pw); overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 44px calc(50% - 50vw) 0; padding: 6px calc((100vw - var(--pw)) / 2) 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .phones::-webkit-scrollbar { display: none; }
  .phone-step { scroll-snap-align: center; gap: 22px; }
  .phone-step:nth-child(2) { margin-top: 0; }
  .phone-step .iph { max-width: 240px; transform: none !important; }
  .phones.sw-ready .pwrap { transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .phones.sw-ready .pwrap + div { transition: opacity .3s var(--ease); }
  .phones.sw-ready .phone-step:not(.sw-on) .pwrap { opacity: .4; transform: scale(.94); }
  .phones.sw-ready .phone-step:not(.sw-on) .pwrap + div { opacity: 0; }
  .sw-dots { display: flex; justify-content: center; gap: 4px; }
  .sw-dots button { all: unset; cursor: pointer; min-width: 28px; height: 28px; display: grid; place-items: center; }
  .sw-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #c9ced8; transition: width .3s var(--ease), background .3s; }
  .sw-dots button[aria-current="true"]::before { width: 22px; background: var(--ink); }
  .sw-dots button:focus-visible { outline: 2px solid var(--accent); border-radius: 99px; }
}

/* Entscheidungshilfe */
.decide { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(40px, 6vw, 76px); margin-top: 56px; align-items: start; }
.decide > div { min-width: 0; }
.choose-head, .verdict-head { padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.choose-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.decide-step { display: block; color: var(--dim); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.choose-head h3, .verdict-head h3 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.choose-count { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.need button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; color: var(--ink); transition: background .22s, color .22s, border-color .22s, box-shadow .22s, transform .22s var(--ease); }
.need button:hover { border-color: #bfc5cf; background: #fff; transform: translateY(-1px); }
.need button::before { content: "+"; order: 2; width: 26px; height: 26px; border-radius: 8px; background: var(--card-2); display: grid; place-items: center; font-size: 15px; line-height: 1; transition: all .22s; flex: none; }
.need button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.need button[aria-pressed="true"]::before { content: "✓"; background: #fff; color: var(--ink); }
.need button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.decide-hint { color: var(--ink-2); font-size: 13px; margin-top: 7px; }
.verdict { display: grid; gap: 12px; }
.verdict-head { margin-bottom: 4px; }
.opt { position: relative; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px 18px; transition: background .35s var(--ease), color .35s, border-color .35s, opacity .35s, box-shadow .35s; display: grid; grid-template-columns: auto 1fr auto; gap: 5px 12px; align-items: center; }
.opt .oi { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; grid-row: span 2; align-self: start; transition: all .35s; }
.opt b { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.opt p { grid-column: 2 / -1; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.opt .rec { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--accent); color: #fff; opacity: 0; transform: scale(.8); transition: all .35s var(--ease); }
.opt.pick { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 18px 34px -26px rgba(12,15,20,.65); }
.opt.pick p { color: #b8bfcb; } .opt.pick .oi { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); }
.opt.pick .rec { opacity: 1; transform: none; }
.opt.dim2 { opacity: .42; }
@media (max-width: 960px) { .decide { grid-template-columns: 1fr; gap: 42px; } }
@media (max-width: 620px) { .need { grid-template-columns: 1fr; } .choose-head { align-items: start; } }

/* Gerätefunktionen */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.bt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-width: 0; }
.bt.w2 { grid-column: span 2; }
.bt.dark { background: var(--ink); color: #fff; border-color: var(--ink); } .bt.dark p { color: #b8bfcb; }
.bt h3 { font-size: 20px; letter-spacing: -0.02em; position: relative; }
.bt p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; position: relative; max-width: 32em; }
.bt .art { flex: 1; display: grid; place-items: center; min-height: 150px; margin-bottom: 22px; }
.vf { position: relative; align-self: stretch; justify-self: stretch; border-radius: 12px; background: linear-gradient(135deg, #b6c5dc, #e7ecf3 45%, #c3cfdf); overflow: hidden; }
.vf::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 4s infinite; }
@keyframes flash { 0%, 90% { opacity: 0; } 92% { opacity: .9; } 100% { opacity: 0; } }
.vf i { position: absolute; width: 18px; height: 18px; border: 2.5px solid #fff; }
.vf i:nth-child(1) { left: 12px; top: 12px; border-right: 0; border-bottom: 0; } .vf i:nth-child(2) { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.vf i:nth-child(3) { left: 12px; bottom: 12px; border-right: 0; border-top: 0; } .vf i:nth-child(4) { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.vf b { position: absolute; left: 50%; top: 50%; height: 52%; aspect-ratio: 1; border: 2px solid #f0c419; border-radius: 4px; transform: translate(-50%, -50%); animation: focus 4s infinite; }
@keyframes focus { 0% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
.vf .cnt { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; background: rgba(12,15,20,.6); color: #fff; padding: 3px 8px; border-radius: 99px; }
.bc { position: relative; width: 62%; max-width: 200px; padding: 14px 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.bc span { display: block; height: 60px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.bc small { font-size: 11px; letter-spacing: .12em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bc::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: #e5484d; box-shadow: 0 0 10px 2px rgba(229,72,77,.6); animation: scanl 1.8s ease-in-out infinite alternate; }
@keyframes scanl { to { transform: translateY(58px); } }
.gps { position: relative; width: 84%; max-width: 240px; aspect-ratio: 16 / 10; border-radius: 14px; background-color: #eef2f7; background-image: linear-gradient(#dfe5ee 1px, transparent 1px), linear-gradient(90deg, #dfe5ee 1px, transparent 1px); background-size: 18px 18px; overflow: hidden; border: 1px solid var(--line); }
.gps svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gps path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.gps .pinp { font-size: 16px; right: 7.5%; top: 18%; animation: none; box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2); }
.off { position: relative; width: 86%; max-width: 260px; height: 54px; }
.off span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font-size: 13px; padding: 0 12px; text-align: center; }
.off .a { background: #fff4df; color: #8a5a00; animation: offA 6s infinite; }
.off .b { background: #e3f6ea; color: #1d6b3a; animation: offB 6s infinite; }
@keyframes offA { 0%, 45% { opacity: 1; transform: none; } 52%, 95% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; } }
@keyframes offB { 0%, 45% { opacity: 0; transform: translateY(8px); } 52%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.nts { position: relative; width: 86%; max-width: 260px; height: 120px; }
.nt { position: absolute; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 26px -18px rgba(12,15,20,.45); font-size: 13px; }
.nt b { display: block; font-weight: 500; } .nt small { color: var(--ink-2); font-size: 12px; }
.nt.n1 { top: 0; animation: nt 5s var(--ease) infinite; } .nt.n2 { top: 62px; animation: nt 5s var(--ease) .6s infinite; }
@keyframes nt { 0% { opacity: 0; transform: translateY(-16px) scale(.96); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
.fid { position: relative; color: var(--ink); }
.fid svg { animation: fidscan 3.2s ease-in-out infinite; }
.fid span { position: absolute; right: -10px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: #22a55a; color: #fff; display: grid; place-items: center; font-size: 13px; opacity: 0; animation: fidok 3.2s ease-in-out infinite; }
@keyframes fidscan { 0%, 40% { color: var(--ink); transform: scale(1); } 50% { transform: scale(.94); } 60%, 100% { color: #22a55a; transform: scale(1); } }
@keyframes fidok { 0%, 55% { opacity: 0; transform: scale(.4); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.more span { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.1); color: #dfe3ea; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bt.w2 { grid-column: auto; } }

/* Ablauf zum Wischen */
.swipe { font-size: 14px; color: var(--ink-2); }
.hsteps { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3.3); gap: 16px; margin-top: 50px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.hsteps:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 22px; }
.hs { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 290px; }
.hs .num { font-size: 72px; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px #c3c9d3; }
.hs h3 { font-size: 21px; letter-spacing: -0.02em; margin-top: 44px; }
.hs p { color: var(--ink-2); font-size: 14.5px; }
.hs small { align-self: flex-start; font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--card-2); color: var(--ink-2); }
.hs:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.hs:last-child p { color: #b8bfcb; } .hs:last-child .num { -webkit-text-stroke-color: rgba(255,255,255,.35); } .hs:last-child small { background: rgba(255,255,255,.1); color: #dfe3ea; }
@media (max-width: 860px) { .hsteps { grid-auto-columns: 78%; margin-inline: -20px; padding-inline: 20px; } }
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 60px; }
.facts4 div { padding: 28px 24px; border-right: 1px solid var(--line); }
.facts4 div:last-child { border-right: 0; }
.facts4 b { display: block; font-size: 42px; font-weight: 400; letter-spacing: -0.05em; line-height: 1.1; }
.facts4 span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .facts4 { grid-template-columns: 1fr 1fr; } .facts4 div:nth-child(2) { border-right: 0; } .facts4 div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- KI-Agenten und Automatisierung ---------- */
.phero.dark { background: #0b0e13; color: #fff; }
.phero.dark .glow { position: absolute; inset: 0; background: radial-gradient(620px 420px at 78% 38%, rgb(var(--accent-rgb) / .34), transparent 70%), radial-gradient(520px 320px at 8% 92%, rgb(var(--accent-rgb) / .12), transparent 70%); }
.phero.dark .glow::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); }
.phero.dark h1 .dim { color: #7f8899; }
.phero.dark .lead { color: #b8bfcb; }
.phero.dark .crumbs { color: #9aa2b1; } .phero.dark .crumbs span { color: #5d6574; } .phero.dark .crumbs a:hover { color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.05); }
body:has(.phero.dark) .nav:not(.solid) .brand,
body:has(.phero.dark) .nav:not(.solid) .dd > button,
body:has(.phero.dark) .nav:not(.solid) .nav-links > a:hover { color: #fff; }
body:has(.phero.dark) .nav:not(.solid) .nav-links > a { color: #c3c9d4; }
body:has(.phero.dark) .nav:not(.solid) .brand svg rect:not(.acc) { fill: #fff; }
body:has(.phero.dark) .nav:not(.solid) .brand small { color: #c3c9d4; border-color: #5d6574; }
body:has(.phero.dark) .nav:not(.solid) .burger { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
body:has(.phero.dark) .nav:not(.solid) .burger i, body:has(.phero.dark) .nav:not(.solid) .burger i::before, body:has(.phero.dark) .nav:not(.solid) .burger i::after { background: #fff; }

/* Agent-Konsole */
.agent { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); font-size: 14px; color: #e6e9ef; min-height: 500px; }
.ag-head { display: flex; align-items: center; gap: 10px; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ag-av { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
.ag-head small { margin-left: auto; font-weight: 400; font-size: 12px; color: #7fd49b; display: flex; align-items: center; gap: 6px; }
.ag-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf73; animation: blink 1.4s infinite; }
.ag-mail { margin-top: 16px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; }
.ag-mail small { color: var(--ink-2); font-size: 12px; }
.ag-mail b { display: block; font-weight: 500; margin-top: 2px; }
.ag-mail p { color: var(--ink-2); font-size: 13.5px; margin-top: 6px; }
.ag-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.ag-steps li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #c9cfd9; }
.ag-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); border-top-color: #fff; animation: spin .8s linear infinite; box-sizing: border-box; }
.ag-steps li.ok { color: #fff; }
.ag-steps li.ok::before { content: "✓"; animation: none; border: 0; background: #3ccf73; color: #0b0e13; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ag-out { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.ag-out small { display: block; font-size: 12px; color: #9aa2b1; }
.ag-out b { font-size: 23px; font-weight: 400; letter-spacing: -0.03em; }
.ag-ok { background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500; transition: transform .2s, background .3s, color .3s; box-shadow: 0 0 0 0 rgba(255,255,255,.4); animation: okp 1.6s infinite; }
@keyframes okp { 70%, 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.ag-ok.press { transform: scale(.93); background: #3ccf73; color: #0b0e13; animation: none; }
.ag-done { margin-top: 12px; text-align: center; font-size: 13.5px; color: #7fd49b; }
.agent [data-k] { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.agent [data-k].show { opacity: 1; transform: none; }

/* Regel oder KI */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 56px; align-items: stretch; }
.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vs-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); } .vs-card.dark .kick { color: #9aa2b1; }
.vs-card h3 { font-size: 25px; letter-spacing: -0.03em; }
.vs-plus { align-self: center; width: 56px; height: 56px; margin: 0 -14px; z-index: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 0 0 8px var(--bg); }
.rule { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; line-height: 2.1; }
.rule div { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d); }
.vs.on .rule div { opacity: 1; transform: none; }
.rule b { color: var(--accent); font-weight: 600; display: inline-block; width: 4.4em; }
.bubs { display: grid; gap: 10px; }
.bub { max-width: 90%; padding: 12px 14px; border-radius: 16px; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.vs.on .bub { opacity: 1; transform: none; } .vs.on .bub.out { transition-delay: .9s; }
.bub small { display: block; font-size: 11.5px; opacity: .7; margin-bottom: 3px; }
.bub.in { background: rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.bub.out { margin-left: auto; background: var(--accent); border-bottom-right-radius: 4px; }
.ticks { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.vs-card.dark .ticks { color: #c9cfd9; }
.ticks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.vs-note { text-align: center; margin-top: 28px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } .vs-plus { margin: -14px auto; } }

/* Datenfluss */
.flow { margin-top: 50px; background: #0b0e13; border-radius: 28px; padding: 34px 30px; color: #fff; position: relative; overflow: hidden; }
.flow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 50%, rgb(var(--accent-rgb) / .25), transparent 70%); }
.flow svg { position: relative; width: 100%; height: auto; display: block; font-family: var(--f); }
.flow .p { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 2; }
.flow .node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.16); }
.flow .node text { fill: #e6e9ef; font-size: 16px; } .flow .node .sm { fill: #8b93a3; font-size: 12.5px; }
.flow .hub rect { fill: var(--accent); } .flow .hub text { fill: #fff; font-size: 17px; } .flow .hub .sm { fill: color-mix(in srgb, var(--accent) 18%, #fff); font-size: 12.5px; }
.flow .dot { fill: #fff; } .flow .dot.b { fill: color-mix(in srgb, var(--accent) 50%, #fff); }
.flow .ring { fill: none; stroke: rgba(255,255,255,.22); stroke-dasharray: 3 9; transform-origin: 480px 200px; animation: spin 24s linear infinite; }
.flow-m { display: none; position: relative; }
@media (max-width: 700px) {
  .flow { padding: 26px 20px; }
  .flow svg { display: none; }
  .flow-m { display: grid; gap: 12px; justify-items: center; text-align: center; }
  .fm-g { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .fm-g span { font-size: 13.5px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
  .fm-hub { background: var(--accent); padding: 14px 20px; border-radius: 16px; font-weight: 500; }
  .fm-a { font-style: normal; color: color-mix(in srgb, var(--accent) 50%, #fff); animation: hint 1.6s ease-in-out infinite; }
}

/* Rechner */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 56px; }
.calc-in { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 30px; }
.sl label { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.sl output { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.sl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--f, 50%), #e4e7ed var(--f, 50%)); margin: 16px 0 0; cursor: pointer; }
.sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 10px rgba(12,15,20,.2); transition: transform .2s; }
.sl input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 10px rgba(12,15,20,.2); }
.sl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.sl input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.calc-out { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.calc-out > small { font-size: 13px; color: #9aa2b1; letter-spacing: .04em; }
.cbig { font-size: clamp(54px, 6.4vw, 82px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row2 div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 16px; }
.row2 b { display: block; font-size: 26px; font-weight: 400; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.row2 small { color: #9aa2b1; font-size: 13px; }
.calc-out .note { font-size: 12.5px; color: #8b93a3; margin-top: auto; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 24px; } }

/* Kontrolle */
.gate { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px 26px 30px; }
.gate-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gate-line::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 29px; height: 2px; background: repeating-linear-gradient(90deg, #d4d9e2 0 6px, transparent 6px 12px); }
.gn { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gn .ic { width: 58px; height: 58px; border-radius: 17px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 6px; }
.gn.human .ic { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / .12); }
.gn b { font-weight: 500; font-size: 16.5px; }
.gn small { color: var(--ink-2); font-size: 13.5px; max-width: 16em; }
.token { position: absolute; top: 23px; left: 12.5%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; z-index: 0; animation: tok 6s linear infinite; }
@keyframes tok { 0% { left: 12.5%; opacity: 0; } 4% { opacity: 1; } 31% { background: var(--ink); } 35% { background: #22a55a; } 96% { opacity: 1; } 100% { left: 87.5%; opacity: 0; background: #22a55a; } }
.sec4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.sec4 > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.sec4 .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 16px; }
.sec4 b { font-weight: 500; font-size: 16px; display: block; }
.sec4 p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .gate-line::before, .token { display: none; } .sec4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sec4 { grid-template-columns: 1fr; } }
/* Schmale Bildschirme: Ablauf von oben nach unten, ein Pfeil läuft nacheinander durch die Verbindungen */
@media (max-width: 860px) {
  .gate { padding: 28px 22px; }
  .gate-line { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 420px; margin-inline: auto; }
  .gn { display: grid; grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 2px; align-items: start; text-align: left; padding-bottom: 50px; }
  .gn .ic { grid-row: 1 / span 2; margin: 0; }
  .gn b { padding-top: 7px; }
  .gn small { max-width: none; }
  .gn:last-of-type { padding-bottom: 0; } /* nicht :last-child, danach folgt noch der Desktop-Punkt */
  /* Pfeilspitze über jedem Folgeschritt: die Richtung ist auch ohne Bewegung klar */
  .gn + .gn .ic::before { content: ""; position: absolute; left: 50%; top: -13px; width: 8px; height: 8px; margin-left: -5px; border: solid #aab2c0; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .gn.human .ic::before { top: -20px; }
  .gn:not(:last-of-type) { --flow: #22a55a; background: linear-gradient(#e1e5ec, #e1e5ec) 28px 58px / 2px calc(100% - 58px) no-repeat; }
  .gn:first-child { --flow: var(--accent); }
  .gn:not(:last-of-type)::after { content: ""; position: absolute; left: 28px; top: 58px; bottom: 0; width: 2px; background: var(--flow); transform-origin: top; transform: scaleY(0); }
  .gn:not(:last-of-type)::before { content: ""; position: absolute; z-index: 1; left: 18px; top: 60px; width: 22px; height: 22px; border-radius: 50%; opacity: 0; background: var(--flow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 4px var(--card); }
  .gn.human:not(:last-of-type)::before { top: 68px; }
  .gn:nth-child(1)::after { animation: gfill1 6s linear infinite; }
  .gn:nth-child(2)::after { animation: gfill2 6s linear infinite; }
  .gn:nth-child(3)::after { animation: gfill3 6s linear infinite; }
  .gn:nth-child(1)::before { animation: grun1 6s linear infinite; }
  .gn:nth-child(2)::before { animation: grun2 6s linear infinite; }
  .gn:nth-child(3)::before { animation: grun3 6s linear infinite; }
}
@keyframes gfill1 { 0%, 3% { transform: scaleY(0); opacity: 1; } 27%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes gfill2 { 0%, 35% { transform: scaleY(0); opacity: 1; } 59%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes gfill3 { 0%, 67% { transform: scaleY(0); opacity: 1; } 91%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes grun1 { 0%, 2% { top: 60px; opacity: 0; } 5% { opacity: 1; } 27% { top: calc(100% - 24px); opacity: 1; } 31%, 100% { top: calc(100% - 24px); opacity: 0; } }
@keyframes grun2 { 0%, 34% { top: 68px; opacity: 0; } 37% { opacity: 1; } 59% { top: calc(100% - 24px); opacity: 1; } 63%, 100% { top: calc(100% - 24px); opacity: 0; } }
@keyframes grun3 { 0%, 66% { top: 60px; opacity: 0; } 69% { opacity: 1; } 91% { top: calc(100% - 24px); opacity: 1; } 95%, 100% { top: calc(100% - 24px); opacity: 0; } }
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .gn:not(:last-of-type)::after { animation: none; transform: none; }
  .gn:not(:last-of-type)::before { animation: none; display: none; }
}

/* Einsatzbeispiele als Bento */
.ucb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.ucb > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ucb .tag { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ucb h3 { font-size: 19px; letter-spacing: -0.02em; }
.ucb p { color: var(--ink-2); font-size: 14.5px; }
.ucb .big2 { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #10141b, #1c2537); color: #fff; border-color: transparent; justify-content: flex-end; }
.ucb .big2 .tag { color: #9aa2b1; } .ucb .big2 h3 { font-size: 28px; } .ucb .big2 p { color: #b8bfcb; font-size: 15.5px; }
.ucb .wide { grid-column: span 4; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.ucb .wide p { max-width: 34em; }
.doc { display: grid; grid-template-columns: .9fr 1fr; gap: 16px; margin-bottom: 26px; align-items: center; }
.paper { position: relative; background: #fff; border-radius: 10px; padding: 16px; display: grid; gap: 8px; overflow: hidden; color: var(--ink); }
.paper b { font-weight: 600; font-size: 14px; }
.paper i { display: block; height: 6px; border-radius: 3px; background: #e4e7ed; }
.scanl { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(rgb(var(--accent-rgb) / 0), rgb(var(--accent-rgb) / .35)); border-bottom: 2px solid var(--accent); animation: scand 3s ease-in-out infinite; }
@keyframes scand { 0% { transform: translateY(-30px); } 60%, 100% { transform: translateY(150px); } }
.fields { display: grid; gap: 8px; }
.fields div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 12px; animation: fld 6s infinite both; }
.fields div:nth-child(2) { animation-delay: .5s; } .fields div:nth-child(3) { animation-delay: 1s; }
@keyframes fld { 0%, 20% { opacity: 0; transform: translateX(10px); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fields small { display: block; font-size: 11px; color: #9aa2b1; } .fields b { font-weight: 500; font-size: 13.5px; }
@media (max-width: 900px) { .ucb { grid-template-columns: 1fr 1fr; } .ucb .big2 { grid-row: auto; } .ucb .wide { grid-column: span 2; flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .ucb { grid-template-columns: 1fr; } .ucb .big2, .ucb .wide { grid-column: auto; } .doc { grid-template-columns: 1fr; } }

/* Drei Phasen */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.ph3 { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.ph3 .pr { display: flex; justify-content: space-between; align-items: center; }
.ph3 .no { font-size: 46px; letter-spacing: -0.05em; line-height: 1; color: var(--dim); }
.ph3 .when { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--card-2); color: var(--ink-2); }
.ph3 h3 { font-size: 23px; letter-spacing: -0.03em; margin-top: 22px; }
.ph3 p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.ph3 ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.ph3 li::before { content: "→"; color: var(--accent); margin-right: 8px; }
.ph3:nth-child(2) { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-14px); }
.ph3:nth-child(2) p, .ph3:nth-child(2) ul { color: #b8bfcb; } .ph3:nth-child(2) .no { color: #5d6574; } .ph3:nth-child(2) .when { background: rgba(255,255,255,.1); color: #dfe3ea; }
.ph3:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; font-size: 14px; z-index: 1; }
/* Untereinander zeigt der Pfeil nach unten und sitzt zwischen den Karten */
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; gap: 40px; } .ph3:nth-child(2) { transform: none; } .ph3:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -37px; margin: 0 0 0 -17px; } }
.phases + .marquee { margin-top: 70px; }

/* ---------- Webseiten ---------- */
.hero-web { position: relative; padding: 4% 2% 8%; }
.brw.auto .scr { aspect-ratio: 4 / 3.25; container-type: size; }
.brw.auto .site { animation: autoscroll 18s ease-in-out infinite; }
@keyframes autoscroll { 0%, 10% { transform: translateY(0); } 32%, 42% { transform: translateY(calc((-100% + 100cqh) * .45)); } 66%, 76% { transform: translateY(calc(-100% + 100cqh)); } 94%, 100% { transform: translateY(0); } }
.fb { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: 0 18px 34px -20px rgba(12,15,20,.45); white-space: nowrap; }
.fb b { display: block; font-weight: 500; } .fb small { color: var(--ink-2); font-size: 12px; }
.fb.f1 { left: -5%; top: 26%; animation: floaty 6s ease-in-out infinite; }
.fb.f2 { right: -3%; bottom: 3%; animation: popin 8s var(--ease) infinite; }
.fb i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.mini-g { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #1a7f4b; background: radial-gradient(closest-side, #fff 76%, transparent 77% 100%), conic-gradient(#1fa463 98%, #e3f6ea 0); }
@keyframes popin { 0%, 30% { opacity: 0; transform: translateY(10px) scale(.95); } 36%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@media (max-width: 900px) { .fb.f1 { left: 0; } .fb.f2 { right: 0; } }

/* Musterseite (in Browser, Tablet und Smartphone) */
.site { font-size: 12px; color: #1b2230; background: #fff; line-height: 1.4; text-align: left; }
.site.fluid { font-size: 1.5cqw; }
.st-nav { display: flex; align-items: center; gap: 2em; padding: 1.2em 2.4em; border-bottom: 1px solid #eef0f4; }
.st-nav b { display: flex; align-items: center; gap: .5em; font-weight: 600; font-size: 1.15em; white-space: nowrap; }
.st-nav b i { width: 1.4em; height: 1.4em; border-radius: .4em; background: #1d4e89; }
.st-nav b span { font-weight: 400; color: #6b7280; }
.st-nav nav { display: flex; gap: 1.6em; margin-left: auto; color: #4b5563; white-space: nowrap; }
.site em { font-style: normal; background: #1d4e89; color: #fff; padding: .65em 1.15em; border-radius: .55em; font-weight: 500; white-space: nowrap; }
.st-nav .burg { display: none; position: relative; width: 1.6em; height: 1.1em; border-top: 2px solid #1b2230; border-bottom: 2px solid #1b2230; margin-left: auto; }
.st-nav .burg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #1b2230; }
.st-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4em; padding: 3em 2.4em; align-items: center; background: linear-gradient(180deg, #f3f6fb, #fff); }
.st-hero small { color: #1d4e89; font-weight: 500; font-size: .9em; }
.st-hero h4 { font-size: 2.5em; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: .35em 0 0; }
.st-hero p { color: #4b5563; margin-top: .9em; font-size: 1.05em; }
.st-acts { display: flex; align-items: center; gap: 1.2em; margin-top: 1.4em; flex-wrap: wrap; }
.st-acts span { color: #4b5563; font-size: .92em; }
.st-trust { display: flex; justify-content: space-around; gap: .6em 1.4em; padding: 1.2em 2.4em; border-block: 1px solid #eef0f4; color: #4b5563; font-size: .95em; flex-wrap: wrap; }
.st-sec { padding: 2.6em 2.4em; }
.st-sec > b { display: block; font-size: 1.7em; font-weight: 600; letter-spacing: -0.02em; }
.st-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 1.2em; }
.st-cards div { border: 1px solid #e8ebf0; border-radius: .9em; padding: 1.2em; }
.st-cards i { display: block; width: 2.2em; height: 2.2em; border-radius: .6em; background: #e8f0fa; margin-bottom: .9em; }
.st-cards b { font-weight: 600; } .st-cards p { color: #6b7280; font-size: .95em; margin-top: .3em; }
.st-rev { margin: 0 2.4em; padding: 2em; border-radius: 1em; background: #1d4e89; color: #fff; }
.st-rev span { color: #ffd34d; letter-spacing: .1em; }
.st-rev b { font-weight: 500; font-size: 1.35em; line-height: 1.3; display: block; margin: .4em 0; }
.st-rev small { opacity: .8; }
.st-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; padding: 2.4em; }
.st-cta { margin: 0 2.4em 2.4em; padding: 2em; border-radius: 1em; background: #f3f6fb; display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; }
.st-cta b { font-size: 1.4em; font-weight: 600; letter-spacing: -0.02em; }
.st-foot { padding: 1.4em 2.4em; color: #9ca3af; font-size: .9em; border-top: 1px solid #eef0f4; }
@container rsite (max-width: 760px) {
  .st-nav nav, .st-nav em { display: none; }
  .st-nav .burg { display: block; }
  .st-hero { grid-template-columns: 1fr; }
  .st-cards { grid-template-columns: 1fr 1fr; }
  .st-gal { grid-template-columns: repeat(2, 1fr); }
}
@container rsite (max-width: 460px) {
  .site { font-size: 12.5px; }
  .st-hero h4 { font-size: 2.1em; }
  .st-cards { grid-template-columns: 1fr; }
  .st-nav, .st-hero, .st-sec, .st-gal, .st-trust, .st-foot { padding-inline: 1.4em; }
  .st-rev, .st-cta { margin-inline: 1.4em; }
  .st-trust { justify-content: flex-start; }
  .st-acts em, .st-cta em { width: 100%; text-align: center; padding-block: .9em; }
}

/* Responsive-Demo */
.rdemo { margin-top: 50px; }
.seg-wrap { display: flex; justify-content: center; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 4px; }
.seg button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; transition: background .25s, color .25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rstage { margin-top: 26px; background: linear-gradient(180deg, #e9edf4, #f6f7f9); border: 1px solid var(--line); border-radius: 28px; padding: 44px 24px; display: flex; justify-content: center; }
.rframe { position: relative; width: 100%; max-width: 1000px; height: 560px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(12,15,20,.45); overflow: hidden; display: flex; flex-direction: column; transition: max-width .8s var(--ease), border-radius .8s var(--ease), height .8s var(--ease), box-shadow .8s var(--ease); }
.rframe .bar { transition: margin-top .6s var(--ease); }
.rframe[data-m="tab"] { max-width: 520px; height: 660px; border-radius: 26px; box-shadow: 0 0 0 9px #050506, 0 0 0 10px #85878c, 0 0 0 11px #47494e, 0 40px 80px -30px rgba(12,15,20,.55); }
.rframe[data-m="phone"] { max-width: 300px; height: 640px; border-radius: 46px; box-shadow: 0 0 0 7px #050506, 0 0 0 8px #85878c, 0 0 0 9px #47494e, 0 40px 80px -30px rgba(12,15,20,.55); }
.rframe:not([data-m="desk"]) .bar { margin-top: -38px; }
.rnotch { position: absolute; top: 10px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 99px; background: #000; z-index: 3; opacity: 0; transition: opacity .4s; }
.rframe::before, .rframe::after { position: absolute; z-index: 4; opacity: 0; pointer-events: none; transition: opacity .4s; }
.rframe::before { content: "9:41"; top: 14px; left: 34px; font-size: 13.5px; font-weight: 600; color: #0c0f14; }
.rframe::after { content: ""; left: 50%; bottom: 7px; width: 108px; height: 4px; margin-left: -54px; border-radius: 99px; background: #0c0f14; }
.rframe[data-m="phone"]::before, .rframe[data-m="phone"]::after { opacity: 1; }
.rframe[data-m="phone"] .rnotch { opacity: 1; }
.rframe[data-m="phone"] .rview { padding-top: 44px; }
.rframe[data-m="tab"] .rview { padding-top: 14px; }
.rview { flex: 1; overflow: hidden auto; container: rsite / inline-size; scrollbar-width: none; transition: padding .6s var(--ease); }
.rview::-webkit-scrollbar { display: none; }
.rcap { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-2); min-height: 1.5em; }
@media (max-width: 700px) { .rstage { padding: 30px 14px; } .rframe { height: 480px; } .rframe[data-m="tab"] { max-width: 390px; height: 500px; } .rframe[data-m="phone"] { max-width: 256px; height: 546px; border-radius: 40px; } .seg button { padding: 9px 11px; font-size: 13.5px; } }

/* Geschwindigkeit */
.speed { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.gauges { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-content: center; }
.gauge { text-align: center; min-width: 0; }
.gg { position: relative; width: 100%; max-width: 104px; aspect-ratio: 1; margin: 0 auto; }
.gg svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gg circle { fill: none; stroke-width: 8; }
.gg .bg { stroke: #e3f6ea; }
.gg .fg { stroke: #1fa463; stroke-linecap: round; stroke-dasharray: 263.9; stroke-dashoffset: 263.9; transition: stroke-dashoffset 1.6s var(--ease); }
.gauges.on .gg .fg { stroke-dashoffset: calc(263.9 * (1 - var(--v) / 100)); }
.gg b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #1a7f4b; font-weight: 500; font-variant-numeric: tabular-nums; }
.gauge span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.gauges .cap { grid-column: 1 / -1; text-align: center; }
.race { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.race .kick { color: #9aa2b1; }
.lane small { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #b8bfcb; }
.lane small b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.lane .tr { height: 14px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 10px; overflow: hidden; }
.lane .tr i { display: block; height: 100%; width: 0; border-radius: 99px; background: #7c8497; }
.lane.us .tr i { background: #3ccf73; }
.race.on .lane .tr i { width: 100%; transition: width var(--t) linear; }
.race > p { color: #b8bfcb; font-size: 15px; }
.again { all: unset; cursor: pointer; font-size: 14px; color: #dfe3ea; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.again:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) { .speed { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gauges { grid-template-columns: 1fr 1fr; row-gap: 22px; } }

/* Anatomie */
.anat { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; margin-top: 56px; align-items: start; }
.anat > div { min-width: 0; }
.wf { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 10px; position: sticky; top: 100px; box-shadow: 0 30px 60px -40px rgba(12,15,20,.35); }
.wf > div, .wf-cta { position: relative; background: var(--bg); border-radius: 10px; border: 1.5px dashed transparent; transition: background .3s, border-color .3s; padding: 12px; }
.wf-nav { display: flex; justify-content: space-between; align-items: center; }
.sk { display: block; height: 8px; border-radius: 4px; background: #d7dce5; }
.sk + .sk { margin-top: 8px; }
.wf-hero { padding: 22px 14px 16px !important; }
.wf-hero .sk:first-of-type { height: 14px; }
.wf-cta { width: 34%; height: 26px; margin-top: 14px; background: #cdd3dd !important; padding: 0 !important; }
.wf-trust, .wf-cards, .wf-gal { display: grid; gap: 8px; }
.wf-trust { grid-template-columns: repeat(4, 1fr); } .wf-trust i { height: 12px; border-radius: 99px; background: #d7dce5; }
.wf-cards { grid-template-columns: repeat(3, 1fr); } .wf-cards i { height: 54px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.wf-gal { grid-template-columns: repeat(4, 1fr); } .wf-gal i { aspect-ratio: 1; border-radius: 8px; background: #d7dce5; }
.wf-contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .wf-contact i { width: 30%; height: 22px; border-radius: 6px; background: #cdd3dd; }
.wf .hot { border-color: var(--accent) !important; background: color-mix(in srgb, var(--accent) 8%, #fff) !important; }
.wf .pin { position: absolute; top: 50%; right: -12px; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; z-index: 1; }
.wf-hero > .pin { top: 18px; margin-top: 0; }
.wf .hot > .pin { background: var(--accent); transform: scale(1.2); }
.alist { display: grid; gap: 6px; }
.ai { all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 3px 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.ai .no { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font-size: 13px; transition: background .3s, color .3s; }
.ai b { font-weight: 500; font-size: 17.5px; letter-spacing: -0.02em; }
.ai p { color: var(--ink-2); font-size: 14.5px; grid-column: 2; }
.ai.hot { background: var(--card); border-color: var(--line); }
.ai.hot .no { background: var(--accent); color: #fff; }
.ai:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) { .anat { grid-template-columns: 1fr; gap: 26px; } .wf { position: relative; top: 0; } }

/* Inklusive: vier Themen mit je eigener Optik */
.pak { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 50px; }
.bk { display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.bk h3 { font-size: 21px; letter-spacing: -0.025em; padding: 4px 4px 0; }
.bk ul { list-style: none; margin: 0; padding: 0 4px; }
.bk li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bk li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.bk li b { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.bk li small { display: block; color: var(--ink-2); font-size: 13px; }
.bk-vis { min-height: 142px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; border-radius: 16px; background: var(--bg); font-size: 13px; line-height: 1.35; overflow: hidden; }
/* Technik: dunkle Statusanzeige */
.bk-tech .bk-vis { background: var(--ink); color: #fff; }
.bk-url { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border-radius: 99px; padding: 10px 14px; }
.bk-url svg { color: #7fd49b; flex: none; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bk-chips span { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); color: #dfe3ea; }
.bk-chips u { width: 7px; height: 7px; border-radius: 50%; background: #3ccf73; }
/* Gefunden werden: Suchtreffer in Akzentfarbe */
.bk-found .bk-vis { background: rgb(var(--accent-rgb) / .09); }
.bk-found li i { background: rgb(var(--accent-rgb) / .1); color: var(--accent); }
.bk-q { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; color: var(--ink-2); }
.bk-hit { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 12px; padding: 11px 12px; box-shadow: 0 14px 28px -20px rgba(12, 15, 20, .45); }
.bk-hit i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.bk-hit b { display: block; font-weight: 600; font-size: 13.5px; }
.bk-hit small { display: block; color: var(--ink-2); font-size: 12px; }
.bk-hit em { font-style: normal; color: #f4b400; letter-spacing: 1px; }
/* Rechtlich: grüner Bereich mit Schalter und Lesbarkeitsprobe */
.bk-legal .bk-vis { background: #e9f5ee; }
.bk-legal li i { background: #e3f6ea; color: #1d6b3a; }
.bk-consent { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 12px; padding: 11px 13px; }
.bk-consent b { display: block; font-weight: 600; font-size: 13.5px; }
.bk-consent small { display: block; color: var(--ink-2); font-size: 12px; }
.bk-sw { position: relative; flex: none; width: 40px; height: 23px; border-radius: 99px; background: #1fa463; }
.bk-sw::after { content: ""; position: absolute; width: 19px; height: 19px; border-radius: 50%; background: #fff; right: 2px; top: 2px; }
.bk-aa { display: flex; align-items: center; gap: 8px; }
.bk-aa span { width: 44px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.bk-aa span.inv { background: var(--ink); color: #fff; }
.bk-aa small { margin-left: auto; color: #1d6b3a; font-size: 12.5px; text-align: right; }
/* Selbst ändern: dunkle Karte mit kleinem Editor */
.bk-cms { background: var(--ink); border-color: var(--ink); color: #fff; }
.bk-cms .bk-vis { flex: 1; background: rgba(255, 255, 255, .07); }
.bk-cms li { border-top-color: rgba(255, 255, 255, .14); }
.bk-cms li i { background: rgba(255, 255, 255, .12); }
.bk-cms li small { color: #b8bfcb; }
.bk-edit { background: #fff; color: var(--ink); border-radius: 12px; overflow: hidden; }
.bk-tools { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 13px; border-bottom: 1px solid var(--line); }
.bk-tools b { font-weight: 700; }
.bk-tools em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; background: var(--accent); color: #fff; border-radius: 8px; padding: 6px 11px; }
.bk-edit p { padding: 12px 13px 10px; font-size: 14.5px; font-weight: 500; }
.bk-cur { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
.bk-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 13px 13px; }
.bk-thumbs svg { display: block; width: 100%; height: 52px; border-radius: 8px; }
.bk-thumbs span { display: grid; place-items: center; border: 1.5px dashed #c9ced8; border-radius: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) {
  .pak { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; }
  .bk { padding: 14px; }
  .bk-vis { min-height: 122px; padding: 13px; }
}

/* Zeitplan als Straße */
.road { position: relative; margin-top: 60px; display: grid; grid-template-columns: repeat(6, 1fr); height: 300px; }
.road::before, .road .fillr { content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); right: 0; }
.road .fillr { right: auto; width: 0; background: var(--ink); transition: width 2.4s var(--ease); }
.road.on .fillr { width: 100%; }
.rm { position: relative; display: grid; place-items: center; }
.rm .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid #c9ced8; position: relative; z-index: 1; transition: background .4s, border-color .4s, transform .4s var(--ease); transition-delay: var(--d); }
.road.on .rm .dot { background: var(--ink); border-color: var(--ink); transform: scale(1.1); }
.rm:nth-child(6) .dot, .rm:last-child .dot { }
.rm .txt { position: absolute; left: 6px; right: 6px; text-align: center; }
.rm:nth-child(even) .txt { bottom: calc(50% + 24px); }
.rm:nth-child(odd) .txt { top: calc(50% + 24px); }
.rm .wk { font-size: 12px; color: var(--accent); font-weight: 500; }
.rm b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; margin-top: 2px; }
.rm p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 860px) {
  .road { grid-template-columns: 1fr; height: auto; gap: 26px; padding-left: 34px; }
  .road::before, .road .fillr { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0; }
  .road .fillr { height: 0; bottom: auto; transition: height 2.4s var(--ease); }
  .road.on .fillr { width: 2px; height: 100%; }
  .rm { display: block; }
  .rm .dot { position: absolute; left: -34px; top: 2px; }
  .rm .txt { position: static; text-align: left; }
}

/* Was wir bauen */
.rows { margin-top: 50px; border-top: 1px solid var(--line); }
.rowi { position: relative; isolation: isolate; display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 20px; align-items: center; padding: 26px 14px; border-bottom: 1px solid var(--line); }
.rowi::before { content: ""; position: absolute; inset: 0; background: var(--card); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; border-radius: 14px; }
.rowi:hover::before { transform: none; }
.rowi .no { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.rowi b { font-size: 23px; font-weight: 400; letter-spacing: -0.03em; transition: transform .45s var(--ease); }
.rowi:hover b { transform: translateX(6px); }
.rowi p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 700px) { .rowi { grid-template-columns: 40px 1fr; gap: 6px 14px; } .rowi p { grid-column: 2; } }

@media (prefers-reduced-motion: reduce) {
  .arch .mod { opacity: 1; transform: none; }
  .chart .ln { stroke-dashoffset: 0; } .chart .mark { opacity: 1; }
  .p-bar { transform: none; }
  .pa-sign path { stroke-dashoffset: 0; } .pa-ok { opacity: 1; transform: none; }
  .agent [data-k] { opacity: 1; transform: none; }
  .rule div, .bub { opacity: 1; transform: none; }
  .gauges .gg .fg { stroke-dashoffset: calc(263.9 * (1 - var(--v) / 100)); }
  .road .fillr { width: 100%; }
  .fields div, .nt, .toast, .fb.f2 { opacity: 1; }
  .off .b { opacity: 0; }
}

/* ===== Startseite: Scroll-Bühne für die Leistungen ===== */
.svc-stage { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; margin-top: 60px; align-items: start; }
.show-stage { position: sticky; top: max(90px, calc(50vh - 300px)); height: min(600px, calc(100vh - 130px)); }
.stage-in { position: absolute; inset: 0 0 76px; }
.sv { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-content: center; grid-template-rows: minmax(0, 100%); opacity: 0; transform: translateY(56px) scale(.92); filter: blur(10px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); pointer-events: none; }
.sv.up { transform: translateY(-56px) scale(.92); }
.sv.on { opacity: 1; transform: none; filter: none; }
.sv .iph, .st-vis .iph { width: auto; height: 100%; max-height: 470px; max-width: none; }
.sv .brw, .st-vis .brw { width: 100%; }
.sv .agent, .st-vis .agent { width: 100%; max-width: 380px; min-height: 0; background: #0b0e13; }
.agent.still .ag-steps li { opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d); }
.sv.on .agent.still .ag-steps li, .st-vis .agent.still .ag-steps li { opacity: 1; transform: none; }
.stage-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: flex; align-items: stretch; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.stage-nav button { all: unset; cursor: pointer; flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; position: relative; overflow: hidden; }
.stage-nav button i { font-style: normal; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
.stage-nav button:hover { color: var(--ink); }
.stage-nav button.on { background: var(--ink); color: #fff; }
.stage-nav button.on i { color: rgb(255 255 255 / .55); }
.stage-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.show-txt { position: relative; padding-left: 34px; }
.show-line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.show-line i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--ink); border-radius: 2px; }
.sx { min-height: min(78vh, 640px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; filter: blur(.4px); transition: opacity .6s var(--ease), filter .6s var(--ease); }
.sx.on { opacity: 1; filter: none; }
.st-no { font-size: 12.5px; letter-spacing: .08em; color: var(--dim); font-variant-numeric: tabular-nums; }
.sx .st-h { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.04em; margin-top: 14px; }
.sx > p { color: var(--ink-2); margin-top: 16px; font-size: 17px; max-width: 30em; }
.sx > ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.sx > ul > li { display: flex; gap: 12px; align-items: center; }
.sx > ul > li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.sx .btn { margin-top: 30px; align-self: flex-start; }
.st-vis { display: none; }
@media (max-width: 960px) {
  .svc-stage { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .show-stage { display: none; }
  .show-txt { padding-left: 0; }
  .show-line { display: none; }
  .sx { min-height: 0; opacity: 1; filter: none; padding: 0 0 70px; }
  .st-vis { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; margin-bottom: 28px; }
  .st-vis.dev-phone { height: 420px; }
  .st-vis .iph { max-height: 420px; }
}
@media (prefers-reduced-motion: reduce) { .agent.still .ag-steps li { opacity: 1; transform: none; } .sx { opacity: 1; filter: none; } }

/* ===== Mockups mit echten Inhalten ===== */
/* Agent */
.ag-name { display: grid; line-height: 1.25; }
.ag-name em { font-style: normal; font-weight: 400; font-size: 12px; color: #8b93a3; }
.ag-mail { display: grid; gap: 10px; }
.ag-from { display: flex; gap: 10px; align-items: center; }
.ag-from b { display: block; font-weight: 500; font-size: 13.5px; }
.ag-from small { display: block; font-size: 11.5px; color: var(--ink-2); }
.ag-ava { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #e8ecf3; color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.ag-mail p { margin: 0; color: var(--ink); font-size: 13.5px; }
.ag-file { display: inline-flex; align-items: center; gap: 7px; align-self: start; justify-self: start; padding: 6px 10px; border-radius: 9px; background: #f2f4f7; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); }
.ag-file svg { color: #d33; }
.ag-file i { font-style: normal; color: var(--dim); }
.ag-steps li span { display: grid; line-height: 1.3; }
.ag-steps li b { font-weight: 500; font-size: 13.5px; }
.ag-steps li small { font-size: 12px; color: #8b93a3; }
.ag-out small { white-space: nowrap; }
/* Software-Oberflächen */
.ui-title { display: grid; line-height: 1.25; min-width: 0; }
.ui-title small { font-size: .82em; color: var(--ink-2); }
.ui-acts { display: flex; gap: .5em; align-items: center; }
.ui-kpis.k4 { grid-template-columns: repeat(4, 1fr); }
.ui-kpis em { display: block; font-style: normal; font-size: .78em; color: var(--ink-2); margin-top: .15em; }
.ui-kpis em.up { color: #1d6b3a; } .ui-kpis em.up::before { content: "↑ "; }
.ui-kpis em.warn { color: #a3600b; }
.gr > span small { display: block; font-size: .82em; color: var(--dim); }
.gr.days .today { color: var(--accent); font-weight: 600; }
.gt { height: 2em; }
.gt b { display: flex; align-items: center; padding: 0 .55em; overflow: visible; }
.gt b span { font-size: .74em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.gt b.l span { color: var(--ink-2); }
.ui-tr.t6 { grid-template-columns: 3.6em 1.7fr 4.2em 1.5fr; }
.map .street { position: absolute; font-size: .72em; color: #8b93a3; letter-spacing: .02em; }
.map .street.s1 { left: 6%; top: 62%; transform: rotate(-4deg); }
.map .street.s2 { right: 8%; top: 36%; }
.ui-map .tech { display: flex; align-items: center; gap: .6em; margin-top: .7em; }
.ui-map .tech .ag-ava { width: 2.2em; height: 2.2em; font-size: .8em; }
.ui-map .tech b { display: block; font-size: .92em; } .ui-map .tech small { margin: 0; }
/* Monteur-App */
.pa-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.pa-sum div { background: #fff; border: 1px solid var(--line); border-radius: .7em; padding: .45em .5em; }
.pa-sum b { display: block; font-size: .95em; font-weight: 600; letter-spacing: -0.02em; }
.pa-sum small { font-size: .6em; color: var(--ink-2); }
.pa-job { display: grid; grid-template-columns: 2.6em 1fr; gap: .4em; background: #fff; border: 1px solid var(--line); border-radius: .85em; padding: .6em .65em; }
.pa-job .pa-time { font-size: .7em; font-weight: 600; color: var(--ink-2); padding-top: .15em; }
.pa-job b { font-weight: 600; font-size: .82em; }
.pa-job small { display: block; font-size: .68em; color: var(--ink-2); }
.pa-job small.adr { color: var(--dim); }
.pa-job.now { background: var(--ink); border-color: var(--ink); color: #fff; }
.pa-job.now small, .pa-job.now .pa-time { color: #b8bfcb; } .pa-job.now small.adr { color: #8b93a3; }
.pa-job.done { opacity: .6; }
.pa-tag.ok { background: #e3f6ea; color: #1d6b3a; }
/* Musterseite */
.st-top { display: flex; justify-content: space-between; gap: 1em; padding: .5em 2.4em; background: #10233d; color: #c9d4e3; font-size: .82em; }
.st-top b { color: #fff; font-weight: 600; }
.st-nav nav span.on { color: #1d4e89; font-weight: 600; }
.st-acts .ghost { color: #1d4e89; font-weight: 500; font-size: 1em; padding: .65em .4em; }
.st-proof { display: flex; align-items: center; gap: .45em; margin-top: 1.2em; font-size: .9em; color: #4b5563; }
.st-proof .stars, .st-rev .stars { color: #f5b301; letter-spacing: .08em; }
.st-proof b { color: #1b2230; }
.st-img { position: relative; aspect-ratio: 4 / 3.2; border-radius: 1em; overflow: hidden; box-shadow: 0 1.4em 2.6em -1.4em rgb(16 35 61 / .4); }
.st-img svg, .st-gal .pic svg { display: block; width: 100%; height: 100%; }
.st-badge { position: absolute; left: 1em; bottom: 1em; background: rgb(255 255 255 / .95); border-radius: .8em; padding: .7em .9em; box-shadow: 0 .6em 1.4em -.6em rgb(0 0 0 / .3); }
.st-badge b { display: block; font-size: .95em; } .st-badge small { color: #6b7280; font-size: .82em; }
.st-trust span { display: inline-flex; align-items: center; gap: .4em; }
.st-trust svg { color: #1d4e89; }
.site .kick { display: block; color: #1d4e89; font-size: .8em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .3em; }
.st-cards i { display: grid !important; place-items: center; color: #1d4e89; }
.st-cards .more { display: inline-block; margin-top: .8em; color: #1d4e89; font-weight: 500; font-size: .9em; }
.st-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 2.4em; padding: 1.6em 0; border-block: 1px solid #eef0f4; text-align: center; }
.st-stats b { display: block; font-size: 1.8em; font-weight: 600; letter-spacing: -0.03em; color: #10233d; }
.st-stats small { color: #6b7280; font-size: .85em; }
.st-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 0; margin-top: 1.2em; }
.st-gal figure { margin: 0; }
.st-gal .pic { aspect-ratio: 4 / 3; border-radius: .8em; overflow: hidden; }
.st-gal figcaption { margin-top: .6em; } .st-gal figcaption b { display: block; font-weight: 600; font-size: .95em; } .st-gal figcaption small { color: #6b7280; font-size: .82em; }
.st-rev .who { display: flex; align-items: center; gap: .6em; margin-top: .9em; }
.st-rev .who span { width: 2.2em; height: 2.2em; border-radius: 50%; background: rgb(255 255 255 / .18); display: grid; place-items: center; font-size: .8em; font-weight: 600; }
.st-cta { align-items: stretch !important; margin-top: 2.4em !important; }
.st-cta p { color: #4b5563; margin-top: .4em; font-size: .95em; }
.st-cta .tel { display: inline-flex; align-items: center; gap: .45em; margin-top: 1em; font-weight: 600; color: #1d4e89; }
.st-form { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; flex: 1; min-width: 16em; max-width: 26em; }
.st-form span { background: #fff; border: 1px solid #dfe4ec; border-radius: .5em; padding: .65em .8em; color: #9ca3af; font-size: .9em; }
.st-form .ta { grid-column: 1 / -1; height: 4.2em; }
.st-form em { grid-column: 1 / -1; text-align: center; }
.st-foot { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; background: #10233d; color: #c9d4e3; border-top: 0 !important; }
.st-foot b { display: block; color: #fff; font-weight: 600; } .st-foot small { display: block; }
@container rsite (max-width: 760px) {
  .st-top span:last-child { display: none; }
  .st-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.2em; }
  .st-gal { grid-template-columns: repeat(2, 1fr); }
  .st-gal figure:nth-child(3) { display: none; }
}
@container rsite (max-width: 460px) {
  .st-top, .st-stats { padding-inline: 1.4em; margin-inline: 0; }
  .st-gal { grid-template-columns: 1fr; }
  .st-gal figure:nth-child(n+2) { display: none; }
  .st-form { min-width: 0; }
  .st-acts .ghost { display: none; }
}

/* Startseite: Vorteilskarten mit echten Inhalten */
.bvis .mock { left: 8%; right: 8%; padding: 16px 16px 14px; }
.mock .mh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock .pill { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: #eef0f4; color: var(--ink-2); white-space: nowrap; }
.mock .pill.up, .mock .pill.ok { background: #e3f6ea; color: #1d6b3a; }
.mbig { font-size: 30px; letter-spacing: -0.04em; margin-top: 8px; line-height: 1; }
.mbig small { font-size: 12px; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.mbars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 12px; }
.mbars .mcol { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.mbars em { font-style: normal; font-size: 10.5px; color: var(--ink-2); }
.mbars i { display: block; align-self: stretch; height: calc(var(--v) * 58px); background: #d7dce5; border-radius: 4px 4px 2px 2px; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease); }
.mbars .mcol.hi i { background: var(--accent); } .mbars .mcol.hi em { color: var(--ink); font-weight: 600; }
.in .mbars i { transform: none; }
.mbars small { font-size: 10.5px; color: var(--dim); }
.srow { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 6px; margin-top: 9px; font-size: 12.5px; }
.srow .sys { padding: 3px 8px; border-radius: 7px; background: #fff; border: 1px solid var(--line); }
.srow .arr { color: var(--accent); }
.srow .when { text-align: right; color: var(--dim); font-size: 11.5px; }
.sfoot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); }
.sfoot span:last-child { color: #1d6b3a; }
.m-ai .chk { align-items: flex-start; }
.m-ai .chk span { display: grid; line-height: 1.3; color: var(--ink); }
.m-ai .chk small { font-size: 11px; color: var(--ink-2); }
.m-ai .chk i { margin-top: 1px; background: #22a55a; }
.mfree { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 8px 8px 10px; border-radius: 10px; background: #f2f4f7; font-size: 11.5px; color: var(--ink-2); }
.mfree em { font-style: normal; background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 7px; font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .mbars i { transform: none; } }

/* Mockups in Bühne und Handy-Ansicht nie breiter als ihr Rahmen */
.sv > *, .st-vis > * { min-width: 0; max-width: 100%; }
.st-vis .brw { width: 100%; }

/* ===== Zusammenarbeit ===== */
.sec4.factors { margin-top: 56px; }
.fair { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; background: var(--ink); color: #fff; border-radius: 22px; overflow: hidden; }
.fair > div { padding: 30px; border-right: 1px solid rgb(255 255 255 / .1); }
.fair > div:last-child { border-right: 0; }
.fair b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.fair p { color: #b8bfcb; font-size: 14.5px; margin-top: 8px; }
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 50px; align-items: stretch; }
.book > * { min-width: 0; }
.book-info { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.book-info h3 { font-size: 22px; letter-spacing: -0.02em; }
.book-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.book-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e6e9ef; }
.book-info li svg { flex: none; margin-top: 3px; color: color-mix(in srgb, var(--accent) 50%, #fff); }
.book-info p { color: #9aa2b1; font-size: 14px; margin-top: auto; }
.book-info .btn { align-self: flex-start; }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.cal iframe { width: 100%; height: 640px; border: 0; }
.cal-badge { font-size: 12px; padding: 4px 10px; border-radius: 7px; border: 1px dashed #b9bfca; color: var(--ink-2); }
.cal-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.cal-body > * { min-width: 0; }
.cal-nav b { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-week { margin: 16px 0 8px; font-size: 12px; color: var(--dim); }
.cal-days button, .cal-days span { all: unset; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 14px; color: var(--dim); }
.cal-days button { cursor: pointer; color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, #fff); font-weight: 500; transition: background .2s, color .2s; }
.cal-days button:hover { background: color-mix(in srgb, var(--accent) 18%, #fff); }
.cal-days button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-days button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cal-times { display: flex; flex-direction: column; gap: 8px; }
.cal-times b { font-weight: 500; font-size: 14.5px; margin-bottom: 8px; }
.cal-slot { font: inherit; font-size: 14.5px; font-weight: 500; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.cal-slot:disabled { color: var(--dim); cursor: default; }
.cal-slot:not(:disabled):hover { border-color: var(--accent); }
.cal-slot[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-note { font-size: 13.5px; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: var(--bg); margin-top: auto; }
.cal-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .fair { grid-template-columns: 1fr; } .fair > div { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .1); } .fair > div:last-child { border-bottom: 0; } }
@media (max-width: 600px) { .cal { padding: 18px; } .cal-body { grid-template-columns: 1fr; } .cal-times { display: grid; grid-template-columns: 1fr 1fr; } .cal-times b { grid-column: 1 / -1; margin: 0; } }

/* Seitenköpfe ohne Grafik: zweiter Satz in eigener Zeile */
.phero.simple .phero-grid { max-width: 920px; }
.phero.simple h1 .dim { display: block; }

/* ===== Handy-Feinschliff ===== */
h1, h2, h3 { overflow-wrap: break-word; }
.ba input { touch-action: pan-y; }

/* Agent-Karte: Freigeben-Knopf bleibt in der Box */
.ag-out { flex-wrap: wrap; }
.ag-out > div { min-width: 0; }
.ag-ok { flex: none; margin-left: auto; }
@media (max-width: 520px) { .ag-out small { white-space: normal; } }

/* Häkchenlisten und Wenn-Dann-Regel: Folgezeilen eingerückt */
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { position: absolute; left: 0; margin: 0; }
.rule div { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); }

/* Startseite: Vorteilskarten wachsen mit ihrem Inhalt */
@media (max-width: 900px) {
  .bvis { aspect-ratio: auto; }
  .bvis .mock, .bcard:hover .mock { position: relative; top: auto; left: auto; right: auto; transform: none; margin: 24px clamp(14px, 6%, 40px); }
}

/* Zeitplan: Phasen untereinander statt abgeschnittener Balken */
.p-cap { display: none; }
@media (max-width: 900px) {
  .plan2 { padding: 4px 18px; overflow: visible; }
  .plan2-in { min-width: 0; gap: 0; }
  .p-row { grid-template-columns: 0 repeat(12, minmax(0, 1fr)) minmax(0, 1.6fr); column-gap: 0; row-gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .p-row:last-child { border-bottom: 0; }
  .p-row > b { grid-column: 1 / -1; grid-row: 1; }
  .p-row::before { content: ""; grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 99px; background: var(--card-2); }
  .p-bar { position: relative; grid-row: 2; height: 8px; padding: 0; border-radius: 99px; font-size: 0; }
  .p-bar.lite { background: #aeb6c4; }
  .p-bar.sprints { gap: 2px; }
  .p-bar.sprints i { padding: 0; border-radius: 99px; }
  .p-bar.open { background: linear-gradient(90deg, #1fa463, rgba(31, 164, 99, .25)); }
  .p-cap { display: block; grid-column: 1 / -1; grid-row: 3; font-style: normal; font-size: 13px; color: var(--ink-2); }
}

@media (max-width: 600px) {
  .chart { padding: 20px 14px 16px; }
  .chart .tx { font-size: 19px; }
  .chart .mark text { font-size: 21px; }
  .chart .drop { stroke-width: 2; }
}

/* Webseiten-Ablauf: auf schmalen Bildschirmen die große Zeitleiste der Leistungsübersicht */
.road-m { display: none; }
@media (max-width: 860px) { .road { display: none; } .road-m { display: grid; } }

@media (max-width: 560px) {
  /* Reiter ohne seitliches Abschneiden */
  .tabs2 { width: 100%; flex-wrap: wrap; overflow: visible; }
  .tabs2 button { flex: 1 1 auto; text-align: center; padding: 10px 6px; font-size: 13.5px; }
  /* Weitere Leistungen: eine Spalte, Symbol links */
  .others { grid-template-columns: 1fr; margin-top: 36px; }
  .others a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 3px 14px; padding: 18px; align-content: center; }
  .others .ic { grid-row: span 2; align-self: start; }
  .rule { line-height: 1.5; padding: 10px 14px; }
  .rule div { padding-block: 5px; }
  .row2 div { padding: 14px 12px; min-width: 0; }
  .row2 b { font-size: 21px; white-space: nowrap; }
}

/* Responsive-Demo: gleichbleibende Höhe, damit beim Gerätewechsel nichts springt */
@media (max-width: 700px) {
  .rstage { height: 608px; align-items: center; }
  .rcap { min-height: 3.2em; padding-inline: 8px; }
}

@container (max-width: 640px) {
  .xl-grid { grid-template-columns: 2.2em 5.5em 1.35fr 1.25fr 1fr; }
  .xl-grid .h { padding-inline: .2em; }
}

/* Sehr schmale Handys: lange Wörter passen ohne Überstand */
@media (max-width: 380px) {
  .hero h1 { font-size: 11.3vw; }
  .phero h1, .phero.wide h1 { font-size: 10.1vw; }
  .head h2 { font-size: 30px; }
  .lcard h3 { font-size: 23px; }
  .hs h3 { font-size: 19px; }
  .seg button { padding: 9px 9px; font-size: 13px; }
  .seg button svg { display: none; }
  .row2 { grid-template-columns: 1fr; }
}

/* Handy: Ablaufschritte untereinander statt seitlich angeschnitten */
@media (max-width: 560px) {
  .hsteps { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; margin: 32px 0 0; padding: 0; gap: 12px; }
  .hs { min-height: 0; padding: 22px; gap: 8px; }
  .hs .num { font-size: 44px; }
  .hs h3 { margin-top: 12px; }
  .swipe { display: none; }
}

/* ===== Startseiten-Anatomie auf schmalen Bildschirmen: Wischkarten mit echten Ausschnitten ===== */
.am, .am-narrow { display: none; }
@media (max-width: 860px) {
  .anat, .am-wide { display: none; }
  .am { display: block; }
  .am-narrow { display: inline; }
  .am-row { --aw: min(80vw, 360px); display: grid; grid-auto-flow: column; grid-auto-columns: var(--aw); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 36px calc(50% - 50vw) 0; padding: 4px calc((100vw - var(--aw)) / 2) 18px; }
  .am-row::-webkit-scrollbar { display: none; }
  .am-card { scroll-snap-align: center; display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
  .am-vis { height: 280px; background: linear-gradient(180deg, #eef3fa, #fbfcfe); border-bottom: 1px solid var(--line); overflow: hidden; }
  .am-txt { padding: 18px 20px 22px; }
  .am-no { font-size: 12px; letter-spacing: .06em; color: var(--accent); font-weight: 500; }
  .am-txt h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 6px; }
  .am-txt p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
  .am-row.sw-ready .am-card { transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .am-row.sw-ready .am-txt { transition: opacity .3s var(--ease); }
  .am-row.sw-ready .am-card:not(.sw-on) { opacity: .45; transform: scale(.96); }
  .am-row.sw-ready .am-card:not(.sw-on) .am-txt { opacity: 0; }

  /* Ausschnitte der Musterseite */
  .am-site { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px; color: #1b2230; line-height: 1.35; text-align: left; }
  .am-site small { color: #1d4e89; font-size: 12px; font-weight: 500; }
  .am-site strong { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
  .am-site p { font-size: 13px; color: #4b5563; }
  .am-site em { position: relative; font-style: normal; text-align: center; background: #1d4e89; color: #fff; border-radius: 12px; padding: 13px; font-size: 15px; font-weight: 500; }
  .am-hero { justify-content: flex-start; padding-top: 0; }
  .am-nav { display: flex; align-items: center; gap: 7px; padding: 15px 0 13px; border-bottom: 1px solid #dfe6f0; margin-bottom: 14px; font-size: 13px; }
  .am-nav i { width: 14px; height: 14px; border-radius: 4px; background: #1d4e89; }
  .am-nav b { font-weight: 600; } .am-nav b span { font-weight: 400; color: #6b7280; }
  .am-nav u { margin-left: auto; width: 17px; height: 11px; border-top: 2px solid #1b2230; border-bottom: 2px solid #1b2230; }
  .am-hero strong { font-size: 25px; }
  .am-cta { text-align: center; gap: 12px; }
  .am-cta em { padding: 16px; font-size: 16px; }
  .am-finger { position: absolute; right: 16%; bottom: -9px; width: 28px; height: 28px; border-radius: 50%; background: rgb(var(--accent-rgb) / .35); border: 2px solid #fff; animation: am-finger 2.2s var(--ease) infinite; }
  .am-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cbd6e6; background: #fff; border-radius: 12px; padding: 13px; font-size: 14.5px; font-weight: 500; color: #1d4e89; }
  .am-score { display: flex; align-items: center; gap: 14px; }
  .am-score b { font-size: 46px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
  .am-score small { display: block; color: #4b5563; font-weight: 400; }
  .am-stars { color: #f4b400; letter-spacing: 2px; font-size: 16px; }
  .am-trust ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
  .am-trust li { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #dfe6f0; border-radius: 10px; padding: 7px 12px; font-size: 13.5px; }
  .am-trust li svg { color: #1fa463; flex: none; }
  .am-serv > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; background: #fff; border: 1px solid #dfe6f0; border-radius: 12px; padding: 12px; }
  .am-serv i { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: #eef3fa; color: #1d4e89; display: grid; place-items: center; }
  .am-serv b { font-size: 14px; font-weight: 600; line-height: 1.3; }
  .am-serv span { font-size: 12px; color: #6b7280; }
  .am-gal { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 12px; }
  .am-gal figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; min-height: 0; }
  .am-gal figure svg { display: block; width: 100%; height: 100%; }
  .am-gal figcaption { position: absolute; left: 7px; bottom: 7px; background: rgba(255, 255, 255, .93); border-radius: 7px; padding: 3px 8px; font-size: 11.5px; font-weight: 500; }
  .am-form { gap: 9px; }
  .am-tel { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: #1d4e89; margin-bottom: 4px; }
  .am-field { display: block; background: #fff; border: 1px solid #d6dfeb; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #8a93a3; }
  .am-form p { text-align: center; font-size: 12px; }
}
@keyframes am-finger { 0%, 55%, 100% { transform: scale(1); opacity: 1; } 70% { transform: scale(.7); opacity: .85; } 85% { transform: scale(1.25); opacity: 0; } }

/* ===== Referenzen ===== */
/* Schrift des Bauqo-Schriftzugs: Glacial Indifference (SIL Open Font License) */
@font-face { font-family: "Glacial Indifference"; src: url("fonts/GlacialIndifference-Regular.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
.wm-bauqo { display: inline-block; font-family: "Glacial Indifference", Futura, "Century Gothic", var(--f), sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; color: #6e9bf7; -webkit-text-stroke: .6px currentColor; white-space: nowrap; }
/* MarryMeLetter: Schrift Instrument Serif (SIL Open Font License) */
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.wm-mml { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: "Instrument Serif", Georgia, serif; font-size: 26px; letter-spacing: -0.025em; line-height: 1; color: #5c2335; }
.wm-mml svg { width: 27.5px; height: auto; flex: none; margin-top: -4px; }
.wm-festec { display: block; width: auto; height: 32px; }
.refm .wm-festec { height: 27px; }
.refm-logos { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 34px; }
.refm .wm-bauqo { font-size: 20px; }
.refm .wm-mml { font-size: 21px; gap: 5px; }
.refm .wm-mml svg { width: 22.5px; }
.refs { padding: 0 0 110px; }
@media (max-width: 700px) { .refs { padding-bottom: 76px; } }
.refs-line { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 26px 0; border-block: 1px solid var(--line); }
.refs-k { flex: none; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.refs-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 48px; min-width: 0; }
.ref-logo { display: inline-flex; align-items: center; }
.refs-row.run { align-self: stretch; display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.refs-track { display: flex; align-items: center; width: max-content; animation: refs-run 34s linear infinite; }
.refs-track .ref-logo { padding-right: 64px; }
.refs-row.run:hover .refs-track { animation-play-state: paused; }
@keyframes refs-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .refs-track { animation: none; } }
/* Leistungsseiten: nur ein Nebensatz zum Kunden */
.refm-sec { padding: 0 0 96px; }
.refm { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 22px 0; border-block: 1px solid var(--line); }
.wm-bauqo.sm { font-size: 20px; }
.refm-t { font-size: 13.5px; color: var(--ink-2); text-align: center; }
@media (max-width: 760px) { .refs-line { gap: 14px; padding: 20px 0; } .wm-bauqo { font-size: 24px; } .wm-bauqo.sm { font-size: 20px; } .refm-sec { padding-bottom: 72px; } }
@media (max-width: 600px) {
  .refs-row { gap: 14px 30px; }
  .refs-row .wm-mml { font-size: 23px; }
  .refs-row .wm-mml svg { width: 24.7px; }
  .refs-row .wm-festec { height: 29px; }
  .refm-logos { gap: 12px 26px; }
}

/* ===== Musterseite: geführter Rundgang mit Abschnitts-Animationen (Hero und Geräte-Demo) ===== */
.site .sa-prog { display: none; }
.st-rev .stars i { font-style: normal; display: inline-block; }
.sa-on .site { position: relative; transition: opacity .45s ease, scale 1.05s cubic-bezier(.6, 0, .2, 1); }
.sa-on .site.sa-fade { opacity: 0; }
.brw.auto .scr.sa-on .site { animation: none; will-change: transform; }

/* Kopfzeile bleibt oben stehen, mit Lesefortschritt */
.sa-on .st-nav { position: relative; z-index: 3; background: #fff; transition: box-shadow .35s; }
.sa-on .st-nav.sa-stuck { box-shadow: 0 1em 1.8em -1.4em rgb(16 35 61 / .5); }
.sa-on .st-nav.sa-stuck::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 4.6em; background: #fff; }
.sa-on .sa-prog { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1d4e89; transform: scaleX(0); transform-origin: left; }
.sa-on .st-nav nav span { transition: color .3s; }
.sa-on .st-top { opacity: 0; transition: opacity .6s; }
.sa-on .st-nav > :not(.sa-prog) { opacity: 0; translate: 0 -.7em; transition: opacity .6s var(--ease), translate .7s var(--ease), transform .18s; }
.sa-on .st-top.sa-in { opacity: 1; }
.sa-on .st-nav.sa-in > :not(.sa-prog) { opacity: 1; translate: 0 0; }

/* Aufmacher */
.sa-on .st-hero > div:first-child > * { opacity: 0; transform: translateY(1.3em); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.sa-on .st-hero.sa-in > div:first-child > * { opacity: 1; transform: none; }
.sa-on .st-hero > div:first-child > :nth-child(1) { transition-delay: .15s; }
.sa-on .st-hero > div:first-child > :nth-child(2) { transition-delay: .27s; }
.sa-on .st-hero > div:first-child > :nth-child(3) { transition-delay: .43s; }
.sa-on .st-hero > div:first-child > :nth-child(4) { transition-delay: .58s; }
.sa-on .st-hero > div:first-child > :nth-child(5) { transition-delay: .74s; }
.sa-on .st-img { clip-path: inset(0 0 100% 0 round 1em); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .2s; }
.sa-on .st-hero.sa-in .st-img { clip-path: inset(-3em -3em -3em -3em round 1em); }
.sa-on .st-img > svg { transform: scale(1.28); transition: transform 3.2s var(--ease) .2s; }
.sa-on .st-hero.sa-in .st-img > svg { transform: none; }
.sa-on .st-badge { opacity: 0; transform: translateY(1.3em) scale(.82); transition: opacity .45s 1.25s, transform .75s cubic-bezier(.34, 1.56, .64, 1) 1.25s; }
.sa-on .st-hero.sa-in .st-badge { opacity: 1; transform: none; }

/* Gütezeichen: Häkchen zeichnen sich nacheinander */
.sa-on .st-trust span { opacity: 0; transform: translateY(.9em); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.sa-on .st-trust svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .65s ease; }
.sa-on .st-trust.sa-in span { opacity: 1; transform: none; }
.sa-on .st-trust.sa-in svg path { stroke-dashoffset: 0; }
.sa-on .st-trust span:nth-child(1), .sa-on .st-trust span:nth-child(1) path { transition-delay: .05s; }
.sa-on .st-trust span:nth-child(2), .sa-on .st-trust span:nth-child(2) path { transition-delay: .22s; }
.sa-on .st-trust span:nth-child(3), .sa-on .st-trust span:nth-child(3) path { transition-delay: .39s; }
.sa-on .st-trust span:nth-child(4), .sa-on .st-trust span:nth-child(4) path { transition-delay: .56s; }

/* Überschriften der Abschnitte */
.sa-on .st-sec > .kick { opacity: 0; letter-spacing: .32em; transition: opacity .6s, letter-spacing 1s var(--ease); }
.sa-on .st-sec > b { opacity: 0; transform: translateY(.7em); transition: opacity .6s var(--ease) .12s, transform .8s var(--ease) .12s; }
.sa-on .st-sec.sa-in > .kick { opacity: 1; letter-spacing: .08em; }
.sa-on .st-sec.sa-in > b { opacity: 1; transform: none; }

/* Leistungskarten */
.sa-on .st-cards > div { opacity: 0; transform: translateY(2.6em); transition: opacity .6s var(--ease), transform .85s var(--ease), box-shadow .35s, border-color .35s; }
.sa-on .st-cards i { transform: scale(.25) rotate(-35deg); transition: transform .75s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s; }
.sa-on .st-cards .more { opacity: 0; transform: translateX(-.9em); transition: opacity .5s, transform .5s var(--ease); }
.sa-on .sa-in .st-cards > div, .sa-on .sa-in .st-cards i, .sa-on .sa-in .st-cards .more { opacity: 1; transform: none; }
.sa-on .st-cards > div:nth-child(1) { transition-delay: .22s; } .sa-on .st-cards > div:nth-child(1) i { transition-delay: .5s; } .sa-on .st-cards > div:nth-child(1) .more { transition-delay: .75s; }
.sa-on .st-cards > div:nth-child(2) { transition-delay: .38s; } .sa-on .st-cards > div:nth-child(2) i { transition-delay: .66s; } .sa-on .st-cards > div:nth-child(2) .more { transition-delay: .91s; }
.sa-on .st-cards > div:nth-child(3) { transition-delay: .54s; } .sa-on .st-cards > div:nth-child(3) i { transition-delay: .82s; } .sa-on .st-cards > div:nth-child(3) .more { transition-delay: 1.07s; }
.sa-on .sa-in .st-cards > div.sa-hover { transform: translateY(-.55em); border-color: #c3d4ee; box-shadow: 0 1.6em 2.6em -1.5em rgb(16 35 61 / .5); transition-delay: 0s; }
.sa-on .sa-in .st-cards > div.sa-hover i { background: #1d4e89; color: #fff; transition-delay: 0s; }
.sa-on .sa-in .st-cards > div.sa-hover .more { transform: translateX(.4em); transition-delay: 0s; }

/* Kennzahlen */
.sa-on .st-stats > div { opacity: 0; transform: translateY(1.4em) scale(.9); transition: opacity .55s var(--ease), transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.sa-on .st-stats.sa-in > div { opacity: 1; transform: none; }
.sa-on .st-stats > div:nth-child(2) { transition-delay: .12s; } .sa-on .st-stats > div:nth-child(3) { transition-delay: .24s; } .sa-on .st-stats > div:nth-child(4) { transition-delay: .36s; }
.sa-on .st-stats b { font-variant-numeric: tabular-nums; }

/* Referenzbilder: Vorhang auf, Bild fährt heraus */
.sa-on .st-gal .pic { clip-path: inset(100% 0 0 0 round .8em); transition: clip-path 1.05s cubic-bezier(.7, 0, .2, 1); }
.sa-on .st-gal .pic svg { transform: scale(1.4); transition: transform 2.2s var(--ease); }
.sa-on .st-gal figcaption { opacity: 0; transform: translateY(.7em); transition: opacity .5s, transform .6s var(--ease); }
.sa-on .sa-in .st-gal .pic { clip-path: inset(0 0 0 0 round .8em); }
.sa-on .sa-in .st-gal .pic svg, .sa-on .sa-in .st-gal figcaption { opacity: 1; transform: none; }
.sa-on .st-gal figure:nth-child(1) .pic, .sa-on .st-gal figure:nth-child(1) svg { transition-delay: .25s; } .sa-on .st-gal figure:nth-child(1) figcaption { transition-delay: .85s; }
.sa-on .st-gal figure:nth-child(2) .pic, .sa-on .st-gal figure:nth-child(2) svg { transition-delay: .45s; } .sa-on .st-gal figure:nth-child(2) figcaption { transition-delay: 1.05s; }
.sa-on .st-gal figure:nth-child(3) .pic, .sa-on .st-gal figure:nth-child(3) svg { transition-delay: .65s; } .sa-on .st-gal figure:nth-child(3) figcaption { transition-delay: 1.25s; }

/* Bewertung: Sterne springen nacheinander auf */
.sa-on .st-rev { opacity: 0; transform: translateY(2.6em) scale(.93); transition: opacity .6s var(--ease), transform .95s var(--ease); }
.sa-on .st-rev .stars i { transform: scale(0) rotate(-100deg); transition: transform .55s cubic-bezier(.34, 1.7, .64, 1); }
.sa-on .st-rev > b, .sa-on .st-rev .who { opacity: 0; transform: translateY(.9em); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.sa-on .st-rev.sa-in, .sa-on .st-rev.sa-in .stars i, .sa-on .st-rev.sa-in > b, .sa-on .st-rev.sa-in .who { opacity: 1; transform: none; }
.sa-on .st-rev .stars i:nth-child(1) { transition-delay: .45s; } .sa-on .st-rev .stars i:nth-child(2) { transition-delay: .57s; } .sa-on .st-rev .stars i:nth-child(3) { transition-delay: .69s; }
.sa-on .st-rev .stars i:nth-child(4) { transition-delay: .81s; } .sa-on .st-rev .stars i:nth-child(5) { transition-delay: .93s; }
.sa-on .st-rev > b { transition-delay: .95s; } .sa-on .st-rev .who { transition-delay: 1.35s; }

/* Anfrageformular */
.sa-on .st-cta { opacity: 0; transform: translateY(2.6em); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.sa-on .st-form > * { opacity: 0; transform: translateY(1em); transition: opacity .45s var(--ease), transform .55s var(--ease), border-color .25s, box-shadow .25s, background .35s; }
.sa-on .st-cta.sa-in, .sa-on .st-cta.sa-in .st-form > * { opacity: 1; transform: none; }
.sa-on .st-form > :nth-child(1) { transition-delay: .2s; } .sa-on .st-form > :nth-child(2) { transition-delay: .3s; }
.sa-on .st-form > :nth-child(3) { transition-delay: .4s; } .sa-on .st-form > :nth-child(4) { transition-delay: .5s; }
.sa-on .st-form span.sa-filled { color: #1b2230; }
.sa-on .st-form span.sa-focus { border-color: #1d4e89; box-shadow: 0 0 0 .28em rgb(29 78 137 / .17); transition-delay: 0s; }
.sa-on .st-form span.sa-focus::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: #1d4e89; animation: blink .9s steps(1) infinite; }
.sa-on .st-acts em { display: inline-block; transition: transform .18s ease; }
.sa-on .site em.sa-press { transform: scale(.92); transition: transform .16s ease; transition-delay: 0s; }
.sa-on .sa-in .st-form em.sa-press { transform: scale(.95); transition-delay: 0s; }
.sa-on .sa-in .st-form em.sa-sent { background: #1fa463; transition-delay: 0s; }
.sa-on .st-foot { opacity: 0; transition: opacity .8s ease .15s; }
.sa-on .st-foot.sa-in { opacity: 1; }

/* Zeiger (Desktop) und Fingertipp (Tablet, Smartphone) */
.sa-ptr { position: absolute; left: 0; top: 0; z-index: 8; width: 24px; height: 24px; margin: -3px 0 0 -5px; pointer-events: none; opacity: 0; transition: transform .8s cubic-bezier(.5, 0, .2, 1), opacity .3s ease; }
.sa-ptr svg { display: block; width: 100%; height: 100%; fill: #0c0f14; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 3px 4px rgba(12, 15, 20, .3)); }
.sa-ptr.show { opacity: 1; }
.sa-ptr::after { content: ""; position: absolute; left: 5px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.sa-ptr.click::after { animation: sa-ring .6s ease-out; }
.sa-ptr.touch { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgb(var(--accent-rgb) / .38); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(12, 15, 20, .28); }
.sa-ptr.touch svg { display: none; }
.sa-ptr.touch::after { left: 50%; top: 50%; }
@keyframes sa-ring { 0% { transform: scale(.25); opacity: .95; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) { .brw .sa-ptr:not(.touch) { width: 17px; height: 17px; } }

/* Hero: „Neue Anfrage“ erscheint genau dann, wenn das Formular abgeschickt wurde */
.hero-web.sa-sync .fb.f2 { animation: none; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .45s var(--ease), transform .65s cubic-bezier(.34, 1.56, .64, 1); z-index: 9; }
.hero-web.sa-sync .fb.f2.sa-show { opacity: 1; transform: none; }
/* PageSpeed-Schild unten links, damit es den Inhalt der Musterseite nicht verdeckt */
.hero-web.sa-sync .fb.f1 { top: auto; left: -4%; bottom: 1%; z-index: 9; }
@media (max-width: 900px) { .hero-web.sa-sync .fb.f1 { left: 0; bottom: 0; } }
@media (max-width: 600px) { .hero-web.sa-sync .fb { padding: 7px 10px; font-size: 11.5px; gap: 8px; } .hero-web.sa-sync .fb small { font-size: 10.5px; } .hero-web.sa-sync .mini-g { width: 28px; height: 28px; font-size: 11px; } .hero-web.sa-sync .fb i { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .brw.auto .site { animation: none; } .fb.f2 { animation: none; opacity: 1; } }

/* Schrift Onest (SIL Open Font License), selbst ausgeliefert: kein Aufruf bei Google */
@font-face { font-family: "Onest"; src: url("fonts/Onest-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Cookie-Einstellungen ===== */
.cc { position: fixed; z-index: 95; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 22px; font-size: 14px; box-shadow: 0 30px 70px -30px rgba(12, 15, 20, .45); animation: cc-in .45s var(--ease); }
.cc[hidden], .cc [hidden], .cc-ask[hidden] { display: none !important; }
.cc:focus { outline: none; }
.cc > b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.cc p { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.cc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cc-btn { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 12px 10px; border-radius: 10px; background: var(--ink); border: 1px solid var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.3; transition: opacity .2s; }
.cc-btn:hover { opacity: .85; }
.cc-more { all: unset; cursor: pointer; display: block; width: fit-content; margin: 12px auto 0; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cc-btn:focus-visible, .cc-more:focus-visible, .cc-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-set { display: grid; margin-top: 16px; }
.cc-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc-row b { display: block; font-weight: 500; font-size: 13.5px; }
.cc-row small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.cc-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-row i { position: relative; width: 40px; height: 23px; border-radius: 99px; background: #c9ced8; transition: background .25s; }
.cc-row i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(12, 15, 20, .3); transition: transform .25s var(--ease); }
.cc-row input:checked + i { background: var(--accent); }
.cc-row input:checked + i::after { transform: translateX(17px); }
.cc-row input:disabled + i { opacity: .55; cursor: default; }
.cc-row input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-set .cc-btn { margin-top: 4px; background: #fff; color: var(--ink); border-color: var(--line); }
.cc-open { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cc-open:hover { color: var(--accent); }
.cc-ask { padding: 40px 24px; text-align: center; }
.cc-ask p { max-width: 30em; margin: 0 auto 18px; color: var(--ink-2); }
@keyframes cc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .cc { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 18px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }

/* ---------- Blog ---------- */
.bl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.bl-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s .bl-sr + .bl-grid { margin-top: 0; }
.bl-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.bl-card:hover { border-color: var(--accent); }
.bl-card h3 { font-size: 20px; line-height: 1.28; letter-spacing: -.02em; hyphens: auto; }
.bl-card p { font-size: 14.5px; color: var(--ink-2); }
.bl-cat { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bl-go { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 500; }
.bl-all { display: inline-block; margin-top: 26px; font-size: 15px; font-weight: 500; color: var(--accent); }
.bl-head { padding: calc(env(safe-area-inset-top, 0px) + 150px) 0 50px; border-bottom: 1px solid var(--line); }
.bl-head .wrap > * { max-width: 820px; }
.bl-head h1 { margin-top: 22px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.035em; hyphens: manual; }
.bl-head h1 .dim { color: #7d8594; }
.bl-head .lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.bl-meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.bl-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: space-between; gap: 60px; align-items: start; padding-top: 56px; padding-bottom: 90px; }
.bl-toc { position: sticky; top: 100px; font-size: 14px; }
.bl-toc b { display: block; margin-bottom: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bl-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.bl-toc a { display: block; padding: 7px 0 7px 14px; line-height: 1.4; color: var(--ink-2); transition: color .2s; }
.bl-toc a:hover { color: var(--accent); }
.bl-body { grid-column: 2; min-width: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); overflow-wrap: break-word; }
.bl-body b { color: var(--ink); font-weight: 600; }
.bl-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bl-body section { margin-top: 52px; scroll-margin-top: 90px; }
.bl-body h2 { margin-bottom: 18px; font-size: clamp(23px, 2.6vw, 29px); line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }
.bl-body h3 { margin: 24px 0 6px; font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.bl-body p + p, .bl-body ul + p, .bl-body ol + p, .bl-body table + p { margin-top: 16px; }
.bl-body p + ul, .bl-body p + table { margin-top: 18px; }
.bl-body ul, .bl-body ol { margin: 0; padding-left: 22px; }
.bl-body li { margin-top: 9px; padding-left: 4px; }
.bl-body ul.bl-check { list-style: none; padding: 0; }
.bl-body .bl-check li { position: relative; padding-left: 32px; }
.bl-body .bl-check li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.bl-short { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; }
.bl-short > b { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bl-formula { padding: 16px 18px; margin-top: 16px; background: #fff; border: 1px dashed #c9ced8; border-radius: 12px; font-weight: 500; color: var(--ink); text-align: center; }
.bl-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; line-height: 1.5; text-align: left; }
.bl-table th, .bl-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.bl-table thead th { font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.bl-table tbody th { font-weight: 600; color: var(--ink); }
.bl-table tbody tr:last-child > * { border-bottom: 0; }
.bl-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.bl-src { margin-top: 28px; font-size: 14px; }
.bl-src b { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.bl-art + .s, .bl-art .s { padding-bottom: 90px; }
@media (max-width: 960px) { .bl-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bl-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; justify-content: stretch; padding-top: 34px; padding-bottom: 66px; } .bl-body { grid-column: 1; } .bl-toc { position: static; padding-bottom: 6px; } }
@media (max-width: 640px) {
  .bl-grid, .bl-grid.n3 { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .bl-card { padding: 22px; }
  .bl-head { padding: calc(env(safe-area-inset-top, 0px) + 108px) 0 34px; }
  .bl-head .lead { font-size: 16.5px; }
  .bl-body { font-size: 16px; }
  .bl-short { padding: 20px; }
  .bl-table, .bl-table tbody, .bl-table tr, .bl-table th, .bl-table td { display: block; width: auto; }
  .bl-table { background: none; border: 0; }
  .bl-table thead { display: none; }
  .bl-table tr { margin-top: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .bl-table th, .bl-table td { padding: 0; border: 0; }
  .bl-table td { margin-top: 10px; }
  .bl-table td::before { content: attr(data-l); display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); opacity: .8; }
}

/* ---------- Impressum und Datenschutz ---------- */
.lg-col > * { max-width: 760px; }
.lg-art .bl-head h1 { overflow-wrap: break-word; hyphens: auto; }
.lg-art .bl-body { padding: 8px 0 100px; }
.lg-art .bl-body section { margin-top: 40px; }
.lg-art .bl-body h2 { margin-bottom: 12px; font-size: clamp(19px, 2.2vw, 23px); hyphens: auto; }
.lg-offen { padding: 1px 6px; border-radius: 5px; background: #fdf0c8; color: var(--ink); }
.lg-box { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.lg-art .bl-body .lg-cc { all: unset; cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lg-art .bl-body .lg-cc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .lg-art .bl-body { padding-bottom: 70px; } .lg-art .bl-head h1 { font-size: clamp(27px, 8.4vw, 36px); } }
footer .footer-bottom a { transition: color .2s; }
footer .footer-bottom a:hover { color: var(--accent); }
.cc p a, .form .hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
