/* Felix und das Einhorn - Static Site Styles */
/* GDPR compliant - all resources loaded locally */

/* Fonts */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Roboto-Italic.ttf') format('truetype');
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    background-image: url('../images/bg-weiss-mit-transiona.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #222;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: #6B4C9A;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8B6CBF;
}

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

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

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

/* Header */
.header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: scaleX(-1);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #6B4C9A;
    border-bottom-color: #6B4C9A;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-image {
    text-align: center;
    order: 2;
}

.hero-text {
    order: 1;
}

.hero-image img {
    max-width: 350px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #222;
}

.hero-text p {
    font-size: 1.1rem;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #6B4C9A;
    color: #fff;
}

.btn-primary:hover {
    background: #5A3D85;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 76, 154, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #6B4C9A;
    border: 2px solid #6B4C9A;
}

.btn-secondary:hover {
    background: #6B4C9A;
    color: #fff;
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.95rem;
    color: #666;
}

/* Book Info */
.book-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.isbn-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #666;
}

/* Testimonial */
.testimonial {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.2rem;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.testimonial-title {
    font-size: 0.9rem;
    color: #888;
}

/* Audiobook Section */
.audiobook {
    background: linear-gradient(135deg, #6B4C9A 0%, #8B6CBF 100%);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
}

.audiobook h2 {
    color: #fff;
}

.audiobook p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.audiobook .btn-primary {
    background: #fff;
    color: #6B4C9A;
}

.audiobook .btn-primary:hover {
    background: #f0f0f0;
    color: #5A3D85;
}

.audiobook-character {
    max-width: 200px;
    margin-bottom: 30px;
}

/* Download Section */
.downloads {
    margin-top: 30px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.download-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.download-info h4 {
    margin-bottom: 5px;
    font-weight: 500;
}

.download-info span {
    font-size: 0.85rem;
    color: #888;
}

.download-btn {
    background: #6B4C9A;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    background: #5A3D85;
    color: #fff;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    transform: scaleX(-1);
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Malbuch Page */
.malbuch-hero {
    text-align: center;
    padding: 100px 0 60px;
}

.malbuch-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.malbuch-cover {
    max-width: 300px;
    margin: 40px auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: 1;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .btn-group {
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .book-info,
    .testimonial {
        padding: 30px 20px;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
