/* Thibaudier Media, gemeinsames Stylesheet fuer alle Seiten */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono-latin-wght-normal.woff2) format('woff2'); }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --tint: #f4f4f5;
  --line: #e4e4e7;
  --line-soft: rgba(228, 228, 231, .6);
  --ink: #18181b;
  --muted: #52525b;
  --subtle: #71717a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #e8efff;
  --dark: #131316;
  --dark-2: #1c1c20;
  --dark-line: rgba(255, 255, 255, .09);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --shadow: 0 20px 40px -15px rgba(24, 24, 27, .08);
  --max: 1280px;
  --pad: clamp(16px, 3vw, 32px);
  --spring: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-feature-settings: "tnum"; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
section { padding-block: clamp(80px, 9vw, 128px); }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 60ch; }
.h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3rem); line-height: 1.05; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 550; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--spring), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn .arrow { transition: transform .35s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #d4d4d8; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f4f4f5; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(250, 250, 250, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.nav-links a:hover { color: var(--ink); background: var(--tint); }
.nav-right { display: flex; gap: 8px; align-items: center; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 88px); align-items: center; min-height: calc(100dvh - 72px - 112px); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.status b { color: var(--ink); font-weight: 600; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--accent); opacity: .25; animation: breathe 2.4s ease-in-out infinite; }
.hero h1 { margin-top: 28px; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.04em; max-width: 14ch; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; }
.facts div { padding: 2px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.facts > div > span { display: block; margin-top: 2px; font-size: 14px; color: var(--subtle); line-height: 1.45; }

.portrait-wrap { position: relative; }
.portrait { margin: 0; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1 / 1.04; background: var(--tint); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.name-card { position: absolute; left: -28px; bottom: 28px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; min-width: 220px; }
.name-card b { font-weight: 600; letter-spacing: -.01em; }
.name-card span { font-size: 14px; color: var(--subtle); }
.name-card a { margin-top: 6px; font-size: 13.5px; color: var(--accent); font-weight: 550; display: inline-flex; gap: 6px; align-items: center; }
.name-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.flow-chip { position: absolute; right: -20px; top: 32px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 999px; padding: 8px 14px 8px 10px; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; animation: float 6s ease-in-out infinite; }
.flow-chip .check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.flow-chip .check svg { width: 12px; height: 12px; }
.flow-chip [data-flow-text] { transition: opacity .3s ease; }

/* Systeme */
.systems .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.systems .inner { display: contents; }
.systems-line { border-top: 1px solid var(--line); padding-top: 28px; }
.systems p { font-size: 14px; color: var(--subtle); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 40px; margin: 0; padding: 0 20px; list-style: none; }
.marquee li { font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #d4d4d8; }

/* Ausgangslage */
.problem .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem .lead { margin-top: 20px; }
.problem-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.problem-list .n { font-size: 13px; color: var(--subtle); padding-top: 4px; }
.problem-list h3 { font-size: 20px; letter-spacing: -.02em; }
.problem-list p { margin-top: 6px; color: var(--muted); max-width: 56ch; }

/* Leistungen (Bento) */
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { display: grid; grid-template-rows: auto 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(22px, 2.6vw, 32px); transition: transform .45s var(--spring), box-shadow .45s var(--spring); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 28px 48px -18px rgba(24, 24, 27, .14); }
.tile-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.tile-n { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.tile h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; padding-top: 2px; }
.tile-head p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.tile-visual { position: relative; height: 250px; border-radius: 20px; background: var(--tint); padding: 20px; overflow: hidden; display: grid; align-content: center; }
.tile-note { position: absolute; left: 20px; bottom: 12px; font-size: 12px; color: var(--subtle); }

/* Workflow-Fragment */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: center; height: 100%; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--line); transform: translateY(-50%); }
.flow .pulse { position: absolute; top: 50%; left: 10%; width: 40px; height: 2px; background: var(--accent); border-radius: 2px; animation: travel 4.8s var(--spring) infinite; }
.node { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; transition: border-color .4s ease, box-shadow .4s ease; }
.node .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--muted); transition: background-color .4s ease, color .4s ease; }
.node .ico svg { width: 18px; height: 18px; }
.node b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.node span:not(.ico) { font-size: 12.5px; color: var(--subtle); margin-top: -8px; }
.node.done { border-color: rgba(37, 99, 235, .35); box-shadow: 0 0 0 4px var(--accent-soft); }
.node.done .ico { background: var(--accent); color: #fff; }

/* Posteingang-Fragment */
.inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inbox li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: 13.5px; }
.inbox li b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox li div span { display: block; color: var(--subtle); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--subtle); border: 1px solid var(--line); white-space: nowrap; transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.tag.set { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tag.urgent { background: #fbefe6; color: #8f4516; border-color: transparent; }

/* Analyse-Fragment */
.measure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.measure-list li { display: grid; gap: 6px; font-size: 13.5px; }
.measure-list .row { display: flex; justify-content: space-between; gap: 12px; }
.measure-list .row span:last-child { color: var(--subtle); }
.bar { height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--ink); transform-origin: left; animation: grow 3.2s var(--spring) infinite alternate; }
.bar.hi i { background: var(--accent); }

/* Tool-Fragment */
.tool { display: grid; gap: 12px; }
.tool .table { background: var(--surface); }
.tool .table .tr:nth-child(n+5) { display: none; }
.tool .handover { grid-auto-flow: column; justify-content: start; gap: 18px; padding: 0 4px; background: transparent; }
.table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 13px; align-self: start; }
.table .tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: center; }
.table .tr:first-child { border-top: 0; background: var(--tint); color: var(--subtle); font-size: 12px; font-weight: 500; }
.table .tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.wait { background: #f4f4f5; color: var(--muted); }
.pill.live { background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.handover { list-style: none; margin: 0; padding: 16px; border-radius: 16px; background: var(--tint); display: grid; gap: 12px; align-self: start; font-size: 13.5px; }
.handover li { display: flex; align-items: center; gap: 10px; }
.handover svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }
.handover li.todo svg { color: #a1a1aa; }

/* Praxis */
.cases-head { max-width: 760px; margin-bottom: 56px; }
.cases-head .lead { margin-top: 18px; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.case + .case { margin-top: clamp(56px, 7vw, 104px); }
.case:nth-of-type(even) .case-text { order: 2; }
.case-text .label { font-size: 14px; font-weight: 500; color: var(--accent); }
.case-text h3 { margin-top: 10px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; }
.case-text p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.case-text ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.case-text li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; }
.case-text li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; transform: translateY(-2px); }
.shot { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 28px); }
.shot-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; color: var(--subtle); }
.shot-bar b { color: var(--ink); font-weight: 600; font-size: 14px; }
.shot-note { margin-top: 14px; font-size: 12px; color: var(--subtle); }
.leads .tr { grid-template-columns: minmax(0, 1.6fr) 56px auto; }
.score { font-weight: 600; }
.draft { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.draft b { color: var(--ink); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.log li { display: grid; grid-template-columns: 70px 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 8px; border-radius: 10px; font-size: 14px; opacity: .4; transition: opacity .45s ease, background-color .45s ease; }
.log li.on { opacity: 1; }
.log li.now { background: var(--tint); }
.log time { font-size: 12.5px; color: var(--subtle); }
.log .c { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--subtle); transition: background-color .45s ease, color .45s ease; }
.log li.on .c { background: var(--accent); color: #fff; }
.log .c svg { width: 12px; height: 12px; }
.invoice { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
.doc { border-radius: 16px; background: var(--tint); padding: 18px; display: grid; gap: 10px; align-content: start; font-size: 12.5px; color: var(--subtle); }
.doc b { color: var(--ink); font-size: 14px; }
.doc .ln { height: 7px; border-radius: 4px; background: #e4e4e7; }
.doc .ln.s { width: 60%; }
.doc .ln.m { width: 80%; }
.fields { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 13.5px; }
.fields div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.fields div:first-child { border-top: 0; }
.fields span:first-child { color: var(--subtle); }
.fields span:last-child { font-weight: 550; text-align: right; }
.approve { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 13.5px; color: var(--accent); font-weight: 550; }
.approve .pill { background: #fff; }

/* Ablauf */
.steps .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps-head { position: sticky; top: 120px; }
.steps-head .lead { margin-top: 18px; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.stage { position: sticky; top: calc(110px + var(--i) * 16px); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; min-height: 210px; }
.stage .n { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.stage h3 { font-size: 22px; letter-spacing: -.02em; }
.stage p { margin-top: 8px; color: var(--muted); max-width: 54ch; }
.stage small { display: block; margin-top: 16px; font-size: 14px; color: var(--subtle); }

/* Zusammenarbeit */
.offer-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.tiers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.tier { border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.tier.main { grid-row: span 2; background: var(--dark); color: #fff; border-color: transparent; align-content: space-between; gap: 32px; }
.tier .price { font-size: 14px; color: var(--subtle); }
.tier.main .price { color: #a1a1aa; }
.tier h3 { font-size: 24px; letter-spacing: -.025em; }
.tier.main h3 { margin-top: 8px; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.tier p { color: var(--muted); }
.tier.main p { margin-top: 12px; color: #d4d4d8; max-width: 46ch; }
.tier.main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: #e4e4e7; }
.tier.main li { display: flex; gap: 10px; align-items: center; }
.tier.main li svg { width: 16px; height: 16px; color: #93b4ff; flex: 0 0 auto; }
.tier .amount { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #fff; }
.tier .amount small { font-size: 15px; font-weight: 450; color: #a1a1aa; letter-spacing: 0; margin-left: 6px; }

.book { margin-top: 20px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); }
.book h3 { font-size: 22px; letter-spacing: -.02em; }
.book-intro p { margin-top: 8px; color: var(--muted); }
.book fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.book legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--subtle); }
.book fieldset + fieldset { margin-top: 22px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tint); }
.segmented label { position: relative; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.segmented input, .quarters input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(24, 24, 27, .1); }
.segmented label:has(input:focus-visible), .quarters label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.quarters { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.quarters label { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .3s var(--spring); }
.quarters label:active { transform: scale(.98); }
.quarters b { font-size: 15px; font-weight: 600; }
.quarters span { font-size: 13px; color: var(--subtle); }
.quarters label:hover:not(.taken) { border-color: #a1a1aa; }
.quarters label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.quarters label:has(input:checked) span { color: var(--accent); }
.quarters .taken { cursor: not-allowed; background: var(--tint); border-color: transparent; color: #a1a1aa; }
.quarters .taken span { color: #a1a1aa; }
.book-result { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.book-result p { color: var(--muted); font-size: 15.5px; max-width: 46ch; }

/* Über uns */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about blockquote { margin: 24px 0 0; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; max-width: 30ch; }
.about-text { margin-top: 28px; display: grid; gap: 16px; color: var(--muted); max-width: 62ch; }
.about-side { display: grid; gap: 28px; }
.facts-list { margin: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 8px 24px; }
.facts-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts-list div:first-child { border-top: 0; }
.facts-list dt { color: var(--subtle); }
.facts-list dd { margin: 0; font-weight: 500; }
.fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; color: var(--muted); }
.fit li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.fit svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.fit li.no svg { color: #a1a1aa; }

/* Fachartikel */
.articles-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: 15px; white-space: nowrap; }
.text-link:hover { color: var(--accent); }
.article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 140px minmax(0, 1fr) 32px; gap: 24px; align-items: center; padding: 26px 16px; margin-inline: -16px; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.article-list a:hover { background: var(--surface); }
.article-list time { font-size: 13px; color: var(--subtle); }
.article-list h3 { font-size: 19px; letter-spacing: -.02em; }
.article-list p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.article-list .go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .4s var(--spring), background-color .25s ease, color .25s ease, border-color .25s ease; }
.article-list .go svg { width: 14px; height: 14px; }
.article-list a:hover .go { transform: translateX(4px); background: var(--ink); color: #fff; border-color: var(--ink); }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .lead { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17.5px; font-weight: 550; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); flex: 0 0 auto; transition: transform .4s var(--spring), background-color .25s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .25s ease; }
.faq details[open] .pm { transform: rotate(180deg); background: var(--accent-soft); }
.faq details[open] .pm::after { opacity: 0; }
.faq .a { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }

/* Abschluss */
.cta { padding-block: 0 24px; }
.cta-box { background: var(--dark); color: #fff; border-radius: 2.5rem; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; }
.cta-box h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.04; max-width: 16ch; }
.cta-box p { margin-top: 18px; color: #a1a1aa; max-width: 52ch; }
.cta-side { display: grid; gap: 14px; justify-items: start; }
.cta-side .status { background: var(--dark-2); border-color: var(--dark-line); color: #a1a1aa; }
.cta-side .status b { color: #fff; }
.cta-side .dot, .cta-side .dot::after { background: #93b4ff; }

footer { padding-block: 40px 48px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: start; font-size: 14.5px; color: var(--subtle); }
.foot address { font-style: normal; line-height: 1.6; }
.foot address b { color: var(--ink); font-weight: 600; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover { color: var(--ink); }

/* Bewegung */
@keyframes breathe { 0%, 100% { transform: scale(.6); opacity: .35; } 50% { transform: scale(1.35); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes travel { 0% { transform: translate(0, -50%); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--track, 600px), -50%); opacity: 0; } }
@keyframes grow { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-top: 1px solid var(--line); font-size: 16px; }
  .nav-links a:hover { background: transparent; }
  .nav-toggle { display: inline-flex; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .portrait-wrap { max-width: 520px; width: 100%; }
  .problem .wrap, .steps .wrap, .about .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps-head, .faq-head { position: static; }
  .services-head, .offer-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case:nth-of-type(even) .case-text { order: 0; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier.main { grid-row: auto; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .cta-box { grid-template-columns: minmax(0, 1fr); }
  .stage { position: relative; top: 0; }
}

/* Telefon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .nav .btn { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; }
  .facts div, .facts div:first-child { padding: 0 0 0 14px; border-left: 2px solid var(--line); }
  .name-card { left: 12px; bottom: 12px; min-width: 0; }
  .flow-chip { display: none; }
  .systems .wrap { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow::before, .flow .pulse { display: none; }
  .tool, .invoice { grid-template-columns: minmax(0, 1fr); }
  .quarters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-result .btn { width: 100%; }
  .article-list a { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; }
  .article-list time { grid-column: 1 / -1; }
  .articles-head { flex-direction: column; align-items: start; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .facts-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .faq .a { padding-right: 0; }
  .log li { grid-template-columns: 64px 22px minmax(0, 1fr); font-size: 13.5px; }
}

/* ---------- Unterseiten ---------- */

.nav-links a[aria-current="page"] { color: var(--ink); background: var(--tint); }

.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.04em; max-width: 18ch; }
.page-hero .status { margin-bottom: 24px; }
.page-hero .lead { margin-top: 20px; }
.page-hero .hero-actions { margin-top: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; transition: transform .35s var(--spring); }
.back-link:hover svg { transform: translateX(-3px); }

.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > .sticky { position: sticky; top: 112px; }
.page-body { padding-block: 0 clamp(80px, 9vw, 128px); }

/* Hinweise links neben dem Formular */
.terms { display: grid; margin-top: 8px; }
.terms div { padding: 18px 0; border-top: 1px solid var(--line); }
.terms div:first-child { border-top: 0; padding-top: 4px; }
.terms b { display: block; font-weight: 600; letter-spacing: -.01em; }
.terms > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.card > h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }

/* Formular */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14.5px; font-weight: 550; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2371717a' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1aa; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d4d4d8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field-help { font-size: 13.5px; font-weight: 400; color: var(--subtle); }
.options { display: grid; gap: 10px; }
.option { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .3s var(--spring); font-weight: 400; }
.option:hover { border-color: #a1a1aa; }
.option:active { transform: scale(.995); }
.option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.option b { display: block; font-weight: 600; font-size: 15.5px; }
.option span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.option small { display: block; margin-top: 8px; font-size: 13px; font-weight: 550; color: var(--accent); }
.form .btn { justify-self: start; min-width: 200px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form-error { display: none; padding: 14px 16px; border-radius: 14px; background: #fdf1ef; color: #8f2b1d; font-size: 15px; line-height: 1.5; }
.form-error a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 13.5px; color: var(--subtle); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Nächste Schritte (Danke, 404) */
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps li:first-child { border-top: 0; padding-top: 0; }
.next-steps .n { width: 32px; height: 32px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.next-steps li.done .n { background: var(--accent); color: #fff; }
.next-steps b { display: block; font-weight: 600; }
.next-steps span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; }
.card blockquote { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 550; transition: color .2s ease; }
.link-list li:first-child a { border-top: 0; padding-top: 0; }
.link-list a span { font-weight: 400; font-size: 14.5px; color: var(--subtle); display: block; }
.link-list a:hover { color: var(--accent); }
.link-list svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .35s var(--spring); }
.link-list a:hover svg { transform: translateX(3px); }

/* Fließtext (Rechtliches, Artikel) */
.prose { max-width: 68ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2, .prose h3 { color: var(--ink); font-size: 20px; line-height: 1.3; letter-spacing: -.02em; margin-top: 40px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-word; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.aside-facts { margin: 0; display: grid; }
.aside-facts div { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.aside-facts div:first-child { border-top: 0; padding-top: 0; }
.aside-facts dt { color: var(--subtle); font-size: 13.5px; }
.aside-facts dd { margin: 2px 0 0; font-weight: 500; }
.aside-facts a { color: var(--accent); }

/* Artikel */
.article-head h1 { max-width: 22ch; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; }
.byline { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14.5px; color: var(--subtle); }
.author { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.author .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--tint); }
.author .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.1); transform-origin: 52% 12%; }
.author b { display: block; font-weight: 600; }
.author small { display: block; font-size: 13px; color: var(--subtle); }
.article-body { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-body .prose { font-size: 18px; color: #3f3f46; }
.article-body .prose h2 { font-size: 23px; margin-top: 48px; }
.article-aside { position: sticky; top: 112px; display: grid; gap: 16px; }
.article-aside .card { padding: 24px; }
.article-aside h2 { font-size: 17px; letter-spacing: -.01em; }
.article-aside p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.article-aside .btn { margin-top: 16px; width: 100%; }
.more-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.more-list a { display: block; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.4; }
.more-list li:first-child a { border-top: 0; }
.more-list a:hover { color: var(--accent); }
.article-list .read { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--subtle); }

@media (max-width: 1024px) {
  .split, .article-body { grid-template-columns: minmax(0, 1fr); }
  .split > .sticky, .article-aside { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .article-body .prose { font-size: 17px; }
}

/* ---------- Farbe ---------- */
:root {
  --navy: #0b1b3a;
  --navy-2: #14295a;
  --sky: #eef3ff;
  --sky-2: #dce7ff;
  --slate: #f1f5f9;
  --cyan: #2563eb;
  --cyan-soft: #e8efff;
}

.kicker { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); font-weight: 550; }
.status { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.status b { color: var(--navy); }

/* Hero: farbige Fläche hinter dem Porträt */
.portrait-wrap::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-xl); background: var(--accent); z-index: 0; }
.portrait-wrap::after { content: ""; position: absolute; width: 120px; height: 120px; left: -36px; top: -32px; border-radius: 50%; background: var(--cyan-soft); z-index: 0; }
.portrait, .name-card, .flow-chip { position: relative; z-index: 1; }
.name-card, .flow-chip { position: absolute; }
.facts div b { color: var(--navy); }

/* Abschnitte mit farbigem Grund */
#leistungen { background: var(--sky); }
#prozesslandkarte { background: var(--navy); color: #fff; }
#prozesslandkarte .kicker { background: rgba(255, 255, 255, .1); color: #b9cdfc; }
#prozesslandkarte .lead { color: #c3d1ec; }
#prozesslandkarte .stage { color: var(--ink); border-color: transparent; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45); }
.stage .n { background: var(--sky); color: var(--accent); }
#ueber { background: var(--slate); }
#ueber .facts-list { border-color: transparent; }
.about blockquote { padding-left: 20px; border-left: 3px solid var(--cyan); }

.problem-list .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; padding: 0; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.case-text .label { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); }
.case-text li::before { background: var(--cyan); }

/* Leistungen: Farbe in den Ausschnitten */
.node .ico { background: var(--sky); color: var(--accent); }
.inbox li { background: var(--surface); }
.tag.set { background: var(--sky-2); }
.bar i { background: var(--navy-2); }
.bar.hi i { background: var(--cyan); }


/* Zusammenarbeit */
.tier.main { background: var(--navy); }
.tier.main .price, .tier.main .amount small { color: #9fb4dc; }
.tier.main p { color: #d3def5; }
.tier.main li svg { color: #93b4ff; }
.tier:not(.main) .price { color: var(--cyan); font-weight: 550; }
.book { background: var(--surface); }
.quarters label:has(input:checked) { background: var(--sky); }

/* Abschluss */
.cta-box { background: var(--accent); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: var(--navy-2); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { color: #d3def5; }
.cta-side .status { background: rgba(255, 255, 255, .12); border-color: transparent; color: #d3def5; }
.cta-side .dot, .cta-side .dot::after { background: #93b4ff; }
footer { background: var(--navy); color: #c3d1ec; }
.foot { color: #9fb4dc; }
.foot address b { color: #fff; }
.foot nav a:hover { color: #fff; }

/* Unterseiten */
.page-hero { background: var(--sky); }
.page-hero + .page-body, .page-hero + section.page-body { padding-top: clamp(40px, 5vw, 64px); }
.terms b, .aside-facts dd { color: var(--navy); }
.next-steps li.done .n { background: var(--accent); }
.card blockquote { border-top-color: var(--sky-2); }
.article-aside .card:first-child { background: var(--navy); color: #fff; border-color: transparent; }
.article-aside .card:first-child p { color: #d3def5; }
.article-aside .card:first-child .btn-primary { background: #fff; color: var(--ink); }
.prose h2, .prose h3 { color: var(--navy); }

@media (max-width: 640px) {
  .portrait-wrap::before { inset: 14px -8px -14px 14px; }
  .portrait-wrap::after { display: none; }
}
#leistungen .kicker, .page-hero .kicker, .page-hero .status { background: #fff; }
#ueber .kicker { background: #fff; }

.tag.urgent { background: #fff1e6; color: #b45309; }
@media (max-width: 640px) { .tool .handover { grid-auto-flow: row; } .tile-head { grid-template-columns: 1fr; row-gap: 14px; } .tile-n { grid-row: auto; } }
@media (max-width: 640px) { .tile-visual { height: auto; min-height: 220px; align-content: start; } .tile-note { position: static; margin-top: 14px; } .flow { height: auto; } }

/* ---------- Formen der Zusammenarbeit: Stufenleiter ---------- */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; align-items: stretch; }
.ladder::before { content: ""; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: var(--sky-2); }
.step { display: grid; grid-template-rows: auto 1fr; gap: 24px; justify-items: center; }
.step-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--sky-2); color: var(--accent); font-size: 15px; font-weight: 600; }
.step.main .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-card { width: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(22px, 2.2vw, 28px); transition: transform .45s var(--spring), box-shadow .45s var(--spring); }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 28px 48px -18px rgba(24, 24, 27, .14); }
.step.main .step-card { background: var(--navy); color: #fff; border-color: transparent; margin-top: -16px; padding-top: calc(clamp(22px, 2.2vw, 28px) + 16px); }
.step-badge { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #c7d6ff; font-size: 12.5px; font-weight: 550; }
.step-card h3 { font-size: 21px; letter-spacing: -.02em; }
.step-card .who { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.step.main .step-card .who { color: #c3d1ec; }
.step-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.45; }
.step-card li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; }
.step-card li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.step.main .step-card li svg { color: #93b4ff; }
.step-meta { margin: auto 0 0; padding-top: 18px; display: grid; gap: 6px; }
.step-card ul + .step-meta { margin-top: 22px; }
.step-meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.step.main .step-meta div { border-top-color: rgba(255, 255, 255, .12); }
.step-meta dt { color: var(--subtle); }
.step.main .step-meta dt { color: #9fb4dc; }
.step-meta dd { margin: 0; text-align: right; }
.step-meta b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.step-meta small { font-size: 13px; color: var(--subtle); }
.step.main .step-meta small { color: #9fb4dc; }
.step-note { margin-top: 12px; font-size: 13px; color: var(--accent); font-weight: 550; }

@media (max-width: 1024px) {
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .ladder::before { display: none; }
  .step { justify-items: start; }
  .step.main .step-card { margin-top: 0; padding-top: clamp(22px, 2.2vw, 28px); }
}
@media (max-width: 640px) {
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .step { display: block; position: relative; }
  .step-dot { position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; font-size: 14px; }
  .step-card h3 { padding-right: 44px; }
  .step.main .step-dot { border-color: rgba(255, 255, 255, .25); }
}
.step-meta dd { white-space: nowrap; }
.segmented label:has(input:checked) { background: var(--accent); color: #fff; box-shadow: 0 4px 12px -4px rgba(37, 99, 235, .5); }
.segmented label:not(:has(input:checked)):hover { color: var(--ink); background: rgba(255, 255, 255, .7); }

/* ---------- Praxis: Bereiche mit Automationen ---------- */
.case-text .case-autos { gap: 0; margin-top: 22px; border-top: 1px solid var(--line); max-width: 52ch; }
.case-text .case-autos li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case-text .case-autos li::before { display: none; }
.case-autos b { font-weight: 600; color: var(--navy); white-space: nowrap; font-feature-settings: "tnum"; }
.case-autos small { font-size: 13px; font-weight: 400; color: var(--subtle); }
.case-foot { margin-top: 24px; max-width: 52ch; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.case-figure b { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.case-figure span { display: block; margin-top: 6px; font-size: 14px; color: var(--subtle); }
.cases-note { margin-top: clamp(40px, 5vw, 64px); font-size: 13px; color: var(--subtle); }
.onboard { margin-top: 14px; }
.onboard-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; color: var(--subtle); }
.onboard-head b { color: var(--ink); font-weight: 600; }
.onboard .handover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.onboard .handover li { transition: color .45s ease; }
.onboard .handover li.todo { color: var(--subtle); }
.onboard .handover svg { transition: color .45s ease; }
@media (max-width: 640px) {
  .onboard .handover { grid-template-columns: minmax(0, 1fr); }
}

/* Rechner Einsparpotenzial */
.calc { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.calc-in { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.calc-in h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; }
.calc-in > p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.calc-fields { margin-top: 28px; display: grid; gap: 22px; }
.calc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: baseline; }
.calc-field label { font-size: 15px; font-weight: 500; }
.calc-field output { font-size: 15px; font-weight: 600; color: var(--navy); }
.calc-field input { grid-column: 1 / -1; width: 100%; margin: 0; accent-color: var(--accent); height: 24px; cursor: pointer; }
.calc-out { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.calc-rows { margin: 0; display: grid; }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.calc-rows dt { color: #c3d1ec; }
.calc-rows dd { margin: 0; font-weight: 600; font-feature-settings: "tnum"; white-space: nowrap; }
.calc-total { margin-top: 22px; }
.calc-total span { display: block; font-size: 14px; color: #9fb4dc; }
.calc-total b { display: block; font-feature-settings: "tnum"; margin-top: 4px; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.calc-note { margin-top: auto; padding-top: 24px; font-size: 13.5px; line-height: 1.55; color: #9fb4dc; }
.calc-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.case-foot .btn { min-height: 44px; }
@media (max-width: 1024px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}
