/* ============================================================
   Tune Twist Records & Verlag – Basis-Stylesheet (Phase 0)
   Markenfarbe Orange wie bisher (#f97316). Selbst gehostet,
   keine externen Abhängigkeiten.
   ============================================================ */

:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --ink: #1a1a1a;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f8f8f7;
    --line: #e5e7eb;
    --maxw: 1100px;
    --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

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

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

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}
.logo img { height: 40px; width: auto; }

.nav {
    display: flex;
    align-items: center;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    font-weight: 500;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--orange);
    border-color: var(--orange);
}

/* ---------- Sprachumschalter (Flaggen) ---------- */
.lang-switcher { display: flex; align-items: center; gap: .35rem; margin-left: 1rem; }
.lang-flag {
    display: inline-flex; padding: .15rem; border-radius: 4px;
    opacity: .55; filter: grayscale(60%);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.lang-flag .fi { width: 1.4em; height: 1.05em; border-radius: 2px; display: block; }
.lang-flag:hover { opacity: 1; filter: grayscale(0); transform: scale(1.12); }
.lang-flag.active { opacity: 1; filter: grayscale(0); box-shadow: 0 0 0 2px var(--orange); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
    padding: clamp(4rem, 14vw, 9rem) 0;
}
.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin: 0 0 .5rem;
    letter-spacing: -1px;
}
.hero-sub {
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    font-weight: 500;
    max-width: 32ch;
    margin: 0;
}

/* ---------- Entry-Bereich (zwei Wegweiser) ---------- */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    margin: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}
.entry { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.entry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.entry-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.entry-card img { width: 100%; height: 240px; object-fit: contain; background: #fff; padding: 1.25rem; }
.entry-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.entry-eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: .03em;
    margin-bottom: .35rem;
}
.entry-card-body h3 { margin: 0 0 .5rem; font-size: 1.5rem; }
.entry-card-body p { color: var(--muted); margin: 0 0 1.25rem; }

/* ---------- Einfache Inhaltsseiten (Stubs) ---------- */
.page { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-top: 0; }
.page .lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

/* ---------- Records: Bänder, Promotion, FAQ, CTA ---------- */
.band { background: var(--orange); color: #fff; padding: clamp(2rem, 5vw, 3.25rem) 0; text-align: center; margin: clamp(2rem, 5vw, 3.5rem) 0; }
.band h2 { margin: 0 0 .75rem; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.band p { margin: 0 auto; max-width: 65ch; line-height: 1.6; }
.band .band-strong { margin-top: 1rem; font-weight: 700; font-size: 1.15rem; }
.band-dark { background: var(--ink); }
.band-dark .band-quote { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-style: italic; }

.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.promo-card img { height: 120px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.promo-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.promo-card p { color: var(--muted); margin: 0; }
.verlag-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 1rem; border-radius: 50%; background: var(--bg-soft); font-size: 2rem; line-height: 1; }

.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .75rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary { color: var(--orange); }
.faq details[open] summary::after { content: '\2013'; }
.faq .faq-a { padding: 0 1.1rem 1rem; }
.faq .faq-a p { margin: 0 0 .8rem; color: #333; }
.faq .faq-a p:last-child { margin-bottom: 0; }

.cta-section { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.cta-section h2 { margin: 0 0 .5rem; }
.cta-section p { color: var(--muted); margin: 0 0 1.5rem; }

@media (max-width: 720px) { .promo-grid { grid-template-columns: 1fr; } }
.badge-soon {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #111;
    color: #e5e7eb;
    margin-top: 2rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.footer-copy { margin: 0; font-size: .9rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-links a:hover { color: var(--orange); }

/* ---------- Rechtstexte / Prosa (.legal) ---------- */
.legal { max-width: 820px; }
.legal > p:first-of-type { color: var(--muted); margin-top: -0.5rem; }
.legal h2 {
    font-size: 1.35rem;
    margin: 2.2rem 0 .75rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: #333; }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--orange); text-decoration: underline; }
.legal a:hover { color: var(--orange-dark); }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); }
.legal blockquote {
    border-left: 3px solid var(--orange);
    background: var(--bg-soft);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* ---------- Formulare (Kontakt / Newsletter) ---------- */
.form { max-width: 620px; }
.form .field { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="password"],
.form textarea {
    width: 100%;
    padding: .75rem .85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form button { border: none; }

/* ---------- Login / Konto ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-wrap .form { max-width: 100%; }
.auth-wrap .btn { width: 100%; text-align: center; }
.auth-msg { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1.3rem; font-size: .95rem; }
.auth-msg.error { background: #fdecec; border: 1px solid #f5b5b5; color: #a12020; }
.auth-msg.success { background: #eafaf0; border: 1px solid #a9e3c1; color: #1d7a45; }
.auth-msg a { color: inherit; font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; font-size: .92rem; }
.auth-links a { color: var(--orange); }
.auth-links a:hover { color: var(--orange-dark); }
.auth-foot { text-align: center; margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }
.auth-foot a { color: var(--orange); font-weight: 600; }
.nav-account { display: inline-flex; align-items: center; gap: .4rem; }
.nav-greeting { color: var(--muted); font-size: .9rem; }

/* ---------- Dashboard / Mein Konto ---------- */
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 1.8rem; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.6rem 1.6rem 1.8rem;
    box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.dash-card h2 { margin: 0 0 1.1rem; font-size: 1.3rem; }
.dash-card .form { max-width: 100%; }
.dash-card .btn { width: 100%; text-align: center; }
.dash-subhead { margin: 1.6rem 0 .9rem; font-size: 1.02rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; }
.muted-note { color: var(--muted); font-size: .88rem; font-weight: 400; }
.dash-card input:disabled { background: #f3f3f2; color: var(--muted); cursor: not-allowed; }
.dash-soon { background: #faf9f7; }
.dash-soon h2 { color: var(--muted); }
.dash-badge {
    position: absolute; top: 1.1rem; right: 1.1rem;
    background: var(--orange); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em;
    padding: .25rem .6rem; border-radius: 999px; text-transform: uppercase;
}
.dash-photo {
    display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
    margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.dash-avatar {
    width: 104px; height: 104px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: #f0eeec; border: 2px solid var(--line);
    display: flex; align-items: center; justify-content: center;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-avatar-initials { font-size: 2.4rem; font-weight: 700; color: var(--orange); }
.dash-photo-form { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .5rem; }
.dash-photo-label { font-weight: 600; font-size: .95rem; }
.dash-photo-form input[type="file"] { font-size: .9rem; }
.dash-photo-form .btn-line { align-self: flex-start; }

/* ---------- Buch-Katalog ---------- */
.book-group-title { font-size: 1.4rem; margin: 2.2rem 0 1.2rem; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.book-card {
    display: flex; gap: 1.2rem;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 1.2rem; box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.book-cover { position: relative; flex-shrink: 0; width: 110px; }
.book-cover img { width: 110px; height: auto; border-radius: 8px; display: block; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.book-cover-empty {
    width: 110px; height: 160px; border-radius: 8px; background: #f0eeec;
    display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
}
.book-badge {
    position: absolute; top: -8px; left: -8px;
    background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700;
    padding: .2rem .55rem; border-radius: 999px; text-transform: uppercase;
}
.book-body { flex: 1; min-width: 0; }
.book-title { font-size: 1.15rem; margin: 0 0 .15rem; line-height: 1.25; }
.book-verlag { color: var(--muted); font-size: .85rem; margin: 0 0 .5rem; }
.book-rating { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin-bottom: .6rem; }
.stars-filled { color: #f5b301; letter-spacing: 1px; }
.stars-empty { color: #d8d4cf; letter-spacing: 1px; }
.book-rating-count { color: var(--muted); font-size: .82rem; }
.book-desc { font-size: .9rem; line-height: 1.55; color: #444; margin: 0 0 .7rem; }
.book-meta { list-style: none; padding: 0; margin: 0 0 .7rem; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.book-meta li span { font-weight: 600; color: #555; }
.book-langs { display: flex; align-items: center; gap: .35rem; margin-bottom: .8rem; font-size: .82rem; color: var(--muted); }
.book-langs .fi { width: 1.1rem; height: .8rem; border-radius: 2px; }
.book-buy { display: flex; flex-wrap: wrap; gap: .5rem; }
.book-buy-btn {
    display: inline-flex; flex-direction: column; align-items: flex-start;
    padding: .45rem .8rem; border-radius: 9px; text-decoration: none;
    font-size: .82rem; line-height: 1.2; font-weight: 600;
    border: 1px solid var(--orange); color: var(--orange); transition: all .15s;
}
.book-buy-btn:hover { background: var(--orange); color: #fff; }
.book-buy-btn.external { border-color: #c96a14; color: #c96a14; }
.book-buy-btn.external:hover { background: #c96a14; color: #fff; }
.book-buy-btn .bb-price { font-weight: 700; font-size: .9rem; }
.book-review { margin: 1rem 0 0; padding: .7rem .9rem; background: #faf9f7; border-radius: 9px; border: 1px solid var(--line); font-size: .85rem; }
.book-review-text { display: block; color: #444; font-style: italic; margin: .3rem 0; }
.book-review cite { color: var(--muted); font-size: .8rem; font-style: normal; }
@media (max-width: 480px) {
    .book-card { flex-direction: column; }
    .book-cover, .book-cover img { width: 130px; }
}

/* ---------- Programm: klickbare Buch-Kacheln ---------- */
.book-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2.2rem 0 1.2rem; }
.book-section-head .section-title { margin: 0; }
.book-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.6rem; }
.book-tile {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.04); transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.book-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: var(--orange); }
.book-tile-cover { position: relative; background: #f0eeec; text-align: center; padding: 1.2rem 1.2rem 0; }
.book-tile-cover img { max-width: 150px; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.book-tile-band { position: absolute; top: .7rem; left: .7rem; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.book-tile-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.book-tile-title { font-size: 1.08rem; margin: 0; line-height: 1.25; }
.book-tile-sub { color: var(--muted); font-size: .85rem; margin: 0; }
.book-tile-line { font-size: .88rem; color: #555; margin: .2rem 0; line-height: 1.5; }
.book-tile-age { align-self: flex-start; background: #f3f1ee; color: #555; font-size: .76rem; padding: .15rem .5rem; border-radius: 6px; }
.book-tile-more { color: var(--orange); font-weight: 600; font-size: .88rem; margin-top: .2rem; }
a.promo-card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.promo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

/* Sprach-Pillen (Katalog-Filter) */
.lang-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 1.2rem; }
.lang-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.05rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 600; color: #444; transition: background .15s, border-color .15s, color .15s; }
.lang-pill .fi { width: 1.3rem; height: .95rem; border-radius: 2px; }
.lang-pill:hover { border-color: var(--orange); }
.lang-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.book-lang-panel { display: none; }
.book-lang-panel.active { display: block; }

/* ---------- Buchdetailseite ---------- */
.book-back { color: var(--orange); text-decoration: none; font-weight: 600; }
.book-back:hover { color: var(--orange-dark); }
.buch-detail { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; margin-top: 1rem; align-items: start; }
@media (max-width: 720px) { .buch-detail { grid-template-columns: 1fr; } }
.buch-cover img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.buch-series { color: var(--orange); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.buch-title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: .3rem 0 .2rem; }
.buch-subtitle { color: var(--muted); font-size: 1.1rem; margin: 0 0 .8rem; }
.buch-author { font-size: .98rem; margin: 0 0 .8rem; color: #444; }
.buch-author a { color: var(--orange); font-weight: 600; text-decoration: none; }
.buch-author a:hover { color: var(--orange-dark); }
.buch-lead { font-size: 1.08rem; line-height: 1.6; color: #222; font-weight: 500; margin: 1rem 0 .5rem; }
.buch-blurb { font-size: 1rem; line-height: 1.7; color: #333; margin: .5rem 0 1rem; }
.buch-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .9rem; }
.buch-facts li span { color: var(--muted); font-weight: 600; margin-right: .3rem; }
.buch-themes { margin: .6rem 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.buch-themes-label { color: var(--muted); font-size: .85rem; }
.buch-theme-tag { background: #f3f1ee; color: #555; font-size: .8rem; padding: .15rem .6rem; border-radius: 999px; }
.buch-section { margin-top: 2.5rem; }
.buch-editions { display: flex; flex-direction: column; gap: .7rem; max-width: 720px; }
.buch-edition { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.buch-edition .fi { width: 1.3rem; height: .95rem; border-radius: 2px; }
.be-format { font-weight: 600; }
.be-isbn { color: var(--muted); font-size: .82rem; }
.be-price { font-weight: 700; color: var(--orange); }
.be-buy { display: flex; gap: .5rem; flex-wrap: wrap; margin-left: auto; }
.book-unavailable { color: var(--muted); font-size: .85rem; font-style: italic; margin-left: auto; }
.buch-edition .book-buy-btn { flex-direction: row; }

/* ---------- Inhaltshinweis / Hilfetelefone ---------- */
.content-warning { background: #fff7ed; border: 1px solid #f4c98a; border-left: 4px solid var(--orange); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; max-width: 720px; }
.content-warning h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: #9a5b12; }
.content-warning p { margin: 0 0 .6rem; line-height: 1.6; }
.cw-hotlines { font-size: .95rem; color: #333; }

/* ---------- Autoren ---------- */
.author-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }
.author-card { text-decoration: none; color: inherit; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1rem; transition: transform .15s, box-shadow .15s, border-color .15s; }
.author-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: var(--orange); }
.author-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto .8rem; background: #f0eeec; display: flex; align-items: center; justify-content: center; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-initials { font-size: 2.6rem; font-weight: 700; color: var(--orange); }
.author-initials.big { font-size: 4rem; }
.author-name { margin: 0; font-size: 1.1rem; }
.author-real { color: var(--muted); font-size: .85rem; margin: .2rem 0 0; }
.author-profile { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; margin-top: 1rem; }
@media (max-width: 640px) { .author-profile { grid-template-columns: 1fr; } }
.author-profile-photo { width: 200px; height: 200px; border-radius: 16px; overflow: hidden; background: #f0eeec; display: flex; align-items: center; justify-content: center; }
.author-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-vita { line-height: 1.7; color: #333; }
.author-links { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.verlag-links { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.nav-admin { color: var(--orange) !important; font-weight: 700; }

/* ---------- Admin-Bereich ---------- */
.admin-body { background: #f4f3f1; }
.admin-bar { background: #1c2230; }
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; flex-wrap: wrap; gap: .6rem; }
.admin-logo { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.admin-logo span { color: var(--orange); }
.admin-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.admin-nav a { color: #cfd4dd; text-decoration: none; font-size: .95rem; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; }
.admin-nav a.admin-exit { color: #8b93a3; }
.admin-main { padding: 2rem 0 4rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.admin-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.admin-card h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.admin-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 860px) { .admin-split { grid-template-columns: 1fr; } }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.admin-panel h2 { margin-top: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-row-actions { display: flex; gap: .8rem; align-items: center; white-space: nowrap; }
.admin-row-actions a { color: var(--orange); text-decoration: none; }
.admin-del { background: none; border: none; color: #b3261e; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.admin-extra-row { max-width: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.admin-extra-row h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.role-form { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.role-check { display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; }
.author-checks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: .4rem; }
.admin-extra-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; }
@media (max-width: 760px) { .admin-extra-grid { grid-template-columns: 1fr; } }

/* ---------- Klick-zum-Anzeigen (Bot-Schutz für E-Mail/Telefon) ---------- */
.reveal { color: var(--orange); text-decoration: underline; cursor: pointer; }
.reveal:hover { color: var(--orange-dark); }

/* Kontaktdaten als Bild (Impressum: sofort lesbar, aber nicht als Text auslesbar) */
.contact-img { height: 22px; width: auto; vertical-align: middle; }

/* ---------- Honeypot (unsichtbar für Menschen, fängt Bots) ---------- */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Zwei-Spalten-Layout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; margin-top: 2rem; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -10px 40px rgba(0,0,0,.12);
    transform: translateY(110%); transition: transform .35s ease;
}
.cookie-banner.open { transform: translateY(0); }
.cookie-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 1.25rem;
    display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
}
.cookie-text h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.cookie-text p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie-cats { display: flex; gap: 1.25rem; margin: .7rem 0 0; flex-wrap: wrap; font-size: .85rem; }
.cookie-cats label { display: flex; align-items: center; gap: .4rem; color: #444; }
.cookie-actions { display: flex; flex-direction: column; gap: .5rem; min-width: 200px; }
.cookie-actions .btn, .cookie-actions .btn-line, .cookie-actions .btn-ghost { text-align: center; }
.btn-ghost {
    display: inline-block; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600;
    border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-line {
    display: inline-block; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600;
    border: 1px solid var(--orange); background: #fff; color: var(--orange); cursor: pointer; font: inherit;
}
.btn-line:hover { background: var(--orange); color: #fff; }
.cookie-reopen {
    position: fixed; bottom: 16px; left: 16px; z-index: 990;
    width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff;
    border: none; font-size: 1.2rem; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.2); display: none;
}
.cookie-reopen.show { display: block; }
@media (max-width: 720px) { .cookie-inner { grid-template-columns: 1fr; } }

/* ---------- Responsiv ---------- */
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav {
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav.open { max-height: 460px; }
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: .5rem 1.25rem 1rem;
    }
    .nav-menu a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
    .lang-switcher { justify-content: center; margin: .25rem 0 0; padding: .85rem 1.25rem; }
    .entry-grid { grid-template-columns: 1fr; }
}
