/* =====================================================================
   Physiotherapie Lisanne Rau — Design Language (shared across prototypes)
   Motif: ethereal smoke ribbon · Duotone: warm taupe + cool smoke-grey
   Airy, calm, accessible. Import AFTER a reset, BEFORE variant styles.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Ink / text — AA on light grounds */
  --ink:        #2b3033;   /* body text            ~12:1 on --bg   */
  --ink-soft:   #545b60;   /* secondary text       ~6.4:1 on --bg  */

  /* Brand duotone */
  --taupe:      #a89c82;   /* wordmark / large decorative ONLY (low contrast) */
  --taupe-deep: #6c6244;   /* accessible taupe for links/small accents ~5.6:1 */
  --smoke:      #8b97a0;   /* cool smoke grey, decorative                     */
  --smoke-soft: #c3cace;   /* hairline / wash                                 */
  --slate:      #37474f;   /* PRIMARY interactive; white text ~9.6:1          */
  --slate-deep: #2b383e;   /* hover                                           */

  /* Grounds */
  --bg:      #fbfaf7;      /* warm near-white          */
  --bg-alt:  #f0eee8;      /* soft warm panel          */
  --bg-mist: #e9edee;      /* cool smoke panel         */
  --line:    #e2ded4;      /* hairline                 */
  --white:   #ffffff;

  --radius: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 50px -28px rgba(55,71,79,.45);
  --maxw: 1120px;

  --font-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Type foundations (variants may enlarge, not shrink) ---- */
.brand-body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
.brand-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.12;
  color: var(--ink);
}
/* Section eyebrow — small uppercase label above headings */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--taupe-deep);
}

/* ---- Brand lockup (smoke mark + wordmark) ---- */
.brand-lockup { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-lockup img { height: 52px; width: auto; flex: none; }
/* Image logo has a white (non-transparent) ground → sit it on a light chip over dark surfaces */
.on-dark .brand-lockup img { background: #fff; padding: 7px 12px; border-radius: 14px; }
.wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 500;
  color: var(--taupe);
  line-height: 1;
  font-size: 1.15rem;
}
.wordmark b { display: block; font-weight: 500; }
.wordmark span {              /* "Lisanne Rau" subline */
  display: block;
  text-transform: none;
  letter-spacing: .04em;
  font-size: .82em;
  color: var(--ink-soft);
  margin-top: .25em;
}
/* On dark grounds */
.on-dark .wordmark { color: #e7e3d7; }
.on-dark .wordmark span { color: #c4cbcf; }

/* ---- Buttons (≥52px touch target) ---- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: 1.06rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn-primary { background: var(--slate); color: #fff; }
.btn-primary:hover { background: var(--slate-deep); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--smoke); }
.btn-ghost:hover { border-color: var(--slate); background: rgba(55,71,79,.06); }
.btn-lg { min-height: 62px; font-size: 1.18rem; padding: 0 2.1rem; }
.on-dark .btn-primary { background: #fff; color: var(--slate-deep); }
.on-dark .btn-primary:hover { background: #eef1f0; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

/* ---- Phone display ---- */
.phone-xl {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: .04em;
  font-size: clamp(2rem, 6vw, 3.1rem);
  color: var(--slate);
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  line-height: 1;
}
.phone-xl:hover { text-decoration: underline; text-underline-offset: .12em; }
.on-dark .phone-xl { color: #fff; }

/* ---- Focus (visible on light and dark) ---- */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--slate);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible, .on-dark .btn:focus-visible {
  outline-color: #fff;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--slate); color: #fff; padding: .85rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius); z-index: 1000; font-weight: 600;
  font-family: var(--font-display);
}
.skip-link:focus { top: 0; }

/* ---- Smoke-ribbon divider (the signature motif) ---- */
.wave-divider { display: block; width: 100%; height: auto; }
.wave-divider path { fill: none; stroke-linecap: round; }

/* ---- Hairline eyebrow rule ---- */
.rule { width: 64px; height: 3px; background: var(--taupe); border: 0; border-radius: 2px; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
