/*
Theme Name: Giulianna G. Bailie
Theme URI: https://giulianna-g-bailie.com
Author: fz-communication
Description: Historische Saga - Giulianna G. Bailie WordPress Theme
Version: 1.0.5
License: GNU General Public License v2 or later
Text Domain: giulianna-g-bailie
*/

/* ── LOCAL FONTS ─────────────────────────────────────────────── */
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; src: url('fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; src: url('fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; src: url('fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; src: url('fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'EB Garamond'; font-style: normal; font-weight: 400; src: url('fonts/eb-garamond-v32-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'EB Garamond'; font-style: italic; font-weight: 400; src: url('fonts/eb-garamond-v32-latin-italic.woff2') format('woff2'); }



*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #1a1612; --parchment: #f0e8d6; --parchment-dark: #e0d0b0;
  --gold: #9a7c3a; --gold-light: #c4a45a; --forest: #1e3528;
  --forest-mid: #2d4f3a; --ash: #3a3530; --muted: #7a6e60; --wine: #5c1e2a;
}
html { scroll-behavior: smooth; }
body { font-family: 'EB Garamond', Georgia, serif; background: var(--ink); color: var(--parchment); overflow-x: hidden; margin: 0; }
a { color: var(--parchment-dark); text-decoration: none; opacity: 0.7; transition: opacity 0.3s, color 0.3s; }
a:hover { opacity: 1; color: var(--gold-light); }
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(26, 22, 18, 0.96);
  border-bottom: 1px solid rgba(154, 124, 58, 0.2);
}
.nav-name { cursor: pointer; border: none; background: none; padding: 0; display: flex; align-items: center; }
.nav-logo { height: 61px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--parchment-dark); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s, color 0.3s; cursor: pointer; }
.nav-links a:hover, .nav-links a.current { opacity: 1; color: var(--gold-light); }

/* GEMEINSAM */
.section-label { font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 300; color: var(--parchment); margin-bottom: 2rem; line-height: 1.2; }
.btn-primary { padding: 0.9rem 2.2rem; background: var(--gold); color: var(--ink); border: none; font-family: 'EB Garamond', serif; font-size: 0.95rem; letter-spacing: 0.1em; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.3s; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { padding: 0.9rem 2.2rem; background: transparent; color: var(--parchment-dark); border: 1px solid rgba(154, 124, 58, 0.4); font-family: 'EB Garamond', serif; font-size: 0.95rem; letter-spacing: 0.1em; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.3s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); opacity: 0.6; cursor: pointer; margin-bottom: 3rem; transition: opacity 0.3s, color 0.3s; background: none; border: none; text-decoration: none; }
.back-link:hover { opacity: 1; color: var(--gold); }

/* FOOTER */
footer.site-footer { padding: 2.5rem 4rem; border-top: 1px solid rgba(154, 124, 58, 0.15); display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0a0806; gap: 0.5rem; }
.footer-name { cursor: pointer; background: none; border: none; display: block; margin: 0 auto; text-decoration: none; }
.footer-logo { height: 50px; width: auto; display: block; margin: 0 auto; }
.footer-copy { font-size: 0.78rem; color: var(--muted); opacity: 0.5; letter-spacing: 0.1em; }

/* ===== STARTSEITE ===== */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 4rem 6rem; position: relative; overflow: hidden; background: linear-gradient(160deg, #0e1a12 0%, #1a1612 40%, #1e1008 100%); }
.hero-ornament { font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 2rem; }
.hero-year { font-family: 'Cormorant Garamond', serif; font-size: 10rem; font-weight: 300; line-height: 0.85; color: var(--forest-mid); opacity: 0.2; position: absolute; right: 3rem; bottom: 2rem; pointer-events: none; user-select: none; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1.2; color: var(--parchment); max-width: 700px; margin-bottom: 0.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-divider { width: 60px; height: 1px; background: var(--gold); opacity: 0.5; margin: 1.8rem 0; }
.hero-sub { font-size: 1.1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.75; max-width: 520px; font-style: italic; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.roman-section { background: var(--forest); border-top: 1px solid rgba(154, 124, 58, 0.15); border-bottom: 1px solid rgba(154, 124, 58, 0.15); padding: 6rem 4rem; }
.roman-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.roman-book-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; line-height: 1; color: var(--parchment); margin-bottom: 0.5rem; }
.roman-book-subtitle { font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); opacity: 0.8; margin-bottom: 1.5rem; }
.roman-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.35rem 0.8rem; border: 1px solid rgba(154, 124, 58, 0.35); color: var(--gold); opacity: 0.8; }
.roman-quote { border-left: 2px solid var(--gold); padding: 1.5rem 1.5rem 1.5rem 2rem; margin: 2rem 0; font-style: italic; font-size: 1.15rem; color: var(--parchment); line-height: 1.7; background: rgba(0,0,0,0.15); }
.roman-text { font-size: 1.1rem; line-height: 1.9; color: var(--parchment-dark); opacity: 0.85; }

/* Figuren-Teaser */
.figuren-teaser-section { background: #110e0b; padding: 6rem 4rem; }
.figuren-teaser-inner { max-width: 1100px; margin: 0 auto; }
.figuren-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.figur-card { padding: 3rem; border: 1px solid rgba(154, 124, 58, 0.2); position: relative; overflow: hidden; }
.figur-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, transparent 100%); }
.figur-name { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--parchment); margin-bottom: 0.3rem; }
.figur-role-label { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 1.5rem; }
.figur-desc { font-size: 1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.75; font-style: italic; }
.figur-traits { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.figur-trait { font-size: 0.78rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; padding-left: 1rem; border-left: 1px solid rgba(154, 124, 58, 0.3); }
.section-more { margin-top: 3rem; text-align: center; border-top: 1px solid rgba(154, 124, 58, 0.15); padding-top: 3rem; }
.section-more-text { font-size: 1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.65; font-style: italic; margin-bottom: 1.5rem; }

/* Welt-Teaser */
.welt-teaser-section { background: var(--ash); border-top: 1px solid rgba(154, 124, 58, 0.1); padding: 6rem 4rem; }
.welt-teaser-inner { max-width: 1100px; margin: 0 auto; }
.welt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.welt-card { padding: 2rem 2.5rem; background: rgba(0,0,0,0.25); border-bottom: 1px solid rgba(154, 124, 58, 0.25); }
.welt-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: var(--gold-light); margin-bottom: 0.8rem; }
.welt-card-text { font-size: 0.95rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.7; font-style: italic; }

/* Leseprobe */
.leseprobe-section { background: var(--forest); padding: 6rem 4rem; }
.leseprobe-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.leseprobe-quote { font-size: 1.25rem; line-height: 1.9; color: var(--parchment); font-style: italic; margin: 2rem 0 3rem; opacity: 0.85; }

/* Newsletter */
.newsletter-section { background: #0c0a08; padding: 6rem 4rem; }
.newsletter-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.newsletter-sub { font-size: 1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.65; margin-bottom: 2rem; font-style: italic; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.9rem 1.2rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(154, 124, 58, 0.3); border-right: none; color: var(--parchment); font-family: 'EB Garamond', serif; font-size: 1rem; outline: none; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button { padding: 0.9rem 1.8rem; background: var(--gold); color: var(--ink); border: none; font-family: 'EB Garamond', serif; font-size: 0.95rem; cursor: pointer; }

/* Autorin */
.autorin-section { background: #1a1612; padding: 6rem 4rem; }
.autorin-inner { max-width: 1100px; margin: 0 auto; }
.autorin-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; margin-top: 2rem; }
.autorin-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--parchment); line-height: 1.2; }
.autorin-role { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-top: 0.5rem; }
.autorin-divider { width: 40px; height: 1px; background: var(--gold); opacity: 0.4; margin: 1.5rem 0; }
.autorin-text { font-size: 1.05rem; line-height: 1.9; color: var(--parchment-dark); opacity: 0.8; }
.autorin-text p { margin-bottom: 1.2rem; }

/* ===== UNTERSEITE HERO ===== */
.page-hero { min-height: 65vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 4rem 5rem; position: relative; overflow: hidden; background: linear-gradient(170deg, #0a1208 0%, #1a1612 50%, #110e0b 100%); }
.page-hero-deco { display: none; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1; color: var(--parchment); margin-bottom: 1rem; }
.page-hero-sub { font-size: 1.15rem; line-height: 1.85; color: var(--parchment-dark); opacity: 0.72; max-width: 650px; font-style: italic; }

/* ===== FIGUREN-SEITE ===== */
.figuren-intro-section { background: #110e0b; padding: 6rem 4rem 3rem; }
.figuren-intro-inner { max-width: 1100px; margin: 0 auto; }
.figuren-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.figuren-intro-text { font-size: 1.1rem; line-height: 1.9; color: var(--parchment-dark); opacity: 0.8; font-style: italic; }
.figuren-intro-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; }
.figuren-sub { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--parchment); text-align: right; line-height: 1.3; }

.figuren-karten-section { background: #110e0b; padding: 3rem 4rem 7rem; }
.figuren-karten-inner { max-width: 1100px; margin: 0 auto; }
.hauptfiguren-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.figur-haupt { padding: 3.5rem; background: rgba(30,53,40,0.25); border: 1px solid rgba(154,124,58,0.18); position: relative; transition: background 0.3s; cursor: pointer; }
.figur-haupt:hover { background: rgba(30,53,40,0.4); }
.figur-haupt::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold) 0%, transparent 80%); }
.figur-nummer { font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 300; line-height: 1; color: var(--forest-mid); opacity: 0.2; position: absolute; right: 2rem; bottom: 1rem; pointer-events: none; }
.figur-neben .figur-nummer { display: none; }
.nebenfiguren-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; align-items: stretch; }
.nebenfiguren-grid .figur-neben { height: 100%; box-sizing: border-box; }

/* Nebenfiguren Flip */


.figur-neben { padding: 2.5rem 2rem; background: rgba(58,53,48,0.3); border: 1px solid rgba(154,124,58,0.12); position: relative; transition: background 0.3s; display: flex; flex-direction: column; }
.figur-neben:hover { background: rgba(58,53,48,0.5); }
.figur-neben::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--gold) 0%, transparent 100%); }
.figur-header { display: flex; flex-direction: column; }
.figur-name-large { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--parchment); margin-bottom: 0.2rem; line-height: 1.1; }
.figur-neben .figur-name-large { font-size: 1.1rem; min-height: 2rem; }
.figur-role { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); opacity: 0.6; margin-bottom: 1.2rem; min-height: 2.5rem; }
.figur-desc-text { font-size: 1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.72; font-style: italic; }
.figur-neben .figur-desc-text { font-size: 0.9rem; }
.figur-traits-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.figur-trait-item { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; padding-left: 1rem; border-left: 1px solid rgba(154,124,58,0.3); }

/* ===== WELT-SEITE ===== */
.welt-hero { min-height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 4rem 6rem; position: relative; overflow: hidden; background: linear-gradient(170deg, #0a1208 0%, #1a1612 50%, #1e1008 100%); }
.welt-hero-deco { font-family: 'Cormorant Garamond', serif; font-size: 18rem; font-weight: 300; line-height: 0.8; color: var(--forest-mid); opacity: 0.08; position: absolute; right: 2rem; top: 5rem; pointer-events: none; user-select: none; letter-spacing: -0.05em; }
.welt-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; line-height: 1.05; color: var(--parchment); max-width: 750px; margin-bottom: 2rem; }
.welt-hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 1.5rem; }
.welt-hero-intro { font-size: 1.15rem; line-height: 1.85; color: var(--parchment-dark); opacity: 0.8; max-width: 680px; font-style: italic; }

.hinweis-section { background: rgba(92,30,42,0.12); border-top: 1px solid rgba(92,30,42,0.3); border-bottom: 1px solid rgba(92,30,42,0.3); padding: 2.5rem 4rem; }
.hinweis-inner { max-width: 900px; margin: 0 auto; display: flex; gap: 2rem; align-items: flex-start; }
.hinweis-icon { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); opacity: 0.6; flex-shrink: 0; line-height: 1; }
.hinweis-text { font-size: 0.95rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.7; font-style: italic; }
.hinweis-text strong { color: var(--gold-light); font-style: normal; font-weight: 400; }

.einleitung-section { padding: 7rem 4rem; background: var(--forest); border-bottom: 1px solid rgba(154,124,58,0.15); }
.einleitung-inner { max-width: 900px; margin: 0 auto; }
.einleitung-text { font-size: 1.2rem; line-height: 1.95; color: var(--parchment-dark); opacity: 0.85; columns: 2; column-gap: 4rem; }

.weltkarten-section { background: var(--ash); padding: 6rem 4rem; }
.weltkarten-inner { max-width: 1100px; margin: 0 auto; }
.welt-karten-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.welt-karte { padding: 2rem 2.5rem; background: rgba(0,0,0,0.25); border-bottom: 1px solid rgba(154,124,58,0.25); }
.welt-karte-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: var(--gold-light); margin-bottom: 0.8rem; }
.welt-karte-text { font-size: 0.95rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.7; font-style: italic; }

.abschluss-section { padding: 7rem 4rem; background: var(--ash); border-top: 1px solid rgba(154,124,58,0.12); }
.abschluss-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.abschluss-ornament { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold); opacity: 0.3; margin-bottom: 2rem; letter-spacing: 0.3em; }
.abschluss-text { font-size: 1.2rem; line-height: 1.95; color: var(--parchment-dark); opacity: 0.8; font-style: italic; margin-bottom: 3rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.72rem; }
  .hero, .page-hero, .welt-hero { padding: 7rem 1.5rem 4rem; }
  .roman-section, .figuren-teaser-section, .leseprobe-section, .newsletter-section, .autorin-section, .welt-teaser-section, .figuren-intro-section, .figuren-karten-section, .einleitung-section, .weltkarten-section, .abschluss-section, .hinweis-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .roman-inner, .figuren-teaser-grid, .autorin-grid, .figuren-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .welt-grid, .welt-karten-grid { grid-template-columns: 1fr; }
  .hauptfiguren-grid { grid-template-columns: 1fr; }
  .nebenfiguren-grid { grid-template-columns: 1fr 1fr; }
  .einleitung-text { columns: 1; }
  .figuren-intro-right { align-items: flex-start; }
  .figuren-sub { text-align: left; }
  footer.site-footer { flex-direction: column; text-align: center; padding: 1.5rem; }
}

/* ── LESEPROBE MODAL ─────────────────────────────────────────── */
.lp-modal { display: none; position: fixed; inset: 0; z-index: 9000; align-items: center; justify-content: center; padding: 1.5rem; }
.lp-modal.is-open { display: flex; }
.lp-modal-backdrop { position: absolute; inset: 0; background: rgba(10,9,8,0.88); backdrop-filter: blur(4px); cursor: pointer; }
.lp-modal-box { position: relative; z-index: 1; background: #1a1712; border: 1px solid rgba(154,124,58,0.25); max-width: 720px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0,0,0,0.7); animation: lpFadeIn 0.35s ease; }
@keyframes lpFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.lp-modal-close { position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: none; color: var(--gold); opacity: 0.5; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0; transition: opacity 0.2s; }
.lp-modal-close:hover { opacity: 1; }
.lp-modal-header { padding: 2.5rem 2.5rem 0; flex-shrink: 0; }
.lp-modal-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; color: var(--parchment); margin: 0.3rem 0 0; line-height: 1.2; }
.lp-modal-divider { width: 48px; height: 1px; background: var(--gold); opacity: 0.4; margin: 1.2rem 0 0; }
.lp-modal-content { padding: 1.8rem 2.5rem; overflow-y: auto; flex: 1; }
.lp-modal-text { font-family: 'EB Garamond', serif; font-size: 1.05rem; line-height: 1.9; color: var(--parchment-dark); opacity: 0.85; }
.lp-modal-text p { margin-bottom: 1.4em; }
.lp-modal-text p:last-child { margin-bottom: 0; }
.lp-placeholder { opacity: 0.4; font-style: italic; }
.lp-modal-footer { padding: 1.5rem 2.5rem 2rem; flex-shrink: 0; border-top: 1px solid rgba(154,124,58,0.12); }
@media (max-width: 600px) {
  .lp-modal-box { max-height: 95vh; }
  .lp-modal-header, .lp-modal-content, .lp-modal-footer { padding-left: 1.4rem; padding-right: 1.4rem; }
}

/* ── LEGAL PAGES ─────────────────────────────────────────────── */
.legal-page { min-height: 80vh; padding: 6rem 2rem 5rem; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-header { margin-bottom: 3rem; }
.legal-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--parchment); margin: 0.3rem 0 0; line-height: 1.2; }
.legal-divider { width: 48px; height: 1px; background: var(--gold); opacity: 0.4; margin: 1.2rem 0 0; }
.legal-content { color: var(--parchment-dark); opacity: 0.85; line-height: 1.8; }
.legal-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--gold); letter-spacing: 0.05em; margin: 2.5rem 0 0.8rem; }
.legal-content p { margin-bottom: 1.2em; }
.legal-content ul { margin: 0.5rem 0 1.2rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.4em; }
.legal-content a { color: var(--gold-light); opacity: 0.8; border-bottom: 1px solid rgba(154,124,58,0.3); }
.legal-content a:hover { opacity: 1; }
.legal-date { margin-top: 3rem; font-size: 0.85rem; opacity: 0.5; font-style: italic; }

/* ── FOOTER LEGAL LINKS ───────────────────────────────────────── */
footer.site-footer .footer-legal { margin-top: 0.8rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
footer.site-footer .footer-legal a { color: var(--parchment-dark) !important; opacity: 0.5; text-decoration: none !important; transition: opacity 0.3s, color 0.3s; }
footer.site-footer .footer-legal a:hover { opacity: 1; color: var(--gold-light) !important; }
footer.site-footer .footer-legal span { margin: 0 0.5rem; opacity: 0.3; }
.legal-content a { color: var(--parchment-dark); opacity: 0.7; text-decoration: none; letter-spacing: 0.05em; border-bottom: 1px solid rgba(154,124,58,0.25); transition: opacity 0.3s, color 0.3s; }
.legal-content a:hover { opacity: 1; color: var(--gold-light); }

/* ── MEDIEN PAGE ─────────────────────────────────────────────── */
.medien-page { min-height: 100vh; }
.medien-hero { padding: 6rem 2rem 3rem; text-align: center; }
.medien-hero-inner { max-width: 700px; margin: 0 auto; }
.medien-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; color: var(--parchment); margin: 0.3rem 0 0; line-height: 1.1; }
.medien-sub { color: var(--parchment-dark); opacity: 0.6; margin-top: 1rem; font-style: italic; }
.medien-divider { width: 48px; height: 1px; background: var(--gold); opacity: 0.4; margin: 1.5rem auto 0; }

/* Tabs Nav */
.medien-tabs-section { padding: 0 2rem 6rem; }
.medien-tabs-inner { max-width: 900px; margin: 0 auto; }
.medien-tab-nav { display: flex; gap: 0; border-bottom: 1px solid rgba(154,124,58,0.2); margin-bottom: 3rem; }
.medien-tab-btn { background: none; border: none; color: var(--parchment-dark); opacity: 0.5; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.8rem 2rem; cursor: pointer; transition: opacity 0.3s, color 0.3s; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.medien-tab-btn:hover { opacity: 0.8; }
.medien-tab-btn.active { opacity: 1; color: var(--gold); border-bottom-color: var(--gold); }
.tab-icon { margin-right: 0.5rem; }
.medien-tab-content { display: none; }
.medien-tab-content.active { display: block; }
.medien-empty { color: var(--parchment-dark); opacity: 0.4; font-style: italic; padding: 2rem 0; }

/* Audio List */
.medien-audio-list { display: flex; flex-direction: column; gap: 0; }
.audio-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(154,124,58,0.1); transition: background 0.2s; cursor: pointer; }
.audio-item:hover, .audio-item.playing { background: rgba(154,124,58,0.06); }
.audio-item.playing .audio-item-title { color: var(--gold); }
.audio-item-info { flex: 1; min-width: 0; }
.audio-item-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--parchment); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-item-sub { font-size: 0.78rem; color: var(--gold); opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.2rem; }
.audio-item-dauer { font-size: 0.8rem; color: var(--parchment-dark); opacity: 0.4; white-space: nowrap; }
.audio-play-btn { background: none; border: 1px solid rgba(154,124,58,0.3); color: var(--gold); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; font-size: 0.7rem; }
.audio-play-btn:hover { background: rgba(154,124,58,0.1); border-color: var(--gold); }
.audio-play-btn .pause-icon { display: none; font-size: 0.6rem; }
.audio-item.playing .audio-play-btn .play-icon { display: none; }
.audio-item.playing .audio-play-btn .pause-icon { display: inline; }

/* Audio Player Bar */
.audio-player-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,9,8,0.97); border-top: 1px solid rgba(154,124,58,0.2); padding: 0.8rem 2rem; display: none; align-items: center; gap: 2rem; z-index: 8000; backdrop-filter: blur(10px); }
.audio-player-bar.visible { display: flex; }
.audio-player-info { min-width: 0; flex: 1; }
.audio-player-title { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--parchment); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-player-sub { font-size: 0.72rem; color: var(--gold); opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; }
.audio-player-controls { display: flex; align-items: center; gap: 1rem; }
.player-btn { background: none; border: none; color: var(--parchment-dark); opacity: 0.6; cursor: pointer; font-size: 0.8rem; transition: opacity 0.2s, color 0.2s; padding: 0.3rem; }
.player-btn:hover { opacity: 1; color: var(--gold); }
.player-play { border: 1px solid rgba(154,124,58,0.4); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); opacity: 1; font-size: 0.9rem; }
.player-play:hover { background: rgba(154,124,58,0.1); }
.audio-player-progress { display: flex; align-items: center; gap: 0.8rem; flex: 2; min-width: 0; }
#player-time, #player-duration { font-size: 0.75rem; color: var(--parchment-dark); opacity: 0.5; white-space: nowrap; }
.progress-bar { flex: 1; height: 3px; background: rgba(154,124,58,0.15); border-radius: 2px; cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; width: 0%; transition: width 0.1s linear; }

/* Video Grid */
.medien-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 2rem; }
.video-item { background: rgba(58,53,48,0.3); border: 1px solid rgba(154,124,58,0.12); }
.video-wrapper { position: relative; aspect-ratio: 16/9; background: #000; }
.video-wrapper video, .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; display: block; }
.video-item-info { padding: 1rem 1.2rem 1.2rem; }
.video-item-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--parchment); }
.video-item-sub { font-size: 0.78rem; color: var(--gold); opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }

@media (max-width: 600px) {
  .audio-player-bar { flex-wrap: wrap; gap: 0.8rem; padding: 0.8rem 1rem; }
  .audio-player-progress { order: 3; width: 100%; flex: none; }
  .medien-video-grid { grid-template-columns: 1fr; }
  .medien-tab-btn { padding: 0.8rem 1.2rem; font-size: 0.72rem; }
}



/* Nebenfiguren Portrait Rückseite */
.figur-portrait-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.75)); }
.figur-portrait-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300; color: var(--parchment); }

/* ── FIGUREN FLIP (JS-basiert, kein CSS 3D) ─────────────────── */
.figur-neben-flip { cursor: pointer; position: relative; }
.figur-neben-flip .card-front { display: flex; flex-direction: column; }
.figur-neben-flip .card-back { display: none !important; position: absolute; inset: 0; }
.figur-neben-flip .card-back img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
/* Desktop: Hover */
@media (hover: hover) {
  .figur-neben-flip:hover .card-front { visibility: hidden; }
  .figur-neben-flip:hover .card-back { display: block !important; animation: flipIn 0.4s ease; }
}
/* Mobile: Click (.flipped Klasse) */
@media (hover: none) {
  .figur-neben-flip.flipped .card-front { visibility: hidden; }
  .figur-neben-flip.flipped .card-back { display: block !important; animation: flipIn 0.4s ease; }
}
@keyframes flipIn { from { opacity: 0; transform: scaleX(0.8); } to { opacity: 1; transform: scaleX(1); } }

/* ── BURGER MENU ─────────────────────────────────────────────── */
.burger-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.4rem; z-index: 301; }
.burger-btn span { display: block; width: 24px; height: 1.5px; background: var(--parchment-dark); transition: transform 0.3s, opacity 0.3s; }
.burger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10,9,8,0.98); backdrop-filter: blur(8px); flex-direction: column; align-items: center; justify-content: center; }
.mobile-menu.open { display: flex; animation: menuFadeIn 0.3s ease; }
@keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; }
.mobile-nav-links { list-style: none; text-align: center; width: 100%; }
.mobile-nav-links li { border-bottom: 1px solid rgba(154,124,58,0.1); }
.mobile-nav-links a { display: block; padding: 1.2rem 2rem; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--parchment); text-decoration: none; letter-spacing: 0.05em; opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.mobile-nav-links a:hover { color: var(--gold-light); opacity: 1; }
.mobile-menu-footer { margin-top: 3rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger-btn { display: flex; }
}
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--parchment-dark); font-size: 2rem; line-height: 1; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; padding: 0.3rem; }
.mobile-menu-close:hover { opacity: 1; color: var(--gold); }

/* ── LESEPROBE SIGNUP FORM ───────────────────────────────────── */
.lp-signup-box { border: 1px solid rgba(154,124,58,0.2); padding: 1.5rem; margin-bottom: 1.8rem; background: rgba(0,0,0,0.2); }
.lp-signup-intro { font-size: 0.95rem; color: var(--parchment-dark); opacity: 0.8; margin-bottom: 1rem; font-style: italic; }
.lp-signup-row { display: flex; gap: 0; margin-bottom: 1rem; }
.lp-signup-row input[type="email"] { flex: 1; padding: 0.75rem 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(154,124,58,0.3); border-right: none; color: var(--parchment); font-family: 'EB Garamond', serif; font-size: 0.95rem; outline: none; }
.lp-signup-row input[type="email"]::placeholder { color: var(--muted); }
.lp-signup-row input[type="email"]:focus { border-color: var(--gold); }
.lp-signup-row .btn-primary { white-space: nowrap; padding: 0.75rem 1.5rem; font-size: 0.85rem; }
.h-captcha { margin-bottom: 0.8rem; }
.lp-signup-msg { font-size: 0.88rem; padding: 0.5rem 0; min-height: 1.4rem; }
.lp-signup-msg.success { color: #7cb87c; }
.lp-signup-msg.error { color: #c47a7a; }
.lp-signup-privacy { font-size: 0.75rem; color: var(--muted); opacity: 0.6; margin-top: 0.8rem; line-height: 1.5; }
.lp-signup-privacy a { color: var(--muted); border-bottom: 1px solid rgba(154,124,58,0.2); }
.lp-modal-text--preview { border-top: 1px solid rgba(154,124,58,0.15); padding-top: 1.5rem; margin-top: 0.5rem; }
@media (max-width: 500px) {
  .lp-signup-row { flex-direction: column; }
  .lp-signup-row input[type="email"] { border-right: 1px solid rgba(154,124,58,0.3); border-bottom: none; }
}

/* ── DANKE SEITE ─────────────────────────────────────────────── */
.danke-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 6rem 2rem; }
.danke-inner { max-width: 600px; text-align: center; }
.danke-icon { font-size: 2rem; color: var(--gold); opacity: 0.5; margin-bottom: 1.5rem; }
.danke-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--parchment); margin: 0.3rem 0 0; line-height: 1.2; }
.danke-divider { width: 48px; height: 1px; background: var(--gold); opacity: 0.4; margin: 1.5rem auto; }
.danke-text { font-size: 1.1rem; line-height: 1.8; color: var(--parchment-dark); opacity: 0.75; font-style: italic; margin-bottom: 2.5rem; }

/* ── FOOTER SOCIAL ICONS ─────────────────────────────────────── */
.footer-social { display: flex; gap: 1.2rem; align-items: center; margin: 0.5rem 0; }
.footer-social-link { color: var(--muted); opacity: 0.5; transition: opacity 0.3s, color 0.3s; display: flex; align-items: center; text-decoration: none; }
.footer-social-link:hover { opacity: 1; color: var(--gold); }

/* ── NEWSLETTER FORM (section-newsletter.php) ───────────────── */
.nl-signup-row { display: flex; max-width: 480px; margin: 0 auto; }
.nl-signup-row input[type="email"] { flex: 1; padding: 0.9rem 1.2rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(154,124,58,0.3); border-right: none; color: var(--parchment); font-family: 'EB Garamond', serif; font-size: 1rem; outline: none; }
.nl-signup-row input[type="email"]::placeholder { color: var(--muted); }
.nl-signup-row input[type="email"]:focus { border-color: var(--gold); }
.nl-signup-row button { padding: 0.9rem 1.8rem; background: var(--gold); color: var(--ink); border: none; font-family: 'EB Garamond', serif; font-size: 0.95rem; cursor: pointer; white-space: nowrap; }
.nl-signup-row button:hover { background: var(--gold-light, #b8963e); }
.nl-signup-msg { margin-top: 0.75rem; font-size: 0.85rem; letter-spacing: 0.05em; min-height: 1.2em; text-align: center; }
.nl-signup-msg.success { color: #9a7c3a; }
.nl-signup-msg.error   { color: #c0392b; }

/* Mobile Newsletter Form */
@media (max-width: 600px) {
  .nl-signup-row { max-width: 100%; flex-direction: column; }
  .nl-signup-row input[type="email"] { border-right: 1px solid rgba(154,124,58,0.3); border-bottom: none; }
  .nl-signup-row button { width: 100%; }
}
