/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #1a2942;
    --primary-bronze: #d4783c;
    --dark-navy: #0f1922;
    --light-navy: #2a3f5f;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --accent-gold: #c4a35a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 41, 66, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 41, 66, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-bronze);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-bronze);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-bronze);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-navy) 50%, var(--light-navy) 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,600 L0,600 Z" fill="rgba(212,120,60,0.05)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    background: var(--primary-bronze);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-bronze);
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--primary-bronze);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 120, 60, 0.3);
}

.cta-button:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 120, 60, 0.4);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-bronze);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--text-light);
}

/* ========================================
   Book Preview Section
   ======================================== */
.book-preview {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
}

.book-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-cover-wrapper {
    text-align: center;
}

.book-cover-3d {
    perspective: 1000px;
    display: inline-block;
    margin-bottom: 2rem;
}

.book-cover-image {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    transform: rotateY(-5deg) rotateX(2deg);
}

.book-cover-3d:hover .book-cover-image {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.preliminary-notice {
    background: #fff3e0;
    border-left: 4px solid var(--primary-bronze);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
    text-align: left;
}

.preliminary-notice p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.book-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-bronze);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* ========================================
   Author Section
   ======================================== */
.author {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-navy) 100%);
}

.author-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.author-bio {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.author-bio strong {
    color: var(--primary-bronze);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.contact-item {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-right: 0.5rem;
}

.contact-link {
    color: var(--primary-bronze);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.preliminary-text {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
}

/* ========================================
   Legal Sections (Impressum & Datenschutz)
   ======================================== */
.impressum,
.datenschutz {
    padding: 6rem 0;
    background: #f9f9f9;
}

.datenschutz {
    background: #ffffff;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-block {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-bronze);
}

.datenschutz .legal-block {
    background: #f9f9f9;
}

.legal-block h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-block h4 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-block p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-block li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-block a {
    color: var(--primary-bronze);
    font-weight: 600;
    transition: var(--transition);
}

.legal-block a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.legal-block strong {
    color: var(--primary-navy);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-navy);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-bronze);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .book-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: var(--primary-navy);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .book-cover-image {
        max-width: 300px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-text,
    .author-bio {
        font-size: 1rem;
    }
    
    .legal-block {
        padding: 1.5rem;
    }
    
    .legal-block h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .book-cover-image {
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}