@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter'),
        url('fonts/inter-400.woff2') format('woff2'),
        url('fonts/inter-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Inter SemiBold'),
        url('fonts/inter-600.woff2') format('woff2'),
        url('fonts/inter-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Inter Bold'),
        url('fonts/inter-700.woff2') format('woff2'),
        url('fonts/inter-700.ttf') format('truetype');
}

:root {
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #151515;
    --text-secondary: #4B4C52;
    --text-muted: #9199A6;
    --border: #ECEDEE;
    --border-active: #9199A6;
    --btn-grad-from: #192A8F;
    --btn-grad-from-rgb: 25, 42, 143;
    --btn-grad-to: #192A8F;
    --accent-blue: #195EC6;
    --accent-purple: #2d4fc0;
    --white: #ffffff;
    --transparent: transparent;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --indigo-300: #a5b4fc;
    --violet-200: #ddd6fe;
    --font-main: 'Inter', system-ui, sans-serif;
    --radius-card: 12px;
    --radius-btn: 8px;
    /* Glow-Rahmen Werte - Jetzt synchron mit Marken-Blau */
    --glow-blur: 6.0px;
    --glow-spread: 2.0px;
    --glow-color: #19358f;
    /* Hier einfach deinen Hex-Code eingeben! */
    --scroll-progress: 0;
}

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

/* Global Link Styles Base */
a {
    text-decoration: none;
    transition: all 0.2s ease;
    color: inherit;
}

/* Specific text links (Legal, etc.) */
.legal-content a:not(.btn-primary):not(.btn-secondary):not(.logo),
.legal-section a:not(.btn-primary):not(.btn-secondary),
.footer-tagline a {
    color: var(--btn-grad-from);
}

.legal-content a:not(.btn-primary):not(.btn-secondary):not(.logo):hover,
.legal-section a:not(.btn-primary):not(.btn-secondary):hover,
.footer-tagline a:hover {
    color: var(--btn-grad-to);
}

.legal-content a:not(.btn-primary):not(.btn-secondary) {
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.legal-content a:not(.btn-primary):not(.btn-secondary):hover {
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #151515;
    color: white;
    padding: 10px 20px;
    z-index: 10001;
    /* Über dem Header-Glow */
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.skip-link:focus-visible {
    top: 20px;
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from) !important;
    background: #000000;
    color: #ffffff;
}

.skip-link:active {
    transform: translateY(2px);
    transition: none;
    outline: none !important;
}

.highlight-blue {
    color: var(--btn-grad-from);
    font-weight: 700;
}

/* Visuelles Feedback für das Sprungziel (Konsistent mit dem Rest der Seite) */
#main-content:focus-visible,
h1:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from) !important;
    border-radius: 4px;
}

#main-content:focus:not(:focus-visible),
h1:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Dezentere Anzeige, wenn man nur durchtabbt */
h1:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Utility: Visuell verstecken, aber für Screenreader lesbar halten */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 90px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    /* Nutzt color-mix für Hex-Codes mit Transparenz - JETZT STATISCH FÜR BESSERE PERFORMANCE */
    box-shadow:
        0 1px var(--glow-blur) var(--glow-spread) color-mix(in srgb, var(--glow-color), transparent 35%) inset,
        0 1px calc(var(--glow-blur) * 0.8) calc(var(--glow-spread) * 0.5) color-mix(in srgb, var(--glow-color), transparent 80%) inset;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

body.frame-visible::after {
    opacity: 1;
}



:focus {
    outline: none !important;
}

:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from) !important;
}

html.is-using-mouse *:focus,
html.is-using-mouse *:focus-visible,
html.is-using-mouse #main-content:focus,
html.is-using-mouse #main-content:focus-visible,
html.is-using-mouse h1:focus,
html.is-using-mouse h1:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-container {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

@media (max-width: 1240px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 6%;
    }
}

.header-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

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

.logo-img {
    height: 32px;
    width: auto;
    max-width: 100%;
}

header nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Mobile Toggle Styles */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
    transition: transform 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
}

header nav a,
.nav-contact-btn {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.8rem;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 20px;
    transition: color 0.15s ease;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

header nav a::after,
.nav-contact-btn::after {
    content: '';
    position: absolute;
    top: -25px;
    bottom: -25px;
    left: -10px;
    right: -10px;
}

header nav a:hover,
.nav-contact-btn:hover {
    color: var(--btn-grad-from);
}

.header-cta {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 5%;
    }

    header nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-logo-wrap {
        flex: initial;
    }

    .header-cta {
        display: none;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    min-height: 36px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-btn);
    background: #151515;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .08), 0 1px 2px 0 rgba(0, 0, 0, .05);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #27282A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn-primary:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from) !important;
}

.btn-primary-hero {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    min-height: 44px;
    border-radius: var(--radius-btn);
}

.aurora-container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    overflow: visible;
    /* Reflow: Allow content to expand */
    padding-top: 140px;
    /* Safe space for fixed header */
    padding-bottom: 180px;
    /* Mehr Platz am Ende für sauberen Anschluss */
}

/* Optimize for small vertical space (Reflow/Zoom) */
@media (max-height: 700px) {
    .aurora-container {
        justify-content: flex-start;
        padding-top: 160px;
    }
}

.aurora-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: blur(10px) invert(1);
}

.aurora-effect {
    --white-gradient: repeating-linear-gradient(100deg,
            var(--white) 0%, var(--white) 7%,
            var(--transparent) 10%, var(--transparent) 12%,
            var(--white) 16%);
    --aurora: repeating-linear-gradient(100deg,
            var(--blue-500) 10%,
            var(--indigo-300) 15%,
            var(--blue-300) 20%,
            var(--violet-200) 25%,
            var(--blue-400) 30%);
    background-image: var(--white-gradient), var(--aurora);
    background-size: 300%, 200%;
    background-position: 50% 50%, 50% 50%;
    position: absolute;
    inset: -10px;
    opacity: 0.5;
    will-change: transform;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    animation: aurora-move 80s linear infinite;
}

@keyframes aurora-move {
    from {
        background-position: 50% 50%, 50% 50%;
    }

    to {
        background-position: 350% 50%, 350% 50%;
    }
}

.aurora-effect::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--white-gradient), var(--aurora);
    background-size: 200%, 100%;
    background-attachment: fixed;
    mix-blend-mode: difference;
    animation: aurora-move 80s linear infinite;
}

@media (max-width: 768px) {

    .aurora-effect,
    .aurora-effect::after {
        animation: none !important;
        will-change: auto !important;
    }
}

/* ── VIDEO SHOWCASE 3D EFFECT ── */
.video-showcase-container {
    position: relative;
    min-height: 105vh;
    /* Scroll-Platz für die Animation */
    background: transparent;
    /* Hintergrund entfernt für nahtlosen Übergang zum Hero */
    margin-top: -280px;
    /* Reduziert, damit es NIEMALS den Text der Trust-Badges überlappt */
    z-index: 20;
    pointer-events: none;
    /* Verhindert, dass der Container Klicks auf den Hero abfängt */
}

.video-scroll-wrapper {
    pointer-events: auto;
    /* Klicks auf das Video/Mockup wieder erlauben */
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    /* Aceternity standard */
    padding: 0 10%;
}

.video-perspective-box {
    width: 100%;
    max-width: 1200px;
    transform-style: preserve-3d;
    /* Transformation: 20deg -> 0deg Tilt */
    transform:
        rotateX(calc(20deg * (1 - var(--scroll-progress, 0)))) scale(calc(1.05 - (0.05 * var(--scroll-progress, 0))));
    transition: transform 0.1s linear;
    will-change: transform;
}

.video-mockup {
    position: relative;
    background: #151515;
    border-radius: 30px;
    /* Aceternity radius */
    border: 4px solid #151515;
    /* LeenUI Brand Schwarz */
    /* Harmonischer blauer Schatten passend zum Brand-Design */
    box-shadow:
        0 0 #00000033,
        0 4px 12px color-mix(in srgb, var(--glow-color), transparent 85%),
        0 16px 24px color-mix(in srgb, var(--glow-color), transparent 90%),
        0 32px 32px color-mix(in srgb, var(--glow-color), transparent 93%),
        0 64px 48px color-mix(in srgb, var(--glow-color), transparent 95%);
    overflow: hidden;
}

.mockup-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.video-chrome {
    height: 32px;
    background: #252525;
    display: none;
    /* Hide for true Aceternity look */
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chrome-dots {
    display: flex;
    gap: 6px;
}

.chrome-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.showcase-video,
.showcase-video-poster {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.video-mockup {
    position: relative;
    background: #151515;
    border-radius: 30px;
    border: 4px solid #151515;
    box-shadow: 0 0 #00000033, 0 4px 12px rgba(25, 42, 143, 0.05);
    overflow: hidden;
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    font-size: 5rem;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 10;
    pointer-events: none;
    /* Klick geht direkt an den Wrapper durch */
    backdrop-filter: blur(2px);
}

.video-play-overlay svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.video-play-overlay:hover svg {
    transform: scale(1.1);
}

.video-mockup.playing .video-play-overlay {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 768px) {
    .video-play-overlay svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .video-showcase-container {
        min-height: auto;
        height: auto;
        /* Erlaubt dem Container zu wachsen bei Zoom */
        margin-top: 0;
        /* Verhindert Überdeckung des Hero bei Textumbruch/Zoom */
        margin-bottom: 40px;
        z-index: 21;
    }

    .video-scroll-wrapper {
        padding: 0 5%;
        min-height: auto;
        height: auto;
        position: relative !important;
        /* Verhindert sticky-bezogene Layoutprobleme bei Zoom/Mobile */
        overflow: visible;
        /* Verhindert Clipping bei Zoom */
    }

    .video-mockup {
        border-radius: 12px;
        border-width: 2px;
    }

    .video-perspective-box {
        transform: none !important;
        /* Tilt-Animation auf dem Handy deaktivieren */
        transition: none !important;
    }
}


.app-preview-section {
    padding: 140px 10%;
    text-align: center;
}

#how-it-works,
#functions {
    background-color: #ffffff;
}

#how-it-works {
    margin-top: -140px;
    /* Kompensiert Leerraum des Video-Showcase-Containers (105vh scroll space) */
}

@media (max-width: 768px) {
    #how-it-works {
        margin-top: 0;
    }
}

.preview-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4.5rem;
}

.preview-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    margin-top: 1.5rem;
    gap: 2px;
}

.preview-description {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.6;
    text-align: center;
    transition: opacity 0.2s ease;
}

.preview-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.preview-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--border);
}

.preview-tab.active {
    background: #151515;
    color: #ffffff;
    box-shadow: none;
}

.app-preview-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(25, 42, 143, 0.08);
    overflow: hidden;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 1rem;
    height: 40px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca41;
}

.browser-bar {
    flex: 1;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 0 1rem;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-main);
    letter-spacing: 0;
}

.browser-actions {
    color: var(--text-secondary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.screenshot-area {
    width: 100%;
    aspect-ratio: 1120 / 629;
    background: radial-gradient(circle, #c8ccd4 1px, transparent 1px);
    background-color: #f4f5f7;
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-area.active {
    opacity: 1;
}

.screenshot-area[hidden] {
    display: none;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 14px 14px;
}

.screenshot-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    user-select: none;
    pointer-events: none;
}

.placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.screenshot-placeholder-inner p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.screenshot-placeholder-inner code {
    font-size: 0.75rem;
    background: var(--border);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

@media (max-width: 768px) {
    .app-preview-section {
        padding: 0 5% 60px;
    }


}

.hero {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.hero h1,
.hero .hero-sub,
.hero .hero-btns,
.hero .hero-badge {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeIn 0.8s ease-in-out forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(var(--btn-grad-from-rgb), 0.08);
    border: 1px solid rgba(var(--btn-grad-from-rgb), 0.2);
    border-radius: 100px;
    margin-bottom: 2rem;
    color: var(--btn-grad-from);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-badge span {
    display: inline-block;
}

.hero-word-wrapper.standout {
    display: block;
    position: relative;
    width: 100%;
    height: 1.45em;
    /* Genug Platz für Unterlängen wie 'g' in Vorsprung */
    margin: 0.0em 0 0.5rem;
    /* Drastisch reduziert, um die erste Zeile näher heranzuholen */
    overflow: visible;
    /* Erlaubt horizontalen Überhang */
    clip-path: inset(0 -100vw);
    /* Maskiert nur oben und unten, erlaubt unendliche Breite zu den Seiten */
}

.rotating-word {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 1em;
    /* Kann wieder auf volle Größe, da wir jetzt Platz haben */
    opacity: 0;
    /* Initialzustand: Mittig unter dem Container warten */
    transform: translate(-50%, 100%);
    /* Weiche Spring-Animation entsprechend stiffness: 50 */
    transition: transform 0.8s cubic-bezier(0.25, 1.3, 0.5, 1),
        opacity 0.4s ease-out;
    will-change: transform, opacity;
}

/* Der aktive Zustand (Mitte) */
.rotating-word.active {
    opacity: 1;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Der Exit-Zustand (Nach oben raus) */
.rotating-word.exit {
    opacity: 0;
    transform: translate(-50%, -200%);
    z-index: 1;
    /* Fließender Übergang beim Rausgehen */
    transition: transform 0.8s cubic-bezier(0.25, 1.3, 0.5, 1),
        opacity 0.4s ease-in;
}

.hero .hero-sub {
    animation-delay: 0.45s;
}

.hero .hero-btns {
    animation-delay: 0.6s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    /* Maximalgröße minimal reduziert für bessere Stabilität */
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 5rem;
    /* Schiebt die gesamte Überschrift weiter nach unten */
    margin-bottom: 0.5rem;
    /* Reduziert, damit der Subtext näher an den Wortwechsel rückt */
    max-width: 95vw;
    /* Verhindert horizontales Ausbrechen */
    margin-inline: auto;
    overflow-wrap: break-word;
}

h1 .gradient-text {
    color: var(--btn-grad-from);
    background: none;
    -webkit-text-fill-color: initial;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    position: relative;
    border-radius: 1.5rem;
    background: var(--bg-card);
    transition: transform 0.2s ease;
}

.card-inner {
    height: 100%;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1.5rem;
}

.card-icon-box {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    color: var(--btn-grad-from);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-step-number {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.card-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.75;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-inline: auto;
}

.trust-badges-container {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.trust-badge svg {
    color: var(--btn-grad-from);
    opacity: 0.8;
}

@media (max-width: 480px) {
    .trust-badge-row.bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
}

section.content-section {
    padding: 140px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    scroll-margin-top: -40px;
    /* Verschiebt die Stopp-Position nach oben */
}

section.content-section.alt-bg {
    background: #ffffff;
}

section.content-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0 auto 0.75rem;
    line-height: 1.15;
    text-align: center;
    max-width: 650px;
}

section.content-section .section-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin: 0 auto 4.5rem;
    text-align: center;
}

#features .section-sub {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-header {
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

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

.pricing-card {
    position: relative;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    background: #ffffff;
    transition: border-color 0.25s, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card.featured {
    border-color: var(--btn-grad-from);
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(25, 42, 143, 0.08);
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--btn-grad-from);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 2;
}

.pricing-card-inner {
    padding: 2.5rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    text-align: left;
}

.pricing-card.featured .pricing-card-inner {
    padding-top: 3.5rem;
}

.pricing-top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.plan-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    margin-top: 1rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 0.25rem;
    white-space: nowrap;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.price-number {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.price-custom {
    font-size: 1.75rem;
    letter-spacing: -1px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 2px;
    flex-shrink: 0;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    margin-top: 0.5rem;
}

.plan-features-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.price-notes-extra {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    position: relative;
}

.price-notes-extra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.features-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.1rem;
}

.check-icon svg {
    width: 18px;
    height: 18px;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-btn);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-active);
    color: var(--btn-grad-to);
    background: transparent;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.comparison-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comparison-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0 0 1rem;
    max-width: 650px;
}

.comparison-sub {
    text-align: center;
    margin: 0 0 3rem;
    max-width: 560px;
}

.comparison-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.comparison-col {
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.col-other {
    background: var(--bg-card);
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.col-leenui {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid var(--btn-grad-from);
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 48px rgba(25, 42, 143, 0.08);
}

.comparison-divider {
    width: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.col-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 32px;
}

.col-title.leenui-title {
    color: var(--text-primary);
}

.comp-logo {
    height: 22px;
    width: auto;
    display: block;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    color: var(--text-secondary);
}

.comp-item.bad {
    color: var(--text-secondary);
}

.comp-item.good {
    color: var(--text-secondary);
}

.comp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0;
}

.bad-icon {
    background: transparent;
    color: var(--text-secondary);
}

.good-icon {
    background: transparent;
    color: var(--btn-grad-from);
}

@media (max-width: 640px) {
    .comparison-card {
        grid-template-columns: 1fr;
    }

    .comparison-divider {
        width: auto;
        height: 1px;
        margin: 0 1.5rem;
    }

    .col-leenui {
        margin: 0 0.75rem 0.75rem;
    }
}

.cta-section {
    padding: 96px 10%;
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.main-footer {
    padding: 140px 0 40px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 140px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0;
}

.footer-brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.footer-cta {
    width: auto;
    padding: 10px 20px;
    font-size: 0.875rem;
}

.footer-links-grid {
    display: flex;
    gap: 5rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: flex-start;
}

.footer-column nav a,
.footer-column nav button {
    text-decoration: none;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    /* Base for the invisible hitbox */
}

/* Invisible hitbox expansion using pseudo-element */
.footer-column nav a::before,
.footer-column nav button::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    bottom: -0.5rem;
    left: -1rem;
    right: -1rem;
}

.footer-column nav a:hover,
.footer-column nav button:hover {
    color: var(--btn-grad-from);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-bottom p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.footer-mission {
    text-align: left;
    max-width: 600px;
}

.footer-copyright {
    text-align: right;
}

@media (max-width: 1240px) {

    .legal-content .container,
    .footer-top,
    .footer-bottom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


.roi-control-area {
    padding: 3.5rem;
    width: 100%;
    background: #ffffff;
}

.roi-control {
    width: 100%;
}

.roi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
}

.roi-label-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roi-label-wrap label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

#employee-count-display {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--btn-grad-from);
    letter-spacing: -1px;
}

.roi-hint {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: right;
    line-height: 1.4;
    max-width: none;
}

.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 100px;
    background: #f1f2f4;
    cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 42, 143, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 6.5px solid var(--btn-grad-from);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: -1.5px;
}

.roi-slider::-moz-range-thumb {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 42, 143, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 6.5px solid var(--btn-grad-from);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* --- Efficiency Compact Layout --- */

.efficiency-compact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    background: #f8f9fb;
    border-radius: 1.5rem;
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
}

.eff-horizontal-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

.eff-main-content {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.eff-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3.5rem;
}

.side-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sub-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.sub-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: none;
}

.sub-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sub-card-icon {
    width: 32px;
    height: 32px;
    background: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.sub-card-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sub-card-value-wrap {
    display: flex;
    align-items: baseline;
}

.sub-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sub-card-unit {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 0.2rem;
}

.eff-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.total-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Divider */

.eff-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    position: relative;
    width: 2px;
}

.divider-line {
    position: absolute;
    top: 4rem;
    bottom: 4rem;
    left: 50%;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
}

.leenui-brand-badge {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: auto;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.brand-logo-img {
    width: 80px;
    height: auto;
    display: block;
}


/* LeenUI Side */

.eff-leenui {
    flex: 1;
    background: transparent;
}

.main-saving-card {
    background: #ffffff;
    border: 1px solid var(--btn-grad-from);
    border-radius: 1.5rem;
    padding: 3rem;
    color: var(--text-primary);
    box-shadow: 0 12px 48px rgba(25, 42, 143, 0.08);
    /* Same shadow as pricing featured */
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.saving-card-header {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.saving-card-large {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    color: var(--btn-grad-from);
    /* Solid brand blue */
}

.saving-card-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.fte-badge {
    display: inline-flex;
    background: rgba(25, 42, 143, 0.05);
    /* Very subtle brand blue haze */
    border: 1px solid rgba(25, 42, 143, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--btn-grad-from);
    font-size: 0.9375rem;
    margin-bottom: 3rem;
    align-self: flex-start;
}

.saving-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    margin-bottom: 2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.item-label {
    color: var(--text-secondary);
}

.item-value {
    font-weight: 700;
    color: var(--text-primary);
}

.saving-bottom-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.roi-disclaimer {
    max-width: 1000px;
    width: 100%;
    margin: 3.5rem auto 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    padding: 0 1.5rem;
    font-style: italic;
}

@media (max-width: 1024px) {
    .efficiency-compact {
        flex-direction: column;
        border-radius: 1.5rem;
    }

    .roi-control-area {
        padding: 2.5rem;
    }

    .eff-horizontal-divider {
        margin: 0 2.5rem;
    }

    .eff-main-content {
        flex-direction: column;
        padding: 0 2.5rem 2.5rem;
    }

    .eff-side {
        padding: 2.5rem 0;
        /* Adjusted to 0 horizontal padding as main content handles it */
        width: 100%;
    }

    .eff-divider {
        width: 100%;
        height: 80px;
        margin: 0;
    }

    .divider-line {
        width: 80%;
        height: 1px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .leenui-brand-badge {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 64px;
        width: auto;
        height: 64px;
        padding: 0 12px;
    }

    .roi-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .roi-hint {
        text-align: left;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .roi-control-area {
        padding: 2rem 1.25rem;
        /* Reduced horizontal padding for the slider area */
    }

    .eff-horizontal-divider {
        margin: 0 1.25rem;
        /* Consistent margin for the divider */
    }

    .eff-main-content {
        padding: 0 1.25rem 2rem;
        /* Matches the slider area padding */
    }

    .eff-side {
        padding: 1.5rem 0;
        /* Remove side padding to give child cards more space */
    }

    .main-saving-card {
        padding: 2rem 1.25rem;
        /* Reduced internal padding of the card */
    }

    .sub-card {
        padding: 1.25rem;
        /* Reduced internal padding of sub-cards */
    }

    .saving-card-large {
        font-size: 2.75rem;
        /* Slightly smaller to prevent line breaks or squishing */
    }

    .side-title {
        margin-bottom: 1.5rem;
    }

    .sub-card-label {
        font-size: 0.9375rem;
        /* Slightly smaller labels for mobile */
    }

    .fte-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }
}

.hardware-section {
    background: #ffffff;
    text-align: center;
}

.hardware-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    text-align: left;
}

@media (max-width: 820px) {
    .hardware-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

.hardware-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hardware-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 1rem;
}

.hardware-text {
    flex: 1.2;
}

.hardware-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hardware-list {
    gap: 1rem;
}

.hardware-list li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.vision-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 auto 1rem;
    max-width: 650px;
}

.vision-sub {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.vision-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: none;
    text-align: left;
}

@media (max-width: 768px) {
    .vision-card {
        flex-direction: column;
    }
}

.vision-photo {
    width: 380px;
    flex-shrink: 0;
    background: #f4f7ff;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .vision-photo {
        width: 100%;
        min-height: 240px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.vision-photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center top;
    /* Optimale Positionierung für Porträts */
}

.vision-photo-placeholder svg {
    opacity: 0.4;
}

.vision-photo-placeholder span {
    font-size: 0.8rem;
    font-weight: 400;
}

.vision-photo-placeholder code {
    font-size: 0.72rem;
    background: var(--border);
    padding: 2px 7px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.vision-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    flex: 1;
}

.vision-author {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.author-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    margin-top: 0.25rem;
}

.linkedin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(25, 42, 143, 0.05);
    color: var(--btn-grad-from);
    border: 1px solid rgba(25, 42, 143, 0.1);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease;
    margin-top: -1px;
}

.linkedin-badge:hover {
    background: rgba(25, 42, 143, 0.12);
    border-color: rgba(25, 42, 143, 0.3);
}

.linkedin-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.vision-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.vision-quote {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
    border-left: 3px solid var(--btn-grad-from);
    padding-left: 1rem;
    line-height: 1.6;
}

.vision-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-section h2 {
    margin-bottom: 0.5rem;
}

.faq-list {
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: left;
}

.faq-category-title:first-child {
    margin-top: 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(25, 42, 143, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: left;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--btn-grad-from);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    display: flex;
}

.faq-question[aria-expanded="true"] {
    color: var(--btn-grad-from);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--btn-grad-from);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.faq-answer:not([hidden]) {
    display: block;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 850px;
}

.faq-examples {
    padding: 0 2rem 1rem 3.5rem;
    max-width: 850px;
}

.faq-example-item {
    position: relative;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.faq-example-item::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--btn-grad-from);
    font-weight: bold;
    font-size: 1.2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

.reveal-delay-7 {
    transition-delay: 0.7s;
}

.reveal-delay-8 {
    transition-delay: 0.8s;
}

.reveal-delay-9 {
    transition-delay: 0.9s;
}

.reveal-delay-10 {
    transition-delay: 1.0s;
}

.reveal-delay-11 {
    transition-delay: 1.1s;
}

.reveal-delay-12 {
    transition-delay: 1.2s;
}

.reveal-delay-13 {
    transition-delay: 1.3s;
}

.reveal-delay-14 {
    transition-delay: 1.4s;
}

.reveal-delay-15 {
    transition-delay: 1.5s;
}

.reveal-delay-16 {
    transition-delay: 1.6s;
}

.reveal-delay-17 {
    transition-delay: 1.7s;
}

.reveal-delay-18 {
    transition-delay: 1.8s;
}

.reveal-delay-19 {
    transition-delay: 1.9s;
}

.reveal-delay-20 {
    transition-delay: 2.0s;
}

@media (max-width: 1024px) {

    section.content-section,
    .cta-section {
        padding: 72px 6%;
    }
}

@media (max-width: 768px) {
    .aurora-container {
        padding-top: 120px;
        /* Reduziert von 140px für weniger Platz zum Header */
        padding-bottom: 40px;
        /* Von 100px reduziert für weniger Abstand zur Video-Section */
        min-height: auto;
    }

    h1 {
        letter-spacing: -1px;
        margin-top: 10px;
    }

    .hero {
        padding: 0 5%;
    }

    #features {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .orbital-wrap {
        min-height: 380px;
        height: auto;
        padding: 0;
        margin-top: 0;
    }

    header {
        height: auto;
        min-height: calc(56px + env(safe-area-inset-top));
        /* Safari Notch Fix */
        padding-top: env(safe-area-inset-top);
        background: #ffffff !important;
        /* Fully opaque on mobile */
        z-index: 2200;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        display: flex;
        align-items: center;
    }

    header nav a:not(.btn-primary) {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    section.content-section,
    .cta-section {
        padding: 40px 5%;
        /* Von 56px auf 40px reduziert */
    }

    .main-footer {
        padding: 60px 0 32px;
    }

    .footer-top,
    .footer-bottom {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-links-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .footer-column {
        flex: none;
        width: 100%;
    }

    .footer-column nav {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-mission,
    .footer-copyright {
        text-align: center;
        max-width: 100%;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backface-visibility: hidden;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
}

.modal-open {
    overflow: hidden !important;
    height: 100vh;
}

.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 1.5rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f4f4f5;
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-intro a {
    position: relative;
    color: var(--btn-grad-from);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal-intro a::after {
    content: "";
    position: absolute;
    inset: -10px -15px;
}

.modal-intro a:hover {
    text-decoration: none;
}

.leen-form .form-group {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.leen-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.leen-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.leen-form input,
.leen-form select,
.leen-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-active);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    display: block;
}

.leen-form textarea {
    resize: vertical;
    /* Verhindert das breiter ziehen des Fensters */
    min-height: 80px;
    /* Sicherstellung einer minimalen Griff-Fläche */
}

.leen-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2362646A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.leen-form input:focus,
.leen-form select:focus,
.leen-form textarea:focus {
    outline: none !important;
    border-color: var(--btn-grad-from);
}

.leen-form input.invalid,
.leen-form select.invalid,
.leen-form textarea.invalid {
    border-color: #dc2626 !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    position: absolute;
    top: 100%;
    margin-top: 4px;
    left: 0;
    display: block;
    animation: fadeIn 0.15s ease-out;
    pointer-events: none;
    z-index: 10;
    line-height: 1.2;
}

.leen-form input:focus-visible,
.leen-form select:focus-visible,
.leen-form textarea:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from) !important;
    border-color: var(--btn-grad-from);
}

html.is-using-mouse .leen-form input:focus,
html.is-using-mouse .leen-form select:focus,
html.is-using-mouse .leen-form textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-step.active {
    display: block;
}

.form-step-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.form-step .btn-block {
    margin-top: 2rem;
}

.form-step-nav .btn-secondary {
    background: #f4f4f5;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.form-step-nav .btn-secondary:hover {
    background: #e4e4e7;
    border-color: var(--btn-grad-from);
}

.form-step-nav .btn-primary,
.form-step .btn-block {
    min-height: 44px;
}

.form-step-nav .btn-secondary:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--btn-grad-from);
}

.leen-form .btn-block {
    width: 100%;
    margin-top: 2rem;
    justify-content: center;
    padding: 1rem;
}

.btn-primary.error {
    background: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

/* ── ORBITAL ADVANTAGES (EXACT REPLICA) ──────────────────────── */
#features {
    background-color: #151515;
    padding-top: 140px;
    padding-bottom: 140px;
    box-shadow: 0 0 0 100vmax #151515;
    clip-path: inset(0 -100vmax);
    color: #ffffff;
}

#features h2 {
    color: #fff;
    position: relative;
    z-index: 5;
}

#features .section-sub {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

#features .section-badge {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.orbital-wrap {
    position: relative;
    width: 100%;
    height: calc(var(--orbital-radius, 250px) * 2 + 150px);
    min-height: 500px;
    max-height: 90vh;
    margin-top: -1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    /* Isoliert die Sektion für maximale Stabilität */
    contain: layout paint;
}

.orbital-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital-center-piece {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.orbital-core-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital-core {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--btn-grad-from) 0%, var(--btn-grad-to) 100%);
    border-radius: 50%;
    /* animation: pulseCore 3s infinite ease-in-out; - Deaktiviert auf Wunsch */
    filter: blur(2px);
}

.orbital-center-dot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
}

.orbital-ring-pulse-1,
.orbital-ring-pulse-2 {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(25, 42, 143, 0.2);
    /* animation: pingEffect 3s infinite cubic-bezier(0, 0, 0.2, 1); - Deaktiviert auf Wunsch */
}

.orbital-ring-pulse-1 {
    width: 80px;
    height: 80px;
}

.orbital-ring-pulse-2 {
    width: 96px;
    height: 96px;
    animation-delay: 0.5s;
    opacity: 0.5;
}

.orbital-main-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: calc(var(--orbital-radius, 250px) * 2);
    height: calc(var(--orbital-radius, 250px) * 2);
    will-change: transform;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbital-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbital-node {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -32px;
    margin-top: -32px;
    transition: opacity 0.7s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    will-change: transform, opacity;
    outline: none !important;
    box-shadow: none !important;
    /* Unterdrückt den globalen Fokus-Ring am Parent */
    /* Unterdrückt den Standard-Rechteck-Fokus */
}

.orbital-node:focus-visible .node-icon-circle {
    outline: none !important;
    /* 4px Abstand zum Kreis, dann 3px Weiß, dann 3px Blau */
    box-shadow: 0 0 0 4px #151515, 0 0 0 7px #ffffff, 0 0 0 10px var(--btn-grad-from);
    transform: scale(1.1);
}

#orbital-nodes-list.is-transitioning .orbital-node {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.orbital-node.no-transition {
    transition: none !important;
}

.node-energy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 42, 143, 0.2) 0%, rgba(25, 42, 143, 0) 70%);
    pointer-events: none;
}

.orbital-node.active .node-energy-glow {
    animation: pulseEnergy 1s infinite alternate;
}

.node-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #151515;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease-in-out, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    z-index: 2;
    will-change: transform;
}

.orbital-node:hover .node-icon-circle,
.orbital-node:focus-visible .node-icon-circle,
.orbital-node.related .node-icon-circle {
    background: rgba(255, 255, 255, 0.5);
    border-color: #fff;
    color: #000;
}

.orbital-node.related .node-icon-circle {
    animation: pulseIcon 1.5s infinite ease-in-out;
}

.orbital-node.active .node-icon-circle {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.node-label-small {
    position: absolute;
    top: 72px;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .node-icon-circle {
        width: 48px;
        height: 48px;
    }

    .node-label-small {
        top: 56px;
        font-size: 11px;
    }

    .orbital-node {
        margin-left: -24px;
        margin-top: -24px;
    }
}

.orbital-node.active .node-label-small {
    color: #fff;
    transform: scale(1.25) translateY(5px);
}

/* Node-Relative Detail Card */
.node-card {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    background: rgba(21, 21, 21, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
    opacity: 0;
    animation: cardAppears 0.5s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 200;
    will-change: transform, opacity;
}

.card-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 210;
}

.card-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.card-close-btn svg {
    pointer-events: none;
}

.node-card::before {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.3);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-badge {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--btn-grad-from);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-content {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.card-energy-wrap {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.energy-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-main);
    font-size: 0.75rem;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.energy-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.energy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    border-radius: 2px;
}

/* Animations */
@keyframes pulseCore {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes pingEffect {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulseEnergy {
    from {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

@keyframes cardAppears {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Responsive Fallback Improvements */
@media (max-width: 991px) {
    .orbital-wrap {
        height: auto;
        min-height: 550px;
        padding: 0;
        margin-top: 0;
        overflow: visible;
        /* Prevent cards from being cut off */
    }
}

@media (max-width: 600px) {
    #features {
        padding-top: 80px !important;
        padding-bottom: 150px !important;
        /* Huge space for cards */
    }

    #features .section-sub {
        margin-bottom: 4rem;
    }

    .orbital-wrap {
        min-height: 520px;
        margin-top: 1rem;
        overflow: visible;
    }

    .node-card {
        width: 88vw;
        left: 50%;
        top: 90px;
        /* Pull it up a bit */
        padding: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-privacy {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.form-privacy a {
    position: relative;
    color: var(--btn-grad-from);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy a::after {
    content: "";
    position: absolute;
    inset: -10px -15px;
}

.form-privacy a:hover {
    text-decoration: none;
}

.legal-page {
    padding-top: 100px;
}

.legal-content {
    padding: 4rem 0 8rem;
}

.legal-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    letter-spacing: -0.03em;
    text-align: left;
    max-width: 100%;
}

.legal-section {
    margin-bottom: 4rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.25rem;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.legal-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.legal-section ul li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.back-link {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}


@media (max-width: 1240px) {
    .legal-content .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .legal-content .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .leen-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ── MOBILE MENU OVERLAY ────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    background: #ffffff;
    width: 300px;
    max-width: 100%;
    height: 100%;
    margin-left: auto;
    padding: 24px 32px 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-close {
    background: #f4f4f5;
    border: none;
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-close:hover {
    background: #e4e4e7;
}

.mobile-close svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
}

.mobile-nav a {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 18px 12px;
    width: 100%;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a:active {
    background: none;
    color: var(--btn-grad-from);
}

/* Scroll Lock & Scrollbar Compensation */
.modal-open,
.menu-open {
    overflow: hidden !important;
}

.modal-open body,
.modal-open header,
.menu-open body,
.menu-open header {
    padding-right: var(--scrollbar-width, 0px);
}

/* Fix für überlange rotierende Wörter im Hero auf kleinen Handys */
@media (max-width: 480px) {
    h1 {
        font-size: 2.25rem !important;
        /* Etwas kleiner für besseren Platz */
    }

    .hero-word-wrapper.standout {
        height: 2.3em;
        /* Genug Platz für zweizeiligen Text */
        margin-bottom: 0.8rem;
    }

    .rotating-word {
        width: 100%;
        max-width: 90vw;
        white-space: normal !important;
        /* Erlaubt Zeilenumbruch */
        line-height: 1.1;
        text-align: center;
        display: block;
        left: 50%;
        transform: translate(-50%, 100%);
    }

    .rotating-word.active {
        transform: translate(-50%, -50%);
    }

    .rotating-word.exit {
        transform: translate(-50%, -200%);
    }
}

/* ── ULTIMATIVE FOKUS-ENTFERNUNG FÜR MAUS-NUTZER ────────────────────────── */
/* Verhindert den blauen Rahmen beim Klicken auf rechtliche Seiten & Footer-Links.
   Wir nutzen eine hohe Spezifität, um ID-basierte Regeln zu überschreiben. */
html.is-using-mouse *:focus,
html.is-using-mouse *:focus-visible,
html.is-using-mouse #main-content:focus,
html.is-using-mouse #main-content:focus-visible,
html.is-using-mouse h1:focus,
html.is-using-mouse h1:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}