:root {
  --color-headline: #23402f;
  --color-text: #313131;
  --color-bg: #fcfbf8;
  --color-accent: #22623a;
  --color-button: #22623a;
  --color-button-text: #fff;
  --color-button-hover: #184d28;
  --color-box: #f3f7f1;
  --color-quote: #818181;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Topbar Zurück-Link */
.topbar-back {
  width: 100%;
  background: rgba(243, 247, 241, 0.7);
  padding: 0.5em 0;
  text-align: right;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-back .backlink {
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 0.98em;
  margin-right: 2em;
  transition: color 0.15s;
}
.topbar-back .backlink:hover,
.topbar-back .backlink:focus {
  color: #184d28;
}

/* Legal Section für Impressum & Datenschutz */
.legal-section {
  width: 100%;
  margin: 3.5rem 0 2.5rem 0;
  display: flex;
  justify-content: center;
}
.legal-content {
  max-width: 900px;
  width: 100%;
  padding: 0 1.2rem;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--color-text);
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.legal-content h1, .legal-content h2, .legal-content h3 {
  font-family: 'Merriweather', serif;
  color: var(--color-headline);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}
.legal-content h1 {
  font-size: 2rem;
  margin-top: 0;
}
.legal-content h2 {
  font-size: 1.3rem;
}
.legal-content h3 {
  font-size: 1.1rem;
}
.legal-content p {
  margin-bottom: 1.1em;
}
@media (max-width: 700px) {
  .legal-content {
    padding: 0 0.5rem;
    font-size: 1rem;
    text-align: left;
  }
}

main a {
  color: var(--color-text);
  text-decoration: underline;
  transition: color 0.15s;
}
main a:hover,
main a:focus {
  color: var(--color-accent);
}

footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem 0;
  background: none;
}
.footer-container {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  flex: 3;
  text-align: left;
}
.footer-right {
  flex: 1;
  text-align: right;
  font-size: 0.98em;
  white-space: nowrap;
}
.footer-left,
.footer-right {
  font-size: 0.9rem;
  color: #888;
}
.footer-right a {
  color: #888;
  font-size: 0.9rem;
  text-decoration: underline;
  margin-left: 0.7em;
  margin-right: 0.7em;
  transition: color 0.15s;
}
.footer-right a:hover,
.footer-right a:focus {
  color: var(--color-accent);
  text-decoration: none;
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    gap: 1.2rem;
  }
  .footer-left, .footer-right {
    text-align: center;
  }
  main, .hero, .about-author, .leseprobe {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }
  .hero__content, .about, .author, .leseprobe__info, .leseprobe__zitat {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }
  .hero__cover {
    justify-content: center !important;
    align-items: center !important;
  }
  .hero__content h1 {
    font-size: 1.3rem;
  }
  .hero__desc, .about p, .author p, .leseprobe__info p, .leseprobe__zitat blockquote {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero__content {
  flex: 1 1 360px;
  min-width: 320px;
}
.hero__cover {
  flex: 1 1 270px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 220px;
}
.hero__cover img {
  max-width: 100%;
  border-radius: 8px;
}
.hero__content h1 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--color-headline);
  margin: 0 0 1.2rem 0;
  line-height: 1.15;
}
.hero__desc {
  margin-bottom: 1.4rem;
  max-width: 400px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.7em 2em;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  text-align: center;
}
.button.primary {
  background: var(--color-button);
  color: var(--color-button-text);
}
.button.primary:hover {
  background: var(--color-button-hover);
}
.button.secondary {
  background: var(--color-box);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.button.secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Warteliste Modal */
.modal-content {
  box-shadow: 0 8px 32px rgba(34, 98, 58, 0.18);
  border-radius: 12px;
  font-family: 'Inter', Arial, sans-serif;
}
#warteliste-form label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
  color: var(--color-headline);
}
#warteliste-form input[type="text"],
#warteliste-form input[type="email"] {
  width: 100%;
  padding: 0.7em 1em;
  border: 1px solid #d2e3d7;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.07rem;
  margin-bottom: 1em;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#warteliste-form input[type="text"]:focus,
#warteliste-form input[type="email"]:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(34,98,58,0.12);
}
#warteliste-feedback {
  font-size: 1.05rem;
  color: var(--color-accent);
  text-align: center;
}

/* Zitat/Quote Section */
.quote {
  text-align: center;
  margin: 3.5rem 0 2.5rem;
}
.quote blockquote {
  font-family: 'Merriweather', serif;
  color: var(--color-quote);
  font-size: 1.4rem;
  font-style: italic;
  margin: 0;
  padding: 0;
}

/* About + Author Section */
.about-author {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.about {
  flex: 1 1 340px;
  min-width: 270px;
}
.about h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-headline);
  margin-bottom: 0.1rem;
}
.about h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--color-headline);
  margin: 0.4rem 0 0.7rem 0;
  font-weight: 700;
}
.author {
  flex: 1 1 260px;
  text-align: center;
  min-width: 220px;
}
.author__img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  background: #e6e6e6;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.author h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-headline);
  margin-bottom: 0.1rem;
}
.author h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--color-headline);
  margin: 0.4rem 0 0.7rem 0;
  font-weight: 700;
}
.author p {
  font-size: 1rem;
  margin: 0;
}

/* Leseprobe Section */
.leseprobe {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.leseprobe__info {
  flex: 1 1 340px;
  min-width: 270px;
}
.leseprobe__info h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-headline);
  margin-bottom: 0.1rem;
}
.leseprobe__info h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--color-headline);
  margin: 0.4rem 0 0.7rem 0;
  font-weight: 700;
}
.leseprobe__zitat {
  flex: 1 1 320px;
  background: var(--color-box);
  border-radius: 12px;
  padding: 1.5rem 1.2rem 1rem 1.2rem;
  margin-top: 1rem;
}
.leseprobe__zitat blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  color: var(--color-accent);
  font-style: italic;
  margin: 0;
}
.leseprobe__zitat footer {
  font-family: 'Inter', Arial, sans-serif;
  font-style: normal;
  color: var(--color-text);
  margin-top: 0.7rem;
  font-size: 1rem;
}

@media (max-width: 950px) {
  .hero, .about-author, .leseprobe {
    flex-direction: column;
    gap: 2rem;
  }
  .hero__cover, .about, .author, .leseprobe__info, .leseprobe__zitat {
    align-items: center;
    justify-content: center;
  }
}

/* Signature image (leseprobe.html) */
.signature {
  width: 30%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 2rem 0 0 0;
}

@media (max-width: 950px) {
  .signature {
    width: 40%;
  }
}