/* ==========================================================================
   WiNKATO – Design System
   Reihenfolge: Tokens, Reset, Layout, Typografie, Komponenten, Utilities
   ========================================================================== */

:root {
  /* Farben – warme Handwerks-Palette */
  --ink: #1a1614;
  --ink-soft: #4a423c;
  --muted: #7a6f66;
  --cream: #fbf8f3;
  --sand: #f2ebe0;
  --line: #e3dacb;
  --sage: #5f7355;
  --sage-dark: #46563e;
  --sage-tint: #eef1eb;
  --gold: #b8873b;
  --white: #fff;

  /* Typografie – fluid, skaliert mit dem Viewport */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.65rem + 2.2vw, 3.6rem);

  /* Abstände */
  --gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(26 22 20 / 6%), 0 8px 28px -12px rgb(26 22 20 / 18%);
  --shadow-lg: 0 2px 4px rgb(26 22 20 / 6%), 0 24px 56px -20px rgb(26 22 20 / 26%);
  --header-h: 72px;
}

/* --------------------------------------------------------------- Reset */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  /* verhindert, dass der Sticky-Header Anker-Ziele verdeckt */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { text-wrap: pretty; }

a { color: var(--sage-dark); }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------------------------------------------- Layout */

.container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

.container--narrow { width: min(100% - 2.5rem, 760px); }

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--tint { background: var(--sage-tint); }
.section--ink { background: var(--ink); color: #d9d2ca; }
.section--ink h2,
.section--ink h3 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section--ink .eyebrow { color: #a8bb9c; }

.lead {
  font-size: var(--step-1);
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.section--ink .lead { color: #b3aba2; }

/* Skip-Link für Tastatur- und Screenreader-Nutzung */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 2000;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* -------------------------------------------------------------- Header */

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgb(251 248 243 / 92%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.logo__name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo__tag {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--sage);
}

.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav__link {
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav__link:hover { background: var(--sand); color: var(--ink); }

.nav__link[aria-current="page"] {
  color: var(--sage-dark);
  font-weight: 600;
  background: var(--sage-tint);
}

.nav__cta { margin-left: 0.5rem; }

/* Burger – nur mobil sichtbar */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex: none;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    /* geschlossen: unsichtbar und nicht fokussierbar */
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }

  .nav__cta {
    margin: 1rem 0 0;
    text-align: center;
  }
}

/* --------------------------------------------------------------- Button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-dark); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #332c27; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover { background: var(--sand); border-color: var(--muted); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.9rem; }

/* ----------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background: linear-gradient(170deg, var(--sand) 0%, var(--cream) 62%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero__title { margin-bottom: 1.25rem; }

.hero__title em {
  font-style: normal;
  color: var(--sage);
}

.hero__text {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius);
}

.hero__usp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
}

.hero__usp li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__usp svg { color: var(--sage); flex: none; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Bild zuerst: auf dem Handy muss sofort ein Produkt sichtbar sein */
  .hero__media { order: -1; }
  .hero__text { max-width: none; }
}

/* ------------------------------------------------------------ Trust-Bar */

.trustbar {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: 1.25rem;
}

.trustbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trustbar__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}

.trustbar__list svg { color: var(--sage); flex: none; }

@media (max-width: 780px) {
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------- Grid */

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- Produktkarte */

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem;
}

.card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.card__title { margin-bottom: 0.5rem; }

.card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card__spec {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.card__spec li {
  display: flex;
  gap: 0.5rem;
  padding: 0.2rem 0;
}

.card__spec li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
}

.card__foot { margin-top: auto; }

.card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.card__price b {
  font-family: var(--font-head);
  font-size: 1.65rem;
  color: var(--ink);
}

.card__price span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ Galerie */

.gallery {
  position: relative;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}

.gallery__track {
  position: absolute;
  inset: 0;
}

.gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery__slide[data-active] { opacity: 1; }

/* Freigestellte Motive nicht anschneiden */
.gallery--contain { background: var(--white); }
.gallery--contain .gallery__slide { object-fit: contain; }

.gallery__btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgb(255 255 255 / 88%);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.gallery:hover .gallery__btn,
.gallery__btn:focus-visible { opacity: 1; }

@media (hover: none) {
  .gallery__btn { opacity: 1; }
}

.gallery__btn:hover { background: var(--white); }
.gallery__btn--prev { left: 0.6rem; }
.gallery__btn--next { right: 0.6rem; }

.gallery__dots {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgb(255 255 255 / 60%);
  border: 1px solid rgb(26 22 20 / 20%);
  border-radius: 50%;
  cursor: pointer;
}

.gallery__dot[data-active] { background: var(--sage); border-color: var(--sage); }

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
}

.badge--gold { background: var(--gold); }
.badge--sage { background: var(--sage); }

/* --------------------------------------------------------- Angebotskarte */

.offer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.offer--featured {
  border-color: var(--sage);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.offer__flag {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--ink);
}

.offer--featured .offer__flag { background: var(--sage); color: var(--white); }

.offer__price {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--ink);
  margin: 1rem 0 0.15rem;
}

.offer__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.offer__list {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.94rem;
}

.offer__list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.32rem 0;
}

.offer__list svg { flex: none; margin-top: 0.3rem; color: var(--sage); }

/* -------------------------------------------------------------- Prozess */

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.steps li {
  counter-increment: step;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  background: var(--sage-tint);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.steps h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.steps p { font-size: 0.92rem; color: var(--muted); }

/* ------------------------------------------------------------- Stimmen */

.quote {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote__stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.quote blockquote {
  flex: 1;
  margin: 0 0 1.1rem;
  font-family: var(--font-head);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.quote figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-size: var(--step-1);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate 0.2s;
}

.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }

.faq details > div {
  padding-bottom: 1.35rem;
  color: var(--muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------ Formular */

.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: 0.4rem; }

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgb(95 115 85 / 18%);
}

.field textarea { resize: vertical; min-height: 130px; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.field--check input { width: 18px; height: 18px; margin-top: 0.2rem; }

.field--check label { font-weight: 400; font-size: 0.88rem; color: var(--muted); }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.form__status[data-state="error"] { background: #fdeceb; color: #8a2c22; }
.form__status[data-state="ok"] { background: var(--sage-tint); color: var(--sage-dark); }

/* --------------------------------------------------------------- Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgb(26 22 20 / 62%);
  backdrop-filter: blur(3px);
}

.modal[hidden] { display: none; }

.modal__panel {
  position: relative;
  width: min(100%, 540px);
  max-height: min(88dvh, 780px);
  overflow-y: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.modal__close:hover { background: var(--sand); }

.modal h2 { font-size: var(--step-2); margin-bottom: 0.35rem; padding-right: 2.5rem; }
.modal__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

.option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.option:hover { border-color: var(--muted); }
.option:has(input:checked) { border-color: var(--sage); background: var(--sage-tint); }
.option input { width: 18px; height: 18px; accent-color: var(--sage); }
.option__name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.option__note { display: block; font-weight: 400; font-size: 0.83rem; color: var(--muted); }
.option__price { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 0.6rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.total__label { font-size: 0.9rem; color: var(--muted); }
.total__value { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); }

.legal-note {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------ Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgb(15 12 11 / 94%);
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 90dvh;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------------------------------------------------------- Breadcrumb */

.breadcrumb {
  padding-block: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }

/* --------------------------------------------------------------- Media */

.media { border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}

.split--narrow { grid-template-columns: 0.85fr 1.15fr; }

@media (max-width: 860px) {
  .split,
  .split--narrow { grid-template-columns: 1fr; }
}

.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--sage-dark); }

/* ----------------------------------------------------------------- CTA */

.cta {
  text-align: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  background: var(--ink);
  border-radius: var(--radius);
  color: #d9d2ca;
}

.cta h2 { color: var(--white); }
.cta p { margin: 1rem auto 2rem; max-width: 52ch; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* -------------------------------------------------------------- Footer */

.footer {
  background: var(--ink);
  color: #a89f97;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  font-size: 0.93rem;
}

.footer a { color: #a89f97; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem var(--gap);
}

@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }

.footer__tag {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------ Utilities */

.stack-sm > * + * { margin-top: 0.6rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
