:root {
    --kreis: 96px;
    --kreis-schrift: 13px;

    --conec:        #054D91;
    --conec-dark:   #043a6e;
    --conec-bright: #2b8ff0;

    --disc-1: #0a2f5e;
    --disc-2: #0a2247;
    --disc-3: #061834;

    --bubble-hi:  #7cc0f5;
    --bubble-mid: #2f7fd0;
    --bubble-lo:  #123f77;

    --line:  rgba(120, 180, 240, 0.30);
    --glow:  rgba(120, 190, 255, 0.55);

    --panel-bg: linear-gradient(180deg, rgba(5, 77, 145, 0.94), rgba(4, 52, 100, 0.94));
    --panel-border: rgba(255, 255, 255, 0.18);

    --text-primary:   #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.78);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: var(--font);
    background: var(--disc-3);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.stage {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.panel-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 34vw;
    z-index: 1;
}

.app-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity;
}
.app-image.is-active { opacity: 1; }

.panel-right::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(6, 24, 52, 0.35) 0%,
            rgba(6, 24, 52, 0) 26%),
        linear-gradient(180deg,
            rgba(6, 24, 52, 0.22) 0%,
            rgba(6, 24, 52, 0) 30%,
            rgba(6, 24, 52, 0) 72%,
            rgba(6, 24, 52, 0.32) 100%);
}

.disc {
    position: absolute;
    top: calc(50% - 80vh);
    left: calc(46vw - 160vh);
    width: 160vh;
    height: 160vh;
    z-index: 3;
    border-radius: 50%;
    background:
        radial-gradient(circle at 62% 50%,
            var(--disc-1) 0%,
            var(--disc-2) 40%,
            var(--disc-3) 66%);
    box-shadow:
        0 0 90px 30px rgba(6, 20, 44, 0.85),
        inset 0 0 160px rgba(0, 0, 0, 0.35);
}

.circuit {
    position: absolute;
    top: calc(50% - 55vh);
    left: calc(22vw - 55vh);
    width: 110vh;
    height: 110vh;
    z-index: 4;
    pointer-events: none;
    opacity: 0.5;
}

.core {
    position: absolute;
    top: calc(50% - 31vh);
    left: calc(22vw - 31vh);
    width: 62vh;
    height: 62vh;
    z-index: 5;
}

#globeViz {
    position: absolute;
    inset: 0;
    background: transparent;
}

#ring {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    overflow: visible;
}

.product-circle {
    position: absolute;
    width: var(--kreis);
    height: var(--kreis);
    margin: calc(var(--kreis) / -2) 0 0 calc(var(--kreis) / -2);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%,
            var(--bubble-hi)  0%,
            var(--bubble-mid) 38%,
            var(--bubble-lo)  74%,
            #0b2f5c 100%);
    box-shadow:
        inset 0 6px 12px rgba(255, 255, 255, 0.30),
        inset 0 -8px 16px rgba(0, 0, 0, 0.45),
        0 6px 16px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(150, 200, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 600;
    font-size: var(--kreis-schrift);
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
    border: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.product-circle:hover,
.product-circle:focus-visible {
    transform: scale(1.12);
    filter: brightness(1.12);
    box-shadow:
        inset 0 6px 12px rgba(255, 255, 255, 0.35),
        inset 0 -8px 16px rgba(0, 0, 0, 0.4),
        0 10px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(180, 220, 255, 0.5),
        0 0 26px var(--glow);
    outline: none;
    z-index: 8;
}

.brand {
    position: fixed;
    top: 26px;
    left: 30px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand-mark {
    display: flex;
    align-items: center;
    gap: 13px;
}
.viewswitch {
    display: flex;
    gap: 3px;
    padding: 4px;
    width: max-content;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-radius: 9px;
    transition: background 0.18s ease, color 0.18s ease;
}
.view-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.view-btn.is-active {
    background: #fff;
    color: var(--conec);
    cursor: default;
}
.view-btn.is-active:hover { background: #fff; color: var(--conec); }
.view-btn:focus-visible {
    outline: 2px solid var(--conec-bright);
    outline-offset: 2px;
}

@media (max-width: 1200px) {
    .brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.brand-logo-link {
    display: inline-block;
    text-decoration: none;
    background: #ffffff;
    padding: 11px 16px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease;
    color-scheme: light;
    forced-color-adjust: none;
}
.brand-logo-link:hover { transform: translateY(-1px); }
.brand-logo-link:focus-visible { outline: 2px solid var(--conec-bright); outline-offset: 3px; }
.brand-logo { display: block; height: 58px; width: auto; background: transparent; }

.lang-switch {
    position: fixed;
    top: 26px;
    right: 28px;
    z-index: 21;
    width: 248px;
    display: flex;
    gap: 3px;
    padding: 4px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.9s 0.28s both;
}

.lang-btn {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.66);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.lang-btn.active {
    background: #ffffff;
    color: var(--conec);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.lang-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 1px;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.legal {
    position: fixed;
    bottom: 18px;
    left: 30px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.legal-link {
    font-size: 11px;
    letter-spacing: 0.3px;
    color: #ffffff;
    opacity: 0.78;
    text-decoration: none;
    transition: opacity 0.2s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.legal-link:hover { opacity: 1; text-decoration: underline; }
.legal-link:focus-visible { outline: 1px solid #ffffff; outline-offset: 2px; opacity: 1; }
.legal-sep { font-size: 11px; color: #ffffff; opacity: 0.45; }

.pulse-marker {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;

}
.pulse-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--mc, #2b8ff0);
    box-shadow: 0 0 10px var(--mc), 0 0 22px var(--glow);
    z-index: 2;
    transition: transform 0.22s ease;
}
.pulse-marker:hover .pulse-center { transform: translate(-50%, -50%) scale(1.4); }

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--mc, #2b8ff0);
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 2200ms cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes pulseRing {
    0%   { width: 0;    height: 0;    opacity: 0.85; border-width: 3px; }
    70%  { opacity: 0.15; }
    100% { width: 64px; height: 64px; opacity: 0;    border-width: 0; }
}

.pulse-label {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translate(-50%, 4px);
    white-space: nowrap;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: rgba(5, 20, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3px 9px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 3;
}
.pulse-marker:hover .pulse-label { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
    .pulse-ring { animation: none; opacity: 0.3; width: 34px; height: 34px; }
}

#infoOverlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 12, 26, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
#infoOverlay.open { opacity: 1; visibility: visible; }

.info-box {
    position: relative;
    width: min(440px, 100%);
    background: linear-gradient(180deg, rgba(5, 77, 145, 0.96), rgba(4, 45, 88, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow);
    color: var(--text-primary);
    font-family: var(--font);
    padding: 34px 32px 30px;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
}
#infoOverlay.open .info-box { transform: translateY(0) scale(1); }

.info-box h2 { margin: 0 0 12px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.info-box p  { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

.info-beispiele {
    margin: 0 0 22px;
    max-height: min(46vh, 320px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.info-beispiele h3 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--conec-bright);
}
.info-beispiele ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.info-beispiele li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-secondary);
}
.info-beispiele li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--conec-bright);
}

.info-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--conec);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.info-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }

.info-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}
.info-close:hover { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 1100px) {
    .brand { top: 20px; left: 22px; gap: 10px; }
    .view-btn { padding: 6px 11px; font-size: 12px; }
    .view-btn .view-btn-text { display: none; }
    .brand-logo { height: 50px; }
    .lang-switch { top: 22px; right: 22px; width: 224px; }
    .lang-btn { font-size: 11px; }
    .disc { left: calc(50vw - 160vh); }
    :root { --kreis: 84px; --kreis-schrift: 12px; }
}

@media (max-width: 900px) {
    .brand { top: 12px; left: 14px; }
    .brand-logo-link { padding: 8px 11px; border-radius: 10px; }
    .brand-logo { height: 38px; }
    .lang-switch { top: 12px; right: 12px; left: auto; width: auto; gap: 2px; padding: 3px; flex-wrap: nowrap; }
    .lang-btn { padding: 5px 7px; font-size: 11px; }
    .legal { bottom: 12px; left: 14px; }
    .panel-right { left: 0; }
    .app-image { object-position: center; }
    .app-image.is-active { opacity: 0.3; }
    .panel-right::after {
        background:
            radial-gradient(circle at 50% 42%, rgba(6,24,52,0.2) 0%, rgba(6,24,52,0.9) 72%),
            linear-gradient(180deg, rgba(6,24,52,0.6), rgba(6,24,52,0.85));
    }
    .disc {
        left: calc(50vw - 59vw);
        top: calc(46% - 59vw);
        width: 118vw;
        height: 118vw;
    }
    :root { --kreis: 72px; --kreis-schrift: 11px; }
}

@media (max-width: 430px) {
    .lang-switch { gap: 1px; padding: 2px; }
    .lang-btn { padding: 5px 5px; font-size: 10.5px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .product-circle, .info-box, #infoOverlay { transition: none; }
}
