/* ==========================================================================
   HistaGlow Website Stylesheet
   Basiert auf HistaGlow_Brand_Setup.md
   Creme #F6F1E6 · Sage #93B083 · Ink #3B362F · Clay #C0805F · Sand #E7DBC9
   DM Sans (Body/Emotion) · JetBrains Mono (Kicker/Fachlich)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400;1,9..40,700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --creme: #F6F1E6;
  --creme-card: #FBF8F1;
  --sage: #93B083;
  --sage-soft: #C7D6BC;
  --sage-tint: #EAF0E4;
  --ink: #3B362F;
  --ink-soft: #6B655B;
  --clay: #C0805F;
  --clay-dark: #A96C4D;
  --sand: #E7DBC9;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 8px;
  --maxw: 720px;
  --maxw-wide: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--creme);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

section { padding: 64px 0; }
section.tight { padding: 44px 0; }
section.alt { background: var(--creme-card); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }

.center { text-align: center; }

/* ---------- Header ---------- */
header.site {
  padding: 26px 0;
  border-bottom: 1px solid var(--sand);
}
header.site .wrap-wide { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.wordmark {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  color: var(--sage);
  letter-spacing: .2px;
  text-decoration: none;
}
.wordmark span { color: var(--ink); }

nav.site a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 22px;
}
nav.site a:hover { color: var(--sage); }
nav.site a.active { color: var(--ink); }

/* ---------- Typography ---------- */
h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(31px, 5.6vw, 46px);
  line-height: 1.13;
  letter-spacing: -.8px;
  margin-bottom: 20px;
}
h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 31px);
  line-height: 1.2;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
h2.mono { font-family: var(--mono); font-size: clamp(21px, 3.2vw, 27px); letter-spacing: -.6px; }
h3 { font-weight: 700; font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
h4 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.lead { font-size: clamp(18px, 2.4vw, 20.5px); line-height: 1.62; color: var(--ink); }
.muted { color: var(--ink-soft); }
.small { font-size: 14.5px; line-height: 1.6; }
.xs { font-size: 12.8px; line-height: 1.6; color: var(--ink-soft); }
strong, b { font-weight: 700; }
em { font-style: italic; }

a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }

.rule { height: 1px; background: var(--sage-soft); border: 0; margin: 44px 0; }
.rule.short { width: 56px; margin: 28px auto; background: var(--sage); }

blockquote {
  border-left: 2px solid var(--sage);
  padding: 4px 0 4px 22px;
  margin: 26px 0;
  font-size: 19px;
  line-height: 1.58;
  font-style: italic;
  color: var(--ink);
}

/* ---------- Leaf motif ---------- */
.dashed-circle {
  width: 74px; height: 74px;
  border: 1.5px dashed var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}
.leaf { width: 30px; height: 30px; }
.leaf path { fill: var(--sage); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.3;
  padding: 16px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
  text-align: center;
}
.btn:hover { background: var(--clay-dark); color: var(--creme); }
.btn.block { display: block; width: 100%; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sage);
}
.btn.ghost:hover { background: var(--sage-tint); color: var(--ink); }

.btn-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--creme-card);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.card.sage { border-left: 3px solid var(--sage); }
.card.clay { border-left: 3px solid var(--clay); }
.card + .card { margin-top: 14px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Phase list (GLOW) ---------- */
.phases { display: flex; flex-direction: column; gap: 18px; }
.phase { display: flex; gap: 20px; align-items: flex-start; }
.phase .letter {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  background: var(--sage);
  min-width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  margin-top: 2px;
}
.phase h3 { margin-bottom: 4px; }
.phase p { font-size: 16px; margin-bottom: 0; }

/* ---------- Checklists ---------- */
ul.clean { list-style: none; }
ul.clean li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 13px;
  line-height: 1.6;
}
ul.clean li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
ul.clean.cross li::before { background: var(--sand); }

ul.deliver { list-style: none; }
ul.deliver li {
  border-bottom: 1px solid var(--sand);
  padding: 15px 0;
}
ul.deliver li:last-child { border-bottom: 0; }
ul.deliver strong { display: block; margin-bottom: 2px; }
ul.deliver span { font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Steps ---------- */
ol.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
ol.steps li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; }
ol.steps li::before {
  content: counter(s);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  color: #fff; background: var(--sage);
  min-width: 30px; height: 30px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex: none; margin-top: 1px;
}

/* ---------- Price box ---------- */
.price {
  background: var(--creme-card);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: 32px 30px;
  text-align: center;
}
.price .amount { font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -1px; margin-bottom: 6px; }
.price .terms { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-soft); }
/* ---------- Zahlungsoptionen (3 Kaesten) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.plan {
  background: var(--creme-card);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 20px 24px;
  text-align: center;
  display: flex; flex-direction: column;
}
.plan .plan-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.plan .plan-rate {
  font-family: var(--sans); font-weight: 700;
  font-size: 30px; line-height: 1.1; letter-spacing: -.8px;
  margin-bottom: 5px;
}
.plan .plan-sub { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 14px; }
.plan .plan-total {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--sand);
  padding-top: 12px; margin-top: auto;
}
.plan.highlight { border: 1.5px solid var(--sage); background: var(--sage-tint); }
.plan.highlight .plan-total { border-top-color: var(--sage-soft); }

.plans-note {
  text-align: center;
  font-size: 15px; line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 20px;
}

.badge {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--sand); color: var(--ink);
  padding: 8px 16px; border-radius: var(--radius);
  margin-bottom: 20px;
}
.badge.sage { background: var(--sage-tint); color: #5c7049; border: 1px solid var(--sage-soft); }

/* ---------- Form ---------- */
.formbox {
  background: var(--creme-card);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.formbox label {
  display: block;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 7px;
}
.formbox input[type="text"],
.formbox input[type="tel"],
.formbox input[type="email"] {
  width: 100%;
  font-family: var(--sans); font-size: 16.5px; color: var(--ink);
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.formbox input:focus { outline: 2px solid var(--sage-soft); outline-offset: 1px; border-color: var(--sage); }
.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; }
.consent input { margin-top: 5px; width: 17px; height: 17px; flex: none; accent-color: var(--sage); }
.consent label { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin: 0; }

/* ---------- Fragebogen ---------- */
.formbox + .formbox { margin-top: 18px; }
.formbox .formhead {
  font-family: var(--sans);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}
.formbox textarea,
.formbox select {
  width: 100%;
  font-family: var(--sans); font-size: 16.5px; color: var(--ink);
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.formbox textarea { resize: vertical; min-height: 96px; }
.formbox select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z' fill='%236B655B'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
  padding-right: 40px;
}
.formbox textarea:focus,
.formbox select:focus { outline: 2px solid var(--sage-soft); outline-offset: 1px; border-color: var(--sage); }

.fieldnote {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  margin-top: -3px; margin-bottom: 9px;
}

.formbox label.q {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.choices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.formbox .choice {
  display: flex; align-items: center; gap: 11px;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--sans); font-size: 16px; line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--ink);
  margin-bottom: 0;
  transition: border-color .12s ease, background .12s ease;
}
.formbox .choice:hover { border-color: var(--sage-soft); }
.formbox .choice input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--sage); }
.formbox .choice span { display: block; }
.formbox .choice:has(input:checked) { border-color: var(--sage); background: var(--sage-tint); }

.hp { position: absolute; left: -5000px; }

/* ---------- Video ---------- */
.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--sand);
}
.video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 22px; margin-top: 34px; margin-bottom: 10px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.66; }
.legal ul { margin: 0 0 18px 20px; }
.legal ul li { margin-bottom: 7px; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--sand);
  padding: 34px 0 44px;
  margin-top: 20px;
}
footer.site .row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer.site a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; margin-right: 18px;
}
footer.site a:hover { color: var(--sage); }
footer.site .claim { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage); }

.disclaimer {
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--ink-soft);
  border-top: 1px solid var(--sand);
  padding-top: 18px;
  margin-top: 30px;
}

/* ---------- Editor notes (nur fuer Caro, nicht live sichtbar lassen) ---------- */
.todo {
  background: #FBEFE6;
  border: 1px dashed var(--clay);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #8a5535;
  margin: 18px 0;
}
.todo b { color: #7a4526; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  section { padding: 48px 0; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 12px; }
  .plan { padding: 22px 18px; }
  nav.site a { margin-left: 0; margin-right: 16px; display: inline-block; }
  header.site .wrap-wide { flex-direction: column; align-items: flex-start; gap: 12px; }
  .card { padding: 22px 20px; }
  .price { padding: 26px 20px; }
  .formbox { padding: 24px 20px; }
  .phase { gap: 15px; }
  .phase .letter { min-width: 38px; height: 38px; font-size: 17px; }
  blockquote { font-size: 17.5px; padding-left: 18px; }
}
