/* PURE – Naturheilpraxis Carsten Stepan
   Palette derived from the practice logo (olive stem, berry / lime / apricot dots).
   Every text colour below is checked against --paper, --paper-2 and --card (>= 5.3:1). */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f5ee;
  --paper-2: #efe9dc;
  --card: #fffdf8;
  --ink: #232b1c;
  --text: #3a4233;
  --muted: #596150;
  --olive: #4f6127;
  --olive-deep: #3d4b1c;
  --olive-dark: #27311a;
  --berry: #9c1759;
  --lime: #d6e3a0;
  --lime-soft: #e9efcc;
  --apricot: #e8834a;
  --star: #b5651d;
  --line: #d6ccb8;
  --field: #8a8f7e;
  --on-dark: #f8f5ee;
  --on-dark-muted: #c9cfbd;

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.8vw, 3rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 4.125rem);

  --space-s: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  --space-m: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --space-l: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  --space-xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgb(35 43 28 / 6%), 0 12px 32px -12px rgb(35 43 28 / 18%);
  --header-h: 4.5rem;
  --wrap: 72rem;

  /* z-index ladder: helpers < header < nav panel < skip link */
  --z-header: 50;
  --z-nav: 60;
  --z-skip: 100;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-kerning: normal;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: var(--step-4); font-weight: 450; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--olive); font-weight: 400; }

p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.35em; }

a { color: var(--olive); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--olive-deep); text-decoration-thickness: 2px; }

strong { color: var(--ink); font-weight: 650; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: var(--z-skip);
  background: var(--olive-deep); color: var(--on-dark);
  padding: 0.75rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus-visible { top: 1rem; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 48rem); margin-inline: auto; }

.section { padding-block: var(--space-xl); }
.section--tint { background: var(--paper-2); }
.section--tight { padding-block: var(--space-l); }

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

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--text); }

.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.section-head p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn--primary { background: var(--olive-deep); color: var(--on-dark); }
.btn--primary:hover { background: var(--olive-dark); color: var(--on-dark); }
.btn--ghost { border-color: var(--olive-deep); color: var(--olive-deep); background: transparent; }
.btn--ghost:hover { background: var(--lime-soft); color: var(--olive-dark); }
.btn--light { background: var(--on-dark); color: var(--olive-dark); }
.btn--light:hover { background: var(--lime); color: var(--olive-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 650; text-decoration: none; color: var(--olive-deep);
  min-height: 44px;
}
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: rgb(248 245 238 / 94%);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  width: min(100% - 2rem, 86rem);
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
  margin-right: auto;
  min-height: 44px;
}
.brand img { width: 42px; height: 41px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.14em; }
.brand-sub { white-space: nowrap; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-list {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list li + li { margin: 0; }
.nav-list a {
  display: flex; align-items: center;
  min-height: 44px; padding: 0 0.7rem;
  color: var(--ink); text-decoration: none;
  font-size: 0.975rem; font-weight: 550;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--lime-soft); }
.nav-list a[aria-current="page"] { color: var(--olive-deep); box-shadow: inset 0 -2px 0 var(--olive); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; min-width: 44px; justify-content: center;
  color: var(--olive-deep); font-weight: 650; text-decoration: none;
  border-radius: 999px; padding: 0 0.6rem;
}
.header-phone svg { width: 1.2rem; height: 1.2rem; }
.header-phone:hover { background: var(--lime-soft); }
.header-phone .phone-number { display: none; }
@media (min-width: 96rem) { .header-phone .phone-number { display: inline; white-space: nowrap; } }
.header-cta { min-height: 2.75rem; padding: 0.55rem 1.1rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 75rem) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    z-index: var(--z-nav);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1rem 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav[hidden] { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0.25rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--olive); padding-left: 0.75rem; }
  .nav-mobile-cta { display: grid; gap: 0.6rem; margin-top: 1rem; }
}
@media (min-width: 75.01rem) {
  .site-nav[hidden] { display: block; }
  .nav-mobile-cta { display: none; }
}

/* Hero */
.hero { padding-block: var(--space-l) var(--space-xl); }
.hero-grid {
  display: grid; gap: var(--space-l);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.5rem; }
.hero-note { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 55% 30%; width: 100%; }
.hero-badge {
  position: absolute; left: -0.5rem; bottom: 1.25rem;
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow);
  padding: 0.75rem 1rem; max-width: 17rem;
  font-size: var(--step--1); line-height: 1.4;
}
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
@media (max-width: 36rem) { .hero-badge { position: static; margin-top: 0.75rem; max-width: none; } }

.rating-inline {
  display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-size: var(--step--1); color: var(--muted); text-decoration: none;
  margin-top: 1.25rem; min-height: 44px;
}
.rating-inline:hover { color: var(--ink); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 1.05rem; height: 1.05rem; }

/* Facts strip */
.facts {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  background: var(--line);
  border-block: 1px solid var(--line);
}
.fact { background: var(--paper); padding: 1.25rem 1rem; display: flex; gap: 0.85rem; align-items: flex-start; }
.fact svg { width: 1.6rem; height: 1.6rem; color: var(--olive); flex: none; margin-top: 0.15rem; }
.fact strong { display: block; font-size: 1rem; }
.fact span { font-size: var(--step--1); color: var(--muted); line-height: 1.45; display: block; }

/* Cards */
.grid { display: grid; gap: var(--space-m); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body p { color: var(--muted); margin: 0; }
.card-body .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.card-kicker { font-size: var(--step--1); font-weight: 650; color: var(--olive); letter-spacing: 0.04em; }
.card--pillar h3 { font-size: var(--step-2); font-weight: 500; }
.card-price { font-size: var(--step--1); color: var(--ink); font-weight: 600; }

.card--plain { padding: 1.5rem; gap: 0.5rem; }
a.card { color: inherit; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
a.card:hover { border-color: var(--olive); box-shadow: var(--shadow); color: inherit; }
a.card h3 { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.card--plain h3 { margin: 0; }

/* Split layout */
.split { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split figure { margin: 0; }
.split img, .figure img { border-radius: var(--radius); width: 100%; object-fit: cover; }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.6rem; }

/* Quote */
.quote-band { background: var(--olive-dark); color: var(--on-dark); }
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--font-serif); font-size: var(--step-3); line-height: 1.25; color: var(--on-dark); max-width: 30ch; font-weight: 400; }
.quote-band cite { font-style: normal; color: var(--on-dark-muted); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.steps li { margin: 0; counter-increment: step; padding-top: 1.1rem; border-top: 2px solid var(--olive); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: var(--step-2); color: var(--olive);
  display: block; margin-bottom: 0.25rem; line-height: 1;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--muted); margin: 0; }

/* Treatment list */
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer-list li { margin: 0; }
.offer {
  display: grid; gap: 0.35rem 1.5rem;
  grid-template-columns: 1fr auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.offer h3 { margin: 0; font-size: var(--step-1); }
.offer p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.offer-meta { font-size: var(--step--1); color: var(--muted); grid-column: 1 / -1; }
.offer-price { font-family: var(--font-serif); font-size: var(--step-1); color: var(--ink); white-space: nowrap; font-weight: 500; }
@media (min-width: 40rem) {
  .offer p { grid-column: 1; }
  .offer-meta { grid-column: 1; }
}

/* Price tables */
.price-group + .price-group { margin-top: var(--space-l); }
.price-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.price-table caption { text-align: left; font-family: var(--font-serif); font-size: var(--step-2); color: var(--ink); padding-bottom: 0.75rem; }
.price-table th, .price-table td { text-align: left; padding: 0.85rem 0.5rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 550; color: var(--ink); }
.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); padding-right: 0; }
.price-table .note { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 400; }
.price-table tr.is-recommended th::after {
  content: "empfohlen"; margin-left: 0.5rem;
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--olive-deep); background: var(--lime-soft); padding: 0.15rem 0.5rem; border-radius: 999px;
  vertical-align: 0.15em;
}

.time-prices { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); margin: 0; }
.time-price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem; margin: 0; }
.time-price dt { font-size: var(--step--1); color: var(--muted); }
.time-price dd { margin: 0; font-family: var(--font-serif); font-size: var(--step-2); color: var(--ink); }
.time-price.is-recommended { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.time-price.is-recommended dt::after { content: " · empfohlen"; color: var(--olive-deep); font-weight: 650; }

/* Callout */
.callout {
  background: var(--lime-soft);
  border-radius: var(--radius);
  padding: var(--space-m);
  display: grid; gap: 0.5rem;
}
.callout h2, .callout h3 { margin: 0; }
.callout p { margin: 0; }
.callout--note { background: var(--paper-2); border: 1px solid var(--line); }

/* Testimonials */
.testimonials { columns: 1; column-gap: var(--space-m); }
@media (min-width: 44rem) { .testimonials { columns: 2; } }
@media (min-width: 68rem) { .testimonials--3 { columns: 3; } }
.testimonial {
  break-inside: avoid;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; margin: 0 0 var(--space-m);
}
.testimonial blockquote { margin: 0.75rem 0 1rem; }
.testimonial blockquote p { margin: 0; font-size: 1.0625rem; color: var(--text); }
.testimonial figcaption { margin: 0; font-size: var(--step--1); color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); }
.testimonial-context { display: block; font-size: 0.8125rem; color: var(--olive); font-weight: 650; letter-spacing: 0.04em; margin-top: 0.15rem; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: var(--space-m); }
.rating-summary .stars svg { width: 1.4rem; height: 1.4rem; }
.rating-summary p { margin: 0; color: var(--muted); }

/* Locations */
.location { display: flex; flex-direction: column; gap: 0.35rem; }
.location address { font-style: normal; color: var(--text); }
.location .tag { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--berry); }
.location-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: auto; }

/* Schedule */
.schedule { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.schedule > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.schedule dt { font-weight: 650; color: var(--ink); }
.schedule dd { margin: 0; }
.schedule dd span { display: block; color: var(--muted); font-size: var(--step--1); }

.event { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.event-date { font-family: var(--font-serif); color: var(--olive-deep); line-height: 1.1; }
.event-date b { display: block; font-size: var(--step-2); font-weight: 500; }
.event h3 { margin: 0 0 0.2rem; }
.event p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.event-price { font-weight: 650; color: var(--ink); white-space: nowrap; }
@media (max-width: 34rem) { .event { grid-template-columns: 4.5rem 1fr; } .event-price { grid-column: 2; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 56px; padding: 0.75rem 0;
  font-weight: 600; color: var(--ink); font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-serif); font-size: 1.6rem; color: var(--olive); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1rem; color: var(--text); }

/* Contact & form */
.contact-grid { display: grid; gap: var(--space-l); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }

.contact-direct { display: grid; gap: 1rem; }
.contact-line { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-line svg { width: 1.4rem; height: 1.4rem; color: var(--olive); flex: none; margin-top: 0.3rem; }
.contact-line a { font-size: var(--step-1); font-weight: 600; color: var(--ink); text-decoration-color: var(--line); }
.contact-line span { display: block; font-size: var(--step--1); color: var(--muted); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 1rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font-sans); /* 16px: prevents iOS focus zoom */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-s);
  padding: 0.75rem 0.85rem;
  min-height: 3rem;
  width: 100%;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--olive-deep); }
.field [aria-invalid="true"] { border-color: var(--berry); border-width: 2px; }
.field:has([aria-invalid="true"]) label { color: var(--berry); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.5rem 1rem; border: 1.5px solid var(--field); border-radius: 999px;
  cursor: pointer; background: #fff; font-size: 0.975rem;
}
.choice input:checked + span { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--on-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--berry); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; font-size: 0.975rem; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0.2rem 0 0; accent-color: var(--olive-deep); }
.form-errors {
  border: 2px solid var(--berry); border-radius: var(--radius-s);
  padding: 0.9rem 1rem; margin-bottom: 1.25rem; background: #fdf3f7;
}
.form-errors p { margin: 0; color: var(--ink); font-weight: 600; }
.form-errors ul { margin: 0.4rem 0 0; }
.form-success { text-align: left; }
.form-success h3 { font-size: var(--step-2); }
.form-fineprint { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* Dosha check */
.dosha { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.dosha fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.dosha legend { font-family: var(--font-serif); font-size: var(--step-1); color: var(--ink); margin-bottom: 0.75rem; font-weight: 600; }
.dosha-options { display: grid; gap: 0.5rem; }
.dosha-option { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; background: #fff; }
.dosha-option:has(input:checked) { border-color: var(--olive-deep); background: var(--lime-soft); }
.dosha-option input { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--olive-deep); }
.dosha-option span { color: var(--muted); font-size: var(--step--1); display: block; }
.dosha-option strong { font-weight: 600; }
.dosha-result { margin-top: 1rem; }
.dosha-result[hidden] { display: none; }

/* Page head */
.page-head { padding-block: var(--space-l) var(--space-m); }
.page-head .lead { max-width: 44rem; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

.hero-image-wide img { width: 100%; border-radius: var(--radius); aspect-ratio: 21 / 8; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--olive-deep); color: var(--on-dark); border-radius: var(--radius); padding: clamp(1.75rem, 5vw, 3.5rem); display: grid; gap: 1.25rem; }
.cta-band h2 { color: var(--on-dark); margin: 0; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 52rem) { .cta-band { grid-template-columns: 1.4fr auto; align-items: center; } }

/* Prose (legal pages) */
.prose h2 { font-size: var(--step-2); margin-top: 1.75em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { max-width: 70ch; }
.todo { background: #fff1c2; color: var(--ink); padding: 0 0.25em; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--olive-dark); color: var(--on-dark-muted); padding-block: var(--space-xl) 2rem; margin-top: var(--space-xl); font-size: 0.975rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer-grid h2 { font-family: var(--font-sans); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; font-weight: 650; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 0.1rem; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand p { color: var(--on-dark-muted); }
.footer-brand .brand-name { color: var(--on-dark); }
.footer-phone { font-family: var(--font-serif); font-size: var(--step-2); text-decoration: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgb(248 245 238 / 18%); margin-top: var(--space-l); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: var(--step--1); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom li + li { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal-note { font-size: var(--step--1); max-width: 70ch; margin-top: var(--space-m); color: var(--on-dark-muted); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reveal-2 { animation-delay: 0.08s; }
  .reveal-3 { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-header, .site-footer, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

.btn--outline-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn--outline-light:hover { background: rgb(248 245 238 / 12%); color: var(--on-dark); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: var(--space-m); }
.testimonials--single { columns: 1 !important; }
