/**
 * Copyright (c) 2026 Noomdigital-Group (NDG)
 * Alle Rechte vorbehalten. Dieser Hinweis darf nicht entfernt werden.
 */

:root {
    --bg: #f4f8fc;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --surface-soft: #eaf3fb;
    --text: #102033;
    --muted: #5c6d80;
    --line: rgba(15, 55, 88, 0.14);
    --primary: #006eb8;
    --primary-strong: #004f86;
    --secondary: #69b21d;
    --glow-blue: rgba(0, 110, 184, 0.18);
    --glow-green: rgba(105, 178, 29, 0.12);
    --shadow: 0 28px 80px rgba(23, 57, 84, 0.16);
    --radius-lg: 30px;
    --radius-md: 18px;
    --shell: 1180px;
}

html[data-resolved-theme="dark"] {
    --bg: #050d18;
    --surface: rgba(10, 24, 42, 0.76);
    --surface-solid: #0b1728;
    --surface-soft: #0e2036;
    --text: #f6f9fc;
    --muted: #9aabbf;
    --line: rgba(148, 163, 184, 0.18);
    --primary: #38bdf8;
    --primary-strong: #7dd3fc;
    --secondary: #8bd13d;
    --glow-blue: rgba(14, 165, 233, 0.24);
    --glow-green: rgba(105, 178, 29, 0.13);
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 8%, var(--glow-blue), transparent 31rem),
        radial-gradient(circle at 92% 76%, var(--glow-green), transparent 27rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    transition: color 180ms ease, background-color 180ms ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 62%, transparent);
    outline-offset: 4px;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 12px 16px;
    color: #ffffff;
    background: #005d9d;
    border-radius: 10px;
}

.skip-link:focus {
    top: 20px;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-picture {
    display: block;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(300px, 50vw);
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.brand-fallback {
    display: grid;
    line-height: 1.1;
}

.brand-fallback strong {
    color: var(--primary);
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.brand-fallback small {
    color: var(--muted);
}

.theme-switcher {
    display: inline-flex;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.theme-switcher button {
    min-height: 38px;
    padding: 7px 12px;
    color: var(--muted);
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.theme-switcher button[aria-pressed="true"] {
    color: #ffffff;
    background: var(--primary);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(74px, 10vw, 138px) 0 clamp(72px, 9vw, 116px);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-orb-one {
    top: 3%;
    right: -9rem;
    width: 26rem;
    height: 26rem;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
    box-shadow: inset 0 0 90px var(--glow-blue);
}

.hero-orb-two {
    bottom: -10rem;
    left: 38%;
    width: 22rem;
    height: 22rem;
    background: var(--glow-green);
    filter: blur(80px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(48px, 8vw, 106px);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.65rem, 6.4vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.lead {
    max-width: 720px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.message-card {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px 10px;
    max-width: 720px;
    margin-top: 34px;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 16px 44px rgba(4, 21, 36, 0.08);
    backdrop-filter: blur(14px);
}

.message-card span,
.message-card strong {
    font-size: 1.08rem;
}

.message-card strong {
    color: var(--primary);
}

.message-card small {
    width: 100%;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 850;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #006eb8, #004f86);
    box-shadow: 0 16px 38px rgba(0, 110, 184, 0.24);
}

.button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: var(--surface);
}

.status-panel {
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.status-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--secondary) 16%, transparent);
}

.status-panel h2 {
    margin: 24px 0 18px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    letter-spacing: -0.035em;
}

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

.feature-list li {
    display: grid;
    gap: 2px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.feature-list strong {
    font-size: 1rem;
}

.feature-list span {
    color: var(--muted);
    font-size: 0.92rem;
}

.platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.platforms article {
    padding: 16px;
    border-radius: 15px;
    background: var(--surface-soft);
}

.platforms span {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 950;
}

.platforms p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.trust-section {
    padding: 0 0 88px;
}

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

.trust-grid article {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
}

.trust-grid article > span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.trust-grid h2 {
    margin: 12px 0 7px;
    font-size: 1.3rem;
}

.trust-grid p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    color: #cbd5e1;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 110, 184, 0.14), transparent 34%),
        radial-gradient(circle at 90% 80%, rgba(105, 178, 29, 0.08), transparent 32%),
        #06101e;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 22px 44px;
    padding: 38px 0;
}

.footer-inner > div {
    display: grid;
}

.footer-inner strong {
    color: #ffffff;
}

.footer-inner span,
.footer-inner p {
    color: #94a3b8;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
    color: #ffffff;
}

.footer-inner p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.88rem;
}

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

    .status-panel {
        max-width: 720px;
    }
}

@media (max-width: 700px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .brand-logo {
        max-width: 76vw;
        height: 48px;
    }

    .theme-switcher {
        width: 100%;
    }

    .theme-switcher button {
        flex: 1;
    }

    .hero {
        padding-top: 64px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .platforms,
    .trust-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner nav {
        display: grid;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .theme-switcher button {
        padding-inline: 8px;
        font-size: 0.76rem;
    }

    .status-panel,
    .trust-grid article {
        padding: 22px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
