/* ============================================================================
   ALLES KLAR MIT ANJU - German, explained clearly.
   Minimal, readable, generous whitespace.
   ============================================================================ */

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #D1FAE5;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-subtle: #f9fafb;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.2s ease;
    --measure: 720px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-weight: 400;
}

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

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

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

/* ============================================================================
   NAVIGATION - Single clean row
   ============================================================================ */

.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.nav-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    min-height: 68px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand-allesklar {
    color: var(--primary);
}

.brand-mitanju {
    color: var(--accent);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

/* ============================================================================
   HERO - Minimal, centered
   ============================================================================ */

.hero-minimal {
    padding: 6rem 0 4.5rem;
    text-align: center;
}

.hero-minimal h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-minimal h1 span {
    color: var(--primary);
}

.hero-minimal .tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: var(--measure);
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.section {
    padding: 4.5rem 0;
}

.section.alt {
    background: var(--bg-subtle);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: var(--measure);
    margin: 0 auto 3rem;
    text-align: center;
}

/* ============================================================================
   BOOK CARD GRID
   ============================================================================ */

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    transition: var(--transition);
}

.book-card:hover {
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.book-card-cover {
    display: block;
    width: 60%;
    max-width: 190px;
    margin: 0 auto 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.book-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.level-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    margin-bottom: 0.75rem;
}

.book-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.book-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.book-card-link:hover {
    color: var(--primary-dark);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: var(--bg-subtle);
}

/* ============================================================================
   YOUTUBE STRIP + MEET ANJU STRIP
   ============================================================================ */

.narrow {
    max-width: var(--measure);
    margin: 0 auto;
    text-align: center;
}

.narrow p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.meet-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: var(--measure);
    margin: 0 auto;
}

.meet-strip img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    flex-shrink: 0;
}

.meet-strip-text h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.meet-strip-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.meet-strip-text a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.meet-strip-text a:hover {
    color: var(--primary-dark);
}

/* ============================================================================
   BOOK DETAIL PAGE
   ============================================================================ */

.book-hero {
    padding: 4.5rem 0;
}

.book-detail {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
}

.book-detail-cover img {
    border-radius: 6px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.book-detail-cover {
    position: sticky;
    top: 6.5rem;
}

.book-detail-info {
    max-width: var(--measure);
}

.book-detail-info h1 {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-detail-info .level-badge {
    margin-bottom: 1.75rem;
}

.book-detail-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.book-detail-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.inside-list {
    list-style: none;
    margin-bottom: 2rem;
}

.inside-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.inside-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 0.55rem;
    flex-shrink: 0;
}

.buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0 0.5rem;
}

.buy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.video-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--primary-light);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
}

.video-note a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Grammar page: edition blocks */
.edition-block {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.edition-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edition-block .level-badge {
    margin-bottom: 0.9rem;
}

.edition-block p {
    margin-bottom: 1.25rem;
}

/* ============================================================================
   SIMPLE PAGES (About / Contact / Legal / Videos)
   ============================================================================ */

.page-hero {
    padding: 5rem 0 2.5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: var(--measure);
    margin: 0 auto;
}

.page-content {
    padding: 2rem 0 5rem;
}

.page-content .container {
    max-width: calc(var(--measure) + 4rem);
}

.page-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.page-content ul {
    margin: 0 0 1.5rem 1.4rem;
    color: var(--text-secondary);
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a:not(.btn) {
    color: var(--primary);
    font-weight: 600;
}

.page-content a:not(.btn):hover {
    color: var(--primary-dark);
}

.about-photo {
    display: block;
    width: 220px;
    border-radius: 12px;
    margin: 0 auto 2.5rem;
    box-shadow: var(--shadow-md);
}

.placeholder {
    background: #FEF3C7;
    border-radius: 4px;
    padding: 0.05rem 0.35rem;
    font-weight: 600;
    color: #92400E;
}

.legal-address {
    font-style: normal;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
    background: var(--text-primary);
    color: white;
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #E5E7EB;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: #9CA3AF;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.8rem;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 900px) {
    .book-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .book-detail-cover {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 17px;
    }

    .hero-minimal {
        padding: 4rem 0 3.5rem;
    }

    .hero-minimal h1 {
        font-size: 2.2rem;
    }

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

    .meet-strip {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-minimal h1 {
        font-size: 1.9rem;
    }

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

    .buy-row .btn {
        width: 100%;
    }
}
