/* Language gate — schlicht, mit Marken-Hintergrund */
html.await-lang-gate .page,
html.await-lang-gate .sticky-cta,
html.await-lang-gate .mobile-cta-bar,
html.await-lang-gate .back-to-top,
html.await-lang-gate .cookie-banner,
body.is-lang-gated .page,
body.is-lang-gated .sticky-cta,
body.is-lang-gated .mobile-cta-bar,
body.is-lang-gated .back-to-top {
    visibility: hidden;
}

html.await-lang-gate #langGate,
body.is-lang-gated #langGate {
    visibility: visible;
}

.lang-gate {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background-color: rgba(8, 8, 12, 0.72);
    background-image:
        radial-gradient(600px 420px at 8% 0%, rgba(201, 150, 62, 0.16), transparent 55%),
        radial-gradient(480px 360px at 92% 100%, rgba(76, 201, 167, 0.1), transparent 52%),
        radial-gradient(ellipse 90% 60% at 50% 105%, rgba(0, 0, 0, 0.35), transparent 58%),
        linear-gradient(180deg, rgba(8, 8, 12, 0.35) 0%, rgba(8, 8, 12, 0.82) 100%);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.lang-gate::before,
.lang-gate::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(72px);
}

.lang-gate::before {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -12%;
    left: -8%;
    background: rgba(201, 150, 62, 0.22);
}

.lang-gate::after {
    width: min(340px, 55vw);
    height: min(340px, 55vw);
    bottom: -10%;
    right: -6%;
    background: rgba(76, 201, 167, 0.12);
}

.lang-gate.show {
    display: grid;
}

.lang-gate-inner {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
}

.lang-gate-card {
    padding: 28px 24px 24px;
    border-radius: 18px;
    text-align: center;
    background: rgba(10, 10, 14, 0.88);
    border: 1px solid rgba(201, 150, 62, 0.18);
    box-shadow:
        0 0 0 1px rgba(201, 150, 62, 0.06) inset,
        0 24px 64px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-gate-logo {
    margin: 0 auto 14px;
    line-height: 0;
}

.lang-gate-logo img,
.lang-gate-logo-img {
    display: block;
    width: auto;
    height: 72px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.lang-gate-eyebrow {
    margin: 0 0 6px;
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.lang-gate-title {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-bright);
}

.lang-gate-welcome {
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.5;
}

.lang-gate-pitch {
    margin: 0 0 10px;
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.55;
    max-width: 42ch;
    margin-inline: auto;
    opacity: 0.92;
}

.lang-gate-sub {
    margin: 0 0 20px;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.55;
    max-width: 38ch;
    margin-inline: auto;
}

.lang-gate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.lang-gate-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    max-width: calc(50% - 5px);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.lang-gate-btn:last-child:nth-child(odd) {
    flex: 0 1 calc(50% - 5px);
}

.lang-gate-btn-flag {
    display: grid;
    place-items: center;
    width: 36px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    overflow: hidden;
}

.lang-gate-btn-flag img {
    border-radius: 3px;
    flex-shrink: 0;
}

.lang-gate-btn-label {
    flex: 1;
    min-width: 0;
}

.lang-gate-btn-arrow {
    flex-shrink: 0;
    color: var(--muted);
}

.lang-gate-btn:hover {
    border-color: rgba(201, 150, 62, 0.45);
    background: rgba(201, 150, 62, 0.12);
}

.lang-gate-btn:hover .lang-gate-btn-arrow {
    color: var(--accent);
}

@media (max-width: 480px) {
    .lang-gate-btn,
    .lang-gate-btn:last-child:nth-child(odd) {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .lang-gate-card {
        padding: 24px 18px 20px;
    }

    .lang-gate-logo img,
    .lang-gate-logo-img {
        height: 64px;
    }
}
