:root {
  --gold: #d3a647;
  --gold-light: #f0cf78;
  --night: #0c1b20;
  --forest: #15362d;
  --ivory: #f3ecdc;
  --ink: #151b19;
  --header-height: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 18px clamp(24px, 4vw, 76px);
  color: white;
  background: linear-gradient(to bottom, rgba(5, 14, 17, .82), rgba(5, 14, 17, .22), transparent);
  transition: background .3s ease, min-height .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  min-height: 78px;
  background: rgba(8, 25, 29, .96);
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  text-decoration: none;
  color: var(--gold-light);
  flex-shrink: 0;
}

.brand > img:first-child {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
	  
.brand .brand-wordmark {
    width: 420px;
    height: auto;
    object-fit: contain;
	position: relative;
    top: 9px;
}
.brand-copy { display: grid; line-height: 1; }
.brand-name {
  font-size: clamp(2.3rem, 3.6vw, 4.1rem);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.brand-subtitle {
  margin-top: 8px;
  font-size: clamp(.82rem, 1.08vw, 1.15rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 42px);
    position: relative;
    top: -35px;
}
.main-nav a {
  position: relative;
  padding: 12px 0;
  font-size: clamp(.94rem, 1.2vw, 1.18rem);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(240,207,120,.6);
  background: rgba(7,24,27,.72);
}
.menu-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/hero-fjellgard.jpg");
  background-size: cover;
  background-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(8, 20, 19, .68) 0%,
      rgba(8, 20, 19, .42) 22%,
      rgba(8, 20, 19, .12) 42%,
      transparent 58%);
}

.hero-content {
  width: min(470px, 34vw);
  margin-left: clamp(50px, 8vw, 150px);
  padding-top: calc(var(--header-height) - 50px);
  text-shadow: 0 2px 18px rgba(255,245,213,.25);
}

.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(3rem, 4.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #f3ecdc;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

.ornament {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(300px, 100%);
  margin: 0 0 22px;
}
.ornament span { flex: 1; height: 1px; background: rgba(151,108,35,.78); }
.ornament i {
  width: 13px;
  height: 13px;
  border: 1px solid #a8792c;
  transform: rotate(45deg);
}

.hero-content p {
  margin: 0 0 60px;
  font-size: clamp(1.35rem, 1.55vw, 1.8rem);
  line-height: 1.45;
  color: #f3ecdc;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.hero-actions {
  display: grid;
  width: min(340px, 100%);
  gap: 16px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(211,166,71,.3);
  outline-offset: -5px;
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(20,60,48,.96), rgba(10,38,33,.98));
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .055em;
  font-size: clamp(.9rem, 1vw, 1.08rem);
  transition: filter .2s ease, transform .2s ease;
}
.button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}


/* Bücher – Prinzessin Liada */
.books-section {
  position: relative;
  min-height: 100svh;
  scroll-margin-top: 78px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
  background:
    #081613 url("assets/buecher-hintergrund.png") center center / cover no-repeat;
}

.books-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(4, 14, 13, .18) 0%,
      rgba(4, 14, 13, .30) 42%,
      rgba(4, 14, 13, .72) 64%,
      rgba(4, 14, 13, .82) 100%),
    linear-gradient(180deg,
      rgba(3, 11, 11, .20) 0%,
      rgba(3, 11, 11, .05) 30%,
      rgba(3, 11, 11, .22) 100%);
}

.books-inner {
  width: min(1600px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(150px, 16vh, 190px) 0 clamp(70px, 8vh, 100px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 6vw, 110px);
}

.book-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-cover-3d {
  display: block;
  width: min(640px, 98%);
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .58));
}

.book-info {
  max-width: 690px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}

.book-series {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: .92rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.book-info h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
  line-height: .98;
  font-weight: 400;
  text-transform: uppercase;
}

.book-info h3 {
  margin: 10px 0 30px;
  padding-bottom: 18px;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: 1.15;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(211, 166, 71, .72);
}

.book-info p {
  margin: 0 0 18px;
  font-size: clamp(.94rem, 1vw, 1.08rem);
  line-height: 1.55;
}

.book-lead {
  color: #fff7e8;
  font-size: clamp(1rem, 1.08vw, 1.16rem) !important;
}

.book-quote {
  margin: 26px 0 !important;
  color: var(--gold-light);
  font-style: italic;
}

.book-type {
  margin-top: 28px !important;
  color: var(--gold);
  font-size: clamp(1.05rem, 1.15vw, 1.24rem) !important;
}

.book-extra {
  color: #e7dfcf;
}

.book-order {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(211, 166, 71, .58);
}

.book-order-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.book-order p {
  margin: 0;
  color: #e7dfcf;
}

/* Bücher responsive */
@media (max-width: 1100px) {
  .books-inner {
    width: min(100% - 48px, 1040px);
    grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr);
    gap: 42px;
  }

  .book-cover-3d {
    width: min(470px, 100%);
  }
}

@media (max-width: 820px) {
  .books-section {
    background-position: 42% center;
  }

  .books-shade {
    background: rgba(4, 14, 13, .68);
  }

  .books-inner {
    width: min(100% - 40px, 680px);
    min-height: auto;
    padding: 130px 0 70px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .book-cover-3d {
    width: min(440px, 88vw);
  }

  .book-info {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .books-inner {
    width: calc(100% - 32px);
    padding-top: 112px;
  }

  .book-info h2 {
    font-size: clamp(2.3rem, 12vw, 3.3rem);
  }

  .book-info h3 {
    margin-bottom: 24px;
  }

  .book-info p {
    font-size: 1rem;
  }
}

.placeholder {
  min-height: 46vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 90px 24px;
}
.placeholder.alternate { background: #0e2829; color: var(--ivory); }
.placeholder h2 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
}
.placeholder p { margin: 0; font-size: 1.2rem; }

footer {
  padding: 44px 24px;
  text-align: center;
  color: #d8d1c2;
  background: #07171a;
}
footer a { color: var(--gold-light); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  :root { --header-height: 84px; }
  .site-header { min-height: var(--header-height); padding: 10px 22px; }
  .brand img { width: 54px; height: 54px; }
  .brand-name { font-size: 2rem; }
  .brand-subtitle { font-size: .62rem; letter-spacing: .12em; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 24px 24px;
    background: rgba(8,25,29,.98);
    border-top: 1px solid rgba(211,166,71,.35);
  }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 10px 0; }
  .hero {
    min-height: 100svh;
    background-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247,232,191,.16), rgba(247,232,191,.04) 55%, transparent),
      linear-gradient(180deg, rgba(5,13,15,.30), transparent 30%, rgba(3,10,11,.25));
  }
  .hero-content {
    width: min(500px, 75vw);
    margin-left: clamp(24px, 7vw, 70px);
  }
}

@media (max-width: 640px) {
  .brand-subtitle { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.55rem; }
  .hero {
    min-height: 100svh;
    background-position: 68% center;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5,15,17,.18) 0%, rgba(5,15,17,.08) 24%, rgba(6,19,20,.77) 68%, rgba(4,14,16,.94) 100%);
  }
  .hero-content {
    align-self: end;
    width: auto;
    margin: 0;
    padding: 128px 24px 42px;
    color: var(--ivory);
    text-shadow: 0 2px 12px rgba(0,0,0,.8);
  }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .ornament { margin: 20px 0 18px; }
  .hero-content p { font-size: 1.18rem; }
  .hero-actions { width: 100%; }
  .button { min-height: 56px; }
}
