:root {
  --rot: #5b1014;
  --rot-dunkel: #2b080a;
  --gold: #d7a942;
  --gold-hell: #f1d37a;
  --pergament: #f1e3c5;
  --text: #2b1b12;
  --dunkel: #160d0a;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond/CormorantGaramond-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond/CormorantGaramond-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond/EBGaramond-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond/EBGaramond-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}




* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "EB Garamond", serif;
  background: var(--dunkel);
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

h1, h2, h3, nav a {
  font-family: "Cormorant Garamond", serif;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin: 0;
  color: var(--gold-hell);
  letter-spacing: 0.04em;
}

h2 {
  font-size: 2.6rem;
  color: var(--rot);
  margin-top: 0;
}

h3 {
  font-size: 1.7rem;
  color: var(--rot);
}

p {
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43, 8, 10, 0.95);
  border-bottom: 1px solid var(--gold);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-hell);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--gold-hell);
  font-size: 1.30rem;
}

.nav-links a:hover {
  color: white;
}

.hero {
  min-height: 72vh;
  background:
    linear-gradient(rgba(20, 5, 5, 0.35), rgba(20, 5, 5, 0.75)),
    url("img/hero.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.2rem;
}

.hero.small {
  min-height: 45vh;
}

.hero-content {
  max-width: 900px;
}

.subtitle {
  color: var(--pergament);
  font-size: 1.6rem;
  margin-top: 0.7rem;
}

.page {
  background: var(--pergament);
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 4.5rem 1.3rem;
  background: var(--pergament);
}

.section.dark {
  max-width: none;
  background: var(--rot-dunkel);
  color: var(--pergament);
}

.section.dark .inner {
  max-width: 1100px;
  margin: auto;
}

.section.dark h2 {
  color: var(--gold-hell);
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 248, 226, 0.8);
  border: 1px solid rgba(91, 16, 20, 0.25);
  padding: 1.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card.dark-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(215,169,66,0.35);
}

.quote {
  border-left: 4px solid var(--gold);
  padding-left: 1.2rem;
  font-size: 1.35rem;
  color: var(--rot);
  font-style: italic;
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  background: var(--rot);
  color: var(--gold-hell);
  border: 1px solid var(--gold);
}

.button:hover {
  background: var(--gold);
  color: var(--rot-dunkel);
}

.footer {
  background: var(--rot-dunkel);
  color: var(--pergament);
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--gold);
}

.footer img {
  width: 60px;
  margin-bottom: 1rem;
}

.footer-motto {
  color: var(--gold-hell);
  font-size: 1.3rem;
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .nav {
    flex-direction: column;
  }

  .nav-links {
    justify-content: center;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 18px;
  }
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.character-card {
  background: rgba(255,248,226,0.9);
  border: 1px solid rgba(91,16,20,0.25);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}

.character-card:hover {
  transform: translateY(-4px);
}

.character-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.character-content {
  padding: 1.5rem;
}

.character-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}
