/* ══════════════════════════════════════════════
   Barbara Klein – Soweit alles in Ordnung
   Stylesheet
══════════════════════════════════════════════ */

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

/* ── Variablen ── */
:root {
    --dark:        #1c2340;
    --gold:        #c9a84c;
    --gold-light:  #e8d5a3;
    --cream:       #faf8f3;
    --white:       #ffffff;
    --text:        #2c2c2c;
    --text-light:  #666666;
    --red:         #8b1a1a;
    --header-h:    68px;
    --sans:        'Noto Sans', Arial, sans-serif;

    /* ── Noto Sans Schriftgewicht (200 – 1000 möglich) ── */
    --w-light:     200;   /* dünn  → z. B. Fließtext, Untertitel  */
    --w-medium:    500;   /* mittel → z. B. Navigationslinks       */
    --w-bold:      700;   /* fett  → z. B. Überschriften, Buttons  */

    --max-w:       1080px;
    --pad:         40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    padding-top: var(--header-h);
}

/* ── Fixed Header ── */
header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
    z-index: 1000;
    box-shadow: 0 2px 24px rgba(0,0,0,.35);
    transition: box-shadow .3s;
}

header.scrolled { box-shadow: 0 2px 40px rgba(0,0,0,.55); }

.brand {
    font-family: var(--sans);
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: .5px;
    white-space: nowrap;
}
.brand em { color: var(--gold); font-style: normal; }

nav { display: flex; gap: 28px; }
nav a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: color .2s;
}
nav a:hover, nav a.active { color: var(--gold); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all .3s;
}

/* ── Hero ── */
.hero {
    min-height: calc(100vh - var(--header-h));
    background: linear-gradient(130deg, #151a30 0%, #263060 55%, #1a2040 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px var(--pad);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,168,76,.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(201,168,76,.05) 0%, transparent 40%);
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: var(--max-w);
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ── Buchcover ── */
.book-3d {
    flex-shrink: 0;
    perspective: 900px;
}
.book-3d-inner {
    width: 230px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotateY(-8deg) translateY(0); }
    50%       { transform: rotateY(-8deg) translateY(-10px); }
}
.book-img {
    width: 230px;
    display: block;
    border-radius: 2px 6px 6px 2px;
    box-shadow:
        -6px 6px 0 #0d1225,
        -12px 12px 0 rgba(0,0,0,.3),
        20px 20px 50px rgba(0,0,0,.7),
        inset -3px 0 12px rgba(0,0,0,.25);
    position: relative;
    z-index: 1;
}

/* ── Hero Text ── */
.hero-text { color: var(--white); }
.hero-label {
    display: block;
    font-size: .7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.hero-h1 {
    font-family: var(--sans);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 550;
    line-height: 1.15;
    margin-bottom: 8px;
}
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255,255,255,.7);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(201,168,76,.25);
}
.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.78);
    line-height: 1.85;
    margin-bottom: 38px;
    max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 13px 28px;
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .25s;
    border-radius: 1px;
}
.btn-gold {
    background: var(--gold);
    color: var(--dark);
    font-weight: 600;
}
.btn-gold:hover {
    background: #d4b05c;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201,168,76,.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #263060; transform: translateY(-2px); }

/* ── Layout-Helfer ── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.sec    { padding: 90px 0; }
.sec-sm { padding: 60px 0; }

.sec-label {
    display: block;
    font-size: .65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.sec-title {
    font-family: var(--sans);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 18px;
}
.sec-bar {
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 36px;
}

/* ── Das Buch ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-grid p {
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text);
}
.about-grid p:last-child { margin-bottom: 0; }

/* ── Zitat-Strip ── */
.quote-strip {
    background: var(--dark);
    padding: 70px var(--pad);
    position: relative;
    overflow: hidden;
}
.quote-strip::before {
    content: '\201C';
    font-family: var(--sans);
    font-size: 18rem;
    color: var(--gold);
    opacity: .07;
    position: absolute;
    top: -60px;
    left: 30px;
    line-height: 1;
    pointer-events: none;
}
.quote-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.quote-strip blockquote {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: var(--w-light);
    font-style: italic;
    color: var(--white);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 800px;
}
.quote-strip cite {
    font-size: 1.25rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

/* ── Lesetermine ── */
.reading-wrap {
    padding: 0 var(--pad);
    margin: 80px auto;
    max-width: var(--max-w);
}
.reading-card {
    background: linear-gradient(135deg, #fffdf0, #fff9e3);
    border: 1px solid var(--gold-light);
    border-left: 6px solid var(--gold);
    box-shadow: 0 12px 48px rgba(201,168,76,.18);
    overflow: hidden;
    position: relative;
}
.reading-card::after {
    content: '✦';
    position: absolute;
    bottom: -20px;
    right: 30px;
    font-size: 8rem;
    color: var(--gold);
    opacity: .06;
    pointer-events: none;
    line-height: 1;
}
.reading-body {
    padding: 50px 55px;
    position: relative;
    z-index: 1;
}

.reading-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white);
    padding: 7px 18px;
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

.reading-headline {
    font-family: var(--sans);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--dark);
    margin-bottom: 5px;
}
.reading-sub {
    font-family: var(--sans);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 6px;
}

.reading-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 6px;
    padding: 10px 0;
    border-top: 1px solid rgba(201,168,76,.3);
}
.meta-item { display: flex; flex-direction: column; gap: 5px; }
.meta-label {
    font-size: .6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
}
.meta-value {
    font-family: var(--sans);
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}
.meta-value a { color: var(--red); text-decoration: none; }
.meta-value a:hover { text-decoration: underline; }
.meta-sub { font-size: .82rem; color: var(--text-light); }

.reading-note {
    font-size: .88rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
}
.reading-note a { color: var(--red); text-decoration: none; }
.reading-note a:hover { text-decoration: underline; }

/* ── Autorin ── */
.author-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}
.author-photo-wrap { position: relative; }
.author-photo-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: 0;
}
.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #d4cfc6, #bcb4a8);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.author-name {
    font-family: var(--sans);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 4px;
}
.author-role {
    font-size: .72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}
.author-bio p {
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 18px;
    color: var(--text);
}

/* ── Buchdetails (Vorlage für spätere Erweiterung) ── */
.facts-wrap {
    background: var(--dark);
    padding: 90px var(--pad);
}
.facts-inner { max-width: var(--max-w); margin: 0 auto; }
.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 50px;
}
.fact-card {
    border-top: 2px solid rgba(201,168,76,.3);
    padding-top: 22px;
}
.fact-label {
    display: block;
    font-size: .6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 9px;
}
.fact-value {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--white);
    line-height: 1.45;
}
.fact-value a { color: var(--gold); text-decoration: none; }
.fact-value a:hover { text-decoration: underline; }
.facts-cta { text-align: center; margin-top: 55px; }

/* ── Footer ── */
footer {
    background: var(--gold);
    color: rgba(255,255,255,.55);
    padding: 40px var(--pad);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-brand-name {
    font-family: var(--sans);
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.footer-top p { font-size: .88rem; line-height: 1.7; color: var(--text); }
.footer-press {
    justify-self: end;
    text-align: right;
}
.footer-press p { font-size: .88rem; line-height: 1.7; color: var(--text); }
.footer-press a {
    color: var(--text);
    text-decoration: underline;
    word-break: break-word;
}
.footer-press a:hover { color: var(--dark); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.35);
    font-size: .78rem;
    color: var(--text);
}
.footer-bottom a { color: var(--text); text-decoration: underline; }
.footer-bottom a:hover { color: var(--dark); }

/* ── Cookie-Consent-Banner ── */
#cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: var(--dark);
    color: var(--white);
    z-index: 2000;
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
}
.cookie-banner-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 22px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner-inner p {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    max-width: 640px;
    margin: 0;
}
.cookie-banner-inner a { color: var(--gold); }
.cookie-banner-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner-btns .btn { padding: 10px 20px; font-size: .72rem; }

@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-banner-btns  { justify-content: flex-end; }
}

/* ── Einblend-Animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
}
.fade-in.visible  { opacity: 1; transform: translateY(0); }
.fade-in.delay-1  { transition-delay: .15s; }
.fade-in.delay-2  { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 880px) {
    :root { --pad: 24px; }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--dark);
        padding: 18px 24px;
        gap: 14px;
    }
    nav.open    { display: flex; }
    .hamburger  { display: flex; }

    .hero-inner         { flex-direction: column; text-align: center; gap: 44px; }
    .hero-btns          { justify-content: center; }
    .hero-desc          { margin-inline: auto; }
    .about-grid         { grid-template-columns: 1fr; gap: 28px; }
    .reading-meta       { grid-template-columns: 1fr 1fr; }
    .author-grid        { grid-template-columns: 1fr; }
    .author-photo-wrap  { max-width: 200px; }
    .facts-grid         { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-top         { grid-template-columns: 1fr; gap: 20px; }
    .footer-press       { justify-self: start; text-align: left; }
    .reading-body       { padding: 34px 28px; }
}

@media (max-width: 560px) {
    .book-3d-inner  { width: 190px; }
    .book-img       { width: 190px; }
    .reading-meta   { grid-template-columns: 1fr; gap: 20px; }
    .facts-grid     { grid-template-columns: 1fr 1fr; }
    .sec            { padding: 60px 0; }
    .reading-wrap   { margin: 50px auto; }
}
