/* ==========================================================================
   Erst öffnen, wenn ich weg bin – Landingpage Stylesheet
   Stand: Oktober 2026
   ========================================================================== */

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

:root {
  /* Farbpalette laut Vorgabe */
  --nachtblau: #1F2A44;
  --creme: #F4F0E7;
  --papier: #FBF9F4;
  --tinte: #222222;
  --bronze: #7A5C2E;
  --siegelrot: #7A1F24;

  /* Erweiterte Nuancen & Hilfswerte */
  --siegelrot-hover: #96282E;
  --siegelrot-active: #63171B;
  --bronze-soft: rgba(122, 92, 46, 0.18);
  --bronze-subtle: rgba(122, 92, 46, 0.08);
  --nachtblau-dark: #151D30;
  --nachtblau-light: #2A3859;
  
  /* Typografie */
  --font-serif: "Book Antiqua", "Palatino Linotype", Palatino, "URW Palladio L", "EB Garamond", Georgia, serif;
  
  /* Schatten & Radien im Buchbinder-Stil */
  --shadow-soft: 0 4px 20px rgba(31, 42, 68, 0.06);
  --shadow-card: 0 6px 24px rgba(31, 42, 68, 0.08);
  --shadow-book: 0 12px 36px rgba(31, 42, 68, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* Layout */
  --max-content-width: 1140px;
  --max-text-width: 68ch;
}

/* --------------------------------------------------------------------------
   Basis & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-serif);
  font-size: 18px; /* Mindestens 18px Grundschrift */
  line-height: 1.6;
  color: var(--tinte);
  background-color: var(--creme);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--creme);
  color: var(--tinte);
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bronze);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--siegelrot);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Typografie & Kapitälchen
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tinte);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

p {
  max-width: var(--max-text-width);
  margin-bottom: 1.25rem;
}

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

/* Kapitälchen-Abschnittsüberschriften wie im Buch: TEIL 1 · ICH */
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.16em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   Container & Sektionen
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-tight {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Zarte Trennlinie im Buchstil */
.book-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3.5rem auto;
  max-width: 280px;
  color: var(--bronze);
  opacity: 0.6;
}

.book-divider::before,
.book-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--bronze);
}

.book-divider-diamond {
  font-size: 0.9rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Buttons (Siegelrot nur für Kauf-Buttons)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

/* Siegelrot nur für den Kauf-Button */
.btn-primary {
  background-color: var(--siegelrot);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(122, 31, 36, 0.28);
}

.btn-primary:hover {
  background-color: var(--siegelrot-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(122, 31, 36, 0.38);
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: var(--siegelrot-active);
  transform: translateY(0);
}

.btn-header {
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
}

.btn-hero {
  padding: 1.05rem 2.2rem;
  font-size: 1.15rem;
}

.btn-seal-icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Hinweiskästen (wie im Buch: cremefarben mit feinem Bronzerahmen)
   -------------------------------------------------------------------------- */
.notice-box {
  background-color: var(--papier);
  border: 1px solid var(--bronze);
  border-radius: var(--radius-sm);
  padding: 1.6rem 2rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.notice-box p {
  margin-bottom: 0.75rem;
  max-width: 100%;
}

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

.notice-box strong {
  color: var(--bronze);
  font-weight: 700;
}

.notice-box-important {
  border-width: 1.5px;
  background-color: #FAF6EE;
  box-shadow: 0 4px 20px rgba(122, 92, 46, 0.12);
}

/* --------------------------------------------------------------------------
   7.1 Kopfleiste (Nachtblau)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--nachtblau);
  color: var(--creme);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  gap: 1.25rem;
}

.header-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--creme);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.header-brand:hover {
  color: #FFFFFF;
}

/* Navigation: Auf dem Smartphone ausgeblendet, ab Tablet sichtbar */
.header-nav {
  display: none;
}

.header-nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.header-nav-link {
  color: var(--creme);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.header-nav-link:hover {
  opacity: 1;
  color: #FFFFFF;
  text-decoration: underline;
}

.header-cta {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7.2 Hero
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.04) 0%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-cover-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cover-wrapper {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.hero-cover {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: var(--shadow-book);
  background-color: var(--nachtblau);
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bronze);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.hero-pitch {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--tinte);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-size: 0.92rem;
  color: #555555;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   7.3 Das Problem
   -------------------------------------------------------------------------- */
.problem-section {
  background-color: var(--creme);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.problem-image-col {
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--bronze-soft);
}

.problem-image-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.problem-card {
  background-color: var(--papier);
  border-left: 4px solid var(--bronze);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.problem-card h3 {
  font-size: 1.18rem;
  color: var(--siegelrot);
  margin-bottom: 0.4rem;
}

.problem-card p {
  font-size: 1.02rem;
  margin-bottom: 0;
  color: var(--tinte);
}

/* --------------------------------------------------------------------------
   7.4 Die Lösung
   -------------------------------------------------------------------------- */
.solution-section {
  background-color: #EDE8DC;
  border-top: 1px solid var(--bronze-soft);
  border-bottom: 1px solid var(--bronze-soft);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.solution-content {
  display: flex;
  flex-direction: column;
}

.solution-text {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.solution-image-col {
  display: flex;
  justify-content: center;
}

.solution-image-frame {
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--bronze-soft);
}

/* --------------------------------------------------------------------------
   7.5 Was drin ist (Raster)
   -------------------------------------------------------------------------- */
.content-grid-section {
  background-color: var(--creme);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.content-tile {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--bronze);
}

.content-tile-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--bronze-subtle);
}

.content-tile-header h3 {
  font-size: 1.25rem;
  color: var(--nachtblau);
  margin-bottom: 0;
}

.content-tile-tag {
  font-size: 0.8rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--bronze);
  font-weight: 700;
}

.content-tile p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--tinte);
  margin-bottom: 0.85rem;
}

.content-tile-image {
  margin-top: auto;
  padding-top: 0.75rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content-tile-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bronze-soft);
}

.content-tile-secret {
  background-color: #FAF4EB;
  border: 1.5px solid var(--bronze);
}

.content-tile-secret h3 {
  color: var(--siegelrot);
}

/* --------------------------------------------------------------------------
   7.6 In neun Schritten zum versiegelten Buch
   -------------------------------------------------------------------------- */
.steps-section {
  background-color: #F1ECE1;
  border-top: 1px solid var(--bronze-soft);
  border-bottom: 1px solid var(--bronze-soft);
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.8rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
}

.step-number {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: var(--nachtblau);
  color: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--bronze);
}

.step-body {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nachtblau);
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 1.05rem;
  color: var(--tinte);
  margin-bottom: 0.75rem;
}

.step-image {
  margin-top: 0.85rem;
  max-width: 620px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--bronze-soft);
}

.step-image img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   7.7 Was dieses Buch besonders macht
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--creme);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.feature-icon-wrapper {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  background-color: var(--bronze-subtle);
  border-radius: 50%;
  border: 1px solid var(--bronze-soft);
}

.feature-icon-wrapper svg {
  width: 1.8rem;
  height: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--nachtblau);
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7.9 Für wen?
   -------------------------------------------------------------------------- */
.audience-section {
  background-color: #EDE8DC;
  border-top: 1px solid var(--bronze-soft);
  border-bottom: 1px solid var(--bronze-soft);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.audience-card {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.audience-check {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background-color: var(--bronze-subtle);
  border: 1px solid var(--bronze);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: bold;
}

.audience-card p {
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--tinte);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7.11 Über den Autor
   -------------------------------------------------------------------------- */
.author-section {
  background-color: var(--creme);
}

.author-card {
  background-color: var(--papier);
  border: 1px solid var(--bronze);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.author-quote {
  font-size: 1.22rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--tinte);
  margin-bottom: 1.2rem;
}

.author-cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--bronze);
  font-size: 1.05rem;
  text-align: right;
}

/* --------------------------------------------------------------------------
   7.12 Häufige Fragen (Akkordeon mit <details>/<summary>)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: #EDE8DC;
  border-top: 1px solid var(--bronze-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--bronze);
}

.faq-summary {
  padding: 1.35rem 1.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nachtblau);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bronze);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-summary::after {
  content: "–";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem 1.6rem;
  color: var(--tinte);
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-answer p {
  max-width: 100%;
}

.faq-cta-btn {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   7.13 Abschluss-CTA (Nachtblau)
   -------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--nachtblau);
  color: var(--creme);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-cover {
  width: 120px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.cta-banner-lead {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--creme);
  max-width: 100%;
  text-align: center;
}

.cta-banner-button-wrapper {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   7.14 Fußzeile (Nachtblau)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--nachtblau-dark);
  color: rgba(244, 240, 231, 0.8);
  padding: 2.5rem 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(122, 92, 46, 0.3);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.footer-links a {
  color: var(--creme);
  text-decoration: underline;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.footer-sep {
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Unterseiten-Stile (Impressum & Datenschutz)
   -------------------------------------------------------------------------- */
.subpage-main {
  padding: 4.5rem 0 6rem 0;
  flex: 1;
}

.subpage-card {
  background-color: var(--papier);
  border: 1px solid var(--bronze-soft);
  border-radius: var(--radius-sm);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  max-width: 780px;
  margin: 0 auto;
}

.subpage-card h1 {
  margin-bottom: 1.5rem;
  color: var(--nachtblau);
}

.subpage-card h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.subpage-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--bronze);
  text-decoration: none;
}

.subpage-back-link:hover {
  color: var(--siegelrot);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
/* Tablet & Desktop (ab 768px) */
@media (min-width: 768px) {
  .header-nav {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 360px 1fr;
    gap: 3.5rem;
  }

  .problem-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .solution-grid {
    grid-template-columns: 1fr 380px;
    gap: 3.5rem;
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .content-tile-full {
    grid-column: span 2;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Große Bildschirme (ab 1024px) */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 400px 1fr;
    gap: 4.5rem;
  }

  .content-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .content-tile-wide {
    grid-column: span 2;
  }

  .content-tile-full {
    grid-column: span 3;
  }

  .section {
    padding: 5.5rem 0;
  }
}
