/* ---------------------------------------------------
   Tina Reszka — Bienenwespe
   Farben aus dem Buchcover, ruhig & warm gehalten
--------------------------------------------------- */


/* lora-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lora-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* jost-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/jost-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-decorative-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cinzel-decorative-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --sage-deep:   #647F76;
  --sage-light:  #BFD49D;
  --olive:       #889781;
  --taupe:       #9A876F;
  --gold:        #E3A754;
  --cream:       #F9F3E4;
  --cream-plate: #F7EFDD;
  --ink:         #3A3226;
  --ink-soft:    #5B5140;

  --display: "Cinzel Decorative", serif;
  --heading: "Cormorant Garamond", serif;
  --body:    "Lora", serif;
  --utility: "Jost", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--ink);
}

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  font-family: var(--utility);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.9em;
  display: inline-block;
}

/* ---------- Skip link / focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  font-family: var(--utility);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: rgba(249, 243, 228, 0);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(249, 243, 228, 0.94);
  box-shadow: 0 1px 0 rgba(58,50,38,0.08);
  padding: 12px 6vw;
  backdrop-filter: blur(6px);
}
.site-nav .brand {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-nav .brand .flourish { color: var(--gold); }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.site-nav a:hover::after { right: 0; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58,50,38,0.32) 0%, rgba(58,50,38,0.18) 35%, rgba(58,50,38,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 6vw 9vh;
  max-width: 780px;
}
.hero-quote {
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.5;
  margin: 0 0 0.9em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.15em;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}
.hero-byline {
  font-family: var(--utility);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 20px; height: 32px;
  border: 1px solid rgba(249,243,228,0.6);
  border-radius: 12px;
}
.hero-scroll::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 6px;
  background: var(--cream);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0.2; top: 16px; }
  100% { opacity: 0; top: 16px; }
}

/* ---------- Branch divider (signature element) ---------- */
.branch-divider {
  display: flex;
  justify-content: center;
  padding: 46px 0;
}
.branch-divider svg { width: 180px; height: auto; }
.section-sage .branch-divider svg .branch-line,
.section-sage .branch-divider svg .branch-leaf { stroke: var(--cream); }
.section-sage .branch-divider svg .branch-fruit { fill: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 108px 0; }
.section-sage {
  background: var(--sage-deep);
  color: var(--cream);
}
.section-sage h2, .section-sage h3 { color: var(--cream); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

/* ---------- About (two-col) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-media {
  position: relative;
}
.split-media img {
  width: 82%;
  margin: auto;
  border-radius: 2px;
}
.split-media.framed::before {
  content: "";
  position: absolute;
  top: 18px; left: -18px;
  right: -18px; bottom: -18px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.split-text h2 { margin-bottom: 0.4em; }
.split-text p { margin: 0 0 1.1em; color: var(--ink-soft); }
.section-sage .split-text p { color: rgba(249,243,228,0.88); }

.signature-line {
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 1.4em;
}

.btn-order {
  display: inline-block;
  margin-top: 1.6em;
  padding: 14px 34px;
  font-family: var(--utility);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--gold);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-order:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

/* Book cover treatment */
.cover-frame {
  display: flex;
  justify-content: center;
}
.cover-frame img {
  width: 78%;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,0.45);
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
}
.review-card {
  background: var(--cream-plate);
  border: 1px solid rgba(58,50,38,0.1);
  padding: 38px 34px;
  position: relative;
}
.review-stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--utility);
}
.review-card blockquote {
  margin: 0 0 18px;
  font-family: var(--heading);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.review-source {
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Gallery ---------- */
.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:20px;
}
.gallery figure{
    margin:0;
    position:relative;
    overflow:hidden;
    border-radius:14px;
    background:#ddd;
    aspect-ratio:1/1;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}
.gallery figure img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}
.gallery figure:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.gallery figure:hover img{
    transform:scale(1.08);
}
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px 10px;
  font-family: var(--utility);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(58,50,38,0) 0%, rgba(58,50,38,0.72) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery figure:hover figcaption,
.gallery figure:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- Contact ---------- */
.contact-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 42px;
  font-family: var(--utility);
}
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.contact-link svg { width: 26px; height: 26px; }
.contact-link span.handle { color: rgba(249,243,228,0.75); font-size: 0.82rem; }
.contact-link .icon-ring {
  width: 56px; height: 56px;
  border: 1px solid rgba(249,243,228,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.contact-link:hover .icon-ring {
  background: rgba(249,243,228,0.1);
  border-color: var(--gold);
}

/* ---------- Footer ---------- */
footer {
  padding: 54px 0 42px;
  text-align: center;
  background: var(--cream-plate);
}
footer .quote {
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 18px;
}
footer .credit {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::before { animation: none; }
  .gallery figure img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .split, .split.reverse {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media,
  .split.reverse .split-text,
  .split-media, .split-text { order: initial; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery figure.wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  section { padding: 76px 0; }
  .site-nav ul {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 76%;
    max-width: 300px;
    background: var(--sage-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 0 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .site-nav ul.open { transform: translateX(0); }
  .site-nav a { color: var(--cream); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px; height: 22px;
    position: relative;
    z-index: 60;
    cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle span { top: 10px; }
  .nav-toggle span::before { top: -8px; }
  .nav-toggle span::after { top: 8px; }
  .nav-toggle.open span { background: transparent; }
  .nav-toggle.open span::before { transform: translateY(8px) rotate(45deg); background: var(--cream); }
  .nav-toggle.open span::after { transform: translateY(-8px) rotate(-45deg); background: var(--cream); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery figure.wide, .gallery figure.tall { grid-column: span 1; grid-row: span 1; }
  .cover-frame img { width: 100%; }
}

.footer-links{
    margin:20px 0;
}

.footer-links a{
    color:inherit;
    text-decoration:none;
    border-bottom:1px solid rgba(0,0,0,.2);
    transition:.2s;
}

.footer-links a:hover{
    opacity:.7;
}

/* ---------------- LIGHTBOX ---------------- */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(48,42,35,.88);
    backdrop-filter:blur(10px);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index:9999;
}

.lightbox.open{
    opacity:1;
    visibility:visible;
}

.lightbox img{

    max-width:88vw;
    max-height:88vh;

    border-radius:12px;

    box-shadow:
        0 30px 60px rgba(0,0,0,.45);

    transform:scale(.92);

    transition:transform .35s ease;
}

.lightbox.open img{
    transform:scale(1);
}

.lightbox-close{

    position:absolute;

    top:30px;
    right:35px;

    width:52px;
    height:52px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:white;

    font-size:28px;

    cursor:pointer;

    transition:.25s;

}

.lightbox-close:hover{

    background:var(--gold);

    color:var(--ink);

    transform:rotate(90deg);

}


