/* Miri's Massage & Polarity — the multi-page site, in the paper-and-pen look of the kompakt prototype:
   ink headings in Young Serif with an amber marker stroke, Figtree text, Caveat for handwritten asides,
   amber buttons with an ink outline, dotted paper, cream for every second section, pen-drawn card frames.
   Palette from the Webador draft site (sunflower amber + burnt orange on off-white).
   Amber is too light for text on white (≈2:1 contrast), so text and links use the
   deeper ambers, and amber buttons carry dark text. */

/* Young Serif (headings), Figtree (text), Caveat (handwritten notes) — SIL Open Font License, see fonts/OFL-*.txt;
   self-hosted, no request to Google. The same files serve kompakt/. */
@font-face{font-family:"Caveat";font-style:normal;font-weight:600 700;font-display:swap;src:url("fonts/caveat-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Caveat";font-style:normal;font-weight:600 700;font-display:swap;src:url("fonts/caveat-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/figtree-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/figtree-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Young Serif";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/young-serif-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Young Serif";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/young-serif-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  --amber: #f59e0b; --amber-hover: #dd8e09; --amber-deep: #c57f08; --amber-dark: #945f06;
  --rust: #c46627; --rust-dark: #9c4d1b; --ink: #0d0d0d;
  --text: #3b3226;          /* warm brown for supporting text (kompakt's ink-2) */
  --muted: #6b5b45;         /* fine print: ≥ 5.7:1 on every background here */
  --muted-warm: var(--text);
  --bg: #f9f9f9; --surface: #fffdf8; --cream: #fbf3e2; --line: #e6e2da; --soft: #fef3dc; --warm: #f6efe3;
  --serif: "Young Serif", Georgia, serif; --sans: "Figtree", system-ui, sans-serif; --hand: "Caveat", cursive;
  --dots: radial-gradient(rgba(148,95,6,.13) 1px, transparent 1.2px) 0 0 / 22px 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--dots), var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a, button { -webkit-tap-highlight-color: rgba(0,0,0,.08); touch-action: manipulation; }
[id] { scroll-margin-top: 104px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .5em; overflow-wrap: break-word; }
h3 { hyphens: manual; }
h1, h2 { text-wrap: balance; }
h1, h2, h3 { color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5vw + 1rem, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 2.9rem); }
/* the amber marker stroke under one phrase of a page title; it draws in once */
.hl { white-space: nowrap; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0.8 10.91C5.7 11.22 20.76 12.92 30.18 12.79C39.61 12.65 48.32 10.2 57.34 10.1C66.36 10.01 74.79 12.02 84.3 12.22C93.81 12.41 104.62 11.18 114.4 11.28C124.18 11.38 134.12 12.75 142.98 12.82C151.84 12.9 158.77 12.43 167.58 11.73C176.38 11.02 191.11 9.13 195.81 8.61' fill='none' stroke='%23f59e0b' stroke-opacity='.6' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 88% / 100% .5em; padding-inline: .05em; animation: mark 1.1s .35s var(--ease) both; }
@keyframes mark { from { background-size: 0% .5em; } }
@media (prefers-reduced-motion: reduce) { .hl { animation: none; } }
/* handwritten asides */
.hand { font: 600 1.5rem/1.15 var(--hand); color: var(--amber-dark); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: #111; color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--text); max-width: 640px; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border: 2px solid var(--ink);
  border-radius: 110px / 4px 5px 4px 5px;   /* kompakt's hand-drawn edge: gently bowed top and bottom, same at any width */
  font: 650 16px/1.2 var(--sans); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn-primary { background: var(--amber); box-shadow: 0 1px 1px rgba(13,13,13,.12), 0 8px 18px -10px rgba(148,95,6,.7); }
.btn-primary:hover { color: var(--ink); background: #ffb22e; transform: translateY(-1px); box-shadow: 0 2px 3px rgba(13,13,13,.12), 0 12px 22px -10px rgba(148,95,6,.8); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { color: var(--ink); background: var(--cream); }

/* ---------- header + menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(249,249,249,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 400 19px var(--serif); }
.brand img { height: 64px; width: auto; flex: none; }  /* the drawing is a wide scene: size it by height */
.brand span { line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font: 500 14px var(--sans); color: var(--amber-dark); white-space: nowrap; }
.navlist { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 500; font-size: 15px; }
.navlist a { text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.navlist a:hover, .navlist a[aria-current] { color: var(--ink); border-color: var(--amber); }
.book-m { display: none !important; }
.site-header .btn { padding: 10px 18px; font-size: 15px; white-space: nowrap; flex: none; }
.menu-toggle { all: unset; cursor: pointer; display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: var(--dots), var(--cream); }   /* every second section: cream paper, same dots */
.sketch { display: block; height: 120px; width: auto; margin: 0 0 18px; }
.center .sketch { margin-inline: auto; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* hero */
.hero { padding: 72px 0 96px; }
.hero .container { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--text); font-size: 16px; }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
/* the drawn first visit carries the hero; Miri's motto sits under it like a caption in a sketchbook */
.hero-scene { margin: 0; }
.hero-scene img { width: 100%; }
.hero-scene figcaption { margin-top: 10px; text-align: center; text-wrap: balance; font: 600 1.8rem/1.15 var(--hand); color: var(--amber-dark); transform: rotate(-1.5deg); }

/* why */
.why-art { display: flex; align-items: end; justify-content: center; gap: 22px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.price { font: 650 17px var(--sans); color: var(--ink); }
.card p { color: var(--text); font-size: 15px; flex: 1; }
.more { margin-bottom: 12px; font-size: 15px; color: var(--text); }
.more summary { color: var(--amber-dark); font-weight: 600; }
.more p:first-of-type { margin-top: 8px; }

/* polarity */
.pull { margin: 0 0 20px; font: 600 1.9rem/1.25 var(--hand); color: var(--ink); }
.pull footer { font: 500 15px var(--sans); color: var(--muted); margin-top: 6px; }
.facts-list, .tips { padding-left: 1.2em; }
.facts-list li, .tips li { margin-bottom: 8px; }
.facts-list li::marker, .tips li::marker { color: var(--amber-dark); }

/* fold-out sections (details/summary) */
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary > :is(h3, h4) { display: inline; margin: 0; }
details > summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; color: var(--amber-dark); }
details[open] > summary::before { content: "–"; }
.accordion details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.accordion summary { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.accordion summary > :is(h3, h4) { font: 400 19px/1.25 var(--serif); color: var(--ink); }
.accordion details p, .accordion details li { color: var(--text); font-size: 16px; }
.training .group { font-weight: 700; margin: 12px 0 2px; }
.training ul { margin: 0; padding-left: 1.2em; columns: 2 220px; column-gap: 24px; }

/* prices */
.prices { margin: 0 0 14px; font-size: 17px; }
.prices > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prices dt { flex: 1 1 6em; min-width: min-content; }
.prices dd { margin: 0 0 0 auto; font-weight: 700; text-align: right; }
.prices.small { font-size: .9em; }
.terms dd { font-weight: 500; color: var(--text); }
.note { font-size: .9em; margin-bottom: 4px; }
.social-box { background: var(--warm); border-radius: 18px; padding: 20px 22px; margin-top: 20px; }
.social-box p { margin: 0; color: var(--muted-warm); }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.values h3 { color: var(--ink); }
.values p { color: var(--text); font-size: 15px; }

/* about */
.about-img { border-radius: 24px; width: 100%; }

/* testimonials */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; text-decoration: none; color: var(--amber-dark); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); vertical-align: -2px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating .stars svg { width: 18px; height: 18px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quotes blockquote { margin: 0; background: var(--surface); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(13,13,13,.06), 0 12px 24px -18px rgba(148,95,6,.6); }
.quotes .stars { margin-bottom: 10px; }
.quotes blockquote p { font: 400 18px/1.5 var(--serif); flex: 1; }
.quotes blockquote footer { font-weight: 650; font-size: 15px; color: var(--amber-dark); }
.alt .quotes blockquote { background: var(--surface); }

/* gift voucher */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gift-imgs { display: grid; gap: 14px; }
.gift-imgs img { border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }

/* contact */
.glance { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 24px; }
.glance dt { font: 600 1.4rem/1.1 var(--hand); color: var(--amber-dark); }   /* handwritten labels, as on kompakt */
.glance dd { margin: 0; color: var(--text); align-self: center; }
.glance a { color: var(--amber-dark); }
.recs { padding-left: 1.2em; }
.map { border-radius: 18px; border: 1px solid var(--line); }

/* closing call to action + footer */
.cta-band { background: var(--amber); color: var(--ink); text-align: center; }
.cta-band h2 { color: var(--ink); }
.cta-band .lead { color: #3a2a06; }
.cta-band .btn { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(13,13,13,.6); }
.cta-band .btn:hover { background: #2a2a2a; color: #fff; transform: translateY(-1px); }
.site-footer { background: #424242; color: #e8e8e8; padding: 56px 0 64px; font-size: 15px; }
.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .h3 { color: #fff; font-size: 19px; }
.site-footer a { color: #f6d79a; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }

/* =====================================================================
   PHONES & TABLETS
   ===================================================================== */
/* header: the full menu needs ~1100px; below that, brand · Termin buchen · ☰ on one row, the open menu drops below */
@media (max-width: 1100px) {
  .site-header .container { flex-wrap: wrap; min-height: 60px; padding-top: 8px; padding-bottom: 8px; gap: 8px 10px; }
  .brand { order: 0; flex: 1; min-width: 0; font-size: 16px; }
  .brand img { height: 48px; }
  .brand span { font-size: 15px; line-height: 1.2; white-space: normal; }
  .brand small { display: block; font-size: 13px; }
  .site-header .btn { margin-left: auto; padding: 8px 14px; font-size: 14px; min-height: 40px; white-space: nowrap; }
  .book-m { display: inline-flex !important; }
  .book-d { display: none !important; }
  .menu-toggle { display: grid; }
  .navlist { display: none; margin: 0; }
  .site-header.open .navlist { display: flex; flex-direction: column; width: 100%; gap: 0; padding: 6px 0 10px; }
  .site-header.open .navlist a { display: flex; align-items: center; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero .container, .twocol, .gift, .site-footer .container { grid-template-columns: 1fr; }
  .cards, .values { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  [id] { scroll-margin-top: 84px; }
  body { font-size: 17px; }
  .container { padding: 0 18px; }

  .hero { padding: 20px 0 56px; }
  .hero .actions { flex-direction: column; }
  main section:not(.cta-band) .btn { justify-content: center; min-height: 52px; width: 100%; }
  .hero .container { gap: 18px; }
  .hero-scene { order: -1; }                      /* phones: the drawing first, then name, sentence and buttons */
  .hero-scene img { max-width: 420px; margin-inline: auto; }
  .hero-scene figcaption { font-size: 17px; margin-top: 4px; }
  .hero h1 { margin-bottom: .3em; }
  .hero .actions { margin: 20px 0 22px; }
  .lead { font-size: 18px; }
  .sketch { height: 96px; }
  .card { padding: 22px; }
      .pull { font-size: 21px; }
  details > summary { min-height: 44px; display: flex; align-items: center; }
  .training ul { columns: 1; }
  .glance { grid-template-columns: 1fr; gap: 2px; }
  .glance dd { margin-bottom: 10px; }
  .glance a { display: inline-block; padding: 6px 0; }
  .site-footer a, .site-footer li { display: block; min-height: 40px; }
  .site-footer ul { line-height: 40px; }
}
@media (max-width: 560px) {
  .cards, .values { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand img { height: 42px; }
}
@media (max-width: 374px) {
  .brand img { height: 38px; }
  .brand span { font-size: 14px; }
  .brand small { font-size: 12px; white-space: nowrap; }
  .site-header .btn { padding: 8px 12px; }
}
@media (max-width: 340px) {
  /* tiniest phones: the drawing is the logo; the name stays for screen readers */
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand img { height: 46px; }
}

/* drawings made with the Miri model (tools/sketches.mjs) */
.scene { width: 100%; max-width: 520px; margin: 0 auto 8px; }
.card-art { width: 100%; height: 130px; object-fit: contain; margin: -6px 0 12px; }
@media (max-width: 860px) {
  .card-art { height: 150px; }
}

/* =====================================================================
   BOOKING — our own sketch-style treatment picker; Acuity's calendar
   appears inside the hand-drawn paper card once a treatment is chosen
   ===================================================================== */
.booking { background: var(--dots), var(--cream); }
.paper {
  position: relative; max-width: 920px; margin: 36px auto 0; background: var(--surface); padding: 24px 18px 10px;
  border: 22px solid transparent; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%230d0d0d' stroke-opacity='.78' stroke-width='2.3' stroke-linecap='round'%3E%3Cpath d='M2.5 6.6C12 5.7 22 5.4 30 5C38 4 52 6 60 5C68 4.4 78 4.9 87.6 5.9'/%3E%3Cpath d='M84.3 2.4C85.2 12 85.3 22 85 30C86 38 84 52 85 60C85.6 68 85.2 78 85.7 87.8'/%3E%3Cpath d='M88 84.6C78 85.4 68 85.4 60 85C52 86 38 84 30 85C22 85.5 12 85.2 2.8 86'/%3E%3Cpath d='M5.6 88C4.8 78 4.7 68 5 60C4 52 6 38 5 30C4.5 22 4.9 12 4.2 2.6'/%3E%3C/g%3E%3C/svg%3E") 30 / 22px round;   /* pen-drawn edge, as on the cards */
  box-shadow: 0 1px 2px rgba(13,13,13,.06), 0 22px 40px -24px rgba(148,95,6,.45);
}
.paper::before, .paper::after {               /* two strips of tape holding the paper */
  content: ""; position: absolute; top: -16px; width: 120px; height: 30px; background: rgba(245,158,11,.38);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.paper::before { left: 12%; transform: rotate(-4deg); }
.paper::after { right: 12%; transform: rotate(5deg); }
.pick h3 { font-size: 20px; margin: 0 0 14px; }
.cal-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -6px 0 16px; }
.back { all: unset; cursor: pointer; font-weight: 650; color: var(--ink); padding: 8px 16px; min-height: 28px; border: 2px solid var(--ink); border-radius: 110px / 4px 5px 4px 5px; background: var(--surface); }
.back:hover { background: var(--cream); }
.chosen { font: 600 1.6rem/1.15 var(--hand); }
.cal-frame iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.cal-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.cal-note a { color: var(--amber-dark); }
@media (max-width: 860px) {
  .paper { padding: 16px 0 6px; border-width: 18px; border-image-width: 18px; }
  .paper::before, .paper::after { width: 84px; height: 24px; top: -12px; }
  .cal-frame iframe { min-height: 760px; }
}
@media (max-width: 430px) {
  /* phones: shorter header button so the name and subtitle fit next to it */
  .brand small { font-size: 12.5px; }
}

/* =====================================================================
   MULTI-PAGE: page header, linked cards on the start page
   ===================================================================== */
.h3 { font-size: 22px; }                         /* an h2 that looks like an h3 (keeps the heading order) */
.page-hero + section { border-top: 0; padding-top: 32px; }
.navlist a[aria-current="page"] { color: var(--ink); border-color: var(--amber); }
@media (max-width: 860px) {
  .page-hero + section { padding-top: 20px; }
}
.recs a { color: var(--amber-dark); }

/* =====================================================================
   REVIEW FIXES — browser surfaces, focus, booking states, page details
   ===================================================================== */
/* the parts the browser draws: links, selection, caret, focus, numerals, scrollbars */
a { color: var(--amber-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: #fde1a1; color: var(--ink); }
html { caret-color: var(--amber-dark); scrollbar-color: #d8c7a6 transparent; }
:focus-visible { outline: 2.5px solid var(--amber-dark); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }
.menu-toggle:focus-visible, .back:focus-visible { outline: 2.5px solid var(--amber-dark); outline-offset: 2px; }
.prices dd, .price, .dur, .card-link .meta { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2.h3 { color: var(--ink); }

/* drawn check marks instead of a ✓ glyph */
.ck { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--rust); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* menu icon becomes a cross while open */
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { transition: transform .2s ease-out, background-color .2s; }
.site-header.open .menu-toggle span { background: transparent; }
.site-header.open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* home */
.hero .lead b { color: var(--ink); font-weight: 600; }
.hero-rating { margin-top: 18px; }
.more-row { margin-top: 28px; }

/* treatment cards */
.card-art { height: 160px; }

/* prices: same two groups as the picker, every row links to its calendar */
.prices .t { color: var(--muted); font-size: 14px; white-space: nowrap; }
.prices s, .slot s { color: var(--muted); font-weight: 400; font-size: .85em; text-decoration-color: var(--rust); }

/* booking page */
.assure { list-style: none; padding: 0; margin: 0 auto 6px; max-width: 920px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; color: var(--text); font-size: 15px; }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -8px 0 22px; padding: 10px 14px; border-radius: 12px; background: var(--soft); }
.filter-note button { all: unset; cursor: pointer; font-weight: 600; color: var(--amber-dark); text-decoration: underline; text-underline-offset: .18em; min-height: 32px; display: inline-flex; align-items: center; }
.filter-note button:focus-visible { outline: 2.5px solid var(--amber-dark); outline-offset: 2px; border-radius: 4px; }
.cal-bar { position: sticky; top: 84px; z-index: 5; background: var(--surface); padding: 10px 0; }
.cal-frame { position: relative; min-height: 220px; }
.cal-loading { position: absolute; inset: 0 0 auto; min-height: 220px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; padding: 20px; background: var(--surface); }
.cal-loading.failed { position: static; color: var(--text); background: var(--soft); border-radius: 14px; flex-wrap: wrap; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--amber-deep); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.cal-help { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* about */
.portrait, .room { margin: 0 0 28px; }
.portrait img { width: 100%; max-width: 360px; border-radius: 180px 180px 22px 22px; aspect-ratio: 4/5; object-fit: cover; }
.room img { width: 100%; border-radius: 20px; }
.portrait figcaption, .room figcaption { font: 600 1.45rem/1.15 var(--hand); color: var(--amber-dark); margin-top: 6px; }

/* testimonials: the sixth cell points to all Google reviews */
.quote-more { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; border-radius: 4px; border: 2px dashed var(--amber-deep); background: var(--soft); text-decoration: none; font: 400 19px/1.35 var(--serif); color: var(--amber-dark); }
.quote-more:hover { background: #fde9bf; }

/* contact */
.map-link { display: block; text-decoration: none; font-weight: 600; }
.map-box .map { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; background: var(--warm); }
.map-box .map-link { margin-top: 10px; }

/* floating booking button, phones only, once the header button has scrolled away */
.float-book { display: none; }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .cal-bar { top: 68px; }
  /* calendar open: the paper gives Acuity the full screen width */
  .paper.is-cal { margin-inline: -18px; padding: 0 0 6px; border-left: 0; border-right: 0; }
  .paper.is-cal::before, .paper.is-cal::after { display: none; }
  .paper.is-cal .cal-bar, .paper.is-cal .cal-hint, .paper.is-cal .cal-help, .paper.is-cal .cal-note { padding-inline: 16px; }
  .float-book {
    display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--amber); color: var(--ink);
    font: 650 16px var(--sans); text-decoration: none; border: 2px solid var(--ink); border-radius: 110px / 4px 5px 4px 5px; box-shadow: 0 10px 24px -8px rgba(20,20,20,.35);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease-out, transform .25s ease-out;
  }
  .float-book.show { opacity: 1; transform: none; pointer-events: auto; }
  .site-footer { padding-bottom: 96px; }
}
.filter-note[hidden] { display: none; }
.prices dd s { display: block; }

/* =====================================================================
   ROUND 2 — paper language beyond the picker, page headers, picker v2
   ===================================================================== */
/* the hand-drawn sheet: wobbly ink border + soft lift, used for cards, menu card, steps */
/* modest radii: the classic 255px "hand-drawn" values bulge wide boxes into pillows */
/* a sheet of paper with a pen-drawn outline: the border-image's middle tiles repeat seamlessly, so the
   wobble keeps its size on any card instead of stretching (kompakt's frame) */
.sheet { position: relative; background: var(--surface); border: 0; border-radius: 4px; box-shadow: 0 1px 2px rgba(13,13,13,.06), 0 22px 40px -24px rgba(148,95,6,.45); }
.sheet::after { content: ""; position: absolute; inset: 4px; border: 20px solid transparent; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%230d0d0d' stroke-opacity='.78' stroke-width='2.3' stroke-linecap='round'%3E%3Cpath d='M2.5 6.6C12 5.7 22 5.4 30 5C38 4 52 6 60 5C68 4.4 78 4.9 87.6 5.9'/%3E%3Cpath d='M84.3 2.4C85.2 12 85.3 22 85 30C86 38 84 52 85 60C85.6 68 85.2 78 85.7 87.8'/%3E%3Cpath d='M88 84.6C78 85.4 68 85.4 60 85C52 86 38 84 30 85C22 85.5 12 85.2 2.8 86'/%3E%3Cpath d='M5.6 88C4.8 78 4.7 68 5 60C4 52 6 38 5 30C4.5 22 4.9 12 4.2 2.6'/%3E%3C/g%3E%3C/svg%3E") 30 / 20px round; pointer-events: none; }
.card.sheet { padding: 30px; }
.alt .card.sheet { background: var(--surface); }

/* page header: text left, a large drawing right (stacked on phones) */
.page-hero { padding: 60px 0 12px; }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.page-hero.has-art .container { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.page-hero h1 { font-size: clamp(2.35rem, 4vw + 1rem, 4rem); margin-bottom: .35em; }
.page-hero .lead { max-width: 62ch; margin: 0; }
.page-hero .lead b { color: var(--ink); font-weight: 600; }
.ph-art img { width: 100%; max-height: 240px; object-fit: contain; }
.page-hero + section { border-top: 0; padding-top: 36px; }

/* home */
.why-art { margin: 0; padding: 28px 22px 18px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
.why-art > div { display: grid; justify-items: center; gap: 8px; }
.why-art img { height: 230px; width: auto; }
.why-art figcaption { font: 600 1.6rem/1 var(--hand); color: var(--amber-dark); }
.why-art .arrow { width: 96px; height: 48px; margin-bottom: 120px; fill: none; stroke: var(--rust); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Angebot */

/* Polarity: the session as a drawn sequence */
.session h2 { text-align: center; margin-bottom: 30px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps li { position: relative; padding: 24px 22px 20px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; z-index: 1; top: -16px; left: 22px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); font: 650 16px var(--sans); border: 2px solid var(--ink); }
.steps img { width: 100%; height: 150px; object-fit: contain; margin-bottom: 12px; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--text); font-size: 16px; margin: 0; }

/* Preise: a drawn menu card */   /* the whole row is the tap target */
.was { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.was s { text-decoration-color: var(--rust); }

/* Gutschein: plain list instead of button-like pills */
.kinds-list { columns: 2 200px; column-gap: 24px; padding-left: 1.2em; margin: 0 0 1em; }

/* booking picker v2: one question, four treatments */
.firstq { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.firstq legend { font: 600 1.9rem/1.1 var(--hand); color: var(--ink); margin-bottom: 10px; padding: 0; }
.firstq label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 14px 10px 14px 10px; cursor: pointer; font-weight: 600; background: var(--surface); transition: background-color .2s, color .2s; }
.firstq input { width: 18px; height: 18px; accent-color: var(--amber-dark); margin: 0; }
.firstq label:hover { background: var(--cream); }
.firstq label:has(input:checked) { background: var(--ink); color: #fff; }
.firstq input { accent-color: var(--amber); }
.firstq label:has(input:focus-visible) { outline: 2.5px solid var(--amber-dark); outline-offset: 3px; }
.firstq-hint { font-size: 15px; color: var(--text); margin: 6px 0 22px; }
.pick-cards { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pick-cards li[hidden] { display: none; }
.pc { padding: 20px 20px 18px; display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.pc-art { grid-row: 1 / 3; width: 110px; height: 84px; object-fit: contain; }
.pc h3 { font-size: 19px; margin: 4px 0 4px; }
.pc p { font-size: 15px; color: var(--text); margin: 0 0 12px; }
.slots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.slot { flex: 1 1 140px; display: grid; gap: 2px; padding: 10px 14px; min-height: 56px; border-radius: 14px 10px 14px 10px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); background: var(--surface); transition: background .15s, transform .15s; }
.slot:hover { background: var(--soft); transform: translateY(-1px); }
.slot .sl { font-weight: 650; font-size: 15px; color: var(--amber-dark); }
.slot .sp { font-size: 15px; font-variant-numeric: tabular-nums; }
.slot.first { background: var(--soft); }
/* the answer to "Erstes Mal?" hides the options that don't apply (works without JavaScript) */
.pick:has(input[value="first"]:checked) .slot.regular, .pick:has(input[value="regular"]:checked) .slot.first { display: none; }
.pick:has(input:checked) .firstq-hint { visibility: hidden; height: 0; margin: 0 0 14px; }
/* with JavaScript, the price buttons wait for that answer: one decision at a time, 1–2 buttons per card after it */
.js .pick:not(:has(input:checked)) .slots { display: none; }
.js .pick:not(:has(input:checked)) .pc p { margin-bottom: 0; }
/* filtered to one treatment: one centred card instead of half an empty grid */
.pick-cards:has(> li[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
.cal-hint { margin: 0 0 14px; font-size: 15px; color: var(--muted-warm); }
.cal-bar:focus { outline: none; }
.cal-bar:focus-visible { outline: 2.5px solid var(--amber-dark); outline-offset: 2px; }

/* menu: "Start" only in the phone menu (on desktop the brand links home) */
.nav-start { display: none; }

@media (max-width: 860px) {
  .page-hero { padding: 30px 0 4px; }
  .page-hero.has-art .container { grid-template-columns: minmax(0, 1fr); }
  .ph-art { order: -1; }
  .ph-art img { max-height: 120px; }
  .page-hero + section { padding-top: 20px; }
  .why-art img { height: 150px; }
  .why-art .arrow { width: 60px; margin-bottom: 70px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .pick-cards { grid-template-columns: minmax(0, 1fr); }
  .pc { grid-template-columns: 84px minmax(0, 1fr); padding: 16px; }
  .pc-art { width: 84px; height: 64px; }
  .card.sheet { padding: 22px; }

  /* the floating button replaces the header button while it is visible; it steps aside whenever
     another booking button or the footer is on screen, and the page end keeps room for it */
  body:has(.float-book.show) .book-m { visibility: hidden; }
  main { padding-bottom: 76px; }
  .firstq label { flex: 1 1 100%; }
}
@media (max-width: 1100px) { .site-header.open .nav-start { display: block; } }

/* start page: the four treatments as signposts into Angebot & Preise (no prices here) */
.signposts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.signposts a { display: grid; justify-items: center; gap: 12px; padding: 18px 12px 16px; border-radius: 18px; text-decoration: none; color: var(--ink); font: 400 19px/1.25 var(--serif); text-align: center; transition: background .15s, transform .15s; }
.signposts a:hover { background: var(--surface); transform: translateY(-2px); }
.signposts img { width: 100%; height: 120px; object-fit: contain; }
.signposts span { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: .25em; text-decoration-thickness: 2px; }
.first-offer { margin: 22px 0 0; font-size: 17px; color: var(--text); }
.first-offer b { color: var(--amber-dark); }
@media (max-width: 860px) {
  .signposts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .signposts a { font-size: 16px; padding: 12px 6px; }
  .signposts img { height: 84px; }
}

#konditionen .social-box { margin-top: 0; align-self: start; }
#konditionen .note { color: var(--muted); }

/* small print on the warm booking background: the darker warm grey keeps 4.5:1 */
.booking .was, .booking .slot s, .booking .firstq-hint { color: var(--muted-warm); }
.cal-note { max-width: 70ch; margin-inline: auto; }

/* Angebot: the Klassisch/Ganzheitlich comparison sits right after those two cards */
.cards > /* Gut zu wissen: label and value in two columns, so long values wrap inside their own column */
.terms > div { display: grid; grid-template-columns: minmax(8em, .9fr) minmax(0, 1.1fr); gap: 4px 16px; }
.terms dd { margin: 0; text-align: right; }
/* Polarity: the first-visit price on its own lines */
.ph-price { display: grid; gap: 2px; margin: 14px 0 0; font-size: 17px; color: var(--text); }
.ph-price b { color: var(--amber-dark); }
.mail-alt { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 430px) { .rating .stars svg { width: 15px; height: 15px; } .rating { gap: 4px; } }
@media (max-width: 560px) { .terms > div { grid-template-columns: minmax(0, 1fr); gap: 0; } .terms dd { text-align: left; } }

/* Datenschutz & Impressum: one readable column */
.legal { max-width: 72ch; }
.legal h2 { margin-top: 1.4em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 20px; margin: 1.6em 0 .4em; }
.legal-date { margin-top: 2em; color: var(--muted); font-size: 15px; }
.map-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
/* Angebot: a pointer for gift buyers, with the little present drawing */
.ph-gift { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-weight: 600; }
.ph-gift img { height: 52px; width: auto; flex: none; }
.ph-gift a { display: inline-flex; align-items: center; min-height: 44px; }

/* the handwritten note next to the hero buttons */
.hero .actions { align-items: center; }
.hero-note { font-size: 1.5rem; transform: rotate(-3deg); margin-left: 4px; }
@media (max-width: 860px) { .hero-note { align-self: center; margin: -2px 0 0; } }

/* Angebot cards: one sentence, a price list, the first visit as its own row, one button */
.card .short { color: var(--text); font-size: 16px; flex: 0; margin: 0 0 14px; }
.rates { margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.rates > div { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1.5px dashed var(--line); }
.rates dt { flex: 1; color: var(--text); }
.rates dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.rates .rate-first { margin-top: 8px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--soft); }
.rates .rate-first dt { font: 600 1.35rem/1 var(--hand); color: var(--amber-dark); flex: none; }
.rates .rate-first dd { flex: 1; color: var(--amber-dark); }
.card .more { flex: 1; margin-bottom: 16px; }
.card .more p { flex: none; }
.card-book { align-self: flex-start; }
.extras-line { margin: 26px auto 0; max-width: 62ch; text-align: center; color: var(--text); }
.ph-text .note { margin: 10px 0 0; max-width: 62ch; font-size: 15px; color: var(--muted); }
.actions-404 { display: flex; flex-wrap: wrap; gap: 12px; }
