:root {
    color-scheme: light;
    --page: #f8fafc;
    --page-soft: #eff6ff;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --muted-dark: #64748b;
    --line: #dbe5f0;
    --line-dark: #dbe5f0;
    --panel: #ffffff;
    --panel-strong: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --text: #0f172a;
    --blue: #1687f8;
    --blue-strong: #0874dc;
    --green: #16a66a;
    --amber: #e89516;
    --red: #e74b55;
    --shadow: 0 26px 70px rgba(15, 23, 42, 0.13);
    --radius: 18px;
}

body {
    color: var(--text);
    background: #ffffff;
}

body::before {
    background:
        radial-gradient(circle at 78% 8%, rgba(22, 135, 248, 0.13), transparent 29%),
        radial-gradient(circle at 17% 10%, rgba(22, 166, 106, 0.07), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 68%);
}

body::after {
    opacity: 0.65;
    background:
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 58%);
}

.nav {
    border-bottom-color: rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.035);
}

.nav .brand {
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo-full {
    position: relative;
    width: 142px;
    height: 52px;
    flex: 0 0 142px;
    border: 1px solid #25344a;
    border-radius: 14px;
    background:
        radial-gradient(circle at 22% 4%, rgba(22, 135, 248, 0.23), transparent 38%),
        linear-gradient(145deg, #172133, #0c1422);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.brand-logo-full img {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    max-width: none;
    transform: translate(-20.2px, -49.5px);
}

.nav .brand-logo-full {
    width: 172px;
    height: 46px;
    flex-basis: 172px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.nav .brand-logo-full img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transform: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    padding: 10px;
    border: 1px solid #d5e1ed;
    border-radius: 13px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle span:nth-child(1) {
    top: 15px;
}

.nav-toggle span:nth-child(2) {
    top: 21px;
}

.nav-toggle span:nth-child(3) {
    top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #07111f;
    color: #ffffff;
    font-weight: 850;
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, summary, [tabindex]):focus-visible {
    outline: 3px solid rgba(22, 135, 248, .5);
    outline-offset: 3px;
}

.nav-links {
    color: #64748b;
}

.nav-links a:hover {
    color: #0874dc;
}

.btn {
    border-color: #d3deea;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.btn:hover {
    border-color: #a9bfd5;
    background: #f8fafc;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-primary {
    border-color: #1687f8;
    background: linear-gradient(135deg, #1687f8, #0769cf);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(22, 135, 248, 0.23);
}

.btn-primary:hover {
    border-color: #0769cf;
    background: linear-gradient(135deg, #087cf0, #075fbc);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(22, 135, 248, 0.28);
}

.btn-dark {
    border-color: #d3deea;
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
}

.btn-dark:hover {
    border-color: #1687f8;
    background: #f0f7ff;
    color: #0769cf;
}

.hero {
    min-height: 820px;
    padding-top: 140px;
}

.hero-inner {
    gap: 72px;
}

.eyebrow {
    border-color: #cfe3f8;
    background: rgba(255, 255, 255, 0.88);
    color: #075fae;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

h1 {
    max-width: 760px;
    color: #0f172a;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.hero-copy {
    color: #526277;
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.65;
}

.proof-item {
    min-height: 104px;
    border-color: #dbe5f0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
}

.proof-item strong {
    color: #0f172a;
}

.proof-item span {
    color: #64748b;
}

.dashboard-wrap::before {
    background: rgba(22, 135, 248, 0.15);
}

.dashboard-wrap::after {
    background: rgba(22, 166, 106, 0.12);
}

.dashboard-wrap {
    min-height: 620px;
    padding-bottom: 48px;
}

.hero-photo-frame {
    position: relative;
    z-index: 1;
    height: 590px;
    overflow: hidden;
    border: 1px solid #cfddea;
    border-radius: 26px;
    background: #eef4f9;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.16);
}

.hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
}

.hero-photo-label {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 850;
}

.dashboard {
    border: 1px solid #cfddea;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.16);
}

.hero-dashboard {
    position: absolute;
    z-index: 2;
    left: -44px;
    bottom: 0;
    width: min(390px, 88%);
    animation: none;
}

.hero-dashboard .dashboard-top {
    padding: 12px 14px;
}

.hero-dashboard .dashboard-body {
    padding: 14px;
}

.hero-dashboard .order-list,
.hero-dashboard .mini-grid {
    display: none;
}

.hero-dashboard .status-card {
    padding: 13px;
}

.hero-dashboard .status-card strong {
    font-size: 23px;
}

.dashboard-top {
    border-bottom-color: #dbe5f0;
    background: #f8fafc;
}

.live-label {
    color: #475569;
}

.status-card,
.order-row,
.mini-card {
    border-color: #dbe5f0;
    background: #f8fafc;
}

.status-card span,
.mini-card span,
.order-row small {
    color: #64748b;
}

.status-card strong,
.order-row b,
.mini-card strong {
    color: #0f172a;
}

.order-row.is-active {
    border-color: #8ec8ff;
    background: #eef7ff;
}

.badge {
    background: #e3f2ff;
    color: #075fae;
}

.badge.green {
    background: #e3f8ef;
    color: #087c4d;
}

.badge.amber {
    background: #fff3d9;
    color: #9a5a00;
}

.section,
.section.white,
.section.dark {
    color: #0f172a;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
}

.section:nth-of-type(even),
.section.dark {
    background: #f6f9fc;
}

#funktionen,
#einsatz,
#preise {
    background: #ffffff;
}

#ablauf,
#faq {
    background: #f6f9fc;
}

.section-head {
    max-width: 800px;
}

.section h2 {
    letter-spacing: -0.035em;
}

.section-head p,
.dark .section-head p {
    color: #64748b;
    line-height: 1.65;
}

.feature-card,
.workflow-card,
.trust-card,
.pricing-card {
    border-color: #dbe5f0;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045);
}

.feature-card:hover,
.workflow-card:hover,
.trust-card:hover {
    border-color: #a9cceb;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.085);
    transform: translateY(-4px);
}

.feature-icon {
    border-radius: 12px;
}

.feature-card p,
.workflow-card p,
.trust-card p {
    color: #64748b;
    line-height: 1.65;
}

.app-showcase-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgba(22, 135, 248, 0.1), transparent 25%),
        #f6f9fc !important;
}

.app-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.app-preview-stack {
    display: contents;
}

.app-preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d5e1ed;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.app-preview:hover {
    transform: translateY(-4px);
    border-color: #9dc9f1;
    box-shadow: 0 28px 68px rgba(15, 23, 42, .12);
}

.app-preview-bar {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 16px;
    color: #53647a;
    background: #f8fafc;
    border-bottom: 1px solid #dbe5f0;
    font-size: 12px;
    font-weight: 800;
}

.app-preview-bar b {
    margin-left: auto;
    padding: 3px 8px;
    color: #087c4d;
    background: #e3f8ef;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
}

.app-preview-dots {
    display: inline-flex;
    gap: 4px;
}

.app-preview-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c3cfdb;
}

.app-preview-dots i:first-child {
    background: #73baf9;
}

.app-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    object-position: top center;
    background: #eef4f9;
}

.app-shot {
    cursor: zoom-in;
}

.app-shot:hover {
    filter: saturate(1.04) contrast(1.015);
}

.app-preview-main {
    grid-column: 1 / -1;
}

.app-preview-main img {
    min-height: 0;
    aspect-ratio: 16 / 5.8;
}

.app-preview-copy {
    padding: 20px 22px 22px;
}

.app-preview-copy > span {
    color: #0874dc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.app-preview-copy h3 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 21px;
    letter-spacing: -.02em;
}

.app-preview-copy p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.app-preview-stack .app-preview-bar {
    min-height: 40px;
}

.app-preview-stack .app-preview img {
    aspect-ratio: 16 / 9;
}

.app-preview-stack .app-preview-copy {
    padding: 15px 18px 18px;
}

.app-preview-stack .app-preview-copy h3 {
    font-size: 18px;
}

.app-preview-stack .app-preview-copy p {
    font-size: 13px;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-story {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.065);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-story:hover {
    transform: translateY(-5px);
    border-color: #a9cceb;
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.11);
}

.product-story img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef4f9;
}

.product-story-copy {
    padding: 22px;
}

.product-story-copy span {
    color: #0874dc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-story-copy h3 {
    margin: 8px 0 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.product-story-copy p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.service-scenes-section {
    background: #f6f9fc !important;
}

.service-scenes {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 18px;
}

.service-scene {
    position: relative;
    min-height: 320px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d5e1ed;
    border-radius: 24px;
    background: #eaf0f6;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.service-scene-wide {
    grid-row: 1 / 3;
    min-height: 660px;
}

.service-scene img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-scene:hover img {
    transform: scale(1.025);
}

.service-scene::after {
    position: absolute;
    inset: 42% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(7, 16, 29, .78));
    pointer-events: none;
}

.service-scene figcaption {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: #fff;
}

.service-scene figcaption span,
.service-scene figcaption strong {
    display: block;
}

.service-scene figcaption span {
    margin-bottom: 5px;
    color: #cae9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-scene figcaption strong {
    max-width: 520px;
    font-size: clamp(20px, 2.3vw, 32px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.service-scene-note {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px;
    border: 1px solid #c9e0f5;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 5%, rgba(22, 135, 248, .15), transparent 30%),
        #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.service-scene-note h3 {
    margin: 2px 0 0;
    color: #0f172a;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.service-scene-note p {
    margin: 15px 0 22px;
    color: #64748b;
    line-height: 1.65;
}

.industry-section {
    overflow: hidden;
}

.industry-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
    grid-template-rows: repeat(2, 242px);
    gap: 18px;
}

.industry-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d5e1ed;
    border-radius: 24px;
    background: #eaf0f6;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.industry-card-large {
    grid-row: 1 / 3;
}

.industry-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.industry-card-large img {
    object-position: 48% center;
}

.industry-card:hover img {
    transform: scale(1.025);
}

.industry-card::after {
    position: absolute;
    inset: 38% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(7, 16, 29, .86));
    pointer-events: none;
}

.industry-card figcaption {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: #ffffff;
}

.industry-card figcaption span,
.industry-card figcaption strong {
    display: block;
}

.industry-card figcaption span {
    margin-bottom: 5px;
    color: #cbeaff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.industry-card figcaption strong {
    max-width: 560px;
    font-size: clamp(18px, 2vw, 29px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.industry-fit {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 34px;
    align-items: center;
    padding: 32px 34px;
    border: 1px solid #cfe1f2;
    border-radius: 24px;
    background:
        radial-gradient(circle at 94% 5%, rgba(22, 135, 248, .13), transparent 30%),
        #f7fbff;
}

.industry-fit h3 {
    margin: 4px 0 0;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.industry-fit p {
    max-width: 680px;
    margin: 13px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.industry-fit-actions {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-tags span {
    padding: 7px 10px;
    border: 1px solid #d5e4f2;
    border-radius: 999px;
    background: #ffffff;
    color: #42546b;
    font-size: 11px;
    font-weight: 850;
}

.workflow-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.workflow-card::after {
    background: linear-gradient(90deg, #1687f8, transparent);
}

.workflow-card span {
    background: #e7f3ff;
    color: #0769cf;
}

.trust-panel {
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 25%),
        linear-gradient(145deg, #087cf0, #075bb1);
    box-shadow: 0 24px 58px rgba(22, 135, 248, 0.22);
}

.trust-panel::after {
    background: rgba(255, 255, 255, 0.11);
}

.trust-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.fiscal-choice-section {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(22, 135, 248, .2), transparent 26%),
        radial-gradient(circle at 88% 88%, rgba(22, 166, 106, .1), transparent 24%),
        #07111f !important;
    color: #ffffff !important;
}

.fiscal-choice-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .28;
    background:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 58px 58px;
    pointer-events: none;
}

.fiscal-choice-section .wrap {
    position: relative;
    z-index: 1;
}

.fiscal-choice-section .section-kicker {
    color: #6fc0ff;
}

.fiscal-choice-head {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 38px;
}

.fiscal-choice-head h2 {
    margin-top: 10px;
}

.fiscal-choice-head > p {
    margin: 0 0 4px;
    color: #aebed0;
    font-size: 17px;
    line-height: 1.7;
}

.fiscal-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fiscal-mode-card {
    min-width: 0;
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 24px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 22px 56px rgba(0, 0, 0, .16);
    backdrop-filter: blur(8px);
}

.fiscal-mode-card.is-featured {
    border-color: rgba(99, 183, 255, .52);
    background:
        radial-gradient(circle at 94% 4%, rgba(22, 135, 248, .2), transparent 30%),
        rgba(15, 38, 65, .72);
}

.fiscal-mode-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 30px;
}

.fiscal-mode-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #b9dcfa;
    font-size: 12px;
    font-weight: 950;
}

.fiscal-mode-status {
    padding: 6px 9px;
    border: 1px solid rgba(94, 234, 167, .18);
    border-radius: 999px;
    background: rgba(22, 166, 106, .11);
    color: #8de6bd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fiscal-mode-label {
    color: #6fc0ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fiscal-mode-card h3 {
    margin: 7px 0 0;
    color: #ffffff;
    font-size: clamp(28px, 3.2vw, 42px);
    letter-spacing: -.035em;
}

.fiscal-mode-card > p {
    min-height: 82px;
    margin: 14px 0 0;
    color: #aebed0;
    line-height: 1.7;
}

.fiscal-mode-card ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(148, 163, 184, .16);
    list-style: none;
}

.fiscal-mode-card li {
    position: relative;
    padding-left: 25px;
    color: #d7e2ee;
    line-height: 1.5;
}

.fiscal-mode-card li::before {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31c98b;
    box-shadow: 0 0 0 5px rgba(49, 201, 139, .1);
    content: "";
}

.fiscal-onboarding {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 28px;
    align-items: center;
    padding: 25px 28px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
}

.fiscal-onboarding-copy strong {
    display: block;
    max-width: 420px;
    margin-top: 5px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
}

.fiscal-onboarding ol {
    display: flex;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fiscal-onboarding li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c7d4e2;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.fiscal-onboarding li span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: rgba(111, 192, 255, .13);
    color: #79c5ff;
    font-size: 11px;
}

.pricing-card {
    min-height: 500px;
}

.pricing-card.is-featured {
    border-color: #64b2fb;
    box-shadow: 0 25px 60px rgba(22, 135, 248, 0.14);
}

.pricing-label {
    background: #e7f3ff;
    color: #0769cf;
}

.pricing-clarity {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: -13px 0 25px;
}

.pricing-clarity span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #d8e5f0;
    border-radius: 999px;
    background: #f8fbfe;
    color: #52657b;
    font-size: 11px;
    font-weight: 800;
}

.pricing-clarity span::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #1687f8;
    content: "";
}

.pricing-swipe-hint {
    display: none;
}

.faq-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(22, 135, 248, .08), transparent 24%),
        #f6f9fc !important;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 76px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 112px;
}

.faq-intro h2 {
    margin-top: 10px;
}

.faq-intro p {
    margin: 18px 0 24px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #d9e5f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.faq-item summary {
    position: relative;
    padding: 21px 58px 21px 22px;
    color: #142033;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: #e8f4ff;
    color: #0874dc;
    content: "+";
    font-size: 19px;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    color: #0769cf;
}

.faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: #64748b;
    line-height: 1.7;
}

.cta {
    background: #f6f9fc;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 46px;
    border-radius: 28px;
    border: 1px solid #cae2f8;
    background:
        radial-gradient(circle at 92% 10%, rgba(22, 135, 248, 0.15), transparent 30%),
        linear-gradient(135deg, #f2f8ff, #ffffff);
    color: #0f172a;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
}

.cta-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(22, 135, 248, 0.07);
    pointer-events: none;
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.cta-card p {
    color: #64748b;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.cta-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 11px;
    border: 1px solid #d5e4f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #405269;
    font-size: 12px;
    font-weight: 800;
}

.cta-benefits span::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #18af75;
    box-shadow: 0 0 0 4px rgba(24, 175, 117, 0.11);
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    min-width: 190px;
}

.cta-actions .btn {
    width: 100%;
    justify-content: center;
}

.footer {
    padding: 72px 0 0;
    border-top: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(22, 135, 248, 0.16), transparent 27%),
        #07111f;
    color: #9cadc1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(150px, .72fr)) minmax(230px, 1fr);
    gap: 54px;
    align-items: start;
    padding-bottom: 54px;
}

.footer-brand-column p,
.footer-assurance p {
    max-width: 340px;
    margin: 20px 0 0;
    color: #9cadc1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.footer .brand-logo-full {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.footer-badges span {
    padding: 7px 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #cbd7e5;
    font-size: 11px;
    font-weight: 800;
}

.footer-link-group {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-link-group strong,
.footer-assurance > strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.footer a {
    color: #9cadc1;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-link-group a {
    width: fit-content;
    font-size: 14px;
}

.footer a:hover {
    color: #ffffff;
}

.footer-assurance a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #63b7ff;
    font-size: 14px;
    font-weight: 900;
}

.footer-assurance a:hover {
    color: #a7d7ff;
    transform: translateX(2px);
}

.footer-bottom {
    width: var(--wrap);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #71849a;
    font-size: 12px;
}

.app-lightbox {
    width: min(1180px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #cdddea;
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 30px 100px rgba(3, 7, 18, .35);
}

.app-lightbox::backdrop {
    background: rgba(3, 7, 18, .74);
    backdrop-filter: blur(7px);
}

.app-lightbox-shell {
    display: grid;
    max-height: calc(100vh - 34px);
}

.app-lightbox-head {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 16px 12px 20px;
    border-bottom: 1px solid #dbe5f0;
}

.app-lightbox-head > div {
    display: grid;
    gap: 3px;
}

.app-lightbox-head strong {
    font-size: 18px;
}

.app-lightbox-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d6e2ed;
    border-radius: 12px;
    background: #f7fafc;
    color: #334155;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.app-lightbox > .app-lightbox-shell > img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 106px);
    object-fit: contain;
    background: #eef4f9;
}

/* Inhalte bleiben auch sichtbar, wenn Browser Animationen oder Observer einschränken. */
.reveal {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .nav-inner {
        position: relative;
    }

    .nav-toggle {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        gap: 3px;
        padding: 10px;
        border: 1px solid #d7e3ef;
        border-radius: 18px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
        backdrop-filter: blur(16px);
    }

    .nav-links.is-open {
        display: grid;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 13px;
        border-radius: 11px;
        color: #334155;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: #eef6ff;
        color: #0874dc;
    }

    .hero {
        min-height: auto;
    }

    .dashboard-wrap {
        min-height: 590px;
        margin-inline: auto;
    }

    .hero-photo-frame {
        height: 540px;
    }

    .product-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-showcase {
        grid-template-columns: 1fr;
    }

    .app-preview-main {
        grid-column: auto;
    }

    .app-preview-main img {
        min-height: 0;
        aspect-ratio: 16 / 7;
    }

    .app-preview-stack {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 20px;
    }

    .app-preview-stack .app-preview img {
        aspect-ratio: 16 / 9;
    }

    .service-scenes {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .industry-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .industry-card {
        aspect-ratio: 4 / 3;
    }

    .industry-card-large {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 8;
    }

    .industry-fit {
        grid-template-columns: 1fr;
    }

    .fiscal-choice-head,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fiscal-onboarding {
        grid-template-columns: 1fr;
    }

    .fiscal-onboarding ol {
        flex-wrap: wrap;
    }

    .faq-intro {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px;
    }

    .service-scene-wide {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 500px;
    }

    .product-story:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .nav .brand {
        gap: 8px;
        padding: 0;
    }

    .brand-logo-full {
        width: 133px;
        height: 48px;
        flex-basis: 133px;
        border-radius: 13px;
    }

    .brand-logo-full img {
        width: 150px;
        height: 150px;
        transform: translate(-19px, -46.7px);
    }

    .nav .brand-logo-full {
        width: 148px;
        height: 40px;
        flex-basis: 148px;
    }

    .nav .brand-logo-full img {
        width: 100%;
        height: 100%;
        transform: none;
    }

    .cta-card {
        padding: 28px 22px;
    }

    .cta-actions {
        width: 100%;
        min-width: 0;
    }

    .cta-benefits {
        display: grid;
    }

    .footer {
        padding-top: 52px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 18px;
        padding-bottom: 38px;
    }

    .footer-brand-column,
    .footer-assurance {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        min-height: 0;
        padding: 22px 0 28px;
        display: grid;
        gap: 8px;
    }

    .hero {
        padding-top: 104px;
    }

    h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .app-preview-stack,
    .service-scenes {
        grid-template-columns: 1fr;
    }

    .app-preview,
    .service-scene,
    .service-scene-wide {
        min-height: 0;
    }

    .app-preview img,
    .app-preview-stack .app-preview img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .app-preview-main img {
        min-height: 0;
        aspect-ratio: 16 / 7.2;
    }

    .app-preview-copy {
        padding: 18px;
    }

    .service-scene,
    .service-scene-wide {
        aspect-ratio: 4 / 3;
    }

    .service-scene-note {
        min-height: 0;
        padding: 26px;
    }

    .industry-mosaic {
        grid-template-columns: 1fr;
    }

    .industry-card,
    .industry-card-large {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .industry-card-large {
        aspect-ratio: 4 / 3.25;
    }

    .industry-card figcaption {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .industry-fit {
        padding: 25px 22px;
    }

    .industry-fit-actions {
        width: 100%;
    }

    .industry-fit-actions .btn {
        width: 100%;
    }

    .fiscal-mode-grid {
        grid-template-columns: 1fr;
    }

    .fiscal-mode-card {
        padding: 24px 22px;
    }

    .fiscal-mode-card > p {
        min-height: 0;
    }

    .fiscal-onboarding {
        padding: 24px 22px;
    }

    .fiscal-onboarding ol {
        display: grid;
    }

    .fiscal-onboarding .btn {
        width: 100%;
    }

    .pricing-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -13px 0 16px;
        color: #53657a;
        font-size: 12px;
        font-weight: 850;
    }

    .pricing-grid {
        display: flex;
        gap: 14px;
        margin-inline: -12px;
        padding: 4px 12px 22px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .pricing-card,
    .pricing-card.is-featured {
        flex: 0 0 min(86vw, 340px);
        min-height: 520px;
        scroll-snap-align: center;
    }

    .faq-layout {
        gap: 28px;
    }

    .faq-intro .btn {
        width: 100%;
    }

    .faq-item summary {
        padding: 19px 54px 19px 18px;
        font-size: 15px;
    }

    .faq-item p {
        padding: 0 18px 19px;
    }

    .product-story:last-child {
        grid-column: auto;
    }

    .dashboard-wrap {
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-photo-frame {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .hero-photo {
        object-position: 55% center;
    }

    .hero-photo-label {
        top: 12px;
        left: 12px;
    }

    .hero-dashboard {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 28px);
        margin: -44px auto 0;
    }

    .hero-dashboard .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-item {
        min-height: 88px;
        padding: 13px;
    }

    .proof-item strong {
        font-size: 20px;
    }

    .proof-item span {
        font-size: 11px;
    }
}

/* Scrolltelling: echte App-Ansichten bleiben stehen, während die Geschichte weiterläuft. */
.story-section {
    position: relative;
    overflow: visible;
    padding-block: 118px 132px;
    background:
        radial-gradient(circle at 88% 8%, rgba(22, 135, 248, .12), transparent 25%),
        radial-gradient(circle at 8% 72%, rgba(22, 166, 106, .06), transparent 22%),
        #f5f9fd !important;
}

.story-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .58;
    background:
        linear-gradient(rgba(15, 23, 42, .027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .027) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 68%);
    pointer-events: none;
}

.story-section .wrap {
    position: relative;
    z-index: 1;
}

.story-intro {
    max-width: 900px;
    margin-bottom: 70px;
}

.story-intro h2 {
    max-width: 900px;
    margin: 10px 0 0;
    font-size: clamp(38px, 5.4vw, 66px);
    line-height: .99;
    letter-spacing: -.045em;
}

.story-intro p {
    max-width: 720px;
    margin: 20px 0 0;
    color: #5c6d82;
    font-size: 18px;
    line-height: 1.7;
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: start;
}

.story-steps {
    display: grid;
}

.story-step {
    position: relative;
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 30px 38px 36px;
    border: 1px solid transparent;
    border-radius: 24px;
    color: #617187;
    transition:
        color .35s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

.story-step::before {
    position: absolute;
    top: 50%;
    left: -1px;
    width: 3px;
    height: 72px;
    border-radius: 999px;
    background: #cbd9e7;
    content: "";
    transform: translateY(-50%);
    transition: height .35s ease, background .35s ease, box-shadow .35s ease;
}

.story-step.is-active {
    border-color: #d8e7f5;
    background: rgba(255, 255, 255, .88);
    color: #0f172a;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .08);
    transform: translateX(8px);
}

.story-step.is-active::before {
    height: 116px;
    background: #1687f8;
    box-shadow: 0 0 0 7px rgba(22, 135, 248, .1);
}

.story-step-index {
    color: #0874dc;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.story-step h3 {
    margin: 13px 0 0;
    color: inherit;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.story-step > p {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.72;
}

.story-facts {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    color: #46576c;
    font-size: 13px;
    font-weight: 750;
    list-style: none;
}

.story-facts li {
    position: relative;
    padding-left: 22px;
}

.story-facts li::before {
    position: absolute;
    top: .52em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19ad73;
    box-shadow: 0 0 0 4px rgba(25, 173, 115, .1);
    content: "";
}

.story-step-mobile-image {
    display: none;
}

.story-stage {
    position: sticky;
    top: 104px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #cfddea;
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .15);
    transform: translateZ(0);
}

.story-stage::before {
    position: absolute;
    z-index: 0;
    top: -160px;
    right: -130px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(22, 135, 248, .12);
    content: "";
    filter: blur(4px);
    pointer-events: none;
}

.story-stage-bar,
.story-stage-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-inline: 19px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
}

.story-stage-bar {
    min-height: 58px;
    border-bottom: 1px solid #dbe5f0;
}

.story-stage-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.story-stage-brand i,
.story-stage-footer i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #19ad73;
    box-shadow: 0 0 0 5px rgba(25, 173, 115, .1);
}

.story-stage-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.story-stage-controls > span {
    min-width: 46px;
    margin-left: 5px;
    color: #718197;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
}

.story-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cad7e4;
    cursor: pointer;
    transition: width .25s ease, border-radius .25s ease, background .25s ease;
}

.story-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #1687f8;
}

.story-stage-media {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #edf4fa;
}

.story-panel {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.985) translateY(12px);
    transition: opacity .42s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.story-panel.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.story-panel::after {
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    content: "";
    background: linear-gradient(transparent, rgba(238, 245, 251, .9));
    pointer-events: none;
}

.story-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    cursor: zoom-in;
}

.story-panel figcaption {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 17px;
    left: 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    color: #0f172a;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
    backdrop-filter: blur(16px);
}

.story-panel figcaption span {
    color: #0874dc;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.story-panel figcaption strong {
    font-size: 13px;
    text-align: right;
}

.story-stage-footer {
    min-height: 54px;
    border-top: 1px solid #dbe5f0;
    color: #6a7a8e;
    font-size: 10px;
    font-weight: 800;
}

.story-stage-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.story-stage-footer b {
    color: #334155;
    font-size: 11px;
}

/* Die folgenden Inhaltsbereiche führen die Erzählung ohne Video weiter. */
#funktionen {
    padding-block: 122px;
}

#funktionen .wrap,
.workflow-section .wrap {
    display: grid;
    grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr);
    gap: clamp(44px, 7vw, 92px);
    align-items: start;
}

#funktionen .section-head,
.workflow-section .section-head {
    position: sticky;
    top: 112px;
    margin: 0;
}

#funktionen .feature-grid,
.workflow-section .workflow-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

#funktionen .feature-card,
.workflow-section .workflow-card {
    min-height: 210px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    align-content: center;
    padding: 30px;
    border-radius: 22px;
}

#funktionen .feature-icon,
.workflow-section .workflow-card > span {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin: 0;
}

#funktionen .feature-card h3,
#funktionen .feature-card p,
.workflow-section .workflow-card h3,
.workflow-section .workflow-card p {
    grid-column: 2;
}

#funktionen .feature-card h3,
.workflow-section .workflow-card h3 {
    font-size: clamp(24px, 2.6vw, 34px);
    letter-spacing: -.03em;
}

#funktionen .feature-card p,
.workflow-section .workflow-card p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.7;
}

.workflow-section {
    padding-block: 122px;
    background:
        radial-gradient(circle at 10% 15%, rgba(22, 135, 248, .09), transparent 24%),
        #f5f9fd !important;
}

.workflow-section .workflow-card {
    border-color: #d7e4f0;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .055);
}

.workflow-section .workflow-card::after {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
    background: linear-gradient(#1687f8, #56b6ff);
}

.workflow-section .workflow-card > span {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #e7f3ff;
    color: #0769cf;
}

.workflow-section .workflow-card p {
    color: #64748b;
}

@media (max-width: 980px) {
    .story-section {
        padding-block: 90px;
    }

    .story-intro {
        margin-bottom: 42px;
    }

    .story-layout {
        display: block;
    }

    .story-stage {
        display: none;
    }

    .story-steps {
        gap: 22px;
    }

    .story-step,
    .story-step.is-active {
        min-height: 0;
        padding: 28px;
        border-color: #d7e4f0;
        background: #ffffff;
        box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
        transform: none;
    }

    .story-step::before {
        top: 28px;
        left: 0;
        height: 62px;
        transform: none;
    }

    .story-step.is-active::before {
        height: 62px;
    }

    .story-step-mobile-image {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 26px;
        border: 1px solid #dbe5f0;
        border-radius: 16px;
        background: #eef4f9;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
        cursor: zoom-in;
    }

    #funktionen .wrap,
    .workflow-section .wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #funktionen .section-head,
    .workflow-section .section-head {
        position: static;
    }
}

@media (max-width: 640px) {
    .story-section,
    #funktionen,
    .workflow-section {
        padding-block: 72px;
    }

    .story-intro h2 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .story-intro p {
        font-size: 16px;
    }

    .story-step,
    .story-step.is-active {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .story-step h3 {
        font-size: 29px;
    }

    .story-step-mobile-image {
        aspect-ratio: 16 / 10;
        object-fit: cover;
        object-position: top center;
    }

    #funktionen .feature-card,
    .workflow-section .workflow-card {
        min-height: 0;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 16px;
        padding: 23px 20px;
    }

    #funktionen .feature-icon,
    .workflow-section .workflow-card > span {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-panel,
    .story-step,
    .story-dot {
        transition: none;
    }
}

/* Cinematic product system: Die Videobühne gibt den Rhythmus für die ganze Seite vor. */
main {
    overflow: clip;
}

main > section,
main > header {
    scroll-margin-top: 88px;
}

.hero {
    min-height: auto;
    padding: 146px 0 108px;
    background:
        radial-gradient(circle at 18% 16%, rgba(22, 135, 248, .11), transparent 28%),
        radial-gradient(circle at 12% 78%, rgba(25, 173, 115, .06), transparent 22%),
        #ffffff;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .6;
    background:
        linear-gradient(rgba(15, 23, 42, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .026) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, black, transparent 62%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 40px));
    grid-template-columns: minmax(410px, .78fr) minmax(570px, 1.22fr);
    gap: clamp(34px, 4.5vw, 68px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 670px;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(50px, 4.8vw, 68px);
}

.hero-copy {
    max-width: 640px;
}

.hero-proof {
    gap: 18px;
    margin-top: 40px;
}

.hero .proof-item {
    min-height: 92px;
    padding: 16px 2px 0;
    border: 0;
    border-top: 1px solid #cfdeec;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero .proof-item strong {
    color: #0874dc;
    font-size: 20px;
}

.hero .proof-item span {
    max-width: 175px;
    color: #627287;
    font-size: 11px;
    line-height: 1.5;
}

.hero-video-stage {
    position: relative;
    min-width: 0;
    padding: 22px 0 0;
}

.hero-video-stage::before,
.hero-video-stage::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    filter: blur(2px);
}

.hero-video-stage::before {
    top: -48px;
    right: -68px;
    width: 260px;
    height: 260px;
    background: rgba(22, 135, 248, .12);
}

.hero-video-stage::after {
    bottom: -42px;
    left: -36px;
    width: 150px;
    height: 150px;
    background: rgba(25, 173, 115, .08);
}

.hero-video-shell {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #cadbea;
    border-radius: 28px;
    background: rgba(255, 255, 255, .98);
    box-shadow:
        0 42px 100px rgba(15, 23, 42, .16),
        0 10px 28px rgba(15, 23, 42, .07);
    transform: perspective(1400px) rotateY(-1.5deg) rotateX(.5deg);
    transform-origin: center left;
}

.hero-video-bar {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px;
    border-bottom: 1px solid #dbe5f0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.hero-video-brand,
.hero-video-brand strong,
.hero-video-toggle,
.hero-video-note,
.hero-video-note > span {
    display: inline-flex;
    align-items: center;
}

.hero-video-brand {
    min-width: 0;
    gap: 12px;
}

.hero-video-brand strong {
    gap: 8px;
    color: #26354a;
    font-size: 12px;
    white-space: nowrap;
}

.hero-video-brand .pulse-dot {
    width: 8px;
    height: 8px;
}

.hero-video-brand .window-dots {
    display: inline-flex;
    gap: 5px;
}

.hero-video-brand .window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8d5e2;
}

.hero-video-brand .window-dots i:first-child {
    background: #ff6674;
}

.hero-video-brand .window-dots i:nth-child(2) {
    background: #f4aa27;
}

.hero-video-brand .window-dots i:last-child {
    background: #20ad75;
}

.hero-video-toggle {
    min-height: 34px;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid #d7e3ef;
    border-radius: 999px;
    background: #f8fbfe;
    color: #53657a;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
    border-color: #9dc9f1;
    background: #edf6ff;
    color: #0769cf;
}

.hero-video-toggle-icon {
    width: 12px;
    color: #1687f8;
    font-size: 10px;
    text-align: center;
}

.hero-video-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7f9fc;
}

.hero-video-media::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    content: "";
    pointer-events: none;
}

.hero-video-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-progress {
    position: relative;
    height: 3px;
    overflow: hidden;
    background: #e0e9f2;
}

.hero-video-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1687f8, #48adff, #19ad73);
    transform: scaleX(0);
    transform-origin: left center;
    animation: heroVideoProgress 8.2s linear infinite;
}

.hero-video-stage.is-paused .hero-video-progress span {
    animation-play-state: paused;
}

.hero-video-chapters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #edf2f7;
    background: #ffffff;
}

.hero-video-chapters span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 17px 16px;
    color: #52647a;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.hero-video-chapters span + span {
    border-left: 1px solid #e4ebf2;
}

.hero-video-chapters b {
    color: #1687f8;
    font-size: 9px;
    letter-spacing: .06em;
}

.hero-video-note {
    position: relative;
    z-index: 2;
    width: calc(100% - 42px);
    justify-content: space-between;
    gap: 18px;
    margin: 13px auto 0;
    color: #68798e;
    font-size: 10px;
    font-weight: 800;
}

.hero-video-note > span {
    gap: 8px;
}

.hero-video-note i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19ad73;
    box-shadow: 0 0 0 5px rgba(25, 173, 115, .1);
}

.hero-video-note small {
    color: #8a98aa;
    font-size: inherit;
}

@keyframes heroVideoProgress {
    to {
        transform: scaleX(1);
    }
}

/* Gemeinsame Kapitelgestaltung für die nachfolgenden Scroll-Abschnitte. */
.section {
    padding-block: 132px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.section-kicker::before {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #1687f8;
    box-shadow: 0 0 0 5px rgba(22, 135, 248, .09);
    content: "";
}

.section-head h2,
.faq-intro h2,
.fiscal-choice-head h2 {
    max-width: 840px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: clamp(39px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}

@media (min-width: 981px) {
    #funktionen .wrap,
    .workflow-section .wrap {
        grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
    }

    #funktionen .section-head h2,
    .workflow-section .section-head h2 {
        font-size: clamp(40px, 4vw, 56px);
    }
}

.story-section {
    border-top: 1px solid rgba(207, 221, 234, .8);
}

.story-stage {
    border-radius: 30px;
    box-shadow:
        0 42px 100px rgba(15, 23, 42, .14),
        0 10px 28px rgba(15, 23, 42, .06);
}

.story-stage-bar {
    min-height: 60px;
}

#funktionen,
.industry-section,
#preise {
    position: relative;
    background:
        radial-gradient(circle at 92% 8%, rgba(22, 135, 248, .07), transparent 22%),
        #ffffff !important;
}

#funktionen::before,
#preise::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .38;
    background:
        linear-gradient(rgba(15, 23, 42, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 24%, transparent 86%);
    pointer-events: none;
}

#funktionen .wrap,
#preise .wrap {
    position: relative;
    z-index: 1;
}

#funktionen .feature-grid,
.workflow-section .workflow-grid {
    position: relative;
}

#funktionen .feature-card,
.workflow-section .workflow-card {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .07);
}

#funktionen .feature-card::before,
.workflow-section .workflow-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #1687f8, #6dc1ff);
    content: "";
}

#funktionen .feature-card:nth-child(even) {
    background:
        radial-gradient(circle at 95% 0%, rgba(22, 135, 248, .08), transparent 34%),
        #ffffff;
}

#funktionen .feature-icon,
.workflow-section .workflow-card > span {
    border: 1px solid #cde4f8;
    box-shadow: 0 10px 24px rgba(22, 135, 248, .1);
}

.workflow-section {
    border-block: 1px solid #dfe9f2;
    background:
        radial-gradient(circle at 9% 12%, rgba(22, 135, 248, .1), transparent 24%),
        radial-gradient(circle at 82% 86%, rgba(25, 173, 115, .055), transparent 20%),
        #f5f9fd !important;
}

.workflow-section .workflow-grid::before {
    position: absolute;
    top: 54px;
    bottom: 54px;
    left: 55px;
    width: 1px;
    background: linear-gradient(transparent, #b9d8f2 14%, #b9d8f2 86%, transparent);
    content: "";
}

.workflow-section .workflow-card {
    position: relative;
}

.industry-section .section-head,
#preise .section-head {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
    column-gap: clamp(48px, 8vw, 110px);
    align-items: end;
}

.industry-section .section-head .section-kicker,
#preise .section-head .section-kicker,
.industry-section .section-head h2,
#preise .section-head h2 {
    grid-column: 1;
}

.industry-section .section-head p,
#preise .section-head p {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0 0 6px;
}

.industry-mosaic {
    grid-template-rows: repeat(2, 270px);
    gap: 20px;
}

.industry-card {
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
}

.industry-card figcaption {
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(7, 17, 31, .42);
    backdrop-filter: blur(13px);
}

.industry-fit {
    padding: 34px 36px;
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.fiscal-choice-section {
    padding-block: 142px;
}

.fiscal-choice-section::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .14;
    background:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 75%, transparent);
    pointer-events: none;
}

.fiscal-choice-section .wrap {
    position: relative;
    z-index: 1;
}

.fiscal-mode-card {
    border-radius: 28px;
    backdrop-filter: blur(12px);
}

.fiscal-mode-card.is-featured {
    box-shadow: 0 30px 80px rgba(22, 135, 248, .2);
}

.fiscal-onboarding {
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

#preise .pricing-clarity {
    margin-top: 34px;
}

.pricing-grid {
    gap: 20px;
}

.pricing-card {
    border-radius: 28px;
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
}

.pricing-card.is-featured {
    transform: translateY(-12px);
    box-shadow: 0 34px 76px rgba(22, 135, 248, .17);
}

.faq-section {
    border-top: 1px solid #dfe9f2;
    background:
        radial-gradient(circle at 8% 13%, rgba(22, 135, 248, .1), transparent 24%),
        #f5f9fd !important;
}

.faq-item {
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .055);
}

.faq-item[open] {
    border-color: #add1f1;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .08);
}

.cta {
    padding: 42px 0 120px;
    background: #f5f9fd;
}

.cta-card {
    padding: 54px;
    border-color: rgba(119, 190, 255, .3);
    background:
        radial-gradient(circle at 85% 18%, rgba(91, 183, 255, .3), transparent 27%),
        radial-gradient(circle at 12% 90%, rgba(25, 173, 115, .14), transparent 24%),
        linear-gradient(135deg, #0a1a30, #0c2848);
    color: #ffffff;
    box-shadow: 0 34px 86px rgba(7, 17, 31, .24);
}

.cta-card .section-kicker {
    color: #8cccff;
}

.cta-card h2 {
    max-width: 740px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -.045em;
}

.cta-card p {
    color: #b9c9da;
}

.cta-benefits span {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: #dce8f4;
}

.cta-card .btn-dark {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.cta-card .btn-dark:hover {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .14);
}

@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: minmax(370px, .82fr) minmax(500px, 1.18fr);
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(48px, 5.7vw, 64px);
    }

    .hero-video-toggle-label {
        display: none;
    }
}

@media (max-width: 980px) {
    .hero {
        padding: 128px 0 92px;
    }

    .hero-inner {
        width: min(860px, calc(100% - 34px));
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero h1 {
        max-width: 780px;
        overflow-wrap: normal;
        word-break: normal;
        font-size: clamp(52px, 8.8vw, 76px);
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-video-stage {
        width: 100%;
        max-width: 820px;
        margin-inline: auto;
        padding-top: 0;
    }

    .hero-video-shell {
        transform: none;
    }

    .industry-section .section-head,
    #preise .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .industry-section .section-head p,
    #preise .section-head p {
        grid-column: 1;
        grid-row: auto;
        max-width: 720px;
        margin: 0;
    }

    .pricing-card.is-featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 102px 0 72px;
    }

    .hero-inner {
        width: min(100% - 24px, 560px);
        gap: 28px;
    }

    .hero-content {
        display: contents;
    }

    .hero-content .eyebrow {
        grid-row: 1;
        width: fit-content;
        margin-bottom: 0;
    }

    .hero-content h1 {
        grid-row: 2;
    }

    .hero-video-stage {
        grid-row: 3;
        margin-top: 4px;
    }

    .hero-content .hero-copy {
        grid-row: 4;
        margin-top: 2px;
    }

    .hero-content .hero-actions {
        grid-row: 5;
        margin-top: 4px;
    }

    .hero-content .hero-proof {
        grid-row: 6;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-proof {
        gap: 10px;
        margin-top: 32px;
    }

    .hero .proof-item {
        min-height: 100px;
        padding-top: 13px;
    }

    .hero .proof-item strong {
        font-size: 17px;
    }

    .hero .proof-item span {
        font-size: 10px;
    }

    .hero-video-shell {
        border-radius: 20px;
    }

    .hero-video-bar {
        min-height: 48px;
        padding-inline: 13px;
    }

    .hero-video-brand {
        gap: 8px;
    }

    .hero-video-brand strong {
        font-size: 10px;
    }

    .hero-video-brand .window-dots {
        gap: 3px;
    }

    .hero-video-brand .window-dots i {
        width: 6px;
        height: 6px;
    }

    .hero-video-toggle {
        min-height: 30px;
        padding-inline: 9px;
    }

    .hero-video-chapters span {
        justify-content: center;
        gap: 5px;
        padding: 12px 4px;
        font-size: 8px;
    }

    .hero-video-chapters b {
        font-size: 8px;
    }

    .hero-video-note {
        width: calc(100% - 24px);
        align-items: flex-start;
        font-size: 9px;
    }

    .hero-video-note small {
        text-align: right;
    }

    .section,
    .fiscal-choice-section {
        padding-block: 82px;
    }

    .section-head h2,
    .faq-intro h2,
    .fiscal-choice-head h2 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .workflow-section .workflow-grid::before {
        left: 43px;
    }

    .industry-mosaic {
        gap: 14px;
    }

    .industry-card {
        border-radius: 22px;
    }

    .industry-card figcaption {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 13px 14px;
        border-radius: 15px;
    }

    .industry-fit,
    .fiscal-mode-card,
    .pricing-card {
        border-radius: 22px;
    }

    .cta {
        padding: 18px 0 76px;
    }

    .cta-card {
        padding: 34px 22px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-progress span {
        width: 42%;
        animation: none;
        transform: none;
    }

    .hero-video-shell {
        transform: none;
    }
}

/* Scroll-Scrub-Hero: Das Produktvideo steht frei und folgt exakt dem Seitenfortschritt. */
.hero-video-stage {
    --hero-scroll-progress: 0;
    --hero-video-scale: 1;
    --hero-video-shift: 0%;
    position: relative;
    min-width: 0;
    padding: 0;
}

.hero-video-stage::before,
.hero-video-stage::after {
    display: none;
}

.hero-product-video {
    position: relative;
    z-index: 1;
    display: block;
    width: 116%;
    max-width: none;
    height: auto;
    margin-left: -8%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: transparent;
    object-fit: contain;
    filter: brightness(1.015) contrast(.99) saturate(1.02);
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 69%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 69%, transparent 100%);
    transform: translateX(var(--hero-video-shift)) scale(var(--hero-video-scale));
    transform-origin: 58% 50%;
    will-change: transform;
}

.hero-scroll-cue {
    position: relative;
    z-index: 2;
    width: min(360px, 78%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: -18px auto 0;
    color: #6b7d92;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .015em;
}

.hero-scroll-cue > i {
    position: relative;
    width: 86px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: #d6e3ef;
}

.hero-scroll-cue > i > b {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #1687f8, #19ad73);
    transform: scaleX(var(--hero-scroll-progress));
    transform-origin: left center;
    will-change: transform;
}

@media (min-width: 981px) {
    .hero {
        min-height: 185svh;
        display: block;
        padding: 0;
        overflow: visible;
    }

    .hero-inner {
        position: sticky;
        top: 74px;
        min-height: calc(100svh - 74px);
        padding-block: 48px;
        align-items: center;
    }

}

@media (max-width: 980px) {
    .hero-product-video {
        width: 108%;
        margin-left: -4%;
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero-product-video {
        width: 120%;
        margin-left: -10%;
    }

    .hero-scroll-cue {
        width: 88%;
        gap: 9px;
        margin-top: -12px;
        font-size: 9px;
    }

    .hero-scroll-cue > i {
        width: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        position: static;
        min-height: auto;
    }

    .hero-scroll-cue {
        display: none;
    }
}

/* Durchgehende Produktreise: Das Hero-Tablet wird an die Story weitergereicht. */
.hero-video-stage.reveal {
    opacity: var(--hero-handoff-opacity, 1);
    transition: opacity .08s linear;
    transition-delay: 0s !important;
}

.story-panel {
    opacity: var(--story-panel-opacity, 0);
    transform:
        translateY(var(--story-panel-shift, 14px))
        scale(var(--story-panel-scale, .99));
    transition:
        opacity .12s linear,
        transform .18s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

.story-panel.is-active {
    opacity: var(--story-panel-opacity, 1);
    transform:
        translateY(var(--story-panel-shift, 0))
        scale(var(--story-panel-scale, 1));
}

@media (min-width: 981px) {
    .story-section {
        padding-block: 0 132px;
    }

    .story-section .wrap {
        width: min(1280px, calc(100% - 40px));
    }

    .story-layout {
        grid-template-columns: minmax(410px, .78fr) minmax(570px, 1.22fr);
        gap: clamp(34px, 4.5vw, 68px);
    }

    .story-copy {
        min-width: 0;
    }

    .story-intro {
        min-height: 92svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 82px 16px 58px 0;
    }

    .story-intro h2 {
        font-size: clamp(40px, 4.2vw, 60px);
    }

    .story-intro p {
        max-width: 560px;
        font-size: 17px;
    }

    .story-step {
        min-height: 82svh;
    }

    .story-stage.reveal {
        --story-handoff-opacity: 0;
        --story-handoff-scale: .92;
        --story-handoff-y: 55px;
        --story-chrome-opacity: 0;
        position: sticky;
        z-index: 4;
        top: 96px;
        align-self: start;
        min-width: 0;
        margin-top: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: var(--story-handoff-opacity);
        transform:
            translateY(var(--story-handoff-y))
            scale(var(--story-handoff-scale));
        transform-origin: center center;
        transition: opacity .08s linear;
        transition-delay: 0s !important;
        will-change: opacity;
    }

    .story-stage::before {
        display: none;
    }

    .story-stage-bar,
    .story-stage-footer {
        padding-inline: 4px;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        opacity: var(--story-chrome-opacity);
        transition: opacity .12s linear;
        transition-delay: 0s !important;
    }

    .story-stage-bar {
        min-height: 48px;
    }

    .story-stage-brand,
    .story-stage-controls {
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid rgba(207, 221, 234, .92);
        border-radius: 999px;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
        backdrop-filter: blur(14px);
    }

    .story-stage-media {
        --story-bezel-x: clamp(20px, 2.35vw, 32px);
        --story-bezel-top: clamp(24px, 2.75vw, 38px);
        --story-bezel-bottom: clamp(25px, 2.9vw, 40px);
        position: relative;
        aspect-ratio: 1305 / 920;
        overflow: hidden;
        border: 1px solid #5a626c;
        border-radius: clamp(30px, 3.3vw, 48px);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 13%),
            linear-gradient(145deg, #34383d, #1f2328 66%, #30353b);
        box-shadow:
            0 42px 75px rgba(15, 23, 42, .2),
            0 5px 12px rgba(15, 23, 42, .12),
            inset 0 0 0 2px rgba(255, 255, 255, .08);
    }

    .story-stage-media::after {
        position: absolute;
        z-index: 4;
        inset: 2px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: inherit;
        content: "";
        pointer-events: none;
    }

    .story-panel,
    .story-panel.is-active {
        inset:
            var(--story-bezel-top)
            var(--story-bezel-x)
            var(--story-bezel-bottom);
        overflow: hidden;
        border: 1px solid rgba(15, 23, 42, .18);
        border-radius: clamp(15px, 1.55vw, 22px);
        background: #f8fbfe;
    }

    .story-panel::after,
    .story-panel figcaption {
        display: none;
    }

    .story-panel img {
        object-fit: cover;
        object-position: top center;
    }

    .story-stage-footer {
        min-height: 48px;
        margin-top: 10px;
        color: #6a7a8e;
    }

    .story-stage-footer > span:first-child {
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid #d4e2ef;
        border-radius: 999px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-stage,
    .story-stage,
    .story-panel {
        transition: none;
    }
}
