/* ============================================
   livingstoneguide.com — Main Stylesheet
   ============================================ */

:root {
  --green-dark:   #1a5c48;
  --green-mid:    #2d8c6e;
  --green-light:  #e8f5f0;
  --amber:        #e07b2a;
  --amber-light:  #fdf3e8;
  --text-dark:    #1e2a24;
  --text-mid:     #4a5c54;
  --text-light:   #7a8c84;
  --white:        #ffffff;
  --grey-light:   #f4f6f5;
  --border:       #dde8e4;
  --max-width:    1100px;
  --radius:       8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
p  { margin-bottom: 1.25rem; }
ul, ol { margin: 0 0 1.25rem 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Header / Nav ---- */
header {
  background: var(--green-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--amber); }
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-family: sans-serif;
  text-decoration: none;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--white); text-decoration: none; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: white; margin: 5px 0; transition: 0.3s;
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--green-dark); padding: 1rem 1.25rem; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0.75rem; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: white;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}
.hero h1 { color: white; font-size: 2.6rem; margin-bottom: 1rem; }
.hero p  { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 620px; margin: 0 auto 2rem; }
.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-cta:hover { background: #c86820; color: white; text-decoration: none; }

/* ---- Cards Grid ---- */
.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--grey-light); }
.section-title { text-align: center; font-size: 1.9rem; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-mid); margin-bottom: 2.5rem; font-family: sans-serif; font-size: 0.97rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }
.card-img { width: 100%; height: 190px; object-fit: cover; background: var(--green-light); }
.card-img-placeholder {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--green-light), var(--border));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 2rem;
}
.card-body { padding: 1.25rem; }
.card-tag {
  display: inline-block; font-size: 0.75rem; font-family: sans-serif;
  background: var(--green-light); color: var(--green-dark);
  padding: 0.2rem 0.6rem; border-radius: 20px; margin-bottom: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.card-body h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 0.4rem; }
.card-body p  { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 0.75rem; line-height: 1.5; }
.card-link { font-family: sans-serif; font-size: 0.9rem; font-weight: bold; color: var(--green-mid); }

/* ---- Article / Content Pages ---- */
.article-header {
  background: var(--green-dark);
  color: white;
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}
.article-header h1 { color: white; font-size: 2.2rem; max-width: 800px; margin: 0 auto 0.75rem; }
.article-header .meta {
  color: rgba(255,255,255,0.7); font-size: 0.88rem;
  font-family: sans-serif; margin-bottom: 0;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.article-body h2 { border-bottom: 2px solid var(--green-light); padding-bottom: 0.4rem; }

/* Insider box */
.insider-box {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
}
.insider-box strong { color: var(--amber); font-family: sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.4rem; }

/* Tip box */
.tip-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
}
.tip-box strong { color: var(--green-dark); font-family: sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.4rem; }

/* CTA Button */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary { background: var(--amber); color: white; }
.btn-primary:hover { background: #c86820; color: white; text-decoration: none; }
.btn-secondary { background: var(--green-mid); color: white; }
.btn-secondary:hover { background: var(--green-dark); color: white; text-decoration: none; }

/* Affiliate CTA block */
.affiliate-cta {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.affiliate-cta p { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-mid); }

/* ---- Footer ---- */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.25rem;
  font-family: sans-serif;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { max-width: 340px; }
.footer-brand strong { color: white; display: block; margin-bottom: 0.4rem; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom {
  max-width: var(--max-width); margin: 1.5rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   Mobile-UX-Pass — (C) 2026-06-11
   Additiv: skaliert Typo fluide, strafft Mobile-
   Abstände, macht CTAs daumenfreundlich.
   Desktop bleibt praktisch unverändert.
   ============================================ */

/* Fluide Überschriften — schrumpfen sauber auf kleinen Screens */
h1               { font-size: clamp(1.9rem, 6vw, 2.4rem); text-wrap: balance; }
h2               { font-size: clamp(1.45rem, 4.5vw, 1.8rem); text-wrap: balance; }
h3               { font-size: clamp(1.15rem, 3vw, 1.3rem); }
.hero h1         { font-size: clamp(2rem, 7vw, 2.6rem); }
.section-title   { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.article-header h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }

@media (max-width: 600px) {
  body              { font-size: 16px; }

  /* Straffere Vertikal-Abstände → schneller zum Inhalt */
  .hero             { padding: 3rem 1.1rem 2.5rem; }
  .hero p           { font-size: 1.05rem; }
  .section          { padding: 2.4rem 1.1rem; }
  .section-subtitle { margin-bottom: 1.75rem; }
  .article-header   { padding: 2.5rem 1.1rem 2rem; }
  .article-body     { padding: 1.75rem 1.1rem 3rem; }
  h2                { margin-top: 1.5rem; }

  /* Daumenfreundliche CTAs: volle Breite, leicht treffbar */
  .hero-cta         { display: block; width: 100%; padding: 0.95rem 1rem; }
  .affiliate-cta .btn { display: block; width: 100%; padding: 0.95rem 1rem; }

  /* Boxen etwas kompakter */
  .insider-box, .tip-box, .affiliate-cta { padding: 1.1rem 1.15rem; }
}

/* Saison-Vergleich (High vs Low Water) — (C) 2026-06-13 */
.season-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 0.5rem;
}
.season-compare figure { margin: 0; }
.season-compare img {
  width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius);
}
.season-compare figcaption {
  font-family: sans-serif; font-size: 0.85rem; color: var(--text-mid);
  margin-top: 0.45rem; text-align: center;
}
.season-credit {
  text-align: center; font-family: sans-serif; font-size: 0.8rem;
  color: var(--text-light); margin: 0 0 1.5rem;
}
@media (max-width: 600px) { .season-compare { grid-template-columns: 1fr; } }

/* ============================================
   Video-Hero (leicht, Auto-Loop) — (C) 2026-06-13
   Ersetzt den 11-MB-Frame-Scrub auf der Startseite.
   ============================================ */
.video-hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--green-dark);
}
.video-hero-bg {
  position: absolute;
  left: 0; top: -25%;
  width: 100%; height: 150%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.video-hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.38); z-index: 1;
}
.video-hero-overlay {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 1.5rem; max-width: 760px;
}
.video-hero-overlay h1 {
  color: #fff; font-size: clamp(2.2rem, 8vw, 3.6rem);
  text-shadow: 0 0 8px rgba(0,0,0,0.6), 0 2px 18px rgba(0,0,0,0.7);
}
.video-hero-overlay p {
  color: #fff; font-family: sans-serif; font-size: 1.1rem;
  max-width: 560px; margin: 0 auto 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* ============================================
   Scroll-Video-Bausteine — (C) 2026-06-11
   ============================================ */

/* B) Autoplay-Loop beim Scrollen */
.scroll-video-wrap {
  position: relative;
  width: 100%;
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.scroll-video { width: 100%; height: auto; display: block; }
.scroll-video-wrap .scroll-video-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff; font-family: sans-serif; font-size: 0.95rem;
}

/* A) Scroll-Scrubbing: hohe Sektion + gepinntes Canvas */
.scroll-scrub { position: relative; height: 320vh; }
.scroll-scrub .scrub-sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden; background: #000;
}
.scroll-scrub canvas { display: block; width: 100%; height: 100%; }
.scroll-scrub .scrub-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}
.scroll-scrub .scrub-overlay h2 { color: #fff; font-size: clamp(2rem, 7vw, 3.4rem); }
.scroll-scrub .scrub-overlay p  { font-family: sans-serif; font-size: 1.05rem; max-width: 560px; }
.scroll-scrub .scrub-hint {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.8);
  font-family: sans-serif; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; animation: scrubBounce 1.8s infinite;
}
@keyframes scrubBounce { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

/* A2) Hintergrund-Scrub: fixer Canvas, Inhalt scrollt normal darüber */
.scrub-bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block; background: #000;
}
/* Hero über dem fixen Canvas — transparent, damit die Falls durchscheinen */
.scrub-bg-hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 1.5rem;
}
/* Weicher dunkler Schatten → lesbar auch über weißem Wasser */
.scrub-bg-hero h1,
.scrub-bg-hero p {
  text-shadow: 0 0 8px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.7);
}
.scrub-bg-hero h1 { color: #fff; font-size: clamp(2.2rem, 8vw, 3.6rem); }
.scrub-bg-hero p  { font-family: sans-serif; font-size: 1.1rem; max-width: 560px; color: #fff; }
.scrub-bg-hero .scrub-hint {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  color: rgba(255,255,255,0.85); font-family: sans-serif; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; animation: scrubBounce 1.8s infinite;
}
/* Alles nach dem Hero muss undurchsichtig sein, um den fixen Canvas zu verdecken */
.scrub-bg-after { position: relative; z-index: 1; background: var(--white); }

/* Ladescreen für den Hintergrund-Scrub */
#scrub-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  transition: opacity 0.6s ease;
}
#scrub-loader.hidden { opacity: 0; pointer-events: none; }
#scrub-loader .loader-logo {
  font-family: sans-serif; font-weight: bold; font-size: 1.4rem; letter-spacing: 0.02em;
}
#scrub-loader .loader-logo span { color: var(--amber); }
#scrub-loader .loader-sub {
  font-family: sans-serif; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* Savanne + laufende Elefanten als Fortschrittsanzeige */
#scrub-loader .savanna { position: relative; width: min(280px, 72vw); height: 64px; }
#scrub-loader .savanna::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: rgba(255,255,255,0.28); border-radius: 2px;
}
#scrub-loader .walker {
  position: absolute; bottom: 6px;
  left: calc(var(--p, 0) * 100%);
  transform: translateX(calc(var(--p, 0) * -100%));
  transition: left 0.3s ease, transform 0.3s ease;
  width: 150px; height: 64px; color: #f1e7d3; overflow: visible;
}
#scrub-loader .walker .part { fill: currentColor; }
#scrub-loader .walker .ear  { fill: #e3d4b6; }
#scrub-loader .walker .eye  { fill: #3a2f22; }
#scrub-loader .walker .tail { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#scrub-loader .walker .herd { animation: herdBob 0.62s infinite ease-in-out; transform-box: fill-box; transform-origin: center; }
#scrub-loader .walker .leg  { transform-box: fill-box; transform-origin: 50% 0%; animation: eleStep 0.62s infinite ease-in-out; }
#scrub-loader .walker .l2, #scrub-loader .walker .l3 { animation-delay: 0.31s; }
@keyframes herdBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes eleStep { 0%,100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
@media (prefers-reduced-motion: reduce) {
  #scrub-loader .walker .herd, #scrub-loader .walker .leg { animation: none; }
}
