/* ==========================================================================
   Alentys – Website Stylesheet
   Basis: helle Leinwand, Outremer-Akzent, schräge Verlaufsbänder, dichte
   Typografie (Inter), weiche geschichtete Schatten. Keine Abhängigkeiten.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); }

:root {
  --canvas: #ffffff;
  --canvas-alt: #f6f9fc;
  --canvas-deep: #eef3f8;
  --ink: #0a2540;
  --text: #425466;
  --muted: #5b6c84;
  --line: #e3e8ee;
  --line-soft: #eef2f6;

  --accent: #2a4af0;
  --accent-deep: #1f38c9;
  --accent-soft: #e8edff;
  --accent-tint: #f3f5ff;

  --navy: #0a2540;
  --navy-2: #112f4e;
  --navy-3: #1a3b5d;
  --on-navy: #c9d6e5;
  --on-navy-strong: #ffffff;
  --on-navy-muted: #7f9ab8;
  --sky: #8fb2ff;

  --cyan: #35d0ff;
  --violet: #7a5cff;
  --coral: #ff7a59;
  --amber: #ffc857;
  --green: #15be53;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 6px rgba(10, 37, 64, .06);
  --shadow-md: 0 6px 12px -2px rgba(50, 50, 93, .12), 0 3px 7px -3px rgba(0, 0, 0, .15);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --ring: 0 0 0 1px rgba(10, 37, 64, .06);

  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1080px;
  --gutter: 24px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 100%; line-height: 1.55; color: var(--text); background: var(--canvas); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
svg use { pointer-events: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
small { font-size: .875em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .calc__result :focus-visible, .contact-steps :focus-visible, .code-window :focus-visible, .mini--terminal :focus-visible { outline-color: #fff; }
::selection { background: #cdd8ff; color: var(--ink); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { --container: 760px; }
.container--wide { --container: 1200px; }
.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: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Icons (Sprite) */
svg.icon, .menu__icon svg, .tile svg, .feature__icon svg, .check-list svg, .nav__caret, .mobile-menu summary svg, .site-footer__region svg, .contact-card__icon svg, .step__num svg, .inline-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.burger svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Typografie ---------- */
.display { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 3.75rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 620; }
.h1 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 650; }
.h2 { font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.625rem); line-height: 1.1; letter-spacing: -.022em; font-weight: 560; }
.h3 { font-size: 1.375rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
.h4 { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 1.125rem; line-height: 1.6; }
.lead--lg { font-size: 1.25rem; }
.eyebrow { display: block; font-size: .875rem; font-weight: 500; color: var(--accent); margin-bottom: 12px; letter-spacing: .01em; }
.section--dark .eyebrow { color: var(--sky); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; letter-spacing: -.02em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose a, .form__check a, .contact-card a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover, .form__check a:hover, .contact-card a:hover { text-decoration-thickness: 2px; }
mark.todo { background: #fff3bf; color: #6b4e00; padding: 0 .25em; border-radius: 3px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; line-height: 1; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
.btn--sm { height: 36px; padding: 0 16px; font-size: .875rem; }
.btn--lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .12); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #102f4f; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--ring), var(--shadow-sm); }
.btn--light:hover { background: var(--canvas-alt); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn--ghost { height: auto; min-height: 24px; padding: 4px 0; color: var(--accent); border-radius: 4px; }
.btn--ghost:hover { color: var(--accent-deep); }
.btn--ghost.on-dark { color: #fff; }
.btn--ghost.on-dark:hover { color: var(--sky); }
.btn .arrow { width: 10px; height: 10px; flex: 0 0 auto; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow__stem { opacity: 0; transition: opacity .15s var(--ease); }
.arrow__head { transition: transform .15s var(--ease); }
.btn:hover .arrow__stem, .menu__footer a:hover .arrow__stem, .card-link:hover .arrow__stem { opacity: 1; }
.btn:hover .arrow__head, .menu__footer a:hover .arrow__head, .card-link:hover .arrow__head { transform: translateX(2.5px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.site-header.is-scrolled, .site-header.is-open { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 1.3125rem; letter-spacing: -.035em; line-height: 1; }
.logo__mark { color: var(--accent); flex: 0 0 auto; }
.logo__word { transform: translateY(-1px); }
.nav { flex: 1 1 auto; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: var(--r-md); font-weight: 500; font-size: .9375rem; color: var(--ink); line-height: 1.2; transition: color .15s, background .15s; }
.nav__link:hover, .has-menu.is-open > .nav__link, .has-menu:hover > .nav__link { color: var(--accent); }
body[data-page="produkte"] .nav__link[data-nav="produkte"], body[data-page="entwickler"] .nav__link[data-nav="entwickler"], body[data-page="preise"] .nav__link[data-nav="preise"], body[data-page="unternehmen"] .nav__link[data-nav="unternehmen"], .nav__link[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__caret { width: 12px; height: 12px; stroke-width: 2.2; transition: transform .2s var(--ease); opacity: .7; }
.has-menu.is-open .nav__caret, .has-menu:hover .nav__caret { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__contact { white-space: nowrap; }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--ink); }
.burger__close { display: none; }
.site-header.is-open .burger__open { display: none; }
.site-header.is-open .burger__close { display: block; }

/* Dropdown / Mega-Menü */
.menu { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--ring), var(--shadow-lg); padding: 20px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; z-index: 20; }
.menu::before { content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 12px; }
.has-menu:hover > .menu, .has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.menu--mega { width: 780px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.menu--list { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.menu__col { display: flex; flex-direction: column; gap: 2px; }
.menu__title { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 8px; white-space: nowrap; }
.menu__item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: var(--r-md); transition: background .12s; }
.menu__item:hover { background: var(--canvas-alt); }
.menu__item strong { display: block; font-size: .9375rem; color: var(--ink); line-height: 1.25; }
.menu__item small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.menu__item:hover strong { color: var(--accent); }
.menu__icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 18px; }
.menu__footer { grid-column: 1 / -1; display: flex; gap: 24px; border-top: 1px solid var(--line); margin-top: 8px; padding: 14px 10px 0; }
.menu__footer .btn { font-size: .875rem; }

/* Mobiles Menü */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 12px 0 40px; z-index: 90; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__group { border-bottom: 1px solid var(--line); }
.mobile-menu__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] summary svg { transform: rotate(180deg); }
.mobile-menu__group a { display: block; padding: 10px 0 10px 12px; color: var(--text); font-weight: 500; }
.mobile-menu__group a:last-child { padding-bottom: 16px; }
.mobile-menu__link { display: block; padding: 16px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu__cta { margin-top: 20px; justify-content: center; width: 100%; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 7vw, 96px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--canvas-alt); }
.section--dark { background: transparent; color: var(--on-navy); isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: skewY(-5deg); transform-origin: 0 0; z-index: -1; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section-head { max-width: 700px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 56px; align-items: end; }
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--split .lead { margin-top: 0; max-width: 480px; }
.section-head .lead { margin-top: 18px; }
.section-head .btn-row { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.gradient { position: absolute; left: 0; right: 0; top: -260px; height: calc(100% + 200px); transform: skewY(-12deg); transform-origin: 0 0; background: linear-gradient(112deg, #e4ebff 0%, #a9c9ff 28%, #9d8bff 52%, #ff9f88 78%, #ffd28b 100%); overflow: hidden; z-index: 0; }
.gradient canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gradient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.gradient--short { top: -400px; height: calc(100% + 360px); transform: skewY(-5deg); }
.page-hero .gradient::after { background: linear-gradient(100deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .38) 45%, rgba(255, 255, 255, .22) 100%); }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 9fr); gap: 48px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero__copy .lead { margin-top: 24px; max-width: 520px; }
.hero__copy .lead, .hero__copy .eyebrow, .hero .btn--ghost { color: var(--ink); }
.hero .btn--ghost:hover { color: var(--accent-deep); }
.hero__actions { margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 36px; font-size: .875rem; color: var(--ink); font-weight: 500; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.powered { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--text); }
.powered__label { font-weight: 500; }
.powered__brand { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; letter-spacing: -.03em; font-size: 1rem; color: var(--ink); line-height: 1; }
.powered__brand svg { width: 15px; height: 15px; fill: currentColor; }
.hero__visual { position: relative; height: 620px; margin-right: calc(-1 * clamp(0px, (100vw - var(--container)) / 2 - 40px, 120px)); }

/* Produkt-Mockups (code-native) */
.ui-card { background: #fff; border-radius: 12px; box-shadow: var(--ring), var(--shadow-lg); }
.mock-phone { position: absolute; right: 0; top: 0; width: 300px; background: var(--ink); border-radius: 44px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.mock-phone__screen { background: #fff; border-radius: 36px; padding: 22px 18px 18px; position: relative; overflow: hidden; }
.mock-phone__notch { width: 96px; height: 24px; background: var(--ink); border-radius: 0 0 16px 16px; margin: -22px auto 16px; }
.mock-checkout__merchant { display: flex; align-items: center; gap: 10px; }
.mock-checkout__logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.mock-checkout__merchant strong { font-size: .8125rem; }
.mock-checkout__merchant small { display: block; color: var(--muted); font-size: .6875rem; line-height: 1.2; }
.mock-checkout__amount { margin-top: 14px; }
.mock-checkout__amount small { display: block; font-size: .6875rem; color: var(--muted); font-weight: 500; }
.mock-checkout__amount strong { font-size: 1.625rem; letter-spacing: -.03em; font-weight: 650; }
.mock-wallet { margin-top: 14px; height: 40px; border-radius: 8px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: .8125rem; }
.mock-wallet svg { width: 14px; height: 14px; fill: currentColor; }
.mock-or { display: flex; align-items: center; gap: 10px; font-size: .6875rem; color: var(--muted); margin: 12px 0; }
.mock-or::before, .mock-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mock-field { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font-size: .75rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; background: #fff; }
.mock-field + .mock-field { margin-top: 8px; }
.mock-field small { color: var(--muted); font-size: .625rem; display: block; }
.mock-field--focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mock-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mock-field__row .mock-field { margin-top: 0; }
.mock-brands { display: flex; gap: 4px; }
.mock-brands i { width: 22px; height: 14px; border-radius: 3px; display: block; }
.mock-brands i:nth-child(1) { background: #1a1f71; }
.mock-brands i:nth-child(2) { background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%); }
.mock-brands i:nth-child(3) { background: #2e77bc; }
.mock-pay { margin-top: 14px; height: 42px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .8125rem; }
.mock-phone__foot { margin-top: 12px; text-align: center; font-size: .625rem; color: var(--muted); display: flex; justify-content: center; gap: 10px; }
.mock-phone__foot b { font-weight: 600; color: var(--text); }

.mock-dash { position: absolute; left: -28px; bottom: 24px; width: 390px; padding: 20px 22px 18px; }
.mock-dash__head { display: flex; align-items: center; justify-content: space-between; }
.mock-dash__head small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.mock-dash__tabs { display: inline-flex; gap: 2px; background: var(--canvas-alt); border-radius: 6px; padding: 2px; font-size: .6875rem; font-weight: 500; color: var(--muted); }
.mock-dash__tabs span { padding: 3px 8px; border-radius: 4px; }
.mock-dash__tabs span.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.mock-dash__kpi { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.mock-dash__kpi strong { font-size: 1.625rem; letter-spacing: -.03em; font-weight: 650; font-variant-numeric: tabular-nums; }
.mock-dash__kpi em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--green); background: #e6f8ec; padding: 2px 7px; border-radius: 999px; }
.mock-dash__chart { margin-top: 10px; height: 74px; }
.mock-dash__chart svg { width: 100%; height: 100%; overflow: visible; }
.mock-dash__list { margin-top: 14px; border-top: 1px solid var(--line); }
.mock-dash__list p { font-size: .6875rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding: 10px 0 4px; }
.mock-dash__rows { height: 96px; overflow: hidden; position: relative; }
.mock-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: .75rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); animation: row-in .5s var(--ease) both; }
.mock-row__method { width: 28px; height: 18px; border-radius: 4px; font-size: .5625rem; font-weight: 700; color: #fff; display: grid; place-items: center; letter-spacing: .02em; }
.mock-row__who small { display: block; color: var(--muted); font-size: .6875rem; }
.mock-row__amt { font-variant-numeric: tabular-nums; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mock-row__amt i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Zahlungsarten-Band ---------- */
.methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.method { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-md); background: #fff; box-shadow: var(--ring); font-weight: 650; font-size: .875rem; color: var(--ink); letter-spacing: -.01em; }
.method i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--accent); }
.method--visa i { background: #1a1f71; }
.method--mc i { background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%); }
.method--amex i { background: #2e77bc; }
.method--apple i, .method--google i { background: #111; }
.method--sepa i { background: #10298e; }
.method--klarna i { background: #ffb3c7; }
.method--paypal i { background: #003087; }
.method--ideal i { background: #cc0066; }
.method--bancontact i { background: #005498; }
.method--twint i { background: #000; }
.method--eps i { background: #71706f; }
.method--p24 i { background: #d13239; }
.methods-note { text-align: center; margin-top: 20px; font-size: .875rem; color: var(--muted); }

/* ---------- Produktkarten ---------- */
.product-card { display: flex; flex-direction: column; gap: 12px; }
.tile { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); color: var(--accent); }
.tile--violet { background: #efe9ff; color: #6b46ff; }
.tile--cyan { background: #e0f7ff; color: #0892b8; }
.tile--coral { background: #ffebe4; color: #e2572f; }
.tile--amber { background: #fff3d6; color: #b77a00; }
.tile--green { background: #e3f8ea; color: #128a3e; }
.tile--navy { background: var(--canvas-deep); color: var(--ink); }
.section--dark .tile { background: rgba(255, 255, 255, .08); color: var(--sky); }
.product-card h3 { font-size: 1.125rem; margin-top: 6px; }
.product-card p { color: var(--text); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); font-size: .9375rem; margin-top: 2px; }
.card-link:hover { color: var(--accent-deep); }
.card-link .arrow { width: 10px; height: 10px; }
.product-more { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 40px; }
.product-more a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.product-more a svg.inline-icon { color: var(--accent); font-size: 20px; }
.product-more a:hover { color: var(--accent); }

/* ---------- Tabs (Geschäftsmodelle) ---------- */
.tabs { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: 4px; }
.tabs__btn { text-align: left; padding: 16px 18px; border-radius: var(--r-lg); border-left: 2px solid transparent; transition: background .15s, border-color .15s; }
.tabs__btn strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.tabs__btn small { display: block; font-size: .875rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.tabs__btn:hover { background: var(--canvas-alt); }
.tabs__btn[aria-selected="true"] { background: var(--canvas-alt); border-left-color: var(--accent); }
.tabs__btn[aria-selected="true"] strong { color: var(--accent); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fade-up .35s var(--ease) both; }
.panel-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--canvas-alt); border-radius: var(--r-xl); padding: 40px; }
.panel-split h3 { font-size: 1.375rem; }
.panel-split p { margin-top: 12px; }
.panel-split .check-list { margin-top: 20px; }
.panel-split .btn { margin-top: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.check-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }
.section--dark .check-list svg { color: var(--cyan); }
.section--dark .check-list li, .section--dark .lead, .section--dark .feature p, .section--dark .step p, .section--dark .kv p, .section--dark .section-head p { color: var(--on-navy); }
.section--dark .muted { color: var(--on-navy-muted); }
.section--dark .kv div { border-top-color: rgba(255, 255, 255, .16); }
.section--dark .kv strong, .section--dark .kv code { color: #fff; }
.check-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mini-Mockups in Panels */
.mini { background: #fff; border-radius: 12px; box-shadow: var(--ring), var(--shadow-md); padding: 18px; font-size: .8125rem; color: var(--ink); }
.mini__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mini__head small { color: var(--muted); font-weight: 500; }
.mini__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); gap: 12px; }
.mini__row > span:first-child { min-width: 0; }
.mini__row > span:last-child { flex: 0 0 auto; white-space: nowrap; }
.mini__row:last-child { border-bottom: 0; }
.mini__row small { color: var(--muted); display: block; font-size: .75rem; }
.mini__row .tnum { font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.badge--green { background: #e3f8ea; color: #0f7a36; }
.badge--amber { background: #fff3d6; color: #8a5c00; }
.badge--blue { background: var(--accent-soft); color: var(--accent); }
.badge--gray { background: var(--canvas-deep); color: var(--text); }
.badge--red { background: #ffe6e1; color: #b8321a; }
.bar { height: 6px; border-radius: 999px; background: var(--canvas-deep); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.mini__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mini__stat { background: var(--canvas-alt); border-radius: 8px; padding: 10px 12px; }
.mini__stat small { display: block; color: var(--muted); font-size: .6875rem; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.mini__stat strong { font-size: 1.0625rem; letter-spacing: -.02em; }
.mini__foot { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.mini--terminal { background: var(--ink); color: #fff; padding: 0; overflow: hidden; }
.terminal-device { padding: 22px 26px 26px; }
.terminal-device__screen { background: #fff; color: var(--ink); border-radius: 10px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(10, 37, 64, .08); }
.terminal-device__screen small { color: var(--muted); display: block; }
.terminal-device__screen strong { font-size: 1.75rem; letter-spacing: -.03em; display: block; margin: 4px 0 10px; }
.terminal-device__tap { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--text); }
.terminal-device__tap i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; position: relative; }
.terminal-device__tap i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.terminal-device__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.terminal-device__keys span { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
@keyframes pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }

/* ---------- Code-Fenster ---------- */
.code-window { background: var(--navy-2); border-radius: 12px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; font-family: var(--mono); font-size: .8125rem; line-height: 1.65; color: #dbe7f5; }
.code-window__bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; background: rgba(0, 0, 0, .18); border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--font); }
.code-window__dots { display: flex; gap: 6px; margin-right: 10px; padding-left: 4px; }
.code-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-tab { padding: 6px 12px; border-radius: 6px; font-size: .75rem; font-weight: 500; color: var(--on-navy-muted); transition: background .12s, color .12s; }
.code-tab[aria-selected="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.code-tab:hover { color: #fff; }
.code-window pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; tab-size: 2; }
.code-window pre[hidden] { display: none; }
.code-window code { font-family: inherit; }
.code-window .ln { display: inline-block; width: 2ch; margin-right: 1.6ch; color: rgba(255, 255, 255, .5); user-select: none; text-align: right; }
.tok-k { color: #ff8dc6; }
.tok-s { color: #8fd3ff; }
.tok-f { color: #ffd37a; }
.tok-c { color: #8aa1bb; font-style: italic; }
.tok-n { color: #c8f5ff; }
.tok-p { color: #a6c8ff; }
.code-window__out { border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px 20px 16px; font-size: .75rem; color: var(--on-navy-muted); }
.code-window__out b { color: #8ef0b1; font-weight: 500; }

/* Entwickler-Sektion (Startseite) */
.dev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.dev__copy .lead { color: var(--on-navy); margin-top: 18px; }
.dev__features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.dev__features div strong { display: block; color: #fff; font-size: .9375rem; }
.dev__features div small { display: block; color: var(--on-navy-muted); font-size: .8125rem; line-height: 1.45; margin-top: 2px; }
.dev__actions { margin-top: 32px; }
.sdk-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sdk-row span { font-family: var(--mono); font-size: .75rem; padding: 5px 10px; border-radius: 6px; background: var(--canvas-deep); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.section--dark .sdk-row span { background: rgba(255, 255, 255, .07); color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat__value { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 650; letter-spacing: -.035em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: .9375rem; color: var(--text); max-width: 220px; }
.section--dark .stat { border-top-color: rgba(255, 255, 255, .16); }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--on-navy); }

/* ---------- Feature-Liste / Warum ---------- */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.feature h3 { font-size: 1.0625rem; }
.feature p { color: var(--text); font-size: .9375rem; }
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.feature-box { padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.feature-box .feature__icon { flex: 0 0 auto; }
.feature-box h3 { font-size: 1rem; }
.feature-box p { font-size: .9375rem; margin-top: 4px; }

/* ---------- Zwei Panels (Start-ups / Unternehmen) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panel { position: relative; border-radius: var(--r-xl); padding: 40px; background: var(--canvas-alt); overflow: hidden; display: flex; flex-direction: column; }
.panel--accent { background: linear-gradient(160deg, #f3f5ff 0%, #e8edff 100%); }
.panel h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.panel > p { margin-top: 12px; max-width: 440px; }
.panel .check-list { margin-top: 22px; }
.panel .btn { margin-top: 28px; align-self: flex-start; }
.panel__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.panel__tag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Preis-Teaser ---------- */
.price-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.price-big { display: flex; flex-wrap: wrap; gap: 40px; }
.price-big div strong { display: block; font-size: clamp(2.25rem, 1.6rem + 2vw, 2.75rem); font-weight: 650; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price-big div span { display: block; margin-top: 8px; font-size: .9375rem; color: var(--text); }
.price-big div small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }

/* ---------- Abschluss-CTA ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cta__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cta__links div { border-top: 1px solid var(--line); padding-top: 16px; }
.cta__links strong { display: block; font-size: .9375rem; margin-bottom: 4px; }
.cta__links p { font-size: .875rem; color: var(--text); margin-bottom: 10px; }
.cta__links .btn { font-size: .875rem; white-space: normal; text-align: left; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas-alt); border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: .875rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px 28px; }
.site-footer__brand { padding-right: 24px; }
.site-footer__tagline { margin-top: 18px; color: var(--text); max-width: 280px; line-height: 1.5; }
.site-footer__brand .powered { display: flex; margin-top: 18px; }
.site-footer__region { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 500; color: var(--text); font-size: .875rem; white-space: nowrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__heading { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.site-footer__col a { color: var(--text); line-height: 1.4; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: .8125rem; }
.site-footer__legal { max-width: 880px; line-height: 1.5; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero .lead { margin-top: 20px; max-width: 620px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--split .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.page-hero--plain { padding-bottom: 24px; }
.page-hero--plain .gradient { display: none; }

/* ---------- Produktseite: Abschnitte ---------- */
.product-section { padding: clamp(56px, 6vw, 88px) 0; }
.product-section:nth-of-type(even) { background: var(--canvas-alt); }
.product-section .grid-2 { gap: 56px; }
.product-section .tile { display: none; }
.product-section h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); letter-spacing: -.03em; }
.product-section .lead { margin-top: 16px; }
.product-section .check-list { margin-top: 22px; }
.product-section .btn-row { margin-top: 28px; }
.product-section--flip .grid-2 > :first-child { order: 2; }
.product-section--flip .grid-2 > :last-child { order: 1; }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.solution { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--ring); display: flex; flex-direction: column; }
.solution .tile { margin-bottom: 18px; }
.solution h3 { font-size: 1.25rem; }
.solution p { margin-top: 10px; }
.solution .check-list { margin-top: 18px; font-size: .9375rem; }
.solution .card-link { margin-top: auto; padding-top: 20px; }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: -8px; }
.plan { background: #fff; border-radius: var(--r-xl); padding: 36px; box-shadow: var(--ring), var(--shadow-md); display: flex; flex-direction: column; position: relative; }
.plan--featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow-md); }
.plan__name { font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.plan__desc { margin-top: 8px; color: var(--text); }
.plan__price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price strong { font-size: 2.5rem; font-weight: 650; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: .9375rem; }
.plan__sub { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.plan .check-list { margin-top: 24px; font-size: .9375rem; }
.plan .btn { margin-top: 28px; align-self: flex-start; }
.plan__note { margin-top: 16px; font-size: .8125rem; color: var(--muted); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--ring), var(--shadow-md); padding: 40px; }
.calc__field + .calc__field { margin-top: 26px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--ink); font-size: .9375rem; }
.calc__label output { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 650; }
.calc__help { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.calc input[type="range"] { width: 100%; margin: 14px 0 0; accent-color: var(--accent); }
.calc__seg { display: inline-flex; gap: 4px; background: var(--canvas-alt); padding: 4px; border-radius: 8px; margin-top: 12px; }
.calc__seg button { padding: 6px 12px; border-radius: 6px; font-size: .875rem; font-weight: 500; color: var(--text); }
.calc__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.calc__result { background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.calc__result small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--on-navy-muted); }
.calc__result strong { display: block; color: #fff; font-size: 2.5rem; letter-spacing: -.04em; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 4px; }
.calc__result .sub { color: var(--on-navy); font-size: .875rem; margin-top: 4px; }
.calc__result .row { display: flex; justify-content: space-between; font-size: .875rem; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.calc__result .row b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__result .btn { align-self: flex-start; margin-top: 6px; }
.calc__foot { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

.fee-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.fee-table th, .fee-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table td:last-child { font-weight: 600; color: var(--ink); }
.fee-table td small { display: block; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.fee-group { margin-top: 48px; }
.fee-group:first-child { margin-top: 0; }
.fee-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.fee-group__head h3 { font-size: 1.25rem; }
.fee-group__head p { color: var(--muted); font-size: .9375rem; }
.fee-group .tile { width: 36px; height: 36px; font-size: 18px; border-radius: 9px; }

.faq { display: flex; flex-direction: column; }
.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; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__body { padding: 0 48px 22px 0; color: var(--text); }
.faq .faq__body p + p { margin-top: .7em; }

/* ---------- Entwickler ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; padding-top: 8px; }
.step__num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: .9375rem; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.0625rem; }
.step p { margin-top: 6px; font-size: .9375rem; }
.step code { font-family: var(--mono); font-size: .8125rem; background: var(--canvas-deep); padding: 2px 6px; border-radius: 4px; color: var(--ink); }
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-family: var(--mono); font-size: .8125rem; }
.event-list li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #dbe7f5; }
.event-list li span { font-family: var(--font); color: var(--on-navy-muted); font-size: .75rem; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.kv div { padding: 18px 0 0; border-top: 1px solid var(--line); }
.kv strong { display: block; font-size: .9375rem; }
.kv p { margin-top: 4px; font-size: .875rem; }
.kv code { font-family: var(--mono); font-size: .75rem; color: var(--accent); }

/* ---------- Unternehmen ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.value { border-top: 1px solid var(--line); padding-top: 20px; }
.value h3 { font-size: 1.125rem; }
.value p { margin-top: 8px; font-size: .9375rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.fact { padding: 18px 0 0; border-top: 1px solid var(--line); }
.fact small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.fact strong { display: block; margin-top: 6px; font-size: 1.125rem; letter-spacing: -.02em; }
.quote { padding: 6px 0; font-size: 1.375rem; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; max-width: 720px; }
.quote footer { margin-top: 14px; font-size: .9375rem; color: var(--muted); }
.stripe-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.stripe-lockup { background: #fff; border-radius: var(--r-xl); padding: 40px; box-shadow: var(--ring), var(--shadow-md); display: flex; flex-direction: column; gap: 20px; }
.stripe-lockup__logos { display: flex; align-items: center; gap: 20px; font-weight: 700; font-size: 1.75rem; letter-spacing: -.04em; color: var(--ink); }
.stripe-lockup__logos .logo { font-size: 1.75rem; }
.stripe-lockup__logos .x { color: var(--muted); font-weight: 400; font-size: 1.25rem; }
.stripe-lockup__logos .stripe-word { display: inline-flex; align-items: center; gap: 2px; }
.stripe-lockup__logos .stripe-word svg { width: 26px; height: 26px; fill: currentColor; }
.stripe-lockup dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .9375rem; margin: 0; }
.stripe-lockup dt { color: var(--muted); }
.stripe-lockup dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.form { background: #fff; border-radius: var(--r-xl); box-shadow: var(--ring), var(--shadow-md); padding: 36px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.form__field label small { font-weight: 400; color: var(--muted); }
.form__field input, .form__field select, .form__field textarea { width: 100%; border: 1px solid #8492a3; border-radius: var(--r-md); padding: 11px 12px; font-size: .9375rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.form__field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7c93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form__field textarea { min-height: 120px; resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(42, 74, 240, .18); }
.form__field input:user-invalid, .form__field textarea:user-invalid { border-color: #d9432b; }
.form__check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--text); }
.form__check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: 0 0 auto; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__actions small { color: var(--muted); font-size: .8125rem; }
.form__status { grid-column: 1 / -1; border-radius: var(--r-md); padding: 12px 14px; font-size: .9375rem; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e3f8ea; color: #0f6b30; }
.form__status--err { background: #ffe6e1; color: #a82d14; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card + .contact-card { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-card__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.contact-card strong { display: block; font-size: .9375rem; }
.contact-card p { font-size: .875rem; margin-top: 3px; }
.contact-steps { background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg); padding: 24px; margin-top: 8px; }
.contact-steps h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.contact-steps ol { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: .875rem; }
.contact-steps li { display: flex; gap: 12px; }
.contact-steps li b { flex: 0 0 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 600; }
.contact-steps strong { display: block; color: #fff; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 120px); }
.legal .prose { font-size: 1rem; }
.legal .prose h1 { margin-bottom: .5em; }
.legal .lead { margin-bottom: 2em; }
.legal-note { background: #fff8e1; border: 1px solid #ffe8a3; color: #6b4e00; border-radius: var(--r-md); padding: 14px 16px; font-size: .875rem; margin-bottom: 32px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-row, .tabs__panel { animation: none; }
  .terminal-device__tap i::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-menu, .gradient { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tabs { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
  .panel-split { padding: 28px; gap: 28px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .mock-dash { left: 0; transform: scale(.86); transform-origin: 0 100%; }
  .mock-phone { transform: scale(.86); transform-origin: 100% 0; }
}
@media (max-width: 1100px) {
  .menu--mega { width: 720px; gap: 8px 16px; }
  .site-header__inner { gap: 16px; }
  .nav__link { padding: 8px 9px; }
  .cta { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1023px) {
  .nav, .site-header__contact { display: none; }
  .burger { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  .site-header.is-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: auto; min-height: 0; margin-right: 0; }
  .mock-phone { display: none; }
  .mock-dash { position: static; width: 100%; max-width: 460px; margin-top: 8px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { grid-template-columns: 1fr; gap: 24px; }
  .tabs__list { flex-direction: row; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
  .tabs__btn { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; padding: 10px 14px; }
  .tabs__btn[aria-selected="true"] { border-bottom-color: var(--accent); background: transparent; }
  .tabs__btn small { display: none; }
  .dev { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps, .values, .kv { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .event-list { grid-template-columns: 1fr; }
  .page-hero--split .container, .stripe-block, .price-teaser, .cta { grid-template-columns: 1fr; }
  .product-section .grid-2, .grid-2, .panel-split { grid-template-columns: 1fr; }
  .product-section--flip .grid-2 > :first-child { order: 1; }
  .product-section--flip .grid-2 > :last-child { order: 2; }
  .product-section .grid-2 { gap: 32px; }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .lead { margin-top: 16px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .display { font-size: 2.125rem; letter-spacing: -.03em; -webkit-hyphens: auto; hyphens: auto; }
  .h1 { font-size: 2rem; -webkit-hyphens: auto; hyphens: auto; }
  .grid-3, .grid-4, .stats, .duo, .feature-row, .solution-grid, .plans, .cta__links, .facts, .check-list--2col, .form__grid, .dev__features { grid-template-columns: 1fr; }
  .methods { gap: 8px; }
  .method { height: 36px; padding: 0 12px; font-size: .8125rem; }
  .panel, .plan, .calc, .form, .panel-split, .stripe-lockup, .solution { padding: 24px; }
  .mock-dash { padding: 16px; }
  .btn-row .btn { width: 100%; justify-content: center; white-space: normal; height: auto; min-height: 42px; padding-block: 10px; line-height: 1.2; text-align: center; }
  .btn-row .btn--lg { min-height: 48px; }
  .btn-row .btn--ghost { width: auto; min-height: 24px; padding-block: 4px; justify-content: flex-start; text-align: left; }
  .hero__trust { gap: 8px 16px; }
  .fee-table td:first-child { padding-right: 16px; }
  .faq .faq__body { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section--dark::before { transform: skewY(-4deg); }
  .form__field input, .form__field select, .form__field textarea { font-size: 1rem; }
  .event-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Brotkrumen (ersetzt das Eyebrow im page-hero der Unterseiten) */
.breadcrumb { margin-bottom: 14px; font-size: .9375rem; font-weight: 600; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); }
