:root {
    color-scheme: dark;
    --bg: #031522;
    --panel: rgba(2, 24, 38, 0.74);
    --line: rgba(37, 219, 255, 0.38);
    --cyan: #22d7ff;
    --cyan-strong: #6ef2ff;
    --text: #edfaff;
    --muted: #aac4cf;
    --gold: #c69a4a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

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

.site-header {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px clamp(20px, 5vw, 72px);
    background: linear-gradient(180deg, rgba(1, 11, 19, 0.9), rgba(1, 11, 19, 0));
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--cyan);
    text-decoration: none;
}

.brand-icon {
    display: block;
    width: 42px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(34, 215, 255, 0.5));
    transition: filter 180ms ease;
}

.brand:hover .brand-icon {
    filter: drop-shadow(0 0 8px rgba(34, 215, 255, 0.8));
}

.brand-text {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #edfaff 15%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(37, 219, 255, 0.2);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    background: rgba(1, 13, 22, 0.66);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
    color: var(--cyan-strong);
    background: rgba(34, 215, 255, 0.12);
    border-color: rgba(37, 219, 255, 0.36);
}

nav a:focus-visible {
    outline: 2px solid rgba(110, 242, 255, 0.7);
    outline-offset: 2px;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 1.15fr);
    align-items: center;
    padding: 120px clamp(20px, 6vw, 92px) 72px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(1, 10, 18, 0.96) 0%, rgba(1, 20, 32, 0.86) 32%, rgba(1, 20, 32, 0.08) 70%),
        url("../Assets/Background_prototyp_1_index.png") center right / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(34, 215, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 215, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan-strong);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.lead {
    margin: 26px 0 0;
    max-width: 560px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 600;
}

.button.primary {
    color: #00131c;
    background: var(--cyan);
    box-shadow: 0 0 30px rgba(34, 215, 255, 0.24);
}

.button.secondary {
    background: rgba(1, 26, 42, 0.7);
    color: var(--cyan-strong);
}

.button.feedback {
    border-color: rgba(110, 242, 255, 0.82);
    color: #031522;
    background: linear-gradient(180deg, var(--cyan-strong), var(--cyan));
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 0 30px rgba(34, 215, 255, 0.24);
    transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button.feedback:hover,
.button.feedback:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 0 34px rgba(34, 215, 255, 0.38);
    outline: none;
    transform: translateY(-1px);
}

.status-panel {
    position: absolute;
    z-index: 1;
    right: clamp(20px, 5vw, 82px);
    bottom: 42px;
    width: min(360px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 0 42px rgba(34, 215, 255, 0.08);
}

.status-panel span,
.status-panel small {
    display: block;
    color: var(--muted);
}

.status-panel strong {
    display: block;
    margin: 8px 0;
    color: var(--text);
}

@media (max-width: 840px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 18px;
    }

    nav {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .hero {
        min-height: 100svh;
        grid-template-columns: 1fr;
        align-items: end;
        padding-top: 150px;
        background:
            linear-gradient(180deg, rgba(1, 13, 22, 0.35) 0%, rgba(1, 13, 22, 0.96) 58%),
            url("../Assets/Background_prototyp_1_index.png") 60% center / cover no-repeat;
    }

    .status-panel {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 32px;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 320px);
    }

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