:root {
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --card: #ffffff;

    --text: #0f172a;
    --muted: #5b6472;
    --lightgrey: #9b9797;

    --brand: #3f3f46;
    --brand-2: #27272a;

    --accent: #ff9900;

    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

    --radius: 16px;
    --max-w: 1100px;
}

.bildhinweis {
    color: var(--lightgrey);
    margin-left: 10px;
    font-size: 0.6rem;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --bg-soft: #f7f8fb;
        --card: #ffffff;
        --text: #0c1222;
        --muted: #445063;
        --border: rgba(12, 18, 34, .08);
        --shadow: 0 10px 30px rgba(12, 18, 34, .08);
    }
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 80px 0
}

.section h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
    margin: 0 0 14px
}

.section p.lead {
    font-size: clamp(1.05rem, .9rem + .6vw, 1.25rem);
    color: var(--muted);
    margin: 0 0 28px
}

/* Header */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
    background: color-mix(in oklab, var(--bg), transparent 25%);
    border-bottom: 1px solid var(--border)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit
}

.brand .logo {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #ffffff;
    color: #111;

    border: 2px solid #111;

    font-weight: 800;
}

.brand span {
    font-weight: 700
}

.nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav a {
    color: inherit;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px
}

.nav a:hover {
    background: color-mix(in oklab, var(--brand) 12%, transparent)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    color: #111;
    border: 2px solid #111;
    transition: all .25s ease;
}

/* .btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
} */

.btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border)
}

/* Amazon Button */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(255, 153, 0, 0.35);
    }

    50% {
        transform: scale(1.015);
        box-shadow: 0 12px 28px rgba(255, 153, 0, 0.42);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(255, 153, 0, 0.35);
    }
}

.btn.amazon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9900, #ffb84d);
    color: #111;
    font-weight: 700;
    border: none;
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.35);
    transition: box-shadow .2s ease, transform .2s ease;
    animation: buttonPulse 4s ease-in-out infinite;
}

.btn.amazon:hover {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 35px rgba(255, 153, 0, 0.45);
}

.btn.amazon::after {
    content: " →";
    margin-left: 6px;
}

/* Hero */
.hero {
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden
}

.hero .grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center
}

.eyebrow {
    display: inline-block;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 18px
}

.hero h1 {
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 14px
}

.hero p {
    font-size: clamp(1.05rem, .9rem + .6vw, 1.25rem);
    color: var(--muted)
}

.hero .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px
}

.book-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow)
}

.book-cover {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background: linear-gradient(135deg, color-mix(in oklab, var(--brand), #000 15%), color-mix(in oklab, var(--brand-2), #000 10%));
    display: block;
    margin: 0 auto;
    color: #0b1220;
    font-weight: 800;
    font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem);
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    color: var(--muted)
}

/* Feature blocks */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px
}

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 1.05rem
}

.feature p {
    margin: 0;
    color: var(--muted)
}

/* Chapters */
.chapters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.chapter {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px
}

.chip {
    display: inline-block;
    font-size: .8rem;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--muted);
    margin-bottom: 10px
}

.chapter h3 {
    margin: 0 0 8px
}

/* Quote / Reviews */
.quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
    align-items: stretch;
}

.quote {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px 22px;
    position: relative;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.quote::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(15, 23, 42, 0.06);
    font-family: Georgia, serif;
}

.quote::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff9900, #ffb84d);
}

.quote p {
    margin: 0;
}

.quote-stars {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 14px !important;
    position: relative;
    z-index: 1;
}

.quote p:nth-of-type(2) {
    color: var(--text);
    line-height: 1.75;
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.quote small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.quote strong {
    color: var(--text);
}

/* Tablet */
@media (max-width: 960px) {
    .quotes {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .quote {
        padding: 24px 20px 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .quotes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quote {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .quote::before {
        font-size: 3.6rem;
        top: 8px;
        right: 14px;
    }

    .quote p:nth-of-type(2) {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .quote small {
        font-size: 0.92rem;
    }
}

#stimmen .container>h2 {
    text-align: center;
    margin-bottom: 10px;
}

#stimmen {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 247, 251, 0.9) 100%);
}

/* Author */
.author {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center
}

.author-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px
}

.author-picture {
    height: 220px;
    width: 330px;
    border-radius: 5px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow)
}

/* Resources */
.resources {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.res {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--muted)
}

footer a {
    color: inherit
}

/* Utilities */
.muted {
    color: var(--muted)
}

/* .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
} */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.grid-2 .feature {
    height: 100%;
}

.grid-2 .feature ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.grid-2 .feature li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 960px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .grid-2 .feature {
        padding: 16px;
    }

    .grid-2 .feature h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .grid-2 .feature ul {
        padding-left: 16px;
    }

    .grid-2 .feature li {
        margin-bottom: 8px;
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .grid-2 .feature {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .grid-2 .feature h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .grid-2 .feature ul {
        margin-top: 10px;
        padding-left: 15px;
    }

    .grid-2 .feature li {
        margin-bottom: 7px;
        font-size: 0.88rem;
        line-height: 1.35;
    }
}

/* Responsive */
@media (max-width: 960px) {

    .hero .grid,
    .author {
        grid-template-columns: 1fr
    }

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

    .chapters {
        grid-template-columns: 1fr 1fr
    }

    .quotes {
        grid-template-columns: 1fr
    }

    .resources {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {

    .features,
    .chapters,
    .resources {
        grid-template-columns: 1fr
    }

    /* .nav ul {
        display: none
    } */
    @media (max-width: 720px) {
        .nav {
            height: auto;
            padding: 12px 0;
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }

        .brand {
            justify-content: center;
        }

        .nav nav {
            width: 100%;
        }

        .nav ul {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            width: 100%;
        }

        .nav ul li {
            width: 100%;
        }

        .nav ul a {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 42px;
            padding: 10px 8px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid var(--border);
            background: var(--card);
        }

        .nav ul a:hover {
            background: color-mix(in oklab, var(--brand) 10%, transparent);
        }

        .nav .btn {
            display: none;
        }
    }
}

/* Skip link */
.skip {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px
}

/* =========================
   Buchseite
========================= */

.hero-book.section {
    padding: 56px 0 28px;
}

.hero-book-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.book-hero-cover {
    width: 300px;
    max-width: 88%;
    display: block;
    margin: 0 auto 10px;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}

.book-meta-line {
    margin: 0 0 16px;
    font-size: .98rem;
    color: var(--muted);
}

.book-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 1.45rem + 2vw, 3rem);
    line-height: 1.12;
}

.hero-text {
    max-width: 760px;
    margin: 0 auto 12px;
}

.hero-copy {
    max-width: 760px;
    margin: 0 auto 12px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.hero-copy-last {
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.availability-note {
    margin-top: 16px;
}

.section-tight {
    padding: 34px 0;
}

.section-tight-bottom {
    padding: 34px 0 56px;
}

.narrow {
    max-width: 850px;
}

.features-book {
    margin-top: 18px;
}

.grid-book {
    margin-top: 18px;
}

.cta-box {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 640px) {
    .hero-book.section {
        padding: 42px 0 20px;
    }

    .section-tight {
        padding: 26px 0;
    }

    .section-tight-bottom {
        padding: 26px 0 42px;
    }

    .book-hero-cover {
        width: 240px;
    }

    .book-meta-line {
        margin-bottom: 14px;
    }

    .book-title {
        margin-bottom: 12px;
    }

    .hero-copy {
        font-size: 1rem;
        line-height: 1.65;
    }

    .cta-box {
        padding: 22px 18px;
    }
}

/* =========================
   Blogseite
========================= */

.blog-hero.section {
    padding: 56px 0 28px;
}

.blog-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.blog-kicker {
    margin: 0 0 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .84rem;
}

.blog-intro {
    max-width: 780px;
    margin-bottom: 18px;
}

.blog-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    margin-bottom: 26px;
    font-size: .96rem;
}

.blog-hero-image {
    width: 100%;
    max-width: 920px;
    display: block;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, .9fr);
    gap: 28px;
    align-items: start;
}

.blog-article {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow);
}

.blog-article p {
    line-height: 1.75;
    color: var(--text);
    margin: 0 0 18px;
}

.blog-article h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem);
}

.blog-note {
    margin: 20px 0 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: color-mix(in oklab, var(--brand) 10%, transparent);
    border: 1px solid var(--border);
    line-height: 1.65;
}

.blog-sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    margin: 0 0 12px;
}

.sidebar-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list a {
    color: inherit;
    text-decoration: none;
}

.sidebar-list a:hover {
    text-decoration: underline;
}

.blog-cta-box {
    margin-top: 34px;
    padding: 24px;
    border-radius: 18px;
    background: color-mix(in oklab, var(--brand-2) 8%, transparent);
    border: 1px solid var(--border);
}

@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-hero.section {
        padding: 42px 0 20px;
    }

    .blog-article {
        padding: 22px 18px;
    }

    .sidebar-card {
        padding: 18px;
    }
}

/* =========================
   Autorenseite
========================= */

.author-hero.section {
    padding: 60px 0 34px;
}

.author-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 30px;
    align-items: center;
}

.author-hero-copy {
    max-width: 760px;
}

.author-hero-copy h1 {
    font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.3rem);
    line-height: 1.08;
    margin: 0 0 16px;
}

.author-hero-copy p {
    margin: 0 0 14px;
}

.author-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.author-hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.author-page-image {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.author-image-caption {
    margin: 12px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: .95rem;
}

.author-values {
    margin-top: 18px;
}

.author-quote-wrap {
    max-width: 900px;
}

.author-quote-box {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    position: relative;
}

.author-quote-box::before {
    content: "“";
    position: absolute;
    top: -18px;
    left: 16px;
    font-size: 4rem;
    color: color-mix(in oklab, var(--brand-2), transparent 35%);
}

.author-quote-box p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .author-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .author-hero.section {
        padding: 44px 0 24px;
    }

    .author-hero-card {
        padding: 14px;
    }

    .author-quote-box {
        padding: 22px 18px;
    }
}

/* Amazon Button Autorenseite mittig */

.btn.amazon:last-of-type {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
}

/* Book asside bei Mobilansicht oben */
@media (max-width: 960px) {
    .hero .grid>.book-card {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
    }

    .book-cover {
        width: 260px;
        max-width: 88%;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
    }

    .book-meta {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        text-align: center;
    }
}