/* literasiv.de – Romane von Siv Loibl-Dragun */

@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0d1210;
  --bg-2: #141b17;
  --bg-3: #1b241f;
  --text: #f1ece1;
  --muted: #b9b2a3;
  --line: rgba(241, 236, 225, .14);
  --accent: #d6ad3e;        /* reifes Bananengelb */
  --accent-dark: #b88f24;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.1rem 2.2rem; background: linear-gradient(to bottom, rgba(5,8,6,.85), rgba(5,8,6,0)); transition: background .3s, padding .3s; }
.site-header.scrolled { background: rgba(8, 11, 9, .96); padding-block: .7rem; box-shadow: 0 1px 0 var(--line); }
.header-tag { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.logo { text-decoration: none; text-align: center; line-height: 1; }
.logo-word { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 2rem; letter-spacing: .01em; }
.logo-word span { color: var(--accent); }
.logo-sub { display: block; margin-top: .3rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.menu-toggle { justify-self: end; display: flex; align-items: center; gap: .7rem; background: none; border: 0; color: var(--text); font: inherit; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; padding: .4rem 0; }
.menu-toggle .bars { width: 26px; display: grid; gap: 5px; }
.menu-toggle .bars i { display: block; height: 1.5px; background: currentColor; }
.menu-toggle .bars i:nth-child(2) { width: 70%; justify-self: end; }

/* ---------- Menü-Overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: rgba(8, 11, 9, .97); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu.open { opacity: 1; visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { margin: .4rem 0; }
.menu a { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); text-decoration: none; transition: color .2s; }
.menu a:hover, .menu a:focus-visible { color: var(--accent); }
.menu-close { position: absolute; top: 1.4rem; right: 2.2rem; background: none; border: 0; color: var(--text); font: inherit; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }

/* ---------- Hero mit Video ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8,11,9,.35) 0%, rgba(8,11,9,.72) 70%), linear-gradient(to bottom, rgba(8,11,9,.2) 60%, var(--bg) 100%); }
.hero-inner { padding: 8rem 1.5rem 6rem; max-width: 900px; }
.kicker { font-size: .95rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 1.2rem; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(3rem, 9vw, 6.4rem); line-height: 1.02; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero .claim { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); margin: .8rem 0 1.4rem; color: var(--text); }
.hero .lead { max-width: 620px; margin: 0 auto 2.2rem; color: #e4dfd3; }
.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--accent); color: #17120a; font-weight: 700; letter-spacing: .02em; text-decoration: none; padding: .95rem 1.9rem; border-radius: 2px; transition: background .2s, transform .2s; }
.btn:hover, .btn:focus-visible { background: #e6be52; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.hero .note { margin-top: 1.1rem; font-size: .92rem; color: var(--muted); }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: grid; justify-items: center; gap: .4rem; }
.scroll-hint svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Abschnitte ---------- */
section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-label { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8rem; }
h2 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 1.4rem; }
h3 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.7rem; margin: 0 0 .4rem; }
.alt { background: var(--bg-2); }

/* Buch */
.book { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.book-cover { box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04); transform: rotate(-1.2deg); }
.book-text p { color: #ddd7ca; }
.book-text .question { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--text); margin-top: 1.6rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.8rem 0 2rem; padding: 1rem 0; border-block: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.facts strong { color: var(--text); font-weight: 500; }
.buy { display: flex; flex-wrap: wrap; gap: .8rem; }
.buy-hint { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* Drei Frauen */
.women-intro { max-width: 700px; margin-bottom: 3rem; color: #ddd7ca; }
.women { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.woman { background: var(--bg-3); overflow: hidden; }
.woman img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; transition: transform .6s; }
.woman:hover img { transform: scale(1.04); }
.woman-body { padding: 1.4rem 1.5rem 1.7rem; }
.woman .era { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.woman p { margin: .5rem 0 0; color: #d6d0c3; font-size: 1.02rem; }

/* Leseprobe */
.sample { max-width: 720px; margin-inline: auto; }
.sample .place { font-family: var(--serif); font-style: italic; color: var(--muted); margin: -.6rem 0 2rem; }
.sample p { font-size: 1.18rem; line-height: 1.75; color: #e6e0d4; }
.sample p + p { text-indent: 1.4em; margin-top: -.6em; }
.fade-out { position: relative; }
.fade-out::after { content: ""; position: absolute; inset: auto 0 0 0; height: 7rem; background: linear-gradient(to bottom, rgba(13,18,16,0), var(--bg)); }

/* Karte */
.map { display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.map img { background: #efe7d6; padding: .8rem; }
.map ul { padding-left: 1.1rem; color: #ddd7ca; }
.map li { margin: .35rem 0; }

/* Autorin */
.author { max-width: 760px; }
.author p { color: #ddd7ca; }

/* Shirts */
.shirts { text-align: center; }
.shirts p { max-width: 620px; margin: 0 auto 2rem; color: #ddd7ca; }
.soon { display: inline-block; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: .7rem 1.4rem; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; font-size: .95rem; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.site-footer nav a { margin-left: 1.6rem; text-decoration: none; }
.site-footer nav a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--accent); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding-top: 9rem; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.legal p, .legal li { color: #ddd7ca; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; padding: 1rem 1.2rem; }
  .header-tag { display: none; }
  .logo { text-align: left; }
  .logo-word { font-size: 1.6rem; }
  .menu-toggle .label { display: none; }
  .book, .map { grid-template-columns: 1fr; }
  .book-cover { max-width: 300px; margin-inline: auto; }
  .women { grid-template-columns: 1fr; }
  .woman img { aspect-ratio: 4 / 3; }
  .site-footer nav a { margin: 0 1.2rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
}
