/* ============================================================
   HUBERTUS GELLER – Website Stylesheet
   Farbpalette: Royal Blue & Gold
   ============================================================ */

:root {
  --primary:     #1A3A5C;   /* Dunkelblau */
  --accent:      #2E6DA4;   /* Mittelblau */
  --accent2:     #C9A84C;   /* Gold */
  --bg:          #F0F4F8;   /* Helles Blaugrau */
  --card-bg:     #FFFFFF;   /* Weiß */
  --dark:        #0D2137;   /* Tiefdunkelblau */
  --text:        #0D2137;   /* Tiefdunkelblau */
  --text-light:  #3A6080;   /* Mittelblau-grau */
  --border:      #2E6DA4;   /* Mittelblau */
  --white:       #FFFFFF;
  --nav-bg:      #0D2137;
  --footer-bg:   #071525;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── NAVIGATION ── */
nav {
  background: var(--nav-bg);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  min-height: 64px;
  gap: 1rem;
}

nav .logo {
  color: var(--accent2);
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav .nav-links a {
  color: #F5EDD6;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--accent2);
}

/* Language switcher in nav */
.lang-switcher {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-btn {
  background: transparent;
  border: 1px solid #2E6DA4;
  color: #F5EDD6;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--accent2);
  border-color: var(--accent2);
  color: var(--dark);
  font-weight: bold;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F5EDD6;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1A3A5C 60%, #0D2137 100%);
  color: #F5EDD6;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,168,76,0.12) 0%, transparent 70%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent2);
  margin-bottom: 0.5rem;
  position: relative;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #D4C5A9;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #E8DCC8;
  position: relative;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--primary);
  color: #F5EDD6;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46,109,164,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
}
.btn-outline:hover {
  background: var(--accent2);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-amazon {
  background: #FF9900;
  color: #111;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}
.btn-amazon:hover {
  background: #e68900;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,153,0,0.4);
}

/* ── SECTIONS ── */
section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── BOOK CARDS ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(13,33,55,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(13,33,55,0.22);
}

.book-card-img-wrap {
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  min-height: 380px;
}

.book-card-img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}

.book-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-card-body h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.book-card-body .tagline {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.book-card-body p {
  display: none;
}

.book-card-body .tagline {
  display: block !important;
}

.book-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent2);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  flex-wrap: nowrap;
}

.book-badge .flag-icon {
  width: 24px !important;
  height: 16px !important;
  min-width: 24px !important;
  min-height: 16px !important;
  max-width: 24px !important;
  max-height: 16px !important;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
  flex-grow: 0;
  display: inline-block;
}

.book-badge.coming-soon {
  background: #ccc;
  color: #555;
}

/* ── ACTOR SECTION ── */
.actor-section {
  background: var(--dark);
  color: #F5EDD6;
}

.actor-section .section-title {
  color: var(--accent2);
}

.actor-section .section-subtitle {
  color: #D4C5A9;
}

.actor-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.actor-photo {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.actor-info h3 {
  color: var(--accent2);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.actor-info p {
  color: #E8DCC8;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.actor-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.stat-item {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.9rem;
  border-radius: 0 6px 6px 0;
}

.stat-item .label {
  font-size: 0.75rem;
  color: #A89070;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-item .value {
  font-size: 0.95rem;
  color: #F5EDD6;
  font-weight: bold;
}

.actor-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── ABOUT SECTION ── */
.about-section {
  background: linear-gradient(180deg, var(--bg) 0%, #E8EEF5 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--border);
  box-shadow: 0 8px 32px rgba(13,33,55,0.2);
}

blockquote {
  border-left: 4px solid var(--accent2);
  padding: 1rem 1.5rem;
  background: rgba(201,168,76,0.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--primary);
  font-size: 1.1rem;
  margin: 1.5rem 0;
}

/* ── FOOTER ── */
footer {
  background: var(--footer-bg);
  color: #A89070;
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.88rem;
}

footer a {
  color: var(--accent2);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Impressum toggle */
.impressum-box {
  display: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid #1A3A5C;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 600px;
  text-align: left;
  color: #D4C5A9;
  font-size: 0.85rem;
  line-height: 1.8;
}

.impressum-box.open { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    /* Reset flex centering for mobile dropdown */
    flex: none;
    justify-content: flex-start;
  }
  nav .nav-links.open { display: flex; }
  .hamburger { display: flex; flex-shrink: 0; }
  .lang-switcher { gap: 0.3rem; margin-left: auto; }
  .lang-btn { padding: 0.28rem 0.5rem; font-size: 0.78rem; }
  nav .logo { flex: 1; }

  .actor-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .actor-stats {
    grid-template-columns: 1fr;
  }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
.divider {
  border: none;
  border-top: 1px solid rgba(26,58,92,0.2);
  margin: 3rem 0;
}
