/* visenza.us site layer. Sits on top of visenza-tokens.css (the production Visenza design system).
   Plain and functional by request. No new colors or fonts introduced. */

@import url('./visenza-tokens.css');

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nacht); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Reduce the very tall default section rhythm for these dense info pages */
section { padding: 64px 0; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--stein);
  background: var(--kalk);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 34px; width: auto; }
.brand .brand-name {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 1.05rem;
  color: var(--nacht);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--nacht);
}
.site-nav a:hover { color: var(--erde); }
.lang-switch {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang-switch a { text-decoration: none; color: var(--erde); }
.lang-switch a:hover { color: var(--nacht); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .akzent { font-size: 1.4rem; display: block; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.hero p { max-width: 62ch; font-size: 1.05rem; }
.hero-figure { margin-top: 40px; }
.hero-figure img { width: 100%; object-fit: cover; border-radius: var(--radius); max-height: 520px; }

/* ---------- Generic content ---------- */
h2 { font-size: 1.6rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }
.lead { font-size: 1.1rem; max-width: 64ch; }
.muted { color: var(--erde); }
.section--sand { background: var(--sand); }

/* ---------- Offerings list (homepage) ---------- */
.offerings { list-style: none; margin: 0; padding: 0; }
.offering {
  border-top: 1px solid var(--stein);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}
.offering:last-child { border-bottom: 1px solid var(--stein); }
.offering a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--nacht);
}
.offering a:hover { color: var(--erde); }
.offering .price { color: var(--nacht); font-size: 0.95rem; }

/* ---------- Status badge ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border: 1px solid var(--erde);
  border-radius: var(--radius);
  color: var(--erde);
  white-space: nowrap;
}
.badge--live { border-color: var(--moos); color: var(--moos); }

/* ---------- Product page ---------- */
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 24px; }
.product-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.product-figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin: 28px 0; }
.details {
  list-style: none;
  margin: 28px 0;
  padding: 24px;
  background: var(--sand);
  border-radius: var(--radius);
}
.details li { padding: 7px 0; border-bottom: 1px solid var(--stein); }
.details li:last-child { border-bottom: none; }
.details li strong { font-weight: 500; }
.notice {
  border-left: 3px solid var(--erde);
  background: var(--sand);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.98rem;
}
.btn[disabled], .btn.is-disabled {
  background: var(--stein);
  border-color: var(--stein);
  color: var(--erde);
  cursor: not-allowed;
  pointer-events: none;
}
.product-legal-links { margin-top: 28px; font-size: 0.85rem; }
.product-legal-links a { color: var(--erde); text-decoration: underline; margin-right: 16px; }

/* ---------- Legal / text pages ---------- */
.legal { max-width: 78ch; }
.legal h1 { font-size: 1.8rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 0.98rem; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--erde); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--nacht);
  color: var(--kalk);
  padding: 56px 0 40px;
  margin-top: 40px;
}
.site-footer a { color: var(--kalk); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--lehm);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 5px 0; font-size: 0.9rem; }
.footer-note {
  border-top: 1px solid rgba(244,241,236,0.18);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--lehm);
  line-height: 1.7;
}
.footer-note p { margin: 6px 0; }
.footer-email { color: var(--kalk); }

/* ---------- Age gate ---------- */
.agegate-lock { overflow: hidden; }
.agegate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--nacht);
  color: var(--kalk);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.agegate[hidden] { display: none; }
.agegate-box { max-width: 520px; text-align: center; }
.agegate-box h2 { color: var(--kalk); font-size: 1.5rem; margin-bottom: 18px; }
.agegate-box p { font-size: 1rem; margin-bottom: 28px; color: var(--lehm); }
.agegate-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  section { padding: 44px 0; }
  .offering { flex-direction: column; }
}
