﻿/* Tonyland: Verwandte und andere Katastrophen - Hauptstylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.7;
    min-height: 100vh;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(22, 33, 62, 0.8);
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

header {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 3px solid #e94560;
}

header h1 {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

header p {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-style: italic;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

main {
    background: rgba(15, 52, 96, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

/* Breadcrumb Styling */
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.breadcrumb li + li::before {
    content: "›";
    margin: 0 0.5rem;
    color: #e94560;
    font-weight: bold;
}

.breadcrumb a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b81;
    text-decoration: underline;
}

.breadcrumb li[aria-current=page] {
    color: #e0e0e0;
}

main h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e94560;
    padding-bottom: 0.5rem;
}

main h3 {
    color: #a29bfe;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    font-style: italic;
}

main p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.date {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote {
    background: rgba(233, 69, 96, 0.1);
    border-left: 4px solid #e94560;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Navigation Boxen (Sidebar) - Maximaler Kontrast für Lesbarkeit */
.nav-box {
    background: #0a0f1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e94560;
    margin-bottom: 1.5rem;
}

.nav-box h3 {
    color: #e94560;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.nav-box ul {
    list-style: none;
}

.nav-box li {
    margin-bottom: 0.8rem;
}

.nav-box a {
    color: #ffffff !important; /* Weiß erzwingen, kein Blau! */
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
}

.nav-box a:hover {
    color: #ffffff !important;
    background: #e94560;
    padding-left: 1rem;
}

/* Links im Haupttext - KEIN BLAU, sondern passend zum dunklen Design */
main a {
    color: #ff6b81 !important; /* Helles, gut lesbares Rot/Pink */
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 129, 0.5);
    font-weight: bold;
    transition: all 0.3s ease;
}

main a:hover {
    color: #ffffff !important;
    text-decoration-color: #ffffff;
    background-color: rgba(233, 69, 96, 0.3);
    border-radius: 3px;
}

/* Weisheits-Liste für Falsche Freunde */
.wisdom-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.wisdom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.wisdom-list li::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Extra Links Bereich */
.extra-links {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 52, 96, 0.4);
    border-top: 1px solid rgba(233, 69, 96, 0.2);
}

.extra-links a {
    color: #a0a0a0;
    text-decoration: none;
    margin: 0 0.6rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.extra-links a:hover {
    color: #e94560;
}

footer {
    background: #0f3460;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 3px solid #e94560;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-weight: bold;
}

footer a:hover {
    color: #e94560;
}

/* Bilder im Haupttext (Talleyrand etc.) */
.content-image-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
    border: 2px solid #e94560;
    border-radius: 4px;
    max-width: 150px; /* Begrenzte Größe für Desktop */
    height: auto;
}

/* Auf kleinen Bildschirmen Bilder zentrieren und nicht mehr floaten */
@media (max-width: 768px) {
    .content-image-left {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
        max-width: 200px;
    }
}

/* Zitate etwas historischer/eleganter gestalten */
main .quote p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Lexikon-Einträge */
.lexikon-entry {
    background: rgba(15, 52, 96, 0.3);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid #e94560;
    border-radius: 0 8px 8px 0;
}

.lexikon-satz {
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.lexikon-uebersetzung {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

.lexikon-uebersetzung strong {
    color: #e94560;
}
