/*
Theme Name: S.A. Storm
Theme URI: https://sastorm.de
Author: S.A. Storm
Description: Dunkles, atmosphärisches Autoren-Theme für S.A. Storm — Krimi & Fantasy.
Version: 2.9
License: GNU General Public License v2
Text Domain: sastorm
*/

/* ============================================
   LOKALE FONTS (DSGVO-konform, kein Google CDN)
   ============================================ */

/* Inter — latin-ext (Umlaute) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/inter-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/inter-lat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/playfair-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/playfair-lat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display Italic — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-italic-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display Italic — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/playfair-italic-lat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   VARIABLEN
   ============================================ */
:root {
  --storm-black: #0a0a0f;
  --storm-dark: #111118;
  --storm-grey: #1a1a24;
  --storm-text: #e8e4df;
  --storm-text-muted: #8a8690;
  --storm-krimi-green: #2a3a2e;
  --storm-krimi-red: #c41e3a;
  --storm-fantasy-blue: #0d1b2a;
  --storm-fantasy-gold: #c9a84c;
  --storm-fantasy-gold-light: #e0c675;
  --storm-white: #f5f2ed;
}

/* ============================================
   RESET & BASIS
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--storm-black);
  color: var(--storm-text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--storm-fantasy-gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--storm-fantasy-gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--storm-white);
  line-height: 1.2;
}

p { margin-bottom: 1rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background 0.4s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--storm-white);
  text-decoration: none;
}

.site-logo:hover { color: var(--storm-fantasy-gold); }

/* Desktop Navigation */
.main-nav {
  display: flex;
  gap: 0;
  align-items: center;
  list-style: none;
}

.main-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  list-style: none;
}

.main-nav a {
  color: var(--storm-text-muted);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem 4px;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  display: block;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--storm-fantasy-gold);
  border-bottom-color: var(--storm-fantasy-gold);
}

/* Dropdown-Menüs */
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(10, 10, 15, 0.97);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  list-style: none;
  z-index: 100;
  flex-direction: column;
}

.main-nav li:hover > .sub-menu { display: flex; }

.main-nav .sub-menu a {
  padding: 0.6rem 1.5rem;
  font-size: 0.72rem;
  border-bottom: none;
  white-space: nowrap;
}

.main-nav .sub-menu a:hover {
  background: rgba(201, 168, 76, 0.05);
  border-bottom: none;
}

/* Hamburger Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--storm-text);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.97);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .main-nav ul { flex-direction: column; }
  .main-nav .sub-menu { position: static; display: flex; border: none; margin: 0; padding-left: 1rem; }
  .main-nav.open { display: flex; }
}

/* ============================================
   HERO SECTION (Startseite)
   ============================================ */
.storm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--storm-black);
  overflow: hidden;
}

.storm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(42, 58, 46, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(13, 27, 42, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.08) 0%, transparent 40%);
  z-index: 1;
}

/* Nebel-Container */
.storm-fog {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* Basis — 6 Nebel-Schichten (kein filter:blur, weiche Gradients stattdessen) */
.storm-fog-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  animation: fogDrift 80s linear infinite;
  background:
    radial-gradient(ellipse 50% 40% at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 70% 40%, rgba(255,255,255,0.05) 0%, transparent 100%);
}

/* 6 Variationen — unterschiedliche Positionen, Farben, Geschwindigkeiten */
.storm-fog-layer:nth-child(1) {
  background:
    radial-gradient(ellipse 55% 45% at 15% 45%, rgba(255,255,255,0.08) 0%, transparent 100%),
    radial-gradient(ellipse 45% 35% at 65% 60%, rgba(255,255,255,0.05) 0%, transparent 100%);
  animation-duration: 60s;
}
.storm-fog-layer:nth-child(2) {
  background:
    radial-gradient(ellipse 50% 50% at 40% 55%, rgba(200,200,220,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 45% 40% at 80% 30%, rgba(255,255,255,0.04) 0%, transparent 100%);
  animation-duration: 90s;
  animation-direction: reverse;
}
.storm-fog-layer:nth-child(3) {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(13,27,42,0.1) 0%, transparent 100%),
    radial-gradient(ellipse 40% 45% at 85% 65%, rgba(255,255,255,0.05) 0%, transparent 100%);
  animation-duration: 110s;
  animation-delay: -30s;
}
.storm-fog-layer:nth-child(4) {
  background:
    radial-gradient(ellipse 50% 45% at 30% 65%, rgba(201,168,76,0.04) 0%, transparent 100%),
    radial-gradient(ellipse 55% 40% at 75% 35%, rgba(255,255,255,0.06) 0%, transparent 100%);
  animation-duration: 75s;
  animation-direction: reverse;
  animation-delay: -20s;
}
.storm-fog-layer:nth-child(5) {
  background:
    radial-gradient(ellipse 45% 50% at 60% 70%, rgba(42,58,46,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 35% at 20% 35%, rgba(255,255,255,0.05) 0%, transparent 100%);
  animation-duration: 100s;
  animation-delay: -50s;
}
.storm-fog-layer:nth-child(6) {
  background:
    radial-gradient(ellipse 55% 40% at 90% 50%, rgba(255,255,255,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 45% at 25% 55%, rgba(13,27,42,0.08) 0%, transparent 100%);
  animation-duration: 120s;
  animation-direction: reverse;
  animation-delay: -40s;
}

.storm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.storm-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--storm-fantasy-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.storm-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--storm-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.storm-hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--storm-fantasy-gold), transparent);
  margin: 2rem auto;
  padding: 1.5rem 0;
  background-clip: content-box;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

.storm-hero-divider:hover {
  width: 250px;
}

.storm-hero-tagline {
  font-size: 1.1rem;
  color: var(--storm-text-muted);
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.storm-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards;
}

.storm-scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--storm-fantasy-gold), transparent);
  margin: 0 auto;
  transform-origin: top center;
  animation: scrollPulse 2s ease infinite;
}

/* ============================================
   BÜCHER SPLIT (Startseite)
   ============================================ */
.storm-books-split {
  display: grid;
  grid-template-columns: repeat(var(--book-cols, 2), 1fr);
  min-height: 100vh;
}

@media (max-width: 768px) {
  .storm-books-split {
    --book-cols: 1 !important;
    min-height: auto;
  }
}

.storm-book-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  min-height: 80vh;
  overflow: hidden;
}

.storm-book-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.storm-book-panel > * {
  position: relative;
  z-index: 1;
}

.storm-book-panel:hover::before { opacity: 1; }

.storm-panel-krimi {
  background: linear-gradient(180deg, var(--storm-black) 0%, var(--storm-krimi-green) 50%, var(--storm-black) 100%);
  border-right: 1px solid rgba(196, 30, 58, 0.15);
}

.storm-panel-krimi::before {
  background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
}

.storm-panel-fantasy {
  background: linear-gradient(180deg, var(--storm-black) 0%, var(--storm-fantasy-blue) 50%, var(--storm-black) 100%);
}

.storm-panel-fantasy::before {
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
}

/* Cover */
.storm-book-cover {
  position: relative;
  max-width: 280px;
  margin-bottom: 2.5rem;
  transition: transform 0.5s ease;
}

.storm-book-cover:hover { transform: translateY(-8px) scale(1.02); }

.storm-book-cover img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.5);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.storm-panel-krimi .storm-book-cover img {
  box-shadow:
    0 12px 50px rgba(0,0,0,0.5),
    0 0 100px rgba(196,30,58,0.1);
}

.storm-panel-krimi .storm-book-cover:hover img {
  box-shadow:
    0 16px 60px rgba(0,0,0,0.5),
    0 0 120px rgba(196,30,58,0.18);
}

.storm-panel-fantasy .storm-book-cover img {
  box-shadow:
    0 12px 50px rgba(0,0,0,0.5),
    0 0 100px rgba(201,168,76,0.1);
}

.storm-panel-fantasy .storm-book-cover:hover img {
  box-shadow:
    0 16px 60px rgba(0,0,0,0.5),
    0 0 120px rgba(201,168,76,0.2);
}

.storm-genre-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.storm-panel-krimi .storm-genre-label { color: var(--storm-krimi-red); }
.storm-panel-fantasy .storm-genre-label { color: var(--storm-fantasy-gold); }

.storm-book-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--storm-white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.storm-book-series {
  font-size: 0.85rem;
  color: var(--storm-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.storm-book-teaser {
  font-size: 0.95rem;
  color: var(--storm-text-muted);
  text-align: center;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.storm-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.storm-btn-krimi {
  color: var(--storm-krimi-red);
  border-color: rgba(196, 30, 58, 0.4);
  background: transparent;
}

.storm-btn-krimi:hover {
  color: var(--storm-white);
  border-color: var(--storm-krimi-red);
  background: var(--storm-krimi-red);
}

.storm-btn-fantasy {
  color: var(--storm-fantasy-gold);
  border-color: rgba(201, 168, 76, 0.4);
  background: transparent;
}

.storm-btn-fantasy:hover {
  color: var(--storm-black);
  border-color: var(--storm-fantasy-gold);
  background: var(--storm-fantasy-gold);
}

.storm-buy-btn {
  display: inline-block;
  padding: 18px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--storm-black);
  background: var(--storm-fantasy-gold);
  transition: color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  margin: 0.5rem;
}

.storm-buy-btn:hover {
  background: var(--storm-fantasy-gold-light);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
  color: var(--storm-black);
}

.storm-buy-btn-krimi {
  background: var(--storm-krimi-red);
  color: var(--storm-white);
}

.storm-buy-btn-krimi:hover {
  box-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
  color: var(--storm-white);
}

.storm-buy-btn-outline {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--storm-fantasy-gold);
}

.storm-buy-btn-outline:hover {
  border-color: var(--storm-fantasy-gold);
  color: var(--storm-fantasy-gold);
  background: rgba(201, 168, 76, 0.1);
}

/* ============================================
   BUCHSEITE LAYOUT
   ============================================ */
.storm-bookpage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.storm-bookpage-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .storm-bookpage-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .storm-bookpage-hero .storm-book-cover { margin: 0 auto; }
}

.storm-bookpage-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.storm-meta-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--storm-text-muted);
  margin-bottom: 0.3rem;
}

.storm-meta-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: var(--storm-white);
}

/* Klappentext */
.storm-blurb {
  position: relative;
  padding: 3rem;
  margin: 3rem 0;
  border-left: 2px solid;
  background: rgba(255,255,255,0.02);
}

.storm-blurb-krimi { border-left-color: var(--storm-krimi-red); }
.storm-blurb-fantasy { border-left-color: var(--storm-fantasy-gold); }

.storm-blurb p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--storm-text);
}

/* Leseprobe */
.storm-leseprobe {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  margin: 3rem 0;
}

.storm-leseprobe-title {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--storm-text-muted);
  margin-bottom: 2rem;
}

.storm-leseprobe-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--storm-text);
  font-style: italic;
}

.storm-leseprobe-text p { margin-bottom: 1.5rem; }

/* Charaktere */
.storm-characters {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.storm-char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.storm-char-card {
  text-align: center;
  padding: 2rem;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.08);
}

.storm-char-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--storm-fantasy-gold);
  margin-bottom: 0.5rem;
}

.storm-char-desc {
  font-size: 0.85rem;
  color: var(--storm-text-muted);
  line-height: 1.7;
}

/* Buy Section */
.storm-buy-section {
  text-align: center;
  padding: 4rem 2rem;
  margin: 3rem 0;
}

/* ============================================
   ÜBER DEN AUTOR
   ============================================ */
.storm-author {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.storm-author-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  overflow: hidden;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 40px rgba(201,168,76,0.1);
}
.storm-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.storm-author-initials {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  background: rgba(201,168,76,0.03);
}

.storm-author-initials span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--storm-fantasy-gold);
}

.storm-author-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.storm-author-tagline {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--storm-fantasy-gold);
  margin-bottom: 3rem;
}

.storm-author-bio {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--storm-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.storm-author-bio p { margin-bottom: 1.5rem; }

/* Bücher-Grid (Autor-Seite) */
.storm-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: 600px;
  margin: 2rem auto;
}

.storm-book-link {
  text-decoration: none;
  text-align: center;
  display: block;
  transition: transform 0.3s ease;
}

.storm-book-link:hover { transform: translateY(-5px); }

.storm-book-link-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--storm-white);
  margin-top: 1rem;
}

.storm-book-link-sub {
  font-size: 0.8rem;
  color: var(--storm-text-muted);
}

/* Autor-Teaser (Startseite) */
.storm-author-teaser {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--storm-black) 0%, rgba(201,168,76,0.03) 50%, var(--storm-black) 100%);
}

/* ============================================
   SECTION HELPERS
   ============================================ */
.storm-divider {
  text-align: center;
  padding: 3rem 0;
  cursor: default;
}

.storm-divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--storm-fantasy-gold), transparent);
  margin: 0 auto;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

/* Hover auf den ganzen Divider-Bereich, nicht nur die 1px Linie */
.storm-divider:hover .storm-divider-line,
.storm-hero-divider-static:hover {
  width: 250px;
}

.storm-divider-line-red {
  background: linear-gradient(90deg, transparent, var(--storm-krimi-red), transparent);
}

.storm-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--storm-text-muted);
  text-align: center;
  margin-bottom: 1rem;
}

.storm-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--storm-white);
  text-align: center;
  margin-bottom: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--storm-black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav { margin-bottom: 1.5rem; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.footer-nav li {
  list-style: none;
}

.footer-nav li + li::before {
  content: '·';
  color: var(--storm-text-muted);
  margin-right: 1.5rem;
  opacity: 0.4;
}

.footer-nav a {
  color: var(--storm-text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--storm-fantasy-gold); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--storm-text-muted);
}

/* Social-Media Icons */
.storm-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}
.storm-social a {
  color: var(--storm-text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
}
.storm-social a:hover {
  color: var(--storm-fantasy-gold);
  transform: translateY(-2px);
}
.storm-social svg {
  width: 20px;
  height: 20px;
}

/* Footer Social */
.storm-social-footer {
  margin-bottom: 1.2rem;
}

/* Header Social */
.storm-social-header {
  display: flex;
  gap: 1rem;
  margin-left: 1.5rem;
  align-items: center;
}
.storm-social-header svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .storm-social-header {
    justify-content: center;
    margin-left: 0;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
}

/* ============================================
   DEFAULT PAGE
   ============================================ */
.storm-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.storm-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.storm-page p {
  line-height: 1.8;
  color: var(--storm-text-muted);
}

/* ============================================
   ANIMATIONEN
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fogDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.35); }
}

/* ============================================
   DYNAMISCHE GENRE-KLASSEN (aus Admin)
   ============================================ */
.storm-book-panel[style*="--book-bg-from"] {
  background: linear-gradient(180deg, var(--storm-black) 0%, var(--book-bg-from) 50%, var(--storm-black) 100%);
}

.storm-book-panel[style*="--book-accent"]::before {
  background: radial-gradient(ellipse at center, rgba(var(--book-accent), 0.08) 0%, transparent 70%);
}

/* Genre-Button (dynamisch) */
.storm-btn-genre {
  background: transparent;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

/* Ganzes Buch-Panel klickbar machen (Stretched Link) */
.storm-book-panel .storm-btn-genre {
  position: static;
}
.storm-book-panel .storm-btn-genre::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
}
.storm-book-panel {
  cursor: pointer;
}

/* Hero-Divider (statisch, ohne Fade-Animation auf Unterseiten) */
.storm-hero-divider-static {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--storm-fantasy-gold), transparent);
  margin: 2rem auto;
  padding: 1.5rem 0;
  background-clip: content-box;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

.storm-hero-divider-static:hover { width: 250px; }

/* Effekt-Presets */
.storm-effect-portal-pulse .storm-book-cover img {
  animation: portalPulse 3s ease infinite;
}

.storm-effect-frost .storm-book-cover img {
  filter: brightness(1.05);
}

.storm-effect-frost .storm-book-cover:hover img {
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(150, 200, 255, 0.3));
}

@keyframes portalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.01); }
}

/* ============================================
   REZENSIONEN
   ============================================ */
.storm-reviews-section {
  text-align: center;
  padding: 3rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.storm-reviews-grid {
  display: grid;
  gap: 2rem;
}

.storm-review {
  margin: 0;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  text-align: left;
  position: relative;
}

.storm-review-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--storm-text);
  margin: 0 0 1.2rem;
}

.storm-review-source {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--storm-text-muted);
}

.storm-review-user {
  color: var(--storm-fantasy-gold);
}

.storm-review-platform::before {
  content: '·';
  margin-right: 0.6rem;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.storm-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.storm-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
