:root {
    --bg: #040606;
    --bg-soft: #0a0e0e;
    --surface: rgba(13, 19, 19, 0.78);
    --surface-hover: rgba(18, 28, 27, 0.92);
    --accent: #20c9bd;
    --accent-bright: #37ded3;
    --accent-soft: rgba(32, 201, 189, 0.16);
    --text: #f2f5f5;
    --text-muted: #98a4a3;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
    --radius: 20px;
    --container: 1120px;
}

/*
 * Lokale Fonts:
 * Lege deine WOFF2-Dateien in /assets/fonts/ und aktiviere die @font-face-Regeln.
 * Bis dahin wird ausschließlich der lokale System-Font-Stack verwendet.
 */
/*
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 28%, rgba(32, 201, 189, 0.11), transparent 33rem),
        radial-gradient(circle at 8% 85%, rgba(32, 201, 189, 0.055), transparent 24rem),
        var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 78%);
}

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

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

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

.landing {
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    position: relative;
    isolation: isolate;
}

.landing__main {
    display: grid;
    place-items: center;
    padding: 64px 0 40px;
}

.hero {
    width: min(100%, 820px);
    margin: 0 auto;
    text-align: center;
}

.logo-wrap {
    width: clamp(160px, 22vw, 260px);
    margin: 0 auto 28px;
    position: relative;
    filter: drop-shadow(0 20px 55px rgba(32, 201, 189, 0.13));
}

.logo-wrap::after {
    content: "";
    position: absolute;
    inset: 18%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(32, 201, 189, 0.2);
    filter: blur(70px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    margin: 0;
    font-size: clamp(2.55rem, 7vw, 5.5rem);
    font-weight: 760;
}

.hero__tagline {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero__text {
    max-width: 660px;
    margin: 26px auto 0;
    color: #c4cecd;
    font-size: clamp(1rem, 2vw, 1.12rem);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #dce4e3;
    font-size: 0.92rem;
    font-weight: 650;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(32, 201, 189, .45);
    background: var(--accent-soft);
    color: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.social-link i {
    color: var(--accent);
    font-size: 1.05rem;
}

.site-footer {
    padding: 0 0 26px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    text-align: center;
}

.site-footer a {
    transition: color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--accent-bright);
}

.dot {
    opacity: .35;
}

/* Legal pages */
.legal-header {
    padding: 28px 0 0;
}

.legal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.back-link {
    color: var(--text-muted);
    font-size: .9rem;
    transition: color .2s ease;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--accent);
}

.legal-main {
    width: min(calc(100% - 40px), 860px);
    margin: 70px auto 100px;
}

.legal-card {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
    box-shadow: var(--shadow);
    padding: clamp(26px, 5vw, 56px);
    backdrop-filter: blur(18px);
}

.legal-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.legal-card h1 {
    font-size: clamp(2.1rem, 6vw, 4rem);
    margin-bottom: 12px;
}

.legal-card .intro {
    margin: 0 0 42px;
    color: var(--text-muted);
}

.legal-card section + section {
    margin-top: 38px;
    padding-top: 38px;
    border-top: 1px solid var(--border);
}

.legal-card h2 {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.legal-card h3 {
    margin: 24px 0 8px;
    font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
    color: #c4cecd;
}

.legal-card ul {
    padding-left: 1.15rem;
}

.legal-card strong {
    color: var(--text);
}

.legal-card a {
    color: var(--accent-bright);
    word-break: break-word;
}

.legal-card address {
    font-style: normal;
    color: #c4cecd;
}

.notice {
    padding: 18px 20px;
    border: 1px solid rgba(32, 201, 189, .22);
    border-radius: 16px;
    background: rgba(32, 201, 189, .07);
    color: #cbd7d6;
}

/* Consent */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 30;
    width: min(calc(100% - 28px), 720px);
    transform: translateX(-50%);
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(8, 12, 12, .95);
    box-shadow: 0 18px 70px rgba(0,0,0,.58);
    backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
}

.cookie-banner p {
    margin: 0;
    color: #bfc9c8;
    font-size: .88rem;
}

.cookie-banner a {
    color: var(--accent-bright);
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
}

.button {
    appearance: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    min-height: 40px;
    padding: 0 14px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

.button--primary {
    border-color: transparent;
    background: var(--accent);
    color: #031211;
}

.button--secondary {
    background: rgba(255,255,255,.04);
    color: var(--text);
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.08);
}

@media (max-width: 700px) {
    .landing__main {
        padding-top: 44px;
    }

    .socials {
        gap: 9px;
    }

    .social-link {
        min-height: 44px;
        padding-inline: 15px;
        font-size: .86rem;
    }

    .legal-header__inner {
        align-items: flex-start;
    }

    .brand span {
        display: none;
    }

    .legal-main {
        margin-top: 44px;
        margin-bottom: 70px;
    }

    .cookie-banner__content {
        grid-template-columns: 1fr;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__actions .button {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}