/* ==========================================================================
   1. GLOBALE VARIABLEN & BASIS-STYLING
   ========================================================================== */
:root {
    --bg-color: #05070a;
    --container-bg: #0f172a;
    --neon-blue: #00f2ff;
    --neon-purple: #bc13fe;
    --text-color: #e2e8f0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.6;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue);
    margin: 0;
}

footer {
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid #1e293b;
    padding-top: 40px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================================================
   2. EINHEITLICHE NAVIGATION (ZENTRAL)
   ========================================================================== */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.nav-btn {
    color: var(--neon-blue);
    text-decoration: none;
    border: 1px solid var(--neon-blue);
    padding: 8px 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px var(--neon-blue);
}

.nav-btn.active {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
}

.nav-btn.active:hover {
    background: var(--neon-purple);
    color: #000;
    box-shadow: 0 0 15px var(--neon-purple);
}

/* ==========================================================================
   3. STARTSEITE: BÜCHER-GRID & PROFILE
   ========================================================================== */
.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue);
    object-fit: cover;
    margin-bottom: 20px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
    margin-top: 50px;
}

.book-card {
    background: var(--container-bg);
    border: 1px solid #1e293b;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--neon-purple);
    border-color: var(--neon-purple);
}

.book-cover {
    width: 100%;
    height: auto;
    background: #1e293b;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.amazon-btn {
    display: inline-block;
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    padding: 10px 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    margin-top: auto; 
    width: 90%;
}

.amazon-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* ==========================================================================
   4. LESEPROBEN & CONTENT-LAYOUTS
   ========================================================================== */
.story-card {
    background: var(--container-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    margin-bottom: 80px;
}

.story-title { 
    color: var(--neon-purple); 
    border-bottom: 1px solid #1e293b; 
    padding-bottom: 15px; 
    margin-bottom: 30px; 
}

.story-content p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.drop-cap {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 12px;
    color: var(--neon-blue);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-blue);
}

.cta-box {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    border-top: 1px dashed #1e293b;
}

/* ==========================================================================
   5. BILDERGALERIE MODUL
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: var(--container-bg);
    border: 1px solid #1e293b;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--neon-purple);
    border-color: var(--neon-purple);
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    background: #1e293b;
}

.gallery-title {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* ==========================================================================
   6. UNIVERSUM-GLOSSAR MODUL
   ========================================================================== */
.entry-card {
    background: var(--container-bg);
    border: 1px solid #1e293b;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--neon-purple);
}

.entry-term {
    color: var(--neon-blue);
    margin-top: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entry-category {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(188, 19, 254, 0.2);
    color: #ec4899;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* ==========================================================================
   7. GLOBAL RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
    .book-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 750px) {
    .book-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
}

@media (max-width: 500px) {
    .book-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   8. INTERNES KAPITEL-MENÜ (NUR LESEPROBEN)
   ========================================================================== */
.nav-area {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--neon-blue);
}

.nav-area h2 { 
    color: var(--neon-blue); 
    font-size: 1rem; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
}

.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.nav-list a:hover { 
    border-color: var(--neon-blue); 
    color: var(--neon-blue); 
    text-shadow: 0 0 5px var(--neon-blue); 
}
/* ==========================================================================
   9. RETRO-TERMINAL-LOOK (NUR ZEITUNG)
   ========================================================================== */
.terminal-box {
    background: #020408;
    border: 1px solid #22c55e; /* Cyber-Grün */
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
    margin-top: 40px;
}

.terminal-header {
    color: #22c55e;
    border-bottom: 1px dashed #22c55e;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.news-article {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1e293b;
}

.news-date {
    color: #64748b;
    font-size: 0.85rem;
}

.news-title {
    color: #22c55e;
    margin-top: 5px;
    font-size: 1.3rem;
}

.news-content {
    color: #a7f3d0;
    font-size: 1rem;
    line-height: 1.6;
}
.news-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border: 1px solid #22c55e; /* Passender grüner Terminal-Rahmen */
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); /* Leichter grüner Glow */
    border-radius: 2px;
}