/* ==========================================================================
   Akteneinsicht24 · Landingpage-Entwurf
   Formsprache: warmes Greige, Ink, großzügige Radien, enge Display-Typo.
   Signalfarbe: Salbei.
   ========================================================================== */

:root {
  /* Basis */
  --bg: #F0EDE7;
  --surface: #F7F6F2;
  --surface-2: #E7E3DC;
  --ink: #1f252e;
  --ink-2: #43484E;
  --muted: #6E7277;
  --line: rgba(22, 27, 33, .10);
  --line-strong: rgba(22, 27, 33, .16);
  --on-ink: #F3F1EC;
  --on-ink-2: rgba(243, 241, 236, .66);
  --on-ink-line: rgba(243, 241, 236, .10);

  /* Silber: gebürstet, sehr dezent */
  --silver: linear-gradient(135deg, #FAFAF9 0%, #DFE0E1 20%, #F7F7F6 40%, #D3D5D7 63%, #F3F3F2 82%, #DCDDDE 100%);
  --silver-soft: linear-gradient(160deg, #F6F6F4 0%, #E6E7E7 34%, #F4F4F2 58%, #DFE0E1 100%);
  --silver-text: linear-gradient(180deg, #D9DADC 0%, #C2C5C9 45%, #E9EAEB 70%, #BFC2C6 100%);

  /* Signalfarbe: Salbei */
  --accent: #6A8F77;
  --accent-ink: #3D6249;
  --accent-soft: #DFECE2;
  --accent-on-dark: #9DC3A9;

  /* Typo */
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Form */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --gutter: clamp(16px, 2vw, 24px);
  --nav-h: 76px;
  --max: 1392px;
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --shadow-sm: 0 1px 2px rgba(22, 27, 33, .06), 0 4px 12px -6px rgba(22, 27, 33, .10);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 40px 80px -40px rgba(22, 27, 33, .35), 0 16px 32px -20px rgba(22, 27, 33, .18);
}


/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16.5px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  hyphens: manual;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6rem); line-height: .98; letter-spacing: -.048em; }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.7vw, 3.75rem); line-height: 1.02; letter-spacing: -.042em; }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.022em; }

.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 { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; }


/* ---------- Layout ---------- */
.section, .trust, .footer { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-top: var(--section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13.5px/1 var(--font-body);
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--on-ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.dot--live { animation: live 2.4s var(--ease) infinite; }
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  60% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); }
}

.lead {
  font: 400 clamp(1.3rem, 1rem + 1.1vw, 1.9rem)/1.36 var(--font-display);
  letter-spacing: -.02em;
  color: var(--muted);
  text-wrap: pretty;
}
.lead--sm { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }

.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: end; }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.footnote { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 16px; }
.footnote--center { text-align: center; max-width: 720px; margin: 28px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: var(--h);
  padding: 0 7px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font: 500 15.5px/1 var(--font-body);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #232a32; }
.btn:active { transform: scale(.985); }
.btn__icon {
  width: calc(var(--h) - 14px); height: calc(var(--h) - 14px);
  display: grid; place-items: center; flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: transform .35s var(--ease), background-color .3s;
}
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translateX(2px); }
.btn--sm { --h: 44px; padding-left: 20px; font-size: 14.5px; }
.btn--sm:not(:has(.btn__icon)) { padding: 0 20px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--accent-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn--ghost .btn__icon { background: var(--ink); }
.btn--ghost:hover .btn__icon { background: var(--accent); }
.btn--light { background: var(--on-ink); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); justify-self: start; flex: none; }
.logo__mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.logo__word { font: 600 19px/1 var(--font-display); letter-spacing: -.035em; }
.logo__word span { color: var(--muted); font-weight: 500; }
.logo--light { color: var(--on-ink); --logo-paper: var(--ink); }
.logo--light .logo__mark { color: var(--on-ink); }
.logo--light .logo__word span { color: var(--on-ink-2); }
.nav__links { display: flex; gap: 32px; font-size: 15px; }
.nav__links a { color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 15px; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
.nav__cta { background: var(--accent); color: #fff; }
.nav__cta:hover { background: var(--accent-ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav__toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(64px, 11vh, 132px); isolation: isolate; }
.hero__media {
  position: absolute; z-index: -1;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: clamp(640px, 100vh, 980px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, .55) 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, .55) 72%, transparent 100%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform-origin: 50% 30%; animation: drift 2.8s var(--ease) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 48% at 50% 34%, rgba(246, 242, 236, .62), rgba(246, 242, 236, 0) 70%),
    linear-gradient(to bottom, rgba(240, 237, 231, .18), rgba(240, 237, 231, 0) 40%);
}
@keyframes drift { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }

.hero__content { width: min(100% - 2 * var(--gutter) - clamp(40px, 8vw, 96px), 880px); margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 28px;
  border-radius: 999px;
  font: 500 13.5px/1.2 var(--font-body); color: var(--ink-2);
  background: rgba(247, 246, 242, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__lead { max-width: 600px; margin-top: 26px; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

.signup {
  display: flex; align-items: center; gap: 6px;
  width: min(100%, 540px); margin-top: 36px; padding: 6px;
  border-radius: 999px;
  background: rgba(250, 249, 246, .86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 24px 48px -28px rgba(22, 27, 33, .45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s;
}
.signup:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), 0 24px 48px -28px rgba(22, 27, 33, .45); }
.signup input { flex: 1; min-width: 0; height: 52px; padding: 0 8px 0 20px; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.signup input::placeholder { color: #8A8E93; }
.signup.is-invalid { animation: nudge .4s; box-shadow: inset 0 0 0 1px #c9a59a, 0 24px 48px -28px rgba(22, 27, 33, .45); }
@keyframes nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--accent-soft) 90%, transparent); color: var(--ink); flex: none; }

/* Produktvorschau */
.preview { width: min(100% - 2 * var(--gutter), 1080px); margin: clamp(56px, 9vh, 104px) auto 0; }
.preview__frame {
  padding: 8px; border-radius: 26px;
  background: rgba(250, 249, 246, .42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), var(--shadow-lg);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.preview__bar { display: flex; align-items: center; gap: 16px; padding: 6px 10px 12px; }
.preview__dots { display: flex; gap: 6px; }
.preview__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(22, 27, 33, .14); }
.preview__url { margin-inline: auto; transform: translateX(-28px); display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 12.5px; color: var(--muted); }
.preview__url svg { width: 12px; height: 12px; }
.preview__body {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.case { padding: 28px; display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--line); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.case__kicker { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .01em; }
.case__title { font: 500 1.25rem/1.25 var(--font-display); letter-spacing: -.025em; color: var(--ink); margin-top: 4px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 500 13px/1 var(--font-body); white-space: nowrap; }
.case__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); }
.case__meta dt { font-size: 12px; color: var(--muted); }
.case__meta dd { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: 2px; }

.files { display: grid; gap: 4px; }
.files li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.files__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--silver-soft); box-shadow: inset 0 0 0 1px rgba(22, 27, 33, .06); color: var(--ink-2); flex: none; }
.files__icon svg { width: 17px; height: 17px; }
.files__name { color: var(--ink); font-weight: 500; }
.files__size { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.files__more { display: block !important; font-size: 13px !important; color: var(--muted); padding-left: 46px !important; }

.timeline { padding: 28px 28px 28px 30px; display: grid; gap: 0; align-content: start; background: linear-gradient(180deg, rgba(231, 227, 220, .35), rgba(231, 227, 220, 0)); }
.timeline li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 2px; width: 1px; background: var(--line-strong); }
.timeline__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); }
.timeline__dot svg { width: 14px; height: 14px; }
.timeline p { font: 500 14.5px/1.3 var(--font-body); color: var(--ink); padding-top: 3px; }
.timeline li > div > span { font-size: 12.5px; color: var(--muted); }
.timeline .is-current .timeline__dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.timeline .is-current .timeline__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.timeline .is-current p { color: var(--accent-ink); }

/* ---------- Vertrauensleiste ---------- */
.trust { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; padding-top: clamp(72px, 9vw, 120px); }
.trust__intro { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.trust__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.trust__list li { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--font-display); letter-spacing: -.02em; color: #8B8F94; }
.trust__list svg { width: 19px; height: 19px; color: var(--accent); }

/* ---------- Intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.split h2 { margin-bottom: 28px; }
.cards3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.card {
  position: relative; overflow: hidden;
  min-height: 360px; padding: 30px;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.card p { font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
.card--ink { background: var(--ink); color: var(--on-ink-2); }
.card--ink h3 { color: var(--on-ink); }
.card__figure { font: 500 clamp(3rem, 2.4rem + 2vw, 4.25rem)/1 var(--font-display) !important; letter-spacing: -.05em; color: var(--on-ink); margin-bottom: 12px; }
.card--art { background: var(--surface-2); }
.card--art p { position: relative; z-index: 1; max-width: min(26ch, 40%); }

/* Akten-Illustration (Silber) */
.dossier { position: absolute; right: -10px; bottom: -44px; width: min(54%, 420px); aspect-ratio: 1 / 1.05; pointer-events: none; }
.dossier__sheet { position: absolute; inset: 0; border-radius: 18px; background: var(--silver); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 50px -30px rgba(22, 27, 33, .45); }
.s1 { transform: translate(18%, 4%) rotate(9deg); opacity: .7; }
.s2 { transform: translate(9%, 2%) rotate(4deg); opacity: .88; }
.s3 { transform: rotate(-2deg); padding: 64px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.dossier__tab { position: absolute; top: 20px; left: 24px; padding: 5px 12px; border-radius: 999px; background: rgba(22, 27, 33, .86); color: var(--on-ink); font: 500 12px/1.2 var(--font-body); letter-spacing: .01em; }
.dossier__tab::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.dossier__line { height: 7px; border-radius: 4px; background: rgba(22, 27, 33, .12); }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w100 { width: 100%; }
.dossier__thumb { margin-top: 8px; width: 62%; aspect-ratio: 16 / 9; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #9DA7A3, #6D7A78); color: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.dossier__thumb svg { width: 26px; height: 26px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps__intro { margin-top: 22px; max-width: 42ch; color: var(--ink-2); }
.tabs { margin-top: 40px; border-bottom: 1px solid var(--line); }
.tab {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 0fr; column-gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: grid-template-rows .45s var(--ease);
}
.tab__num { font: 500 13px/1.9 var(--font-mono); color: var(--muted); }
.tab__title { font: 500 clamp(1.2rem, 1rem + .6vw, 1.5rem)/1.3 var(--font-display); letter-spacing: -.025em; color: #9A9EA3; transition: color .3s; }
.tab__text { grid-column: 2; overflow: hidden; min-height: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); opacity: 0; transition: opacity .3s, padding .45s var(--ease); max-width: 46ch; }
.tab:hover .tab__title { color: var(--ink-2); }
.tab.is-active { grid-template-rows: auto 1fr; }
.tab.is-active .tab__title { color: var(--ink); }
.tab.is-active .tab__num { color: var(--accent-ink); }
.tab.is-active .tab__text { opacity: 1; padding-top: 8px; transition-delay: .1s; }
.tab__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
.tab.is-active .tab__bar { width: 100%; }
.tabs.is-playing .tab.is-active .tab__bar { animation: fill var(--tab-dur, 6s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.stage {
  position: sticky; top: 100px;
  display: grid; place-items: center;
  min-height: clamp(480px, 46vw, 620px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: var(--silver-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events: none;
}
.stage__num {
  position: absolute; left: clamp(20px, 3vw, 36px); bottom: clamp(4px, 1vw, 12px);
  font: 600 clamp(5rem, 3rem + 7vw, 10rem)/1 var(--font-display); letter-spacing: -.06em;
  background: var(--silver-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; user-select: none;
}
.panel { grid-area: 1 / 1; width: 100%; display: grid; place-items: center; position: relative; z-index: 1; }
.panel[hidden] { display: grid; visibility: hidden; opacity: 0; transform: translateY(14px) scale(.985); }
.panel { transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }

.ui {
  width: min(100%, 440px);
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), var(--shadow-lg);
  display: grid; gap: 12px;
}
.ui__progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.ui__progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.ui__step { font-size: 12.5px; color: var(--muted); }
.ui__q { font: 500 1.15rem/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.ui__hint { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ui__hint svg { width: 13px; height: 13px; }
.ui__hint--center { justify-content: center; }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.opt b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.opt span:not(.opt__radio) { font-size: 13px; color: var(--muted); }
.opt em { font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.opt__radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.opt.is-on { box-shadow: inset 0 0 0 1.5px var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.opt.is-on .opt__radio { box-shadow: inset 0 0 0 5px var(--accent); }
.opt.is-off { opacity: .6; }
.upload { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); }
.upload b { display: block; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.upload span { font-size: 12.5px; color: var(--muted); }
.ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.ok svg { width: 15px; height: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fields div { padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.fields span { display: block; font-size: 12px; color: var(--muted); }
.fields b { font-weight: 500; color: var(--ink); font-size: 14px; }
.sign { padding-top: 6px; display: grid; gap: 4px; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.code span { height: 50px; border-radius: 12px; display: grid; place-items: center; font: 500 1.3rem/1 var(--font-display); color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.code .is-caret { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--surface); }
.code .is-caret::after { content: ""; width: 1.5px; height: 22px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.doc { padding: 18px; border-radius: 14px; background: var(--bg); display: grid; gap: 8px; }
.doc__title { font: 500 1.05rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.doc__sub { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.doc__line { height: 6px; border-radius: 4px; background: rgba(22, 27, 33, .09); }
.sent { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.sent b { display: block; font-weight: 500; color: var(--accent-ink); font-size: 14.5px; }
.sent span { font-size: 12.5px; color: color-mix(in srgb, var(--accent-ink) 75%, var(--muted)); }
.files--lg li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ---------- Rechner ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--on-ink-2);
  position: relative; overflow: hidden;
}
.calc::before { content: ""; position: absolute; right: -15%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); pointer-events: none; }
.calc h2 { color: var(--on-ink); }
.calc__intro { margin: 22px 0 36px; max-width: 46ch; }
.field { padding: 18px 0; border-top: 1px solid var(--on-ink-line); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font-size: 15px; color: var(--on-ink); }
.field__row output { font: 500 1.2rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.field__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: rgba(243, 241, 236, .45); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--accent-on-dark) var(--p), rgba(243, 241, 236, .16) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(243, 241, 236, .16); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent-on-dark); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--on-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-on-dark) 30%, transparent), 0 2px 6px rgba(0, 0, 0, .35); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--on-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-on-dark) 30%, transparent); cursor: grab; }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-on-dark) 55%, transparent); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(243, 241, 236, .06); box-shadow: inset 0 0 0 1px var(--on-ink-line); }
.seg button { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--on-ink-2); transition: background-color .25s, color .25s; }
.seg button:hover { color: var(--on-ink); }
.seg button[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.seg--light { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-top: 32px; }
.seg--light button { color: var(--ink-2); padding: 10px 20px; }
.seg--light button:hover { color: var(--ink); }
.seg--light button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.save { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 12px; background: var(--accent); color: #fff; }

.calc__result { position: relative; align-self: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(243, 241, 236, .04); box-shadow: inset 0 0 0 1px var(--on-ink-line); }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--on-ink-line); font-size: 15px; }
.calc__rows dd { color: var(--on-ink); font-variant-numeric: tabular-nums; text-align: right; }
.calc__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 0 18px; }
.calc__total p:first-child { color: var(--on-ink); font-size: 15px; padding-bottom: 8px; }
.calc__big { font: 500 clamp(2.8rem, 2rem + 3vw, 4.5rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 14px; margin-top: 4px; }
.bar { display: grid; gap: 7px; font-size: 13px; }
.bar__track { height: 12px; border-radius: 999px; background: rgba(243, 241, 236, .06); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 999px; transition: width .6s var(--ease); }
.bar__fill--stake { background: linear-gradient(90deg, rgba(243, 241, 236, .5), rgba(243, 241, 236, .28)); }
.bar__fill--price { background: var(--accent-on-dark); min-width: 12px; }
.calc__verdict { margin-top: 22px; font: 400 1.2rem/1.4 var(--font-display); letter-spacing: -.015em; color: var(--on-ink); }
.calc__verdict b { font-weight: 600; color: var(--accent-on-dark); }
.calc__note { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: rgba(243, 241, 236, .45); }

/* Kostenvergleich */
.compare { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(72px, 9vw, 128px); align-items: start; }
.compare__intro { margin-top: 22px; max-width: 44ch; }
.note-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.5; max-width: 46ch; }
.note-card svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.note-card b { color: var(--ink); font-weight: 600; }

.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs th, .vs td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs thead th { font: 500 13.5px/1.3 var(--font-body); color: var(--muted); border-bottom-color: var(--line-strong); }
.vs tbody th { font-weight: 500; color: var(--ink); width: 22%; }
.vs td { color: var(--ink-2); }
.vs .vs__us { background: var(--surface); color: var(--ink); }
.vs thead .vs__us { color: var(--ink); border-radius: var(--r-md) var(--r-md) 0 0; font-weight: 600; background: var(--silver-soft); }
.vs tbody tr:last-child .vs__us { border-radius: 0 0 var(--r-md) var(--r-md); border-bottom: 0; }
.vs td b { font-weight: 600; }

/* ---------- Funktionen (Bento) ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a b b"
    "a a c d"
    "e f g g";
}
.tile { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.tile h3 { font-size: 1.25rem; }
.tile p { font-size: 15px; line-height: 1.55; }
.tile__top { display: flex; flex-direction: column; gap: 12px; }
.tile__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--ink); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tile__icon svg { width: 21px; height: 21px; }
.tile:not(.tile--a) .tile__icon { color: var(--accent); }
.tile--a { grid-area: a; justify-content: space-between; background: var(--ink); box-shadow: none; color: var(--on-ink-2); padding: 34px; }
.tile--a h3 { color: var(--on-ink); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.tile--a p { max-width: 40ch; font-size: 16px; }
.tile--a .tile__icon { background: rgba(243, 241, 236, .07); color: var(--accent-on-dark); box-shadow: inset 0 0 0 1px var(--on-ink-line); }
.tile--b { grid-area: b; justify-content: space-between; background: var(--silver); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow-sm); }
.tile--b .tile__icon { background: rgba(255, 255, 255, .6); }
.tile--c { grid-area: c; } .tile--d { grid-area: d; } .tile--e { grid-area: e; } .tile--f { grid-area: f; }
.tile--g { grid-area: g; justify-content: space-between; }
.mini-tl { display: grid; gap: 0; margin-top: 32px; }
.mini-tl li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--on-ink-line); font-size: 15px; color: var(--on-ink-2); }
.mini-tl i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 241, 236, .35); }
.mini-tl .is-current { color: var(--on-ink); }
.mini-tl .is-current i { background: var(--accent-on-dark); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-on-dark) 22%, transparent); }
.formats, .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.formats li, .badges li { padding: 7px 13px; border-radius: 999px; font: 500 13px/1 var(--font-body); color: var(--ink); background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(22, 27, 33, .08); }
.badges li { background: var(--bg); }

/* ---------- Leistungsumfang ---------- */
.scope__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); }
.scope__card h3 { margin-bottom: 18px; font-size: 1.3rem; }
.scope__card li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.scope__card svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.scope__card--in { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.scope__card--in svg { color: var(--accent); }
.scope__card--out { box-shadow: inset 0 0 0 1px var(--line-strong); }
.scope__card--out li { color: var(--ink-2); }
.scope__card--out svg { color: var(--muted); }
.notice { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 16px 20px; border-radius: var(--r-md); background: var(--accent-soft); color: color-mix(in srgb, var(--accent-ink) 80%, var(--ink)); font-size: 15px; line-height: 1.5; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent-ink); }
.notice b { font-weight: 600; }

/* ---------- Preise ---------- */
.pricing__intro { margin-top: 20px; max-width: 54ch; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 24px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); }
.plan--free { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan--plus { background: var(--silver); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), var(--shadow-lg); }
.plan--plus::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%) -200% 0 / 250% 100% no-repeat; pointer-events: none; transition: background-position 1.4s var(--ease); }
.plan--plus:hover::after { background-position: 200% 0; }
.plan__badge { position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 12.5px/1 var(--font-body); }
.plan__name { font: 600 1.5rem/1 var(--font-display); letter-spacing: -.03em; }
.plan__desc { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__amount { font: 500 clamp(3.2rem, 2.6rem + 2vw, 4.4rem)/1 var(--font-display); letter-spacing: -.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan__per { font-size: 15px; color: var(--muted); }
.plan__case { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 55%, var(--bg)); font-size: 15px; }
.plan--plus .plan__case { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(22, 27, 33, .06); }
.plan__case b { font: 600 1.15rem/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.plan__case s { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 4px; }
.plan__list { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 15px; color: var(--ink); }
.plan__list svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--accent); }
.plan__all { color: var(--muted) !important; font-size: 14px !important; }
.pricing__breakeven { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--ink-2); text-align: center; }
.pricing__breakeven svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.matrix { max-width: 1040px; margin: 40px auto 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.matrix summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; font: 500 1.05rem/1.3 var(--font-display); color: var(--ink); cursor: pointer; letter-spacing: -.015em; }
.matrix summary::-webkit-details-marker { display: none; }
.matrix summary svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.matrix[open] summary svg { transform: rotate(45deg); }
.matrix__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.matrix__table th, .matrix__table td { padding: 14px 26px; text-align: left; border-top: 1px solid var(--line); }
.matrix__table thead th { font-size: 13px; color: var(--muted); font-weight: 500; }
.matrix__table tbody th { font-weight: 400; color: var(--ink-2); }
.matrix__table td { color: var(--ink); width: 24%; }
.matrix__table td:last-child { background: color-mix(in srgb, var(--accent-soft) 40%, transparent); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head p:last-child { margin-top: 22px; max-width: 34ch; }
.faq__head a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font: 500 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.35 var(--font-display); letter-spacing: -.018em; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .35s var(--ease), background-color .3s, box-shadow .3s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__list summary { transition: color .25s var(--ease); }
.faq__list details[open] summary, .matrix[open] summary { color: color-mix(in srgb, var(--accent-ink) 60%, var(--accent)); }
.faq__list details[open] .faq__icon { transform: rotate(45deg); background: var(--accent); box-shadow: none; color: #fff; }
.faq__list details p { padding: 0 56px 24px 0; max-width: 64ch; color: var(--ink-2); }
.faq__list details[open] p { animation: reveal-p .45s var(--ease); }
@keyframes reveal-p { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Abschluss-CTA ---------- */
.cta__card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(560px, 60vw, 720px); display: flex; justify-content: center; }
.cta__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--bg) 0%, rgba(240, 237, 231, .78) 18%, rgba(240, 237, 231, 0) 52%); }
.cta__content { padding: clamp(64px, 9vw, 120px) var(--gutter) 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__content > p { margin-top: 20px; max-width: 46ch; font-size: 1.1rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { padding-top: var(--section); padding-bottom: 0; overflow: hidden; }
.footer__card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--ink); color: var(--on-ink-2); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--on-ink-line); }
.footer__tag { margin-top: 16px; font-size: 15px; line-height: 1.55; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--on-ink-line); }
.footer__cols p { color: var(--on-ink); font-weight: 500; font-size: 14.5px; margin-bottom: 14px; }
.footer__cols a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s; }
.footer__cols a:hover { color: var(--on-ink); }
.footer__cols em { font-style: normal; font-size: 11.5px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(243, 241, 236, .08); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(243, 241, 236, .45); }
.footer__word {
  margin: clamp(12px, 2vw, 24px) 0 0;
  font: 600 clamp(4rem, 15.4vw, 15rem)/.78 var(--font-display);
  letter-spacing: -.065em;
  text-align: center; white-space: nowrap;
  background: var(--silver-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  height: .66em; overflow: hidden;
  user-select: none;
}

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 24px;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 520px);
  padding: 14px 20px; border-radius: 16px;
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  font-size: 14.5px; line-height: 1.45;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { font-weight: 600; }

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__toggle { display: grid; }
  /* Menü liegt als Glas-Overlay über dem Inhalt */
  .mobile-menu:not([hidden]) {
    position: fixed; z-index: 45;
    top: calc(var(--nav-h) + 4px); right: var(--gutter);
    width: min(100% - 2 * var(--gutter), 400px);
    max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto;
    display: grid; gap: 10px; padding: 10px;
    border-radius: var(--r-lg);
    background: rgba(247, 246, 242, .55);
    -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), var(--shadow-lg);
    transform-origin: top right;
    animation: menu-in .38s var(--ease);
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .mobile-menu:not([hidden]) { background: rgba(247, 246, 242, .97); }
  }
  .mobile-menu nav { display: grid; gap: 2px; }
  .mobile-menu nav a { padding: 13px 14px; border-radius: 12px; font: 500 17px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); transition: background-color .2s; }
  .mobile-menu nav a:hover { background: rgba(255, 255, 255, .6); }
  .mobile-menu__cta { display: none; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .card--art { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b b" "c d" "e f" "g g"; }
  .trust { grid-template-columns: 1fr; gap: 20px; }
  .trust__list { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .split, .section__head--split, .steps, .compare, .faq, .calc { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; }
  .preview__body { grid-template-columns: 1fr; }
  .case { border-right: 0; border-bottom: 1px solid var(--line); }
  .plans, .scope__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .faq__list details p { padding-right: 0; }

  /* Vergleichstabelle als gestapelte Karten */
  .vs thead { display: none; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: 100%; }
  .vs tr { padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
  .vs tbody th { width: auto; padding: 14px 0 8px; border: 0; font-size: 16px; }
  .vs td { padding: 10px 14px; border: 0; border-radius: 12px; }
  .vs td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
  .vs .vs__us, .vs tbody tr:last-child .vs__us { border-radius: 12px; margin-top: 6px; box-shadow: inset 0 0 0 1px var(--line); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__login, .nav__cta { display: none; }
  .mobile-menu__cta { display: inline-flex; }
  .hero { padding-top: 40px; }
  .hero__media { height: 640px; }
  .hero__media img { object-position: 42% 0%; }
  .pill { font-size: 12.5px; }
  .signup { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; }
  .signup input { flex: none; height: 52px; text-align: center; padding: 0 12px; }
  .signup .btn { justify-content: center; padding-left: 22px; }
  .signup .btn .btn__icon { margin-left: auto; }
  .ticks { flex-direction: column; align-items: center; gap: 6px; }
  .case, .timeline { padding: 20px; }
  .case__meta { grid-template-columns: 1fr 1fr; }
  .case__meta div:last-child { display: none; }
  .preview__url { transform: none; }
  .cards3 { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .card--art { min-height: 420px; }
  .dossier { width: 72%; bottom: -60px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f" "g"; }
  .tile { min-height: 0; }
  .stage { padding: 16px; min-height: 0; padding-block: 28px 72px; }
  .ui { padding: 18px; }
  .calc { padding: 24px 18px; border-radius: var(--r-lg); }
  .seg button { padding: 8px 12px; font-size: 13.5px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .toast { bottom: 16px; }
  .matrix summary, .matrix__table th, .matrix__table td { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Korrekturen nach Sichtprüfung ---------- */
html, body { overflow-x: clip; }
.field__row label, .field__row > span { flex: 1; }
.field__row output, .calc__rows dd, .plan__case b { white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.footer__word { font-size: min(12.4vw, 11.2rem); letter-spacing: -.055em; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* Grid-Kinder dürfen schrumpfen, lange Inhalte laufen nicht aus den Boxen */
.stage { grid-template-columns: minmax(0, 1fr); }
.panel, .ui, .case, .timeline { min-width: 0; }
.preview__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.case__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case__meta dd, .fields b { overflow-wrap: anywhere; }
.files li { grid-template-columns: auto minmax(0, 1fr) auto; }
.files__name, .upload b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload { grid-template-columns: auto minmax(0, 1fr) auto; }
.upload > div { min-width: 0; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.code { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ui { grid-template-columns: minmax(0, 1fr); }
.opt { grid-template-columns: auto minmax(0, 1fr) auto; }
.opt > div { min-width: 0; }
.show-xs { display: none; }

@media (max-width: 860px) {
  .preview__body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .nav__inner { gap: 12px; }
  .logo__word { font-size: 17px; }
  .logo__mark { width: 28px; height: 28px; }
  h1 { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
  .case__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stage { padding: 12px; padding-block: 24px 64px; }
  .ui { padding: 16px; }
  .code { gap: 6px; }
  .code span { height: 44px; font-size: 1.15rem; }
  .btn--block { min-width: 0; }
  .card--ink { min-height: 0; gap: 56px; }
  .card--art { justify-content: flex-start; gap: 14px; min-height: 520px; }
  .card--art p { max-width: 34ch; }
  .dossier { width: 74%; right: -14px; bottom: -64px; }
  .s1 { transform: translate(10%, 4%) rotate(8deg); }
  .pricing__breakeven { justify-content: flex-start; text-align: left; align-items: flex-start; }
  .pricing__breakeven svg { margin-top: 2px; }
  .matrix__table { min-width: 520px; }
}

@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .case__head { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .case__meta dd { font-size: 13px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .opt { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .opt em { grid-column: 2; justify-self: start; }
  .preview__frame { padding: 6px; border-radius: 22px; }
  .preview__bar { padding: 4px 6px 10px; gap: 10px; }
  .preview__url { font-size: 11.5px; padding: 4px 10px; }
}
