/* kobyte – Apple-ruhig, mit wenigen Space-Szenen. Systemschrift, keine externen Ressourcen. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --space: #000000;
  --space-2: #0b0b0f;
  --space-ink: #f5f5f7;
  --space-ink-2: #a1a1a6;
  --space-accent: #2997ff;
  --radius: 22px;
  --radius-s: 12px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.55; letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--space); color: var(--space-ink); }
.dark a { color: var(--space-accent); }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.dark .eyebrow { color: var(--space-ink-2); }
.headline { font-size: clamp(40px, 6.4vw, 72px); }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: #515154; max-width: 680px; margin-top: 20px; letter-spacing: -.015em; }
.dark .lede { color: var(--space-ink-2); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Platzhalter – bewusst auffällig, damit nichts Erfundenes live geht */
.ph { background: #fff4d6; color: #7a5200; border: 1px dashed #d9a400; border-radius: 6px; padding: 0 5px; font-style: normal; font-size: .92em; }
.dark .ph { background: rgba(255, 196, 0, .12); color: #ffcf4d; border-color: rgba(255, 196, 0, .5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 500; transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--accent); padding-left: 8px; padding-right: 8px; }
.btn.ghost::after { content: "›"; font-size: 1.2em; line-height: 1; }
.dark .btn.ghost { color: var(--space-accent); }
.btn.ghost:hover { text-decoration: underline; }
.btn.small { min-height: 34px; padding: 6px 16px; font-size: 14px; }
.btn.secondary { background: var(--bg-alt); color: var(--ink); }
.btn.secondary:hover { background: #e8e8ed; }
.btn.danger { background: #fff; color: #d70015; border: 1px solid #f1c3c8; }
.btn.danger:hover { background: #fff0f1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--space-ink);
}
.nav .wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; font-size: 20px; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 13px; }
.nav ul a { color: rgba(245, 245, 247, .82); }
.nav ul a:hover { color: #fff; text-decoration: none; }
.nav .btn { min-height: 30px; padding: 5px 14px; font-size: 13px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav ul {
    position: fixed; inset: 52px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 22px 22px; background: rgba(0, 0, 0, .94);
    font-size: 22px; font-weight: 600; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open ul { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

/* ---------- Hero (Szene 1: Orbit) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--space); color: var(--space-ink); overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 52px 22px 18vh; }
.hero h1 { font-size: clamp(48px, 9.5vw, 112px); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
.hero h1 .thin { display: block; font-weight: 600; background: linear-gradient(180deg, #fff 30%, #8ab8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(19px, 2.3vw, 24px); color: var(--space-ink-2); max-width: 680px; margin-top: 24px; line-height: 1.38; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hero .telemetry { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 28px; font: 11px/1 var(--mono); letter-spacing: .14em; color: rgba(245, 245, 247, .45); text-transform: uppercase; }
.hero .telemetry b { color: rgba(245, 245, 247, .8); font-weight: 500; }
@media (max-width: 600px) { .hero .telemetry span:nth-child(n+3) { display: none; } }
.hero-content > * { will-change: opacity, transform; }

/* ---------- Leistungen ---------- */
.grid { display: grid; gap: 20px; margin-top: 56px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.alt .card { background: #fff; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); }
.card h3 { font-size: 24px; }
.card p { color: #515154; line-height: 1.55; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.card li { padding: 7px 0; border-top: 1px solid #ececf0; }
.card .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 6px; }
.card .tag { font: 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.card.wide { grid-column: span 2; }
@media (max-width: 640px) { .card.wide { grid-column: auto; } }

/* ---------- Mission (Szene 2: scroll-gesteuerte Flugbahn) ---------- */
.mission { position: relative; background: var(--space); color: var(--space-ink); }
.mission-intro { padding-top: clamp(80px, 12vw, 150px); padding-bottom: 40px; }
.mission-track { position: relative; height: 420vh; }
.mission-stage { position: sticky; top: 52px; height: calc(100vh - 52px); height: calc(100svh - 52px); overflow: hidden; }
.mission-stage .wrap { height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.trajectory { height: min(78vh, 680px); width: 100%; }
.trajectory .path-bg { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; stroke-dasharray: 2 7; }
.trajectory .path-fg { fill: none; stroke: url(#trail); stroke-width: 2.5; stroke-linecap: round; }
.trajectory .stage-dot { fill: var(--space); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.trajectory .stage-dot.on { fill: var(--space-accent); stroke: var(--space-accent); }
.trajectory .stage-label { fill: rgba(245, 245, 247, .4); font: 11px var(--mono); letter-spacing: .12em; transition: fill .4s; }
.trajectory .stage-label.on { fill: rgba(245, 245, 247, .95); }
.trajectory .horizon { fill: none; stroke: rgba(41, 151, 255, .5); stroke-width: 1; }
.trajectory .ground { fill: url(#atmo); }
.craft-glow { fill: url(#glow); }
.craft-body { fill: #fff; }
.craft-flame { fill: url(#flame); transform-origin: 0 0; }

.hud { font: 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--space-ink-2); display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 12px; margin-bottom: 32px; }
.hud b { color: var(--space-ink); font-weight: 500; }
.hud .bar { flex: 1; max-width: 140px; height: 2px; align-self: center; background: rgba(255, 255, 255, .14); margin: 0 14px; position: relative; overflow: hidden; }
.hud .bar i { position: absolute; inset: 0; background: var(--space-accent); transform-origin: left; transform: scaleX(0); }
.phases { position: relative; min-height: 340px; }
/* alte Phase blendet schnell aus, neue erst danach ein – kein Überlagern von Text */
.phase { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; visibility: hidden; transition-property: opacity, transform, visibility; }
.phase.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-duration: .5s; transition-delay: .18s; }
.phase .num { font: 13px var(--mono); color: var(--space-accent); letter-spacing: .14em; }
.phase h3 { font-size: clamp(32px, 4.4vw, 52px); margin: 10px 0 16px; }
.phase p { color: #c7c7cc; font-size: 19px; line-height: 1.5; max-width: 560px; }
.phase ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; }
.phase li { padding-left: 22px; position: relative; color: var(--space-ink); }
.phase li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 1.5px; background: var(--space-accent); }
@media (max-width: 860px) {
  .mission-stage .wrap { grid-template-columns: 1fr; grid-template-rows: 34% 1fr; gap: 8px; align-items: start; padding-top: 12px; }
  .trajectory { height: 100%; }
  .hud { margin-bottom: 16px; }
  .phase h3 { margin: 6px 0 10px; }
  .phase p { font-size: 16px; }
  .phase ul { margin-top: 14px; font-size: 15px; gap: 6px; }
}
@media (max-width: 860px) and (max-height: 700px) { .phase ul { display: none; } }

/* Ohne Animation: Phasen als normale Liste */
.static .mission-track { height: auto; }
.static .mission-stage { position: static; height: auto; overflow: visible; }
.static .mission-stage .wrap { grid-template-columns: 1fr; }
.static .trajectory, .static .hud { display: none; }
.static .phases { min-height: 0; display: grid; gap: 48px; padding-bottom: 100px; }
.static .phase { position: static; opacity: 1; transform: none; }

/* ---------- Projekte ---------- */
.note { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

/* ---------- Über mich ---------- */

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 26px; color: #515154; max-width: 720px; line-height: 1.55; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Terminbuchung ---------- */
.booking { margin-top: 48px; background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); overflow: hidden; }
.booking-steps { display: flex; gap: 6px; padding: 18px 28px; border-bottom: 1px solid #ececf0; font-size: 13px; color: var(--ink-3); }
.booking-steps span { display: inline-flex; align-items: center; gap: 8px; }
.booking-steps span + span::before { content: ""; width: 24px; height: 1px; background: var(--line); margin: 0 6px; }
.booking-steps .on { color: var(--ink); font-weight: 600; }
.booking-steps i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: #ececf0; font-size: 11px; }
.booking-steps .on i { background: var(--accent); color: #fff; }
.booking-steps .done i { background: #1d1d1f; color: #fff; }
.booking-body { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 470px; }
@media (max-width: 860px) { .booking-body { grid-template-columns: 1fr; } .booking-steps { padding: 14px 18px; overflow-x: auto; } .booking-steps span + span::before { width: 10px; } }
.cal { padding: 28px; border-right: 1px solid #ececf0; }
@media (max-width: 860px) { .cal { border-right: 0; border-bottom: 1px solid #ececf0; padding: 22px 16px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h3 { font-size: 21px; }
.cal-head button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 18px; color: var(--accent); }
.cal-head button:disabled { color: var(--ink-3); opacity: .5; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--ink-3); font-weight: 600; padding-bottom: 6px; }
.cal-grid button {
  aspect-ratio: 1; border-radius: 50%; border: 0; background: none; font-size: 16px; cursor: default; color: var(--ink-3); position: relative;
  max-width: 48px; width: 100%; margin: 0 auto;
}
.cal-grid button.free { color: var(--accent); background: rgba(0, 113, 227, .08); font-weight: 600; cursor: pointer; }
.cal-grid button.free:hover { background: rgba(0, 113, 227, .16); }
.cal-grid button.sel { background: var(--accent); color: #fff; }
.cal-grid button.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-foot { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.side { padding: 28px; position: relative; }
@media (max-width: 860px) { .side { padding: 22px 16px; } }
.side h3 { font-size: 21px; margin-bottom: 4px; }
.side .sub { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slots button { min-height: 44px; border-radius: var(--radius-s); border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.slots button:hover { border-color: var(--accent); color: var(--accent); }
.slots button.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.empty { color: var(--ink-3); font-size: 15px; padding: 30px 0; }

.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 11px 14px; background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.field .err { color: #d70015; font-size: 13px; margin-top: 4px; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: #d70015; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { background: var(--bg-alt); border-radius: var(--radius-s); padding: 14px 16px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.summary b { font-weight: 600; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 4px; font-size: 14px; }
.form-error { color: #d70015; font-size: 14px; }
.done-panel { grid-column: 1 / -1; padding: clamp(36px, 6vw, 72px) 28px; text-align: center; }
.done-panel .check-ring { width: 76px; height: 76px; margin: 0 auto 22px; }
.done-panel h3 { font-size: clamp(28px, 4vw, 40px); }
.done-panel p { color: var(--ink-2); margin: 12px auto 0; max-width: 520px; }
.done-panel .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.test-hint { margin-top: 22px; font-size: 13px; color: #7a5200; background: #fff4d6; display: inline-block; padding: 6px 12px; border-radius: 8px; }
.calcom { padding: 56px 28px; text-align: center; }
.calcom p { color: var(--ink-2); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Kontakt & Footer ---------- */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 720px; gap: 20px; margin-top: 56px; }
.contact > div { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; }
.contact .k { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--space-ink-2); margin-bottom: 8px; }
.contact .v { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
footer { background: var(--space); color: var(--space-ink-2); font-size: 12px; padding: 22px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--space-ink-2) !important; }
footer a:hover { color: #fff !important; }

/* ---------- Einblenden (Szene 3: dezent) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Unterseiten ---------- */
.page { padding: 120px 0 100px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 28px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page p, .page li { color: #3a3a3c; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page .meta { color: var(--ink-3); font-size: 14px; margin-top: 40px; }
.panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px -36px rgba(0, 0, 0, .4); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; margin: 22px 0; font-size: 16px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 980px; background: #e3f3e6; color: #1b7a32; }
.badge.off { background: #f2f2f4; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.projects { margin-top: 56px; }
.field label .sub { margin: 0; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.js .done-panel .ring { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 0.9s var(--ease) forwards; }
.js .done-panel .tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-panel:focus { outline: none; }

/* ---------- Admin ---------- */
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
table.list th, table.list td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #ececf0; vertical-align: top; }
table.list th { font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
table.list tr.past td { color: var(--ink-3); }
table.list .msg { max-width: 260px; white-space: pre-wrap; color: var(--ink-2); }
.tabs { display: inline-flex; background: #e8e8ed; border-radius: 980px; padding: 3px; }
.tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 980px; cursor: pointer; font-size: 14px; }
.tabs button.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.block-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 12px; }
.block-form input { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 980px; padding: 4px 6px 4px 12px; font-size: 14px; }
.chip button { border: 0; background: #f2f2f4; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; }
.page-nav { position: fixed; inset: 0 0 auto 0; height: 52px; background: rgba(0,0,0,.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; z-index: 10; }
.page-nav .wrap { display: flex; align-items: center; height: 100%; justify-content: space-between; }
.page-nav a:not(.brand) { color: rgba(255,255,255,.8); font-size: 13px; }
body.subpage { background: var(--bg-alt); }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.panel .sub { color: var(--ink-2); font-size: 14px; }
.page h2 + p { margin-top: 0; }
@media (max-width: 860px) { .trajectory .stage-label { font-size: 19px; } .trajectory .stage-dot { stroke-width: 2.5; } }
.admin .page .wrap { max-width: var(--max); }
.subpage .btn.secondary { background: #fff; border: 1px solid var(--line); }

/* ---------- Projekte (Karten) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.pcard { background: var(--bg-alt); border-radius: var(--radius); padding: 34px 32px 30px; display: flex; flex-direction: column; }
.pcard .k { font: 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pcard h3 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; margin: 10px 0 12px; }
.pcard .task { color: #515154; line-height: 1.55; }
.pcard ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: 15px; line-height: 1.45; }
.pcard li { position: relative; padding-left: 20px; }
.pcard li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 1.5px; background: var(--accent); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips-row span { font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 980px; background: #fff; color: var(--ink-2); border: 1px solid #e3e3e8; }
.pcard.feature { grid-column: 1 / -1; background: var(--space); color: var(--space-ink); display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; padding: 44px 44px 40px; }
.pcard.feature .k { color: var(--space-accent); grid-column: 1 / -1; }
.pcard.feature h3 { font-size: clamp(28px, 3.4vw, 38px); grid-column: 1; }
.pcard.feature .task { color: #c7c7cc; grid-column: 1; }
.pcard.feature ul { grid-column: 2; grid-row: 2 / span 3; margin: 10px 0 0; color: var(--space-ink); font-size: 16px; }
.pcard.feature li::before { background: var(--space-accent); }
.pcard.feature .chips-row { grid-column: 1; margin-top: 22px; }
.pcard.feature .chips-row span { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: var(--space-ink); }
.pgrid .reveal:nth-child(odd) { transition-delay: .06s; }
@media (max-width: 860px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard { padding: 28px 24px 24px; }
  .pcard.feature { grid-template-columns: 1fr; padding: 32px 24px 28px; }
  .pcard.feature ul { grid-column: 1; grid-row: auto; margin: 18px 0 0; }
}

/* ---------- Über mich (ohne Foto) ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 8px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.about .facts dt { font: 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.about .facts dd { margin: 2px 0 0; font-weight: 500; }
.about .values { display: grid; gap: 20px; margin-top: 28px; }
.about .values h4 { font-size: 17px; margin-bottom: 4px; }
.about .values p { font-size: 15px; color: #515154; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .about .facts { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .about > div:last-child { padding-top: 40px; } }
.pcard.wide { grid-column: 1 / -1; }
@media (min-width: 861px) { .pcard.wide ul { grid-template-columns: repeat(3, 1fr); } }
.faq .deadlines { margin: 12px 0; padding-left: 20px; display: grid; gap: 6px; }
.faq .answer .src { font-size: 13px; color: var(--ink-3); }

/* Projekt-Aufzählungen: Häkchen statt Striche */
.pcard .ticks { gap: 11px; font-size: 15px; line-height: 1.4; }
.pcard .ticks li { padding-left: 28px; }
.pcard .ticks li::before {
  width: 18px; height: 18px; left: 0; top: .06em; border-radius: 50%;
  background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pcard.feature .ticks li::before {
  background: rgba(41, 151, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%237cc0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pcard .task { font-size: 16px; }
.pcard.feature .task { font-size: 18px; }
.pcard.feature .ticks { font-size: 16px; gap: 13px; }

/* ---------- Lesbarkeit: kleine Schriften anheben ---------- */
.nav ul { font-size: 14px; }
.nav .btn { font-size: 14px; }
.eyebrow { font-size: 15px; }
.card ul { font-size: 16px; }
.card .tag, .pcard .k, .about .facts dt, .contact .k { font-size: 13px; }
.pcard .task { font-size: 17px; }
.pcard .ticks { font-size: 16px; line-height: 1.45; }
.pcard.feature .ticks { font-size: 17px; }
.chips-row span { font-size: 13px; padding: 6px 12px; }
.about .facts dd { font-size: 17px; }
.about .values p { font-size: 16px; line-height: 1.5; }
.faq summary { font-size: 22px; line-height: 1.3; }
.faq .answer { font-size: 18px; }
.faq .answer .src { font-size: 14px; }
.phase ul { font-size: 17px; }
.hud { font-size: 13px; }
.side .sub, .empty { font-size: 16px; }
.cal-foot, .check { font-size: 15px; }
.field label { font-size: 14px; }
.booking-steps { font-size: 14px; }
footer { font-size: 13px; line-height: 1.5; }
@media (max-width: 860px) {
  .phase p { font-size: 17px; }
  .phase ul { font-size: 16px; }
  .faq summary { font-size: 19px; }
  .faq .answer { font-size: 17px; }
}

/* Breite Karte (Schulung) wie Hauptkarte zweispaltig, aber hell */
@media (min-width: 861px) {
  .pcard.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .pcard.wide .k { grid-column: 1 / -1; }
  .pcard.wide h3, .pcard.wide .task, .pcard.wide .chips-row { grid-column: 1; }
  .pcard.wide .ticks { grid-column: 2; grid-row: 2 / span 3; grid-template-columns: 1fr; margin: 10px 0 0; }
  .pcard.wide .chips-row { margin-top: 22px; }
}

/* Logo k-Planet: grösser in der Navigation */
.brand { gap: 9px; font-size: 21px; }
.brand svg { width: 38px; height: 38px; margin: -4px -2px -4px -6px; }

/* Sprachumschalter */
.nav ul .lang a { font-weight: 600; letter-spacing: .04em; border: 1px solid rgba(255, 255, 255, .28); border-radius: 980px; padding: 3px 10px; }
.nav ul .lang a:hover { border-color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .nav ul .lang a { border: 0; border-radius: 0; padding: 12px 0; } }

/* Bausteine für die Startseite (Architektur-Grafik, BW-Readiness-Check).
   Keine Inline-Styles → CSP-konform. */

/* ---------- Architektur ---------- */
.arch { background: var(--space); color: var(--space-ink); }
.arch-stage { margin-top: 48px; }
.arch svg { width: 100%; height: auto; display: block; }
.arch .col-label { fill: var(--space-ink-2); font: 12px var(--mono); letter-spacing: .14em; }
.arch .node rect { fill: #0b0b0f; stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.arch .node text { fill: var(--space-ink); font-size: 15px; font-weight: 500; }
.arch .node .sub { fill: var(--space-ink-2); font-size: 11px; font-family: var(--mono); letter-spacing: .08em; }
.arch .node { cursor: pointer; transition: opacity .3s; outline: none; }
.arch .node:hover rect, .arch .node.on rect, .arch .node:focus-visible rect { stroke: var(--space-accent); fill: #0d1a2b; }
.arch .hub-box { fill: #06101d; stroke: rgba(41, 151, 255, .45); stroke-width: 1.5; }
.arch .hub-title { font-size: 22px; font-weight: 600; fill: #fff; }
.arch .layer rect { fill: #0c1830; stroke: rgba(41, 151, 255, .25); }
.arch .layer .lt { fill: #cfe3ff; font-size: 14px; }
.arch .layer .ld { fill: #8fb4e6; font-size: 12px; }
.arch .flow { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; transition: stroke .3s, opacity .3s; }
.arch .flow.inner { stroke: rgba(41, 151, 255, .5); }
.arch .flow.on { stroke: var(--space-accent); stroke-width: 2.2; }
.arch .pk { fill: #9fd0ff; transition: opacity .3s; }
.arch .group-box { fill: none; stroke: rgba(41, 151, 255, .3); stroke-dasharray: 3 5; }
.arch .group-label { fill: #8fb4e6; font: 11px var(--mono); letter-spacing: .12em; }
.arch svg.dim .node:not(.on), .arch svg.dim .flow:not(.on), .arch svg.dim .pk:not(.on) { opacity: .18; }
.arch-info { margin-top: 22px; min-height: 84px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.arch-info .k { font: 13px var(--mono); letter-spacing: .12em; color: var(--space-accent); text-transform: uppercase; }
.arch-info p { margin: 0; color: var(--space-ink-2); font-size: 18px; line-height: 1.5; }
.arch-info b { color: var(--space-ink); }
/* Mobil: Grafik bleibt lesbar, horizontal wischbar */
@media (max-width: 760px) {
  .arch-scroll { overflow-x: auto; margin: 0 -22px; padding: 0 22px; -webkit-overflow-scrolling: touch; }
  .arch-scroll svg { width: 820px; max-width: none; }
  .arch-info { grid-template-columns: 1fr; gap: 6px; }
}
.arch-hint { display: none; margin-top: 10px; font-size: 14px; color: var(--space-ink-2); }
@media (max-width: 760px) { .arch-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { .arch .pk { display: none; } }

/* ---------- BW-Readiness-Check ---------- */
.check-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; margin-top: 8px; }
@media (max-width: 860px) { .check-wrap { grid-template-columns: 1fr; gap: 28px; } }
.check-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 17px; }
.check-points li { padding-left: 28px; position: relative; }
.check-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.check-card { background: #fff; border-radius: 28px; padding: 34px 32px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); }
@media (max-width: 560px) { .check-card { padding: 26px 20px; } }
.check-progress { height: 4px; background: #ececf0; border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.check-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.check-step { font: 13px/1 var(--mono); letter-spacing: .12em; color: var(--accent); text-transform: uppercase; margin: 0 0 10px; }
.check-q { font-size: 24px; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 6px; font-weight: 600; }
.check-hint { color: var(--ink-3); font-size: 15px; margin: 0 0 20px; min-height: 1px; }
.check-opts { display: grid; gap: 10px; }
.check-opts button { text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.check-opts button:hover { border-color: var(--accent); }
.check-opts button.sel { border-color: var(--accent); background: rgba(0, 113, 227, .06); }
.check-back { margin-top: 18px; }
.check-level { display: inline-block; font-weight: 600; font-size: 14px; padding: 5px 14px; border-radius: 980px; }
.check-level.high { background: #ffe5e3; color: #b3261e; }
.check-level.mid { background: #fff4d6; color: #7a5200; }
.check-level.low { background: #e3f3e6; color: #1b7a32; }
.check-result h3 { font-size: 30px; letter-spacing: -.03em; margin: 8px 0 0; }
.check-meter { height: 10px; background: #ececf0; border-radius: 10px; margin: 20px 0 6px; overflow: hidden; }
.check-meter i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #34c759, #ffcc00, #ff3b30); }
.check-score { font-size: 13px; color: var(--ink-3); }
.check-deadline { background: var(--bg-alt); border-radius: 14px; padding: 14px 18px; margin: 20px 0; font-size: 15px; color: var(--ink-2); }
.check-deadline b { display: block; font-size: 19px; color: var(--ink); }
.check-recs { list-style: none; padding: 0; margin: 14px 0 26px; display: grid; gap: 10px; font-size: 16px; }
.check-recs li { padding-left: 28px; position: relative; }
.check-recs li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.check-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.check-note { font-size: 13px; color: var(--ink-3); margin-top: 18px; }

/* Hinweis-Link im FAQ */
.faq .answer .check-link { font-weight: 600; }
#bw-check .headline { font-size: clamp(38px, 4.8vw, 58px); }

/* ---------- Kompakt: weniger Text, Details hinter «+» (Apple-Muster) ---------- */

/* Karten: ein Satz, dunkler Fliesstext */
.card .lead, .pcard .lead { color: var(--ink); font-size: 19px; line-height: 1.45; margin: 0; }
.card { gap: 10px; padding-bottom: 72px; position: relative; }
.card h3 { font-size: 24px; }
.card .icon { margin-bottom: 4px; }

/* Plus-Knopf */
.more-btn {
  position: absolute; right: 22px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .3s var(--ease), background .2s;
}
.more-btn:hover { background: #000; }
.more-btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.open > .more-btn svg { transform: rotate(45deg); }
.more-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.more-body > div { overflow: hidden; }
.open > .more-body { grid-template-rows: 1fr; }
.more-body ul { margin: 14px 0 0; }
.more-body .chips-row { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .more-body, .more-btn svg { transition: none; } }

/* Projekte: einheitliches, ruhiges Raster */
.pgrid.kompakt { grid-template-columns: repeat(2, 1fr); }
.pgrid.kompakt .pcard { position: relative; padding: 30px 30px 74px; }
.pgrid.kompakt .pcard h3 { font-size: 24px; margin: 8px 0 10px; }
.pgrid.kompakt .pcard .more-btn { background: var(--ink); }
@media (max-width: 860px) { .pgrid.kompakt { grid-template-columns: 1fr; } }

/* Vorgehen: kürzerer Scrollweg, keine Listen */
.mission-track { height: 330vh; }
.phase p { font-size: 21px; line-height: 1.45; max-width: 520px; }

/* Über mich: kompakter */
.about .values p { color: var(--ink); }

/* Aufklappen streckt die Nachbarkarten nicht mit */
/* gleich hohe Kacheln je Reihe */
#leistungen .grid, .pgrid.kompakt { align-items: stretch; }
#leistungen .grid { grid-auto-rows: 1fr; }
.pgrid.kompakt { grid-auto-rows: 1fr; }
/* kürzerer Scrollweg */
.mission-track { height: 270vh; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.mission-intro { padding-top: clamp(64px, 9vw, 120px); }
@media (max-width: 640px) {
  .card, .pgrid.kompakt .pcard { padding: 26px 24px 26px; }
  .card h3, .pgrid.kompakt .pcard h3 { padding-right: 44px; }
  .more-btn { top: 22px; bottom: auto; right: 20px; }
}

/* Details im Overlay (Apple-Muster): Kacheln bleiben gleich gross */
.more-body { display: none !important; }
.more-dialog { border: 0; padding: 0; border-radius: 28px; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 64px); color: var(--ink); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.more-dialog::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.more-dialog[open] { animation: dlg-in .3s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.more-dialog .dlg { padding: 44px 44px 40px; position: relative; overflow: auto; max-height: calc(100vh - 64px); }
.more-dialog .k { font: 13px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.more-dialog h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 0 48px 12px 0; }
.more-dialog .lead { font-size: 20px; line-height: 1.45; color: var(--ink); margin: 0 0 18px; }
.more-dialog .det > p { color: #515154; font-size: 17px; line-height: 1.55; margin: 0 0 6px; }
.more-dialog .det ul:not(.ticks) { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 17px; }
.more-dialog .det ul:not(.ticks) li { padding-left: 28px; position: relative; }
.more-dialog .det ul:not(.ticks) li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.more-dialog .ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 17px; line-height: 1.45; }
.more-dialog .ticks li { padding-left: 28px; position: relative; }
.more-dialog .ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.more-dialog .chips-row { margin-top: 22px; }
.more-dialog .chips-row span { background: var(--bg-alt); }
.dlg-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.dlg-close:hover { background: #e8e8ed; }
.dlg-close svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .more-dialog .dlg { padding: 34px 24px 28px; } .more-dialog h3 { margin-right: 44px; } }
@media (prefers-reduced-motion: reduce) { .more-dialog[open] { animation: none; } }
.more-dialog .k { margin-right: 52px; }

/* ---------- Angebot: BW-Scan (KI), Pakete, KI-Angebote ---------- */

.offer { background: #fff; }
.offer .head { max-width: 760px; }

/* BW-Scan – dunkle Hauptkarte */
.scan { margin-top: 48px; position: relative; overflow: hidden; border-radius: 28px; background: #0b1b33; color: #f5f6f7;
  padding: 52px 52px 48px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.scan::before { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, .32), rgba(41, 151, 255, 0) 65%); pointer-events: none; }
.scan .badge-ki { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: #9fd0ff; background: rgba(41, 151, 255, .14); border: 1px solid rgba(41, 151, 255, .35); padding: 7px 12px; border-radius: 980px; }
.scan h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 18px 0 14px; letter-spacing: -.03em; }
.scan .lead { color: #c7d0db; font-size: 20px; line-height: 1.45; margin: 0; max-width: 560px; }
.scan .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.scan .btn.ghost { color: #9fd0ff; }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.scan-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 18px; }
.scan-steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(41, 151, 255, .16); color: #9fd0ff; font-weight: 700; font-size: 15px; }
.scan-steps b { display: block; font-size: 17px; color: #fff; }
.scan-steps span { font-size: 14px; color: #a9b4c2; }
@media (max-width: 900px) { .scan { grid-template-columns: 1fr; padding: 36px 26px 32px; gap: 30px; } }

/* Pakete */
.offer-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 64px 0 22px; flex-wrap: wrap; }
.offer-sub h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 0; }
.offer-sub p { color: var(--ink-2); margin: 0; font-size: 17px; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
@media (max-width: 980px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } }
.pack { position: relative; background: var(--bg-alt); border-radius: 22px; padding: 28px 28px 74px; display: flex; flex-direction: column; }
.pack .k { font: 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.pack h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin: 8px 0 10px; }
.pack .lead { color: var(--ink); font-size: 17px; line-height: 1.45; margin: 0; }
.pack .dur { position: absolute; left: 28px; bottom: 28px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; border-radius: 980px; padding: 6px 12px; }
.pack.star { background: #e9f3ff; }
.pack.star .dur { background: #fff; color: var(--accent); }
@media (max-width: 640px) { .pack { padding: 24px 22px 70px; } .pack h3 { padding-right: 44px; } .pack .more-btn { top: 20px; bottom: auto; } }

/* Weitere KI-Angebote */
.ai-row { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
@media (max-width: 980px) { .ai-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ai-row { grid-template-columns: 1fr; } }
.ai { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 70px; background: #fff; }
.ai .ic { width: 40px; height: 40px; border-radius: 12px; background: #e9f3ff; display: grid; place-items: center; margin-bottom: 14px; }
.ai .ic svg { width: 22px; height: 22px; color: var(--accent); }
.ai h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.02em; }
.ai .lead { color: var(--ink-2); font-size: 16px; line-height: 1.45; margin: 0; }
@media (max-width: 640px) { .ai { padding: 22px 22px 22px; } .ai h3 { padding-right: 44px; } .ai .more-btn { top: 20px; bottom: auto; } }

.offer-note { margin-top: 26px; font-size: 14px; color: var(--ink-3); max-width: 760px; }

/* Entwurf «Straffung»: 4 Pakete, 3 KI-Karten, Projektgeschichten, Erfahrungsleiste, Kontakt im Terminbereich */

.packs.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .packs.vier { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packs.vier { grid-template-columns: 1fr; } }
.ai-row.zwei { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .ai-row.zwei { grid-template-columns: 1fr; } }

/* Projektgeschichten: Overlay mit Ausgangslage – Lösung – Ergebnis */
.story-steps { display: grid; gap: 18px; margin: 18px 0 0; }
.story-steps > div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.story-steps dt { font: 12px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.story-steps dd { margin: 0; line-height: 1.5; }
.story-steps dd ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.story-steps dd li { position: relative; padding-left: 18px; }
.story-steps dd li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1.5px; background: var(--accent); }
@media (max-width: 560px) { .story-steps > div { grid-template-columns: 1fr; gap: 4px; } }
.pcard .result { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.pcard .result b { color: var(--ink); font-weight: 600; }

/* Erfahrung: eine Leiste statt Tags auf jeder Karte */
.exp { margin-top: 28px; border-radius: var(--radius); background: var(--bg-alt); padding: 30px 32px; display: grid; gap: 18px; }
.exp > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: start; }
.exp > div + div { padding-top: 18px; border-top: 1px solid #e3e3e8; }
.exp h3 { font: 12px/2.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; font-weight: 400; }
.exp .chips-row { margin: 0; }
@media (max-width: 760px) { .exp { padding: 24px 22px; } .exp > div { grid-template-columns: 1fr; gap: 8px; } }

/* Kontakt im Terminbereich */
.direct { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 34px auto 0; font-size: 17px; color: var(--ink-2); text-align: center; }
.direct a { font-weight: 600; }
.direct .small { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }

/* Mobil: eine Spalte, Karten nicht künstlich auf die höchste strecken */
@media (max-width: 860px) { .pgrid.kompakt { grid-auto-rows: auto; } }
