@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #0f172a;
    --secondary-color: #ffffff;
    --accent-color: #3b82f6;
    --accent-secondary: #8b5cf6;
    --amazon-color: #ff9500;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --surface: #ffffff;
    --surface-elevated: #f8fafc;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    /* New Horror/Coming Soon Colors */
    --horror-dark: #1f2937;
    --horror-red: #dc2626;
    --coming-soon-gold: #f59e0b;
    --horror-purple: #4c1d95;
    --horror-gradient: linear-gradient(135deg, #1f2937 0%, #312e81 50%, #4c1d95 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="0.3" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="0.4" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="0.2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.6" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

header h1 {
    font-family: 'Crimson Text', serif;
    margin: 0 0 1rem 0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

main {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    margin-bottom: 4rem;
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 2rem 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

#series-intro {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    text-align: center;
    border: none;
}

#series-intro h2 {
    color: var(--secondary-color);
}

#series-intro p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.book {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.book:last-child {
    margin-bottom: 0;
}

.book img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
}

.book-info h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    line-height: 1.3;
}

.description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
}

.description p {
    margin-bottom: 1.2rem;
}

.description p:last-child {
    margin-bottom: 0;
}

.links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn:hover {
    opacity: 0.9;
}

.btn.amazon {
    background: var(--amazon-color);
}

.btn.amazon:hover {
    background: #e8860a;
}

.support-author {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

#author {
    background: var(--surface-elevated);
}

#author p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

#author p:last-child {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    main {
        padding: 3rem 1.5rem;
    }
    
    section {
        padding: 2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 3rem 1.5rem 2rem;
    }
    
    main {
        padding: 2rem 1rem;
    }

    .book {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1.5rem;
    }

    .book img {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .links {
        justify-content: center;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2rem 1rem;
    }
    
    main {
        padding: 1.5rem 1rem;
    }
    
    section {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: var(--accent-color);
    color: var(--secondary-color);
}

/* Legal pages styling */
.contact-info, .legal-info, .privacy-section, .disclaimer-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.contact-info h3, .legal-info h3, .privacy-section h3, .disclaimer-section h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.contact-info h4, .legal-info h4, .privacy-section h4, .disclaimer-section h4 {
    font-weight: 600;
    color: var(--text-color);
    margin: 1rem 0 0.5rem 0;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.inline-link-accent {
    color: var(--accent-color);
    font-weight: 500;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.navigation-links {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Author section with image */
.author-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.author-image-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.author-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    box-shadow:
        0 0 0 4px var(--surface),
        0 0 0 8px var(--accent-color),
        var(--shadow-xl);
    border: 4px solid var(--surface);
}

.author-text p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.author-text p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for author section */
@media (max-width: 768px) {
    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .author-image {
        width: 150px;
        height: 150px;
    }
    
    .author-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .author-image {
        width: 120px;
        height: 120px;
    }
}

/* Coming Soon book styling */
.book.upcoming {
    position: relative;
    background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 1%, #f8fafc 1%, #f8fafc 100%);
    border: 2px solid #f59e0b;
}

.book.upcoming::before {
    content: '✨ COMING SOON';
    position: absolute;
    top: -10px;
    right: 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.coming-soon {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.release-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #f59e0b;
    box-shadow: var(--shadow-sm);
}

.release-info h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.release-info p {
    color: #78350f;
    margin: 0;
    font-weight: 500;
}

.preview-note {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    text-align: center;
}

.preview-note p {
    color: #1e40af;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

/* Upcoming book image effect */
.book.upcoming img {
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.3));
}

/* Responsive adjustments for upcoming book */
@media (max-width: 768px) {
    .book.upcoming::before {
        top: -8px;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
} 

/* Toggle button for descriptions */
.toggle-desc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    background: var(--accent-secondary);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s ease;
}

.toggle-desc:hover {
    opacity: 0.9;
}

/* ========================================
   STICKY NAVIGATION
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-secondary);
}

.main-nav.hide-logo .nav-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

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

.nav-links .nav-highlight {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.nav-links .nav-highlight::after {
    display: none;
}

.nav-links .nav-highlight:hover {
    color: white;
    opacity: 0.9;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.75rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .nav-links .nav-highlight {
        margin: 1rem;
        text-align: center;
    }
}

/* Offset for fixed nav */
body {
    padding-top: 60px;
}

/* ========================================
   EXTENDED HERO SECTION
   ======================================== */
.hero-extended {
    min-height: 47vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 140% 80% at 50% 120%, oklch(0.26 0.08 270) 0%, transparent 55%),
        radial-gradient(ellipse 100% 60% at 50% -10%, oklch(0.22 0.07 290) 0%, transparent 60%),
        linear-gradient(180deg, #070815 0%, #0b0c1f 100%);
}

/* Aurora schlieren canvas — reagiert auf Mausbewegung */
.hero-aurora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Weiche Vignette für Tiefe */
.hero-extended::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 130% 95% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    opacity: 0.9;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   COMING SOON SECTION
   ======================================== */
.coming-soon-section {
    background: var(--horror-gradient);
    padding: 5rem 2rem;
    margin: 0 -2rem;
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    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 100 100"><circle cx="10" cy="10" r="1" fill="white" opacity="0.03"/><circle cx="30" cy="50" r="0.8" fill="white" opacity="0.02"/><circle cx="70" cy="30" r="1.2" fill="white" opacity="0.04"/><circle cx="90" cy="80" r="0.6" fill="white" opacity="0.03"/></svg>');
    pointer-events: none;
}

.coming-soon-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.coming-soon-cover {
    position: relative;
}

.coming-soon-cover img {
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.coming-soon-overlay {
    position: absolute;
    top: 1rem;
    right: -1rem;
    background: var(--coming-soon-gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
}

.coming-soon-info {
    color: white;
}

.coming-soon-info .genre-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coming-soon-info h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.coming-soon-info .book-subtitle {
    color: var(--coming-soon-gold);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.coming-soon-info .description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.release-date-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.release-date-box .icon {
    font-size: 2rem;
}

.release-date-box .text {
    display: flex;
    flex-direction: column;
}

.release-date-box .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.release-date-box .date {
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 968px) {
    .coming-soon-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .coming-soon-cover {
        max-width: 300px;
        margin: 0 auto;
    }

    .coming-soon-overlay {
        right: -0.5rem;
    }

    .release-date-box {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .coming-soon-section {
        padding: 3rem 1rem;
        margin: 0 -1rem;
    }
}

/* ========================================
   BOOK CARDS GRID
   ======================================== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.book-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    box-shadow: var(--shadow-lg);
}

.book-card-cover {
    position: relative;
}

.book-card-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.book-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-card-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.book-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.book-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: var(--surface-elevated);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.book-card-btn:hover {
    background: var(--accent-color);
    color: white;
}

.book-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.book-card-btn-preview {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.book-card-btn-preview:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}

/* Preview CTA in Modal */
.preview-cta {
    margin-bottom: 1.5rem;
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary) !important;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
    box-shadow: var(--shadow-md);
}

.preview-btn:hover {
    opacity: 0.9;
}

@media (max-width: 968px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .books-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ========================================
   MODAL SYSTEM
   ======================================== */
.book-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.book-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.book-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-elevated);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

.modal-cover img {
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.modal-info h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
}

.modal-info .description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ========================================
   RETAILER LINKS GRID
   ======================================== */
.retailer-section {
    margin-top: 0.25rem;
}

.format-info {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.format-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.retailer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.75rem 0;
}

.retailer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.retailer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.retailer-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.retailer-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.retailer-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.retailer-icon svg {
    width: 20px;
    height: 20px;
}

.retailer-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.retailer-name {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.2;
}

.retailer-sub {
    font-size: 0.72rem;
    opacity: 0.7;
    line-height: 1.2;
}

/* BoD / Verlag */
.retailer-bod {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.retailer-bod .retailer-icon {
    background: #2563eb;
}

.retailer-bod .retailer-icon svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Amazon */
.retailer-amazon {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border-color: #fde68a;
}

.retailer-amazon .retailer-icon {
    background: #ff9900;
}

.retailer-amazon .retailer-icon svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Thalia */
.retailer-thalia {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #14532d;
    border-color: #bbf7d0;
}

.retailer-thalia .retailer-icon {
    background: #00856a;
}

.retailer-thalia .retailer-icon svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hugendubel */
.retailer-hugendubel {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-color: #fecaca;
}

.retailer-hugendubel .retailer-icon {
    background: #e2001a;
}

.retailer-hugendubel .retailer-icon svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 480px) {
    .retailer-grid {
        grid-template-columns: 1fr;
    }
}

.modal-support {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .modal-cover {
        max-width: 200px;
        margin: 0 auto;
    }

    .modal-info {
        text-align: center;
    }

    .modal-links {
        justify-content: center;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

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

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

/* Stagger children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ========================================
   PRE-ORDER SECTION
   ======================================== */
.coming-soon-actions {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.preorder-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.preorder-btn:hover {
    opacity: 0.88;
}

/* ========================================
   PRE-ORDER MODAL
   ======================================== */
.preorder-modal-content {
    max-width: 600px;
    padding: 2.5rem 2.5rem 2rem;
}

.preorder-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.preorder-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.preorder-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* ---- Edition Selection Cards ---- */
.preorder-editions {
    display: -webkit-flex;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.edition-option {
    -webkit-flex: 1;
    flex: 1;
    cursor: pointer;
    display: block;
    position: relative;
}

/* Hide the native radio button – accessible & Safari-safe */
.edition-option > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.edition-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.edition-card:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.edition-option > input[type="radio"]:checked + .edition-card {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.edition-type {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.edition-details {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.edition-price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #d97706;
}

/* ---- Notification / Pre-order Form ---- */
.notify-form {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notify-privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-top: 0.25rem;
}

.notify-privacy-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.notify-privacy-notice p {
    font-size: 0.8rem;
    color: #78350f;
    line-height: 1.6;
    margin: 0;
}

/* ---- Notification Success State ---- */
.notify-success {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.notify-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.notify-success h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
}

.notify-success p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 0.5rem 0;
}

.notify-success-hint {
    color: #64748b !important;
    font-size: 0.88rem !important;
    margin-top: 1rem !important;
}

.preorder-form {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: -webkit-flex;
    display: flex;
    gap: 0.9rem;
}

.form-row > .form-group {
    -webkit-flex: 1;
    flex: 1;
}

.form-row > .form-group-small {
    -webkit-flex: 0 0 120px;
    flex: 0 0 120px;
}

.form-group {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.3rem;
}

.preorder-form .form-group > label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.01em;
}

.preorder-form input[type="text"],
.preorder-form input[type="email"],
.preorder-form textarea {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.preorder-form input[type="text"]:focus,
.preorder-form input[type="email"]:focus,
.preorder-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.preorder-form textarea {
    resize: vertical;
    min-height: 70px;
}

/* Checkbox / Datenschutz */
.form-checkbox {
    margin-top: 0.25rem;
}

.form-checkbox label {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #f59e0b;
}

.form-checkbox a {
    color: #3b82f6;
    text-decoration: underline;
}

/* Submit Button */
.preorder-submit-btn {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.75rem;
    border: none !important;
    border-radius: 50px;
    letter-spacing: 0.02em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.preorder-submit-btn:hover {
    opacity: 0.9;
}

.preorder-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.preorder-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0.5rem 0 0 0;
}

/* ---- Status Messages ---- */
.preorder-message {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.preorder-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.preorder-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .coming-soon-actions {
        -webkit-justify-content: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .preorder-modal-content {
        padding: 2rem 2rem 1.5rem;
    }

    .preorder-editions {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .form-row {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .form-row > .form-group-small {
        -webkit-flex: 1;
        flex: 1;
    }

    .coming-soon-actions {
        -webkit-justify-content: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .preorder-modal-content {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .preorder-header h2 {
        font-size: 1.35rem;
    }
}

/* ========================================
   SACHBÜCHER PAGE
   ======================================== */
.sachbuch-header {
    background:
        radial-gradient(ellipse 140% 80% at 50% 120%, oklch(0.28 0.09 35) 0%, transparent 55%),
        radial-gradient(ellipse 100% 60% at 50% -10%, oklch(0.24 0.08 25) 0%, transparent 60%),
        linear-gradient(180deg, #150804 0%, #1d0b05 100%);
}

.sachbuch-featured {
    background: linear-gradient(135deg, #431407 0%, #7c2d12 50%, #9a3412 100%);
    color: white;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sachbuch-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.sachbuch-cover {
    position: relative;
}

.sachbuch-cover img {
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sachbuch-badge {
    position: absolute;
    top: 1rem;
    right: -1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
}

.sachbuch-info {
    color: white;
}

.sachbuch-info h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.sachbuch-subtitle {
    color: #fb923c;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.sachbuch-info .description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.genre-badge.sachbuch-genre {
    display: inline-block;
    background: rgba(234, 88, 12, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sachbuch-release {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 968px) {
    .sachbuch-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .sachbuch-cover {
        max-width: 300px;
        margin: 0 auto;
    }

    .sachbuch-badge {
        right: -0.5rem;
    }

    .sachbuch-release {
        justify-content: center;
    }
}