:root {
    --primary-color: #00aaff; /* Helles Cyber-Blau */
    --secondary-color: #00ff7f; /* Helles Terminal-Grün */
    --background-color: #0a0a14;
    --text-color: #e0e0e0;
    --card-bg-color: #1a1a2e;
    --border-color: rgba(0, 170, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.hero-content {
    z-index: 2;
}

#hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
}

#hero .subtitle {
    font-family: 'Share Tech Mono', monospace;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

#hero h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* --- Button Styling --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
    background-color: transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 20px var(--primary-color);
}

/* --- Content Sections --- */
.content-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Book Section --- */
.book-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.book-cover {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-placeholder {
    width: 300px;
    height: 450px;
    border: 2px solid var(--border-color);
    background-color: var(--card-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
}

.book-description {
    flex: 2;
}

.book-description p {
    margin-bottom: 1rem;
}

.book-description h3 {
    margin-top: 2rem;
    color: var(--secondary-color);
}

.book-description ul {
    list-style: none;
    padding-left: 1rem;
}

.book-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.book-description li::before {
    content: '//';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}


/* --- Author Section --- */
.author-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.author-bio {
    flex: 2;
}
.author-photo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background-color: #000;
    position: relative;
    overflow: hidden;
}
.scanline {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    top: -10px;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: -10px; }
    100% { top: 110%; }
}


/* --- Contact Section --- */
#contact {
    text-align: center;
}
.contact-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Glitch Effect --- */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary-color);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(45% 0 56% 0); }
    100% { clip-path: inset(5% 0 96% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(85% 0 6% 0); }
    100% { clip-path: inset(55% 0 36% 0); }
}

/* --- Background Lines Animation --- */
.background-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(to right, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    animation: move-lines 10s linear infinite;
}

@keyframes move-lines {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    #hero h1 { font-size: 3rem; }
    #hero h2 { font-size: 1.5rem; }
    
    .book-layout, .author-layout {
        flex-direction: column;
    }

    .author-layout {
        flex-direction: column-reverse;
    }

    nav ul {
        display: none; /* For simplicity on mobile */
    }

    .contact-links {
        flex-direction: column;
    }
}

