/* ============================================================
   Hope · ReproF 2026 NFC landing — mobile-only (~390px)
   Design system mirrors hope-kinderwunsch.de (colors + fonts).
   ============================================================ */

/* ---------- Self-hosted fonts (subset woff2, font-display: swap) ---------- */
@font-face { font-family:"Nunito Sans"; font-style:normal; font-weight:200; font-display:swap; src:url("fonts/NunitoSans-ExtraLight.woff2") format("woff2"); }
@font-face { font-family:"Nunito Sans"; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/NunitoSans-Regular.woff2") format("woff2"); }
@font-face { font-family:"Nunito Sans"; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/NunitoSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family:"Nunito Sans"; font-style:normal; font-weight:800; font-display:swap; src:url("fonts/NunitoSans-ExtraBold.woff2") format("woff2"); }
@font-face { font-family:"Marcellus";   font-style:normal; font-weight:400; font-display:swap; src:url("fonts/Marcellus-Regular.woff2") format("woff2"); }
@font-face { font-family:"Tenor Sans";  font-style:normal; font-weight:400; font-display:swap; src:url("fonts/TenorSans-Regular.woff2") format("woff2"); }

/* ---------- Brand tokens (from hopefertia.webflow CSS) ---------- */
:root {
  --coral:        #E99475;  /* secondaries--peach-active */
  --coral-dark:   #C8644A;
  --coral-text:   #723D29;  /* secondaries--peach-on */
  --coral-pale:   #FCD6D1;
  --peach:        #F9E4DC;
  --decoration:   #ECBB9C;

  --navy:         #1F2755;  /* primaries--hope */
  --navy-2:       #4E5682;  /* primaries--hope-hover */
  --ink:          #0B0449;  /* primary (deep headings) */

  --body:         #4A5170;  /* readable blue-grey body text */
  --muted:        #758696;
  --muted-2:      #9DA1BB;  /* decoration-gray */

  --bg:           #FBF3F0;  /* page background (solid, no gradient) */
  --surface:      #FFFFFF;
  --surface-2:    #F6F6FA;  /* neutrals--surface */
  --surface-dim:  #F1F2F7;
  --border:       #EAEEF3;  /* decoration-light-gray */

  --radius:    18px;
  --radius-sm: 12px;
  --pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(11,4,73,.05);
  --shadow-md: 0 10px 30px rgba(31,39,85,.07);
  --shadow-cta: 0 10px 26px rgba(233,148,117,.34);

  --maxw: 430px;
  --pad: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--body);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.page { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) calc(env(safe-area-inset-bottom) + 8px); overflow-x: clip; }

/* ---------- Language toggle (CSS-only, JS-free) ---------- */
.t-en { display: none; }
#lang-switch:checked ~ .page .t-de { display: none; }
#lang-switch:checked ~ .page .t-en { display: contents; }

.lang-toggle {
  font-family: "Tenor Sans", sans-serif;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--pill);
  padding: 8px 15px; cursor: pointer; user-select: none;
  box-shadow: var(--shadow-sm); -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, border-color .15s ease;
}
.lang-toggle:hover { background: var(--surface-2); }
.lang-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 44px) 0 6px; }
.brand { display: inline-flex; }
.brand__logo { height: 34px; width: auto; }

/* ---------- Shared label / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral-dark); margin: 0 0 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(233,148,117,.22); }

.kicker {
  font-family: "Tenor Sans", sans-serif;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral-dark); margin: 0 0 12px;
}

/* ---------- Hero ---------- */
.hero { padding: 22px 0 6px; }
.hero__title {
  margin: 0 0 24px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0;
  font-size: clamp(33px, 10vw, 46px);
  overflow-wrap: break-word;
}
.hero__title .lead {
  display: block;
  color: var(--coral);
  font-style: italic;   /* matches the site's .italic treatment */
}
.hero__title .tail { display: block; color: var(--navy); }

.hero__lead { margin: 0 0 26px; font-size: 16.5px; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; font-family: "Nunito Sans", sans-serif;
  font-size: 16px; font-weight: 800; text-decoration: none;
  border-radius: var(--pill); border: 1.5px solid transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.992); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.btn--full { width: 100%; }
.btn--primary { color: #fff; background: var(--coral); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--ghost { color: var(--navy); background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--decoration); }

/* ---------- App store buttons ---------- */
.stores { display: flex; gap: 12px; margin: 0 0 14px; }
.store {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px; text-decoration: none;
  background: var(--navy); color: #fff; border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .12s ease;
}
.store:active { transform: translateY(1px); }
.store:hover { background: var(--ink); }
.store svg { width: 22px; height: 22px; flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store__small { font-size: 9.5px; font-weight: 600; opacity: .82; letter-spacing: .02em; text-transform: uppercase; }
.store__big { font-size: 15px; font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section__title {
  margin: 0 0 14px;
  font-family: "Marcellus", serif; font-weight: 400;
  font-size: 28px; line-height: 1.18; color: var(--navy); letter-spacing: .005em;
}
.section__intro { margin: 0 0 24px; font-size: 16px; color: var(--body); }

/* ---------- Reason cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  color: var(--coral-dark); background: var(--coral-pale); border-radius: 14px;
}
.card__icon svg { width: 25px; height: 25px; }
.card__title { margin: 0 0 7px; font-family: "Marcellus", serif; font-weight: 400; font-size: 21px; color: var(--navy); }
.card__text { margin: 0; font-size: 15px; color: var(--body); }

/* ---------- Feature list (Hope System functions) ---------- */
.kicker--meditex { margin-top: -6px; margin-bottom: 20px; }

.features {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.features .feat {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 17px 18px; border-bottom: 1px solid var(--surface-dim);
}
.features .feat:last-child { border-bottom: 0; }
.feat__icon {
  flex: none; width: 42px; height: 42px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--coral-dark); background: var(--coral-pale); border-radius: 12px;
}
.feat__icon svg { width: 22px; height: 22px; }
.feat__body { min-width: 0; }
.feat__title {
  margin: 0 0 3px; font-size: 16.5px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.feat__desc { margin: 0; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.feat__badge {
  font-family: "Tenor Sans", sans-serif; font-weight: 400;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral-dark); background: var(--coral-pale);
  padding: 3px 9px; border-radius: var(--pill); white-space: nowrap;
}
.feat--soon { background: var(--surface-2); }
.feat--soon .feat__title { color: var(--navy-2); }

.feat__stat {
  margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--body);
}
.feat__stat strong { color: var(--coral-dark); font-weight: 800; }

/* ---------- How it works (steps) ---------- */
/* badge doubles as a mail button: centered, directly under the section above */
#how { padding-top: 0; }
.pill-badge {
  display: block; width: max-content; max-width: 100%; margin: -14px auto 26px;
  text-align: center; text-decoration: none;
  font-size: 13px; font-weight: 800; color: #fff;
  background: var(--coral); border-radius: var(--pill);
  padding: 9px 20px; box-shadow: var(--shadow-cta);
  transition: background .15s ease, transform .12s ease;
}
.pill-badge:hover { background: var(--coral-dark); }
.pill-badge:active { transform: translateY(1px); }
.pill-badge:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; }
.step { position: relative; display: flex; gap: 16px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
/* connecting line between the numbered circles */
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.step__body { padding-top: 7px; min-width: 0; }
.step__title { margin: 0 0 4px; font-family: "Marcellus", serif; font-weight: 400; font-size: 19px; color: var(--navy); }
.step__text { margin: 0; font-size: 14.5px; color: var(--body); line-height: 1.5; }

/* ---------- Testimonial ---------- */
.quote {
  margin: 0; padding: 26px 22px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.quote__award {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  font-family: "Tenor Sans", sans-serif; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-dark);
}
.quote__award svg { width: 15px; height: 15px; }
.quote p { margin: 0 0 14px; font-family: "Marcellus", serif; font-size: 18px; line-height: 1.45; color: var(--navy); }
.quote footer { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.quote footer > span { display: block; font-weight: 400; color: var(--muted-2); }

/* ---------- Event details ---------- */
.event__grid {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.event__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--surface-dim); }
.event__row:last-child { border-bottom: 0; }
.event__row dt { margin: 0; font-family: "Tenor Sans", sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event__row dd { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--navy); text-align: right; }
.muted { color: var(--muted-2); font-weight: 600; font-size: 12px; }
#add-calendar { margin-top: 14px; }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center; background: var(--navy); color: #fff;
  border-radius: 24px; padding: 38px 24px; margin: 10px 0 36px;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 75%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(233,148,117,.4) 0%, rgba(233,148,117,0) 70%);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final .kicker { color: var(--coral); }
.cta-final__title { margin: 0 0 12px; font-family: "Marcellus", serif; font-weight: 400; font-size: 27px; line-height: 1.2; }
.cta-final__text { margin: 0 0 24px; font-size: 15.5px; color: rgba(255,255,255,.82); }
.cta-final .stores { margin-top: 14px; }
.cta-final .store { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.cta-final .store:hover { background: rgba(255,255,255,.18); }

/* contact button + pricing in the final CTA */
.btn--contact { margin-top: 12px; color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.btn--contact:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.btn--contact svg { width: 18px; height: 18px; }
/* same size/look as the other buttons, but purely informational (Pricing) */
.btn--static { cursor: default; }
.btn--static:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.btn--static:active { transform: none; }
.cta-final__pricing {
  margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: center;
  font-size: 14.5px; color: rgba(255,255,255,.85);
}
.cta-final__pricing-label {
  font-family: "Tenor Sans", sans-serif; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--coral);
  background: rgba(233,148,117,.16); padding: 3px 10px; border-radius: var(--pill);
}

/* ---------- Lead capture form (in final CTA) ---------- */
.lead { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.lead__label { margin: 0 0 12px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.lead__input {
  width: 100%; margin: 0 0 12px; padding: 14px 18px;
  font-family: inherit; font-size: 16px; color: #fff;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--pill); -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, background .15s ease;
}
.lead__input::placeholder { color: rgba(255,255,255,.5); }
.lead__input:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,.14); }
.lead__input[aria-invalid="true"] { border-color: #ff8d7a; }
.lead__btn { margin: 0; }
.lead__msg { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; }
.lead__msg.is-error { color: #ffb3a6; }
.lead__msg.is-success { color: #b9e6c9; }
.lead.is-done .lead__input, .lead.is-done .lead__btn { display: none; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 28px 0 20px; border-top: 1px solid var(--border); }
.site-footer__logo { height: 28px; width: auto; margin: 0 auto 12px; opacity: .92; }
.site-footer__tag { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; align-items: center; font-size: 13.5px; }
.site-footer__links a { color: var(--coral-dark); font-weight: 600; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__sep { color: var(--muted-2); }
.site-footer__copy { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); }

/* ---------- a11y / motion ---------- */
:focus-visible { outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
