/* Shared styles for subpages (blog, landing pages). Tokens and nav/footer mirror index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --espresso: #29170F;
  --fern: #566856;
  --celadon: #E0EBCB;
  --sage: #B3CDAB;
  --clay: #D2A890;
  --mandarin: #C33A08;
  --sand: #F3F0E6;
  --teal: #0F6B5B;
  --cream: #FAFAF7;
  --nav-h: 76px;
  --f-display: 'Jost', 'Century Gothic', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'DM Mono', monospace;
}

html { font-size: 16px; }
body {
  font-family: var(--f-body);
  color: var(--espresso);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, strong, b, th { font-weight: 500; } /* brand: nothing heavier than Medium */

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

/* ── BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 30px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s; white-space: nowrap; line-height: 1;
}
.btn-fill { background: var(--mandarin); color: #fff; border-color: var(--mandarin); }
.btn-fill:hover { background: #a62e06; border-color: #a62e06; }

/* ── NAV */
#nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(243,240,230,0.94); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(41,23,15,0.07);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo-img { height: 54px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--f-display); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-btn { font-size: 9.5px; padding: 12px 22px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 500px) {
  .nav-btn { padding: 11px 14px; font-size: 9px; letter-spacing: 0.1em; }
}

/* ── BLOG LISTING */
.blog-head { padding: 88px 0 56px; }
.blog-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mandarin); margin-bottom: 16px;
}
.blog-hl {
  font-family: var(--f-display); font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 20px;
}
.blog-rule { width: 40px; height: 2.5px; background: var(--mandarin); margin-bottom: 24px; }
.blog-intro { font-size: 15px; font-weight: 300; line-height: 1.75; opacity: 0.75; max-width: 520px; }

.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 96px;
}
.post-grid:empty { display: none; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--cream); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(41,23,15,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(41,23,15,0.10); }
.post-card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--celadon); }
.post-card-body { padding: 28px 28px 32px; }
.post-meta {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 12px;
}
.post-card-title {
  font-family: var(--f-display); font-size: 17px; font-weight: 300;
  letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.3; margin-bottom: 12px;
}
.post-card-excerpt { font-size: 13.5px; font-weight: 300; line-height: 1.7; opacity: 0.7; }

.blog-empty {
  border: 1px dashed rgba(41,23,15,0.2); border-radius: 8px;
  padding: 56px 32px; text-align: center; margin-bottom: 96px;
}
.blog-empty p { font-size: 14px; font-weight: 300; line-height: 1.7; opacity: 0.7; margin-bottom: 24px; }

/* ── ARTICLE */
.article { max-width: 700px; margin: 0 auto; padding: 72px 0 40px; }
.article-back {
  display: inline-block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5; margin-bottom: 40px;
}
.article-back:hover { opacity: 1; color: var(--mandarin); }
.article-title {
  font-family: var(--f-display); font-size: clamp(28px, 4vw, 46px);
  font-weight: 500; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 20px;
}
.article-cover { width: 100%; border-radius: 6px; margin: 32px 0 8px; aspect-ratio: 16 / 9; object-fit: cover; }

.article-body { font-size: 16px; font-weight: 300; line-height: 1.85; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  font-family: var(--f-display); font-size: 22px; font-weight: 300;
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 48px;
}
.article-body h3 { font-size: 17px; font-weight: 500; margin-top: 36px; }
.article-body a { color: var(--mandarin); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { font-weight: 500; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body blockquote {
  border-left: 2px solid var(--mandarin); padding-left: 22px;
  font-family: var(--f-display); font-size: 20px; font-weight: 300; line-height: 1.5;
}
.article-body img { border-radius: 6px; width: 100%; }
.article-body figcaption { font-size: 12px; opacity: 0.55; margin-top: 8px; }
.article-lead { font-size: 18px; line-height: 1.75; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.article-body th, .article-body td {
  text-align: left; vertical-align: top; padding: 12px 14px;
  border-bottom: 1px solid rgba(41,23,15,0.12);
}
.article-body th {
  font-family: var(--f-mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6;
}
.article-body td:first-child { font-weight: 500; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
@media (max-width: 600px) { .article-body td:first-child { white-space: normal; } }

.article-inline-cta {
  border: 1px solid rgba(41,23,15,0.15); border-left: 2px solid var(--mandarin);
  padding: 20px 22px; font-size: 14.5px;
}
.article-inline-cta a { font-weight: 500; }

.faq h3 { margin-top: 28px; }
.faq h3 + p { margin-top: 8px; }
.article-sources ul { margin-top: 8px; }
.article-sources { font-size: 13px; opacity: 0.7; border-top: 1px solid rgba(41,23,15,0.1); padding-top: 24px; }

.article-cta {
  background: var(--espresso); color: var(--sand); border-radius: 8px;
  padding: 40px 36px; margin: 56px 0 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.article-cta-hl {
  font-family: var(--f-display); font-size: 20px; font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.article-cta p { font-size: 13.5px; font-weight: 300; opacity: 0.7; }

/* ── FOOTER */
footer { background: var(--sand); border-top: 1px solid rgba(41,23,15,0.09); padding: 40px 0; }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand-name { font-family: var(--f-display); font-size: 12px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; }
.foot-tagline { font-size: 12px; font-weight: 300; opacity: 0.5; }
.foot-legal {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; opacity: 0.35;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; align-self: flex-end;
}
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════
   LANDING PAGES (service / seasonal)
══════════════════════════════════════════ */
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--sand); }

.lp-hero { padding: 88px 0 56px; max-width: 760px; }
.lp-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mandarin); margin-bottom: 16px;
}
.lp-hl {
  font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 500; line-height: 1.08; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 20px;
}
/* Page headings follow the homepage hero: Medium, uppercase, key words in Fern */
.hl-em { color: var(--fern); }
.lp-lead { font-size: 17px; font-weight: 300; line-height: 1.75; opacity: 0.8; margin-bottom: 14px; }
.lp-nos { font-size: 13.5px; font-weight: 400; opacity: 0.7; margin-bottom: 32px; }
.lp-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.lang-switch {
  display: inline-block; margin-top: 28px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55;
  text-decoration: underline; text-underline-offset: 3px;
}
.lang-switch:hover { opacity: 1; color: var(--mandarin); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(41,23,15,0.15); border-bottom: 1px solid rgba(41,23,15,0.15);
  margin-bottom: 72px;
}
.fact { padding: 20px 20px 22px 0; }
.fact + .fact { border-left: 1px solid rgba(41,23,15,0.15); padding-left: 20px; }
.fact-lbl {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 8px;
}
.fact-val { font-size: 16px; font-weight: 400; line-height: 1.4; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(41,23,15,0.15); }
}

.lp-section { padding-bottom: 72px; max-width: 900px; }
.lp-h2 {
  font-family: var(--f-display); font-size: clamp(18px, 2.2vw, 26px); font-weight: 300;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 24px;
}
.lp-copy { font-size: 15.5px; font-weight: 300; line-height: 1.85; }
.lp-copy > * + * { margin-top: 18px; }
.lp-copy strong { font-weight: 500; }
.lp-copy a { color: var(--mandarin); text-decoration: underline; text-underline-offset: 3px; }
.lp-copy ul { padding-left: 22px; }
.lp-copy li + li { margin-top: 8px; }

.arc { width: 100%; border-collapse: collapse; }
.arc td { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(41,23,15,0.12); vertical-align: top; font-size: 15px; font-weight: 300; line-height: 1.6; }
.arc td.arc-min { font-family: var(--f-mono); font-size: 11px; color: var(--mandarin); white-space: nowrap; padding-top: 17px; width: 48px; }
.arc td.arc-name { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; padding-top: 16px; width: 120px; }
@media (max-width: 600px) {
  .arc tr { display: grid; grid-template-columns: auto 1fr; border-bottom: 1px solid rgba(41,23,15,0.12); padding: 12px 0; }
  .arc td { border: none; padding: 0 12px 0 0; }
  .arc td.arc-min, .arc td.arc-name { width: auto; padding-top: 2px; }
  .arc td:last-child { grid-column: 1 / -1; padding-top: 4px; }
}

.lp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .lp-cols { grid-template-columns: 1fr; gap: 24px; } }
.lp-col-lbl {
  font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 10px;
}
.lp-col p { font-size: 14.5px; font-weight: 300; line-height: 1.7; opacity: 0.8; }

.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .lp-cards { grid-template-columns: 1fr; } }
.lp-card {
  background: var(--cream); border-radius: 8px; padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(41,23,15,0.06); display: flex; flex-direction: column;
}
.lp-card-dur { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mandarin); margin-bottom: 8px; }
.lp-card-name { font-family: var(--f-display); font-size: 16px; font-weight: 300; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35; margin-bottom: 12px; }
.lp-card p { font-size: 13.5px; font-weight: 300; line-height: 1.7; opacity: 0.75; margin-bottom: 20px; }
.lp-card-price { margin-top: auto; border-top: 1px solid rgba(41,23,15,0.1); padding-top: 14px; font-family: var(--f-display); font-size: 22px; font-weight: 300; }
.lp-card-meta { font-size: 12px; font-weight: 300; opacity: 0.6; margin-top: 4px; }

.lp-founders { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; }
@media (max-width: 700px) { .lp-founders { grid-template-columns: 1fr; } }
.lp-founders img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; width: 100%; }

.lp-faq h3 { font-size: 16px; font-weight: 500; margin-top: 28px; }
.lp-faq h3:first-of-type { margin-top: 0; }
.lp-faq p { font-size: 15px; font-weight: 300; line-height: 1.8; margin-top: 8px; opacity: 0.85; }

.lp-founding {
  border: 1px solid rgba(41,23,15,0.15); border-left: 2px solid var(--mandarin);
  padding: 20px 22px; font-size: 14.5px; font-weight: 300; line-height: 1.7; margin-top: 28px;
}
.lp-founding strong { font-weight: 500; color: var(--mandarin); }
.lp-sources { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.7; opacity: 0.6; margin-top: 20px; }
.lp-sources a { text-decoration: underline; text-underline-offset: 3px; }
.lp-cta-wrap { max-width: 900px; }
.lp-cta-wrap .article-cta { margin-top: 0; }

/* Thank-you */
.ty { padding: 120px 0 140px; max-width: 640px; }

.lp-cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
@media (max-width: 700px) { .lp-cards-2 { grid-template-columns: 1fr; } }
.lp-card-link { margin-top: 12px; font-size: 12px; font-weight: 500; color: var(--mandarin); }
.lp-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer link row (all pages) */
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(41,23,15,0.09);
}
.foot-nav a { font-size: 12px; font-weight: 300; opacity: 0.65; transition: opacity 0.2s; }
.foot-nav a:hover { opacity: 1; color: var(--mandarin); }
.lp-card-price small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-right: 2px; }

/* Larger groups / company events callout (all pages with prices) */
.lp-groups {
  margin-top: 16px; padding: 22px 24px; border-radius: 8px;
  background: linear-gradient(150deg, rgba(179,205,171,0.40), rgba(224,232,203,0.35));
  font-size: 14.5px; font-weight: 300; line-height: 1.7;
}
.lp-groups strong { font-weight: 500; display: block; margin-bottom: 4px; }
.lp-groups a { color: var(--espresso); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lp-groups a:hover { color: var(--mandarin); }

/* Christmas pages: gentle snowfall of soft dots in brand colours behind the hero */
.snow {
  position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 640px;
  overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.snow i {
  position: absolute; top: -24px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--c); opacity: 0;
  filter: blur(0.4px);
  animation: snowFall var(--d) linear var(--delay) infinite, snowSway calc(var(--d) / 3) ease-in-out var(--delay) infinite alternate;
}
@keyframes snowFall {
  0%   { transform: translateY(0);     opacity: 0; }
  10%  { opacity: var(--o, 0.85); }
  85%  { opacity: var(--o, 0.85); }
  100% { transform: translateY(660px); opacity: 0; }
}
@keyframes snowSway {
  from { margin-left: -14px; }
  to   { margin-left: 14px; }
}
.has-snow { position: relative; }
.has-snow .lp-hero { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* "Not in Berlin?" pointer to the online page */
.lp-online { margin-top: 14px; font-size: 14px; font-weight: 300; line-height: 1.7; opacity: 0.85; }
.lp-online a { color: var(--mandarin); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Social links in footer */
.foot-social { font-size: 12px; font-weight: 300; opacity: 0.7; margin-top: 4px; }
.foot-social a { text-decoration: underline; text-underline-offset: 3px; }
.foot-social a:hover { color: var(--mandarin); }
