/* ═══════════════════════════════════════════════════════
   HERBARIA — styles.css (WordPress Plugin Version)
   Alle URL-Pfade zu Hintergrundbildern werden per PHP
   inline in page-herbaria.php gesetzt (CSS-Variablen).
═══════════════════════════════════════════════════════ */

:root {
  --forest:       #1C3520;
  --forest-mid:   #2C5530;
  --forest-light: #3D7040;
  --gold:         #C9A84C;
  --gold-light:   #E8D5A3;
  --gold-pale:    #F5EDD5;
  --cream:        #F5F1E8;
  --off-white:    #FAFAF7;
  --dark:         #1A1A18;
  --mid:          #4A4A45;
  --light:        #8A8A82;
  --white:        #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-w:  1440px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

/* ─── Reset (nur für .herbaria-page) ─────────────────── */

/* Basis-Schriftgröße fixieren: 1rem = 16px in allen Browsern */
html { font-size: 16px; }

.herbaria-page *, .herbaria-page *::before, .herbaria-page *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.herbaria-page {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.herbaria-page img { display: block; max-width: 100%; height: auto; }
.herbaria-page a   { color: inherit; text-decoration: none; }

/* ─── Custom Cursor ─────────────────────────────────── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; width: 42px; height: 42px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); opacity: .55;
}
.cursor.hovering, .cursor-ring.hovering { width: 64px; height: 64px; opacity: .25; }

/* ─── Navigation ────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 1.6rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(26,53,28,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 1rem var(--gutter); border-color: rgba(201,168,76,.2);
}
.nav__logo { height: 40px; width: auto; }
.nav__logo:hover { opacity: .8; }
.nav__links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav__links a {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); position: relative; padding-bottom: 3px;
}
.nav__cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: .6rem 1.6rem !important;
}
.nav__cta:hover { background: var(--gold-light) !important; }
.nav__cta::after { display: none !important; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav__hamburger span { display: block; width: 26px; height: 1.5px; background: var(--white); }

.nav__mobile {
  position: fixed; inset: 0; background: var(--forest); z-index: 899;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem; transform: translateX(100%);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--white); font-weight: 400; letter-spacing: .04em;
  transition: color .3s;
}
.nav__mobile a:hover { color: var(--gold); }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 680px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero__bg {
  position: absolute; inset: -12%;
  background-size: cover; background-position: center center;
  will-change: transform; transform: scale(1.12);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,38,20,.6) 0%, rgba(18,38,20,.28) 45%, rgba(14,28,16,.88) 100%);
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 var(--gutter); max-width: 1100px;
}
.hero__eyebrow {
  font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 11rem;
  font-weight: 300; line-height: .88; color: var(--white); letter-spacing: -.025em;
  margin-bottom: 1.2rem;
}
.hero__rule { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 1.4rem; }
.hero__subtitle {
  font-family: var(--font-serif); font-size: 1.2rem;
  font-style: italic; font-weight: 300; color: rgba(232,213,163,.9);
  letter-spacing: .04em; margin-bottom: 3rem;
}
.hero__actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  color: rgba(255,255,255,.5); font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll-bar {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent); transform-origin: top;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 1.05rem 2.75rem; cursor: pointer; border: none; outline: none; white-space: nowrap;
}
.btn--gold     { background: var(--gold);    color: var(--dark); }
.btn--gold:hover { background: var(--gold-light); }
.btn--white    { background: var(--white);   color: var(--dark); }
.btn--outline-w { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn--outline-w:hover { border-color: var(--gold); color: var(--gold); }
.btn--forest   { background: var(--forest);  color: var(--white); }
.btn--forest:hover { background: var(--forest-mid); }
.btn--outline-d { background: transparent; color: var(--dark); border: 1.5px solid rgba(28,53,32,.4); }
.btn--outline-d:hover { border-color: var(--forest); background: rgba(28,53,32,.05); }

/* ─── Marquee ───────────────────────────────────────── */
.marquee {
  background: var(--forest); padding: 1.15rem 0; overflow: hidden;
  border-top: 1px solid rgba(201,168,76,.25); border-bottom: 1px solid rgba(201,168,76,.25);
}
.marquee__track { display: flex; white-space: nowrap; }
.marquee__item {
  display: flex; align-items: center; gap: 2rem; padding-right: 2rem;
  font-family: var(--font-serif); font-size: 1rem; font-style: italic;
  color: var(--gold-light); letter-spacing: .04em; flex-shrink: 0;
}
.marquee__dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── Layout ────────────────────────────────────────── */
.section   { padding: clamp(5rem, 10vw, 10rem) var(--gutter); }
.container { max-width: var(--max-w); margin: 0 auto; }

.label {
  font-size: .65rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.label::before { content: ''; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.label--center { justify-content: center; }
.label--center::before, .label--center::after { content: ''; display: block; width: 36px; height: 1px; background: var(--gold); }

.h2 { font-family: var(--font-serif); font-size: 3.2rem; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
@media (max-width: 768px) {
  .h2            { font-size: 2.2rem; }
  .hero__title   { font-size: 5rem; }
  .hero__subtitle{ font-size: 1rem; }
  .author__name  { font-size: 2rem; }
  .blockquote__text { font-size: 1.6rem; }
  .stat__num     { font-size: 2.2rem; }
  .nav__mobile a { font-size: 2rem; }
}
.body { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--mid); }
.italic { font-style: italic; }

/* ─── Book ──────────────────────────────────────────── */
.book { background: var(--off-white); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,9rem); align-items: center; }
.book__visual { position: relative; }
.book__img { width: 100%; filter: drop-shadow(0 40px 80px rgba(28,53,32,.2)); }
.book__badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px; background: var(--gold); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: .8rem; font-family: var(--font-serif);
  font-size: .8rem; line-height: 1.3; color: var(--dark); font-style: italic;
  box-shadow: 0 8px 32px rgba(201,168,76,.5);
}
.book__text { padding: 1rem 0; }
.book__title { margin-bottom: 1.5rem; }
.book__title em { color: var(--forest-mid); }
.book__desc { margin-bottom: 1rem; }
.book__stats {
  display: flex; gap: 3rem; flex-wrap: wrap; padding: 2.25rem 0;
  border-top: 1px solid rgba(28,53,32,.1); border-bottom: 1px solid rgba(28,53,32,.1); margin: 2.5rem 0;
}
.stat__num { font-family: var(--font-serif); font-size: 3rem; color: var(--forest); font-weight: 300; line-height: 1; margin-bottom: .25rem; }
.stat__lbl { font-size: .65rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--light); }

/* ─── Features ──────────────────────────────────────── */
.features { background: var(--forest); }
.features__head { text-align: center; margin-bottom: clamp(3rem,6vw,5.5rem); }
.features__head .h2 { color: var(--white); }
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; }
.feat {
  background: rgba(255,255,255,.035); padding: 3.5rem 2.75rem;
  border: 1px solid rgba(201,168,76,.1); position: relative; overflow: hidden;
  transition: background .4s, border-color .4s;
}
.feat:hover { background: rgba(255,255,255,.07); border-color: rgba(201,168,76,.28); }
.feat__num { font-family: var(--font-serif); font-size: 4rem; font-weight: 300; color: rgba(201,168,76,.12); line-height: 1; margin-bottom: 1.5rem; }
.feat__title { font-family: var(--font-serif); font-size: 1.45rem; color: var(--white); margin-bottom: 1rem; font-weight: 400; }
.feat__body { font-size: .875rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.55); }

/* ─── Split ─────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.split__img-side { position: relative; overflow: hidden; }
.split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__text-side { background: var(--cream); display: flex; align-items: center; padding: clamp(4rem,8vw,8rem) clamp(2rem,6vw,7rem); }
.split__text-side.dark { background: var(--off-white); }
.split__inner { max-width: 520px; }

/* ─── Zentaurine / Quote ────────────────────────────── */
.zentaurine { position: relative; min-height: 75vh; display: flex; align-items: center; overflow: hidden; }
.zentaurine__bg { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.zentaurine__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,53,32,.93) 0%, rgba(28,53,32,.72) 55%, rgba(28,53,32,.42) 100%);
}
.zentaurine__content { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: var(--max-w); margin: 0 auto; width: 100%; }
.blockquote { max-width: 720px; }
.blockquote__mark { font-family: var(--font-serif); font-size: 9rem; line-height: .45; color: var(--gold); opacity: .4; margin-bottom: 1.5rem; }
.blockquote__text { font-family: var(--font-serif); font-size: 2.2rem; font-style: italic; font-weight: 300; color: var(--white); line-height: 1.5; margin-bottom: 2.25rem; }
.blockquote__author { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ─── Author ────────────────────────────────────────── */
.author { background: var(--cream); }
.author__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,9rem); align-items: center; }
.author__img-wrap { position: relative; }
.author__frame { position: absolute; top: -1.5rem; left: -1.5rem; right: 1.5rem; bottom: 1.5rem; border: 1.5px solid var(--gold); pointer-events: none; z-index: 0; }
.author__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.author__name { font-family: var(--font-serif); font-size: 2.8rem; color: var(--forest); margin-bottom: .3rem; }
.author__role { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2.25rem; }
.author__body { margin-bottom: .85rem; }

/* ─── Gallery ───────────────────────────────────────── */
.gallery { background: var(--off-white); }
.gallery__mosaic { display: grid; grid-template-columns: repeat(12,1fr); grid-template-rows: 360px 360px; gap: .75rem; }
.tile { overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--a { grid-column: 1/8;  grid-row: 1/3; }
.tile--b { grid-column: 8/13; grid-row: 1/2; }
.tile--c { grid-column: 8/13; grid-row: 2/3; }

/* ─── Testimonials ──────────────────────────────────── */
.testi { background: var(--cream); }
.testi__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.tcard { background: var(--white); padding: 2.75rem 2.5rem; border-bottom: 2px solid transparent; box-shadow: 0 2px 24px rgba(0,0,0,.04); }
.tcard:hover { border-color: var(--gold); }
.tcard__stars { color: var(--gold); font-size: .85rem; letter-spacing: .12em; margin-bottom: 1.35rem; }
.tcard__text { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; line-height: 1.75; color: var(--dark); margin-bottom: 1.5rem; }
.tcard__author { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--light); }

/* ─── CTA ───────────────────────────────────────────── */
.cta { background: var(--forest); position: relative; overflow: hidden; text-align: center; }
.cta__pattern { position: absolute; inset: 0; background-size: 700px; background-repeat: repeat; opacity: .035; }
.cta__ornament { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 80px; background: linear-gradient(to bottom, transparent, var(--gold)); opacity: .4; }
.cta__content { position: relative; z-index: 2; }
.cta__eyebrow { justify-content: center; color: var(--gold) !important; }
.cta__eyebrow::before, .cta__eyebrow::after { background: var(--gold); }
.cta__title { color: var(--white); margin-bottom: 1rem; }
.cta__sub { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: rgba(232,213,163,.8); margin: 0 auto 3rem; max-width: 560px; }
.cta__actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cta__note { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); }

/* ─── Video Teaser (nutzt author-Layout) ─────────────── */
.vteaser .author__name { white-space: pre-line; }

/* ─── Footer ────────────────────────────────────────── */
.footer { background: var(--dark); padding: clamp(4.5rem,8vw,8rem) var(--gutter) 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem,4vw,6rem); margin-bottom: 5rem; }
.footer__logo { height: 38px; margin-bottom: 1.5rem; }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: rgba(255,255,255,.4); line-height: 1.65; margin-bottom: 2rem; max-width: 270px; }
.footer__social { display: flex; gap: .85rem; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.footer__social a:hover { border-color: var(--gold); background: rgba(201,168,76,.12); }
.footer__social img { width: 18px; height: 18px; filter: invert(1); }
.footer__col-title { font-size: .63rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.footer__links a { font-size: .875rem; font-weight: 300; color: rgba(255,255,255,.45); transition: color .3s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: .73rem; color: rgba(255,255,255,.25); }
.footer__legal { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer__legal a { font-size: .73rem; color: rgba(255,255,255,.25); transition: color .3s; }
.footer__legal a:hover { color: var(--gold); }

/* ─── Utility ───────────────────────────────────────── */
.mt1 { margin-top: 1rem; } .mt2 { margin-top: 1.75rem; } .mt3 { margin-top: 2.5rem; }
.text-forest { color: var(--forest); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .gallery__mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px; }
  .tile--a { grid-column: 1/2; grid-row: 1/3; }
  .tile--b { grid-column: 2/3; grid-row: 1/2; }
  .tile--c { grid-column: 2/3; grid-row: 2/3; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__img-side { height: 55vw; min-height: 320px; position: relative; }
  .split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
  .split__text-side { padding: 3rem var(--gutter); }
  .split__inner { max-width: 100%; }
  .book__grid, .author__grid { grid-template-columns: 1fr; }
  .author__frame { display: none; }
  .author__img { aspect-ratio: 16/9; object-position: center 20%; }
  .testi__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .gallery__mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tile--a, .tile--b, .tile--c { grid-column: 1; grid-row: auto; height: 60vw; min-height: 250px; }
  .tile--a { height: 75vw; }
  .book__badge { width: 90px; height: 90px; right: .5rem; bottom: .5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
  .cursor, .cursor-ring { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__actions, .cta__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .book__stats { gap: 1.5rem; }
}
