/* ============================================
   Das Restaurant-Prinzip — Website
   Farbpalette aus dem Buchcover:
   Navy:  #1e2a3a
   Gold:  #c9a84c
   Cream: #f2ead5
   Paper: #faf6ee
   Text:  #2c2c2c
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2c2c2c;
  background-color: #faf6ee;
  line-height: 1.7;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  color: #1e2a3a;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 0.5em; }
h2 { font-size: 1.6rem; margin-bottom: 0.4em; }
h3 { font-size: 1.2rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

a {
  color: #9a7a2e;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c9a84c;
}

/* --- Layout --- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
  background: #1e2a3a;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-bottom: 3px solid #c9a84c;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

.nav__brand {
  color: #f2ead5;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  padding: 1.1rem 0;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

.nav__brand:hover {
  color: #c9a84c;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav__links a {
  display: block;
  color: #d4cfc4;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a.active {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #f2ead5;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero (Startseite) --- */
.hero {
  background: linear-gradient(180deg, #1e2a3a 0%, #2a3a4d 100%);
  color: #f2ead5;
  padding: 5rem 0 4rem;
}

.hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero__cover {
  flex: 0 0 300px;
}

.hero__cover img {
  width: 300px;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.hero__text {
  flex: 1;
  text-align: left;
}

.hero__genre {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 0.3em;
  font-weight: 400;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #c9a84c;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero__author {
  font-size: 1rem;
  color: #d4cfc4;
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-block;
  background: #c9a84c;
  color: #1e2a3a;
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero__cta:hover {
  background: #d4b65e;
  color: #1e2a3a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* --- Gold Divider --- */
.gold-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  border: none;
  margin: 0;
}

/* --- Sections --- */
.section {
  padding: 3.5rem 0;
}

.section--cream {
  background: #f2ead5;
}

.section--paper {
  background: #faf6ee;
}

.section--navy {
  background: #1e2a3a;
  color: #f2ead5;
}

.section--navy h2 {
  color: #c9a84c;
}

.section__title {
  text-align: center;
  margin-bottom: 2rem;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c9a84c;
  margin: 0.8rem auto 0;
}

/* --- Section Inner (content constraint) --- */
.section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section__inner--wide {
  max-width: 1000px;
}

/* --- Klappentext --- */
.klappentext {
  font-size: 1.05rem;
}

.klappentext__opening {
  font-style: italic;
  font-size: 1.3rem;
  color: #9a7a2e;
  text-align: center;
  margin-bottom: 1.5rem;
}

.klappentext__closing {
  font-style: italic;
  color: #9a7a2e;
  text-align: center;
  margin-top: 1.5rem;
}

/* --- Zitate / Pull Quotes --- */
.quote-strip__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quote-card {
  background: #1e2a3a;
  color: #f2ead5;
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid #c9a84c;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* --- Leseprobe --- */
.leseprobe .section__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.leseprobe__chapter-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #1e2a3a;
}

.leseprobe p {
  text-indent: 1.5em;
  margin-bottom: 0.3em;
}

.leseprobe p:first-of-type,
.leseprobe p.no-indent {
  text-indent: 0;
}

.leseprobe .scene-break {
  text-align: center;
  margin: 2rem 0;
  font-size: 1.2rem;
  color: #c9a84c;
  text-indent: 0;
}

.leseprobe .bond {
  font-style: italic;
  text-align: center;
  margin: 1rem 0;
  color: #666;
  text-indent: 0;
}

.leseprobe .chef-speaks {
  font-weight: bold;
}

.leseprobe .inner-voice {
  font-style: italic;
}

.leseprobe .brennt-wartet {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 1.5rem 0;
  font-weight: bold;
  font-size: 1.1rem;
  text-indent: 0;
}

.leseprobe .hunger-finale {
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
  color: #1e2a3a;
  margin: 2rem 0;
  text-indent: 0;
  letter-spacing: 0.05em;
}

/* --- Inner Flap --- */
.inner-flap h2 {
  margin-bottom: 0.8rem;
}

.inner-flap__subtitle {
  font-style: italic;
  color: #9a7a2e;
  margin-bottom: 1.5rem;
}

.inner-flap__closing {
  color: #9a7a2e;
  text-align: center;
  margin-top: 1.5rem;
}

/* --- Autor --- */
.autor-section {
  max-width: 680px;
  margin: 0 auto;
}

.autor-section__text {
  flex: 1;
}

.autor-photo {
  float: left;
  width: 180px;
  margin: 0.3rem 1.5rem 1rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* --- Downloads --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: #faf6ee;
  border: 1px solid #e0dbd0;
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.download-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.download-card__title {
  font-size: 1.1rem;
  color: #1e2a3a;
  margin-bottom: 0.5rem;
}

.download-card__desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.download-card__btn {
  display: inline-block;
  background: #c9a84c;
  color: #1e2a3a;
  padding: 0.5rem 1.5rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: 'Georgia', serif;
  transition: background 0.2s;
  text-decoration: none;
}

.download-card__btn:hover {
  background: #d4b65e;
  color: #1e2a3a;
}

/* --- Grenzfälle Akkordeon --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid #e0dbd0;
}

.accordion__header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: #1e2a3a;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.accordion__header:hover {
  color: #c9a84c;
}

.accordion__icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #c9a84c;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__item.open .accordion__body {
  max-height: 3000px;
}

.accordion__content {
  padding: 0 0 1.5rem;
}

.grenzfall {
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid #e0dbd0;
}

.grenzfall__aufgabe {
  font-weight: bold;
  color: #1e2a3a;
}

.grenzfall__bereich {
  color: #9a7a2e;
  font-style: italic;
}

.grenzfall__erklaerung {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.2rem;
}

/* --- Kontakt --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: #1e2a3a;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #d4cfc4;
  border-radius: 3px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c9a84c;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-submit {
  background: #c9a84c;
  color: #1e2a3a;
  border: none;
  padding: 0.8rem 2rem;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #d4b65e;
}

/* --- Footer --- */
.footer {
  background: #1e2a3a;
  color: #8a8577;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  margin: 0;
}

.footer a {
  color: #c9a84c;
  text-decoration: none;
}

.footer a:hover {
  color: #d4b65e;
}

.footer__links {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.footer__links a {
  padding: 0 0.6rem;
}

.footer__links a:not(:last-child) {
  border-right: 1px solid #4a4a4a;
}

/* --- Legal pages --- */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal h1 {
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e2a3a;
  color: #d4cfc4;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 200;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner a {
  color: #c9a84c;
}

.cookie-banner__btn {
  background: #c9a84c;
  color: #1e2a3a;
  border: none;
  padding: 0.6rem 1.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.cookie-banner__btn:hover {
  background: #d4b65e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* --- Page Header (Unterseiten) --- */
.page-header {
  background: linear-gradient(180deg, #1e2a3a 0%, #2a3a4d 100%);
  color: #f2ead5;
  padding: 2.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: 2rem;
}

.page-header__subtitle {
  color: #c9a84c;
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  html { font-size: 16px; }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    padding: 0 1.5rem;
  }

  .hero__text {
    text-align: center;
  }

  .hero__cover {
    flex: none;
  }

  .hero__cover img {
    width: 220px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e2a3a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 0.8rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .nav__toggle {
    display: block;
  }

  .brennt-wartet {
    gap: 2rem !important;
  }

  .autor-section {
    flex-direction: column;
  }

  .quote-strip__cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    padding: 0 1.5rem;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section__inner {
    padding: 0 1.5rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}
