:root {
    --glass: rgba(15, 26, 28, 0.85); /* Dunkler, aber transparenter Fjord-Ton */
    --gold: #d4a373;
}

body {
    margin: 0;
    padding: 0;
    color: #e0e6e6;
    font-family: 'Inter', sans-serif;
    background-image: url('gruenlande_website_bildschirm.webp'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    body {
        background-image: url('gruenlande_website_handy.webp');
    }
}

/* Der Trick: Ein sehr dezenter Overlay über das ganze Bild, 
   damit helle Stellen der Karte die Schrift nicht "fressen" */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Nur 20% Abdunklung */
    z-index: -1;
}

a {
    text-decoration: none;
    color: #00ce9a;
}
a:hover {
    text-decoration: underline;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Dezenter Frost-Effekt */
    background: rgba(15, 26, 28, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #d4a373; /* Dein Gold-Ton */
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #e0e6e6;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

/* Kleiner Effekt beim Drüberfahren */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #d4a373;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #d4a373;
}

.nav-links a:hover::after {
    width: 100%;
}

.rune-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    transition: all 0.4s ease;
}

.rune-icon {
    font-size: 1.8rem; /* Runen wirken oft kleiner als Buchstaben */
    color: rgba(212, 163, 115, 0.6); /* Dezentes Gold */
    font-family: "Segoe UI Historic", "Symbola", serif; /* Fallback für Runen-Darstellung */
    transition: all 0.4s ease;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Tiefe */
    display: inline-block;
}

/* Hover-Effekt: Die Rune "erwacht" */
.rune-link:hover .rune-icon {
    color: #d4a373; /* Volles Gold */
    transform: scale(1.2) translateY(-2px);
    /* Magisches Leuchten wie in Fantasy-Filmen */
    text-shadow: 0 0 15px rgba(212, 163, 115, 0.8), 
                 0 0 5px rgba(255, 255, 255, 0.5);
}

.rune-link:hover .link-text {
    color: #ffffff;
    letter-spacing: 2px; /* Dezent dynamisch */
}

@media (max-width: 768px) {
    .rune-link { flex-direction: row; gap: 15px; }
    .rune-icon { font-size: 2.2rem; } /* Größer auf dem Handy */
}

/* Styling für den Burger-Button */
.menu-toggle {
    display: none; /* Auf Desktop verstecken */
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.menu-toggle span {
    display: block; /* Wichtig: Muss ein Block-Element sein */
    width: 100%;
    height: 4px; /* Deutlich dickere Striche */
    background-color: #d4a373 !important; /* Dein Gold-Ton, erzwungen */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    /* Ein Schatten hinter den Strichen, falls die Karte dort hell ist */
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .nav-links {
        display: none; /* Standardmäßig aus */
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%; /* Nimmt nicht den ganzen Schirm ein, Karte bleibt links sichtbar */
        background: rgba(15, 26, 28, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        list-style: none;
        margin: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    /* Wenn das Menü die Klasse 'active' hat, zeige es an */
    .nav-links.active {
        display: flex;
	animation: slideIn 0.3s ease-out;
    }
    /* Animation zum "X" */
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Hero Bereich - Komplett frei, damit man die Karte sieht */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)); /* Hauchdünner Schutzfilm für die Karte */
}

.heroflach {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)); /* Hauchdünner Schutzfilm für die Karte */
}

.herotitel {
    margin: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)); /* Hauchdünner Schutzfilm für die Karte */
}

.heroflach h1,
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    color: #ffffff;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    
    /* EXTREMER 5-STUFEN-SCHATTEN */
    text-shadow: 
        /* 1. Harte Kontur für maximale Lesbarkeit (nah am Buchstaben) */
        3px 3px 0px rgba(0, 0, 0, 0.9), 
        /* 2. Etwas weichere Kante für Tiefe */
        6px 6px 15px rgba(0, 0, 0, 0.8),
        /* 3. Großer, dunkler Dunstkreis (isoliert den Text von der Karte) */
        0px 0px 40px rgba(0, 0, 0, 1),
        /* 4. Zweiter Dunstkreis für noch mehr Kontrast */
        0px 0px 70px rgba(0, 0, 0, 0.8),
        /* 5. Subtiler Akzent-Glow (optional, passend zum Gold) */
        0px 0px 20px rgba(212, 163, 115, 0.2);

    /* Ein leichter Buchstabenabstand lässt den Schatten besser wirken */
    letter-spacing: 0.05em;
    
    /* Sorgt dafür, dass der Schatten nicht abgeschnitten wird */
    padding: 20px;
}

h1.h1titel {
	font-size: 1rem;
	font-weight: normal;
	margin: 0;
	display: block;
	letter-spacing: 5px;
	text-transform: uppercase;
}
h1.h1titel .titelgross {
    display: block;
    text-transform: none;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    color: #ffffff;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    
    /* EXTREMER 5-STUFEN-SCHATTEN */
    text-shadow: 
        /* 1. Harte Kontur für maximale Lesbarkeit (nah am Buchstaben) */
        3px 3px 0px rgba(0, 0, 0, 0.9), 
        /* 2. Etwas weichere Kante für Tiefe */
        6px 6px 15px rgba(0, 0, 0, 0.8),
        /* 3. Großer, dunkler Dunstkreis (isoliert den Text von der Karte) */
        0px 0px 40px rgba(0, 0, 0, 1),
        /* 4. Zweiter Dunstkreis für noch mehr Kontrast */
        0px 0px 70px rgba(0, 0, 0, 0.8),
        /* 5. Subtiler Akzent-Glow (optional, passend zum Gold) */
        0px 0px 20px rgba(212, 163, 115, 0.2);

    /* Ein leichter Buchstabenabstand lässt den Schatten besser wirken */
    letter-spacing: 0.05em;
    
    /* Sorgt dafür, dass der Schatten nicht abgeschnitten wird */
    padding: 20px;
}

/* Spezielle Sektion für das Buch */
.book-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 6rem 10%;
    background: rgba(15, 26, 28, 0.7); /* Karte scheint hier dunkler durch */
    backdrop-filter: blur(5px);
    margin: 5vh 0; /* Abstand, damit davor/danach die Karte pur sichtbar ist */
}

.book-visual {
    flex: 1;
    perspective: 1000px; /* Erzeugt Tiefenwirkung für den 3D-Effekt */
}

.book-cover-3d {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 2/3;
    background: #2a3b3d; /* Platzhalterfarbe */
    border-radius: 4px;
    box-shadow: 15px 15px 50px rgba(0,0,0,0.7);
    transform: rotateY(-20deg) rotateX(5deg); /* Der "Fantasy-Roman"-Look */
    transition: transform 0.5s ease;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.book-cover-3d:hover {
    transform: rotateY(-5deg) scale(1.05); /* Interaktion beim Drüberfahren */
}

.book-info {
    flex: 1.5;
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-top: 8px;
}

/* Responsive Anpassungen für Handys */
@media (max-width: 768px) {
    .book-showcase {
        flex-direction: column; /* Stapelt Buch und Text untereinander */
        padding: 3rem 5%;
        gap: 2rem;
        text-align: center;
    }

    .book-visual {
        width: 100%;
        perspective: none; /* Deaktiviert 3D-Effekt auf kleinen Screens für bessere Lesbarkeit */
    }

    .book-cover-3d {
        max-width: 250px; /* Etwas kleiner auf dem Handy */
        transform: none; /* Flache Darstellung für Handys wirkt oft sauberer */
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .book-title {
        font-size: 2.2rem; /* Schriftgröße anpassen */
	margin-top: 8px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        display: block; /* Buttons über die ganze Breite für Daumen-Bedienung */
        margin: 10px 0;
    }
}

.age-badge {
    background: #d4a373;
    color: #1a2a2d;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Die Content-Inseln */
.content-section {
    max-width: 900px;
    margin: 10vh auto; /* Großer Abstand, damit Karte zwischendurch sichtbar ist */
    padding: 4rem;
    background: var(--glass);
    backdrop-filter: blur(10px); /* Der "Eis-Effekt" */
    border-left: 5px solid var(--gold);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.creature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.creature-box {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

h2 { color: var(--gold); font-family: 'Playfair Display', serif; }

.event-preview {
    /* Begrenzt die Breite, damit die Karte an den Seiten atmen kann */
    max-width: 850px; 
    margin: 5rem auto; /* Zentriert die Sektion mit Abstand nach oben/unten */
    padding: 3rem;
    
    /* Glaseffekt passend zum Rest */
    background: rgba(15, 26, 28, 0.75); 
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.event-item {
    display: grid;
    /* Spalten-Layout: Datum | Text | Button */
    grid-template-columns: 100px 1fr auto; 
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-item:last-child {
    border-bottom: none; /* Letzte Trennlinie entfernen */
}


.site-footer {
    width: 100%;
    padding: 3rem 0;
    margin-top: 5vh;
    /* Der "Eis-Nebel"-Effekt: Dunkel, aber lässt die Karte verschwommen durch */
    background: rgba(15, 26, 28, 0.9); 
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 163, 115, 0.3); /* Dezente Gold-Linie oben */
    color: #e0e6e6;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Wichtig für die mobile Ansicht */
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-note {
    display: block;
    font-size: 0.8rem;
    color: var(--gold, #d4a373);
    margin-top: 5px;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #e0e6e6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--gold, #d4a373);
    border-bottom: 1px solid var(--gold, #d4a373);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        gap: 1.5rem;
    }
}


