@import url("assets/fonts.css");

:root {
  --papier: #f6efe1;
  --papier-dunkel: #ece0c8;
  --tinte: #3b2a1d;
  --braun: #8a5a2b;
  --gold: #b8892f;
  --rot: #8e2b22;
  --blau: #1d3049;
  --gruen: #6b8e4e;
  --weiss: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--rot); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Zierlinie */
.zier { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); margin: 14px auto 0; }
.zier::before, .zier::after { content: ""; height: 1px; width: 70px; background: currentColor; }
.zier span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Kopfzeile */
header { border-bottom: 1px solid #d9c7a3; background: var(--papier); position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte);
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 21px; }
.marke img { width: 30px; height: 30px; object-fit: contain; }
nav a { text-decoration: none; color: var(--tinte); margin-left: 24px; font-size: 16px; }
nav a.knopf-klein { background: var(--rot); color: #fff; padding: 8px 16px; border-radius: 4px; }
@media (max-width: 720px) { nav a:not(.knopf-klein) { display: none; } }

/* Knöpfe */
.knopf { display: inline-block; background: var(--rot); color: #fff; text-decoration: none; font-family: 'Lora', serif;
  font-weight: 600; padding: 14px 28px; border-radius: 4px; font-size: 17px; box-shadow: 0 3px 0 #5e1b15; transition: transform .1s; }
.knopf:hover { transform: translateY(-1px); }
.knopf.hell { background: transparent; color: var(--rot); border: 2px solid var(--rot); box-shadow: none; }

/* Hero */
.hero { padding: 64px 0 56px; text-align: center;
  background: radial-gradient(ellipse at center top, #fbf6ea 0%, var(--papier) 70%); }
.hero .ober { font-style: italic; color: var(--braun); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; margin-top: 8px; }
.hero p.lead { max-width: 640px; margin: 18px auto 28px; font-size: 19px; }
.hero-cover { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin: 40px auto 0; max-width: 760px; }
.hero-cover img { width: 30%; border-radius: 3px; box-shadow: 0 18px 40px rgba(59,42,29,.35); }
.hero-cover img:nth-child(2) { width: 34%; }

/* Abschnitte */
section { padding: 72px 0; }
.titel { text-align: center; margin-bottom: 44px; }
.titel h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.titel p { max-width: 620px; margin: 14px auto 0; color: #5b4535; }

/* Buchkarten */
.buecher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .buecher { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.buch { background: var(--weiss); border: 1px solid #e0cfae; border-radius: 6px; padding: 26px; display: flex; flex-direction: column; }
.buch img.cover { width: 70%; margin: 0 auto 22px; border-radius: 2px; box-shadow: 0 12px 28px rgba(59,42,29,.3); }
.buch h3 { font-size: 25px; font-weight: 800; }
.buch .unter { font-style: italic; color: var(--braun); font-size: 16px; margin: 4px 0 12px; }
.buch ul { padding-left: 20px; margin: 0 0 18px; font-size: 16px; }
.buch ul li { margin-bottom: 4px; }
.buch .preis { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 30px; margin-top: auto; }
.buch .preis small { font-family: 'Lora', serif; font-weight: 400; font-size: 14px; color: #6f5a48; display: block; }
.buch .aktionen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.buch .aktionen .knopf { flex: 1; text-align: center; padding: 12px 14px; font-size: 16px; }

/* Paket */
.paket { background: var(--blau); color: var(--papier); }
.paket .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .paket .wrap { grid-template-columns: 1fr; } }
.paket h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.paket .gold { color: #d9b062; font-style: italic; }
.paket ul { padding-left: 22px; }
.paket .preiszeile { display: flex; align-items: baseline; gap: 16px; margin: 20px 0 24px; flex-wrap: wrap; }
.paket .alt { text-decoration: line-through; color: #b9c3d1; font-size: 22px; }
.paket .neu { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 46px; color: #fff; }
.paket .spar { background: #d9b062; color: var(--blau); font-weight: 600; padding: 4px 12px; border-radius: 20px; font-size: 15px; }
.paket .knopf { background: #d9b062; color: var(--blau); box-shadow: 0 3px 0 #9c7a39; }
.paket .stapel { display: flex; justify-content: center; }
.paket .stapel img { width: 33%; border-radius: 2px; box-shadow: 0 14px 30px rgba(0,0,0,.45); margin-left: -6%; }
.paket .stapel img:first-child { margin-left: 0; transform: rotate(-5deg); }
.paket .stapel img:last-child { transform: rotate(5deg); }
.paket .klein { font-size: 14px; color: #b9c3d1; }

/* So funktioniert's */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }
.schritt .nr { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); color: var(--rot);
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.schritt h3 { font-size: 21px; margin-bottom: 6px; }
.schritt p { margin: 0; font-size: 16px; color: #5b4535; }

/* Über */
.ueber { background: var(--papier-dunkel); }
.ueber .wrap { max-width: 760px; text-align: center; }
.ueber .zahlen { display: flex; justify-content: center; gap: 48px; margin: 28px 0; flex-wrap: wrap; }
.ueber .zahlen b { font-family: 'Playfair Display', serif; font-size: 36px; display: block; color: var(--rot); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #d9c7a3; padding: 16px 0; }
.faq summary { cursor: pointer; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: #5b4535; }

/* Leseprobe (Overlay) */
dialog { border: none; border-radius: 8px; padding: 0; max-width: 960px; width: 94vw; background: var(--papier); }
dialog::backdrop { background: rgba(30,20,12,.7); }
dialog .kopf { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #d9c7a3; }
dialog .kopf h3 { font-size: 22px; }
dialog button.zu { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--tinte); }
dialog .seiten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; max-height: 80vh; overflow: auto; }
@media (max-width: 640px) { dialog .seiten { grid-template-columns: 1fr; } }
dialog .seiten img { box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* Fußzeile */
footer { background: #2b1d13; color: #d8c8ad; padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #d8c8ad; margin-right: 18px; }

/* Rechtstexte */
.recht { max-width: 760px; margin: 0 auto; padding: 56px 20px; }
.recht h1 { font-size: 40px; margin-bottom: 24px; }
.recht h2 { font-size: 24px; margin: 32px 0 8px; }
.recht p, .recht li { font-size: 17px; }

/* Bücher direkt unter dem Kopfbereich */
.hero { padding-bottom: 8px; }
.hero p.lead { margin-bottom: 0; }
.buecher-direkt { padding-top: 32px; }

/* Angebotsleiste oben */
.angebot-leiste { display: block; background: var(--rot); color: #fff; text-align: center; padding: 10px 16px; font-size: 16px; text-decoration: none; }
.angebot-leiste span { text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.angebot-leiste:hover { background: #7a241d; }
header { top: 0; }

/* Kompakter Kopfbereich – Bücher und Preise sofort sichtbar */
.hero { padding: 36px 0 4px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.hero p.lead { margin: 10px auto 0; font-size: 18px; }
.hero .zier { display: none; }
.buecher-direkt { padding-top: 26px; }
.buch { padding: 20px 22px; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.buch img.cover { width: 52%; margin-bottom: 16px; }
.buch h3 { font-size: 22px; }
.buch ul { font-size: 15px; margin-bottom: 12px; }
.buch .preis { margin-top: auto; }

/* Hover: Karte wird größer */
@media (hover: hover) {
  .buch:hover { transform: scale(1.05); box-shadow: 0 22px 50px rgba(59,42,29,.22); z-index: 2; }
}

/* Hinweis auf das Paket in der Karte */
.paket-hinweis { display: block; margin-top: 10px; background: #fbf1d9; border: 1px dashed var(--gold); color: var(--rot);
  text-align: center; font-size: 14px; font-weight: 600; padding: 6px 8px; border-radius: 4px; text-decoration: none; }
.paket-hinweis:hover { background: #f6e6bd; }

/* Upsell vor dem Kauf eines Einzelbuchs */
#upsell { max-width: 560px; text-align: center; padding: 0; overflow: visible; }
#upsell .zu { position: absolute; right: 12px; top: 8px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--tinte); }
.upsell-inhalt { padding: 34px 32px 26px; }
.upsell-ober { color: var(--rot); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
#upsell h3 { font-size: 28px; font-weight: 800; margin: 8px 0 18px; }
.upsell-stapel { display: flex; justify-content: center; margin-bottom: 18px; }
.upsell-stapel img { width: 26%; border-radius: 2px; box-shadow: 0 10px 24px rgba(59,42,29,.35); margin-left: -4%; }
.upsell-stapel img:first-child { margin-left: 0; transform: rotate(-5deg); }
.upsell-stapel img:last-child { transform: rotate(5deg); }
#upsell p { font-size: 17px; margin: 0 0 20px; }
.upsell-ja { display: block; font-size: 18px; padding: 16px; }
.upsell-nein { display: inline-block; margin-top: 14px; color: #6f5a48; font-size: 15px; }
#upsell { overflow: auto; max-height: 92vh; }
.upsell-stapel img { width: 21%; }
@media (max-height: 700px) { .upsell-stapel { display: none; } #upsell h3 { font-size: 24px; } }

/* Kasse */
header .sicher { font-size: 15px; color: #5b4535; }
.kasse { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
@media (max-width: 860px) { .kasse { grid-template-columns: 1fr; gap: 24px; } }
.kasse h1 { font-size: 32px; font-weight: 800; margin: 10px 0 18px; }
.zurueck { font-size: 15px; color: #6f5a48; text-decoration: none; }
.posten { display: flex; gap: 18px; align-items: center; background: var(--weiss); border: 1px solid #e0cfae; border-radius: 6px; padding: 16px; }
.posten-cover { display: flex; flex-shrink: 0; }
.posten-cover img { width: 70px; border-radius: 2px; box-shadow: 0 6px 14px rgba(59,42,29,.3); margin-left: -18px; }
.posten-cover img:first-child { margin-left: 0; }
.posten-titel { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 20px; line-height: 1.2; }
.posten-info { font-size: 14px; color: #6f5a48; margin: 4px 0; }
.posten-preis { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 26px; color: var(--rot); }
.paket-tipp { margin-top: 14px; background: #fbf1d9; border: 1px dashed var(--gold); border-radius: 6px; padding: 12px 14px; font-size: 15px; }
.paket-tipp a { display: inline-block; margin-top: 4px; font-weight: 600; }
.so-gehts { margin: 22px 0 16px; padding-left: 22px; font-size: 16px; }
.so-gehts li { margin-bottom: 8px; }
.kleingedruckt { font-size: 13px; color: #6f5a48; }
.zahlung { background: #fff; border: 1px solid #e0cfae; border-radius: 8px; padding: 8px; min-height: 520px; }
.danke ol li { margin-bottom: 8px; }
