/* ══════════════════════════════════════
   FILMTAGEBUCH – Selbst gehostete Schriften
   Playfair Display & Source Sans 3 (SIL OFL)
   ══════════════════════════════════════ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/playfair-display-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/playfair-display-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-display-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/source-sans-3-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
}

/* ══════════════════════════════════════
   FILMTAGEBUCH – Shared Styles
   ══════════════════════════════════════ */

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

:root {
  --bg: #0c0a0e;
  --bg-card: #141218;
  --bg-card-hover: #1c1a22;
  --text: #e8e4ec;
  --text-muted: #9a94a4;
  --accent: #e8b44d;
  --accent-dim: #c4963f;
  --border: #2a2630;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 10, 14, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

nav .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav .nav-links { display: flex; gap: 2rem; align-items: center; }

nav .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav .nav-links a:hover { color: var(--accent); }

nav .nav-links .portfolio-link {
  color: var(--accent-dim);
  border: 1px solid var(--accent-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

nav .nav-links .portfolio-link:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ── HERO ── */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(232, 180, 77, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-icon { font-size: 2.5rem; margin-bottom: 1.5rem; animation: fadeInUp 0.8s ease-out both; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-divider {
  width: 60px; height: 1px;
  background: var(--accent);
  margin: 2rem auto 0;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ── REVIEWS SECTION ── */
.reviews { padding: 4rem 3rem 8rem; max-width: 900px; margin: 0 auto; }

.reviews-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3rem; }
.reviews-header h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.reviews-count { color: var(--text-muted); font-size: 0.85rem; }

.review-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  color: inherit;
}

.review-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(232, 180, 77, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.review-poster {
  width: 180px; height: 260px;
  background: #1c1a22;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--text-muted);
  overflow: hidden;
  border: 1px solid var(--border);
}

.review-poster img { width: 100%; height: 100%; object-fit: cover; }

.review-info { display: flex; flex-direction: column; justify-content: center; }

.review-meta {
  font-size: 0.75rem;
  color: var(--accent-dim);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.review-info h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.2; }
.review-info .film-year { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; }

.review-info .review-excerpt {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.review-arrow { margin-top: auto; padding-top: 1rem; font-size: 0.8rem; font-weight: 600; color: var(--accent-dim); transition: color 0.3s; }
.review-card:hover .review-arrow { color: var(--accent); }

/* ── SINGLE REVIEW PAGE ── */
.review-hero { padding: 10rem 3rem 3rem; max-width: 720px; margin: 0 auto; }

.review-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 2.5rem; transition: color 0.3s;
}
.review-back:hover { color: var(--accent); }

.review-hero .review-meta { font-size: 0.75rem; color: var(--accent-dim); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }

.review-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; margin-bottom: 0.5rem; }

.review-hero .film-details { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5rem; }
.review-hero .film-details span { color: var(--accent-dim); }

.review-rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); }

.review-reading-time { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.8rem; }

.review-content { max-width: 720px; margin: 0 auto; padding: 2rem 3rem 6rem; }

.review-content h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  margin-top: 3rem; margin-bottom: 1rem;
  position: relative; padding-left: 1.2rem;
}

.review-content h2::before {
  content: ''; position: absolute; left: 0; top: 0.25em;
  width: 3px; height: 1em; background: var(--accent); border-radius: 2px;
}

.review-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.2rem; }

.review-content .pullquote {
  background: var(--bg-card); border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem; margin: 2rem 0; border-radius: 0 4px 4px 0;
  font-family: var(--font-display); font-style: italic; color: var(--text); font-size: 1.1rem; line-height: 1.6;
}

.review-content .spoiler-warning {
  background: rgba(232, 180, 77, 0.08); border: 1px solid rgba(232, 180, 77, 0.2);
  padding: 1rem 1.5rem; border-radius: 4px; margin: 2rem 0;
  font-size: 0.9rem; color: var(--accent); font-weight: 600; text-align: center;
}

.review-content figure { margin: 2rem 0; }
.review-content figure img { width: 100%; border-radius: 4px; border: 1px solid var(--border); }
.review-content figure figcaption { color: var(--text-muted); font-size: 0.75rem; font-style: italic; margin-top: 0.5rem; opacity: 0.7; }

.review-author {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
  padding: 1.5rem 2rem; margin-top: 3rem; display: flex; gap: 1.2rem; align-items: center;
}

.review-author-text { display: flex; flex-direction: column; gap: 0.2rem; }
.review-author-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.review-author-bio { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.review-author-bio a { color: var(--accent-dim); text-decoration: none; transition: color 0.3s; }
.review-author-bio a:hover { color: var(--accent); }

.back-to-top {
  display: block; text-align: center; margin-top: 2.5rem; padding: 0.7rem;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: color 0.3s; cursor: pointer;
}
.back-to-top:hover { color: var(--accent); }

/* ── FOOTER ── */
footer {
  padding: 2rem 3rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-muted); max-width: 900px; margin: 0 auto;
}
footer a { color: var(--accent-dim); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  nav .nav-links { gap: 1rem; }
  nav .nav-links a { font-size: 0.75rem; }
  .hero { padding: 8rem 1.5rem 3rem; }
  .reviews { padding: 3rem 1.5rem 6rem; }
  .review-card { grid-template-columns: 120px 1fr; gap: 1.2rem; padding: 1.2rem; }
  .review-poster { width: 120px; height: 175px; }
  .review-info h3 { font-size: 1.1rem; }
  .review-hero, .review-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .review-hero h1 { font-size: clamp(1.6rem, 8vw, 3.2rem); overflow-wrap: break-word; }
}

@media (max-width: 480px) {
  .review-card { grid-template-columns: 1fr; }
  .review-poster { width: 100%; height: 200px; }
}

/* ── WEITERE REVIEWS ── */
.more-reviews { margin-top: 3rem; }
.more-reviews h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.2rem; position: relative; padding-left: 1.2rem;
}
.more-reviews h2::before {
  content: ''; position: absolute; left: 0; top: 0.25em;
  width: 3px; height: 1em; background: var(--accent); border-radius: 2px;
}
.more-reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.more-review-card {
  display: flex; gap: 1rem; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem; text-decoration: none; color: inherit;
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.more-review-card:hover {
  background: var(--bg-card-hover); border-color: rgba(232, 180, 77, 0.3);
  transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.more-review-card img {
  width: 60px; height: 88px; object-fit: cover; border-radius: 4px;
  border: 1px solid var(--border); flex-shrink: 0;
}
.more-review-text h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.2;
}
.more-review-text .film-year { color: var(--text-muted); font-size: 0.8rem; }
@media (max-width: 600px) { .more-reviews-grid { grid-template-columns: 1fr; } }

/* ── FOKUS (Tastaturnavigation) ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── FOOTER LINKS ── */
.footer-links { display: flex; gap: 1.5rem; align-items: baseline; }
