/* ============================================================
   TEILCHENTRAUM – Stylesheet
   Farben: #2178c5 (Primär) · #eef6fc (Hell) · #2b2b2b (Text)
   ============================================================ */

@font-face {
  font-family: 'Gagalin';
  src: url('/fonts/Gagalin-Regular_400.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:root {
  --blue: #2178c5;
  --light-blue: #eef6fc;
  --text: #2b2b2b;
  --white: #ffffff;
  --radius: 10px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica Neue, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

.display {
  font-family: 'Gagalin', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px  0; }
.bg-light { background: var(--light-blue); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; color: var(--blue); text-align: center; }
.section-note { text-align: center; color: #666; margin-bottom: 40px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-large { padding: 16px 40px; font-size: 1.05rem; }

/* Amazon-Zeichen ---------------------------------------------------------
   Monochromes Icon aus /assets/amazon-logo-svgrepo-com.svg, als CSS-Maske
   eingebunden: die Form kommt aus der Datei, die Farbe aus currentColor.
   Dadurch ist es auf den blauen Buttons weiss und in Textzeilen so dunkel
   wie der umgebende Text - eine Datei, kein zweiter Farbton noetig.
   Groesse in em, damit sie mit der jeweiligen Schriftgroesse mitgeht.
   Der Abstand zum folgenden Text kommt als margin, nicht als Flex-Gap -
   so stimmt er in Buttons und in normalen Textzeilen gleichermassen. */
.amazon-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.5em;
  background-color: currentColor;
  -webkit-mask: url('/assets/amazon-logo-svgrepo-com.svg') center / contain no-repeat;
  mask: url('/assets/amazon-logo-svgrepo-com.svg') center / contain no-repeat;
  vertical-align: -0.2em;
}

/* Gleiche Metrik wie .amazon-icon, fuer inline gezeichnete Icons (Instagram):
   dadurch stehen benachbarte Zeilen auf derselben Grundlinie. */
.inline-icon {
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.5em;
  vertical-align: -0.2em;
}

/* Hinweiszeile mit Instagram-Zeichen, in der Galerie und im E-Book-Bereich */
.instagram-note { margin-top: 18px; font-size: 0.95rem; }
.instagram-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
.instagram-note a:hover { text-decoration: underline; }

/* In der Galerie ist der Hinweis groesser: er steht dort als eigene Zeile
   unter der Ueberschrift, im E-Book-Bereich ist er nur eine Nebenbemerkung. */
.galerie-header .instagram-note { margin-top: 24px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.55; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8f0f8;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
}

.logo-link { flex-shrink: 0; }
.logo { height: 100px; width: auto; object-fit: contain; }

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); }

.header-cta { margin-left: 12px; white-space: nowrap; font-size: 1rem; padding: 12px 26px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: url('/assets/background.png') center/cover no-repeat;
  padding: 48px 24px 64px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  max-width: 75%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #ffffff; margin-bottom: 22px; }
.hero-sub { font-size: 1.22rem; line-height: 1.6; color: #ffffff; margin-bottom: 40px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons im Hero: groesser und mit Schatten, damit sie auf dem bewoelkten
   Hintergrund als Schaltflaechen lesbar bleiben. */
.hero-actions .btn {
  padding: 16px 34px;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(16, 38, 58, 0.18);
}

/* Zweiter Button: blaue Schrift auf blauem Grund war kaum zu erkennen. */
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
}
.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  opacity: 1;   /* sonst wird das weisse Feld beim Hover ausgewaschen */
}

.feature-strip {
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  row-gap: 6px;      /* die Zeile bricht um - die Zeilen brauchen Luft */
  flex-wrap: wrap;
  max-width: 540px;
}
.feature-strip .sep { color: #fff; }

.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; }
.hero-img-placeholder {
  display: none;
  background: var(--light-blue);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 600;
}
.hero-image img + .hero-img-placeholder { display: none; }

/* ============================================================
   GESCHICHTE (Zickzack)
   ============================================================ */
.geschichte { background: var(--white); }
.geschichte .section-title { margin-bottom: 56px; }

/* Diese Sektion laeuft breiter als der globale .container (1100px).
   Bewusst nur hier gescopet, damit alle anderen Sektionen unveraendert bleiben. */
.geschichte .container { max-width: 1320px; }

.zickzack { display: flex; flex-direction: column; gap: 72px; }

.zz-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zz-item.reverse { direction: rtl; }
.zz-item.reverse > * { direction: ltr; }

.zz-img { position: relative; border-radius: var(--radius); overflow: hidden; }
.zz-img img { width: 100%; height: 340px; object-fit: cover; display: block; border-radius: var(--radius); }
.img-fallback {
  display: none;
  width: 100%;
  height: 300px;
  background: var(--light-blue);
  border-radius: var(--radius);
}
.zz-img.img-missing img { display: none; }
.zz-img.img-missing .img-fallback { display: block; }

.zz-text h3 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--blue); margin-bottom: 16px; }
.zz-text p { font-size: 1rem; line-height: 1.7; }

/* ---- Einfliegen beim Scrollen ----
   Die Ausgangsposition haengt an .js-reveal auf <html>. Das setzt main.js nur,
   wenn JS laeuft und der Nutzer keine reduzierte Bewegung will - ohne JS bleibt
   also alles sichtbar statt dauerhaft unsichtbar zu sein.
   Bild und Text kommen jeweils von ihrer eigenen Seite: in normalen Kacheln
   steht das Bild links, in .reverse-Kacheln rechts. */
.js-reveal .zz-img,
.js-reveal .zz-text {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}
.js-reveal .zz-img { transform: translateX(-56px); }
.js-reveal .zz-text { transform: translateX(56px); transition-delay: .12s; }

/* Die verschobenen Kacheln ragen bei schmalen Viewports ueber den Rand hinaus.
   Da sie in dem Moment unsichtbar sind, schneiden wir sie am Sektionsrand ab -
   sonst entsteht waehrend der Animation ein horizontaler Scrollbalken. */
.js-reveal .geschichte { overflow: hidden; }

.js-reveal .zz-item.reverse .zz-img { transform: translateX(56px); transition-delay: .12s; }
.js-reveal .zz-item.reverse .zz-text { transform: translateX(-56px); transition-delay: 0s; }

/* In beiden Varianten startet das linke Element zuerst, das rechte folgt. */
.js-reveal .zz-item.is-visible .zz-img,
.js-reveal .zz-item.is-visible .zz-text {
  opacity: 1;
  transform: none;
}

/* Reduzierte Bewegung: keine Verschiebung, Inhalte sofort sichtbar. */
@media (prefers-reduced-motion: reduce) {
  .js-reveal .zz-img,
  .js-reveal .zz-text,
  .js-reveal .zz-item.reverse .zz-img,
  .js-reveal .zz-item.reverse .zz-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   DETAILS
   ============================================================ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.detail-item {
  background: var(--white);
  border: 1px solid #dae8f5;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #888; font-weight: 600; }
.detail-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.details-cta { text-align: center; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item.img-missing img { display: none; }
.gallery-item figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--light-blue);
}

/* ============================================================
   BEWERTUNGEN
   ============================================================ */
.stars { color: #f5a623; font-size: 1.4rem; margin: 8px 0 4px; }

/* Kopfleiste: links Titel + Note/Anzahl, rechts der Amazon-Button */
.reviews-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid #dae8f5;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.reviews-bar-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.amazon-logo { height: 24px; width: auto; display: block; }
.reviews-bar-title { font-size: 1.25rem; color: var(--text); margin-bottom: 0; }
.reviews-bar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
}
.reviews-bar-meta .stars { font-size: 1.05rem; margin: 0; letter-spacing: 1px; }
.reviews-bar-score { font-weight: 600; color: var(--text); }
.reviews-bar-sep { color: #b8cfe4; }
.reviews-bar-cta { white-space: nowrap; }

/* Slider: nativ scrollbar, Pfeile blenden wir per JS ein */
.reviews-slider { position: relative; }

.reviews-track {
  display: flex;
  gap: 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* 3,5 Karten pro Sicht - die angeschnittene vierte zeigt, dass es weitergeht */
  --review-gap: 20px;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.review-slide {
  flex: 0 0 calc((100% - 2.5 * var(--review-gap)) / 3.5);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.review-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #dae8f5;
}
.review-card .stars { font-size: 1.05rem; margin: 0 0 12px; letter-spacing: 1px; }
.review-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.35; }
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
  /* Standardmaessig auf 4 Zeilen gekuerzt; "Mehr lesen" hebt das auf */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-text.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }

.review-more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}
.review-more:hover { text-decoration: underline; }
.review-more[hidden] { display: none; }

.review-source {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  color: #888;
}
.review-source a { color: var(--blue); font-weight: 600; text-decoration: none; }
.review-source a:hover { text-decoration: underline; }

/* Name und Datum stehen ausserhalb der Karte darunter - wie bei Amazon */
.review-meta { padding: 14px 4px 0; font-size: 0.88rem; }
.reviewer { display: block; font-weight: 600; color: var(--text); }
.review-date { color: #888; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(33, 120, 197, .35);
}
.slider-btn[hidden] { display: none; }
.slider-btn:hover { background: #1b63a2; }
.slider-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.slider-prev { left: -22px; }
.slider-next { right: -22px; }

@media (max-width: 900px) {
  .review-slide { flex: 0 0 calc((100% - var(--review-gap)) / 2); }
  /* Der Container hat nur 24px Rand - ein ueberlagernder Pfeil wuerde hier
     auf dem Kartentext liegen. Also wandern die Pfeile unter den Slider. */
  .reviews-slider { display: flex; flex-wrap: wrap; justify-content: center; }
  .reviews-track { flex: 0 0 100%; }
  .slider-btn { position: static; transform: none; margin: 20px 6px 0; }
  .slider-prev { order: 1; }
  .slider-next { order: 2; }
}

@media (max-width: 600px) {
  .review-slide { flex: 0 0 100%; }
  .reviews-bar { padding: 20px; }
  .reviews-bar-cta { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { scroll-behavior: auto; }
}

/* ============================================================
   E-BOOK
   ============================================================ */
.ebook-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.ebook-cover { position: relative; }
.ebook-cover img { width: 100%; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(33,120,197,.18); }
.ebook-cover-fallback {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 1.2rem;
}

.ebook-text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--blue); margin-bottom: 8px; }
.ebook-text h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 24px; color: var(--text); }

.ebook-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px;}
.ebook-bullets li {
  padding-left: 28px;
  position: relative;
  font-size: 0.98rem;
}
.ebook-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Form */
.ebook-form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: #555; }
.optional { color: #aaa; font-weight: 400; }
.required { color: var(--blue); }

.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 11px 14px;
  border: 1.5px solid #c5ddf0;
  border-radius: 6px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus { outline: none; border-color: var(--blue); }
.form-group input.error { border-color: #c0392b; }

.form-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); }
.form-check label { font-size: 0.82rem; line-height: 1.5; color: #666; font-weight: 400; }
.form-check a { color: var(--blue); }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-message { font-size: 0.9rem; padding: 10px 14px; border-radius: 6px; display: none; }
.form-message.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-message.error { background: #fdecea; color: #c0392b; display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid #dae8f5;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--blue); font-size: 1.2rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { background: var(--blue); text-align: center; }
.final-cta-inner { max-width: 600px; }
.final-cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }
.final-cta .btn-primary { background: var(--white); color: var(--blue); border-color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--light-blue);
  border-top: 1px solid #d9eaf7;
  padding: 56px clamp(24px, 4vw, 64px) 28px;
}
.footer-inner {
  /* Bewusst kein max-width: die Footer-Inhalte laufen ueber die volle
     Breite, nicht nur ueber die 1100px des restlichen Seitencontainers. */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: grid;
  /* Markenspalte auf 2fr: das groessere Logo braucht den Platz, sonst
     wird der Claim daneben auf vier Zeilen gequetscht. */
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-logo img { height: 150px; width: auto; }

/* Claim und CTA stehen neben dem Logo, nicht darunter. */
.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-claim {
  font-size: 1rem;
  color: #43566a;
  line-height: 1.65;
  margin: 0;
  max-width: 360px;
}
.footer-cta { font-size: 1rem; padding: 12px 24px; }

.footer-col h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 1.06rem;
  color: #43566a;   /* dunkler als vorher - war auf dem hellen Grund zu blass */
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #d9eaf7;
  padding-top: 24px;
}
.copyright,
.footer-note { font-size: 0.88rem; color: #6b7f92; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom { justify-content: flex-start; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Eigener Breakpoint fuer die Navigation: mit der groesseren Schrift passt
   sie unterhalb von ~1080px nicht mehr in eine Zeile und wuerde umbrechen. */
@media (max-width: 1080px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
              background: var(--white); border-bottom: 1px solid #e8f0f8; padding: 20px 24px; gap: 16px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  /* Der Amazon-Button bleibt bis hierher sichtbar - er ist der Haupt-CTA.
     Erst wenn auch der Platz dafuer fehlt, weicht er dem Burger-Menue. */
  .header-cta { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 280px; }

  .zz-item,
  .zz-item.reverse { grid-template-columns: 1fr; direction: ltr; }
  .zz-img img { height: 240px; }

  /* Einspaltig gibt es kein links/rechts mehr - daher sanft von unten. */
  .js-reveal .zz-img,
  .js-reveal .zz-text,
  .js-reveal .zz-item.reverse .zz-img,
  .js-reveal .zz-item.reverse .zz-text {
    transform: translateY(24px);
    transition-delay: 0s;
  }
  .js-reveal .zz-item.is-visible .zz-img,
  .js-reveal .zz-item.is-visible .zz-text {
    transform: none;
  }

  .ebook-inner { grid-template-columns: 1fr; }
  .ebook-cover { max-width: 200px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero { padding: 40px 16px 56px; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item img { height: 160px; }
}

/* ============================================================
   DETAILS – SPLIT-LAYOUT (dunkel)
   ============================================================ */
.details-split-section {
  background: #0d1e33;
}

.details-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 500px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.details-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.details-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}
.details-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1.1;
}
.details-accent { color: #5ba8e8; }
.details-desc { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.7; max-width: 380px; }
.details-btn {
  align-self: flex-start;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.details-btn:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.details-split-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spec-row:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.spec-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  text-align: right;
}

@media (max-width: 900px) {
  .details-split { grid-template-columns: 1fr; }
  .details-split-left { padding: 56px 32px 32px; }
  .details-split-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding: 32px 32px 56px; }
}

/* ============================================================
   NAV-PILL (Trigger fuer das E-Book-Popup)
   ============================================================ */
.nav-pill-wrapper { position: relative; }

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;   /* <button> erbt die Schrift sonst nicht wie ein <a> */
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-pill-btn:hover,
.nav-pill-btn:focus-visible {
  background: var(--blue);
  color: var(--white);
}
.nav-pill-icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }

/* ============================================================
   E-BOOK-POPUP (Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(16, 38, 58, 0.6);
}
.modal-overlay[hidden] { display: none; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: 40px 40px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(16, 38, 58, 0.32);
}
.modal:focus { outline: none; }

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: #7a8b9c;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--light-blue); color: var(--text); }

.modal-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--blue);
  margin-bottom: 6px;
  font-family: Gagalin;
}
.modal-sub {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.modal-body .ebook-bullets { margin-bottom: 0; }

@media (max-width: 520px) {
  .modal-overlay { padding: 12px; }
  .modal { padding: 32px 20px 24px; }
}

/* ============================================================
   GALERIE MARQUEE
   ============================================================ */
.galerie-marquee-section {
  background: var(--white);
  padding: 72px 0 80px;
  overflow: hidden;
}
.galerie-header {
  text-align: center;
  margin-bottom: 48px;
}
.galerie-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.galerie-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
}
.galerie-accent { color: var(--blue); }

.marquee-row {
  overflow: hidden;
  margin-bottom: 16px;
}
.marquee-row:last-child { margin-bottom: 0; }

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.marquee-track img {
  height: 260px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.track-left  { animation: marquee-left  35s linear infinite; }
.track-right { animation: marquee-right 35s linear infinite; }

/* Pause on hover */
.marquee-row:hover .marquee-track { animation-play-state: paused; }

@media (max-width: 768px) {
  .marquee-track img { height: 180px; }
  .galerie-marquee-section { padding: 48px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .track-left, .track-right { animation: none; }
}

/* ============================================================
   TEMPORAER AUSGEBLENDET - zum Wiedereinschalten diese Regel loeschen
   Bewertungs-Abschnitt und der Navigationspunkt "Bewertungen" sind
   ausgeblendet, bis echte Amazon-Rezensionen vorliegen. Markup, Styles
   und die Slider-Logik des Abschnitts bleiben unveraendert bestehen.
   ACHTUNG: display:none versteckt nur die Darstellung. Die Beispiel-
   Rezensionen stehen weiter im HTML-Quelltext.
   ============================================================ */
#bewertungen,
.main-nav a[href="#bewertungen"] { display: none; }

