/* ==============================
   Variables & Reset
   ============================== */
:root {
    --cream:         #FAF7F2;
    --cream-dark:    #EDE6DC;
    --purple-deep:   #1B3B6F;
    --purple-mid:    #065A82;
    --purple-light:  #D6EAF2;
    --gold:          #C8906A;
    --text-dark:     #111C2E;
    --text-mid:      #3A4A60;
    --text-light:    #7A8A9A;
    --white:         #FFFFFF;

    --font-heading:  'Playfair Display', serif;
    --font-body:     'Inter', sans-serif;

    --radius-md:     16px;
    --radius-lg:     24px;

    --shadow-sm:     0 2px 8px  rgba(27, 59, 111, 0.08);
    --shadow-md:     0 8px 32px rgba(27, 59, 111, 0.12);
    --shadow-lg:     0 20px 60px rgba(27, 59, 111, 0.20);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ==============================
   Utilities
   ============================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header::after {
    content: '— ✦ —';
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.45em;
    color: var(--gold);
    opacity: 0.55;
    margin-top: 20px;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* ==============================
   Buttons
   ============================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--purple-deep);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(27, 59, 111, 0.28);
}

.btn-primary:hover {
    background: var(--purple-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(27, 59, 111, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid rgba(250, 247, 242, 0.50);
}

.btn-outline:hover {
    background: rgba(250, 247, 242, 0.12);
    color: var(--white);
    border-color: var(--cream);
    transform: translateY(-2px);
}

/* ==============================
   Navigation
   ============================== */
.nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(250, 247, 242, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(27, 59, 111, 0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: var(--purple-deep);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--purple-deep);
}

/* ==============================
   Hero
   ============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(
            105deg,
            rgba(10, 22, 42, 0.90) 0%,
            rgba(20, 46, 88, 0.78) 50%,
            rgba(80, 45, 30, 0.45) 100%
        ),
        url('../assets/patrick-fore-0gkw_9fy0eQ-unsplash.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

/* Unsplash: Foto von Florian Klauer (mk7D-4UCfmg) */

.hero-glow { display: none; }

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--purple-light);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(64px, 9vw, 108px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 20px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: rgba(250, 247, 242, 0.80);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0 0 auto;
    max-width: 340px;
}

.hero-quote {
    position: relative;
    padding-top: 20px;
}

.hero-quote-author {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(250, 247, 242, 0.35);
    margin-top: 16px;
}

.hero-quote p {
    font-family: var(--font-heading);
    font-size: clamp(40px, 4.4vw, 56px);
    font-style: italic;
    font-weight: 400;
    color: rgba(250, 247, 242, 0.70);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* ==============================
   About
   ============================== */
.about {
    background: #FDFAF5;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 31px,
        rgba(119, 81, 68, 0.028) 31px,
        rgba(119, 81, 68, 0.028) 32px
    );
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: center;
}

.about-photo-placeholder {
    aspect-ratio: 3 / 4;
    background: var(--purple-light);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(6, 90, 130, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.about-photo-wrap {
}

.about-photo {
    width: 100%;
    display: block;
}

.photo-initials {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--purple-mid);
    opacity: 0.5;
}

.photo-hint {
    font-size: 13px;
    color: var(--purple-mid);
    opacity: 0.5;
    letter-spacing: 0.06em;
}

.about-text h2  { margin-bottom: 24px; }
.about-text p   { color: var(--text-mid); margin-bottom: 16px; }

.about-facts {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--purple-deep);
}

.fact-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* ==============================
   Book
   ============================== */
.book {
    background: #F0EAE0;
    position: relative;
}

.book::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 28px,
        rgba(119, 81, 68, 0.03) 28px,
        rgba(119, 81, 68, 0.03) 29px
    );
    pointer-events: none;
}

.book-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
}

.book-cover-wrap {
    padding: 20px 32px;
    display: flex;
    justify-content: center;
}

.book-cover {
    width: 210px;
    height: 300px;
    background: linear-gradient(155deg, #1D4478 0%, #0D2249 100%);
    border-radius: 3px 10px 10px 3px;
    box-shadow:
        8px 8px 40px rgba(13, 34, 73, 0.55),
        -3px 0 0 #142e58,
        -6px 1px 0 #0a1e3d,
        inset 4px 0 12px rgba(255, 255, 255, 0.06);
    transform: rotate(-2.5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 28px 20px 24px;
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer overlay */
.book-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 15%, rgba(119, 81, 68, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(6, 90, 130, 0.30) 0%, transparent 50%);
    pointer-events: none;
}

.book-cover-genre {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
    z-index: 1;
}

.book-cover-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: #FAF7F2;
    text-align: center;
    line-height: 1.25;
    z-index: 1;
}

.book-cover-stars {
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--gold);
    opacity: 0.55;
    z-index: 1;
}

.book-cover-author {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0.85;
    z-index: 1;
}

.book-info h2     { margin-bottom: 8px; }

.book-meta {
    font-size: 14px;
    font-style: italic;
    color: var(--text-light);
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.book-desc {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.85;
}

.book-status {
    margin: 32px 0;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.status-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.status-percent {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--purple-mid);
}

.status-bar {
    height: 8px;
    background: var(--purple-light);
    border-radius: 100px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple-deep), var(--purple-mid));
    border-radius: 100px;
}

/* ==============================
   News
   ============================== */
.news {
    background: var(--purple-deep);
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -60deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.014) 40px,
        rgba(255, 255, 255, 0.014) 41px
    );
    pointer-events: none;
}

.news .section-label { color: var(--gold); }
.news h2            { color: var(--white); }

.news-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-carousel-track {
    flex: 1;
    overflow: hidden;
    padding-top: 12px;
    margin-top: -12px;
}

.news-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    transition: transform 0.4s ease;
}

.carousel-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}

.carousel-btn:disabled {
    opacity: 0.22;
    cursor: default;
    pointer-events: none;
}

.news-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    background: rgba(119, 81, 68, 0.12);
    border-color: rgba(119, 81, 68, 0.32);
}

.news-date {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
    margin-bottom: 12px;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin-bottom: 20px;
}

.news-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    transition: letter-spacing 0.2s;
}

.news-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
}

.news-link:hover {
    letter-spacing: 0.04em;
}

/* ==============================
   Footer
   ============================== */
.footer {
    background: #0C1D34;
    padding: 64px 0 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 32px;
}

.footer-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.40);
}

.footer-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-email {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    transition: color 0.2s;
}

.footer-email:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.social-link:hover {
    color: var(--white);
    border-bottom-color: var(--gold);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo-placeholder,
    .about-photo-wrap {
        aspect-ratio: 1;
        width: 80%;
        max-width: none;
        margin: 0 auto;
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .book-cover-wrap {
        order: -1;
    }

    .news-carousel {
        display: block;
    }

    .news-carousel-track {
        overflow: visible;
    }

    .news-grid {
        flex-direction: column;
        transform: none !important;
        transition: none;
    }

    .news-card {
        flex: none;
        width: 100%;
    }

    .carousel-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .section { padding: 72px 0; }

    .nav-links { display: none; }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 32px;
    }

    .hero-quote p    { font-size: 32px; }
    .hero-visual     { padding-bottom: 64px; }
    .hero-desc        { margin-inline: auto; }
    .hero-cta         { justify-content: center; }

    .about-facts { gap: 24px; }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
}
