/* =========================================================
   OLYMP FEINKOST — Design System
   Palette pulled from the brand mark: deep temple green,
   sage columns, parchment label cream, oxblood berries.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340;0,9..144,440;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@1,500;1,600&display=swap');

:root{
  /* Colors */
  --forest:        #1c2a17;
  --forest-2:       #253620;
  --forest-3:       #2f4527;
  --sage:           #93a077;
  --sage-light:     #c3cbab;
  --cream:          #f6f1e3;
  --cream-2:        #efe7d2;
  --cream-3:        #e6dcc2;
  --wine:           #7c2331;
  --wine-dark:      #5c1a24;
  --ink:            #262319;
  --ink-soft:       #4a4636;
  --white:          #fffdf8;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 2px;
  --shadow-soft: 0 12px 30px -14px rgba(28,42,23,0.35);
  --shadow-lift: 0 20px 45px -18px rgba(28,42,23,0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
body{ margin:0; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font:inherit; }

body{
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}

/* ---------- Language toggling ---------- */
html:not(.lang-en) .i18n-en{ display:none; }
html.lang-en .i18n-de{ display:none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--forest);
  letter-spacing:-0.01em;
  line-height:1.12;
}
h1{ font-size:clamp(2.4rem, 5vw, 4.1rem); font-weight:440; }
h2{ font-size:clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size:1.4rem; }
h4{ font-size:1.05rem; letter-spacing:0.02em; }

.eyebrow{
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--wine);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:1px;
  background:var(--wine);
  display:inline-block;
}

.script{
  font-family:var(--font-script);
  font-style:italic;
  font-weight:600;
  color:var(--sage-light);
  font-size:1.3rem;
}
.script.dark{ color:var(--wine); }

.lede{
  font-size:1.14rem;
  color:var(--ink-soft);
  max-width:60ch;
}

/* ---------- Signature divider (from catalog motif) ---------- */
.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:0 auto;
  width:100%;
  max-width:320px;
}
.divider .line{ flex:1; height:1px; background:var(--wine); opacity:0.55; }
.divider .diamond{
  width:7px;height:7px;
  background:var(--wine);
  transform:rotate(45deg);
  flex-shrink:0;
}
.divider.on-dark .line{ background:var(--sage-light); opacity:0.5; }
.divider.on-dark .diamond{ background:var(--sage-light); }
.divider.left{ margin:0; max-width:none; justify-content:flex-start; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.92rem;
  letter-spacing:0.02em;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--wine); color:var(--white); }
.btn-primary:hover{ background:var(--wine-dark); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.55); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:#fff; }
.btn-ghost{ background:transparent; color:var(--forest); border-color:var(--forest); }
.btn-ghost:hover{ background:var(--forest); color:var(--cream); }
.btn-arrow{ transition:transform .25s ease; }
.btn:hover .btn-arrow{ transform:translateX(4px); }

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(246,241,227,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(28,42,23,0.12);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:14px;
  padding-bottom:14px;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:52px; width:auto; }
.brand-word{
  font-family:var(--font-display);
  font-size:1.28rem;
  font-weight:600;
  color:var(--forest);
  line-height:1.1;
}
.brand-word small{
  display:block;
  font-family:var(--font-script);
  font-style:italic;
  font-weight:500;
  font-size:0.98rem;
  color:var(--wine);
}

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav a{
  padding:10px 16px;
  font-size:0.93rem;
  font-weight:500;
  color:var(--ink-soft);
  border-radius:var(--radius);
  transition:color .2s ease, background .2s ease;
  position:relative;
}
.main-nav a:hover{ color:var(--forest); background:rgba(28,42,23,0.06); }
.main-nav a.active{ color:var(--wine); font-weight:600; }

.header-tools{ display:flex; align-items:center; gap:10px; }
.lang-toggle{
  display:flex;
  border:1px solid var(--forest);
  border-radius:20px;
  overflow:hidden;
}
.lang-toggle button{
  border:none;
  background:transparent;
  padding:6px 12px;
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.04em;
  color:var(--forest);
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.lang-toggle button.is-active{ background:var(--forest); color:var(--cream); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--forest); display:block; }

/* ---------- Hero (interior pages) ---------- */
.page-hero{
  position:relative;
  min-height:46vh;
  display:flex;
  align-items:flex-end;
  color:var(--white);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,30,16,0.35) 0%, rgba(18,26,14,0.55) 45%, rgba(15,22,11,0.92) 100%);
}
.page-hero .container{ position:relative; z-index:2; padding-bottom:56px; padding-top:120px; }
.page-hero h1{ color:var(--white); max-width:16ch; }
.page-hero .lede{ color:var(--sage-light); margin-top:14px; }

/* ---------- Home hero (full) ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  color:var(--white);
  background-size:cover;
  background-position:center 30%;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(16,24,12,0.45) 0%, rgba(16,24,12,0.35) 35%, rgba(14,20,10,0.94) 100%);
}
.hero .container{ position:relative; z-index:2; padding-top:80px; padding-bottom:70px; }
.hero-inner{ max-width:640px; }
.hero .script{ display:block; margin-bottom:18px; }
.hero h1{ color:var(--white); }
.hero .lede{ color:#e8e3d2; margin-top:20px; margin-bottom:36px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- Sections ---------- */
section{ padding:96px 0; }
.section-tight{ padding:64px 0; }
.section-head{ max-width:720px; margin-bottom:52px; }
.section-head .eyebrow{ margin-bottom:16px; }
.section-head h2{ margin-top:4px; }
.section-head .lede{ margin-top:16px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .lede{ margin-left:auto; margin-right:auto; }

.on-forest{ background:var(--forest); color:var(--sage-light); }
.on-forest h2, .on-forest h3, .on-forest h4{ color:var(--white); }
.on-forest .lede{ color:#c9d0ba; }
.on-cream2{ background:var(--cream-2); }

/* ---------- Pillars (triptych) ---------- */
.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--cream-3);
  border:1px solid var(--cream-3);
}
.pillar{
  background:var(--cream);
  padding:44px 36px;
  position:relative;
}
.pillar-num{
  font-family:var(--font-display);
  font-size:0.78rem;
  color:var(--sage);
  font-weight:600;
  letter-spacing:0.08em;
}
.pillar h3{ margin-top:18px; margin-bottom:12px; }
.pillar p{ color:var(--ink-soft); font-size:0.98rem; }
.pillar-icon{ width:38px; height:38px; margin-bottom:20px; color:var(--wine); }

/* ---------- Category / product grid ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-card{
  background:var(--white);
  border:1px solid var(--cream-3);
  padding:28px 24px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-soft); border-color:var(--sage); }
.cat-card .eyebrow{ font-size:0.65rem; margin-bottom:14px; }
.cat-card h4{ color:var(--forest); margin-bottom:8px; }
.cat-card p{ font-size:0.88rem; color:var(--ink-soft); }
.cat-card .cat-link{ margin-top:16px; display:inline-flex; align-items:center; gap:6px; font-size:0.82rem; font-weight:600; color:var(--wine); }

.product-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
.product-card{
  background:var(--white);
  border:1px solid var(--cream-3);
  overflow:hidden;
  transition:box-shadow .25s ease, transform .25s ease;
}
.product-card:hover{ box-shadow:var(--shadow-soft); transform:translateY(-3px); }
.product-photo{ aspect-ratio:4/3; overflow:hidden; background:var(--cream-2); }
.product-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.product-card:hover .product-photo img{ transform:scale(1.05); }
.product-body{ padding:22px 22px 24px; }
.product-body h4{ margin-bottom:8px; }
.product-body p{ font-size:0.9rem; color:var(--ink-soft); margin-bottom:16px; }
.sizes{ display:flex; flex-wrap:wrap; gap:8px; }
.size-tag{
  font-size:0.74rem;
  font-weight:600;
  letter-spacing:0.02em;
  color:var(--forest);
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  padding:5px 10px;
  border-radius:20px;
}

.category-block{ margin-bottom:88px; }
.category-block:last-child{ margin-bottom:0; }
.category-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:36px;
  padding-bottom:20px;
  border-bottom:1px solid var(--cream-3);
}
.category-head h2{ font-size:1.85rem; }
.category-head .eyebrow{ margin-bottom:10px; }
.category-desc{ max-width:52ch; color:var(--ink-soft); font-size:0.95rem; }

/* ---------- About page ---------- */
.split{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:64px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media img{ width:100%; height:100%; object-fit:cover; }
.split-text p + p{ margin-top:18px; }
.split-text p{ color:var(--ink-soft); }
.split-media{ position:relative; }
.frame-tag{
  position:absolute;
  bottom:-18px; left:-18px;
  background:var(--wine);
  color:var(--white);
  padding:14px 20px;
  font-family:var(--font-script);
  font-style:italic;
  font-size:1.05rem;
}

.stat-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--cream-3);
  margin-top:56px;
}
.stat{ background:var(--cream); padding:32px 28px; text-align:center; }
.stat .num{ font-family:var(--font-display); font-size:2.6rem; color:var(--forest); font-weight:600; }
.stat .label{ font-size:0.82rem; color:var(--ink-soft); letter-spacing:0.03em; margin-top:6px; }

.legacy-panel{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:36px;
  align-items:center;
  background:var(--white);
  border:1px solid var(--cream-3);
  padding:32px;
  margin-top:56px;
}
.legacy-panel img{ border:6px solid var(--cream-2); }
.legacy-panel p{ color:var(--ink-soft); }

.values-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px 40px; margin-top:20px; }
.value-item{ display:flex; gap:16px; }
.value-item .mark{
  width:34px; height:34px; flex-shrink:0;
  border:1px solid var(--wine);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--wine);
  font-family:var(--font-display);
  font-size:0.9rem;
}
.value-item h4{ margin-bottom:6px; }
.value-item p{ font-size:0.92rem; color:var(--ink-soft); }

/* ---------- Partner page ---------- */
.partner-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--cream-3);
  margin-top:20px;
}
.partner-tile{
  background:var(--white);
  padding:48px 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  text-align:center;
}
.partner-tile img{ max-height:64px; width:auto; }
.partner-tile .role{ font-size:0.82rem; color:var(--ink-soft); }

.testimonial-strip{
  background:var(--cream-2);
  border:1px solid var(--cream-3);
  padding:44px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:28px;
  align-items:center;
  margin-top:64px;
}
.testimonial-strip .mark{ font-family:var(--font-display); font-size:4rem; color:var(--sage); line-height:1; }
.testimonial-strip p{ font-size:1.1rem; color:var(--forest); font-family:var(--font-display); font-weight:400; }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:64px;
  align-items:flex-start;
}
.contact-card{
  background:var(--forest);
  color:var(--sage-light);
  padding:40px 36px;
}
.contact-card h3{ color:var(--white); }
.contact-list{ margin-top:26px; display:flex; flex-direction:column; gap:20px; }
.contact-list .item-label{ font-size:0.72rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--sage); display:block; margin-bottom:4px; }
.contact-list a, .contact-list span.val{ font-size:1.02rem; color:var(--white); }
.contact-list a:hover{ color:var(--sage-light); }

.form-card{
  background:var(--white);
  border:1px solid var(--cream-3);
  padding:40px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:20px; }
.field label{
  display:block;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.04em;
  color:var(--forest);
  margin-bottom:8px;
  text-transform:uppercase;
}
.field input, .field select, .field textarea{
  width:100%;
  border:1px solid var(--cream-3);
  background:var(--cream);
  padding:13px 14px;
  font-family:var(--font-body);
  font-size:0.96rem;
  color:var(--ink);
  border-radius:var(--radius);
  transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--wine);
  background:var(--white);
}
.field textarea{ resize:vertical; min-height:130px; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-note{ font-size:0.8rem; color:var(--ink-soft); margin-top:14px; }
.success-banner{
  display:none;
  background:var(--sage-light);
  border:1px solid var(--sage);
  color:var(--forest);
  padding:20px 24px;
  margin-bottom:28px;
  font-weight:600;
}
.success-banner.show{ display:block; }
.form-card.hide-form form{ display:none; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--forest);
  color:var(--white);
  padding:80px 0;
  text-align:center;
}
.cta-band h2{ color:var(--white); max-width:22ch; margin:0 auto; }
.cta-band .lede{ color:#c9d0ba; margin:18px auto 32px; }
.cta-band-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- Footer ---------- */
footer{
  background:var(--forest);
  color:#b9c1a6;
  padding:72px 0 28px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand img{ height:56px; margin-bottom:16px; }
.footer-brand p{ font-size:0.9rem; max-width:32ch; color:#a9b295; }
.footer-col h4{ color:var(--white); font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; font-family:var(--font-body); font-weight:600; margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:0.9rem; color:#b9c1a6; transition:color .2s ease; }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  font-size:0.82rem;
  color:#8b9478;
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom .legal-links{ display:flex; gap:20px; }
.footer-bottom a:hover{ color:var(--white); }

/* ---------- Legal pages ---------- */
.legal-content{ max-width:760px; }
.legal-content h2{ font-size:1.5rem; margin-top:48px; margin-bottom:16px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{ color:var(--ink-soft); margin-bottom:14px; }
.legal-content ul{ margin-bottom:14px; }
.legal-content li{ color:var(--ink-soft); padding-left:18px; position:relative; margin-bottom:8px; }
.legal-content li::before{ content:"–"; position:absolute; left:0; color:var(--wine); }
.legal-content strong{ color:var(--forest); }
.legal-content a{ color:var(--wine); text-decoration:underline; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .pillars{ grid-template-columns:1fr; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:36px; }
  .split.reverse .split-media{ order:0; }
  .stat-row{ grid-template-columns:1fr; }
  .legacy-panel{ grid-template-columns:1fr; }
  .values-list{ grid-template-columns:1fr; }
  .partner-strip{ grid-template-columns:1fr; }
  .testimonial-strip{ grid-template-columns:1fr; text-align:center; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }

  .site-header.nav-open .main-nav{
    display:flex;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--cream);
    flex-direction:column;
    padding:12px 28px 24px;
    border-bottom:1px solid rgba(28,42,23,0.12);
  }
  .site-header.nav-open .main-nav a{ padding:12px 4px; width:100%; }
}

@media (max-width: 640px){
  section{ padding:64px 0; }
  .cat-grid{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .brand-word{ font-size:1.05rem; }
  .brand img{ height:42px; }
  .hero{ min-height:92vh; }
  .legacy-panel img{ width:100%; }
}
