:root {
    color-scheme: dark;
    --bg: #05070F;
    --bg-soft: #0A0E1A;
    --surface: #0D1322;
    --surface-2: #111830;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #E7EAF5;
    --text-muted: #98A2C3;
    --text-dim: #5E6A8F;
    --violet: #7C5CFF;
    --violet-deep: #5B3DF0;
    --cyan: #22D3EE;
    --magenta: #F472B6;
    --lime: #A3E635;
    --grad-main: #7C5CFF;
    --grad-alt: linear-gradient(135deg, #F472B6 0%, #7C5CFF 100%);
    --glow-violet: rgba(124, 92, 255, 0.45);
    --glow-cyan: rgba(34, 211, 238, 0.35);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --container: 1200px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: 'Geist Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Geist Variable', -apple-system, BlinkMacSystemFont, sans-serif;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    color: #05070F;
    background: #FFFFFF;
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

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

:focus-visible {
    outline: 3px solid #7C5CFF;
    outline-offset: 4px;
}

:focus {
    scroll-margin-top: 96px;
    scroll-margin-bottom: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text);
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 92, 255, 0.14) 0%, transparent 60%),
        var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.container.narrow {
    max-width: 760px;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, 88%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.4), transparent);
    pointer-events: none;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 56px;
    line-height: 1.65;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
    white-space: nowrap;
    position: relative;
    box-sizing: border-box;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--grad-main);
    border: 1px solid var(--violet);
    color: #fff;
    box-shadow: 0 10px 34px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    border-color: var(--violet);
    box-shadow: 0 18px 50px rgba(124, 92, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-strong);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-lg {
    padding: 19px 38px;
    font-size: 18px;
}

.nav-btn {
    height: 40px;
    padding: 0 20px;
    font-size: 15px;
}

.site-header .btn,
.site-header .btn:hover,
.site-header .btn:focus-visible {
    box-shadow: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.orb.violet { background: rgba(124, 92, 255, 0.32); }
.orb.cyan { background: rgba(34, 211, 238, 0.22); }
.orb.magenta { background: rgba(244, 114, 182, 0.18); }

.orb-drift {
    animation: orb-drift 14s ease-in-out infinite;
}

@keyframes orb-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -30px, 0) scale(1.12); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-clip {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.1s var(--ease-out);
}

.reveal-clip.visible {
    clip-path: inset(0 0 0% 0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

.fx-ready .anim-zone:not(.in-view) .fx {
    animation-play-state: paused;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-main);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 200;
    pointer-events: none;
    box-shadow: 0 0 12px var(--glow-violet);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(5, 7, 15, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

/* Header im Light-Mode, solange #warum hell ist */
.site-header.header-light {
    --text: #0E1226;
    --text-muted: #454B66;
    --border: rgba(14, 18, 38, 0.12);
    --border-strong: rgba(14, 18, 38, 0.2);
    --grad-main: #7C5CFF;
    border-bottom-color: rgba(14, 18, 38, 0.08);
}

.site-header.header-light .btn-secondary {
    background: rgba(14, 18, 38, 0.05);
}

.site-header.header-light.scrolled {
    background: rgba(229, 230, 238, 0.78);
    border-bottom-color: rgba(14, 18, 38, 0.1);
}

.site-header .container {
    max-width: 1320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    overflow: visible;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-main);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px var(--glow-violet);
    position: relative;
}

.logo-mark svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    position: relative;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    overflow: visible;
    white-space: nowrap;
}

.logo-e {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-do {
    display: inline-block;
    position: relative;
    z-index: 2;
    margin-left: -0.17em;
    letter-spacing: -0.12em;
    color: var(--text);
}

.site-footer .logo-text {
    font-size: 38px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px var(--border-strong);
    color: var(--text);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: transform 0.45s var(--ease-out), opacity 0.3s;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle {
    background: rgba(14, 18, 38, 0.05);
}

html[data-theme="light"] .theme-toggle:hover {
    background: rgba(14, 18, 38, 0.08);
}

html[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

html[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Kreis-Reveal beim Theme-Wechsel (View Transitions API) */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

::view-transition-old(root) {
    z-index: 1;
}

::view-transition-new(root) {
    z-index: 9999;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 90;
    padding: 110px 32px 40px;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 40px;
}

.mobile-menu ul a {
    display: block;
    padding: 16px 4px;
    font-size: 25px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
}

.mobile-menu ul a.active {
    color: #7C5CFF;
}

.mobile-cta {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero .reveal,
.hero .reveal-left,
.hero .reveal-right,
.hero .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

#neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero--orbit::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.hero--orbit::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(180deg, transparent, var(--bg) 85%);
    z-index: 1;
    pointer-events: none;
}

.hero--orbit .orb-1 { width: 560px; height: 560px; top: -160px; right: -120px; }
.hero--orbit .orb-2 { width: 420px; height: 420px; bottom: -80px; left: -140px; animation-delay: -6s; }
.hero--orbit .orb-3 { width: 300px; height: 300px; top: 30%; left: 38%; animation-delay: -3s; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #C5BBFF;
    margin-bottom: 30px;
    backdrop-filter: blur(8px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
    font-size: clamp(40px, 5.6vw, 72px);
    font-weight: 700;
    margin-bottom: 26px;
    line-height: 1.02;
}

.hero-title .glow-word {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    /* Platz für Unterlängen (z. B. „g"), damit nichts abgeschnitten wird */
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}

.hero-title .line > span {
    display: inline-block;
    transform: none;
    animation: none;
}

.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }

@keyframes line-up {
    to { transform: translateY(0); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 42px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
    border-left: 2px solid rgba(124, 92, 255, 0.4);
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat span {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: min(520px, 60vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-wrap {
    position: relative;
    width: 100%;
    max-width: min(440px, 58vh);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-core {
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(124, 92, 255, 0.45) 0%, transparent 55%),
        radial-gradient(circle at 68% 72%, rgba(124, 92, 255, 0.6) 0%, transparent 60%),
        var(--surface-2);
    box-shadow:
        0 0 60px rgba(124, 92, 255, 0.4),
        0 0 140px rgba(124, 92, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: core-breathe 6s ease-in-out infinite;
}

@keyframes core-breathe {
    0%, 100% { box-shadow: 0 0 60px rgba(124, 92, 255, 0.4), 0 0 140px rgba(34, 211, 238, 0.15); }
    50% { box-shadow: 0 0 90px rgba(124, 92, 255, 0.6), 0 0 180px rgba(34, 211, 238, 0.28); }
}

.orbit-core svg {
    width: 42%;
    height: 42%;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.8));
}

.orbit-ring {
    position: absolute;
    inset: 0;
    animation: orbit-spin 26s linear infinite;
}

.orbit-ring text {
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    fill: rgba(231, 234, 245, 0.75);
    text-transform: uppercase;
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

.orbit-circle {
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(124, 92, 255, 0.35);
    border-radius: 50%;
    animation: orbit-spin 40s linear infinite reverse;
}

.orbit-chip {
    position: absolute;
    padding: 9px 18px;
    background: rgba(13, 19, 34, 0.85);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: chip-float 7s ease-in-out infinite;
}

.orbit-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.orbit-chip.c1 { top: 6%; right: 26%; animation-delay: 0s; }
.orbit-chip.c1 i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.orbit-chip.c2 { bottom: 14%; right: -4%; animation-delay: -2.3s; }
.orbit-chip.c2 i { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.orbit-chip.c3 { bottom: 8%; left: 8%; animation-delay: -4.6s; }
.orbit-chip.c3 i { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.orbit-chip.c4 { top: 38%; left: -8%; animation-delay: -1.4s; }
.orbit-chip.c4 i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.orbit-chip.c5 { top: 42%; right: -12%; animation-delay: -3.2s; }
.orbit-chip.c5 i { background: #FB923C; box-shadow: 0 0 10px #FB923C; }

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------- Spotlight-Hero (Startseite + Testseite) ---------- */
.hero--spotlight,
.ht2-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 140px 0 90px;
}

.ht2-grid-base {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
}

.ht2-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.22) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 45%), #000 0%, transparent 72%);
    mask-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 45%), #000 0%, transparent 72%);
}

.ht2-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 45%), rgba(124, 92, 255, 0.16), transparent 65%);
}

.ht2-side {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.ht2-title {
    margin: 0 0 48px;
    font-size: clamp(3.2rem, 9vw, 7.4rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.ht2-title span {
    display: block;
}

.ht2-fill {
    color: var(--violet);
    text-shadow: 0 0 42px rgba(124, 92, 255, 0.35);
}

.ht2-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ht2-sub {
    max-width: 560px;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.6;
}

.ht2-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ht2-btn,
.ht2-btn:hover,
.ht2-btn:focus-visible {
    border: 1px solid var(--violet);
    box-shadow: none;
}

.ht2-note {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    text-align: center;
}

/* ---------- 404-Seite ---------- */
.nf-inner {
    text-align: center;
}

.nf-code {
    margin: 0 0 10px;
    font-size: clamp(6rem, 22vw, 14rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--violet);
    text-shadow: 0 0 54px rgba(124, 92, 255, 0.4);
    animation: nf-float 5s ease-in-out infinite;
}

@keyframes nf-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.nf-title {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nf-sub {
    margin: 0 auto 36px;
    max-width: 520px;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.6;
}

.nf-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .nf-actions {
        flex-direction: column;
    }

    .nf-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

.scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    z-index: 5;
    cursor: pointer;
    user-select: none;
}

.scroll-hint .beam {
    width: 1px;
    height: 52px;
    background: rgba(124, 92, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-hint .beam::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--grad-main);
    animation: beam-drop 1.8s var(--ease-out) infinite;
}

@keyframes beam-drop {
    0% { top: -40%; }
    100% { top: 110%; }
}

.marquee {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-move 30s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.26em;
    color: var(--text-dim);
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-item .star {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
}

@keyframes marquee-move {
    to { transform: translateX(-50%); }
}

/* ---- Light-Mode-Panel (#warum): fadet beim Reinscrollen sanft auf hell ---- */
.scrolly-light {
    transition: box-shadow 0.7s ease;
}

.scrolly-light::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #E5E6EE 0%, #CFD1DE 100%);
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.scrolly-light.light-on {
    --text: #0E1226;
    --text-muted: #454B66;
    --text-dim: #767CA0;
    --border: rgba(14, 18, 38, 0.12);
    --grad-main: #7C5CFF;
    --glow-violet: rgba(124, 92, 255, 0.18);
    --glow-cyan: rgba(8, 145, 178, 0.14);
    color: var(--text);
    box-shadow: 0 -30px 80px rgba(3, 5, 12, 0.45);
}

.scrolly-light.light-on::before {
    opacity: 1;
}

/* Text- und Akzentfarben weich mitfaden */
.scrolly-light .section-title,
.scrolly-light h3,
.scrolly-light p,
.scrolly-light li,
.scrolly-light .scrolly-count,
.scrolly-light .scrolly-panel-icon,
.scrolly-light .sv-big,
.scrolly-light .sv-num,
.scrolly-light .sv-icon {
    transition: color 0.6s ease, background-color 0.6s ease, border-color 0.6s ease, text-shadow 0.6s ease;
}

.scrolly-light.light-on .scrolly-bar {
    background: rgba(14, 18, 38, 0.1);
}

/* dunklere Akzentfarben für den hellen Hintergrund */
.scrolly-light.light-on .scrolly-panel.p1,
.scrolly-light.light-on .scrolly-visual.sv1 { --svc: #7C5CFF; --svc-rgb: 124, 92, 255; }

.scrolly-light.light-on .scrolly-panel.p2,
.scrolly-light.light-on .scrolly-visual.sv2 { --svc: #0891B2; --svc-rgb: 8, 145, 178; }

.scrolly-light.light-on .scrolly-panel.p3,
.scrolly-light.light-on .scrolly-visual.sv3 { --svc: #DB2777; --svc-rgb: 219, 39, 119; }

.scrolly-light.light-on .scrolly-panel.p4,
.scrolly-light.light-on .scrolly-visual.sv4 { --svc: #65A30D; --svc-rgb: 101, 163, 13; }

.scrolly-light.light-on .scrolly-panel.p5,
.scrolly-light.light-on .scrolly-visual.sv5 { --svc: #E11D48; --svc-rgb: 225, 29, 72; }

/* große Stage-Zahlen im hellen Panel */
.sv-big {
    font-family: var(--font-display);
    font-size: clamp(96px, 11vw, 190px);
    font-weight: 700;
    line-height: 1;
    color: var(--svc);
    text-shadow: 0 0 60px rgba(var(--svc-rgb), 0.35);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.sv-big.sv-sm {
    font-size: clamp(56px, 6.5vw, 112px);
}

.process-wrap {
    position: relative;
    margin-top: 72px;
}

.process-track {
    position: absolute;
    top: 52px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.process-track-fill {
    width: 100%;
    height: 100%;
    background: var(--grad-main);
    transform-origin: 0 50%;
    box-shadow: 0 0 16px var(--glow-violet);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Ausgewählte Sektionen mit dezent dunklerem Hintergrund */
#wie,
#entwicklung,
#referenzen,
#edo {
    background: var(--bg-soft);
}

/* Statische Light-Sektion (#team): gleiche helle Optik wie der Scrolly-Light-Mode */
.section-light {
    --text: #0E1226;
    --text-muted: #454B66;
    --text-dim: #767CA0;
    --surface: rgba(255, 255, 255, 0.6);
    --border: rgba(14, 18, 38, 0.12);
    --border-strong: rgba(14, 18, 38, 0.2);
    --grad-main: #7C5CFF;
    --glow-violet: rgba(124, 92, 255, 0.18);
    --glow-cyan: rgba(8, 145, 178, 0.14);
    background: linear-gradient(180deg, #E5E6EE 0%, #CFD1DE 100%);
    color: var(--text);
}

/* Ausspar-Ring der Zahlen an den helleren Hintergrund angepasst */
#wie .process-step-number {
    box-shadow: 0 0 0 8px var(--bg-soft), 0 0 34px rgba(124, 92, 255, 0.25);
}

#wie .process-step:hover .process-step-number {
    box-shadow: 0 0 0 8px var(--bg-soft), 0 0 54px rgba(124, 92, 255, 0.5);
}

#wie .process-step.active .process-step-number {
    box-shadow: 0 0 0 8px var(--bg-soft), 0 0 48px rgba(124, 92, 255, 0.6);
}

.process-step {
    text-align: center;
}

.process-step-number {
    width: 104px;
    height: 104px;
    margin: 0 auto 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    position: relative;
    background: var(--surface-2);
    border: 1px solid rgba(124, 92, 255, 0.4);
    box-shadow: 0 0 0 8px var(--bg), 0 0 34px rgba(124, 92, 255, 0.25);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, background 0.5s;
}

.process-step-number::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    background: var(--grad-main);
    opacity: 0.14;
}

.process-step:hover .process-step-number {
    transform: rotate(-3deg);
    box-shadow: 0 0 0 8px var(--bg), 0 0 54px rgba(124, 92, 255, 0.5);
}

/* Scrollytelling: Schritt wird aktiv, wenn die Linie ihn erreicht */
.process-step.active .process-step-number {
    background: var(--grad-main);
    box-shadow: 0 0 0 8px var(--bg), 0 0 48px rgba(124, 92, 255, 0.6);
    transform: translateY(-4px) scale(1.05);
}

.process-step.active .process-step-number::before {
    opacity: 0;
}

.process-step.active .process-step-number span {
    -webkit-text-fill-color: #fff;
}

.process-step-number span {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-step-content {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px -12px rgba(0, 0, 0, 0.15);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    height: calc(100% - 136px);
}

.process-step-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(124, 92, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.process-step:hover .process-step-content {
    border-color: rgba(124, 92, 255, 0.42);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 30px 52px -18px rgba(124, 92, 255, 0.28);
}

.process-step:hover .process-step-content::before {
    opacity: 1;
}

.process-step-content h3 {
    position: relative;
    z-index: 1;
    font-size: 24px;
    margin-bottom: 12px;
}

.process-step-content p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 16.5px;
}

/* ---------- Scrollytelling: Leistungen (gepinnt, Inhalt wechselt beim Scrollen) ---------- */
.section-scrolly {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.section-scrolly::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, 88%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.4), transparent);
    pointer-events: none;
}

#warum.section-scrolly::before {
    display: none;
}

.scrolly-sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scrolly-head {
    margin-bottom: clamp(28px, 5vh, 52px);
}

.scrolly-head .section-title {
    margin-bottom: 0;
}

.scrolly-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.scrolly-progress {
    display: none;
}

.scrolly-count {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.scrolly-current {
    font-size: 26px;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scrolly-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.scrolly-bar-fill {
    width: 100%;
    height: 100%;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: 0 50%;
    box-shadow: 0 0 14px var(--glow-violet);
}

/* ---------- Horizontales Scrollytelling (#warum): statisches Panel-Grid ---------- */
.section-scrolly-x .scrolly-sticky {
    justify-content: flex-start;
}

.section-scrolly-x .scrolly-head {
    margin-bottom: clamp(48px, 6vh, 72px);
}

.section-scrolly-x .scrolly-head .section-title {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.section-scrolly-x .scrolly-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 32px);
}

@media (max-width: 960px) {
    .section-scrolly-x .scrolly-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.section-scrolly-x .scrolly-panel {
    width: 100%;
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(28px, 3vw, 36px);
    position: relative;
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px -12px rgba(0, 0, 0, 0.15);
}

.section-scrolly-x .scrolly-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(var(--svc-rgb), 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.section-scrolly-x .scrolly-panel:hover {
    border-color: rgba(var(--svc-rgb), 0.45);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 32px 56px -18px rgba(var(--svc-rgb), 0.32);
}

.section-scrolly-x .scrolly-panel:hover::before {
    opacity: 1;
}

.section-scrolly-x .scrolly-panel h3 {
    font-size: clamp(20px, 1.9vw, 24px);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.scrolly-intro {
    max-width: 780px;
    margin: 24px auto 0;
    color: var(--text-muted);
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.7;
    letter-spacing: -0.005em;
}

.scrolly-intro strong {
    color: var(--text);
    font-weight: 600;
}

.scrolly-intro p + p {
    margin-top: 14px;
}

.section-scrolly-x .scrolly-panel-content > p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
    letter-spacing: -0.002em;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.scrolly-panel.p1 { --svc: #A78BFA; --svc-rgb: 124, 92, 255; }
.scrolly-panel.p2 { --svc: #67E8F9; --svc-rgb: 34, 211, 238; }
.scrolly-panel.p3 { --svc: #A78BFA; --svc-rgb: 124, 92, 255; }
.scrolly-panel.p4 { --svc: #BEF264; --svc-rgb: 163, 230, 53; }
.scrolly-panel.p5 { --svc: #FB7185; --svc-rgb: 244, 63, 94; }

.scrolly-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(var(--svc-rgb), 0.12);
    border: 1px solid rgba(var(--svc-rgb), 0.3);
    backdrop-filter: blur(14px) saturate(180%);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    position: relative;
    z-index: 1;
}

.section-scrolly-x .scrolly-panel:hover .scrolly-panel-icon {
    background: rgba(var(--svc-rgb), 0.2);
    border-color: rgba(var(--svc-rgb), 0.55);
    transform: scale(1.04);
}

/* #leistungen Section Card-Layout + Apple-Design */
#leistungen .scrolly-head {
    margin-bottom: clamp(56px, 7vh, 80px);
}

#leistungen .scrolly-head .section-title {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

#leistungen .section-lead {
    margin-top: clamp(20px, 3vh, 32px);
    margin-bottom: 0;
}

#leistungen .scrolly-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 28px);
}

@media (max-width: 640px) {
    #leistungen .scrolly-panels {
        grid-template-columns: 1fr;
    }
}

#leistungen .scrolly-panel {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(26px, 2.6vw, 32px) clamp(22px, 2.2vw, 28px);
    position: relative;
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px -12px rgba(0, 0, 0, 0.15);
}

#leistungen .scrolly-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(var(--svc-rgb), 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

#leistungen .scrolly-panel:hover {
    border-color: rgba(var(--svc-rgb), 0.42);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 30px 52px -18px rgba(var(--svc-rgb), 0.28);
}

#leistungen .scrolly-panel:hover::before {
    opacity: 1;
}

#leistungen .scrolly-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(var(--svc-rgb), 0.11);
    border: 1px solid rgba(var(--svc-rgb), 0.28);
    backdrop-filter: blur(14px) saturate(180%);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

#leistungen .scrolly-panel:hover .scrolly-panel-icon {
    background: rgba(var(--svc-rgb), 0.18);
    border-color: rgba(var(--svc-rgb), 0.5);
    transform: scale(1.05);
}

#leistungen .scrolly-panel-icon svg {
    width: 26px;
    height: 26px;
    color: var(--svc);
}

#leistungen .scrolly-panel h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(19px, 1.7vw, 22px);
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin-bottom: 10px;
}

#leistungen .scrolly-panel > p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.6;
    letter-spacing: -0.001em;
    margin-bottom: 20px;
    max-width: none;
}

#leistungen .scrolly-features {
    position: relative;
    z-index: 1;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    max-width: none;
}

#leistungen .scrolly-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(var(--svc-rgb), 0.08);
    border: 1px solid rgba(var(--svc-rgb), 0.18);
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.45;
    transition:
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        color 250ms ease-out;
}

#leistungen .scrolly-panel:hover .scrolly-features li {
    background: rgba(var(--svc-rgb), 0.12);
    border-color: rgba(var(--svc-rgb), 0.3);
    color: var(--text);
}

#leistungen .scrolly-features svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--svc);
}

#leistungen .scrolly-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    color: var(--svc);
    transition:
        gap 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        color 200ms ease-out;
    margin-top: auto;
    width: fit-content;
}

#leistungen .scrolly-link:hover {
    gap: 14px;
}

#leistungen .scrolly-link svg {
    width: 15px;
    height: 15px;
}

/* Alte #leistungen-spezifische Scrolly-Struktur jetzt leer – Stage + body + progress bereits hidden (display:none über allgemeine Regeln) */

.scrolly-panel-icon svg {
    width: 28px;
    height: 28px;
    color: var(--svc);
}

.scrolly-panel h3 {
    font-size: clamp(24px, 2.4vw, 32px);
    margin-bottom: 14px;
}

.scrolly-panel > p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 26px;
    max-width: 540px;
}

.scrolly-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
    margin-bottom: 30px;
    max-width: 540px;
}

.scrolly-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14.5px;
    color: var(--text-muted);
}

.scrolly-features svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: var(--svc);
}

.scrolly-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--svc);
    transition: gap 0.3s;
}

.scrolly-link:hover {
    gap: 14px;
}

.scrolly-link svg {
    width: 16px;
    height: 16px;
}

.scrolly-stage {
    display: none;
}

.scrolly-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.scrolly-visual.active {
    opacity: 1;
    transform: scale(1);
}

.scrolly-visual.sv1 { --svc: #A78BFA; --svc-rgb: 124, 92, 255; }
.scrolly-visual.sv2 { --svc: #67E8F9; --svc-rgb: 34, 211, 238; }
.scrolly-visual.sv3 { --svc: #F9A8D4; --svc-rgb: 244, 114, 182; }
.scrolly-visual.sv4 { --svc: #BEF264; --svc-rgb: 163, 230, 53; }

.sv-ring {
    position: absolute;
    inset: 4%;
    border: 1px dashed rgba(var(--svc-rgb), 0.4);
    border-radius: 50%;
    animation: orbit-spin 34s linear infinite;
}

.sv-ring-2 {
    inset: 15%;
    animation: orbit-spin 26s linear infinite reverse;
    border-color: rgba(var(--svc-rgb), 0.25);
}

.sv-icon {
    width: 36%;
    aspect-ratio: 1;
    border-radius: 26%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--svc-rgb), 0.12);
    border: 1px solid rgba(var(--svc-rgb), 0.45);
    box-shadow: 0 0 60px rgba(var(--svc-rgb), 0.3);
    animation: chip-float 7s ease-in-out infinite;
}

.sv-icon svg {
    width: 44%;
    height: 44%;
    color: var(--svc);
    filter: drop-shadow(0 0 12px rgba(var(--svc-rgb), 0.8));
}

.sv-num {
    position: absolute;
    right: 0;
    bottom: -4%;
    font-family: var(--font-display);
    font-size: clamp(88px, 9vw, 140px);
    font-weight: 700;
    line-height: 1;
    color: rgba(var(--svc-rgb), 0.22);
    user-select: none;
}

/* ---------- Team (#team) – Apple Design ---------- */
#team .text-center {
    margin-bottom: clamp(40px, 5.5vh, 68px);
}

#team .section-title {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

#team .section-lead {
    letter-spacing: -0.005em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.6vw, 30px);
}

#team .team-member.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transform-origin: center center;
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    will-change: opacity, transform;
}

#team .team-member.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.team-member {
    --member: var(--magenta);
    --member-rgb: 244, 114, 182;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 28px -14px rgba(0, 0, 0, 0.2);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(var(--member-rgb), 0.09), transparent 60%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.team-member:hover {
    border-color: rgba(var(--member-rgb), 0.42);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 36px 60px -20px rgba(var(--member-rgb), 0.28);
}

.team-member:hover::before {
    opacity: 1;
}

.team-member.tm2 {
    --member: var(--violet);
    --member-rgb: 124, 92, 255;
}

.team-member.tm3 {
    --member: var(--cyan);
    --member-rgb: 34, 211, 238;
}

.team-media {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(var(--member-rgb), 0.06);
}

.team-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 32%;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 15, 0.18) 100%);
    pointer-events: none;
}

.team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.001);
    transition: transform 600ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.team-member:hover .team-media img {
    transform: scale(1.04);
}

.team-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    align-content: start;
    flex: 1;
    padding: 26px clamp(22px, 2.2vw, 30px) clamp(28px, 2.6vw, 34px);
}

.team-kicker {
    display: inline-block;
    align-items: center;
    width: fit-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.35;
    text-transform: none;
    color: var(--member);
    transition:
        color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        opacity 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.team-member:hover .team-kicker {
    color: rgba(var(--member-rgb), 0.92);
}

.team-copy h3 {
    font-size: clamp(22px, 1.9vw, 26px);
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin-bottom: -14px;
}

.team-tagline {
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: 18px;
}

.team-copy p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.001em;
}

.team-credentials {
    margin-top: clamp(30px, 4vh, 44px);
    padding: clamp(24px, 2.6vw, 32px);
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 28px -14px rgba(0, 0, 0, 0.18);
}

.team-credentials-intro {
    margin-bottom: 22px;
}

.team-credentials-intro h3 {
    font-size: clamp(22px, 2vw, 28px);
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 10px;
}

.team-credentials-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.team-credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-credential-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.16);
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.35;
}

.team-credential-tags span[hidden] {
    display: none;
}

/* ---------- Referenzen (anonymisierte Case Cards) ---------- */
#referenzen .text-center {
    margin-bottom: clamp(40px, 5.5vh, 68px);
}

#referenzen .section-lead {
    margin-bottom: 0;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 2.6vw, 30px);
}

.ref-card {
    --svc: var(--violet);
    --svc-rgb: 124, 92, 255;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.4vw, 30px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.ref-card.r1 { --svc: #7C5CFF; --svc-rgb: 124, 92, 255; }
.ref-card.r2 { --svc: #22D3EE; --svc-rgb: 34, 211, 238; }
.ref-card.r3 { --svc: #F472B6; --svc-rgb: 244, 114, 182; }
.ref-card.r4 { --svc: #A3E635; --svc-rgb: 163, 230, 53; }

.ref-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(var(--svc-rgb), 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 400ms ease-out;
    pointer-events: none;
}

.ref-card:hover {
    border-color: rgba(var(--svc-rgb), 0.42);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 30px 52px -18px rgba(var(--svc-rgb), 0.28);
}

.ref-card:hover::before {
    opacity: 1;
}

.ref-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ref-industry {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--svc-rgb), 0.12);
    border: 1px solid rgba(var(--svc-rgb), 0.28);
    color: var(--svc);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ref-size {
    font-size: 12.5px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ref-card h3 {
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.ref-situation {
    margin: 0;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.ref-situation strong {
    color: var(--text);
    font-weight: 600;
}

.ref-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ref-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-muted);
}

.ref-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--svc-rgb), 0.85);
    box-shadow: 0 0 8px rgba(var(--svc-rgb), 0.5);
}

.ref-outcome {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.ref-metric {
    flex-shrink: 0;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--svc);
    text-shadow: 0 0 30px rgba(var(--svc-rgb), 0.35);
}

.ref-metric-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-dim);
}

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

@media (max-width: 520px) {
    .ref-outcome {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

html[data-theme="light"] .ref-card.r2 { --svc: #0891B2; --svc-rgb: 8, 145, 178; }
html[data-theme="light"] .ref-card.r3 { --svc: #DB2777; --svc-rgb: 219, 39, 119; }
html[data-theme="light"] .ref-card.r4 { --svc: #65A30D; --svc-rgb: 101, 163, 13; }

html[data-theme="light"] .ref-card {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 28px -14px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .ref-card:hover {
    border-color: rgba(var(--svc-rgb), 0.4);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 24px 44px -16px rgba(var(--svc-rgb), 0.22);
}

html[data-theme="light"] .ref-metric {
    text-shadow: none;
}

.credential-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.credential-filter-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.credential-filter-btn:hover {
    color: var(--text);
    border-color: rgba(124, 92, 255, 0.45);
}

.credential-filter-btn.is-active {
    background: rgba(124, 92, 255, 0.14);
    border-color: rgba(124, 92, 255, 0.5);
    color: var(--violet);
}

html[data-theme="light"] .credential-filter-btn.is-active {
    color: var(--violet-deep);
}

/* ---------- Entwicklung (Web & Software) – Apple Design ---------- */
#entwicklung .text-center {
    margin-bottom: clamp(40px, 5.5vh, 68px);
}

#entwicklung .section-title {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

#entwicklung .section-lead {
    letter-spacing: -0.005em;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.6vw, 30px);
    margin-top: 0;
}

@media (max-width: 960px) {
    .dev-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.dev-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(30px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 28px -14px rgba(0, 0, 0, 0.2);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.dev-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(var(--dev-rgb), 0.09), transparent 60%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.dev-card:hover {
    border-color: rgba(var(--dev-rgb), 0.42);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 36px 60px -20px rgba(var(--dev-rgb), 0.28);
}

.dev-card:hover::before {
    opacity: 1;
}

.dev-card.d1 { --dev: var(--cyan); --dev-rgb: 34, 211, 238; }
.dev-card.d2 { --dev: var(--violet); --dev-rgb: 124, 92, 255; }
.dev-card.d3 { --dev: var(--magenta); --dev-rgb: 244, 114, 182; }

.dev-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(var(--dev-rgb), 0.1);
    border: 1px solid rgba(var(--dev-rgb), 0.4);
    box-shadow: 0 0 24px rgba(var(--dev-rgb), 0.16);
    color: var(--dev);
    backdrop-filter: blur(14px) saturate(180%);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.dev-card:hover .dev-card-icon {
    background: rgba(var(--dev-rgb), 0.18);
    border-color: rgba(var(--dev-rgb), 0.6);
    transform: scale(1.04);
}

.dev-card-icon svg {
    width: 26px;
    height: 26px;
}

.dev-card h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(20px, 1.8vw, 24px);
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin-bottom: 12px;
}

.dev-card > p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.65;
    letter-spacing: -0.001em;
    margin-bottom: 20px;
}

.dev-list {
    position: relative;
    z-index: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dev-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15.5px;
    color: var(--text-muted);
}

.dev-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--dev);
    border-bottom: 2px solid var(--dev);
    transform: rotate(-45deg);
}

/* Floating CTA: Hintergrund full-width statt Card */
.floating-cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 75% at 50% 125%, rgba(124, 92, 255, 0.25), transparent 65%),
        linear-gradient(180deg, #0A0F1E 0%, #0E1527 50%, #0A0F1E 100%);
}

/* Gradient-Hairlines oben & unten als Begrenzung */
.floating-cta-section::before,
.floating-cta-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.5), transparent);
    pointer-events: none;
}

.floating-cta-section::before {
    top: 0;
}

.floating-cta-section::after {
    bottom: 0;
}

.floating-cta-section .orb {
    filter: blur(70px);
}

.floating-cta-section .orb-a {
    width: 420px;
    height: 420px;
    top: -150px;
    left: -140px;
}

.floating-cta-section .orb-b {
    width: 360px;
    height: 360px;
    bottom: -140px;
    right: -120px;
    animation-delay: -5s;
}

.floating-cta {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.floating-cta h3 {
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.floating-cta p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 38px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.floating-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    margin-top: 64px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info-lead {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 42px;
    line-height: 1.65;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-bottom: 48px;
}

.contact-item {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 22px 22px 20px;
    border-radius: 24px;
    border: 1px solid rgba(124, 92, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 0% 0%, rgba(124, 92, 255, 0.11), transparent 62%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.contact-item:hover {
    border-color: rgba(124, 92, 255, 0.32);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 24px 46px -28px rgba(124, 92, 255, 0.36);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item > * {
    position: relative;
    z-index: 1;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    color: #B9A8FF;
}

.contact-item-content strong {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-item-content span,
.contact-item-content a {
    font-size: 16.5px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.contact-item-content a:hover {
    color: #B9A8FF;
}

.promise-box {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-md);
    background: rgba(124, 92, 255, 0.05);
    border: 1px solid rgba(124, 92, 255, 0.22);
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.promise-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 0% 0%, rgba(124, 92, 255, 0.16), transparent 62%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.promise-box:hover {
    border-color: rgba(124, 92, 255, 0.34);
    background: rgba(124, 92, 255, 0.08);
    box-shadow: 0 28px 52px -32px rgba(124, 92, 255, 0.4);
}

.promise-box:hover::before {
    opacity: 1;
}

.promise-box > * {
    position: relative;
    z-index: 1;
}

.promise-box strong {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    margin-bottom: 9px;
    color: #B9A8FF;
    font-family: var(--font-display);
}

.promise-box strong svg {
    width: 18px;
    height: 18px;
}

.promise-box p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-wrap {
    padding: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.form-status {
    display: none;
    padding: 15px 19px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.form-status.show {
    display: block;
    animation: status-in 0.4s var(--ease-out);
}

@keyframes status-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-status.success {
    background: rgba(34, 211, 238, 0.1);
    color: #7FE7F7;
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.form-status.error {
    background: rgba(248, 113, 113, 0.1);
    color: #FCA5A5;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label:not(.consent-label) {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 9px;
    letter-spacing: 0.02em;
}

.form-group .req {
    color: var(--magenta);
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--violet);
    background: rgba(124, 92, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #F87171;
    background: rgba(248, 113, 113, 0.06);
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

.consent-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--violet);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-label a {
    color: #B9A8FF;
    text-decoration: none;
}

.consent-label a:hover {
    text-decoration: underline;
}

.form-group-consent.error .consent-label {
    color: #FCA5A5;
}

.form-group-consent.error .consent-label a,
.form-group-consent.error .consent-label .req {
    color: inherit;
}

.form-group-altcha altcha-widget {
    --altcha-color-base: transparent;
    --altcha-color-text: var(--text-muted);
    --altcha-color-border: transparent;
    --altcha-color-border-focus: transparent;
    --altcha-border-width: 0;
    --altcha-border-radius: 4px;
    --altcha-color-primary: #7C5CFF;
    --altcha-color-error: #F87171;
    --altcha-checkbox-size: 18px;
    --altcha-spacing-x: 12px;
    --altcha-spacing-y: 0;
    --altcha-font-size: 13.5px;
    --altcha-padding-x: 0;
    --altcha-padding-y: 0;
    --altcha-color-base-checked: #7C5CFF;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
}

.form-group-altcha altcha-widget .altcha,
.form-group-altcha altcha-widget .altcha-main,
.form-group-altcha altcha-widget .altcha-checkbox,
.form-group-altcha altcha-widget .altcha-label {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.form-group-altcha altcha-widget .altcha {
    max-width: 100% !important;
}

.form-group-altcha altcha-widget .altcha-main {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.form-group-altcha altcha-widget .altcha-checkbox {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    flex: 0 0 18px !important;
}

.form-group-altcha altcha-widget .altcha-checkbox input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: var(--violet);
    cursor: pointer;
    flex-shrink: 0;
}

.form-group-altcha altcha-widget .altcha-label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    line-height: 1.55 !important;
    cursor: pointer;
}

.form-group-altcha altcha-widget::part(widget),
.form-group-altcha altcha-widget::part(container) {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
}

.form-group-altcha altcha-widget::part(label) {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.55;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.form-group-altcha altcha-widget::part(checkbox) {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--violet);
    cursor: pointer;
    flex-shrink: 0;
}

.form-group-altcha altcha-widget::part(spinner),
.form-group-altcha altcha-widget::part(verified-icon) {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-group-altcha altcha-widget.altcha-invalid {
    outline: none;
    border-radius: 0;
    --altcha-color-text: #FCA5A5;
    --altcha-color-border-focus: transparent;
}

.form-group-altcha altcha-widget.altcha-invalid .altcha-label {
    color: #FCA5A5 !important;
}

.form-group-altcha altcha-widget.altcha-invalid::part(label) {
    color: #FCA5A5;
}

html[data-theme="light"] .form-group-altcha altcha-widget {
    --altcha-color-text: var(--text-muted);
}

.form-submit-row {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    flex: 1 1 100%;
}

.btn-submit {
    min-width: 210px;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.75;
}

.btn-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.btn-submit.loading .btn-label {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-footer {
    background: #03050B;
    color: var(--text-muted);
    padding: 88px 0 36px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    /* Graue Linie mit violettem Farbverlauf in der Mitte */
    background: linear-gradient(90deg,
        var(--border) 0%,
        var(--border) 26%,
        rgba(124, 92, 255, 0.55) 38%,
        #7C5CFF 50%,
        rgba(124, 92, 255, 0.55) 62%,
        var(--border) 74%,
        var(--border) 100%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-dim);
    max-width: 360px;
}

.footer-brand-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.footer-tagline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: #B9A8FF;
    letter-spacing: 0.06em;
}

.footer-theme-toggle {
    flex-shrink: 0;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.2s, padding-left 0.3s var(--ease-out);
}

.footer-links a:hover {
    color: var(--text);
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 34px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--text);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(124, 92, 255, 0.4);
    background: #7C5CFF;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s, bottom 0.2s ease-out, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 14px 40px rgba(124, 92, 255, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.legal-section {
    padding: 180px 0 120px;
    min-height: 100vh;
    position: relative;
}

.legal-section h1 {
    font-size: 46px;
    margin-bottom: 16px;
}

.legal-section .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 44px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-section .back-link:hover {
    color: #B9A8FF;
}

.legal-section h2 {
    font-size: 25px;
    margin-top: 44px;
    margin-bottom: 14px;
}

.legal-section h3 {
    font-size: 19px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 22px;
    margin-bottom: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-section a {
    color: #B9A8FF;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section .table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.legal-section th {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    color: var(--text);
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}

.legal-section td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-section tr:last-child td {
    border-bottom: none;
}

.legal-section td:first-child {
    white-space: nowrap;
    font-weight: 500;
    color: var(--text);
}

.legal-section table code {
    font-size: 12.5px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #B9A8FF;
}

/* ---------- Scrollytelling-Helfer ---------- */
[data-parallax] {
    will-change: transform;
}

[data-scrub-scale] {
    display: inline-block;
    will-change: transform;
    transform-origin: 50% 80%;
}

@media (max-width: 960px) {
    .section {
        padding: 96px 0;
    }

    .hero {
        padding: 130px 0 90px;
        height: auto;
        min-height: 100vh;
    }

    .hero--spotlight,
    .ht2-hero {
        padding: 130px 0 90px;
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        display: none;
    }

    .ht2-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .ht2-sub {
        max-width: none;
    }

    .ht2-side {
        display: none;
    }

    .process-steps,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dev-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 44px;
    }

    .process-steps {
        gap: 52px;
    }

    .process-track {
        display: none;
    }

    .process-step-content {
        height: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .reveal-clip {
        clip-path: inset(0 0 0% 0) !important;
        transition: none !important;
    }

    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4,
    .delay-5,
    .delay-6 {
        transition-delay: 0s !important;
    }

    .nav-links {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .hero-stats {
        gap: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrap {
        padding: 30px 24px;
    }

    .floating-cta-section {
        padding: 90px 0;
    }

    /* Scrollytelling deaktiviert: Panels untereinander, ohne Pinning */
    .section-scrolly,
    #warum.section-scrolly {
        height: auto;
        padding: 96px 0;
    }

    .scrolly-sticky {
        position: static;
        height: auto;
        overflow: visible;
    }

    .scrolly-light.light-on {
        box-shadow: none;
    }

    .scrolly-body {
        grid-template-columns: 1fr;
    }

    .scrolly-stage,
    .scrolly-progress {
        display: none;
    }

    .scrolly-panels {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    .scrolly-panel {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    /* Horizontale Variante: Track wird zur vertikalen Kartenliste */
    .section-scrolly-x .scrolly-sticky {
        padding-top: 0;
        gap: 40px;
    }

    .scrolly-track {
        flex-direction: column;
        width: auto;
        height: auto;
        max-height: none;
        gap: 28px;
        padding-inline: 0;
        transform: none !important;
    }

    .section-scrolly-x .scrolly-panel {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .scrolly-panel-visual {
        display: none;
    }

    #warum.section-scrolly {
        padding-bottom: 72px;
    }
}

/* ---------- Kompakt-Modus: geringe Viewport-Höhe (z. B. kleine Laptops) ----------
   Nur relevant, solange das Pinning aktiv ist (Breite > 960px). */
@media (min-width: 961px) and (max-height: 840px) {
    .scrolly-head {
        margin-bottom: 20px;
    }

    .scrolly-head .section-title {
        margin-bottom: 0;
    }

    .scrolly-progress {
        margin-bottom: 16px;
    }

    /* Spalten wie im Normalmodus; Stage nur kleiner und rechtsbündig in ihrer Spalte */
    .scrolly-stage {
        width: min(440px, 52vh);
        max-width: 100%;
        margin: 0 0 0 auto;
    }

    .sv-big {
        font-size: clamp(48px, min(11vw, 14vh), 190px);
    }

    .sv-big.sv-sm {
        font-size: clamp(34px, min(6.5vw, 9vh), 112px);
    }

    .scrolly-panels {
        min-height: 250px;
    }

    .scrolly-panel h3 {
        font-size: clamp(22px, 3.6vh, 30px);
        margin-bottom: 10px;
    }

    .scrolly-panel > p {
        font-size: 15px;
        line-height: 1.55;
    }

    .scrolly-features {
        gap: 8px 24px;
        margin-bottom: 20px;
    }
}

/* ---------- Statischer Fallback bei sehr geringer Höhe (z. B. Querformat) ----------
   Gleiche Regeln wie der Mobile-Fallback: kein Pinning, Panels untereinander. */
@media (min-width: 961px) and (max-height: 600px) {
    .section-scrolly,
    #warum.section-scrolly {
        height: auto;
        padding: 96px 0;
    }

    .scrolly-sticky {
        position: static;
        height: auto;
        overflow: visible;
    }

    .scrolly-light.light-on {
        box-shadow: none;
    }

    .scrolly-body {
        grid-template-columns: 1fr;
    }

    .scrolly-stage,
    .scrolly-progress {
        display: none;
    }

    .scrolly-panels {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    .scrolly-panel {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    /* Horizontale Variante: Track wird zur vertikalen Liste (wie Mobile-Fallback) */
    .section-scrolly-x .scrolly-sticky {
        padding-top: 0;
        gap: 40px;
    }

    .scrolly-track {
        flex-direction: column;
        width: auto;
        height: auto;
        max-height: none;
        gap: 28px;
        padding-inline: 0;
        transform: none !important;
    }

    .section-scrolly-x .scrolly-panel {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .scrolly-panel-visual {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .ht2-cta {
        width: 100%;
    }

    .ht2-cta .btn {
        width: min(100%, 320px);
        justify-content: center;
        padding: 15px 22px;
        font-size: 16px;
        white-space: normal;
        text-align: center;
    }

    .ht2-note {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        margin-bottom: 84px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: center;
    }

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

    .btn-submit {
        width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 7vw;
    }

    .orbit-chip.c4 {
        left: 0;
    }

    .orbit-chip.c2 {
        right: 0;
    }

    .orbit-chip.c5 {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fx,
    .orb-drift,
    .orbit-ring,
    .orbit-circle,
    .orbit-chip,
    .orbit-core,
    .hero-badge .dot,
    .scroll-hint .beam::after,
    .marquee-track {
        animation: none !important;
    }

    .hero-title .line > span {
        transform: none;
        animation: none;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .reveal-clip {
        clip-path: inset(0 0 0% 0) !important;
        transition: none !important;
    }
}

/* ============================================================
   Landingpage: KI-Readiness-Check (/ki-readiness-check)
   ============================================================ */

/* --- Hero: Score-Ring --- */
.score-wrap {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-wrap::before {
    content: '';
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 65%);
    filter: blur(10px);
}

.score-ring {
    width: 100%;
    height: auto;
    transform: rotate(-90deg);
    position: relative;
    z-index: 1;
}

.score-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 9;
}

.score-progress {
    fill: none;
    stroke: #7C5CFF;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-dasharray: 578.05;
    stroke-dashoffset: 578.05;
    animation: score-fill 1.8s var(--ease-out) 0.5s forwards;
    filter: drop-shadow(0 0 12px rgba(124, 92, 255, 0.35));
}

@keyframes score-fill {
    to { stroke-dashoffset: 161.85; } /* ≈ 72 % gefüllt */
}

.score-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.score-q {
    font-family: var(--font-display);
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 700;
    line-height: 1;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.score-chip {
    position: absolute;
    padding: 8px 16px;
    background: rgba(13, 19, 34, 0.85);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: chip-float 7s ease-in-out infinite;
    z-index: 2;
}

.score-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.score-chip.sc1 { top: 4%; left: 22%; animation-delay: 0s; }
.score-chip.sc1 i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.score-chip.sc2 { top: 22%; right: -6%; animation-delay: -1.6s; }
.score-chip.sc2 i { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.score-chip.sc3 { bottom: 16%; right: 0; animation-delay: -3.1s; }
.score-chip.sc3 i { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.score-chip.sc4 { bottom: 6%; left: 8%; animation-delay: -4.4s; }
.score-chip.sc4 i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.score-chip.sc5 { top: 34%; left: -8%; animation-delay: -2.4s; }
.score-chip.sc5 i { background: #FB923C; box-shadow: 0 0 10px #FB923C; }

/* --- Dimensionen-Liste (Was der Check prüft) --- */
.dim-list {
    margin-top: 64px;
    border-top: 1px solid var(--border);
}

.dim-item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    padding: 36px 20px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.dim-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 0% 0%, rgba(124, 92, 255, 0.1), transparent 62%);
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.dim-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(124, 92, 255, 0.18);
    box-shadow: 0 22px 44px -34px rgba(124, 92, 255, 0.34);
}

.dim-item:hover::before {
    opacity: 1;
}

.dim-item > * {
    position: relative;
    z-index: 1;
}

.dim-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dim-item h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.dim-item p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 680px;
}

/* --- Über edo auf der Readiness-Seite --- */
#edo .about-grid {
    align-items: stretch;
}

#edo .reveal-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#edo .section-title {
    max-width: 760px;
    margin-bottom: 0;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.edo-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--violet);
}

.edo-copy {
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.8;
    margin: 0 0 34px;
    max-width: 560px;
}

.edo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.edo-proof-media {
    position: relative;
    margin: 0;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(124, 92, 255, 0.16);
    box-shadow:
        0 28px 65px -40px rgba(0, 0, 0, 0.55),
        0 24px 58px -44px rgba(124, 92, 255, 0.32);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out),
        border-color 500ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 500ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.edo-proof-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 900ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

@media (hover: hover) and (pointer: fine) {
    .edo-proof-media:hover {
        border-color: rgba(124, 92, 255, 0.34);
        box-shadow:
            0 32px 72px -42px rgba(0, 0, 0, 0.6),
            0 30px 68px -44px rgba(124, 92, 255, 0.45);
    }

    .edo-proof-media:hover img {
        transform: scale(1.045);
    }
}

.edo-proof-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 28, 0) 52%, rgba(10, 14, 28, 0.72) 100%);
    pointer-events: none;
}

.edo-proof-media__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet);
    background: rgba(16, 21, 40, 0.72);
    border: 1px solid rgba(124, 92, 255, 0.32);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.edo-proof-media__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--violet);
    box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.18);
}

.edo-proof-media__ai {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.66);
    background: rgba(16, 21, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    border-bottom: 0;
    border-radius: 10px 0 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- Check-Panel (Platzhalter für das interaktive Tool) --- */
#check {
    position: relative;
    overflow: hidden;
}

#check .check-orb-a {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -100px;
}

#check .check-orb-b {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -120px;
    animation-delay: -5s;
}

.check-panel {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 76px 44px 64px;
    background: linear-gradient(180deg, rgba(17, 24, 48, 0.85), rgba(13, 19, 34, 0.92));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.45);
    transition:
        transform 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        border-color 350ms cubic-bezier(0.25, 0.95, 0.25, 1),
        box-shadow 420ms cubic-bezier(0.25, 0.95, 0.25, 1),
        background 350ms cubic-bezier(0.25, 0.95, 0.25, 1);
}

.check-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.6), transparent);
}

.check-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(124, 92, 255, 0.14), transparent 70%);
    opacity: 0.8;
    transition: opacity 420ms cubic-bezier(0.25, 0.95, 0.25, 1);
    pointer-events: none;
}

.check-panel > * {
    position: relative;
    z-index: 1;
}

.check-panel:hover {
    border-color: rgba(124, 92, 255, 0.28);
    box-shadow: 0 34px 80px -38px rgba(124, 92, 255, 0.38);
}

.check-panel:hover::after {
    opacity: 1;
}

.check-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    margin-bottom: 28px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
}

.check-badge svg {
    width: 15px;
    height: 15px;
}

.check-panel h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    margin-bottom: 18px;
}

.check-panel > p {
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 34px;
}

.check-dims {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.check-dim {
    padding: 8px 18px;
    border: 1px dashed var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.check-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.check-note {
    margin: 22px 0 0;
    font-size: 13.5px;
    color: var(--text-dim);
}

/* --- Über edo --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.about-lead {
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.75;
    margin: 22px 0 30px;
    max-width: 540px;
}

.about-trust {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-trust li {
    position: relative;
    padding-left: 28px;
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-trust li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    transform: rotate(-45deg);
}

/* --- Leistungen: 4er-Grid --- */
.dev-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.dev-grid.grid-4 .dev-card {
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}

.dev-grid.grid-4 .dev-card > p {
    flex-grow: 1;
}

.dev-card.d4 {
    --dev: var(--lime);
    --dev-rgb: 163, 230, 53;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--dev);
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 14px;
}

.card-link svg {
    width: 16px;
    height: 16px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .dev-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .dev-grid.grid-4 {
        grid-template-columns: 1fr;
    }

    .dim-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 28px 4px;
    }

    .dim-num {
        font-size: 26px;
    }

    .check-panel {
        padding: 56px 24px 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

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

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

    .edo-proof-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .score-progress {
        animation: none;
        stroke-dashoffset: 161.85;
    }

    .score-chip {
        animation: none;
    }
}

/* ============ LIGHT THEME ============
   Aktiviert via data-theme="light" auf <html> (System-Preference oder Toggle). */
html[data-theme="light"] {
    color-scheme: light;
    --bg: #EDEEF5;
    --bg-soft: #E3E5EF;
    --surface: #FFFFFF;
    --surface-2: #F4F5FA;
    --border: rgba(14, 18, 38, 0.1);
    --border-strong: rgba(14, 18, 38, 0.18);
    --text: #0E1226;
    --text-muted: #454B66;
    --text-dim: #767CA0;
    --glow-violet: rgba(124, 92, 255, 0.18);
    --glow-cyan: rgba(8, 145, 178, 0.14);
    /* Akzentfarben abgedunkelt, damit der Kontrast auf hellem Grund passt */
    --cyan: #0E7490;
    --magenta: #DB2777;
    --lime: #4D7C0F;
}

html[data-theme="light"] .site-header.scrolled {
    background: rgba(237, 238, 245, 0.78);
}

html[data-theme="light"] .btn-secondary {
    background: rgba(14, 18, 38, 0.05);
}

html[data-theme="light"] .btn-secondary:hover {
    background: rgba(14, 18, 38, 0.08);
    box-shadow: inset 0 0 0 1px rgba(14, 18, 38, 0.2);
}

html[data-theme="light"] .mobile-menu {
    background: rgba(237, 238, 245, 0.96);
}

html[data-theme="light"] .marquee {
    background: rgba(14, 18, 38, 0.03);
}

html[data-theme="light"] .process-track,
html[data-theme="light"] .scrolly-bar {
    background: rgba(14, 18, 38, 0.1);
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
    background: rgba(14, 18, 38, 0.03);
}

html[data-theme="light"] .form-group-altcha altcha-widget {
    --altcha-color-base: #FFFFFF;
    --altcha-color-text: #0E1226;
    --altcha-color-border: rgba(14, 18, 38, 0.14);
}

html[data-theme="light"] .form-group-consent.error .consent-label {
    color: #B91C1C;
}

html[data-theme="light"] .form-group-consent.error .consent-label a,
html[data-theme="light"] .form-group-consent.error .consent-label .req {
    color: inherit;
}

html[data-theme="light"] .form-group-altcha altcha-widget.altcha-invalid {
    --altcha-color-text: #B91C1C;
}

html[data-theme="light"] .form-group-altcha altcha-widget.altcha-invalid .altcha-label {
    color: #B91C1C !important;
}

html[data-theme="light"] .form-group-altcha altcha-widget.altcha-invalid::part(label) {
    color: #B91C1C;
}

html[data-theme="light"] .site-footer {
    background: #E2E4EE;
}

html[data-theme="light"] .legal-section table code {
    background: rgba(14, 18, 38, 0.05);
}

html[data-theme="light"] .score-track {
    stroke: rgba(14, 18, 38, 0.08);
}

html[data-theme="light"] .dim-item:hover {
    background: rgba(14, 18, 38, 0.03);
}

html[data-theme="light"] .dim-item:hover,
html[data-theme="light"] .contact-item:hover {
    box-shadow: 0 22px 44px -34px rgba(91, 61, 240, 0.18);
}

html[data-theme="light"] .contact-item {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(124, 92, 255, 0.14);
}

html[data-theme="light"] .contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(91, 61, 240, 0.26);
}

html[data-theme="light"] .promise-box {
    background: rgba(124, 92, 255, 0.08);
    border-color: rgba(91, 61, 240, 0.16);
}

html[data-theme="light"] .promise-box:hover {
    background: rgba(124, 92, 255, 0.12);
    border-color: rgba(91, 61, 240, 0.26);
    box-shadow: 0 28px 52px -36px rgba(91, 61, 240, 0.22);
}

html[data-theme="light"] .check-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 245, 250, 0.96));
    box-shadow: 0 24px 60px -34px rgba(14, 18, 38, 0.16);
}

html[data-theme="light"] .check-panel:hover {
    border-color: rgba(91, 61, 240, 0.22);
    box-shadow: 0 34px 80px -42px rgba(91, 61, 240, 0.22);
}

html[data-theme="light"] .floating-cta-section {
    background:
        radial-gradient(ellipse 55% 75% at 50% 125%, rgba(124, 92, 255, 0.18), transparent 65%),
        linear-gradient(180deg, #E7E9F2 0%, #DDE1EC 50%, #E7E9F2 100%);
}

html[data-theme="light"] .orbit-chip {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(14, 18, 38, 0.15);
}

html[data-theme="light"] .orbit-ring text {
    fill: rgba(14, 18, 38, 0.7);
}

html[data-theme="light"] .orbit-core {
    background:
        radial-gradient(circle at 32% 28%, rgba(124, 92, 255, 0.55) 0%, transparent 55%),
        radial-gradient(circle at 68% 72%, rgba(91, 61, 240, 0.65) 0%, transparent 60%),
        rgba(124, 92, 255, 0.18);
    box-shadow:
        0 0 70px rgba(124, 92, 255, 0.45),
        0 0 160px rgba(124, 92, 255, 0.22);
}

html[data-theme="light"] .orbit-core svg {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.35));
}

html[data-theme="light"] .orbit-circle {
    border-color: rgba(91, 61, 240, 0.45);
}

@keyframes core-breathe-light {
    0%, 100% { box-shadow: 0 0 70px rgba(124, 92, 255, 0.45), 0 0 160px rgba(8, 145, 178, 0.18); }
    50% { box-shadow: 0 0 100px rgba(124, 92, 255, 0.62), 0 0 200px rgba(8, 145, 178, 0.28); }
}

html[data-theme="light"] .orbit-core {
    animation-name: core-breathe-light;
}

html[data-theme="light"] .footer-tagline {
    color: #5B3DF0;
}

/* Helle Violet-Vordergründe (#B9A8FF) im Light-Mode abdunkeln */
html[data-theme="light"] .contact-item-icon svg,
html[data-theme="light"] .promise-box strong,
html[data-theme="light"] .contact-item-content a:hover,
html[data-theme="light"] .consent-label a,
html[data-theme="light"] .legal-section .back-link:hover,
html[data-theme="light"] .legal-section a,
html[data-theme="light"] .legal-section table code {
    color: #5B3DF0;
}

/* Akzentfarben-Komponenten: Kontraste fürs helle Theme */
html[data-theme="light"] .scrolly-panel.p1 { --svc: #7C5CFF; --svc-rgb: 124, 92, 255; }
html[data-theme="light"] .scrolly-panel.p2 { --svc: #0891B2; --svc-rgb: 8, 145, 178; }
html[data-theme="light"] .scrolly-panel.p3 { --svc: #7C5CFF; --svc-rgb: 124, 92, 255; }
html[data-theme="light"] .scrolly-panel.p4 { --svc: #65A30D; --svc-rgb: 101, 163, 13; }
html[data-theme="light"] .scrolly-panel.p5 { --svc: #E11D48; --svc-rgb: 225, 29, 72; }

html[data-theme="light"] .dev-card.d1 { --dev-rgb: 8, 145, 178; }
html[data-theme="light"] .dev-card.d3 { --dev-rgb: 219, 39, 119; }
html[data-theme="light"] .dev-card.d4 { --dev-rgb: 77, 124, 15; }

html[data-theme="light"] .orbit-chip.c5 i,
html[data-theme="light"] .score-chip.sc5 i {
    background: #EA580C;
    box-shadow: 0 0 10px #EA580C;
}

html[data-theme="light"] .orb.cyan { background: rgba(8, 145, 178, 0.16); }
html[data-theme="light"] .orb.magenta { background: rgba(219, 39, 119, 0.13); }

html[data-theme="light"] .process-step:hover .process-step-content {
    border-color: rgba(124, 92, 255, 0.4);
}

html[data-theme="light"] .team-member.tm1 {
    --member: #DB2777;
    --member-rgb: 219, 39, 119;
}

html[data-theme="light"] .team-member.tm3 {
    --member: #0891B2;
    --member-rgb: 8, 145, 178;
}

html[data-theme="light"] .form-status.success {
    background: rgba(8, 145, 178, 0.1);
    color: #0E7490;
    border-color: rgba(8, 145, 178, 0.35);
}

html[data-theme="light"] .form-status.error {
    background: rgba(220, 38, 38, 0.1);
    color: #B91C1C;
    border-color: rgba(220, 38, 38, 0.28);
}

html[data-theme="light"] .check-badge {
    background: rgba(8, 145, 178, 0.08);
    border-color: rgba(8, 145, 178, 0.35);
}

/* Pulsierender Status-Punkt: dunkleres Cyan-Glühen im Light-Mode */
html[data-theme="light"] .hero-badge .dot {
    animation-name: pulse-dot-light;
}

html[data-theme="light"] .ht2-grid-base {
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.06) 1px, transparent 1px);
}

html[data-theme="light"] .ht2-glow {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 45%), rgba(124, 92, 255, 0.22), transparent 65%);
}

html[data-theme="light"] .ht2-fill {
    text-shadow: none;
}

@keyframes pulse-dot-light {
    0% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(8, 145, 178, 0); }
    100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0); }
}

/* ── Fullscreen Modal: Readiness Check ───────────────────────────────────── */

.fs-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fs-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fs-modal[inert] {
    pointer-events: none;
}

.fs-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 15, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

html[data-theme="light"] .fs-modal__backdrop {
    background: rgba(237, 238, 245, 0.78);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.fs-modal__panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    background: var(--bg-sunken);
    border: none;
    box-shadow: none;
    overflow: hidden;
    transform: translateY(18px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        box-shadow 0.4s ease;
}

.fs-modal.is-open .fs-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

html[data-theme="light"] .fs-modal__panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    box-shadow: none;
}

body.has-fs-modal-open {
    overflow: hidden;
}

.fs-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 50;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.fs-modal__close:hover {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
    transform: rotate(90deg);
}

.fs-modal__close svg {
    width: 18px;
    height: 18px;
}

html[data-theme="light"] .fs-modal__close {
    background: rgba(124, 92, 255, 0.06);
    border-color: rgba(124, 92, 255, 0.2);
    color: #6D28D9;
}

html[data-theme="light"] .fs-modal__close:hover {
    background: var(--violet);
    color: #fff;
}

.fs-modal__content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 56px 0 48px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.fs-modal__content > .container {
    width: 100%;
    max-width: var(--container);
    margin-top: auto;
    margin-bottom: auto;
}

.fs-modal__content.is-quiz-active > .container {
    margin-top: 0;
    margin-bottom: 0;
}

.fs-modal__content::-webkit-scrollbar {
    width: 8px;
}
.fs-modal__content::-webkit-scrollbar-track {
    background: transparent;
}
.fs-modal__content::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, 0.3);
    border-radius: 4px;
}
.fs-modal__content::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 92, 255, 0.55);
}

/* decorative orbs inside modal — only top-left + bottom-right, violet, pale */
.fs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    background: var(--violet);
}
.fs-orb--tl {
    width: 480px; height: 480px;
    top: -180px; left: -160px;
    opacity: 0.26;
}
.fs-orb--br {
    width: 460px; height: 460px;
    bottom: -170px; right: -160px;
    opacity: 0.22;
}

.fs-modal__panel > .fs-modal__content {
    position: relative;
    z-index: 2;
}

.fs-modal__head {
    text-align: center;
    margin-bottom: clamp(48px, 7vh, 76px);
}

.fs-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.28);
    color: var(--violet);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
.fs-modal__badge svg { width: 14px; height: 14px; }

html[data-theme="light"] .fs-modal__badge {
    background: rgba(124, 92, 255, 0.08);
    border-color: rgba(124, 92, 255, 0.25);
    color: #6D28D9;
}

.fs-modal__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--text);
}

.fs-modal__lead {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* ── RC App: Views ──────────────────────────────────────────────────────── */

.rc-app {
    width: 100%;
}

.rc-view[hidden] {
    display: none;
}

.rc-view.is-active {
    animation: rc-view-in 0.5s var(--ease-out) both;
}

@keyframes rc-view-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rc-start {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 0 32px;
}

.rc-app__empty-score {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 36px;
    overflow: visible;
}

.rc-app__empty-score .score-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.rc-app__empty-score .score-track {
    fill: none;
    stroke: var(--border-soft);
    stroke-width: 10;
}

.rc-app__empty-score .score-progress {
    fill: none;
    stroke: url(#rc-gradient);
    stroke: var(--violet);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 578;
    stroke-dashoffset: 520;
    animation: rc-score-pulse 3.5s ease-in-out infinite;
}

@keyframes rc-score-pulse {
    0%, 100% { stroke-dashoffset: 520; opacity: 0.6; }
    50% { stroke-dashoffset: 400; opacity: 1; }
}

.rc-app__empty-score .score-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
}

.rc-app__empty-score .score-q {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: var(--violet);
    letter-spacing: -0.02em;
}

.rc-app__empty-score .score-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.rc-app__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.rc-app__note {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--text-dim);
}

/* ── RC Quiz: Kompakter Kopf während des Checks ─────────────────────────── */

.fs-modal__content.is-quiz-active .fs-modal__head {
    margin-bottom: 44px;
}

.fs-modal__content.is-quiz-active .fs-modal__badge,
.fs-modal__content.is-quiz-active .fs-modal__lead {
    display: none;
}

.fs-modal__content.is-result-active .fs-modal__badge {
    display: none;
}

.fs-modal__content.is-result-active .fs-modal__lead {
    display: none;
}

.fs-modal__content.is-quiz-active .fs-modal__title {
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 0;
}

.fs-modal__content.is-result-active .fs-modal__head {
    margin-bottom: 26px;
}

/* ── RC Quiz: Meta + Fortschritt ────────────────────────────────────────── */

.rc-quiz {
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 32px;
}

.rc-quiz__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.rc-quiz__count {
    font-size: 13px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rc-quiz__progress {
    height: 4px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
    margin-bottom: 36px;
}

.rc-quiz__progress-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.32), var(--violet));
    transition: width 0.45s var(--ease-out);
}

/* ── RC Quiz: KI-Dialog ─────────────────────────────────────────────────── */

.rc-quiz__stage {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rc-quiz__stage.is-leaving {
    opacity: 0;
    transform: translateY(-10px);
}

.rc-quiz__stage.is-leaving-back {
    opacity: 0;
    transform: translateX(10px);
}

.rc-quiz__stage.is-entering-back {
    opacity: 0;
    transform: translateX(-10px);
}

.rc-quiz__ai {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rc-quiz__avatar {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(124, 92, 255, 0.12);
    background-image: url("../img/favicon/favicon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 62%;
    box-shadow: 0 0 24px rgba(124, 92, 255, 0.45);
}

.rc-quiz__avatar::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(124, 92, 255, 0.45);
    animation: rc-avatar-pulse 2.2s ease-out infinite;
}

@keyframes rc-avatar-pulse {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(1.45); opacity: 0; }
}

.rc-quiz__bubble {
    position: relative;
    flex: 1 1 auto;
    min-height: 62px;
    padding: 18px 74px 18px 22px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: 4px 22px 22px 22px;
    overflow: hidden;
}

.rc-quiz__info-trigger {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
    width: 54px;
    height: 46px;
    border: 0;
    border-left: 1px solid rgba(124, 92, 255, 0.16);
    border-bottom: 1px solid rgba(124, 92, 255, 0.16);
    border-radius: 0 22px 0 20px;
    background:
        linear-gradient(180deg, rgba(124, 92, 255, 0.12) 0%, rgba(124, 92, 255, 0.07) 100%);
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease-out),
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.rc-quiz.is-info-visible .rc-quiz__info-trigger {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.rc-quiz__info-trigger:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
    .rc-quiz__info-trigger:hover {
        background: linear-gradient(180deg, rgba(124, 92, 255, 0.16) 0%, rgba(124, 92, 255, 0.1) 100%);
        border-left-color: rgba(124, 92, 255, 0.26);
        border-bottom-color: rgba(124, 92, 255, 0.26);
    }
}

.rc-quiz__dots {
    display: inline-flex;
    gap: 5px;
    padding: 8px 2px;
}

.rc-quiz__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: rc-dot-bounce 1.2s ease-in-out infinite;
}

.rc-quiz__dots i:nth-child(2) { animation-delay: 0.15s; }
.rc-quiz__dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes rc-dot-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.rc-quiz__question {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.55;
    color: var(--text);
}

.rc-quiz__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.rc-quiz__caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin-left: 3px;
    vertical-align: -0.15em;
    background: var(--violet);
    animation: rc-caret-blink 0.9s steps(1) infinite;
}

@keyframes rc-caret-blink {
    50% { opacity: 0; }
}

.rc-quiz__info {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.rc-quiz__info.is-open {
    opacity: 1;
    pointer-events: auto;
}

.rc-quiz__info-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(9, 12, 22, 0.54);
    cursor: pointer;
}

.rc-quiz__info-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100vw - 56px));
    padding: 28px 28px 24px;
    background: rgba(13, 19, 35, 0.92);
    border: 1px solid rgba(124, 92, 255, 0.2);
    border-radius: 24px;
    box-shadow:
        0 28px 70px -38px rgba(0, 0, 0, 0.62),
        0 22px 58px -42px rgba(124, 92, 255, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s var(--ease-out);
}

.rc-quiz__info.is-open .rc-quiz__info-dialog {
    transform: none;
}

.rc-quiz__info-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rc-quiz__info-close svg {
    width: 16px;
    height: 16px;
}

.rc-quiz__info-close:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .rc-quiz__info-close:hover {
        background: rgba(124, 92, 255, 0.14);
        border-color: rgba(124, 92, 255, 0.22);
        color: var(--text);
    }
}

.rc-quiz__info-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--violet);
}

.rc-quiz__info-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.rc-quiz__info-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.rc-quiz__info-example {
    margin-top: 18px;
    padding: 16px 18px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.14);
    border-radius: 18px;
}

.rc-quiz__info-example strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--violet);
}

.rc-quiz__info-example p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
}

html[data-theme="light"] .rc-quiz__info-backdrop {
    background: rgba(229, 232, 242, 0.8);
    backdrop-filter: blur(14px) saturate(145%);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
}

html[data-theme="light"] .rc-quiz__info-dialog {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(124, 92, 255, 0.16);
    box-shadow:
        0 26px 64px -36px rgba(14, 18, 38, 0.18),
        0 20px 54px -42px rgba(124, 92, 255, 0.18);
}

html[data-theme="light"] .rc-quiz__info-close {
    background: rgba(124, 92, 255, 0.06);
    border-color: rgba(124, 92, 255, 0.14);
    color: #5B3DF0;
}

html[data-theme="light"] .rc-quiz__info-close:hover {
    background: rgba(124, 92, 255, 0.12);
    border-color: rgba(124, 92, 255, 0.22);
    color: #4A2FD8;
}

html[data-theme="light"] .rc-quiz__info-text {
    color: #454B66;
}

html[data-theme="light"] .rc-quiz__info-example {
    background: rgba(124, 92, 255, 0.06);
    border-color: rgba(124, 92, 255, 0.12);
}

html[data-theme="light"] .rc-quiz__info-example p {
    color: #0E1226;
}

/* ── RC Quiz: Antworten ─────────────────────────────────────────────────── */

.rc-quiz__answers {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.rc-quiz__actions {
    display: flex;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.rc-quiz.is-back-visible .rc-quiz__actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.rc-quiz__back {
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.rc-quiz__back:hover,
.rc-quiz__back:focus-visible {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    outline: none;
}

.rc-answer {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        transform 0.35s var(--ease-out),
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.rc-quiz__answers.is-visible .rc-answer {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.rc-quiz__answers.is-visible .rc-answer:nth-child(1) { transition-delay: 0.05s, 0.05s, 0s, 0s, 0s; }
.rc-quiz__answers.is-visible .rc-answer:nth-child(2) { transition-delay: 0.13s, 0.13s, 0s, 0s, 0s; }
.rc-quiz__answers.is-visible .rc-answer:nth-child(3) { transition-delay: 0.21s, 0.21s, 0s, 0s, 0s; }
.rc-quiz__answers.is-visible .rc-answer:nth-child(4) { transition-delay: 0.29s, 0.29s, 0s, 0s, 0s; }

.rc-answer:focus-visible {
    border-color: var(--violet);
    background: rgba(124, 92, 255, 0.07);
    transform: translateX(4px);
    transition-delay: 0s;
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .rc-answer:hover:not(:disabled) {
        border-color: var(--violet);
        background: rgba(124, 92, 255, 0.07);
        transform: translateX(4px);
        transition-delay: 0s;
    }

    .rc-answer:hover:not(:disabled) .rc-answer__key {
        border-color: var(--violet);
        color: var(--violet);
    }

    .rc-answer.is-selected:hover:not(:disabled) {
        background: var(--violet);
        border-color: var(--violet);
        color: #fff;
    }

    .rc-answer.is-selected:hover:not(:disabled) .rc-answer__key {
        background: rgba(255, 255, 255, 0.16);
        border-color: transparent;
        color: #fff;
    }
}

.rc-answer__key {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: inherit;
}

.rc-answer:focus-visible .rc-answer__key {
    border-color: var(--violet);
    color: var(--violet);
}

.rc-answer__label {
    flex: 1 1 auto;
}

.rc-answer__check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.rc-answer.is-selected {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}

.rc-answer.is-selected .rc-answer__key {
    background: rgba(255, 255, 255, 0.16);
    border-color: transparent;
    color: #fff;
}

.rc-answer.is-selected:focus-visible {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}

.rc-answer.is-selected .rc-answer__check {
    opacity: 1;
    transform: scale(1);
}

.rc-answer.is-dim {
    opacity: 0.35;
}

/* ── RC Quiz: Ergebnis ──────────────────────────────────────────────────── */

.rc-result {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 0 32px;
}

.rc-result__ring .score-progress--result {
    animation: none;
    stroke-dashoffset: 578.05;
    transition: stroke-dashoffset 1.4s var(--ease-out);
}

.rc-result__pct {
    font-size: 0.45em;
    font-weight: 600;
}

.rc-result__intro {
    max-width: 520px;
    margin: 0 auto 26px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

.rc-result__form {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

.rc-result__form .form-group {
    margin-bottom: 18px;
}

.rc-result__submit-row {
    margin-top: 24px;
    justify-content: stretch;
    align-items: center;
}

.rc-result__submit {
    width: 100%;
    min-width: 0;
}

.rc-quiz:focus,
.rc-quiz:focus-visible {
    outline: none;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .rc-view.is-active {
        animation: none;
    }
    .rc-quiz__avatar::after,
    .rc-quiz__dots i,
    .rc-quiz__caret {
        animation: none;
    }
    .rc-answer {
        transition-duration: 0.01s;
    }
}

/* ── Responsive: Modal & RC ─────────────────────────────────────────────── */

@media (max-width: 960px) {
    .fs-modal__content {
        padding: 72px 0 32px;
    }
    .fs-modal__close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .rc-quiz__progress {
        margin-bottom: 26px;
    }
    .rc-quiz__avatar {
        width: 38px;
        height: 38px;
    }
    .rc-quiz__bubble {
        padding: 16px 68px 16px 18px;
    }
}

@media (max-width: 600px) {
    .fs-orb--tl {
        opacity: 0.13;
    }
    .fs-orb--br {
        opacity: 0.11;
    }
    .fs-modal__content {
        padding: 68px 0 28px;
    }
    .fs-modal__content > .container {
        padding: 0 18px;
    }
    .fs-modal__head {
        text-align: left;
        margin-bottom: 34px;
        padding-right: 56px;
    }
    .fs-modal__title {
        font-size: 28px;
        line-height: 1.08;
        max-width: 12ch;
        text-wrap: balance;
    }
    .fs-modal__content.is-quiz-active .fs-modal__head {
        margin-bottom: 26px;
    }
    .fs-modal__content.is-quiz-active .fs-modal__title {
        font-size: 20px;
        max-width: none;
    }
    .rc-app__empty-score { width: 180px; height: 180px; }
    .rc-app__empty-score .score-q { font-size: 42px; }
    .rc-quiz__meta { align-items: flex-start; flex-wrap: wrap; }
    .rc-quiz {
        width: 100%;
    }
    .rc-quiz__progress {
        margin-bottom: 24px;
    }
    .rc-quiz__ai {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        width: 100%;
    }
    .rc-quiz__avatar { width: 34px; height: 34px; }
    .rc-quiz__bubble {
        width: auto;
        min-width: 0;
        min-height: 0;
        padding: 16px 56px 16px 16px;
    }
    .rc-quiz__info-trigger {
        top: -1px;
        right: -1px;
        width: 44px;
        height: 38px;
        border-radius: 0 22px 0 16px;
        font-size: 12px;
    }
    .rc-quiz__question {
        font-size: 15.5px;
        line-height: 1.55;
        text-wrap: pretty;
    }
    .rc-quiz__info { align-items: flex-end; padding: 0; }
    .rc-quiz__info-dialog {
        width: 100%;
        max-width: none;
        padding: 24px 20px 20px;
        border-radius: 24px 24px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateY(22px);
    }
    .rc-quiz__info-title { font-size: 21px; }
    .rc-answer { padding: 13px 16px; font-size: 15px; gap: 12px; }
    .rc-quiz__back { width: auto; min-width: 0; padding: 0; font-size: 12px; }
}
