@font-face {
    font-family: 'Roboto';
    src: url("cd/roboto-regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    background: url("sonstigebilder/wallpaper-stars.webp") center/cover no-repeat fixed;
}

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

.NAV {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
    background-color: #fff;
}

.menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.EBENE1, .EBENE2 a {
    line-height: 50px;
    text-indent: 1rem;
    color: #0b2a4a;
}

.EBENE1 {
    position: relative;
    cursor: pointer;
    font-weight: bold;
    padding: 10px 0;
}

.EBENE1:hover, .EBENE2 a:hover {
    color: #f6bf41;
}

.EBENE2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: 100%;
    min-width: max-content;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.EBENE2 a {
    padding: 10px 15px;
    white-space: nowrap;
    box-sizing: border-box;
}

.EBENE2 a:hover {
    background-color: #f0f0f0;
}

.EBENE1:hover > .EBENE2 {
    display: block;
}

.logo img {
    height: 46px;
    width: auto;
    display: block;
}

.cta {
    background-color: #0b2a4a;
    color: #f6bf41;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.cta:hover {
    background-color: #fff;
    border-color: #f6bf41;
}

.BOX {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
    color: #fff;
    border-bottom: 3px solid #f6bf41;
}

.weltraum-buehne {
    flex: 1;
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.sonnensystem-container {
    position: relative;
    width: 800px;  
    height: 800px;
    background: url("sonstigebilder/sonnensystem.webp") center/100% 100% no-repeat;
}

.orbit, .minimap-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.minimap-orbit {
    border-color: rgba(255, 255, 255, 0.15);
}

.orbit-merkur, .minimap-orbit-merkur   { width: 23%; height: 23%; }
.orbit-venus, .minimap-orbit-venus     { width: 35%; height: 35%; }
.orbit-erde, .minimap-orbit-erde       { width: 48%; height: 48%; }
.orbit-mars, .minimap-orbit-mars       { width: 60%; height: 60%; }
.orbit-jupiter, .minimap-orbit-jupiter { width: 73%; height: 73%; }
.orbit-saturn, .minimap-orbit-saturn   { width: 85%; height: 85%; }
.orbit-uranus, .minimap-orbit-uranus   { width: 94%; height: 94%; }
.orbit-neptun, .minimap-orbit-neptun   { width: 98%; height: 98%; }

.planeten-gruppe, .mond-gruppe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.planeten-gruppe { pointer-events: none; }

.planet-hotspot {
    position: absolute;
    cursor: not-allowed;
    z-index: 12;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: auto;
    transition: box-shadow 0.3s ease-in-out;
}

.planet-hotspot:hover {
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.15);
    z-index: 100;
}

.planet-bild {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.planet-sprechblase, .mond-label {
    position: absolute;
    top: 115%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(11, 42, 74, 0.95);
    border: 1px solid #f6bf41;
    border-radius: 4px;
    padding: 4px 8px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.planet-sprechblase { z-index: 999; }
.mond-label { padding: 2px 6px; z-index: 99; }

.planet-hotspot:hover .planet-sprechblase, .mond-punkt:hover .mond-label { opacity: 1; }

.zone-sonne      { top: 50.0%; left: 50.0%; width: 160px; height: 160px; }
.zone-merkur     { top: 60.6%; left: 65.4%; width: 10px; height: 10px; }
.zone-venus      { top: 67.5%; left: 35.0%; width: 14px; height: 14px; }
.zone-erde       { top: 27.5%; left: 32.9%; width: 15px; height: 15px; }
.zone-mars       { top: 30.8%; left: 76.0%; width: 12px; height: 12px; }
.zone-jupiter    { top: 48.0%; left: 13.3%; width: 44px; height: 44px; }
.zone-saturn     { top: 86.0%; left: 70.1%; width: 24px; height: 24px; }
.zone-neptun     { top: 11.2%; left: 48.9%; width: 20px; height: 20px; }
.zone-uranus     { top: 47.7%; left: 95.7%; width: 18px; height: 18px; }

.mond-punkt {
    position: absolute;
    cursor: pointer;
    z-index: 15;
    transform: translate(-50%, -50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32px;  
    height: 32px; 
}

.mond-punkt img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mond-punkt:hover { z-index: 100; }
.mond-punkt:hover img { transform: scale(1.4); }

.mond-gruppe .mond-erdmond     { top: 21.0%; left: 34.8%; width: 34px; height: 34px; }
.mond-gruppe .mond-phobos       { top: 29.0%; left: 71.0%; width: 40px; height: 40px; } 
.mond-gruppe .mond-deimos       { top: 30.5%; left: 81.0%; width: 30px; height: 30px; } 
.mond-gruppe .mond-io           { top: 40.5%; left: 6.8%;  width: 36px; height: 36px; }  
.mond-gruppe .mond-amalthea     { top: 42.0%; left: 13.0%; width: 30px; height: 30px; }  
.mond-gruppe .mond-metis         { top: 38.5%; left: 15.5%; width: 40px; height: 40px; }  
.mond-gruppe .mond-europa       { top: 47.5%; left: 5.5%;  width: 34px; height: 34px; }  
.mond-gruppe .mond-ganymed      { top: 54.5%; left: 7.2%;  width: 42px; height: 42px; }  
.mond-gruppe .mond-kallisto     { top: 58.0%; left: 14.5%; width: 38px; height: 38px; }  
.mond-gruppe .mond-mimas         { top: 76.5%; left: 70.1%; width: 32px; height: 32px; }  
.mond-gruppe .mond-enceladus    { top: 82.0%; left: 61.5%; width: 32px; height: 32px; }  
.mond-gruppe .mond-rhea         { top: 82.0%; left: 78.7%; width: 34px; height: 34px; }  
.mond-gruppe .mond-titan        { top: 93.5%; left: 64.0%; width: 42px; height: 42px; }  
.mond-gruppe .mond-iapetus      { top: 93.5%; left: 76.2%; width: 34px; height: 34px; }  
.mond-gruppe .mond-miranda      { top: 42.0%; left: 89.0%; width: 34px; height: 34px; }  
.mond-gruppe .mond-ariel        { top: 48.0%; left: 87.0%; width: 34px; height: 34px; }  
.mond-gruppe .mond-titania      { top: 54.0%; left: 90.0%; width: 38px; height: 38px; } 
.mond-gruppe .mond-oberon       { top: 56.0%; left: 96.5%; width: 38px; height: 38px; }  
.mond-gruppe .mond-triton       { top: 11.2%; left: 45.0%; width: 36px; height: 36px; }
.mond-gruppe .mond-charon       { top: 12.5%; left: 71.5%; width: 32px; height: 32px; }

.sound-btn {
    position: absolute;
    top: 120px;
    right: 20px; 
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #0b2a4a;
    border: 2px solid #f6bf41;
    color: #f6bf41;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2000;
}

.sound-btn:hover {
    transform: scale(1.1);
    background-color: #f6bf41;
    color: #0b2a4a;
}

.sound-btn.active { box-shadow: 0 0 15px #f6bf41; }

#user-rakete {
    position: absolute;
    width: 34px; 
    height: auto;
    z-index: 25;
    pointer-events: none;
    transition: top 1s linear, left 1s linear, transform 0.2s ease-out;
    animation: rocketHoverFix 3s ease-in-out infinite;
}

.antriebs-partikel {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffcc00 20%, #ff3300 70%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 11;
    transform: translate(-50%, -50%);
    animation: partikelAusbrennen 0.5s forwards ease-out;
}

.weltraumbuddy-container {
    position: absolute;
    top: 180px; 
    right: 20px;
    z-index: 20;
    animation: buddyFloating 4s ease-in-out infinite;
}
.weltraumbuddy-container img { width: 120px; height: auto; }

@keyframes rocketHoverFix { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
@keyframes partikelAusbrennen {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; filter: blur(0px); }
    100% { transform: translate(-50%, -50%) scale(0.2) translateY(15px); opacity: 0; filter: blur(2px); }
}
@keyframes buddyFloating { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.minimap {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 120px;
    height: 120px;
    background: rgba(11, 42, 74, 0.85);
    border: 2px solid #f6bf41;
    border-radius: 8px;
    z-index: 30;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.minimap-sonne {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #ffcc00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #ffcc00;
    z-index: 5;
}

.minimap-planet {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
}
.minimap-merkur  { width: 2px; height: 2px; background: #a1a1a1; top: 44%; left: 44%; }
.minimap-venus   { width: 3px; height: 3px; background: #e3bb76; top: 68%; left: 57%; }
.minimap-erde    { width: 4px; height: 4px; background: #2b82c9; top: 32%; left: 38%; }
.minimap-mars    { width: 3px; height: 3px; background: #c1440e; top: 31%; left: 69%; }
.minimap-jupiter { width: 6px; height: 6px; background: #b07f35; top: 56%; left: 14%; }
.minimap-saturn  { width: 5px; height: 5px; background: #e2bf7d; top: 83%; left: 72%; }
.minimap-uranus  { width: 4px; height: 4px; background: #73b7b5; top: 86%; left: 46%; }
.minimap-neptun  { width: 4px; height: 4px; background: #274687; top: 48%; left: 93%; }

.minimap-user-punkt {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff3333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px 2px #ff3333;
    transition: top 1s linear, left 1s linear;
    z-index: 10;
}

.hyperraum-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
}

.hyperraum-overlay.aktiv {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hyperraum-buehne-fullscreen {
    flex: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    padding-bottom: 80px;
}

.warp-effekt-vollbild-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000 95%), url('sonstigebilder/wallpaper-stars.webp') center/cover;
    z-index: 1;
    animation: hyperAntriebFlugVollbild 0.3s linear infinite;
}

@keyframes hyperAntriebFlugVollbild {
    0% { transform: scale(1); filter: blur(0px); opacity: 0.9; }
    100% { transform: scale(1.3); filter: blur(3px); opacity: 0.5; }
}

#overlay-rakete {
    position: absolute;
    left: -150px;
    top: 40%; 
    width: 140px;
    height: auto;
    z-index: 5;
    transform: translateY(-50%) rotate(90deg);
}

.hyperraum-overlay.aktiv #overlay-rakete {
    animation: raketeFreiflug 3.2s linear forwards;
}

@keyframes raketeFreiflug {
    0% { left: -150px; top: 40%; transform: translateY(-50%) rotate(85deg); }
    25% { top: 30%; transform: translateY(-50%) rotate(95deg); }
    50% { top: 45%; transform: translateY(-50%) rotate(85deg); }
    75% { top: 35%; transform: translateY(-50%) rotate(92deg); }
    100% { left: calc(100vw + 150px); top: 40%; transform: translateY(-50%) rotate(90deg); }
}

.hyperraum-text {
    position: relative;
    z-index: 10;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
    max-width: 80%;
    line-height: 1.4;
    padding: 10px 20px;
}
.hyperraum-text strong { color: #f6bf41; }

.footer {
    width: 100%;
    margin-top: auto;
    background-color: #fff;
    border-top: 3px solid #f6bf41;
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: stretch;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: -10px 0 0 10px;
}

.footer-left img {
    height: 40px;
    display: block;
}

.copyright-info {
    font-size: 0.9rem;
    color: #0b2a4a;
    margin: auto 0 3px 0;
    line-height: 1;
}

.footer-right-group {
    display: flex;
    gap: 90px; 
    justify-content: flex-end;
}

.footer-col {
    color: #0b2a4a;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: bold;
    line-height: 1;
}

.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: #f6bf41; }