/* ============================================================
   VRTNI CENTAR PISAČIĆ — Demo
   Dokumentarisch-warmer Editorial-Stil · Fraunces + Karla
   Palette: Papir-Creme / Tannengrün / Terracotta / Leinen
   ============================================================ */

/* ---------- Fonts (selbst gehostet, latin + latin-ext) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-normal.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-ext-normal.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-italic.woff2") format("woff2");
  font-weight: 300 800; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-ext-italic.woff2") format("woff2");
  font-weight: 300 800; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ---------- Tokens ---------- */
:root {
  --creme: #FBF7EF;      /* Papir-Creme: Seitenhintergrund */
  --tanne: #22392B;      /* Tannengrün: Headlines, Buttons, Bars */
  --ink:   #191510;      /* Warm-Schwarz: Fließtext */
  --terra: #B65C3F;      /* Terracotta: einziger Dauer-Akzent */
  --leinen:#EBE0CC;      /* Leinen/Sand: alternierende Flächen */
  --salbei:#5E6F55;      /* Muted Text, Captions, botanische Namen */
  --gold:  #E7A83B;      /* Ringelblume: NUR Herbst-Saisonmodus */
  --status:#3F7A52;      /* Live-Punkt im Otvoreno-Chip */

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Karla", "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);

  --ease-out: cubic-bezier(.22, .8, .32, 1);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--terra); color: var(--creme); }

/* Grain-Overlay für Atmosphäre */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--salbei);
}
.h-display {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--tanne);
}
.h-section {
  font-family: var(--serif);
  font-weight: 540;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  color: var(--tanne);
}
.h-section em { font-style: italic; font-weight: 440; color: var(--terra); }
.lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 58ch; }
.botanical { font: italic 400 14px/1.4 var(--serif); color: var(--salbei); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  background: var(--tanne); color: var(--creme);
  border: 1px solid var(--tanne); border-radius: 0;
  font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.btn:hover { background: var(--terra); border-color: var(--terra); }
.btn--ghost { background: transparent; color: var(--tanne); }
.btn--ghost:hover { background: var(--tanne); color: var(--creme); }
.btn--cream { background: var(--creme); color: var(--tanne); border-color: var(--creme); }
.btn--cream:hover { background: var(--terra); border-color: var(--terra); color: var(--creme); }

.textlink {
  color: var(--terra); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color .2s;
}
.textlink:hover { color: var(--tanne); }

/* ---------- Utility-Bar ---------- */
.utility {
  background: var(--tanne); color: var(--creme);
  font-size: 13px;
}
.utility .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 38px; padding-block: 6px;
}
.status-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7fc492; flex: none;
}
.status-chip[data-open="true"] .status-dot { animation: pulse 2s ease-in-out infinite; }
.status-chip[data-open="false"] .status-dot { background: var(--gold); animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.utility a { color: inherit; text-decoration: none; font-weight: 700; }
.utility a:hover { text-decoration: underline; }
.utility .season-note { color: #cfdbc9; font-weight: 400; display: none; }
@media (min-width: 720px) { .utility .season-note { display: inline; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--creme);
  border-bottom: 1px solid rgba(34, 57, 43, .14);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(25, 21, 16, .07); }
.site-header .wrap {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  min-height: 76px;
}
.logo { text-decoration: none; line-height: 1; flex: none; }
.logo .logo-name {
  font-family: var(--serif); font-weight: 560;
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-size: 27px; color: var(--tanne); display: block;
}
.logo .logo-sub {
  font: 700 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--salbei); display: block; margin-top: 4px;
}
.main-nav { display: none; gap: clamp(14px, 2vw, 26px); margin-inline: auto; }
@media (min-width: 960px) { .main-nav { display: flex; } }
.main-nav a {
  font: 700 13.5px/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; color: var(--ink);
  padding-block: 8px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--terra);
  transition: right .25s var(--ease-out);
}
.main-nav a:hover::after { right: 0; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (min-width: 960px) { .header-cta { margin-left: 0; } }
.header-cta .btn { padding: 12px 20px; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--tanne); transition: transform .3s, opacity .3s; }
@media (min-width: 960px) { .nav-toggle { display: none; } }

/* Mobile-Overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--tanne); color: var(--creme);
  display: flex; flex-direction: column;
  padding: 24px var(--gut) 40px;
  transform: translateY(-102%);
  transition: transform .45s var(--ease-out);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav .mn-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav .mn-close { background: none; border: 0; color: var(--creme); font-size: 34px; line-height: 1; }
.mobile-nav ul { margin-top: 8vh; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a {
  font-family: var(--serif); font-weight: 480; font-size: clamp(32px, 8vw, 44px);
  text-decoration: none; display: block; padding-block: 6px;
}
.mobile-nav ul a:hover { color: var(--gold); }
.mobile-nav .mn-foot { margin-top: auto; font-size: 14px; color: #cfdbc9; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15, 26, 19, .8) 0%, rgba(15, 26, 19, .32) 45%, rgba(15, 26, 19, .12) 70%),
    linear-gradient(100deg, rgba(15, 26, 19, .62) 0%, rgba(15, 26, 19, .3) 45%, rgba(15, 26, 19, 0) 68%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 8vh, 96px); }
.hero .eyebrow { color: #cfdbc9; }
.hero h1 {
  font-size: clamp(44px, 8.6vw, 124px);
  color: var(--creme);
  max-width: 14ch;
  margin-top: 18px;
}
.hero h1 em { font-style: italic; font-weight: 420; color: #e9c98f; }
.hero-sub { color: #e6ddcd; margin-top: 22px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Wochen-Tafel (Marquee) ---------- */
.weekboard { background: var(--terra); color: var(--creme); overflow: hidden; }
.weekboard .board-label {
  display: flex; align-items: center; gap: 14px;
  padding: 13px var(--gut) 0;
  font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: #f2d9cb;
}
.marquee { display: flex; overflow: hidden; padding-block: 10px 16px; user-select: none; }
.marquee-track {
  display: flex; flex: none; align-items: baseline; gap: 0;
  animation: marquee 52s linear infinite;
}
.weekboard:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  font-family: var(--serif); font-weight: 460;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(22px, 3vw, 34px);
  white-space: nowrap; padding-right: 18px;
}
.marquee-track > span::after { content: "·"; padding-left: 18px; color: #e9b7a0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektions-Gerüst ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--linen { background: var(--leinen); }
.section--tanne { background: var(--tanne); color: var(--creme); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head .eyebrow { display: block; margin-bottom: 12px; }

/* ---------- Kategorien ---------- */
.cats {
  display: grid; gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}
/* Kachel bestimmt die Form, Bild füllt sie — verhindert Lücken in gemischten Reihen */
.cat { position: relative; display: block; text-decoration: none; overflow: hidden; aspect-ratio: 3 / 4; }
.cat img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
/* Desktop (8 Kacheln): Reihe 2 breiter, Reihe 3 = Domaćinstvo + Aranžmani-Doppel */
@media (min-width: 900px) {
  .cat:nth-child(n+4) { aspect-ratio: 16 / 10; }
  .cat:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
  .cat:nth-child(8) img { position: absolute; inset: 0; }
}
/* Mobil: alle Kacheln einheitlich 3:4 — Haushalt + Aranžmani teilen sich die letzte Reihe (kein Loch) */
.cat:hover img { transform: scale(1.04); }
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 19, .62), rgba(15, 26, 19, 0) 52%);
}
.cat-text {
  position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1;
}
.cat-name {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(21px, 2.2vw, 29px); line-height: 1.12; color: var(--creme);
}
.cat-count {
  display: block; margin-top: 5px;
  font: 700 10.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #d8cfbd;
}

/* ---------- Story-Split ---------- */
.story { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1.05fr .95fr; } }
.story-img { position: relative; }
.story-img img { width: 100%; }
.story-img::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--terra); z-index: -1;
}
.story-text .h-section { margin-bottom: 20px; }
.story-text p { margin-bottom: 14px; max-width: 54ch; }
.facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); margin-top: 30px; }
.fact .fact-num {
  font-family: var(--serif); font-weight: 560; font-size: clamp(28px, 3vw, 40px);
  color: var(--terra); line-height: 1;
}
.fact .fact-label { font-size: 13px; color: var(--salbei); margin-top: 6px; }

/* ---------- Produkt-Grid „Đurđica bira" ---------- */
.products {
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { text-decoration: none; display: block; }
.product--hero { grid-column: span 2; grid-row: span 2; }
.product-media { overflow: hidden; background: var(--leinen); position: relative; }
.product-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.product:hover .product-media img { transform: scale(1.035); }
/* Hover-Zweitbild: 250ms-Crossfade auf Kontext-Shot (gleiches Format) */
.product-media img.ctx {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.product:hover .product-media img.ctx { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .product-media img.ctx { transition: none; }
}
.product-body { padding-top: 14px; }
.product-name {
  font-family: var(--serif); font-weight: 540; font-size: 19px;
  color: var(--tanne); line-height: 1.2;
}
.product--hero .product-name { font-size: clamp(24px, 2.2vw, 30px); }
.product-tag {
  font-size: 14px; color: var(--salbei); font-style: italic;
  font-family: var(--serif); margin-top: 4px;
}
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
/* Mobil: kompaktes 3er-Raster — ganzes Sortiment ohne Endlos-Scroll */
@media (max-width: 899px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .product--hero { grid-column: auto; grid-row: auto; }
  .product--hero .product-name { font-size: 12.5px; }
  .product-name { font-size: 12.5px; line-height: 1.25; }
  .product-tag { display: none; }
  .products .chips { display: none; }
  .product-body { padding-top: 7px; }
  .product-meta { margin-top: 4px; }
  .product-price { font-size: 12.5px; }
}
@media (max-width: 380px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
.product-price {
  font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--salbei); border: 1px solid rgba(94, 111, 85, .45);
  padding: 5px 8px; border-radius: 999px;
}

/* ---------- Versprechen ---------- */
.promises { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise {
  border-top: 2px solid var(--terra);
  padding-top: 22px;
}
.promise p {
  font-family: var(--serif); font-weight: 460;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35;
  color: var(--tanne);
}
.promise p strong { color: var(--terra); font-weight: 560; }
.promise .promise-note { font: 400 14px/1.5 var(--sans); color: var(--salbei); margin-top: 12px; }

/* ---------- Saison-Bühne (Herbst / Svi sveti — ruhiges Register) ---------- */
.season { position: relative; overflow: hidden; }
.season .wrap { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .season .wrap { grid-template-columns: .95fr 1.05fr; } }
.season-img img { width: 100%; }
.season-text .eyebrow { color: var(--gold); }
.season-text h2 {
  font-family: var(--serif); font-weight: 480;
  font-variation-settings: "SOFT" 70, "WONK" 0;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08;
  color: var(--creme); margin-top: 14px;
}
.season-text p { color: #d5ddcf; margin-top: 18px; max-width: 50ch; }
.season-text .btn { margin-top: 28px; }

/* ---------- Savjeti ---------- */
.tips { display: grid; gap: clamp(18px, 2.4vw, 30px); }
@media (min-width: 900px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip {
  background: var(--creme);
  display: flex; flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(34, 57, 43, .12);
  transition: border-color .25s;
  overflow: hidden;
}
.tip:hover { border-color: var(--terra); }
.tip-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.tip:hover .tip-media img { transform: scale(1.03); }
.tip-body {
  padding: clamp(20px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.tip .tip-no {
  font-family: var(--serif); font-style: italic; font-weight: 440;
  color: var(--terra); font-size: 15px;
}
.tip h3 {
  font-family: var(--serif); font-weight: 540; font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25; color: var(--tanne);
}
.tip p { font-size: 15px; color: var(--ink); }
.tip .tip-more { margin-top: auto; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }

/* ---------- Besuch ---------- */
.visit-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.1fr .9fr; } }
.visit-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.visit-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visit-gallery img:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 8; }
.hours { border-top: 1px solid rgba(34, 57, 43, .18); margin-top: 26px; }
.hours-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 10px; font-size: 15.5px;
  border-bottom: 1px solid rgba(34, 57, 43, .12);
}
.hours-row.is-today {
  background: var(--tanne); color: var(--creme); font-weight: 700;
  margin-inline: -10px; padding-inline: 20px;
}
.hours-row.is-today .hours-day::after {
  content: "danas"; font: 700 10px/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-left: 10px; vertical-align: 2px;
}
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.visit-note { margin-top: 18px; font-size: 14px; color: var(--salbei); }

/* Karte (stilisierte SVG) */
.map-frame { margin-top: 28px; border: 1px solid rgba(34, 57, 43, .18); }
.map-frame svg { display: block; width: 100%; height: auto; }

/* ---------- Pitaj Đurđicu ---------- */
.ask { background: var(--leinen); }
.ask .wrap {
  display: grid; gap: clamp(24px, 4vw, 56px); align-items: center;
}
@media (min-width: 900px) { .ask .wrap { grid-template-columns: 320px 1fr; } }
.ask-img { position: relative; width: min(320px, 70vw); }
.ask-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.ask-img::after {
  content: ""; position: absolute; inset: -14px;
  border: 1px solid var(--terra); border-radius: 50%;
}
.ask-text h2 { margin-bottom: 14px; }
.ask-text p { max-width: 56ch; margin-bottom: 8px; }
.ask-text .btn { margin-top: 20px; }

/* ---------- Tri generacije ---------- */
.gens { overflow: hidden; }
.gens-track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gut) 22px;
  scrollbar-width: thin; scrollbar-color: var(--terra) transparent;
}
.gen { flex: 0 0 clamp(240px, 30vw, 380px); scroll-snap-align: start; }
.gen img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gen-year {
  font-family: var(--serif); font-weight: 560; font-size: 26px;
  color: var(--terra); margin-top: 14px; line-height: 1;
}
.gen-cap { font-size: 14px; color: var(--salbei); margin-top: 6px; max-width: 34ch; }
.gens-quote {
  font-family: var(--serif); font-style: italic; font-weight: 440;
  font-size: clamp(20px, 2.4vw, 28px); color: var(--tanne);
  max-width: 40ch; margin-top: 10px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--tanne); color: #cfdbc9; font-size: 14.5px; }
.site-footer .wrap { padding-block: clamp(48px, 6vw, 80px) 32px; }
.footer-grid { display: grid; gap: clamp(28px, 4vw, 60px); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .logo-name { color: var(--creme); font-size: 30px; }
.footer-brand .logo-sub { color: #94a98f; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.site-footer h4 {
  font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: #94a98f; margin-bottom: 14px;
}
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--creme); text-decoration: underline; }
.footer-legal {
  margin-top: clamp(36px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 239, .15);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 12.5px; color: #94a98f;
}
.footer-family {
  font-family: var(--serif); font-style: italic; font-weight: 440;
  color: var(--creme); font-size: 15px;
}

/* ---------- WhatsApp-Float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tanne); color: var(--creme);
  padding: 13px 18px; border-radius: 999px;
  font: 700 13px/1 var(--sans); text-decoration: none;
  box-shadow: 0 10px 30px rgba(25, 21, 16, .25);
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.wa-float:hover { background: var(--terra); transform: translateY(-2px); }
.wa-float svg { flex: none; }
.wa-float span { display: none; }
@media (min-width: 720px) { .wa-float span { display: inline; } }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal[data-delay="1"].is-visible { transition-delay: .1s; }
.reveal[data-delay="2"].is-visible { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .status-chip .status-dot { animation: none !important; }
  .cat img, .product-media img { transition: none; }
  .hero-bg img { animation: none !important; }
}

/* Scroll-driven Enhancement (Chrome/Edge/Safari 26+) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story-img img, .season-img img {
      animation: gentle-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    @keyframes gentle-rise {
      from { transform: translateY(28px); }
      to { transform: none; }
    }
  }
}

/* Hero: sanfter Ken-Burns, nie aus opacity 0 */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: kenburns 22s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1); } }
}

/* ---------- Sprachwahl (Flaggen) ---------- */
.lang-switch { display: inline-flex; gap: 7px; align-items: center; }
.lang-switch button {
  background: none; border: 1px solid transparent; padding: 3px; border-radius: 3px;
  line-height: 0; opacity: .55; transition: opacity .2s, border-color .2s;
}
.lang-switch button svg { width: 22px; height: 15px; border-radius: 2px; display: block; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { opacity: 1; border-color: rgba(251, 247, 239, .6); }

/* ---------- Modal-System ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(25, 21, 16, .55);
  display: none; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 4vh, 48px) clamp(12px, 4vw, 48px);
  overflow-y: auto;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--creme); width: 100%; max-width: 900px;
  position: relative;
  animation: modal-in .35s var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--creme); color: var(--tanne); font-size: 26px; line-height: 1;
  box-shadow: 0 2px 12px rgba(25, 21, 16, .18);
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--terra); color: var(--creme); }

/* Produkt-Modal */
.pm-grid { display: grid; }
@media (min-width: 760px) { .pm-grid { grid-template-columns: 1fr 1.1fr; } }
.pm-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.pm-body { padding: clamp(22px, 3.5vw, 40px); }
.pm-body .eyebrow { margin-bottom: 8px; display: block; }
.pm-name {
  font-family: var(--serif); font-weight: 560; font-size: clamp(24px, 2.6vw, 32px);
  color: var(--tanne); line-height: 1.15;
}
.pm-tag { font-family: var(--serif); font-style: italic; color: var(--salbei); margin-top: 6px; }
.pm-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.pm-price { font: 600 22px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--tanne); }
.pm-price-note { font-size: 11.5px; color: var(--salbei); }
.pm-desc { margin-top: 16px; }
.pm-desc p { margin-bottom: 10px; font-size: 15.5px; }
.pm-care-title {
  font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--salbei); margin: 18px 0 8px;
}
.pm-care { margin: 0; }
.pm-care li {
  padding: 6px 0 6px 20px; position: relative; font-size: 14.5px;
  border-bottom: 1px solid rgba(34, 57, 43, .09);
}
.pm-care li::before { content: "·"; position: absolute; left: 4px; color: var(--terra); font-weight: 800; font-size: 20px; line-height: 1; top: 4px; }
.pm-trick {
  margin-top: 16px; background: var(--leinen); padding: 14px 16px; border-left: 3px solid var(--terra);
  font-size: 14.5px;
}
.pm-trick b { display: block; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: 5px; }
.pm-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pm-blog-link {
  display: block; margin-top: 14px; padding: 12px 14px;
  border: 1px solid rgba(34, 57, 43, .18); text-decoration: none;
  font-size: 14px; transition: border-color .2s;
}
.pm-blog-link:hover { border-color: var(--terra); }
.pm-blog-link .l { font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--salbei); }
.pm-blog-link .t { font-family: var(--serif); font-weight: 540; color: var(--tanne); margin-top: 3px; display: block; }

/* Artikel-Reader */
.reader { max-width: 760px; }
.reader-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.reader-body { padding: clamp(24px, 4vw, 48px); }
.reader-body .eyebrow { display: block; margin-bottom: 10px; }
.reader-title {
  font-family: var(--serif); font-weight: 540;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; color: var(--tanne);
}
.reader-body h3 {
  font-family: var(--serif); font-weight: 560; font-size: clamp(19px, 2vw, 24px);
  color: var(--tanne); margin: 22px 0 8px;
}
.reader-body p { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.reader-product { margin-top: 26px; }

/* Kategorie-Modal */
.cm-head img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
.cm-body { padding: clamp(22px, 3.5vw, 40px); }
.cm-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; }
.cm-products .product-name { font-size: 16px; }

/* Legal-Modal */
.legal-body { padding: clamp(24px, 4vw, 44px); max-width: 640px; }

/* ---------- Seiten-Ansichten (Kategorie / Ratgeber) ---------- */
.page-view { display: none; }
body.is-page .page-view { display: block; }
body.is-page #homeView { display: none; }
.page-hero { position: relative; overflow: hidden; background: var(--tanne); }
.page-hero img { width: 100%; height: clamp(220px, 32vh, 360px); object-fit: cover; opacity: .55; }
.page-hero .ph-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(20px, 4vh, 40px);
}
.page-hero .eyebrow { color: #cfdbc9; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(34px, 5.4vw, 64px); color: var(--creme); line-height: 1.05; margin-top: 10px;
}
.page-back {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--creme); text-decoration: none; margin-bottom: 14px;
}
.page-back:hover { color: var(--gold); }
.page-body { padding-block: clamp(40px, 6vw, 80px); }
.page-lead { max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); margin-bottom: clamp(28px, 4vw, 48px); }

/* Monats-Kalender (Ratgeber-Seite) */
.month-grid {
  display: grid; gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(24px, 3vw, 40px);
}
@media (min-width: 900px) { .month-grid { grid-template-columns: repeat(4, 1fr); } }
.month-card {
  background: var(--creme); border: 1px solid rgba(34, 57, 43, .14);
  padding: clamp(18px, 2vw, 26px); text-decoration: none;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .25s, transform .25s var(--ease-out);
}
.month-card:hover { border-color: var(--terra); transform: translateY(-3px); }
.month-card.is-current { background: var(--tanne); border-color: var(--tanne); }
.month-card.is-current .mc-name, .month-card.is-current .mc-title { color: var(--creme); }
.month-card.is-current .mc-no { color: var(--gold); }
.month-card .mc-no { font: italic 440 13px/1 var(--serif); color: var(--terra); }
.month-card .mc-name {
  font-family: var(--serif); font-weight: 560; font-size: clamp(20px, 1.9vw, 26px);
  color: var(--tanne); text-transform: capitalize;
}
.month-card .mc-title { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.month-card .mc-more { margin-top: auto; font: 700 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.month-card.is-current .mc-more { color: var(--gold); }

/* Langform-Reader: Lesezeit, FAQ, Quellen */
.read-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--salbei); margin-top: 10px;
}
.read-meta::before { content: ""; width: 22px; height: 1px; background: var(--terra); }
.faq-block { margin-top: clamp(28px, 4vw, 44px); }
.faq-title {
  font-family: var(--serif); font-weight: 560; font-size: clamp(20px, 2vw, 26px);
  color: var(--tanne); margin-bottom: 12px;
}
.faq-item {
  border: 1px solid rgba(34, 57, 43, .16); border-bottom: 0;
}
.faq-item:last-of-type { border-bottom: 1px solid rgba(34, 57, 43, .16); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px;
  font: 700 15px/1.4 var(--sans); color: var(--tanne); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font: 400 22px/1 var(--serif); color: var(--terra); transition: transform .25s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { background: var(--leinen); }
.faq-item .faq-a { padding: 12px 16px 16px; font-size: 14.5px; line-height: 1.65; }
.src-block { margin-top: clamp(24px, 3vw, 36px); padding-top: 16px; border-top: 1px solid rgba(34, 57, 43, .16); }
.src-title { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--salbei); margin-bottom: 10px; }
.src-block ol { margin-left: 18px; }
.src-block li { font-size: 13.5px; margin-bottom: 6px; color: var(--salbei); }
.src-block a { color: var(--terra); text-decoration: none; border-bottom: 1px solid rgba(182, 92, 63, .4); }
.src-block a:hover { color: var(--tanne); }

/* Monatskarten mit Bild */
.month-card { padding: 0; overflow: hidden; }
.month-card .mc-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.month-card .mc-body { padding: clamp(14px, 1.6vw, 20px); display: flex; flex-direction: column; gap: 7px; flex: 1; }

/* Kategorie-Seite: Produktraster */
.page-products {
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .page-products { grid-template-columns: repeat(3, 1fr); } }
.page-note { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- Chat-Widget ---------- */
.chat-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tanne); color: var(--creme);
  padding: 14px 20px; border: 0; border-radius: 999px;
  font: 700 13.5px/1 var(--sans);
  box-shadow: 0 10px 30px rgba(25, 21, 16, .28);
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.chat-float:hover { background: var(--terra); transform: translateY(-2px); }
.chat-float .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #7fc492;
  animation: pulse 2s ease-in-out infinite;
}
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 260;
  width: min(400px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 100px));
  background: var(--creme);
  box-shadow: 0 18px 60px rgba(25, 21, 16, .35);
  display: none; flex-direction: column;
  border: 1px solid rgba(34, 57, 43, .18);
}
.chat-panel.is-open { display: flex; animation: modal-in .3s var(--ease-out); }
@media (max-width: 520px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 86vh; }
}
.chat-head {
  background: var(--tanne); color: var(--creme);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.chat-head .avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2px solid rgba(251, 247, 239, .4);
}
.chat-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-head .t { font-family: var(--serif); font-weight: 560; font-size: 17px; }
.chat-head .s { font-size: 11px; color: #cfdbc9; }
.chat-head .chat-close { margin-left: auto; background: none; border: 0; color: var(--creme); font-size: 26px; line-height: 1; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: var(--leinen); color: var(--ink); align-self: flex-start; border-radius: 2px 14px 14px 14px; }
.msg.user { background: var(--tanne); color: var(--creme); align-self: flex-end; border-radius: 14px 2px 14px 14px; }
.msg.typing { color: var(--salbei); font-style: italic; background: var(--leinen); align-self: flex-start; border-radius: 2px 14px 14px 14px; }
.msg.typing span { display: inline-block; animation: pulse 1.2s ease-in-out infinite; }
.chat-input { display: flex; border-top: 1px solid rgba(34, 57, 43, .15); }
.chat-input input {
  flex: 1; border: 0; background: var(--creme); padding: 14px 16px;
  font: 400 15px/1.4 var(--sans); color: var(--ink); outline: none;
}
.chat-input button {
  border: 0; background: var(--tanne); color: var(--creme);
  padding: 0 20px; font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.chat-input button:hover { background: var(--terra); }
.chat-input button:disabled { opacity: .5; }
