/* --- Global & Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier Prime', monospace; /* Retro-Terminal Look */
    background-color: #0b0d17;
    color: #00ff41; /* Neon-Grün wie alte Monitore */
    overflow-x: hidden;
}

/* --- Index Page: Grid & Zahlen --- */
.space-bg {
    /* Einfacher Sternenhimmel-Effekt via CSS */
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 15px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-grow: 1;
}

.number-link {
    text-decoration: none;
    color: rgba(0, 255, 65, 0.6);
    font-size: 1.5rem;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.number-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #00ff41;
    transform: scale(1.2);
    border: 1px solid #00ff41;
    cursor: default; /* Zeigt, dass es eigentlich nirgendwo hingeht */
}

/* Nummer 42 sieht auf den ersten Blick gleich aus, reagiert aber auf Klick */
.number-link:nth-child(42) {
    cursor: pointer;
}

/* --- Footer & Legal --- */
footer {
    text-align: center;
    padding: 20px;
    background: #000;
    border-top: 1px solid #00ff41;
    z-index: 10;
}

footer a {
    color: #00ff41;
    margin: 0 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-text {
    display: none; /* In diesem einfachen Beispiel versteckt, Sprungmarke zeigt es theoretisch */
    padding: 20px;
    background: #111;
    border-top: 1px solid #00ff41;
    color: #fff;
}
.legal-text:target {
    display: block; /* Zeigt den Text an, wenn ID im URL-Hash ist */
}

/* --- Secret Page: Parallax Sections --- */
.parallax {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 5px solid #000;
}

/* Für jedes Bild einen anderen Hintergrund (hier CSS Gradients als Platzhalter) */
.section-1 {
	background-image: url('bg1.png');
    /* Weltraum Nebel 
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                      radial-gradient(circle at center, #2b1055, #7597de);*/
}

.section-2 {
	background-image: url('bg2.jpg');
    /* Planetarisch 
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                      radial-gradient(circle at top right, #ff512f, #dd2476);*/
}

.section-3 {
	background-image: url('bg3.jpg');
    /* Vogonisches Grau 
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                      radial-gradient(circle at bottom, #485563, #29323c);*/
}

.section-4 {
    /* Das Ende des Universums (Schwarz/Weiß/Licht) */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), 
                      radial-gradient(circle, #ffffff 1%, #000000 99%);
}

.content-box {
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    max-width: 600px;
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    text-align: center;
    margin: 20px;
}

.content-box h1 {
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    text-decoration: underline;
}

/* --- Tabelle für den Veranstaltungsplan --- */

/* Damit die Box für die Tabelle etwas breiter sein darf */
.schedule-box {
    max-width: 800px; 
}

.space-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: left;
}

.space-table th {
    background-color: rgba(0, 255, 65, 0.2);
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #00ff41;
    text-align: center;
}

/* Abstand vor neuen Tagen erzeugen */
.space-table thead tr th {
    border-top: 3px double #00ff41; 
}
/* Ausnahme für den allerersten Header */
.space-table thead:first-child tr th {
    border-top: 1px solid #00ff41;
}

.space-table td {
    padding: 12px 10px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    vertical-align: top;
}

.space-table .time {
    white-space: nowrap; /* Zeit bricht nicht um */
    font-weight: bold;
    color: #00ff41;
    width: 80px;
    text-align: right;
    border-right: 2px solid #00ff41;
}

/* Hover-Effekt für Zeilen */
.space-table tbody tr:hover {
    background-color: rgba(0, 255, 65, 0.1);
}

/* Highlight für die Party */
.highlight-row td {
    background-color: rgba(0, 255, 65, 0.15);
    border: 1px solid #00ff41;
    color: #fff;
    text-shadow: 0 0 5px #00ff41;
}

/* Anpassung für kleine Handys */
@media (max-width: 600px) {
    .space-table {
        font-size: 0.8rem;
    }
    .space-table .time {
        width: auto;
        text-align: left;
    }
}