/* ========================================
   Mensch bleiben im digitalen Zeitalter
   Design-Serie: Konstantin fliegt
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #2a2520;
  background-color: #f5f2ed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background-color: #1a1510; color: #f5f2ed; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 2px solid #1a1510;
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100%;
  background: #1a1510; color: #f5f2ed;
  padding: 0.75rem 1.5rem; font-size: 0.875rem;
  font-weight: 500; letter-spacing: 0.05em; z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #1a1510;
  line-height: 1.2;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #4a4038;
  font-weight: 500;
  margin-bottom: 3rem;
  font-family: 'Raleway', sans-serif;
}

.section-label-light { color: #c8c0b4; }

.section-heading {
  font-size: 2.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.section-heading-light { color: #f5f2ed; }

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 50;
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
  background: rgba(245, 242, 237, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1.5rem 0;
}

.site-header.scrolled {
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(200, 192, 180, 0.3);
  padding: 1rem 0;
}

.nav-inner {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #1a1510;
}

.nav-links { display: none; gap: 2.5rem; }

.nav-links a {
  font-size: 0.875rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #4a4038;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: #1a1510; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px;
  background: #1a1510; transition: all 0.3s ease;
}

.nav-links.open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(245, 242, 237, 0.98); backdrop-filter: blur(12px);
  flex-direction: column; padding: 2rem 1.5rem; gap: 1.5rem;
  border-bottom: 1px solid rgba(200, 192, 180, 0.3);
}

/* ========================================
   HERO
   ======================================== */
.hero-section {
  padding: 8rem 0 4rem;
  background: #f5f2ed;
}

.hero-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}

.hero-cover-wrapper {
  position: relative; display: inline-block; justify-self: center;
}

.hero-cover-shadow {
  position: absolute; inset: 0; background: #c8c0b4;
  transform: translate(1rem, 1rem); transition: transform 0.3s ease;
}
.hero-cover-wrapper:hover .hero-cover-shadow {
  transform: translate(1.5rem, 1.5rem);
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #c8c0b4;
  margin: 1.5rem 0 1.5rem 0;
  letter-spacing: 0.02em;
}

.hero-cover-img {
  position: relative; z-index: 10;
  width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.hero-text { text-align: center; }

.hero-meta {
  font-size: 0.875rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: #4a4038; margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem; font-weight: 300; letter-spacing: 0.08em;
  color: #1a1510; line-height: 1.1; margin-bottom: 1rem;
}
.hero-title-small {
  font-size: 0.55em; letter-spacing: 0.12em;
  display: block; margin-top: 0.25em;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic;
  color: #4a4038; margin-bottom: 2rem;
}

.hero-intro {
  font-size: 1.125rem; color: #2a2520; line-height: 1.9;
  max-width: 36rem; margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; padding-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; padding: 1rem 2.5rem;
  background: #1a1510; color: #f5f2ed;
  font-size: 0.875rem; letter-spacing: 0.2em;
  text-transform: uppercase; transition: all 0.3s ease;
}
.btn-primary:hover {
  background: #2a2520; transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block; padding: 1rem 2.5rem;
  background: transparent; color: #1a1510;
  font-size: 0.875rem; letter-spacing: 0.2em;
  text-transform: uppercase; border: 1px solid #1a1510;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: #1a1510; color: #f5f2ed;
}

.btn-cta-outline {
  display: inline-block; padding: 1rem 2.5rem;
  background: transparent; color: #f5f2ed;
  font-size: 0.875rem; letter-spacing: 0.2em;
  text-transform: uppercase; border: 1px solid #f5f2ed;
  transition: all 0.3s ease;
}
.btn-cta-outline:hover {
  background: #f5f2ed; color: #1a1510;
}

/* ========================================
   BOOK SECTION
   ======================================== */
.book-section {
  padding: 7rem 0; background: #e8e2d9;
}

.book-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
}

.book-description {
  max-width: 48rem;
}

.book-lead {
  font-size: 1.25rem; font-weight: 500; color: #1a1510;
  line-height: 1.8; margin-bottom: 1.5rem;
}

.book-description p {
  font-size: 1.05rem; line-height: 1.9; color: #2a2520;
  margin-bottom: 1.25rem;
}

/* ========================================
   CHAPTERS SECTION
   ======================================== */
.chapters-section {
  padding: 7rem 0; background: #f5f2ed;
}

.chapters-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
}

.chapters-intro {
  color: #2a2520; font-size: 1.125rem;
  max-width: 42rem; margin-bottom: 3rem;
}

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

.chapter-card {
  background: #e8e2d9;
  padding: 2rem;
  border: 1px solid rgba(200, 192, 180, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chapter-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.chapter-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  color: #c8c0b4; letter-spacing: 0.1em;
  display: block; margin-bottom: 0.75rem;
}

.chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400;
  color: #1a1510; margin-bottom: 0.35rem; line-height: 1.25;
}

.chapter-subtitle {
  font-style: italic; color: #4a4038;
  font-size: 0.95rem; margin-bottom: 0.75rem;
}

.chapter-desc {
  color: #2a2520; font-size: 0.95rem; line-height: 1.7;
}

/* ========================================
   GEBOTE SECTION
   ======================================== */
.gebote-section {
  padding: 7rem 0; background: #1a1510; color: #f5f2ed;
}

.gebote-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
}

.gebote-intro {
  color: #c8c0b4; font-size: 1.125rem;
  max-width: 42rem; margin-bottom: 3rem;
}

.gebote-list {
  display: flex; flex-direction: column;
  gap: 1rem; max-width: 54rem;
}

.gebot-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #c8c0b4;
  padding: 1.75rem 2rem;
  transition: all 0.3s ease;
}

.gebot-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #f5f2ed;
}

.gebot-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem; letter-spacing: 0.2em;
  color: #c8c0b4; display: block; margin-bottom: 0.5rem;
}

.gebot-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400;
  color: #f5f2ed; margin-bottom: 0.5rem; line-height: 1.3;
}

.gebot-text {
  color: #b0a89c; line-height: 1.8; font-size: 0.95rem;
}

/* ========================================
   AUTHOR SECTION
   ======================================== */
.author-section {
  padding: 7rem 0; background: #e8e2d9;
}

.author-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
}

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

.author-photo-wrapper {
  position: relative; display: inline-block; justify-self: center;
}

.author-photo-shadow {
  position: absolute; inset: 0; background: #c8c0b4;
  transform: translate(1rem, 1rem); transition: transform 0.3s ease;
}
.author-photo-wrapper:hover .author-photo-shadow {
  transform: translate(1.5rem, 1.5rem);
}

.author-photo {
  position: relative; z-index: 10;
  width: 240px; aspect-ratio: 3 / 4; object-fit: cover;
  filter: grayscale(20%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.author-bio p {
  font-size: 1rem; line-height: 1.9; color: #2a2520;
  margin-bottom: 1rem;
}

.author-bio-lead {
  font-size: 1.15rem !important; font-weight: 500 !important;
  color: #1a1510 !important;
}

.author-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic;
  color: #4a4038; line-height: 1.6;
  border-left: 3px solid #c8c0b4;
  padding-left: 1.5rem; margin: 2rem 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 7rem 0; background: #1a1510;
  text-align: center;
}

.cta-content {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
}

.cta-heading {
  font-size: 2.25rem; color: #f5f2ed;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}

.cta-date {
  color: #c8c0b4; font-size: 1.125rem; margin-bottom: 3rem;
}

.cta-buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}

.cta-note {
  color: #b0a89c; font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #1a1510; color: #d0c8bc;
  padding: 4rem 0; border-top: 4px solid #e8e2d9;
}

.footer-main {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #e8e2d9;
  display: block; margin-bottom: 0.5rem;
}

.footer-tagline { font-size: 0.875rem; color: #b0a89c; }

.footer-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #e8e2d9; margin-bottom: 0.75rem;
}

.footer-col a {
  display: block; font-size: 0.875rem; color: #b0a89c;
  margin-bottom: 0.5rem; transition: color 0.3s ease;
}
.footer-col a:hover { color: #e8e2d9; }

.footer-legal {
  width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center; color: #b0a89c;
  font-size: 0.875rem; letter-spacing: 0.1em;
}
.footer-legal span { margin: 0 0.75rem; }
.footer-legal a { color: #b0a89c; transition: color 0.3s ease; }
.footer-legal a:hover { color: #e8e2d9; }

/* ========================================
   FADE-IN
   ======================================== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-visible {
  opacity: 1; transform: translateY(0);
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-nav {
  background: #f5f2ed;
  border-bottom: 1px solid rgba(200, 192, 180, 0.3);
  padding: 1.25rem 0;
}
.legal-nav-inner {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.legal-back-link {
  font-size: 0.875rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #4a4038; transition: color 0.3s ease;
}
.legal-back-link:hover { color: #1a1510; }

.legal-main {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 5rem 1.5rem;
}
.legal-content { max-width: 48rem; }
.legal-content h1 { font-size: 2.25rem; letter-spacing: 0.08em; margin-bottom: 4rem; }
.legal-content h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.legal-body {
  display: flex; flex-direction: column; gap: 3rem;
  font-size: 1rem; line-height: 1.9; color: #2a2520;
}
.legal-body section { display: flex; flex-direction: column; }
.legal-body p + p { margin-top: 1rem; }
.legal-body address { font-style: normal; }
.legal-body a {
  color: #1a1510; text-decoration: underline;
  text-underline-offset: 4px; transition: color 0.3s ease;
}
.legal-body a:hover { color: #4a4038; }

.legal-footer {
  background: #1a1510; color: #d0c8bc;
  padding: 2rem 0; border-top: 4px solid #e8e2d9;
}
.legal-footer-inner {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem;
  text-align: center; color: #b0a89c; font-size: 0.875rem; letter-spacing: 0.1em;
}
.legal-footer-inner span { margin: 0 0.75rem; }
.legal-footer-inner a { color: #b0a89c; transition: color 0.3s ease; }
.legal-footer-inner a:hover { color: #e8e2d9; }
.legal-footer-inner .current-page { color: #d0c8bc; }

/* ========================================
   RESPONSIVE — Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .nav-inner, .hero-content, .book-content, .chapters-content,
  .gebote-content, .author-content, .cta-content,
  .footer-main, .footer-legal,
  .legal-nav-inner, .legal-main {
    padding-left: 3rem; padding-right: 3rem;
  }

  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  .hero-title { font-size: 4rem; }
  .section-heading { font-size: 3rem; }

  .chapters-grid {
    grid-template-columns: 1fr 1fr;
  }

  .author-grid {
    grid-template-columns: 260px 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(4, 1fr);
  }

  .legal-content h1 { font-size: 3rem; }
}

/* ========================================
   RESPONSIVE — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 300px 1fr;
    text-align: left;
  }

  .hero-text { text-align: left; }
  .hero-intro { margin-left: 0; }
  .hero-buttons { justify-content: flex-start; }
  .hero-title { font-size: 4.5rem; }

  .chapters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
