/* =====================================================================
   AI Cowork – Website (Peter-Krause-Designsystem)
   ===================================================================== */

@font-face {
    font-family: "Safiro";
    src: url("../fonts/safiro-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Safiro";
    src: url("../fonts/safiro-semibold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("../fonts/nunito-sans.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

:root {
    --bg: #f7f8fc;
    --bg-tint: #eef1f8;
    --surface: #ffffff;
    --text: #0e1c4b;
    --text-muted: #5d6585;
    --text-soft: #474f73;
    --accent: #c8176b;
    --accent-bright: #e21c7b;
    --accent-strong: #3a48b1;
    --navy: #041c48;
    --success: #6e9e82;
    --border: rgba(14, 28, 75, 0.1);
    --border-strong: rgba(14, 28, 75, 0.22);
    --shadow-sm: 0 6px 18px rgba(4, 28, 72, 0.06);
    --shadow: 0 18px 48px rgba(4, 28, 72, 0.1);
    --radius-sm: 14px;
    --radius: 18px;
    --radius-lg: 24px;
    --maxw: 1180px;
    --gutter: clamp(20px, 4vw, 32px);
    --font-head: "Safiro", Georgia, serif;
    --font-body: "Nunito Sans", Arial, sans-serif;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --brand-gradient: linear-gradient(100deg, #d81b78 0%, #7d359b 55%, #3a48b1 100%);
    --hero-gradient:
        radial-gradient(70% 90% at 92% 8%, rgba(125, 53, 155, 0.55) 0%, rgba(125, 53, 155, 0) 60%),
        radial-gradient(60% 80% at 4% 100%, rgba(226, 28, 123, 0.32) 0%, rgba(226, 28, 123, 0) 62%),
        linear-gradient(150deg, #041c48 0%, #06225a 55%, #0d2b6e 100%);
    --dark-gradient:
        radial-gradient(60% 90% at 100% 0%, rgba(226, 28, 123, 0.28) 0%, rgba(226, 28, 123, 0) 60%),
        radial-gradient(50% 70% at 0% 100%, rgba(58, 72, 177, 0.4) 0%, rgba(58, 72, 177, 0) 65%),
        linear-gradient(135deg, #041c48 0%, #051f4e 60%, #0b2862 100%);
    --nav-h: 85px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

h1,
h2 {
    font-family: var(--font-head);
    font-weight: 400;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

h3 {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

a {
    color: var(--accent-strong);
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

button {
    font: inherit;
}

.icon {
    flex-shrink: 0;
}

.icon--bot {
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.hv-node__icon > .icon--bot,
.hv-rows__icon > .icon--bot {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.container {
    width: 100%;
    max-width: calc(var(--maxw) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: calc(880px + 2 * var(--gutter));
}

.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;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--text);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

main:focus {
    outline: none;
}

/* Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 0.92rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0 30px;
    font-size: 1.04rem;
}

.btn--block {
    width: 100%;
}

@property --btn-orbit {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.btn--primary {
    position: relative;
    background: var(--brand-gradient) border-box;
    color: #ffffff;
}

.btn--primary::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--btn-orbit),
        transparent 0deg,
        rgba(255, 196, 228, 0) 70deg,
        rgba(255, 196, 228, 0.9) 160deg,
        #ffffff 176deg,
        transparent 184deg,
        rgba(196, 206, 255, 0) 250deg,
        rgba(196, 206, 255, 0.9) 340deg,
        #ffffff 356deg,
        transparent 364deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.btn--primary:hover {
    background: var(--brand-gradient) border-box;
    box-shadow: 0 14px 34px rgba(200, 23, 107, 0.3);
    filter: saturate(1.15) brightness(1.05);
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before {
    opacity: 1;
    animation: btn-orbit 2.4s linear infinite;
}

@keyframes btn-orbit {
    to {
        --btn-orbit: 360deg;
    }
}

.btn--ghost {
    border-color: rgba(14, 28, 75, 0.3);
    background: transparent;
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.5);
}

.btn--glass {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn--glass:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

.btn--light {
    background: #ffffff;
    color: var(--text);
}

.btn--light:hover {
    background: var(--bg);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.text-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-strong);
    font-weight: 750;
    text-decoration: none;
}

.text-link .icon {
    transition: transform 0.2s var(--ease);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* Announcement ------------------------------------------------------- */
.announce {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy);
    color: #ffffff;
    font-size: 0.88rem;
}

.announce__link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
    min-height: 40px;
    padding: 8px var(--gutter);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    text-decoration: none;
}

.announce__link strong {
    color: #ffffff;
    font-weight: 750;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.announce__link .icon {
    transition: transform 0.2s var(--ease);
}

.announce__link:hover .icon {
    transform: translateX(3px);
}

/* Navigation --------------------------------------------------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid transparent;
    background: var(--navy);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-nav.is-scrolled,
.site-nav.is-open {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: rgba(4, 28, 72, 0.96);
}

.site-nav__bar {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    width: 100%;
    max-width: none;
    height: var(--nav-h);
    padding: 0 var(--gutter);
}

.site-nav__brand {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    text-decoration: none;
}

.site-nav__mark {
    width: auto;
    height: 28px;
}

.site-nav__divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.28);
}

.site-nav__logo {
    display: block;
    width: auto;
    height: 30px;
}

.site-nav__menu {
    justify-self: center;
    align-self: stretch;
    display: flex;
    justify-content: center;
}

.site-nav__list {
    display: flex;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    display: flex;
    align-items: center;
}

.site-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.site-nav__trigger:hover,
.site-nav__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.site-nav__trigger.is-current {
    color: #ffffff;
}

.site-nav__trigger.is-current::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--accent-bright);
    order: -1;
    margin-right: 4px;
}

.site-nav__chev {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s var(--ease);
}

.site-nav__trigger[aria-expanded="true"] .site-nav__chev {
    transform: rotate(180deg);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 8px;
}

.site-nav__cta {
    height: 40px;
    min-height: 40px;
    line-height: 1;
}

.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.site-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.site-nav__toggle-close {
    display: none;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-open {
    display: none;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-close {
    display: block;
}

/* Dropdown-Panel */
.nav-panel {
    --panel-w: 1440px;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(4, 28, 72, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.nav-panel--system,
.nav-panel--module {
    --panel-w: 1640px;
}

.nav-panel--loesungen {
    --panel-w: 1360px;
}

.nav-panel--compact {
    --panel-w: 1120px;
}

.site-nav__item.is-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.16s var(--ease), transform 0.2s var(--ease), visibility 0s;
}

.nav-panel__inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 8px 40px;
    width: min(calc(var(--panel-w) + 2 * var(--gutter)), 100%);
    margin: 0 auto;
    padding: 20px var(--gutter) 28px;
}

.nav-panel__aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: start;
}

.nav-teaser {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 22px 48px 22px 22px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--hero-gradient);
    color: #ffffff;
    text-decoration: none;
}

.nav-teaser__glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 120%;
    height: 90%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}

.nav-teaser__title {
    position: relative;
    font-family: var(--font-head);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav-teaser__text {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    line-height: 1.45;
}

.nav-teaser__arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-teaser:hover .nav-teaser__arrow {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(2px);
}

.nav-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 44px 16px 16px;
    border: 1px solid rgba(58, 72, 177, 0.28);
    border-radius: 14px;
    background: #f4f6fd;
    color: var(--text);
    text-decoration: none;
}

.nav-feature:hover {
    border-color: var(--accent-strong);
    background: #ffffff;
}

.nav-feature__kicker {
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-feature__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav-feature__text {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.nav-feature__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent-strong);
}

.nav-feature:hover .nav-feature__arrow {
    transform: translateX(2px);
}

.nav-panel__groups {
    display: grid;
    gap: 8px 28px;
    align-content: start;
    padding: 6px 4px;
}

.nav-panel--system .nav-panel__groups,
.nav-panel--module .nav-panel__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-panel--loesungen .nav-panel__groups {
    grid-template-columns: minmax(0, 1fr);
}

.nav-panel--loesungen .nav-group:first-child .nav-group__list,
.nav-panel--compact .nav-group__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-group__label {
    margin: 8px 10px 4px;
    color: #7a829b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-group__list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: #f3f5fb;
}

.nav-link__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--accent-strong);
    flex-shrink: 0;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-link:hover .nav-link__icon {
    border-color: rgba(58, 72, 177, 0.45);
    color: var(--text);
}

.nav-link__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.nav-link__text strong {
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.3;
}

.nav-link__text span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.nav-link.is-current .nav-link__text strong {
    color: var(--accent-strong);
}

.nav-link.is-current .nav-link__icon {
    border-color: var(--accent);
}

/* Mobile-Menü */
.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px var(--gutter) 32px;
}

.mobile-menu__section {
    border-bottom: 1px solid var(--border);
}

a.mobile-menu__direct {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.2rem;
    text-decoration: none;
}

.mobile-menu__section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
}

.mobile-menu__section summary::-webkit-details-marker {
    display: none;
}

.mobile-menu__section summary .icon {
    color: var(--accent);
    transition: transform 0.2s var(--ease);
}

.mobile-menu__section[open] summary .icon {
    transform: rotate(180deg);
}

.mobile-menu__content {
    padding: 0 0 18px;
}

.mobile-menu__teaser {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--hero-gradient);
    color: #ffffff;
    text-decoration: none;
}

.mobile-menu__teaser strong {
    font-family: var(--font-head);
    font-weight: 600;
}

.mobile-menu__teaser span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.mobile-menu__feature {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(58, 72, 177, 0.28);
    border-radius: 14px;
    background: #f4f6fd;
    color: var(--text);
    text-decoration: none;
}

.mobile-menu__feature span {
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-menu__feature strong {
    font-family: var(--font-head);
    font-weight: 600;
}

.mobile-menu__content ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu__content li a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.mobile-menu__content li a:hover,
.mobile-menu__content li a[aria-current="page"] {
    background: #ffffff;
}

.mobile-menu__inner > .btn {
    margin-top: 20px;
}

@media (max-width: 1099px) {
    .site-nav__menu {
        display: none;
    }

    .site-nav__bar {
        grid-template-columns: 1fr auto;
    }

    .site-nav__actions {
        grid-column: 2;
    }

    .site-nav__toggle {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .site-nav__cta {
        display: none;
    }

    .site-nav__mark {
        height: 30px;
    }
}

/* Hauptversprechen ---------------------------------------------------- */
.usp-bar {
    background: #f7f8fc;
    border-bottom: 1px solid rgba(14, 28, 75, 0.08);
}

.usp-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    max-width: calc(1280px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 22px var(--gutter);
    list-style: none;
}

.usp-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6585;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.usp-bar__item .icon {
    flex: none;
    color: #3a48b1;
}

@media (max-width: 560px) {
    .usp-bar__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 0;
        padding: 18px var(--gutter);
    }

    .usp-bar__item {
        flex: 0 0 25%;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        max-width: 25%;
        font-size: 0.72rem;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }
}

/* Hero ----------------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    color: #ffffff;
    isolation: isolate;
}

.page-hero__panel {
    display: grid;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -8%;
    z-index: -1;
    width: 62%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.3), transparent 72%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
    -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
    pointer-events: none;
}

.page-hero__content {
    max-width: 820px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: 0.86rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.92);
}

.breadcrumb li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration-line: underline;
    text-decoration-style: dashed;
}

.kicker {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kicker--light {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero__title {
    font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4.1rem);
    line-height: 1.07;
    letter-spacing: -0.005em;
}

.page-hero--start .page-hero__title > span {
    display: block;
}

.page-hero--start .page-hero__title > span + span {
    color: rgba(255, 255, 255, 0.72);
}

.nobr {
    white-space: nowrap;
}

.page-hero__lead {
    max-width: 680px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
    line-height: 1.6;
}

.page-hero__text {
    max-width: 680px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.page-hero__panel a:not(.btn) {
    color: #ffffff;
}

.checklist--hero {
    margin-top: 24px;
}

.page-hero .checklist--hero li {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero .checklist--hero .icon {
    color: #ffffff;
}

.page-hero--start .page-hero__panel {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(56px, 8vw, 112px);
}

.page-hero--start .page-hero__title {
    font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.1rem);
}
.hero-card {
    align-self: start;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-card__list {
    display: grid;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.hero-card__list li {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
}

.hero-card__list li > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-card__list strong {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.3;
}

.hero-card__list li > span:last-child > span {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

.hero-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-tint);
    color: var(--accent-strong);
    flex-shrink: 0;
}

.page-hero__aside {
    --hv-zoom: 1;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: clamp(14px, 2.2vh, 22px);
}

.page-hero__aside > .hv {
    max-width: calc(560px / var(--hv-zoom));
    zoom: var(--hv-zoom);
}

.page-hero__aside > .checklist--hero {
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: clamp(14px, 2.2vh, 22px) clamp(18px, 2vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 999px) {
    .page-hero__aside {
        display: contents;
    }

    .page-hero__aside > .checklist--hero {
        order: 1;
    }

    .page-hero__aside > .hv {
        order: 2;
    }
}

/* Alle Hero-Inhalte im ersten Screen: Abstände und Schrift skalieren mit der Viewport-Höhe. */
@media (min-width: 1000px) {
    .page-hero--split .page-hero__panel {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
        align-items: start;
    }

    .page-hero__panel,
    .page-hero--start .page-hero__panel {
        padding: clamp(28px, 6vh, 80px) 0 clamp(32px, 7vh, 88px);
    }

    .page-hero .breadcrumb ol {
        margin-bottom: clamp(12px, 2.4vh, 28px);
    }

    .page-hero .kicker {
        margin-bottom: clamp(10px, 1.8vh, 18px);
    }

    .page-hero__lead {
        margin-top: clamp(12px, 2.4vh, 24px);
        font-size: clamp(1rem, 0.55rem + 1vh, 1.2rem);
        line-height: 1.55;
    }

    .page-hero__text {
        margin-top: clamp(8px, 1.4vh, 14px);
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .checklist--hero {
        margin-top: clamp(12px, 2.4vh, 24px);
        gap: clamp(6px, 1.1vh, 12px);
    }

    .page-hero .checklist--hero li {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .page-hero__aside > .checklist--hero {
        gap: clamp(6px, 1vh, 10px);
    }

    .page-hero__aside > .checklist--hero li {
        font-size: 0.93rem;
    }

    .page-hero .btn-row {
        margin-top: clamp(16px, 3.2vh, 32px);
    }
}

@media (min-width: 1000px) and (max-height: 820px) {
    .page-hero__aside {
        --hv-zoom: 0.86;
    }
}

@media (min-width: 1000px) and (max-height: 700px) {
    .page-hero__aside {
        --hv-zoom: 0.72;
    }
}

/* Blöcke --------------------------------------------------------------- */
.block {
    padding: clamp(64px, 9vw, 120px) 0;
}

.block--tint {
    background: var(--bg-tint);
}

.block--dark,
.block--brand {
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.84);
    --text-muted: rgba(255, 255, 255, 0.74);
    --border: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(255, 255, 255, 0.3);
    --bg-tint: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.block--dark {
    --accent: #f06aa8;
    --accent-strong: #c3c9ff;
    background: var(--dark-gradient);
}

.block--brand {
    --text-soft: #ffffff;
    --text-muted: #ffffff;
    --accent: #ffffff;
    --accent-strong: #ffffff;
    background: #d0186f;
}

.block--dark .tile,
.block--dark .link-card,
.block--dark .card,
.block--dark .formula,
.block--dark .step,
.block--brand .tile,
.block--brand .link-card,
.block--brand .card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.block--brand .callout {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.block--dark .link-card:hover,
.block--brand .link-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.block--brand .btn--ghost {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.block--dark .btn--ghost:hover,
.block--brand .btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.block--brand .logos {
    border-top-color: rgba(255, 255, 255, 0.25);
}

.block--brand .logos__wall li {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.block--brand .logos__wall img,
.block--brand .logos__wall li:hover img {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.block--brand .logos__wall img[alt="\D6 WD"] {
    filter: grayscale(1) invert(1) brightness(1.35);
}

.block__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.block__num {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.block__num::after {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.block__title {
    color: var(--text);
    font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.9rem);
    line-height: 1.14;
}

.block--split .block__title {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: break-word;
}

.block--split .block__grid {
    display: grid;
    gap: 28px;
}

.block--stacked .block__head {
    max-width: 820px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.block--stacked .block__body > .prose,
.block--stacked .block__body > p {
    max-width: 760px;
}

.block--media .block__head {
    max-width: 820px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.block--media .block__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.block__media {
    margin: clamp(28px, 4vw, 44px) 0;
}

.product-shot {
    margin: 0 0 clamp(36px, 5vw, 60px);
}

.product-shot__stage {
    padding: clamp(8px, 2vw, 24px) 0 clamp(28px, 4vw, 48px);
    perspective: 2400px;
}

.device {
    width: min(100%, 1040px);
    margin: 0 auto;
    transform: rotateX(7deg) rotateY(-13deg) rotateZ(1deg);
    transform-origin: 50% 70%;
    filter: drop-shadow(0 40px 48px rgba(4, 28, 72, 0.2)) drop-shadow(0 12px 18px rgba(4, 28, 72, 0.12));
    transition: transform 0.9s var(--ease-out);
}

.product-shot:hover .device {
    transform: rotateX(3deg) rotateY(-6deg) rotateZ(0.4deg);
}

.device__lid {
    position: relative;
    width: 88%;
    margin: 0 auto;
    padding: 1.7% 1.7% 2.3%;
    border-radius: 22px 22px 6px 6px;
    background: #0c0e13;
    box-shadow: inset 0 0 0 1.5px #3a3e47, 0 0 0 1px #a7acb4;
}

.device__lid::before {
    content: "";
    position: absolute;
    top: 0.75%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #262a33;
    transform: translateX(-50%);
}

.device__screen {
    overflow: hidden;
    border-radius: 6px;
    background: #e7ebec;
}

.device__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    background: #f4f5f8;
    border-bottom: 1px solid #dfe2e8;
}

.device__dots {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.device__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.device__dots i:nth-child(2) { background: #febc2e; }
.device__dots i:nth-child(3) { background: #28c840; }

.device__url {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: min(46%, 360px);
    height: 24px;
    margin: 0 auto;
    padding: 0 12px;
    border: 1px solid #e3e6ec;
    border-radius: 7px;
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.72rem;
    white-space: nowrap;
    transform: translateX(-24px);
}

.device__url .icon {
    flex: 0 0 auto;
    color: #3a48b1;
}

.device__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.device__base {
    position: relative;
    height: clamp(10px, 1.6vw, 18px);
    margin-top: -1px;
    border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
    background: linear-gradient(180deg, #f1f2f5 0%, #d3d6dc 45%, #a3a8b0 100%);
}

.device__base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 14%;
    height: 42%;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #b3b8c0, #d6d9de);
    transform: translateX(-50%);
}

/* Phone-Rahmen für Produkt-Screenshots ---------------------------------- */
.device--phone {
    position: relative;
    width: min(100%, 300px);
    padding: 12px;
    border-radius: 44px;
    background: #0c0e13;
    box-shadow: inset 0 0 0 1.5px #3a3e47, 0 30px 60px rgba(4, 28, 72, 0.28), 0 12px 20px rgba(4, 28, 72, 0.18);
    transform: rotateX(4deg) rotateY(-10deg) rotateZ(0.4deg);
    transform-origin: 50% 70%;
    transition: transform 0.9s var(--ease-out);
    filter: none;
}

.device--phone::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 36%;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #0c0e13;
    transform: translateX(-50%);
    z-index: 2;
}

.product-shot--phone:hover .device--phone {
    transform: rotateX(2deg) rotateY(-5deg) rotateZ(0.2deg);
}

.device--phone .device__screen {
    border-radius: 32px;
    background: #f7f8fc;
}

.device--phone .shot-ph {
    aspect-ratio: 390 / 844;
}

.product-shot--phone .product-shot__stage {
    display: flex;
    justify-content: center;
}

.product-shot figcaption {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
}

/* Screenshot-Platzhalter (bis zur Aufnahme im Echtsystem) */
.product-shot + .product-shot,
.product-shot + .schema,
.product-shot + .wf {
    margin-top: clamp(28px, 4vw, 48px);
}

.product-shot .device {
    --text: #0e1c4b;
    --text-muted: #5d6585;
}

.shot-ph {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    aspect-ratio: 1578 / 970;
    padding: clamp(10px, 3vw, 32px);
    background:
        repeating-linear-gradient(135deg, rgba(58, 72, 177, 0.05) 0 12px, rgba(58, 72, 177, 0) 12px 24px),
        #f4f6fb;
    color: var(--text);
    text-align: center;
}

.shot-ph::before {
    content: "";
    position: absolute;
    inset: clamp(8px, 2vw, 18px);
    border: 2px dashed rgba(58, 72, 177, 0.4);
    border-radius: 10px;
    pointer-events: none;
}

.shot-ph__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 99px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: clamp(0.6rem, 0.5rem + 0.5vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shot-ph__icon {
    color: #3a48b1;
    opacity: 0.55;
}

.shot-ph__view {
    max-width: 34em;
    font-family: var(--font-head);
    font-size: clamp(0.78rem, 0.55rem + 1.1vw, 1.2rem);
    font-weight: 600;
    line-height: 1.3;
}

.shot-ph__meta {
    color: var(--text-muted);
    font-size: clamp(0.6rem, 0.5rem + 0.4vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.block--dark .product-shot figcaption,
.example__media .product-shot figcaption {
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 960px) {
    .block--intro .block__media {
        margin: 0;
    }
}

@media (max-width: 720px) {
    .shot-ph {
        gap: 4px;
        padding: 6px;
    }

    .shot-ph__icon svg {
        width: 18px;
        height: 18px;
    }

    .shot-ph::before {
        inset: 5px;
        border-width: 1px;
    }

    .device {
        transform: rotateX(4deg) rotateY(-7deg) rotateZ(0.6deg);
    }

    .device--phone {
        transform: none;
        width: min(100%, 260px);
    }

    .product-shot--phone:hover .device--phone {
        transform: none;
    }

    .device__lid {
        width: 90%;
        border-radius: 12px 12px 4px 4px;
    }

    .device__lid::before {
        width: 4px;
        height: 4px;
    }

    .device__screen {
        border-radius: 3px;
    }

    .device__bar {
        gap: 6px;
        padding: 5px 7px;
    }

    .device__dots {
        gap: 3px;
    }

    .device__dots i {
        width: 5px;
        height: 5px;
    }

    .device__url {
        height: 14px;
        padding: 0 6px;
        gap: 3px;
        border-radius: 4px;
        font-size: 0.5rem;
        transform: translateX(-10px);
    }

    .device__url .icon {
        width: 8px;
        height: 8px;
    }
}

.block--media .block__media {
    margin: 0;
}

@media (min-width: 900px) {
    .block--split .block__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 72px;
        align-items: start;
    }

    .block--split .block__head {
        position: sticky;
        top: calc(var(--nav-h) + 32px);
    }

    .block--media .block__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 64px;
    }
}

/* Text und Screenshot nebeneinander */
.shot-split {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
}

.shot-split__media .product-shot:last-child {
    margin-bottom: 0;
}

.shot-split + .block__media {
    margin-bottom: 0;
}

@media (min-width: 960px) {
    .shot-split {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(40px, 5vw, 72px);
        align-items: start;
    }

    .shot-split__media {
        position: sticky;
        top: calc(var(--nav-h) + 32px);
    }

    .shot-split .block__head {
        margin-bottom: 28px;
    }

    .shot-split .block__title {
        font-size: clamp(1.85rem, 1.1rem + 1.5vw, 2.5rem);
    }

    .shot-split .example__body {
        margin-top: 28px;
    }

    .shot-split .cards,
    .shot-split .tiles {
        grid-template-columns: minmax(0, 1fr);
    }

    .shot-split + .block__media {
        margin-top: clamp(40px, 5vw, 64px);
    }
}

.product-shot__stage {
    position: relative;
}

.product-shot__zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(14px, 3vw, 36px) 7%;
    border: 0;
    border-radius: var(--radius);
    background: none;
    cursor: zoom-in;
}

.product-shot__zoom-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(4, 28, 72, 0.82);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(4, 28, 72, 0.25);
    opacity: 0.88;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-shot__zoom:hover .product-shot__zoom-hint,
.product-shot__zoom:focus-visible .product-shot__zoom-hint {
    opacity: 1;
    transform: scale(1.04);
}

/* Screenshot-Lightbox */
.lightbox {
    --ratio: 1.627;
    width: min(94vw, 1480px, calc((100dvh - 150px) * var(--ratio)));
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(4, 16, 42, 0.86);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox[open] {
    animation: lightbox-in 0.3s var(--ease-out) both;
}

.lightbox__screen {
    overflow: hidden;
    border-radius: 10px;
    background: #e7ebec;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.lightbox__caption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(4, 28, 72, 0.86);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}

.lightbox__close:hover {
    background: var(--navy);
}

@keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: none; }
}

/* Fließtext */
.prose > * + *,
.block__body > * + * {
    margin-top: 1.1em;
}

.block__body > .tiles,
.block__body > .cards,
.block__body > .steps,
.block__body > .link-cards,
.block__body > .table-wrap,
.block__body > .faq-list,
.block__body > .results,
.block__body > .readiness,
.block__body > .roi {
    margin-top: 32px;
}

.prose p,
.block__body > p {
    color: var(--text-soft);
    font-size: 1.06rem;
    line-height: 1.72;
}

.prose strong,
.block__body strong {
    color: var(--text);
    font-weight: 750;
}

.prose a,
.block__body > p a {
    font-weight: 700;
}

.prose--light p,
.prose--light li {
    color: rgba(255, 255, 255, 0.84);
}

.prose--light strong {
    color: #ffffff;
}

.prose--light a {
    color: #ffffff;
}

.statement {
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    color: var(--text) !important;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem) !important;
    line-height: 1.45 !important;
}

.statement strong {
    font-weight: 400;
}

.formula {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text) !important;
    font-variant-numeric: tabular-nums;
}

.lead-in {
    color: var(--text-soft);
}

.flow-label,
.callout__label {
    color: var(--accent);
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.callout {
    padding: 22px 24px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.callout__label {
    margin-bottom: 6px;
}

.callout p:not(.callout__label) {
    color: var(--text-soft);
}

.checklist {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    gap: 12px;
    color: var(--text-soft);
    line-height: 1.6;
}

.checklist .icon {
    margin-top: 4px;
    color: var(--success);
}

.numbered {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
    counter-reset: numbered;
}

.numbered li {
    position: relative;
    padding-left: 44px;
    color: var(--text-soft);
    counter-increment: numbered;
}

.numbered li::before {
    content: counter(numbered, decimal-leading-zero);
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--accent);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Kacheln */
.tiles {
    display: grid;
    gap: 16px;
}

.tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.tile:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.tile__title {
    color: var(--text);
    font-size: 1.14rem;
    line-height: 1.3;
}

.tile::before {
    content: "";
    width: 28px;
    height: 3px;
    margin-bottom: 6px;
    border-radius: 3px;
    background: var(--accent);
}

.tile p {
    color: var(--text-muted);
    font-size: 0.99rem;
    line-height: 1.62;
}

.tile__link {
    margin-top: auto;
    padding-top: 6px;
}

@media (min-width: 720px) {
    .tiles--2,
    .tiles--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .tiles--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .block--split .tiles--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Link-Karten */
.link-cards {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.link-card:hover {
    border-color: rgba(58, 72, 177, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.link-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-tint);
    color: var(--accent-strong);
    flex-shrink: 0;
}

.link-card__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.link-card__text strong {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.3;
}

.link-card__text span {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

.link-card__arrow {
    color: var(--accent);
    transition: transform 0.2s var(--ease);
}

.link-card:hover .link-card__arrow {
    transform: translateX(3px);
}

@media (min-width: 800px) {
    .link-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .block--split .link-cards {
        grid-template-columns: 1fr;
    }
}

/* Schritte */
.steps {
    display: grid;
    gap: 16px;
    padding: 0;
    list-style: none;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.step__num {
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 2rem;
    line-height: 1;
}

.step__title {
    font-size: 1.1rem;
    line-height: 1.3;
}

.step p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .steps--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .block--split .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tabellen */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    background: #f3f5fb;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table tbody th {
    color: var(--text);
    font-weight: 750;
}

.data-table td {
    color: var(--text-soft);
}

.data-table tbody tr:last-child > * {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .data-table tr {
        display: block;
        padding: 14px 18px;
        border-bottom: 1px solid var(--border);
    }

    .data-table tbody tr:last-child {
        border-bottom: 0;
    }

    .data-table th,
    .data-table td {
        display: block;
        padding: 4px 0;
        border: 0;
    }

    .data-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--text-muted);
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
}

/* Karten */
.cards {
    display: grid;
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px 28px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.card__num {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.card__title {
    font-size: 1.18rem;
    line-height: 1.3;
}

.card__body > * + * {
    margin-top: 0.8em;
}

.card__body p,
.card__body li {
    color: var(--text-muted);
    font-size: 0.99rem;
}

@media (min-width: 720px) {
    .cards--2,
    .cards--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Gegenüberstellung Mitarbeiter und virtueller Mitarbeiter */
.versus__intro {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-top: 24px;
}

.versus__intro .statement {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem) !important;
}

.versus__intro .statement strong {
    font-weight: 600;
}

.versus__intro p:not(.statement) {
    color: var(--text-soft);
    font-size: 1.06rem;
}

.versus {
    --vs-size: 76px;
    display: grid;
    gap: 16px;
    margin-top: 36px;
    container-type: inline-size;
}

.versus__side {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.versus__side--virtual {
    border: 1.5px solid var(--accent);
    box-shadow: var(--shadow);
}

.versus__photo {
    aspect-ratio: 5 / 4;
    background: #c9c9c9;
}

.versus__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.versus__side--human .versus__img {
    filter: saturate(0.85);
}

.versus__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 28px 32px;
}

.versus__title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.versus__name {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.versus__side--virtual .versus__name {
    color: var(--accent);
}

.versus__price {
    color: var(--text);
    font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.2rem);
    line-height: 1.15;
}

.versus__price small {
    color: var(--text-muted);
    font-size: 0.45em;
    font-weight: 650;
}

.versus__body .checklist li {
    color: var(--text-soft);
    font-size: 0.98rem;
}

.versus__side--human .checklist .icon {
    color: var(--text-muted);
}

.versus__vs {
    display: grid;
    place-items: center;
    justify-self: center;
    width: var(--vs-size);
    height: var(--vs-size);
    position: relative;
    margin: calc(var(--vs-size) / -2 - 8px) 0;
    z-index: 1;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: calc(var(--vs-size) * 0.3);
    line-height: 1;
    box-shadow: var(--shadow);
}

.payback {
    margin-top: 24px;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--hero-gradient);
    color: #ffffff;
}

.payback__title {
    color: #ffffff;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
}

.payback__stats {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.payback__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.payback__stat--result {
    border-color: transparent;
    background: var(--brand-gradient);
}

.payback__value {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.payback__label {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
}

.payback__note {
    margin-top: 20px;
    max-width: 760px;
}

.payback__note p {
    color: rgba(255, 255, 255, 0.84);
}

.payback__note a {
    color: #ffffff;
    font-weight: 700;
}

@media (min-width: 820px) {
    .versus {
        grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr);
        gap: 0 28px;
    }

    .versus {
        --vs-size: clamp(104px, 13cqi, 144px);
    }

    .versus__vs {
        align-self: start;
        margin: calc((100cqi - 28px) * 0.2 - var(--vs-size) / 2) calc(var(--vs-size) / -2) 0;
    }

    .payback {
        padding: 40px;
    }

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

/* Beispielablauf */
.example {
    display: grid;
    gap: 32px;
}

.block--dark .block__num {
    color: rgba(255, 255, 255, 0.7);
}

.block--dark .block__title {
    color: #ffffff;
}

.block--dark .flow-label,
.block--dark .callout__label {
    color: #f3a3c8;
}

.block--dark .callout {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.block--dark .checklist li {
    color: rgba(255, 255, 255, 0.84);
}

.block--dark .checklist .icon {
    color: #9fd0b3;
}

.block--dark .steps .step {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.block--dark .step__num {
    color: #f3a3c8;
}

.block--dark .step p {
    color: rgba(255, 255, 255, 0.78);
}

.block--dark .numbered li {
    color: rgba(255, 255, 255, 0.84);
}

.block--dark .numbered li::before {
    color: #f3a3c8;
}

.block--dark .btn--ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.block--dark .text-link {
    color: #ffffff;
}

@media (min-width: 960px) {
    .example {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 64px;
    }

    .example__media {
        grid-column: 1 / -1;
    }
}

/* FAQ */
.faq-list {
    display: grid;
    border-top: 1px solid var(--border-strong);
}

.faq-item {
    border-bottom: 1px solid var(--border-strong);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 2px;
    cursor: pointer;
    list-style: none;
}

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

.faq-q__text {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-q .chev {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent-strong);
    flex-shrink: 0;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-item[open] .faq-q .chev {
    background: var(--text);
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-q:hover .faq-q__text {
    color: var(--accent-strong);
}

.faq-a__inner {
    max-width: 760px;
    padding: 0 2px 26px;
}

.faq-a__inner > * + * {
    margin-top: 0.8em;
}

.faq-a__inner p,
.faq-a__inner li {
    color: var(--text-soft);
}

.block--faq {
    padding-top: clamp(48px, 7vw, 96px);
}

/* Pakete */
.block--plans {
    padding-bottom: clamp(32px, 5vw, 64px);
}

.plans {
    display: grid;
    gap: 16px;
    align-items: start;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.plan--accent {
    border: 1.5px solid var(--accent);
    box-shadow: var(--shadow);
}

.plan__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan__name {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plan__price {
    color: var(--text);
    font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem);
    line-height: 1.15;
}

.plan__price small {
    color: var(--text-muted);
    font-size: 0.42em;
    font-weight: 650;
    letter-spacing: 0;
}

.plan__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan__body > * + * {
    margin-top: 0;
}

.plan__body .btn-row {
    margin-top: 8px;
}

.plan__body .btn--block {
    width: 100%;
}

.plan__body p {
    color: var(--text-muted);
}

.plan__body .statement {
    padding-left: 0;
    border: 0;
    font-size: 1.08rem !important;
}

.plan__body .checklist li {
    font-size: 0.98rem;
}

.plan__body .callout {
    padding: 16px 18px;
    background: #f7f8fc;
    box-shadow: none;
}

@media (min-width: 960px) {
    .plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Projektphasen */
.phases {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.phase {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 48px;
}

.phase:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 64px;
    bottom: 8px;
    left: 31px;
    width: 2px;
    background: linear-gradient(var(--accent), rgba(58, 72, 177, 0.15));
}

.phase__num {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--text);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 1.3rem;
}

.phase__content {
    padding: 28px 30px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.phase__title {
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
    line-height: 1.25;
}

/* Glossar */
.chip-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.chip-nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.chip-nav a:hover {
    border-color: var(--text);
}

.glossary {
    display: grid;
    gap: 16px;
}

.glossary__item {
    padding: 28px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.glossary__term {
    margin-bottom: 10px;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 900px) {
    .glossary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Logos */
.logos {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--border);
}

.logos__head {
    max-width: 720px;
    margin-bottom: 28px;
}

.logos__title {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.logos__head p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.logos__wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.logos__wall li {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    background: #ffffff;
}

.logos__wall picture {
    display: block;
    width: 100%;
    max-width: 150px;
}

.logos__wall img {
    width: 100%;
    height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}

.logos__wall li:hover img {
    filter: none;
    opacity: 1;
}

@media (min-width: 720px) {
    .logos__wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Readiness-Check */
.readiness__list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.readiness__item fieldset {
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    transition: border-color 0.2s var(--ease);
}

.readiness__item.is-answered fieldset {
    border-color: rgba(110, 158, 130, 0.55);
}

.readiness__item legend {
    display: flex;
    gap: 14px;
    float: left;
    width: 100%;
    margin-bottom: 16px;
    padding: 0;
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
}

.readiness__num {
    color: var(--accent);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.readiness__options {
    clear: both;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.readiness__option {
    position: relative;
    cursor: pointer;
}

.readiness__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.readiness__option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.readiness__option span strong {
    color: var(--text);
    font-size: 1rem;
}

.readiness__option:hover span {
    border-color: var(--text);
}

.readiness__option input:checked + span {
    border-color: var(--text);
    background: var(--text);
    color: #ffffff;
}

.readiness__option input:checked + span strong {
    color: #ffffff;
}

.readiness__option input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.readiness__score {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 20px;
    padding: 16px 22px;
    border-radius: var(--radius);
    background: var(--text);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(14, 28, 75, 0.25);
}

.readiness__score p {
    color: #ffffff !important;
    font-size: 1rem !important;
}

.readiness__label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.readiness__score output {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-variant-numeric: tabular-nums;
}

.readiness__progress {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.9rem !important;
}

.readiness__score .btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.results {
    display: grid;
    gap: 16px;
}

.result {
    position: relative;
    padding: 26px 26px 24px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
}

.result__title {
    margin-bottom: 10px;
    font-size: 1.14rem;
    line-height: 1.35;
}

.result__range {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.result__match {
    display: none;
    position: absolute;
    top: -12px;
    right: 18px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--success);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
}

.results.has-match .result {
    opacity: 0.6;
}

.results.has-match .result.is-match {
    border-color: var(--success);
    box-shadow: var(--shadow);
    opacity: 1;
}

.result.is-match .result__match {
    display: block;
}

@media (min-width: 800px) {
    .results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .readiness__options {
        grid-template-columns: 1fr;
    }

    .readiness__option span {
        justify-content: flex-start;
    }
}

/* ROI-Rechner */
.roi {
    display: grid;
    gap: 20px;
}

.roi__fields {
    display: grid;
    gap: 14px;
    padding: 26px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.roi__field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 750;
}

.roi__input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.roi__input:focus-within {
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 3px rgba(58, 72, 177, 0.2);
}

.roi__input input {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.roi__input input:focus {
    outline: none;
}

.roi__input input[aria-invalid="true"] {
    color: #a33a3a;
}

.roi__unit {
    padding: 0 14px;
    color: var(--text-muted);
    font-weight: 700;
}

.roi__hint {
    margin-top: 6px;
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
}

.roi__results {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: start;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--dark-gradient);
    color: #ffffff;
}

.roi__result {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
}

.roi__result--accent {
    border-color: rgba(159, 208, 179, 0.5);
    background: rgba(110, 158, 130, 0.14);
}

.roi__result-label {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.86rem !important;
    font-weight: 700;
}

.roi__value {
    margin-top: 4px !important;
    color: #ffffff !important;
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem) !important;
    line-height: 1.15 !important;
    font-variant-numeric: tabular-nums;
}

.roi__note {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.9rem !important;
}

.roi__error {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(224, 108, 108, 0.18);
    color: #ffffff !important;
    font-size: 0.9rem !important;
}

@media (min-width: 720px) {
    .roi__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .roi {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    }

    .roi__results {
        position: sticky;
        top: calc(var(--nav-h) + 24px);
    }
}

/* CTA-Band ------------------------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--dark-gradient);
    color: #ffffff;
    isolation: isolate;
}

.cta-band__panel {
    display: grid;
    gap: 32px;
}

.cta-band::before {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -60%;
    z-index: -1;
    width: 70%;
    height: 140%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.4), transparent 70%);
}

.cta-band h2 {
    max-width: 640px;
    font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3rem);
    line-height: 1.14;
}

.cta-band__text p:not(.kicker) {
    max-width: 560px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.cta-band__actions .btn-row {
    margin-top: 0;
}

.cta-band__note {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

@media (min-width: 960px) {
    .cta-band__panel {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: end;
    }
}

/* Demo-Sektion mit Formular (Startseite) --------------------------------- */
.demo-section {
    position: relative;
    overflow: clip;
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--dark-gradient);
    color: #ffffff;
    isolation: isolate;
}

.demo-section::before {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -60%;
    z-index: -1;
    width: 70%;
    height: 140%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.4), transparent 70%);
}

.demo-section__grid {
    display: grid;
    gap: 40px;
}

.demo-section__title {
    max-width: 560px;
    font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3rem);
    line-height: 1.14;
}

.demo-section__lead {
    max-width: 520px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.demo-section__points {
    display: grid;
    gap: 18px;
    max-width: 520px;
    margin-top: 32px;
    padding: 0;
    list-style: none;
}

.demo-section__points li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.demo-section__points li > span:last-child {
    display: grid;
    gap: 2px;
}

.demo-section__points strong {
    color: #ffffff;
    font-weight: 750;
}

.demo-section__points li > span:last-child > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.96rem;
}

.demo-section__icon {
    display: grid;
    flex: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.demo-section__note {
    max-width: 520px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

@media (min-width: 1024px) {
    .demo-section__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(40px, 5vw, 72px);
        align-items: start;
    }

    .demo-section__text {
        position: sticky;
        top: calc(var(--nav-h) + 32px);
    }
}

/* Demo-Formular ---------------------------------------------------------- */
.form-card {
    padding: clamp(24px, 3.4vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 72px rgba(4, 28, 72, 0.28);
}

.lead-form {
    display: grid;
    gap: 16px;
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

.form-status {
    display: none;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.form-status.is-ok {
    display: block;
    border-color: rgba(110, 158, 130, 0.45);
    background: rgba(110, 158, 130, 0.14);
    color: #315c43;
}

.form-status.is-error {
    display: block;
    border-color: rgba(196, 92, 92, 0.45);
    background: #f6ecec;
    color: #8b3f3f;
}

.form-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.form-progress li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border-strong);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 650;
}

.form-progress li span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-tint);
    color: var(--accent);
    font-size: 0.78rem;
}

.form-progress li.is-active,
.form-progress li.is-complete {
    border-bottom-color: var(--accent);
    color: var(--navy);
}

.form-progress li.is-active span,
.form-progress li.is-complete span {
    background: var(--accent-strong);
    color: #ffffff;
}

.form-step[hidden],
.booking-next[hidden] {
    display: none !important;
}

.lead-form.is-complete .form-progress,
.lead-form.is-complete .form-step {
    display: none;
}

.form-group {
    display: grid;
    gap: 16px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-group legend {
    margin-bottom: 18px;
    padding: 0;
    color: var(--accent-strong);
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .form-row--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(14, 28, 75, 0.2);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    color-scheme: light;
    font: inherit;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select {
    min-height: 51px;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #969ba1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(58, 72, 177, 0.14);
}

.field-hint {
    display: block;
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.field-error {
    display: none;
    margin: 8px 0 0;
    color: #8b3f3f;
    font-size: 0.82rem;
}

.field.is-invalid .field-error,
.form-consent.is-invalid .field-error {
    display: block;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #c45c5c;
    box-shadow: 0 0 0 3px rgba(196, 92, 92, 0.16);
}

.form-consent {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.form-consent input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--accent);
}

.form-consent .field-error {
    flex: 1 1 100%;
    margin-left: 29px;
}

.form-consent--investment {
    margin-top: 8px;
    padding: 15px 16px;
    border: 1px solid rgba(58, 72, 177, 0.24);
    border-radius: var(--radius-sm);
    background: var(--bg-tint);
    color: var(--navy);
}

.form-consent.is-invalid {
    color: #8b3f3f;
}

.form-consent--investment.is-invalid {
    border-color: rgba(196, 92, 92, 0.45);
    background: #f6ecec;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px;
}

.form-actions--end {
    justify-content: flex-end;
}

.form-hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-next {
    margin-top: 8px;
    padding: clamp(24px, 5vw, 38px);
    border-radius: var(--radius);
    background: var(--bg-tint);
    color: var(--navy);
    text-align: center;
}

.booking-next .eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.booking-next h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
}

.booking-next p {
    max-width: 620px;
    margin: 0 auto 22px;
    color: var(--text-muted);
}

.booking-next small {
    display: block;
    margin-top: 14px;
    color: var(--text-muted);
}

@media (max-width: 599px) {
    .form-progress li {
        align-items: flex-start;
        padding-inline: 6px;
        font-size: 0.78rem;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Footer --------------------------------------------------------------- */
.site-footer {
    padding: clamp(56px, 7vw, 88px) 0 32px;
    background: linear-gradient(160deg, #d0186f 0%, #b8166a 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration-line: underline;
    text-decoration-style: dashed;
}

.site-footer__top {
    display: grid;
    gap: 48px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 340px;
}

.site-footer__brand img {
    width: 170px;
    height: auto;
}

.site-footer__brand .btn--light {
    color: var(--text);
}

.site-footer__brand .btn--light:hover {
    color: var(--text);
    text-decoration: none;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
}

.site-footer__title {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer__col ul {
    display: grid;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.86rem;
}

.site-footer__legal {
    display: flex;
    gap: 20px;
}

@media (min-width: 720px) {
    .site-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .site-footer__top {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 64px;
    }

    .site-footer__cols {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Consent (Logik aus main.js) ----------------------------------------- */
.consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 80;
    max-width: 540px;
    margin: 0 auto;
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(4, 28, 72, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.consent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.consent p {
    margin-bottom: 14px;
    color: #474f73;
    font-size: 0.9rem;
}

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

/* Hero-Illustrationen -------------------------------------------------- */
.page-hero--visual .page-hero__panel {
    align-items: start;
}

@media (min-width: 1000px) {
    .page-hero--visual .page-hero__panel {
        grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
        column-gap: clamp(32px, 4vw, 56px);
    }

    .page-hero--visual .page-hero__title,
    .page-hero--visual.page-hero--start .page-hero__title {
        font-size: clamp(2.2rem, min(1.2rem + 2.4vw, 6vh), 3.4rem);
    }
}

.hv {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0;
    justify-self: center;
    transform: translate3d(0, var(--hv-shift, 0px), 0);
}

.hv__frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(2, 10, 32, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hv__frame::before {
    content: "";
    position: absolute;
    inset: -18%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.32), rgba(125, 53, 155, 0.14) 55%, transparent 75%);
    pointer-events: none;
}

.hv__window {
    overflow: hidden;
    border-radius: 14px;
    background: #f7f8fc;
    color: var(--text);
}

.hv__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(14, 28, 75, 0.08);
    background: #ffffff;
}

.hv__dots {
    display: flex;
    gap: 5px;
}

.hv__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dfe3ef;
}

.hv__bar-title {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hv__body {
    padding: 16px;
}

.hv__stage {
    position: relative;
}

/* Phone-Rahmen im Hero */
.hv--phone,
.page-hero__aside > .hv--phone {
    width: 260px;
    max-width: 100%;
}

.hv__frame--phone {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.hv__phone {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 9 / 19.5;
    padding: 12px;
    border-radius: 44px;
    background: #0c0e13;
    box-shadow: inset 0 0 0 1.5px #3a3e47, 0 30px 80px rgba(2, 10, 32, 0.45);
}

.hv__phone::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 36%;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #0c0e13;
    transform: translateX(-50%);
    z-index: 2;
}

.hv-pc {
    --pc-dark: #36414a;
    --pc-line: #e3e6ea;
    --pc-green: #22a447;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    color: #1f2733;
    font-size: 10px;
    line-height: 1.35;
}

.hv-pc__top {
    padding: 8px 14px 9px;
    background: var(--pc-dark);
    color: #ffffff;
}

.hv-pc__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 16px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 700;
}

.hv-pc__signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
}

.hv-pc__signal i {
    width: 3px;
    border-radius: 1px;
    background: #ffffff;
}

.hv-pc__signal i:nth-child(1) { height: 4px; }
.hv-pc__signal i:nth-child(2) { height: 7px; }
.hv-pc__signal i:nth-child(3) { height: 10px; }

.hv-pc__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
}

.hv-pc__nav-end {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hv-pc__online {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pc-green);
}

.hv-pc__avatar {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: linear-gradient(135deg, #9aa5b1, #5d6872);
}

.hv-pc__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--pc-line);
}

.hv .hv-pc__head b {
    margin-right: auto;
    font-size: 13px;
    font-weight: 800;
}

.hv-pc__conn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 8.5px;
}

.hv-pc__conn i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pc-green);
}

.hv-pc__reload {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
}

.hv-pc__bar {
    display: grid;
    gap: 6px;
    padding: 7px 12px;
    border-bottom: 1px solid var(--pc-line);
}

.hv-pc__actions,
.hv-pc__tabs {
    display: flex;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}

.hv-pc__btn {
    padding: 3px 7px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 8.5px;
}

.hv-pc__btn--del {
    border-color: #e57378;
    color: #d9363e;
}

.hv-pc__tabs span {
    flex: 0 0 auto;
    max-width: 62%;
    padding: 4px 9px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 99px;
    font-size: 8.5px;
    text-overflow: ellipsis;
}

.hv-pc__tabs .is-active {
    border-color: var(--pc-dark);
    background: var(--pc-dark);
    color: #ffffff;
    font-weight: 700;
}

.hv-pc__msgs {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    min-height: 0;
    padding: 8px 10px;
    overflow: hidden;
}

.hv-pc__msg {
    display: grid;
    gap: 3px;
}

.hv-pc__msg p {
    margin: 0;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 9.5px;
    line-height: 1.4;
}

.hv-pc__msg--user {
    align-self: flex-end;
    max-width: 82%;
}

.hv-pc__msg--user p {
    background: var(--pc-dark);
    color: #ffffff;
}

.hv-pc__msg--ai {
    align-self: flex-start;
    justify-items: start;
    max-width: 86%;
}

.hv-pc__msg--ai p {
    background: #f1f3f5;
    box-shadow: 0 1px 2px rgba(14, 28, 75, 0.06);
}

.hv-pc__who {
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--pc-dark);
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 700;
}

.hv-pc__src {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border: 1px dashed rgba(58, 72, 177, 0.35);
    border-radius: 99px;
    color: #3a48b1;
    font-size: 7.5px;
    font-weight: 700;
}

.hv-pc__msg--voice {
    padding: 7px 9px;
    border-radius: 10px;
    background: var(--pc-dark);
    color: #ffffff;
}

.hv-pc__msg--voice p {
    padding: 0;
    background: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
}

.hv-pc__voice {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hv-pc__voice em {
    margin-left: auto;
    font-size: 8px;
    font-style: normal;
    opacity: 0.7;
}

.hv-pc__voice .hv-wave {
    gap: 2px;
    height: 16px;
}

.hv-pc__voice .hv-wave i {
    width: 2px;
    height: calc(var(--h) * 0.8);
    background: rgba(255, 255, 255, 0.85);
}

.hv-pc__input {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 4px 8px 24px;
    padding: 5px 5px 5px 10px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    color: #4b5563;
}

.hv-pc__ph {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #9ca3af;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hv-pc__send {
    padding: 5px 9px;
    border-radius: 9px;
    background: #b8bcc2;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
}

.hv__phone-home {
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 36%;
    height: 4px;
    border-radius: 2px;
    background: rgba(14, 28, 75, 0.35);
    transform: translateX(-50%);
    z-index: 3;
}

@media (max-width: 999.98px) {
    .hv--phone,
    .page-hero__aside > .hv--phone {
        width: 230px;
        margin-inline: auto;
    }
}

.hv b {
    display: block;
    font-weight: 700;
    line-height: 1.3;
}

.hv small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.35;
}

/* Fotos von Büro und Team ---------------------------------------------- */
.hv--photo .hv__frame {
    padding: 8px;
}

.hv-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.hv--portrait {
    max-width: 420px;
}

.hv-photo__caption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.84rem;
    line-height: 1.4;
    text-align: center;
}

/* Freigestelltes Porträt, bündig an der Unterkante des Hero */
.hv--cutout {
    align-self: end;
    display: flex;
    justify-content: center;
    max-width: none;
    margin-bottom: calc(-1 * clamp(56px, 7vw, 96px));
}

.hv--cutout::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8%;
    z-index: -1;
    width: 110%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.34), rgba(125, 53, 155, 0.18) 55%, transparent 76%);
    translate: -50% 0;
    pointer-events: none;
}

.hv-cutout__img {
    display: block;
    width: min(78vw, 380px);
    height: auto;
}

@media (min-width: 1000px) {
    .hv--cutout {
        align-self: stretch;
        position: relative;
        min-height: 100%;
        margin-top: calc(20px - clamp(28px, 6vh, 80px));
        margin-bottom: calc(-1 * clamp(32px, 7vh, 88px));
    }

    .hv--cutout picture {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hv-cutout__img {
        width: auto;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }
}

.team {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.person {
    --text: #0e1c4b;
    --text-muted: #5d6585;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.person__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    background: #eef1f8;
}

.person__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px 26px;
}

.person__name {
    font-size: 1.18rem;
    line-height: 1.3;
}

.person__role {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.5;
}

.person__link {
    margin-top: auto;
    padding-top: 10px;
}

@media (min-width: 640px) {
    .team--2,
    .team--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team--2 {
        max-width: 760px;
    }
}

@media (min-width: 1000px) {
    .team--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hv-eyebrow {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hv-line {
    display: block;
    width: var(--w);
    height: 7px;
    border-radius: 99px;
    background: #dfe3ef;
}

.hv-draft .hv-line {
    background: linear-gradient(90deg, #d7dbf2, #eceef8);
}

.hv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hv-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    padding: 3px 9px;
    border: 1px dashed rgba(58, 72, 177, 0.42);
    border-radius: 99px;
    background: #ffffff;
    color: var(--accent-strong);
    font-size: 0.64rem;
    font-weight: 700;
    white-space: nowrap;
}

.hv-tag {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 99px;
    background: #eef1f8;
    color: #3a48b1;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hv-tag--1 {
    background: #fdeaf3;
    color: #b3155f;
}

.hv-tag--3 {
    background: #f3eaf8;
    color: #6c2d87;
}

.hv-tag--4 {
    background: #e8ecf5;
    color: #041c48;
}

.hv-av {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.hv-av--2 {
    background: #3a48b1;
}

.hv-av--3 {
    background: #041c48;
}

.hv-draft {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(4, 28, 72, 0.06);
}

.hv-draft__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hv-status {
    position: relative;
    height: 30px;
}

.hv-state {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 12px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.hv-state--wait {
    background: #eef1f8;
    color: #3a48b1;
}

.hv-state__dot,
.hv-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
}

.hv-state--ok {
    background: #e4f2ea;
    color: #2b6344;
    opacity: 0;
}

/* Arbeitsplatz (Startseite) */
.hv-ws {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 14px;
}

.hv-team {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-team li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
}

.hv-team li.is-active {
    border-color: rgba(14, 28, 75, 0.08);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(4, 28, 72, 0.06);
}

.hv-team__text {
    min-width: 0;
}

.hv-team__text b {
    font-size: 0.76rem;
}

.hv-live {
    position: absolute;
    top: 9px;
    right: 9px;
}

.hv-ws__main,
.hv-read {
    display: grid;
    align-content: start;
    gap: 10px;
}

.hv-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-msg b {
    font-size: 0.78rem;
}

.hv-msg__icon,
.hv-rows__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eef1f8;
    color: #3a48b1;
    flex-shrink: 0;
}

/* Postfach (E-Mail-Funktion) */
.hv-mail {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 12px;
}

.hv-inbox {
    display: grid;
    align-content: start;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-inbox li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.hv-inbox li.is-active {
    border-color: rgba(226, 28, 123, 0.35);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(4, 28, 72, 0.06);
}

.hv-inbox__text b {
    font-size: 0.74rem;
}

.hv-bubble {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px 12px 12px 4px;
    background: #e8ecf5;
}

.hv-bubble small {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hv-bubble .hv-line {
    background: #c9cfe3;
}

/* Sortierung (E-Mail-Lösung) */
.hv-rows {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-rows li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-rows__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.hv-rows__text b {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hv-rows__state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3a48b1;
    font-size: 0.64rem;
    font-weight: 800;
    white-space: nowrap;
}

.hv-rows__state--hand {
    color: var(--text-muted);
}

.hv-triage__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--navy);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
}

/* Systemkern (Systemübersicht) */
.hv--orbit .hv__frame {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hv-orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 340;
}

.hv-orbit__wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hv-orbit__ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    stroke-dasharray: 2 8;
    vector-effect: non-scaling-stroke;
}

.hv-orbit__ring--inner {
    stroke: rgba(255, 255, 255, 0.12);
}

.hv-orbit__wire {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.hv-orbit__flow {
    fill: none;
    stroke: url(#hvWire);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 0 100;
    vector-effect: non-scaling-stroke;
}

.hv-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34%;
    aspect-ratio: 1;
    translate: -50% -50%;
}

.hv-core__glow {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(226, 28, 123, 0.5), rgba(125, 53, 155, 0.2) 55%, transparent 74%);
}

.hv-core__disc {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 60%),
        linear-gradient(145deg, #d81b78 0%, #7d359b 55%, #3a48b1 100%);
    box-shadow: 0 20px 60px rgba(226, 28, 123, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-align: center;
}

.hv-core__disc img {
    width: 72%;
    height: auto;
}

.hv-core__disc b {
    font-family: var(--font-head);
    font-size: clamp(0.7rem, 0.5rem + 0.6vw, 0.86rem);
    font-weight: 600;
}

.hv-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 46%;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(8, 30, 82, 0.72);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    translate: 0 -50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hv-node__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--accent);
    flex-shrink: 0;
}

.hv-node--tl,
.hv-node--tr {
    top: 17%;
}

.hv-node--bl,
.hv-node--br {
    top: 83%;
}

.hv-node--tl,
.hv-node--bl {
    left: 0;
}

.hv-node--tr,
.hv-node--br {
    right: 0;
}

/* Ausbaustufen (Investition) */
.hv--modules .hv__frame {
    padding: 16px;
}

.hv-stack {
    display: grid;
    gap: 10px;
}

.hv-tier {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.hv-tier__name {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hv-tier__mods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hv-mod {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(2, 10, 32, 0.2);
}

.hv-tier--2 .hv-mod {
    border: 1px dashed rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.hv-base {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(226, 28, 123, 0.3);
}

/* Weitere Hero-Motive ---------------------------------------------------- */
.hv--hub .hv__frame,
.hv--graph .hv__frame {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hv--grid .hv__frame,
.hv--swap .hv__frame,
.hv--vault .hv__frame,
.hv--tl .hv__frame,
.hv--tiers .hv__frame {
    padding: 16px;
}

.hv-node small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.66rem;
    font-weight: 600;
}

/* Wissensnetz (Unternehmensgedächtnis) */
.hv-graph {
    position: relative;
    width: 108%;
    margin-inline: -4%;
    aspect-ratio: 400 / 340;
}

@media (min-width: 1000px) {
    .hv-graph {
        width: 116%;
        margin-inline: -8%;
    }
}

.hv-graph__drift {
    transform-box: view-box;
    transform-origin: 200px 170px;
}

.hv-graph__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hv-graph__links {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}

.hv-graph__links--hub {
    stroke: rgba(255, 255, 255, 0.26);
    stroke-width: 1;
}

.hv-graph__flow {
    fill: none;
    stroke: url(#hvGraphFlow);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 0 100;
    vector-effect: non-scaling-stroke;
}

.hv-graph__cluster {
    transform-box: view-box;
}

.hv-graph__dots circle {
    fill: rgba(255, 255, 255, 0.7);
    transform-box: fill-box;
    transform-origin: center;
}

.hv-graph__dots .is-b {
    fill: #7d8cff;
}

.hv-graph__dots .is-p {
    fill: #e21c7b;
}

.hv-graph__halo {
    fill: url(#hvGraphHalo);
    transform-box: fill-box;
    transform-origin: center;
}

.hv-graph__hub {
    fill: url(#hvGraphHub);
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
}

.hv-graph__core {
    width: 13%;
}

.hv-graph__core .hv-core__disc {
    padding: 0;
}

.hv-graph__core .hv-core__disc svg {
    width: 46%;
    height: auto;
}

.hv-graph__label {
    position: absolute;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(8, 30, 82, 0.62);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    translate: -50% 9px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hv-graph__label--up {
    translate: -50% calc(-100% - 9px);
}

.hv-graph__label--core {
    top: 58.5%;
    left: 50%;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(8, 30, 82, 0.8);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    translate: -50% 0;
}

@media (max-width: 520px) {
    .hv-graph__label {
        padding: 3px 7px;
        font-size: 0.6rem;
    }

    .hv-graph__label--core {
        font-size: 0.64rem;
    }
}

.hv-step__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    border-radius: 9px;
    background: #eef1f8;
    color: #3a48b1;
    flex-shrink: 0;
}

.hv-bar {
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: #e3e7f2;
}

.hv-bar i {
    display: block;
    width: var(--p);
    height: 100%;
    border-radius: inherit;
    background: var(--brand-gradient);
}

.hv-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-wave {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.hv-wave i {
    display: block;
    width: 3px;
    height: var(--h);
    border-radius: 99px;
    background: linear-gradient(180deg, #e21c7b, #7d8cff);
}

/* Ablauf in Schritten */
.hv-pipe__steps {
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-pipe__steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-pipe__steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 100%;
    width: 10px;
    height: 2px;
    background: linear-gradient(90deg, #c9cfe3, #e21c7b);
}

.hv-pipe__steps b {
    font-size: 0.76rem;
}

.hv-pipe--cards .hv-pipe__steps li {
    gap: 6px;
    padding-bottom: 14px;
}

.hv-pipe--cards small {
    margin-bottom: 2px;
}

/* Zeilenlisten */
.hv-rows__state--gate {
    color: #b3155f;
}

.hv-rows__state--done {
    color: #2b6344;
}

.hv-rows__state--go {
    color: var(--accent-strong);
}

.hv-rows__text .hv-tag {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bausteine auf der Instanz */
.hv-grid {
    display: grid;
    gap: 12px;
    color: #ffffff;
}

.hv-grid__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(2, 10, 32, 0.2);
}

.hv-tile span {
    color: #0e1c4b;
}

.hv-tile--open {
    border: 1px dashed rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.hv-tile--open span {
    color: #ffffff;
}

/* Sprachmodell tauschen */
.hv-swap {
    display: grid;
    gap: 14px;
    color: #ffffff;
}

.hv-swap__slot {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.hv-swap__label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hv-swap__opts {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-swap__opt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #ffffff;
    color: #0e1c4b;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(2, 10, 32, 0.2);
}

.hv-swap__opt svg {
    color: var(--accent);
}

.hv-swap__core {
    position: relative;
    display: grid;
    gap: 3px;
    padding: 14px;
    border-radius: 14px;
    background: var(--brand-gradient);
    text-align: center;
    box-shadow: 0 14px 34px rgba(226, 28, 123, 0.3);
}

.hv-swap__core::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    width: 2px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
}

.hv-swap__core b {
    font-size: 0.9rem;
}

.hv-swap__core small {
    color: rgba(255, 255, 255, 0.9);
}

.hv-swap__time {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 4px;
    list-style: none;
}

.hv-swap__time li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hv-swap__time small {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.hv-swap__pt {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

/* Karten mit Kennzahl-Darstellung */
.hv-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hv-panel {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-panel__head {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #3a48b1;
}

.hv-panel__head b {
    color: var(--text);
    font-size: 0.72rem;
}

.hv-barset {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 44px;
}

.hv-barset i {
    flex: 1;
    height: var(--p);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #e21c7b, #7d8cff);
    transform-origin: bottom;
}

.hv-dotrow,
.hv-taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hv-dotrow i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dfe3ef;
}

.hv-dotrow i.is-hot {
    background: var(--accent-bright);
}

.hv-linelist {
    display: grid;
    gap: 7px;
}

/* Quellen und Ergebnis */
.hv-merge {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.25fr);
    align-items: center;
    gap: 10px;
}

.hv-merge__src {
    align-self: start;
}

.hv-srcs {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-srcs li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
}

.hv-srcs .hv-rows__icon {
    width: 26px;
    height: 26px;
}

.hv-merge__arrow {
    display: grid;
    place-items: center;
    color: var(--accent);
}

/* Dokument */
.hv-doc__block {
    display: grid;
    gap: 7px;
}

.hv-doc__block + .hv-doc__block {
    margin-top: 6px;
}

.hv-doc .hv-tag {
    justify-self: start;
}

.hv-draft .hv-line--mark {
    background: linear-gradient(90deg, #f4b9d5, #f3d3e6);
    box-shadow: 0 0 0 3px rgba(226, 28, 123, 0.28);
}

/* Karten nebeneinander */
.hv-cards {
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 10px;
}

.hv-cards .hv-draft {
    align-content: start;
    min-width: 0;
}

.hv-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 0.62rem;
    font-weight: 800;
}

.hv-mini--ok {
    background: #e4f2ea;
    color: #2b6344;
}

.hv-mini--wait {
    background: #eef1f8;
    color: #3a48b1;
}

/* Checkliste */
.hv-checks ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-checks li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e4f2ea;
    color: #2b6344;
}

.hv-progress {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Eigene Instanz: Grenze */
.hv-vault {
    display: grid;
    gap: 12px;
    color: #ffffff;
}

.hv-vault__box {
    display: grid;
    gap: 12px;
    padding: 16px 14px 14px;
    border: 1.5px dashed rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.hv-vault__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: start;
    padding: 5px 11px;
    border-radius: 99px;
    background: #ffffff;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hv-vault__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-vault__chips li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 11px;
    background: #ffffff;
    color: #0e1c4b;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(2, 10, 32, 0.2);
}

.hv-vault__chips svg {
    color: var(--accent);
    flex-shrink: 0;
}

.hv-vault__keys {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Zeitleiste */
.hv-tl {
    color: #ffffff;
}

.hv-tl .hv-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.hv-tl__nodes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-tl__nodes::before,
.hv-tl__nodes::after {
    content: "";
    position: absolute;
    top: 19px;
    right: calc(50% / var(--n));
    left: calc(50% / var(--n));
    z-index: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.hv-tl__nodes::after {
    background: var(--brand-gradient);
    transform-origin: left;
}

.hv-tl__nodes li {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
    text-align: center;
}

.hv-tl__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 8px 18px rgba(2, 10, 32, 0.3);
}

.hv-tl b {
    color: #ffffff;
    font-size: 0.76rem;
}

.hv-tl small {
    color: rgba(255, 255, 255, 0.76);
}

.hv-tl__mark {
    margin-top: 6px;
    padding: 3px 9px;
    border-radius: 10px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* Bildvarianten */
.hv-frames {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hv-frame {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-frame__art {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: linear-gradient(135deg, #7d8cff, #3a48b1);
    color: rgba(255, 255, 255, 0.9);
}

.hv-frame--2 .hv-frame__art {
    background: linear-gradient(135deg, #e21c7b, #7d359b);
}

.hv-frame--3 .hv-frame__art {
    background: linear-gradient(135deg, #0e3a8a, #041c48);
}

.hv-frame small {
    text-align: center;
    font-weight: 700;
}

.hv-frame.is-picked {
    border-color: var(--accent-bright);
    box-shadow: 0 0 0 2px rgba(226, 28, 123, 0.35);
}

.hv-frame__pick {
    position: absolute;
    top: -8px;
    right: -8px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #ffffff;
}

/* Wochenkalender */
.hv-slots {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(14, 28, 75, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.hv-slots .hv-eyebrow {
    margin: 0;
}

.hv-slots__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.hv-slots__grid > span {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

.hv-slots__grid i {
    display: grid;
    place-items: center;
    height: 26px;
    border-radius: 8px;
    background: #eef1f8;
}

.hv-slots__grid i.is-busy {
    background: repeating-linear-gradient(135deg, #e3e7f2 0 4px, #eceff7 4px 8px);
}

.hv-slots__grid i.is-free {
    background: #e4f2ea;
}

.hv-slots__grid i.is-prop {
    background: var(--brand-gradient);
    color: #ffffff;
}

/* Team mit Einarbeitungsstand */
.hv-crew .hv-team li {
    border-color: rgba(14, 28, 75, 0.08);
    background: #ffffff;
}

.hv-crew .hv-team__text {
    flex: 1;
}

.hv-crew .hv-bar {
    width: 72px;
    margin-left: auto;
    flex-shrink: 0;
}

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

    .hv-merge__arrow {
        justify-self: center;
        transform: rotate(90deg);
    }

    .hv-srcs {
        display: flex;
        flex-wrap: wrap;
    }

    .hv-srcs .hv-rows__icon {
        display: none;
    }

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

    .hv-pipe__steps li:not(:last-child)::after {
        display: none;
    }

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

    .hv-tl__nodes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .hv-tl__nodes::before,
    .hv-tl__nodes::after {
        display: none;
    }

    .hv-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .hv-crew .hv-bar {
        width: 48px;
    }
}

@media (max-width: 520px) {
    .hv-ws,
    .hv-mail {
        grid-template-columns: minmax(0, 1fr);
    }

    .hv-ws__side,
    .hv-inbox li:not(.is-active) {
        display: none;
    }

    .hv-node {
        font-size: 0.7rem;
    }

    .hv-node__icon {
        width: 26px;
        height: 26px;
    }
}

/* Bewegung --------------------------------------------------------------- */
.hv.is-paused *,
.hv.is-paused *::before {
    animation-play-state: paused !important;
}

.rv {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(4px);
    transition:
        opacity 0.9s var(--ease-out) var(--rv-delay, 0s),
        transform 1.1s var(--ease-out) var(--rv-delay, 0s),
        filter 0.9s var(--ease-out) var(--rv-delay, 0s);
}

.rv.is-in {
    opacity: 1;
    transform: none;
    filter: none;
}

.block__head.rv .block__num::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s var(--ease-out) calc(var(--rv-delay, 0s) + 0.3s);
}

.block__head.rv.is-in .block__num::after {
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .page-hero__content > *,
    .page-hero__panel > .hero-card,
    .page-hero__aside > .checklist--hero {
        animation: hero-in 1s var(--ease-out) both;
    }

    .page-hero__aside > .checklist--hero {
        animation-delay: 0.5s;
    }

    .page-hero__content > :nth-child(2) { animation-delay: 0.06s; }
    .page-hero__content > :nth-child(3) { animation-delay: 0.12s; }
    .page-hero__content > :nth-child(4) { animation-delay: 0.2s; }
    .page-hero__content > :nth-child(5) { animation-delay: 0.28s; }
    .page-hero__content > :nth-child(n + 6) { animation-delay: 0.34s; }

    .hv__frame,
    .hv-cutout__img {
        animation: hero-visual-in 1.4s var(--ease-out) 0.25s both;
    }

    .page-hero__panel > .hero-card {
        animation: hero-in 1s var(--ease-out) 0.7s both;
    }

    .page-hero::before,
    .cta-band::before {
        animation: glow-drift 22s ease-in-out infinite alternate;
    }

    .hv__frame::before,
    .hv-core__glow {
        animation: glow-breathe 7s ease-in-out infinite alternate;
    }

    .hv-state__dot,
    .hv-live {
        animation: hv-ping 1.8s ease-out infinite;
    }

    .hv-cycle {
        --hv-dur: 12s;
    }

    .hv-msg,
    .hv-bubble {
        animation: hv-early var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-draft {
        animation: hv-mid var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-draft .hv-line {
        animation: hv-type var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.3s);
    }

    .hv-draft .hv-chip {
        animation: hv-late var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-state--wait {
        animation: hv-wait var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-state--ok {
        animation: hv-ok var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-inbox li {
        animation: hv-slide 1s var(--ease-out) both;
        animation-delay: calc(0.5s + var(--i) * 0.12s);
    }

    .hv-triage.hv-cycle {
        --hv-dur: 11s;
    }

    .hv-rows li {
        animation: hv-row var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.55s);
    }

    .hv-rows__state {
        animation: hv-row-state var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.55s);
    }

    .hv-triage__foot {
        animation: hv-foot var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-stack.hv-cycle {
        --hv-dur: 13s;
    }

    .hv-mod {
        animation: hv-pop var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.6s + var(--t) * 1.3s + var(--m) * 0.16s);
    }

    .hv-orbit__ring {
        animation: hv-dash 40s linear infinite;
    }

    .hv-orbit__ring--inner {
        animation-direction: reverse;
        animation-duration: 28s;
    }

    .hv-orbit__flow {
        animation: hv-flow 4.8s cubic-bezier(0.5, 0, 0.3, 1) infinite;
        animation-delay: calc(var(--i) * 1.2s);
    }

    .hv-node {
        animation: hv-float 8s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * -2s);
    }
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        filter: blur(6px);
    }
}

@keyframes hero-visual-in {
    from {
        opacity: 0;
        transform: translate3d(0, 32px, 0) scale(0.97);
        filter: blur(8px);
    }
}

@keyframes glow-drift {
    to {
        transform: translate3d(-7%, 6%, 0) scale(1.12);
    }
}

@keyframes glow-breathe {
    from {
        opacity: 0.7;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes hv-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 28, 123, 0.5);
    }

    70%,
    100% {
        box-shadow: 0 0 0 8px rgba(226, 28, 123, 0);
    }
}

@keyframes hv-early {
    0% { opacity: 0; transform: translate3d(0, 8px, 0); }
    5%, 93% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-mid {
    0%, 9% { opacity: 0; transform: translate3d(0, 10px, 0); }
    15%, 93% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-type {
    0%, 14% { width: 0; }
    32%, 100% { width: var(--w); }
}

@keyframes hv-late {
    0%, 36% { opacity: 0; transform: scale(0.92); }
    41%, 93% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-wait {
    0%, 42% { opacity: 0; transform: translate3d(0, 6px, 0); }
    46%, 70% { opacity: 1; transform: none; }
    74%, 100% { opacity: 0; transform: translate3d(0, -6px, 0); }
}

@keyframes hv-ok {
    0%, 72% { opacity: 0; transform: translate3d(0, 6px, 0) scale(0.96); }
    77%, 93% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-slide {
    from {
        opacity: 0;
        transform: translate3d(-10px, 0, 0);
    }
}

@keyframes hv-row {
    0% { opacity: 0; transform: translate3d(-12px, 0, 0); }
    6%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-row-state {
    0%, 16% { opacity: 0; transform: translate3d(6px, 0, 0); }
    22%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-foot {
    0%, 52% { opacity: 0; transform: translate3d(0, 8px, 0); }
    58%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-pop {
    0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.94); }
    7%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-dash {
    to {
        stroke-dashoffset: -400;
    }
}

@keyframes hv-flow {
    0% { stroke-dasharray: 0 100; stroke-dashoffset: 0; }
    30% { stroke-dasharray: 22 100; }
    70%, 100% { stroke-dasharray: 0 100; stroke-dashoffset: -100; }
}

@keyframes hv-float {
    from {
        transform: translate3d(0, -5px, 0);
    }

    to {
        transform: translate3d(0, 5px, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hv-srcs li {
        animation: hv-slide 1s var(--ease-out) both;
        animation-delay: calc(0.5s + var(--i) * 0.18s);
    }

    .hv-merge__arrow svg {
        animation: hv-nudge 1.6s ease-in-out infinite;
    }

    .hv-audio {
        animation: hv-early var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-wave i {
        animation: hv-wave 1.1s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * 0.09s);
    }

    .hv-pc__msg--voice {
        animation: hv-early var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-pc__msg--reply {
        animation: hv-mid var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-pc__msg--reply .hv-pc__src {
        animation: hv-late var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-pipe__steps li {
        animation: hv-row var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.6s);
    }

    .hv-step__icon {
        animation: hv-active var(--hv-dur) ease infinite both;
        animation-delay: calc(var(--i) * 1.4s + 1s);
    }

    .hv-tile {
        animation: hv-pop var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.5s + var(--i) * 0.35s);
    }

    .hv-grid .hv-base,
    .hv-vault .hv-base {
        animation: hv-early var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: 2.4s;
    }

    .hv-swap__opts {
        position: relative;
        height: 40px;
    }

    .hv-swap__opt {
        position: absolute;
        inset: 0 0 auto;
        animation: hv-slot var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 4s);
    }

    .hv-swap__pt {
        animation: hv-dotlit var(--hv-dur) ease infinite both;
        animation-delay: calc(var(--i) * 4s);
    }

    .hv-panel {
        animation: hv-row var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.5s);
    }

    .hv-barset i {
        animation: hv-grow var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.4s + var(--i, 0) * 0.5s + var(--k) * 0.12s);
    }

    .hv-dotrow i.is-hot {
        animation: hv-ping 1.8s ease-out infinite;
    }

    .hv-draft .hv-line--mark {
        animation: hv-type var(--hv-dur) var(--ease-out) infinite both, hv-mark var(--hv-dur) ease infinite both;
        animation-delay: calc(var(--i) * 0.3s);
    }

    .hv-cards .hv-draft {
        animation-delay: calc(var(--c) * 0.9s);
    }

    .hv-cards .hv-draft .hv-line {
        animation-delay: calc(var(--c) * 0.9s + var(--i) * 0.3s);
    }

    .hv-cards .hv-mini {
        animation: hv-late var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--c) * 0.9s);
    }

    .hv-checks li {
        animation: hv-row var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.55s);
    }

    .hv-check svg {
        animation: hv-tick var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.5s + var(--i) * 0.9s);
    }

    .hv-checks .hv-bar i,
    .hv-crew .hv-bar i {
        animation: hv-fill var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.4s + var(--i, 0) * 0.4s);
    }

    .hv-vault__box {
        animation: hv-boundary 4s ease-in-out infinite alternate;
    }

    .hv-vault__chips li {
        animation: hv-pop var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.5s + var(--i) * 0.4s);
    }

    .hv-tl__nodes::after {
        animation: hv-line-grow var(--hv-dur) linear infinite both;
    }

    .hv-tl__nodes li {
        animation: hv-early var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.4s);
    }

    .hv-tl__dot {
        animation: hv-dotpulse var(--hv-dur) ease infinite both;
        animation-delay: calc(0.8s + var(--i) * 2s);
    }

    .hv-tl__mark {
        animation: hv-late var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-frame {
        animation: hv-pop var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(0.5s + var(--i) * 0.4s);
    }

    .hv-frame__pick {
        animation: hv-late var(--hv-dur) var(--ease-out) infinite both;
    }

    .hv-slots__grid i {
        animation: hv-cell var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--k) * 0.06s);
    }

    .hv-slots__grid i.is-prop {
        animation: hv-cell var(--hv-dur) var(--ease-out) infinite both, hv-ping 1.8s ease-out infinite;
        animation-delay: calc(var(--k) * 0.06s), 0s;
    }

    .hv-crew .hv-team li {
        animation: hv-row var(--hv-dur) var(--ease-out) infinite both;
        animation-delay: calc(var(--i) * 0.5s);
    }

    .hv-graph__cluster {
        animation: hv-graph-breathe 6s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * -1.3s);
    }

    .hv-graph__cluster .hv-graph__links {
        animation: hv-graph-shimmer 2.8s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * -0.7s);
    }

    .hv-graph__drift {
        animation: hv-graph-drift 16s ease-in-out infinite alternate;
    }

    .hv-graph.is-3d .hv-graph__cluster,
    .hv-graph.is-3d .hv-graph__drift {
        animation: none;
    }

    .hv-graph__dots .is-tw {
        animation: hv-graph-twinkle 2.4s ease-in-out infinite alternate;
        animation-delay: var(--d);
    }

    .hv-graph__flow {
        animation: hv-flow 4.2s cubic-bezier(0.5, 0, 0.3, 1) infinite;
        animation-delay: var(--d);
    }

    .hv-graph__halo {
        animation: hv-graph-halo 3.2s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * -0.6s);
    }

    .hv-graph__label {
        animation: hv-float 6s ease-in-out infinite alternate;
        animation-delay: calc(var(--i, 0) * -1.1s);
    }
}

@keyframes hv-graph-breathe {
    from { transform: scale(0.94) rotate(-4.5deg); }
    to { transform: scale(1.06) rotate(4.5deg); }
}

@keyframes hv-graph-shimmer {
    from { opacity: 0.55; }
    to { opacity: 1; }
}

@keyframes hv-graph-drift {
    from { transform: rotate(-3deg) scale(0.98); }
    to { transform: rotate(3deg) scale(1.02); }
}

@keyframes hv-graph-twinkle {
    from { opacity: 0.2; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1.35); }
}

@keyframes hv-graph-halo {
    from { opacity: 0.45; transform: scale(0.75); }
    to { opacity: 1; transform: scale(1.3); }
}

@keyframes hv-nudge {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4px, 0, 0); }
}

@keyframes hv-wave {
    from { transform: scaleY(0.35); }
    to { transform: scaleY(1); }
}

@keyframes hv-active {
    0%, 2% { background: #eef1f8; color: #3a48b1; }
    4%, 12% { background: #e21c7b; color: #ffffff; }
    16%, 100% { background: #eef1f8; color: #3a48b1; }
}

@keyframes hv-slot {
    0% { opacity: 0; transform: translate3d(0, 10px, 0); }
    4%, 28% { opacity: 1; transform: none; }
    33%, 100% { opacity: 0; transform: translate3d(0, -10px, 0); }
}

@keyframes hv-dotlit {
    0% { background: rgba(255, 255, 255, 0.45); transform: scale(1); }
    4%, 28% { background: #ffffff; transform: scale(1.5); }
    33%, 100% { background: rgba(255, 255, 255, 0.45); transform: scale(1); }
}

@keyframes hv-grow {
    0%, 4% { transform: scaleY(0); }
    18%, 90% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

@keyframes hv-mark {
    0%, 36% { box-shadow: 0 0 0 0 rgba(226, 28, 123, 0); }
    42%, 90% { box-shadow: 0 0 0 3px rgba(226, 28, 123, 0.28); }
    100% { box-shadow: 0 0 0 0 rgba(226, 28, 123, 0); }
}

@keyframes hv-tick {
    0%, 6% { opacity: 0; transform: scale(0.4); }
    12%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@keyframes hv-fill {
    0%, 4% { width: 0; }
    40%, 90% { width: var(--p); }
    100% { width: 0; }
}

@keyframes hv-boundary {
    from { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 0 rgba(226, 28, 123, 0); }
    to { border-color: rgba(255, 255, 255, 0.75); box-shadow: 0 0 44px rgba(226, 28, 123, 0.28); }
}

@keyframes hv-line-grow {
    0%, 4% { transform: scaleX(0); opacity: 1; }
    70%, 92% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

@keyframes hv-dotpulse {
    0% { background: #ffffff; color: #e21c7b; box-shadow: 0 8px 18px rgba(2, 10, 32, 0.3); }
    3% { background: #e21c7b; color: #ffffff; box-shadow: 0 0 0 0 rgba(226, 28, 123, 0.5); }
    10% { background: #e21c7b; color: #ffffff; box-shadow: 0 0 0 10px rgba(226, 28, 123, 0); }
    16%, 100% { background: #ffffff; color: #e21c7b; box-shadow: 0 8px 18px rgba(2, 10, 32, 0.3); }
}

@keyframes hv-cell {
    0% { opacity: 0; transform: scale(0.6); }
    5%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

/* 404 ---------------------------------------------------------------- */
.page-hero--notfound {
    padding-bottom: clamp(64px, 8vw, 104px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .hv {
        transform: none;
    }

    .btn--primary:hover::before,
    .btn--primary:focus-visible::before {
        animation: none;
    }

    .device,
    .product-shot:hover .device {
        transform: none;
        transition: none;
    }
}

/* E-Books: Buch-Mockups und Leseproben ------------------------------- */
.book {
    --d: calc(100cqi * var(--depth, 0.06));
    position: relative;
    width: 100%;
    container-type: inline-size;
    perspective: 1800px;
}

.book::after {
    content: "";
    position: absolute;
    left: 6%;
    right: -4%;
    bottom: -5%;
    z-index: -1;
    height: 9%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(4, 16, 42, 0.42), rgba(4, 16, 42, 0));
    filter: blur(6px);
}

.book__body {
    position: relative;
    aspect-ratio: var(--ratio);
    transform-style: preserve-3d;
    transform: rotateY(-26deg) rotateX(4deg);
    transform-origin: 40% 50%;
    transition: transform 0.8s var(--ease-out);
}

.book__body::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3px 6px 6px 3px;
    background: #c9cfdb;
    transform: translateZ(calc(var(--d) / -2));
    box-shadow: 18px 22px 42px rgba(4, 16, 42, 0.32);
}

.book__cover {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 3px 6px 6px 3px;
    background: #f4f5f8;
    transform: translateZ(calc(var(--d) / 2));
}

.book__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0, rgba(255, 255, 255, 0.4) 0.9%, rgba(0, 0, 0, 0.12) 2%, rgba(255, 255, 255, 0.1) 3.4%, rgba(255, 255, 255, 0) 7%),
        linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 34%, rgba(4, 16, 42, 0) 70%, rgba(4, 16, 42, 0.08) 100%);
    pointer-events: none;
}

.book__pages {
    position: absolute;
    top: 1.4%;
    right: 0.8%;
    bottom: 1.4%;
    width: calc(var(--d) - 2px);
    background:
        repeating-linear-gradient(90deg, #ffffff 0 1px, #e6e8ee 1px 2px),
        #f5f6f9;
    transform-origin: right center;
    transform: translateZ(calc(var(--d) / -2 + 1px)) rotateY(90deg);
}

.hv--books {
    aspect-ratio: 1 / 0.98;
    max-width: 500px;
}

.hv-books__item {
    position: absolute;
    display: block;
    border-radius: 6px;
    transition: transform 0.5s var(--ease-out);
}

.hv-books__item--back {
    top: 0;
    right: 4%;
    width: 48%;
}

.hv-books__item--front {
    top: 19%;
    left: 6%;
    width: 54%;
}

.hv-books__item--back .book__body {
    transform: rotateY(-30deg) rotateX(5deg) rotateZ(2deg);
}

.hv-books__item:hover,
.hv-books__item:focus-visible {
    transform: translateY(-8px);
}

.hv-books__item:hover .book__body,
.hv-books__item:focus-visible .book__body {
    transform: rotateY(-16deg) rotateX(3deg);
}

.hv-books__item:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 6px;
}

.page-hero .book::after {
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.page-hero .book__body::before {
    box-shadow: 22px 26px 50px rgba(0, 0, 0, 0.45);
}

.ebook {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.ebook__media {
    display: grid;
    place-items: center;
    padding: clamp(36px, 6vw, 72px) clamp(28px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background: var(--dark-gradient);
    box-shadow: var(--shadow);
}

.ebook__media .book {
    width: min(100%, 300px);
}

.ebook__media .book::after {
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.ebook__media .book__body::before {
    box-shadow: 22px 26px 50px rgba(0, 0, 0, 0.45);
}

.ebook:hover .book__body {
    transform: rotateY(-14deg) rotateX(3deg);
}

.ebook__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ebook__sub {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    font-weight: 600;
    line-height: 1.35;
}

.ebook__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 24px 0 0;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ebook__fact {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.ebook__fact dd {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
    font-weight: 600;
    line-height: 1.05;
}

.ebook__fact dt {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.ebook__body {
    margin-top: 22px;
}

.ebook__body .checklist {
    margin: 18px 0;
}

.ebook__text .btn-row {
    margin-top: 26px;
}

.ebook__note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.ebook-pages {
    margin-top: clamp(40px, 6vw, 72px);
}

.ebook-pages__label {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ebook-pages__grid {
    display: grid;
    gap: clamp(16px, 2.4vw, 28px);
}

.ebook-page {
    position: relative;
    margin: 0;
}

.ebook-page__sheet {
    display: flex;
    align-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.ebook-page__sheet--tall {
    align-items: flex-start;
}

.ebook-page__sheet picture,
.ebook-page__sheet img {
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: auto;
}

.ebook-page__zoom {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    aspect-ratio: 4 / 3;
    padding: 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: #ffffff;
    cursor: zoom-in;
}

.ebook-page__zoom .icon {
    box-sizing: content-box;
    padding: 7px;
    border-radius: 999px;
    background: rgba(4, 28, 72, 0.78);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}

.ebook-page:hover .ebook-page__sheet {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.ebook-page:hover .ebook-page__zoom .icon,
.ebook-page__zoom:focus-visible .icon {
    opacity: 1;
}

.ebook-page figcaption {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (min-width: 700px) {
    .ebook-pages__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .ebook {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .ebook--reverse {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .ebook--reverse .ebook__media {
        order: 2;
    }
}

@media (max-width: 999px) {
    .hv--books {
        max-width: 380px;
        margin-top: 8px;
    }
}

@media (max-width: 899px) {
    .ebook__text {
        display: contents;
    }

    .ebook__text > * {
        order: 3;
    }

    .ebook .block__head {
        order: 1;
    }

    .ebook__media {
        order: 2;
    }

    .ebook__facts {
        margin-top: 0;
    }

    .ebook__body {
        margin-top: 0;
    }
}

@media (max-width: 699px) {
    .ebook {
        gap: 24px;
    }

    .ebook__media .book {
        width: min(62%, 240px);
    }

    .ebook-pages__grid {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .ebook-page {
        scroll-snap-align: start;
    }

    .ebook-page__zoom .icon {
        opacity: 1;
    }
}

/* KI-Buch: Hero-Buch, Kaufbereich und Inhaltsverzeichnis ------------- */
.hv--book {
    max-width: 330px;
    padding: 6% 8% 10% 2%;
}

.hv-book__link {
    position: relative;
    display: block;
    border-radius: 6px;
    transition: transform 0.5s var(--ease-out);
}

.hv-book__link:hover,
.hv-book__link:focus-visible {
    transform: translateY(-8px);
}

.hv-book__link:hover .book__body,
.hv-book__link:focus-visible .book__body {
    transform: rotateY(-16deg) rotateX(3deg);
}

.hv-book__link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 8px;
}

.hv-book__sticker {
    position: absolute;
    top: -7%;
    right: -14%;
    display: grid;
    place-content: center;
    width: clamp(78px, 9vw, 96px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--brand-gradient);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transform: rotate(12deg) translateZ(0);
}

.hv-book__sticker strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.75rem);
    font-weight: 600;
}

.buy {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #d0cdd1;
    box-shadow: var(--shadow);
}

.buy__photo,
.buy__photo img {
    display: block;
    width: 100%;
}

.buy__photo img {
    height: 100%;
    object-fit: cover;
    object-position: 0% 50%;
}

.buy__panel {
    position: relative;
    padding: clamp(26px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.86);
}

.buy__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.2rem);
}

.buy .block__head {
    margin-bottom: 0;
}

.buy .block__num {
    margin-bottom: 10px;
}

.buy__sub {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
    font-weight: 600;
    line-height: 1.35;
}

.buy__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
    margin: 22px 0 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.buy__fact {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.buy__fact dd {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
    font-weight: 600;
    line-height: 1.05;
}

.buy__fact dt {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.buy__body {
    margin-top: 20px;
}

.buy__panel .btn-row {
    margin-top: 24px;
}

.buy__note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.toc {
    display: grid;
    gap: 0 clamp(28px, 4vw, 56px);
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.toc__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.toc__num {
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
}

.toc__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc__title {
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.4;
}

.toc__text span {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (min-width: 820px) {
    .toc {
        grid-auto-flow: column;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(7, auto);
    }
}

@media (min-width: 1180px) {
    .buy {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
        align-items: center;
        min-height: 540px;
        padding: 36px;
    }

    .buy__panel {
        padding: 34px 38px;
    }

    .buy__facts {
        margin-top: 18px;
        padding: 12px 0;
    }

    .buy__body {
        margin-top: 16px;
    }

    .buy__panel .btn-row {
        margin-top: 20px;
    }

    .buy__photo {
        position: absolute;
        inset: 0;
    }

    .buy__panel {
        grid-column: 2;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 24px 60px rgba(20, 20, 32, 0.16);
        -webkit-backdrop-filter: blur(14px) saturate(1.1);
        backdrop-filter: blur(14px) saturate(1.1);
    }
}

@media (max-width: 1179px) {
    .buy__photo {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 999px) {
    .hv--book {
        max-width: 260px;
        margin-top: 12px;
    }
}

@media (max-width: 599px) {
    .buy__photo {
        aspect-ratio: 10 / 9;
    }

    .hv-book__sticker {
        right: -18%;
    }
}

/* Bildergalerie ------------------------------------------------------------ */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 16px);
}

.gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #dfe4e8;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1;
}

.gallery__item:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.gallery__item:last-child:nth-child(even) {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
}

.gallery__frame,
.gallery__frame picture {
    display: block;
    height: 100%;
}

.gallery__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery__item:first-child .gallery__frame img {
    object-position: 0% 50%;
}

.gallery__item:hover .gallery__frame img {
    transform: scale(1.04);
}

.gallery__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
    border: 0;
    border-radius: inherit;
    background: none;
    color: #ffffff;
    cursor: zoom-in;
}

.gallery__zoom .icon {
    box-sizing: content-box;
    padding: 8px;
    border-radius: 999px;
    background: rgba(4, 28, 72, 0.78);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}

.gallery__item:hover .gallery__zoom .icon,
.gallery__zoom:focus-visible .icon {
    opacity: 1;
}

.gallery__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 36px 16px 12px;
    background: linear-gradient(to top, rgba(4, 16, 42, 0.78), rgba(4, 16, 42, 0));
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    pointer-events: none;
}

@media (min-width: 900px) {
    .gallery--4 {
        grid-template-columns: 1.5fr 1fr 1fr;
        grid-template-rows: repeat(2, clamp(180px, 17vw, 240px));
    }

    .gallery--4 .gallery__item,
    .gallery--4 .gallery__item:first-child,
    .gallery--4 .gallery__item:last-child:nth-child(even) {
        grid-column: auto;
        aspect-ratio: auto;
    }

    .gallery--4 .gallery__item:first-child {
        grid-row: 1 / 3;
    }

    .gallery--4 .gallery__item:nth-child(2) {
        grid-column: 2 / 4;
    }

    .gallery__item:first-child .gallery__caption {
        padding: 48px 22px 18px;
        font-size: 0.95rem;
    }
}

@media (hover: none) {
    .gallery__zoom .icon {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery__frame img,
    .gallery__item:hover .gallery__frame img {
        transition: none;
        transform: none;
    }

    .book__body,
    .ebook:hover .book__body,
    .hv-books__item:hover .book__body,
    .hv-books__item:focus-visible .book__body,
    .hv-book__link:hover .book__body,
    .hv-book__link:focus-visible .book__body {
        transition: none;
        transform: rotateY(-26deg) rotateX(4deg);
    }

    .hv-books__item:hover,
    .hv-books__item:focus-visible,
    .hv-book__link:hover,
    .hv-book__link:focus-visible {
        transform: none;
    }
}
