/* Warin Massage – calm, warm, Thai-inspired. Self-hosted fonts, no external resources (strict CSP). */
@font-face { font-family: "Lora"; src: url("../fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500 600; font-display: swap; }

:root {
  --cream: #f6efe4; --paper: #fffaf2; --sand: #ede2d0; --line: #e0d2bb;
  --ink: #33241b; --ink-soft: #5b4637; --muted: #85705f;
  --gold: #b08a4a; --gold-deep: #8c6a33; --gold-soft: #e7d6b2;
  --jade: #4f6b58; --jade-soft: #e3ebe2;
  --err: #a63d2f; --ok: #3f6b4c;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --wrap: 1160px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 300 17px/1.7 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
strong, b { font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.small { font-size: .88rem; } .muted { color: var(--muted); } .center { text-align: center; margin-top: 2rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.testbar { margin: 0; padding: 6px var(--gut); background: #f3d98b; color: #3b2a00; font-size: .9rem; text-align: center; font-weight: 400; }
.testbar--draft { background: #e7c6d8; color: #401b30; }
.kicker { font: 500 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .9rem; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.lead, .pagehead__lead { font-size: 1.12rem; color: var(--ink-soft); }
.tag { font: 500 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: #e7c6d8; color: #401b30; vertical-align: middle; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px 28px; padding: 12px var(--gut);
  background: rgba(246, 239, 228, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font: 500 1.55rem var(--serif); letter-spacing: .02em; }
.brand__sub { font: 400 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 6px 26px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 820px) {
  .top { flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 0; border-top: 1px solid var(--line); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .nav a { padding: 10px 0; font-size: .9rem; }
  .brand__mark { width: 38px; height: 38px; } .brand__name { font-size: 1.35rem; }
  .top { column-gap: 10px; }
  .top__cta { padding: 8px 14px; font-size: .85rem; }
}
@media (max-width: 360px) { .brand__sub { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 99px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 400 .98rem var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { padding: 8px 18px; font-size: .9rem; }
.btn--big { padding: 15px 32px; font-size: 1.05rem; }
.top__cta[aria-current] { background: var(--gold-deep); border-color: var(--gold-deep); }
.link-arrow { font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; color: var(--ink); }
.link-arrow::after { content: " →"; color: var(--gold); }

/* sections */
.sect { padding: clamp(56px, 8vw, 104px) var(--gut); }
.sect > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.sect--tight { padding-top: clamp(28px, 4vw, 48px); }
.sect--tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sect__head { max-width: 680px; text-align: center; margin-bottom: 2.6rem; color: var(--ink-soft); }
.sect__head::before, .pagehead::after { content: ""; display: block; width: 96px; height: 16px; margin: 0 auto 1.2rem; background: url("../img/ornament.svg") repeat-x center / 48px 16px; }
.pagehead::after { margin: 1.6rem auto 0; }
.pagehead { padding: clamp(48px, 8vw, 96px) var(--gut) 8px; text-align: center; max-width: 820px; margin: 0 auto; }
.pagehead--narrow { max-width: 700px; }
.pagehead__title { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; max-width: var(--wrap);
  margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(40px, 6vw, 72px); }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.05; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero__media { order: -1; max-width: 340px; width: 78%; margin: 0 auto; } }

/* arch frame (temple-window shape) */
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--sand); }
.arch::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 250, 242, .75); border-radius: 999px 999px 8px 8px; pointer-events: none; }
.arch--small { max-width: 400px; margin: 0 auto; }
.arch__img { width: 100%; height: 100%; object-fit: cover; }
.arch__ornament { display: grid; place-items: center; height: 100%; background: radial-gradient(120% 80% at 50% 30%, var(--paper), var(--sand)); }
.arch__ornament img { width: 64%; }
.ph { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; min-height: 220px; background: radial-gradient(120% 80% at 50% 30%, var(--paper), var(--sand));
  color: var(--muted); font-size: .9rem; letter-spacing: .08em; }
.ph img { width: 64px; opacity: .7; }

.values { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); gap: 0; }
.values li { padding: 18px 16px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.values li + li { border-left: 1px solid var(--line); }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } .values li + li { border-left: 0; border-top: 0; } }

.intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.intro > * { margin: 0; max-width: none; }
.intro { max-width: var(--wrap); margin: 0 auto; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }
.intro__text { font-size: 1.06rem; color: var(--ink-soft); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--gold-soft); border-left: 3px solid var(--gold); border-radius: var(--r);
  background: var(--paper); font-size: .95rem; color: var(--ink-soft); }
.notice p { margin: 0; } .notice img { flex: none; width: 36px; }
.notice--wide { max-width: 760px; margin: 0 auto; }

/* treatments */
.tgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tcard { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.tcard:hover { border-color: var(--gold); transform: translateY(-2px); }
.tcard__img img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.tcard__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.tcard__title { font-size: 1.32rem; margin: 0; }
.tcard__teaser { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }
.tcard__prices { list-style: none; padding: 0; margin: 6px 0 12px; border-top: 1px solid var(--line); }
.tcard__prices li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: .95rem; }
.tcard__prices b { font-weight: 400; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.tlist { display: grid; gap: 22px; }
.trow { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.trow:not(:has(.trow__img)) { grid-template-columns: 1fr; }
.trow__img img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.trow__title { font-size: 1.6rem; }
.trow__body { color: var(--ink-soft); }
.trow__body .tcard__prices { max-width: 420px; }
@media (max-width: 700px) { .trow { grid-template-columns: 1fr; padding: 22px; } }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split { max-width: var(--wrap); margin: 0 auto; }
.split > * { margin: 0; max-width: none; }
.split--top { align-items: start; }
.split__text { color: var(--ink-soft); font-size: 1.04rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split__media { max-width: 360px; width: 80%; margin: 0 auto; } }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; } .gallery img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
/* certificates: masonry columns, documents keep their own proportions (never cropped) */
.certs { columns: 3 240px; column-gap: 18px; }
.cert { break-inside: avoid; margin: 0 0 18px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.cert a > img { width: 100%; height: auto; background: #fff; border-radius: 6px; }
.cert a { display: block; }
.cert .ph { min-height: 0; border-radius: 6px; aspect-ratio: 4 / 3; font-size: .8rem; text-align: center; padding: 10px; }
.cert--ph1 .ph { aspect-ratio: 3 / 4; }
.cert figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* «Ihr Wohlfühlort»: text + three room photos as on the old site */
.place__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto minmax(160px, 1fr) minmax(200px, 1fr);
  grid-template-areas: "text p2" "p1 p2" "p1 p3"; gap: 14px 18px; }
.place__text { grid-area: text; padding-bottom: 18px; color: var(--ink-soft); font-size: 1.04rem; }
.place__pic { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); min-height: 200px; }
.place__pic > img, .place__pic > .ph { width: 100%; height: 100%; object-fit: cover; }
.place__pic--1 { grid-area: p1; min-height: 360px; } .place__pic--2 { grid-area: p2; } .place__pic--3 { grid-area: p3; }
@media (max-width: 760px) {
  .place__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "text" "p1" "p2" "p3"; }
  .place__pic { aspect-ratio: 4 / 3; min-height: 0; } .place__pic--1 { min-height: 0; }
}
.place .gallery { margin-top: 18px; }

.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.visit > * { margin: 0; max-width: none; }
.visit { padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.visit__text { color: var(--ink-soft); font-size: 1.04rem; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__pic { margin: 0 0 14px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.visit__pic > img, .visit__pic > .ph { width: 100%; height: 100%; object-fit: cover; }
.visit__addr { font-style: normal; padding: 20px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); line-height: 1.9; }
.visit__addr small { color: var(--muted); line-height: 1.5; display: inline-block; }
@media (max-width: 800px) { .visit { grid-template-columns: 1fr; } }

.prose { max-width: 760px; margin: 0 auto; }
.prose > * { max-width: none; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; }

/* booking */
.booking { max-width: 860px; margin: 0 auto; padding: 24px var(--gut) 96px; }
.bstep { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.bstep__h { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin-bottom: 1.1rem; }
.bstep__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-deep); font: 400 1rem var(--serif); flex: none; }
.bopts { display: grid; gap: 12px; }
.bopt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.bopt.is-hint { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 74, .15); }
.bopt__title { font: 400 1.18rem var(--serif); margin: 0; }
.bopt__teaser { grid-column: 1; margin: 0; font-size: .9rem; color: var(--muted); }
.bopt__vars { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 640px) { .bopt { grid-template-columns: 1fr; } .bopt__vars { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 8px; } }
.chip { display: inline-flex; flex-direction: column; align-items: center; min-width: 88px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream);
  font: 400 .95rem var(--sans); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.chip small { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small { color: var(--gold-soft); }
.chip--time { min-width: 76px; font-variant-numeric: tabular-nums; }
.cal { max-width: 480px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { margin: 0; font: 400 1.2rem var(--serif); }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal__nav:hover:not([disabled]) { border-color: var(--gold); }
.cal__nav[disabled] { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__grid--head span { text-align: center; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.cal__grid[aria-busy] { opacity: .5; min-height: 240px; }
.cal__day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 2px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; font: 400 1rem var(--sans); color: #b9a998; }
.cal__day small { font-size: .62rem; color: var(--jade); line-height: 1.1; }
.cal__day.is-free { background: var(--paper); border-color: var(--line); color: var(--ink); cursor: pointer; }
.cal__day.is-free:hover { border-color: var(--gold); }
.cal__day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cal__day[aria-pressed="true"] small { color: var(--gold-soft); }
.cal__msg { margin-top: 12px; color: var(--muted); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.summary { padding: 14px 18px; border-radius: 10px; background: var(--jade-soft); color: var(--jade); font-weight: 400; }
.bform { display: grid; gap: 14px; }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .bform__row { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; font-size: .92rem; color: var(--ink-soft); }
.f small { color: var(--muted); }
.f input, .f textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: 300 1rem var(--sans); color: var(--ink); }
.f input:focus, .f textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); padding: 14px 16px; border: 1px solid var(--gold-soft); border-radius: 10px; background: var(--paper); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--err); background: #f8e6e1; padding: 10px 14px; border-radius: 10px; margin: 0; }
.done { text-align: center; padding: 48px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.done img { margin: 0 auto 1rem; }
.done__mail { color: var(--jade); }

/* «Mein Termin» */
.mine { max-width: 640px; margin: 0 auto 1rem; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.mine__status { font: 400 1.25rem/1.4 var(--serif); padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.mine__status.is-bestaetigt { color: var(--ok); } .mine__status.is-unbestaetigt, .mine__status.is-angefragt { color: var(--gold-deep); }
.mine__kv { margin: 0 0 16px; } .mine__kv div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 6px 0; }
.mine__kv dt { color: var(--muted); } .mine__kv dd { margin: 0; }
.mine form { display: grid; gap: 12px; margin-top: 12px; justify-items: start; }
.mine + .small { text-align: center; }

/* footer */
.foot { background: var(--ink); color: #e8dccb; padding: 0 var(--gut) 28px; font-size: .95rem; }
.foot a { color: #f0e2c4; }
.foot__ornament { height: 16px; margin: 0 calc(-1 * var(--gut)) 48px; background: url("../img/ornament.svg") repeat-x center / 48px 16px; opacity: .8; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; max-width: var(--wrap); margin: 0 auto; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__brand img { width: 52px; margin-bottom: 8px; }
.foot__name { font: 400 1.4rem var(--serif); color: #fff; margin-bottom: .3em; }
.foot__h { font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1em; }
.foot__links { list-style: none; padding: 0; margin: 0; line-height: 2; }
.foot__note { max-width: var(--wrap); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(231, 214, 178, .2); font-size: .85rem; color: #c9b9a3; }
.foot__copy { max-width: var(--wrap); margin: 8px auto 0; font-size: .8rem; color: #a38f78; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
