/* Gin-Time — Designsystem
   Farben: Waldgrün (Marke), Messing (Preis/CTA), Salbei-Neutrale
   Typo: Fraunces (Display) + Work Sans (Text) + Space Mono (Zahlen/Meta) */

/* Self-hosted Schriften (statt Google Fonts) — keine externen Requests mehr,
   dadurch kein Cookie-/Consent-Banner nötig. Dateien in static/fonts/. */
@font-face{
  font-family:"Fraunces";
  src:url("fonts/fraunces-variable.woff") format("woff");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Work Sans";
  src:url("fonts/work-sans-variable.woff") format("woff");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Space Mono";
  src:url("fonts/space-mono-400.woff") format("woff");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Space Mono";
  src:url("fonts/space-mono-700.woff") format("woff");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --ink:#1C2420;
  --ink-soft:#3C463F;
  --ground:#EEF2EA;
  --surface:#FFFFFF;
  --surface-2:#F6F8F2;
  --forest:#1F4032;
  --forest-strong:#163026;
  --brass:#9C6F26;
  --brass-strong:#7E5A1E;
  --umber:#8A4A2A;
  --umber-strong:#6E3A20;
  --mist:#69766D;
  --line:#D7DECE;
  --cta-bg:#1F4032;
  --cta-fg:#F3F6F0;
  --shadow: 0 1px 2px rgba(28,36,32,0.06), 0 8px 20px -12px rgba(28,36,32,0.18);
  --max: 1080px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink:#EAF1E9; --ink-soft:#C4D0C6; --ground:#121A15; --surface:#182019; --surface-2:#1D2620;
    --forest:#7FB49A; --forest-strong:#9AC8AE; --brass:#D7AA5B; --brass-strong:#E7BE73;
    --umber:#D99568; --umber-strong:#E7AD84;
    --mist:#8FA096; --line:#2B3730; --cta-bg:#3E5E4E; --cta-fg:#EAF1E9;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 24px -14px rgba(0,0,0,0.55);
  }
}
:root[data-theme="dark"]{
  --ink:#EAF1E9; --ink-soft:#C4D0C6; --ground:#121A15; --surface:#182019; --surface-2:#1D2620;
  --forest:#7FB49A; --forest-strong:#9AC8AE; --brass:#D7AA5B; --brass-strong:#E7BE73;
  --umber:#D99568; --umber-strong:#E7AD84;
  --mist:#8FA096; --line:#2B3730; --cta-bg:#3E5E4E; --cta-fg:#EAF1E9;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 24px -14px rgba(0,0,0,0.55);
}

*{ box-sizing:border-box; }
html{ text-size-adjust:100%; }
body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:"Work Sans", ui-sans-serif, system-ui, sans-serif;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ font-family:"Fraunces", Georgia, serif; text-wrap:balance; margin:0; color:var(--ink); }
p{ margin:0; }

/* ---------- Header / Nav ---------- */
header.site{
  border-bottom:1px solid var(--line);
  background:var(--surface);
  position:relative;
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:24px;
}
.brand{
  text-decoration:none;
  display:flex;
  align-items:center;
  flex:none;
}
.header-logo{ height:38px; width:auto; display:block; }
@media (max-width:640px){ .header-logo{ height:32px; } }
nav.primary{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
}
nav.primary a{
  font-size:14.5px;
  font-weight:500;
  text-decoration:none;
  color:var(--ink-soft);
  padding:8px 12px;
  border-radius:8px;
}
nav.primary a:hover, nav.primary a.active{
  color:var(--forest-strong);
  background:var(--surface-2);
}

.nav-dropdown{ position:relative; }
.nav-dropdown summary{
  font-size:14.5px;
  font-weight:500;
  color:var(--ink-soft);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  gap:5px;
  user-select:none;
}
.nav-dropdown summary::-webkit-details-marker{ display:none; }
.nav-dropdown summary::marker{ content:""; }
.nav-dropdown summary:hover, .nav-dropdown summary.active{
  color:var(--forest-strong);
  background:var(--surface-2);
}
.nav-dropdown .chevron{ transition:transform .15s ease; flex:none; }
.nav-dropdown[open] summary{ color:var(--forest-strong); background:var(--surface-2); }
.nav-dropdown[open] .chevron{ transform:rotate(180deg); }
.nav-dropdown .dropdown-panel{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  min-width:168px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:2px;
  z-index:30;
}
.nav-dropdown .dropdown-panel a{
  font-size:14px;
  font-weight:500;
  color:var(--ink-soft);
  padding:9px 12px;
  border-radius:8px;
  text-decoration:none;
}
.nav-dropdown .dropdown-panel a:hover{
  color:var(--forest-strong);
  background:var(--surface-2);
}

/* ---------- Footer ---------- */
footer.site{
  border-top:1px solid var(--line);
  margin-top:72px;
  padding:36px 0;
  color:var(--mist);
  font-size:13.5px;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.footer-links{ display:flex; gap:18px; }
.footer-links a{ text-decoration:none; color:var(--mist); }
.footer-links a:hover{ color:var(--ink); }
.footer-brand{ display:flex; align-items:center; gap:14px; }
.footer-logo{ height:30px; width:auto; opacity:0.62; filter:grayscale(1); flex-shrink:0; }
.footer-logo:hover{ opacity:0.85; }

/* ---------- Kicker / tags ---------- */
.kicker{
  font-family:"Space Mono", ui-monospace, monospace;
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--mist);
  margin:0 0 8px;
}
.tag{
  display:inline-block;
  font-family:"Space Mono", monospace;
  font-size:11px;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--forest);
  background:color-mix(in srgb, var(--forest) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--forest) 30%, transparent);
  padding:3px 9px;
  border-radius:100px;
}

/* ---------- Botanical icon (Gin/Tonic/Whisky/Rum content art) ---------- */
.botanical-icon{ display:block; stroke-linecap:round; stroke-linejoin:round; }
.botanical-icon.gin{ color:var(--forest-strong); }
.botanical-icon.tonic{ color:var(--mist); }
.botanical-icon.whisky{ color:var(--brass-strong); }
.botanical-icon.rum{ color:var(--umber-strong); }

/* ---------- Home hero ---------- */
.hero{
  padding:64px 0 48px;
}
.hero h1{
  font-size:clamp(32px,5vw,48px);
  line-height:1.1;
  letter-spacing:-0.01em;
  max-width:18ch;
}
.hero .lede{
  max-width:60ch;
  color:var(--ink-soft);
  font-size:17px;
  margin-top:18px;
}
.hero-actions{ display:flex; gap:12px; margin-top:28px; flex-wrap:wrap; }
.btn{
  display:inline-block;
  font-weight:600;
  font-size:14.5px;
  text-decoration:none;
  padding:11px 20px;
  border-radius:9px;
}
.btn-primary{ background:var(--cta-bg); color:var(--cta-fg); }
.btn-ghost{ background:transparent; color:var(--forest-strong); border:1px solid var(--line); }

/* ---------- Sections ---------- */
.section{ padding:40px 0; }
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.section-head h2{ font-size:24px; font-weight:540; }
.section-head a.more{ font-size:13.5px; font-weight:600; color:var(--forest-strong); text-decoration:none; white-space:nowrap; }

/* ---------- Card grid (editorial) ---------- */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
  gap:18px;
}
.edit-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
}
.edit-card figure{
  margin:0;
  aspect-ratio:4/3;
  background:var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.edit-card figure img{ width:100%; height:100%; object-fit:contain; }
.edit-card .botanical-icon{ width:46%; height:70%; }
.edit-body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.edit-body h3{ font-size:18px; font-weight:560; }
.edit-note{ font-size:13.5px; color:var(--ink-soft); flex:1; }

/* ---------- Blog list ---------- */
.post-list{ display:flex; flex-direction:column; }
.post-row{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:18px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  color:inherit;
  align-items:start;
}
.post-row:first-child{ padding-top:0; }
.post-row .date{
  font-family:"Space Mono", monospace;
  font-size:12px;
  color:var(--mist);
  padding-top:4px;
}
.post-row h3{ font-size:18px; font-weight:560; margin-bottom:5px; }
.post-row .excerpt{ font-size:14px; color:var(--ink-soft); }

/* ---------- Article / product content ---------- */
article.entry{ padding:48px 0 32px; }
.entry-head{ max-width:70ch; margin-bottom:8px; }
.entry-head h1{ font-size:clamp(26px,4vw,38px); line-height:1.15; margin-bottom:14px; }
.entry-meta{ display:flex; gap:10px; align-items:center; margin-bottom:8px; flex-wrap:wrap; }
.entry-meta .date{ font-family:"Space Mono", monospace; font-size:12px; color:var(--mist); }

.entry-body{
  max-width:68ch;
  font-size:16px;
  margin-top:32px;
}
.entry-body h2{ font-size:22px; font-weight:560; margin-top:38px; margin-bottom:12px; }
.entry-body h3{ font-size:18px; font-weight:560; margin-top:28px; margin-bottom:10px; }
.entry-body p{ margin-bottom:16px; color:var(--ink-soft); }
.entry-body ul, .entry-body ol{ margin:0 0 16px; padding-left:22px; color:var(--ink-soft); }
.entry-body li{ margin-bottom:6px; }
.entry-body li::marker{ color:var(--brass-strong); }
.entry-body strong{ color:var(--ink); }
.entry-body img{ border-radius:12px; margin:8px 0 20px; }
.entry-body a{ color:var(--forest-strong); text-decoration-color:var(--line); text-underline-offset:3px; }
.entry-body blockquote{
  margin:0 0 20px;
  padding:4px 0 4px 16px;
  border-left:3px solid var(--brass-strong);
  color:var(--ink-soft);
  font-style:italic;
}

/* ---------- Product hero ---------- */
.product-hero{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:36px;
  align-items:flex-start;
  padding:40px 0 8px;
}
.product-hero .art{
  aspect-ratio:1;
  background:var(--surface-2);
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
}
.product-hero .art .botanical-icon{ width:44%; height:66%; }
.product-hero .art img{ width:100%; height:100%; object-fit:contain; border-radius:18px; }
.product-hero h1{ font-size:clamp(26px,4vw,36px); margin-bottom:10px; }
.product-facts{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0 22px;
}
@media (max-width:640px){
  .product-hero{ grid-template-columns:1fr; }
  .product-hero .art{ max-width:220px; }
}

/* ---------- Amazon CTA box ---------- */
.amazon-box{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 18px;
  box-shadow:var(--shadow);
  margin:22px 0;
  max-width:520px;
}
.amazon-box .glyph{
  width:40px; height:40px; flex:none;
  border-radius:10px;
  background:color-mix(in srgb, var(--brass) 16%, transparent);
  color:var(--brass-strong);
  display:flex; align-items:center; justify-content:center;
}
.amazon-box .glyph svg{ width:20px; height:20px; }
.amazon-box .txt{ flex:1; }
.amazon-box .txt .h{ font-weight:600; font-size:14.5px; color:var(--ink); }
.amazon-box .txt .s{ font-size:12.5px; color:var(--mist); margin-top:2px; }
.amazon-box .cta{
  font-family:"Work Sans", sans-serif;
  font-weight:600;
  font-size:13.5px;
  color:var(--cta-fg);
  background:var(--cta-bg);
  padding:9px 15px;
  border-radius:8px;
  text-decoration:none;
  white-space:nowrap;
  flex:none;
}

/* ---------- Category chips row ---------- */
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; margin:18px 0 8px; }
.chip{
  font-size:13px;
  font-weight:500;
  padding:7px 13px;
  border-radius:100px;
  border:1px solid var(--line);
  text-decoration:none;
  color:var(--ink-soft);
  background:var(--surface);
}
.chip:hover{ border-color:var(--forest); color:var(--forest-strong); }

/* ---------- Utility ---------- */
.table-scroll{ overflow-x:auto; }
.wide-hero-img{ border-radius:16px; overflow:hidden; margin:24px 0 8px; }

@media (max-width:640px){
  .nav-row{ flex-direction:column; align-items:flex-start; gap:10px; }
  nav.primary{ gap:2px; }
}
