:root {
            /* Farbvariablen für Light-Mode */
            --color-bg: #f5f5f7;
            --color-bg-elevated: #ffffff;
            --color-text: #121212;
            --color-text-muted: #555555;
            --color-accent: #e11d48; /* sattes Rot/Pink */
            --accent-nonfiction: var(--color-accent);
            --accent-kids: #ff00ff; /* magenta-nah */
            --color-border: #e0e0e5;
            --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.08);
        }

        html[data-theme="dark"] {
            /* Farbvariablen für Dark-Mode */
            --color-bg: #050509;
            --color-bg-elevated: #101018;
            --color-text: #f9fafb;
            --color-text-muted: #9ca3af;
            --color-accent: #f97373; /* etwas weicheres Rot in Dark Mode */
            --accent-nonfiction: var(--color-accent);
            --accent-kids: #ff4dff; /* magenta-nah */
            --color-border: #1f2933;
            --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top, #666666 0, var(--color-bg) 45%);
            color: var(--color-text);
            line-height: 1.6;
        }

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

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

        .page-wrapper {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header & Navigation */

        header {
            width: 100%;
            border-bottom: 1px solid var(--color-border);
            backdrop-filter: blur(12px);
            background: linear-gradient(to bottom, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.85));
        }

        html[data-theme="light"] header {
            background: linear-gradient(to bottom, rgba(245, 245, 247, 0.98), rgba(245, 245, 247, 0.94));
        }

        .max-width {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        .nav-left {
            display: flex;
            align-items: baseline;
            gap: 0.5rem;
        }

        .brand {
            font-weight: 700;
            letter-spacing: 0.08em;
            font-size: 0.9rem;
            text-transform: uppercase;
        }

        .brand-tagline {
            font-size: 0.78rem;
            color: var(--color-text-muted);
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            padding: 0;
            margin: 0;
            font-size: 0.9rem;
        }

        nav a {
            position: relative;
            padding-bottom: 0.25rem;
            color: var(--color-text-muted);
            cursor: pointer;
        }

        nav a:hover,
        nav a:focus {
            color: var(--color-text);
        }

        nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: var(--color-accent);
            transition: width 0.2s ease-out;
        }

        nav a:hover::after,
        nav a:focus::after {
            width: 100%;
        }

        .theme-toggle {
            border-radius: 999px;
            border: 1px solid var(--color-border);
            background: rgba(15, 23, 42, 0.65);
            color: var(--color-text-muted);
            padding: 0.35rem 0.8rem;
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
            box-shadow: 0 0 0 rgba(0,0,0,0);
        }

        html[data-theme="light"] .theme-toggle {
            background: #ffffff;
        }

        .theme-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.25);
        }

        .theme-toggle span.icon {
            font-size: 0.9rem;
        }

        /* Hero Section */

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

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
            gap: 3rem;
            align-items: center;
        }

        @media (max-width: 800px) {
            .hero-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .eyebrow {
            font-size: 0.8rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--color-accent);
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .hero-title {
            font-size: clamp(2.2rem, 3vw, 2.9rem);
            margin: 0 0 0.8rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--color-text-muted);
            max-width: 29rem;
            margin-bottom: 1.4rem;
        }

        .hero-subtitle.text-black {
            color: #020617;
        }

        .hero-highlight {
            color: var(--color-accent);
            font-weight: 600;
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.7rem 1.4rem;
            border-radius: 999px;
            border: 1px solid transparent;
            font-size: 0.95rem;
            cursor: pointer;
            background: none;
            color: inherit;
            transition: transform 0.1s ease-out, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--color-accent), #fb7185);
            color: #ffffff;
            box-shadow: var(--shadow-soft);
        }

        html[data-theme="light"] .btn-primary {
            box-shadow: 0 16px 35px rgba(220, 38, 38, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 20px 45px rgba(0,0,0,0.5);
        }

        .btn-secondary {
            border-color: var(--color-border);
            background: rgba(15, 23, 42, 0.6);
            color: var(--color-text-muted);
        }

        html[data-theme="light"] .btn-secondary {
            background: #ffffff;
        }

        .btn-secondary:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.25);
        }

        .btn-icon {
            font-size: 1.1rem;
        }

        .hero-meta {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            margin-top: 0.8rem;
        }

        .hero-meta span {
            opacity: 0.9;
        }

        .hero-photo-wrapper {
            position: relative;
            border-radius: 1.5rem;
            padding: 0.18rem;
            background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.5), transparent 40%),
                        radial-gradient(circle at bottom right, rgba(216, 180, 254, 0.4), transparent 40%);
        }

        .hero-photo-inner {
            border-radius: 1.35rem;
            background: radial-gradient(circle at top, #111827, #020617);
            border: 1px solid rgba(148, 163, 184, 0.25);
            padding: 1.25rem;
            box-shadow: var(--shadow-soft);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        html[data-theme="light"] .hero-photo-inner {
            background: #ffffff;
        }

        .avatar-placeholder {
            width: 100%;
            aspect-ratio: 3 / 4;
            border-radius: 1.1rem;
            border: 1px dashed rgba(148, 163, 184, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-muted);
            font-size: 0.9rem;
            text-align: center;
            padding: 0.8rem;
        }

        .hero-badge {
            font-size: 0.8rem;
            color: var(--color-text-muted);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .hero-badge span {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }

        .pill {
            padding: 0.2rem 0.65rem;
            border-radius: 999px;
            border: 1px solid rgba(248, 113, 113, 0.6);
            color: var(--color-accent);
            font-size: 0.75rem;
        }

        /* Sections */

        section {
            padding: 3.5rem 0;
        }

        .section-header {
            margin-bottom: 2rem;
        }

        .section-kicker {
            font-size: 0.8rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--color-accent);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .section-title {
            font-size: 1.6rem;
            margin: 0 0 0.5rem;
        }

        .section-subtitle {
            font-size: 0.95rem;
            color: var(--color-text);
            max-width: 35rem;
        }

        /* Über mich */

        .about-grid {
            display: grid;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
            gap: 2.5rem;
        }

        @media (max-width: 800px) {
            .about-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .about-text p {
            margin-top: 0;
            margin-bottom: 0.9rem;
        }

        .about-list {
            list-style: none;
            padding: 0;
            margin: 1.2rem 0 0;
        }

        .about-list li {
            font-size: 0.9rem;
            color: var(--color-text-muted);
            margin-bottom: 0.4rem;
        }

        .about-card {
            border-radius: 1.2rem;
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            padding: 1.5rem;
            box-shadow: var(--shadow-soft);
            font-size: 0.9rem;
        }

        .about-card h3 {
            margin-top: 0;
            margin-bottom: 0.6rem;
            font-size: 1rem;
        }

        .about-tagline {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            margin-bottom: 0.8rem;
        }

        .badge-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .badge {
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            border: 1px solid var(--color-border);
            font-size: 0.75rem;
            color: var(--color-text-muted);
        }

        /* Featured Book */

        .featured-book {
            border-radius: 1.5rem;
            background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.08), transparent 55%),
                        var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            padding: 2rem;
            box-shadow: var(--shadow-soft);
        }

        .featured-grid {
            display: grid;
            grid-template-columns: minmax(0, 2.1fr) minmax(0, 3fr);
            gap: 2rem;
            align-items: center;
        }

        @media (max-width: 850px) {
            .featured-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .cover-placeholder {
            width: 100%;
            max-width: 260px;
            aspect-ratio: 2 / 3;
            border-radius: 1rem;
            border: 1px solid rgba(148, 163, 184, 0.6);
            background: repeating-linear-gradient(
                    -45deg,
                    rgba(15, 23, 42, 0.2),
                    rgba(15, 23, 42, 0.2) 8px,
                    rgba(31, 41, 55, 0.35) 8px,
                    rgba(31, 41, 55, 0.35) 16px
            );
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1rem;
            color: var(--color-text-muted);
            font-size: 0.9rem;
        }

        .book-meta-label {
            font-size: 0.8rem;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.16em;
            margin-bottom: 0.4rem;
        }

        .book-title {
            font-size: 1.5rem;
            margin: 0 0 0.4rem;
        }

        .book-subtitle {
            font-size: 1rem;
            margin: 0 0 0.8rem;
            color: var(--color-text-muted);
        }

        .book-description {
            font-size: 0.95rem;
            color: var(--color-text-muted);
            margin-bottom: 1rem;
        }

        .book-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            font-size: 0.8rem;
            color: var(--color-text-muted);
            margin-bottom: 1.3rem;
        }

        .divider-dot::before {
            content: "•";
            margin: 0 0.4rem;
            opacity: 0.5;
        }

        /* Bücherübersicht (Sektion für zukünftige Titel) */

        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .book-card {
            border-radius: 1.1rem;
            background: var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            padding: 1.2rem;
            box-shadow: var(--shadow-soft);
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            font-size: 0.9rem;
        }

        .book-card-cover {
            width: 100%;
            aspect-ratio: 2 / 3;
            border-radius: 0.8rem;
            border: 1px dashed rgba(148, 163, 184, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-muted);
            font-size: 0.8rem;
            text-align: center;
            padding: 0.7rem;
        }

        .book-card-title {
            font-weight: 600;
            font-size: 1rem;
        }

        .book-card-subtitle {
            color: var(--color-text-muted);
        }

        .book-card-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
        }

        .book-status {
            font-size: 0.8rem;
            color: var(--color-text-muted);
        }

        /* Kontakt */

        .contact-box {
            border-radius: 1.3rem;
            background: radial-gradient(circle at top right, rgba(248, 113, 113, 0.08), transparent 55%),
                        var(--color-bg-elevated);
            border: 1px solid var(--color-border);
            padding: 1.7rem;
            box-shadow: var(--shadow-soft);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1.2rem;
            align-items: center;
        }

        .contact-text {
            font-size: 0.95rem;
            color: var(--color-text-muted);
            max-width: 30rem;
        }

        .contact-email {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 0.9rem;
        }

        /* Footer */

        footer {
            border-top: 1px solid var(--color-border);
            margin-top: auto;
        }

        .footer-inner {
            padding: 1.2rem 0 1.5rem;
            font-size: 0.85rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 0.8rem;
            color: var(--color-text-muted);
        }

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

        .footer-links a {
            color: var(--color-text-muted);
        }

        .footer-links a:hover {
            color: var(--color-text);
        }

        /* Scroll-Animationen */

        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal.delay-1 {
            transition-delay: 0.12s;
        }

        .reveal.delay-2 {
            transition-delay: 0.24s;
        }

        .reveal.delay-3 {
            transition-delay: 0.36s;
        }

        /* Kleine Anpassungen für Mobile */

        @media (max-width: 600px) {
            .nav {
                flex-direction: column;
                gap: 0.6rem;
            }
            nav ul {
                gap: 1rem;
            }
            .hero {
                padding-top: 2.8rem;
            }
            section {
                padding: 2.7rem 0;
            }
        }

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 720px;
    width: calc(100% - 2rem);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-soft);
    z-index: 9999;
    font-size: 0.9rem;
}

.cookie-banner p {
    margin: 0 0 0.8rem;
    color: var(--color-text-muted);
}

.cookie-banner a {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}


/* ---------------------------------------------
   Erweiterung: Kinderbücher & Sachbuch/Satire
---------------------------------------------- */

.section-kicker--kids { color: var(--accent-kids); }
.section-kicker--nonfiction { color: var(--accent-nonfiction); }

.book-meta-label--kids { color: var(--accent-kids); }

.btn-primary.btn-kids {
    background: linear-gradient(135deg, var(--accent-kids), var(--color-accent));
}

html[data-theme="light"] .btn-primary.btn-kids {
    box-shadow: 0 16px 35px rgba(255, 0, 255, 0.22);
}

.worlds-grid {
    margin-top: 1.6rem;
}

.world-card .book-card-cover {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border);
    border-style: solid;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem;
    position: relative;
    overflow: hidden;
}

.world-cover-kids {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 0, 255, 0.25), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(249, 115, 115, 0.18), transparent 60%),
        linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(0, 0, 0, 0));
}

.world-cover-nonfiction {
    background:
        radial-gradient(circle at 18% 18%, rgba(249, 115, 115, 0.22), transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(255, 0, 255, 0.10), transparent 60%),
        linear-gradient(135deg, rgba(249, 115, 115, 0.06), rgba(0, 0, 0, 0));
}

.world-icon {
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0.95;
}

.world-title {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.world-text {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.highlight-block {
    margin-top: 2.2rem;
}

.highlight-header {
    margin-bottom: 1.1rem;
}

.highlight-title {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.25rem;
}

.highlight-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 66ch;
}

.highlight-meta {
    display: inline-block;
    margin-left: 0.45rem;
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.books-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
    margin-top: 1.4rem;
}

@media (max-width: 900px) {
    .books-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

.subsection-header {
    margin: 0 0 1.1rem;
}

.subsection-title {
    margin: 0.25rem 0 0.25rem;
    font-size: 1.15rem;
}

.subsection-subtitle {
    margin: 0;
    color: var(--color-text-muted);
}

.about-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1.2rem 0 1.2rem;
}

.about-subhead {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
}

.about-bullets {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
}

.about-bullets li {
    margin: 0.35rem 0;
}

