:root {
  --bg: #fcfac1;
  /* exakter Gelbton aus mainbg.jpg */
  --bg-soft: #fffdf0;
  /* Formularfelder */
  --ink: #2b2b24;
  /* Fließtext, warmes Fast-Schwarz */
  --muted: #5c5b45;
  /* Sekundärtext */
  --olive: #6d7a2e;
  /* Akzent: ISBN, Überschriften */
  --olive-deep: #525c1f;
  /* Buttons, Hover */
  --link: #7a5a1e;
  /* Textlinks, warmes Braun */
  --line: #cbc487;
  /* olivfarbene Haarlinie */
  --line-soft: #ded8a3;
  --head: "Source Serif 4", Georgia, "Times New Roman", serif;
  /* Ueberschriften, Highlights, Zitate */
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* Fliesstext */
  --serif: var(--head);
  /* Rueckwaerts-Alias */
  --read: 50rem;
  /* Lesebreite */
  --band: 77rem;
  /* max. Inhaltsbreite */
}

/* Source Serif 4 als Variable Font: jede Gewichtung von 200 bis 900 ist echt
   verfuegbar (also auch 450, 550, 650 ...), nicht nur 400/600. */
@font-face {
  font-family: "Source Serif 4";
  src: url('../fonts/sourceserif4-var.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url('../fonts/sourceserif4-vari.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* Source Sans 3 als Variable Font (Gegenstueck zu Source Serif 4, gleiche
   Entwurfsfamilie -> harmonische Proportionen). Achse 200-900. */
@font-face {
  font-family: "Source Sans 3";
  src: url('../fonts/sourcesans3-var.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url('../fonts/sourcesans3-vari.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nuernberg";
  src: url('../fonts/titel.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.8;
  /* grosszuegiger Zeilenabstand */
  letter-spacing: .01em;
  /* leichte Sperrung */
  -webkit-text-size-adjust: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--band);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.center {
  text-align: center;
}

a {
  font-family: var(--head);
  color: var(--link);
}

a:hover {
  color: var(--olive-deep);
}

:focus-visible {
  outline: 3px solid var(--olive-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 4px 0;
}

.skip:focus {
  left: 0;
}

/* ================= Banner + Navigation ================= */
.site {
  position: relative;
  max-width: var(--band);
  margin-inline: auto;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(7rem, 17vw, 13rem);
  padding: 1.5rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(22, 16, 8, .42), rgba(22, 16, 8, .42)),
    url('../img/banner-900.jpg');
  background-size: cover;
  background-position: center;
}

@media (min-width:720px) {
  .brand {
    background-image: linear-gradient(rgba(22, 16, 8, .42), rgba(22, 16, 8, .42)),
      url('../img/banner-1600.jpg');
  }
}

@media (min-width:1400px) {
  .brand {
    background-image: linear-gradient(rgba(22, 16, 8, .42), rgba(22, 16, 8, .42)),
      url('../img/banner-2400.jpg');
  }
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand__word {
  font-family: "Nuernberg", var(--serif);
  font-weight: 400;
  color: #fff8e0;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: .07em;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .85), 0 0 22px rgba(0, 0, 0, .6);
}

/* ---- Navigation ---- */
.nav {
  position: static;
  margin: 0;
  padding: 0;
}

.nav__cb {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav__burger {
  display: none;
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid var(--line);
  background: #fff8e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

/* Balken in CSS gezeichnet -> exakt zentriert, unabhaengig von Schriftmetriken */
.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.45rem;
  height: 2px;
  border-radius: 1px;
  background: var(--olive-deep);
  transform: translate(-50%, -50%);
}

.nav__burger::before {
  box-shadow: 0 -.45rem 0 var(--olive-deep), 0 .45rem 0 var(--olive-deep);
}

.nav__burger::after {
  opacity: 0;
}

/* zweiter Strich nur fuers × */
.nav__cb:checked~.nav__burger::before {
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav__cb:checked~.nav__burger::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav__burger-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: .55rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .2rem 1.4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav__list li {
  display: flex;
  align-items: center;
}

.nav__list li+li::before {
  content: "\2022";
  color: var(--olive);
  font-size: .8rem;
  margin-right: 1.4rem;
}

.nav__list a {
  display: block;
  font-family: var(--head);
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 1.32rem;
  line-height: 1.2;
  padding: .35rem .5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--olive);
  text-underline-offset: .40em;
}

.nav__list a[aria-current="page"] {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--olive);
  text-underline-offset: .40em;
}

/* ---- Mobil: Umschalter im Banner, Menue klappt darunter auf ---- */
@media (max-width:719.98px) {
  .brand {
    padding-right: 5rem;
    padding-left: 1.25rem;
  }

  /* Platz fuer den Umschalter */
  .brand__word {
    font-size: clamp(2.1rem, 9.5vw, 3.4rem);
    white-space: normal;
    /* darf auf 2 Zeilen umbrechen */
  }

  .nav__burger {
    display: block;
    position: absolute;
    top: 50%;
    right: .9rem;
    transform: translateY(-50%);
    z-index: 25;
    /* vertikal mittig im Banner */
  }

  .nav__list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    border-bottom: 2px solid var(--line);
    box-shadow: 0 6px 14px rgba(63, 59, 12, .18);
  }

  .nav__cb:checked~.nav__list {
    display: flex;
  }

  .nav__list li {
    display: block;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__list li+li::before {
    content: none;
  }

  .nav__list li:last-child {
    border-bottom: 0;
  }

  .nav__list a {
    padding: .85rem .7rem;
    text-align: center;
    border-radius: 0;
  }
}

/* ---- Abschnittstrenner + Zwischenueberschriften ---- */
.rule {
  max-width: var(--read);
  margin: 3rem auto;
  border: 0;
  border-top: 1px solid var(--line);
}

.section-title {
  font-family: var(--head);
  font-size: 1.55rem;
  font-weight: 550;
  color: var(--olive);
  line-height: 1.2;
  text-align: center;
  margin: 0 0 1.5rem;
}

main {
  display: block;
}

section {
  padding-block: 3rem;
}

.page-title {
  font-family: var(--head);
  font-size: 1.85rem;
  font-weight: 550;
  color: var(--olive);
  line-height: 1.2;
  text-align: center;
  margin: 0 0 1.5rem;
}

.datenschutz-header {
  font-family: var(--head);
  font-size: 1.85rem;
  font-weight: 550;
  line-height: 1.2;
  text-align: left;
  margin: 0 0 1.5rem;
}

h3 {
  font-family: var(--head);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 2rem 0 .5rem;
}

/* ---- Start / Hero (zentriert wie im Original) ---- */
.hero {
  text-align: center;
}

.hero .lede {
  max-width: var(--read);
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.cover {
  margin: 0 0 1.25rem;
}

.cover img {
  display: inline-block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 240 / 317;
  box-shadow: 0 6px 18px rgba(60, 55, 20, .18);
}

.isbns {
  font-family: var(--head);
  letter-spacing: 0;
  color: var(--olive);
  font-weight: 600;
  line-height: 1.9;
  margin: .5rem 0 1.75rem;
}

.isbns .price {
  color: var(--olive-deep);
}

.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--olive-deep);
  color: var(--bg-soft);
  text-decoration: none;
  padding: .7rem 1.7rem;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--olive);
  color: #fff;
}

@media (prefers-reduced-motion:reduce) {
  .btn {
    transition: none;
  }
}

/* ---- Lesetext ---- */
.prose {
  max-width: var(--read);
  margin-inline: auto;
}

.prose p {
  margin: 0 0 .8rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.sym {
  font-weight: 550;
}

.dropcap::first-letter {
  font-family: var(--head);
  font-weight: 600;
  color: var(--olive-deep);
  float: left;
  font-size: 3.525em;
  line-height: .72;
  padding: .16em .12em 0 0;
}

/* ---- Buchdaten ---- */
.facts {
  max-width: var(--read);
  margin: 0 auto;
}

.facts div {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.facts dt {
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--olive);
}

.facts dd {
  font-family: var(--head);
  margin: .2rem 0 0;
}

.blurbs {
  display: grid;
  gap: 1.5rem;
  max-width: var(--read);
  margin: 2rem auto 0;
}

.blurb {
  border: 1px solid var(--line);
  border-left: 3px solid var(--olive);
  background: var(--bg-soft);
  padding: 1.2rem 1.4rem;
}

.blurb h3 {
  margin: 0 0 .5rem;
  font-size: 1.6rem;
  color: var(--olive-deep);
  font-weight: 550;
}

.blurb p {
  margin: 0 0 1rem;
  font-size: 1.11rem;
  font-family: var(--body);
  line-height: 1.75;
  letter-spacing: .01em;
}

.blurb p:last-child {
  margin-bottom: 0;
}

/* ---- Formulare ---- */
.formwrap {
  max-width: 34rem;
  margin-inline: auto;
}

form {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.6rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  padding: .55rem .7rem;
  border: 1px solid var(--olive);
  border-radius: 3px;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--olive-deep);
  outline-offset: 1px;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field.short input {
  max-width: 8rem;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .8rem 1rem;
  margin: 0 0 1.1rem;
}

legend {
  font-size: 1rem;
  padding: 0 .4rem;
}

.radio {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .35rem 0;
  font-size: 1rem;
}

.radio input {
  margin-top: .35rem;
}

.req {
  color: var(--link);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note {
  max-width: var(--read);
  margin: 1.6rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

.note strong {
  color: var(--ink);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

footer .wrap {
  font-family: var(--head);
  letter-spacing: 0;
  padding-block: 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

footer a {
  font-family: var(--head);
  color: var(--link);
}

footer .sep {
  color: var(--olive);
  margin: 0 .6rem;
}