/* =========================================================
   Anasphere – Stylesheet
   Schriften werden lokal aus /assets/fonts geladen (kein Google).
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #18181B;
  --ink-2: #27272A;
  --text: #52525B;
  --muted: #6B6B76;
  --soft: #9A9AA4;
  --line: #E8E8EE;
  --line-soft: #EFEFF3;
  --brand: #7B73FC;
  --brand-ink: #5B52E0;
  --brand-deep: #4A43C9;
  --brand-tint: #F3F2FF;
  --brand-line: #DCD8FE;
  --alt-bg: #F6F5FC;
  --dark: #141418;
  --error: #B42318;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(24,24,27,.04), 0 28px 56px -24px rgba(24,24,27,.22);
  --container: 1200px;
  --pad-x: 40px;
  --section-y: 112px;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Instrument Sans", system-ui, sans-serif;
  --font-logo: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
img, svg { display: block; }
a { color: var(--brand-ink); }
a:hover { color: #4338CA; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.section { position: relative; isolation: isolate; padding: var(--section-y) 0; overflow: hidden; }
.section--alt { background: var(--alt-bg); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.h2 { margin-top: 14px; font-size: clamp(29px, 3vw, 42px); line-height: 1.12; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 520px; }
.section-head { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; align-items: end; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--radius-sm); border: 0;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow .15s ease, transform .15s ease;
}
.btn:hover { box-shadow: 0 0 0 4px rgba(123,115,252,.25); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: progress; opacity: .7; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid #DADAE2; }
.btn-secondary:hover { color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow, .textlink:hover .btn-arrow { transform: translateX(3px); }
.textlink { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(91,82,224,.35); text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 8px; }
.textlink:hover { text-decoration-color: currentColor; }
.microcopy { font-size: 14px; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(24,24,27,.05); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; view-transition-name: brand-logo; transition: transform .3s ease; }
.site-header.is-scrolled .brand { transform: scale(.96); }
.wordmark { font-family: var(--font-logo); font-size: 17px; letter-spacing: .3em; color: #3F3F46; }
.wordmark span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.navlink { color: #3F3F46; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s ease; background: none; border: 0; padding: 0; cursor: pointer; }
.navlink:hover { color: var(--brand-ink); }
.nav-more { position: relative; }
.nav-more__btn { display: flex; align-items: center; gap: 5px; }
.nav-more__chevron { transition: transform .2s ease; }
.nav-more__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; width: 220px; opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s; }
.nav-more:hover .nav-more__menu, .nav-more:focus-within .nav-more__menu, .nav-more.is-open .nav-more__menu { opacity: 1; visibility: visible; }
.nav-more:hover .nav-more__chevron, .nav-more.is-open .nav-more__chevron { transform: rotate(180deg); }
.nav-more__panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(24,24,27,.22); padding: 8px; }
.nav-more__panel a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 9px; }
.nav-more__panel a:hover { background: var(--brand-tint); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #E4E4EB; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 12% 0%, #F3F1FF 0%, rgba(243,241,255,0) 70%), #fff; }
.hero-grid { position: relative; padding: 96px 0 112px; display: grid; grid-template-columns: minmax(0,1fr) clamp(360px, 34vw, 440px); gap: 64px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--brand-deep); }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.hero h1 span { color: var(--brand-ink); }
.hero-text { margin-top: 24px; max-width: 540px; font-size: 18.5px; line-height: 1.6; color: var(--text); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-micro { margin-top: 16px; }
.person { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); max-width: 540px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #EEEDF8; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--brand-deep); }
.person-name { font-size: 15px; font-weight: 600; }
.person-role { font-size: 14px; color: var(--muted); }

.hero-glow { position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; pointer-events: none; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.glow-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.hero-glow .glow-blob { inset: 0; background: radial-gradient(circle, rgba(123,115,252,.22), transparent 70%); animation: driftA 26s ease-in-out infinite; }
.sph { position: absolute; left: 0; right: 0; top: 130px; text-align: center; text-indent: .1em; font-family: var(--font-logo); font-size: 440px; line-height: 1; letter-spacing: .1em; white-space: nowrap; user-select: none; pointer-events: none; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.sph span { display: inline-block; background-image: linear-gradient(110deg, #EFEDFB 30%, #DAD5FF 50%, #EFEDFB 70%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 260% 100%; animation: sphShimmer 16s ease-in-out infinite alternate, sphFloat 20s ease-in-out infinite; }

@keyframes driftA { 0%,100% { transform: translate(-6%,-4%) scale(1); } 50% { transform: translate(4%,5%) scale(1.08); } }
@keyframes driftB { 0%,100% { transform: translate(5%,3%) scale(1.05); } 50% { transform: translate(-5%,-4%) scale(1); } }
@keyframes sphShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes sphFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-14px,-12px,0); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-in { opacity: 0; animation: heroIn .8s cubic-bezier(.16,1,.3,1) forwards; }

/* ---------- Glas-Karte (Demo, Rechner) ---------- */
.glass { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255,255,255,.9); outline: 1px solid rgba(24,24,27,.06); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Demo ---------- */
.demo { padding: 28px; }
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.demo-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-title { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #F4F4F7; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B7B7C0; }
.demo[data-state="running"] .badge, .demo[data-state="done"] .badge { background: var(--brand-tint); color: var(--brand-deep); }
.demo[data-state="running"] .badge::before { background: var(--brand); }
.divider { height: 1px; background: var(--line-soft); margin: 20px 0 22px; }
.demo-steps { list-style: none; margin: 0; padding: 0; }
.demo-step { display: flex; align-items: flex-start; gap: 14px; }
.demo-node { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.hex { position: relative; width: 38px; height: 42px; display: inline-flex; align-items: center; justify-content: center; transition: transform .35s cubic-bezier(.34,1.4,.64,1); }
.hex svg { position: absolute; inset: 0; }
.hex svg:not(.hex-check) path { fill: var(--brand-tint); stroke: var(--brand-line); stroke-width: 2.4; transition: fill .35s ease, stroke .35s ease; }
.hex-dot { width: 5px; height: 5px; border-radius: 50%; background: #C9C5FB; position: relative; }
.hex-check { position: relative; display: none; }
.demo-step.is-done .hex svg:not(.hex-check) path { fill: var(--brand-ink); stroke: var(--brand-ink); }
.demo-step.is-done .hex-dot { display: none; }
.demo-step.is-done .hex-check { display: block; }
.demo-step.is-just .hex { transform: scale(1.15); }
.demo-conn { position: relative; width: 2px; flex-grow: 1; min-height: 22px; margin: 2px 0; background: var(--line-soft); overflow: hidden; }
.demo-conn::after { content: ""; position: absolute; inset: 0; background: var(--brand-ink); transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.demo-step.is-done .demo-conn::after { transform: scaleY(1); }
.demo-text { padding-bottom: 18px; }
.demo-label { display: block; font-size: 14.5px; font-weight: 600; }
.demo-status { display: block; margin-top: 2px; font-size: 12.5px; color: var(--soft); }
.demo-step.is-done .demo-status { color: var(--brand-ink); }
.demo-form { display: flex; align-items: flex-end; gap: 10px; }
.demo-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.demo-form input { margin-top: 6px; width: 100%; height: 42px; padding: 0 12px; border: 1px solid #DCDCE3; border-radius: 9px; background: #fff; font-size: 16px; color: var(--ink); }
.demo-form .btn { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 9px; }
.demo-note { margin-top: 10px; font-size: 12px; color: var(--soft); }
.demo-success { text-align: center; padding: 8px 0; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-tint); display: inline-flex; align-items: center; justify-content: center; }
.demo-success h3 { margin-top: 18px; font-size: 21px; }
.demo-success p { margin-top: 8px; font-size: 14.5px; color: var(--text); }
.demo-success .btn { margin-top: 22px; height: 46px; font-size: 15px; }
.linkbtn { margin-top: 14px; background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-decoration-color: #D8D8DF; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Tiefen-Flächen ---------- */
.wash { position: absolute; left: 0; right: 0; top: -18%; bottom: -18%; z-index: -1; pointer-events: none; will-change: transform; }
.wash-auto { background: radial-gradient(ellipse 55% 45% at 92% 8%, rgba(123,115,252,.10), rgba(123,115,252,0) 70%); }
.wash-rechner { background: radial-gradient(ellipse 50% 55% at 8% 15%, rgba(123,115,252,.09), rgba(123,115,252,0) 70%), radial-gradient(ellipse 40% 40% at 98% 95%, rgba(123,115,252,.06), rgba(123,115,252,0) 70%); }
.wash-ueber { background: radial-gradient(ellipse 50% 60% at 4% 55%, rgba(123,115,252,.09), rgba(123,115,252,0) 70%), radial-gradient(ellipse 35% 40% at 100% 100%, rgba(123,115,252,.054), rgba(123,115,252,0) 70%); }
.wash-ablauf { background: radial-gradient(ellipse 45% 55% at 96% 30%, rgba(123,115,252,.09), rgba(123,115,252,0) 70%), radial-gradient(ellipse 40% 35% at 20% 100%, rgba(123,115,252,.063), rgba(123,115,252,0) 70%); }
.wash-faq { background: radial-gradient(ellipse 50% 50% at 6% 10%, rgba(123,115,252,.10), rgba(123,115,252,0) 70%); }
.wash-kontakt { background: radial-gradient(ellipse 70% 55% at 50% 100%, rgba(123,115,252,.12), rgba(123,115,252,0) 70%); }
.wash-footer { background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(123,115,252,.07), rgba(123,115,252,0) 70%); }
.section-glow { width: 520px; height: 520px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(123,115,252,.16), transparent 70%); animation: driftB 30s ease-in-out infinite; }

/* ---------- Beispiele (Vergleich) ---------- */
.compare { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 170px minmax(0,1fr) minmax(0,1fr); gap: 32px; padding: 26px 32px; align-items: start; }
.compare-head { padding: 16px 32px; background: #FCFCFD; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-head span:last-child { color: var(--brand-ink); }
.compare-row { border-top: 1px solid var(--line-soft); transition: background .4s ease; }
.compare-row.is-checked { background: #FCFCFF; }
.compare-row h3 { font-size: 18px; line-height: 1.4; }
.before { font-size: 15.5px; color: var(--muted); }
.after { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.mobile-label { display: none; font-weight: 600; color: var(--text); }
.row-check { margin-top: 1px; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #D6D3FB; color: var(--brand-ink); transition: background .35s ease, box-shadow .35s ease; }
.row-check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s ease .1s; }
.compare-row.is-checked .row-check { background: var(--brand-ink); box-shadow: inset 0 0 0 1.5px var(--brand-ink); color: #fff; }
.compare-row.is-checked .row-check path { stroke-dashoffset: 0; }

.marquee { margin-top: 88px; padding: 22px 0; border-top: 1px solid var(--line); 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; gap: 48px; width: max-content; animation: marqueeScroll 38s linear infinite; }
.marquee__track span { font-size: 14px; font-weight: 500; color: var(--soft); white-space: nowrap; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Rechner ---------- */
.calc { margin-top: 48px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; align-items: start; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { padding: 0; font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.calc-fields { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.calc-fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: #3F3F46; }
.field label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.field-wrap { position: relative; margin-top: 8px; }
.input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #DCDCE3; border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); -moz-appearance: textfield; transition: border-color .2s ease, box-shadow .2s ease; }
.input::-webkit-outer-spin-button, .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(123,115,252,.18); }
.input.has-unit { padding-right: 52px; }
.unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.calc-result { border-radius: 16px; padding: 28px; background: linear-gradient(160deg, #F3F2FF 0%, #FBFAFF 70%); border: 1px solid #E6E3FD; }
.calc-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }
.calc-big { margin-top: 8px; font-family: var(--font-head); font-size: 48px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.calc-sub { margin-top: 10px; font-size: 14.5px; color: #3F3F46; }
.calc-rows { margin-top: 22px; }
.calc-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #E6E3FD; }
.calc-rows dt { font-size: 14.5px; color: var(--text); }
.calc-rows dd { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.calc-rows dd.is-muted { color: var(--muted); }
.calc-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.calc-result .btn { margin-top: 20px; }
.calc-cta-note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: clamp(300px, 31vw, 420px) minmax(0,1fr); gap: 80px; align-items: center; }
.portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); background: #EEEDF6; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #5E5E73; font-size: 14.5px; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text { margin-top: 20px; max-width: 580px; font-size: 17px; line-height: 1.65; color: var(--text); }
.values { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 40px; }
.values div { padding-top: 18px; border-top: 1px solid var(--line); }
.values h3 { font-size: 17px; }
.values p { margin-top: 6px; font-size: 15px; color: var(--text); }
.about .textlink { margin-top: 36px; }

/* ---------- Ablauf ---------- */
.steps { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.steps-track, .steps-fill { position: absolute; left: 26px; top: 28px; width: calc(75% + 24px); height: 2px; pointer-events: none; }
.steps-track { background: repeating-linear-gradient(90deg, #D6D3FB 0 6px, transparent 6px 11px); }
.steps-fill { background: var(--brand-ink); border-radius: 2px; transform-origin: left center; transform: scaleX(0); transition: transform .25s linear; }
.step { position: relative; }
.step-hex { position: relative; width: 52px; height: 58px; display: inline-flex; align-items: center; justify-content: center; transition: transform .45s cubic-bezier(.34,1.4,.64,1); }
.step-hex svg { position: absolute; inset: 0; }
.step-hex path { fill: #fff; stroke: #D6D3FB; stroke-width: 2; transition: fill .45s ease, stroke .45s ease; }
.step-num { position: relative; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--soft); transition: color .45s ease; }
.step.is-active .step-hex path { stroke: var(--brand); }
.step.is-active .step-num { color: var(--brand-ink); }
.step.is-current .step-hex { transform: scale(1.1); }
.step.is-current .step-hex path, .step.is-done .step-hex path { fill: var(--brand-ink); stroke: var(--brand-ink); }
.step.is-current .step-num, .step.is-done .step-num { color: #fff; }
.step:hover .step-hex { transform: scale(1.08); }
.step h3 { margin-top: 24px; font-size: 19px; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--text); }
.steps-cta { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: clamp(280px, 27vw, 360px) minmax(0,1fr); gap: 72px; align-items: start; }
.faq-contact { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item.is-open { border-color: #D9D6FB; box-shadow: 0 12px 28px -18px rgba(41,37,110,.25); }
.faq-item h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.01em; }
.faq-q { width: 100%; min-height: 64px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; border-radius: 16px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E4E4EB; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #3F3F46; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.faq-icon .bar { transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.faq-item.is-open .faq-icon { background: var(--brand-tint); border-color: #D9D6FB; color: var(--brand-ink); }
.faq-item.is-open .faq-icon .bar { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.4,0,.2,1); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 80px 24px 24px; font-size: 15.5px; line-height: 1.7; color: var(--text); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .3s ease, transform .38s cubic-bezier(.4,0,.2,1), visibility .38s; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; visibility: visible; transition-delay: .08s, 0s, 0s; }

/* ---------- Kontakt ---------- */
.contact-panel { position: relative; overflow: hidden; background: var(--dark); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; align-items: start; }
.contact-panel .glow-blob { width: 480px; height: 480px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(123,115,252,.22), transparent 70%); animation: driftA 22s ease-in-out infinite; }
.contact-panel > div { position: relative; }
.contact-panel .eyebrow { color: #B9B5FD; }
.contact-panel h2 { color: #fff; }
.contact-text { margin-top: 18px; max-width: 460px; font-size: 17px; line-height: 1.65; color: #B4B4BD; }
.contact-panel .btn { margin-top: 32px; }
.contact-micro { margin-top: 14px; font-size: 14px; color: #8E8E98; }
.contact-list { margin-top: 36px; padding-top: 28px; border-top: 1px solid #2A2A31; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: #23232A; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item small { display: block; font-size: 13px; color: #8E8E98; }
.contact-item a, .contact-item strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; color: #fff; }
.contact-item a { text-decoration: underline; text-decoration-color: #4A4A55; text-underline-offset: 4px; }

.form-card { background: #fff; border-radius: var(--radius); padding: 36px; }
.form-card h3 { font-size: 20px; }
.form-card > p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.form { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.form textarea.input { height: 110px; padding: 13px 16px; line-height: 1.5; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--error); }
.error { margin-top: 6px; font-size: 13.5px; color: var(--error); }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { width: 24px; height: 24px; margin: -1px 0 0; accent-color: var(--brand-ink); flex-shrink: 0; cursor: pointer; }
.consent label { font-size: 13.5px; line-height: 1.55; color: var(--text); cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 14px; border-radius: 10px; background: #FEF3F2; color: var(--error); font-size: 14px; }
.form-success { padding: 12px 0; }
.form-success h3 { margin-top: 20px; font-size: 22px; }
.form-success p { margin-top: 8px; font-size: 15.5px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line-soft); }
.footer-grid { padding: 72px 0 0; display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 48px; align-items: start; }
.footer-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-claim { margin-top: 16px; font-size: 15px; color: var(--text); }
.footer-bottom { margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); }

/* ---------- Unterseiten ---------- */
.page-hero { padding: 88px 0 64px; }
.page-narrow { max-width: 880px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -.03em; }
.page-hero .lead { margin-top: 20px; font-size: 18px; max-width: 680px; }
.legal h2 { margin: 52px 0 0; font-size: 22px; line-height: 1.3; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 32px 0 0; font-size: 17.5px; line-height: 1.4; }
.legal h4 { margin: 20px 0 0; font-size: 15.5px; font-weight: 600; }
.legal p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; color: #3F3F46; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li { margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: #3F3F46; }
.case { margin-top: 32px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cta-box { margin-top: 40px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- Seitenaufbau Unterseiten ---------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.page-in { opacity: 0; animation: pageIn .7s cubic-bezier(.16,1,.3,1) forwards; }
.no-js .page-in { opacity: 1; animation: none; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1.is-visible { transition-delay: .08s; }
.reveal.d2.is-visible { transition-delay: .16s; }
.reveal.d3.is-visible { transition-delay: .24s; }
.reveal.d4.is-visible { transition-delay: .32s; }
.no-js .reveal, .no-js .hero-in { opacity: 1; transform: none; animation: none; }

/* ---------- Seitenübergänge ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .26s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vtIn .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   Tablet & Mobil
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  :root { --pad-x: 20px; --section-y: 72px; }
  html { scroll-padding-top: 76px; }
  .header-inner { height: 64px; }
  .wordmark { font-size: 14px; letter-spacing: .26em; }
  .brand svg { width: 18px; height: 20px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: block; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(24,24,27,.25); padding: 4px 20px 24px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a.navlink { display: flex; align-items: center; justify-content: space-between; height: 56px; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .mobile-menu .group { margin: 14px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
  .mobile-menu .btn { margin-top: 20px; width: 100%; }

  .section-head, .hero-grid, .about, .faq-grid, .contact-panel, .calc, .footer-grid, .case { grid-template-columns: minmax(0,1fr); }
  .section-head { gap: 14px; }
  .hero-grid { padding: 40px 0 56px; gap: 32px; }
  .hero h1 { font-size: 34px; line-height: 1.1; }
  .hero-text { font-size: 16.5px; }
  .hero-ctas .btn { width: 100%; }
  .hero-micro { text-align: center; }
  .person { margin-top: 28px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 14px; }
  .sph { font-size: 190px; top: 18px; text-align: right; right: -30px; left: auto; }
  .hero-glow { width: 340px; height: 340px; right: -110px; top: -80px; }
  .demo { padding: 20px; }

  .compare { margin-top: 28px; }
  .compare-head { display: none; }
  .compare-row { display: block; padding: 22px 20px; }
  .compare-row h3 { font-size: 17px; }
  .before { margin-top: 8px; font-size: 14.5px; }
  .after { margin-top: 10px; font-size: 15px; }
  .mobile-label { display: inline; }
  .marquee { margin-top: 44px; }

  .calc { padding: 20px; gap: 24px; margin-top: 24px; }
  .calc-fields { grid-template-columns: minmax(0,1fr); }
  .calc-result { padding: 22px 20px; }
  .calc-big { font-size: 38px; }

  .about { gap: 32px; }
  .portrait { aspect-ratio: 4 / 3; }
  .values { grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 28px; }
  .values div { padding: 16px 0; }

  .steps { grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 32px; }
  .steps-track, .steps-fill { display: none; }
  .step { display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 16px; padding-bottom: 28px; }
  .step-hex { width: 42px; height: 46px; grid-row: 1 / span 2; }
  .step-num { font-size: 13px; }
  .step h3 { margin-top: 10px; font-size: 17px; }
  .step p { margin-top: 6px; font-size: 15px; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 52px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, #D6D3FB 0 6px, transparent 6px 11px); }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 52px; bottom: 6px; width: 2px; background: var(--brand-ink); transform: scaleY(0); transform-origin: top; transition: transform .5s ease; }
  .step.is-done::after { transform: scaleY(1); }
  .steps-cta .btn { width: 100%; }

  .faq-grid { gap: 24px; }
  .faq-q { padding: 16px 18px; }
  .faq-item h3 { font-size: 16px; }
  .faq-a p { padding: 0 18px 20px; font-size: 15px; }

  .contact-panel { border-radius: 22px; padding: 40px 20px 20px; gap: 32px; }
  .contact-panel .btn { width: 100%; }
  .form-card { padding: 24px; }

  .footer-grid { padding-top: 56px; gap: 32px; }
  .page-hero { padding: 56px 0 40px; }
  .cta-box { flex-direction: column; align-items: stretch; }
  .wash { top: 0; bottom: 0; }
}

/* Weniger Bewegung, wenn im System eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-in, .page-in { opacity: 1 !important; transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
