/* Quellstein — Thermal Spa & Wellness Trail (self_travel-11) design system:
   "Ruhebad" (calm bath). Rebuilt 2026-09-18 as part of the full
   design-SYSTEM redesign initiative — a distinctly green-tinted light
   surface (sage/eucalyptus, not cream/terracotta/ivory), a humanist-serif
   + rounded-sans pairing with soft low-contrast character, a transparent
   header that sits over the hero photo (not sticky, not opaque), a dark
   forest single-column centered footer, fully soft-shadow cards with no
   border, and generous airy spacing throughout to read as genuinely calm.
   Distinct from every other site per PROCESS.md's variable-substitution
   test. */

:root {
  --qs-ink: #1b2b23;
  --qs-ink-soft: #4c6156;
  --qs-sage: #e6ecdf;
  --qs-sage-deep: #d3ddc7;
  --qs-forest: #26402f;
  --qs-forest-deep: #16281c;
  --qs-clay: #c47a4e;
  --qs-clay-deep: #a15f38;
  --qs-white: #ffffff;
  --qs-line: rgba(27, 43, 35, .12);
  --qs-line-strong: rgba(27, 43, 35, .22);
  --qs-shadow-sm: 0 10px 26px rgba(27, 43, 35, .10);
  --qs-shadow: 0 26px 54px rgba(27, 43, 35, .14);

  --qs-font-display: 'Spectral', Georgia, serif;
  --qs-font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --qs-font-mono: 'Fira Code', ui-monospace, Menlo, monospace;

  --qs-radius: 10px;
  --qs-radius-lg: 26px;
  --qs-shell: min(100% - 32px, 1180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--qs-ink); background: var(--qs-sage);
  font-family: var(--qs-font-body); line-height: 1.72; font-size: 16.5px;
}
img { max-width: 100%; display: block; }
.qs-wrap { width: var(--qs-shell); margin-inline: auto; }
a { color: var(--qs-forest); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--qs-clay-deep); }
h1, h2, h3 { font-family: var(--qs-font-display); font-weight: 400; line-height: 1.24; }

/* ---------- photo placeholder / real-image component ---------- */
.qs-photo {
  position: relative; border: none;
  border-radius: var(--qs-radius-lg);
  background: var(--qs-sage-deep);
  aspect-ratio: var(--ar, 4/3); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.qs-photo__inner { text-align: center; padding: 16px; max-width: 30ch; }
.qs-photo__icon { width: 28px; height: 28px; color: var(--qs-forest); opacity: .85; margin: 0 auto 10px; }
.qs-photo__label { font-family: var(--qs-font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--qs-forest); display: block; margin-bottom: 6px; }
.qs-photo__brief { font-size: .78rem; color: var(--qs-ink-soft); }
.qs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- header (transparent-over-hero, not sticky) ---------- */
.qs-header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; background: transparent; border-bottom: none; }
.qs-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; gap: 16px; }
.qs-brand { display: flex; align-items: center; gap: 9px; font-family: var(--qs-font-display); font-weight: 500; font-size: 1.2rem; color: var(--qs-white); text-decoration: none; }
.qs-brand__mark { width: 24px; height: 24px; color: var(--qs-white); flex: none; }
.qs-nav { display: none; gap: 24px; font-size: .88rem; }
.qs-nav a { color: rgba(255,255,255,.92); text-decoration: none; }
.qs-nav a:hover { color: var(--qs-white); text-decoration: underline; }
.qs-menu-toggle { background: none; border: none; color: var(--qs-white); padding: 6px; cursor: pointer; }
.qs-menu-toggle svg { width: 24px; height: 24px; }
.qs-mobile-nav { display: none; flex-direction: column; padding: 6px 0 18px; gap: 4px; background: var(--qs-forest); border-radius: 0 0 var(--qs-radius) var(--qs-radius); }
.qs-mobile-nav.is-open { display: flex; }
.qs-mobile-nav a { padding: 10px 16px; font-size: .95rem; color: var(--qs-white); text-decoration: none; }
@media (min-width: 860px) { .qs-nav { display: flex; } .qs-menu-toggle { display: none; } }
/* pages without a photo hero behind the header need a solid fallback */
body:not(.qs-has-hero) .qs-header { position: sticky; top: 0; background: var(--qs-forest); }
body:not(.qs-has-hero) .qs-nav a, body:not(.qs-has-hero) .qs-brand { color: var(--qs-white); }

/* ---------- hero ---------- */
.qs-hero__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .qs-hero__grid { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.qs-eyebrow { margin: 0 0 .6rem; color: var(--qs-clay-deep); font-family: var(--qs-font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.qs-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 0 0 16px; font-weight: 400; }
.qs-hero__lede { font-size: 1.05rem; color: var(--qs-ink-soft); max-width: 56ch; margin: 0; }
.qs-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.qs-fact { border: none; border-radius: var(--qs-radius); padding: 14px 12px; background: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-fact__num { font-family: var(--qs-font-mono); font-size: 1.1rem; color: var(--qs-forest); display: block; font-weight: 500; }
.qs-fact__label { font-size: .72rem; color: var(--qs-ink-soft); }

/* ---------- generic section chrome ---------- */
.qs-section { padding: 64px 0; }
.qs-section--sunk { background: var(--qs-sage-deep); }
.qs-section--dark { background: var(--qs-forest-deep); color: var(--qs-sage); }
.qs-section--dark .qs-eyebrow { color: var(--qs-clay); }
.qs-section--dark h2, .qs-section--dark h3 { color: var(--qs-white); }
.qs-section--dark .qs-section__lead { color: rgba(230,236,223,.8); }
.qs-section__head { max-width: 68ch; margin-bottom: 34px; }
.qs-section__head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 10px; font-weight: 400; }
.qs-section__lead { color: var(--qs-ink-soft); font-size: 1.02rem; margin: 0; }

/* ---------- multi-select bath-type filter (structural signature) ---------- */
.qs-filter { background: var(--qs-white); border: none; box-shadow: var(--qs-shadow-sm); border-radius: var(--qs-radius-lg); padding: 24px 26px; margin: 34px 0; }
.qs-filter__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.qs-filter__title { font-family: var(--qs-font-display); font-weight: 500; font-size: 1.12rem; margin: 0; }
.qs-filter__reset { border: none; background: none; color: var(--qs-forest); font-family: var(--qs-font-mono); font-size: .76rem; font-weight: 500; cursor: pointer; padding: 6px 8px; text-transform: uppercase; letter-spacing: .04em; }
.qs-filter__reset:hover { color: var(--qs-clay-deep); }
.qs-filter__options { display: flex; flex-wrap: wrap; gap: 10px; }
.qs-chip { position: relative; }
.qs-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qs-chip span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 18px 9px 14px;
  border: none; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--qs-ink-soft); background: var(--qs-sage); transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.qs-chip span::before { content: ""; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--qs-line-strong); background: var(--qs-white); flex: none; }
.qs-chip input:checked + span { background: var(--qs-forest); color: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-chip input:checked + span::before { background: var(--qs-clay); border-color: var(--qs-clay); }
.qs-chip input:focus-visible + span { outline: 2px solid var(--qs-forest); outline-offset: 2px; }
.qs-filter__note { font-size: .82rem; color: var(--qs-ink-soft); margin: 16px 0 0; }
.qs-filter__count { font-family: var(--qs-font-mono); }

.qs-bath-card[data-hidden="true"] { display: none; }
.qs-bath-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.qs-bath-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--qs-sage-deep); color: var(--qs-forest); font-family: var(--qs-font-mono); font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- place cards ---------- */
.qs-baths { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .qs-baths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .qs-baths { grid-template-columns: repeat(3, 1fr); } }
.qs-bath-card { background: var(--qs-white); border: none; border-radius: var(--qs-radius-lg); overflow: hidden; box-shadow: var(--qs-shadow-sm); transition: box-shadow .25s ease, transform .25s ease; }
.qs-bath-card:hover { box-shadow: var(--qs-shadow); transform: translateY(-4px); }
.qs-bath-card__body { padding: 20px 22px 24px; }
.qs-bath-card h3 { font-size: 1.18rem; margin: 0 0 8px; font-weight: 500; }
.qs-bath-card p { font-size: .9rem; color: var(--qs-ink-soft); margin: 0; }
.qs-bath-card__link { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; }

/* ---------- callout ---------- */
.qs-callout { background: var(--qs-white); color: var(--qs-ink); border-radius: var(--qs-radius-lg); padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--qs-shadow-sm); border-left: 4px solid var(--qs-clay); }
.qs-callout svg { width: 22px; height: 22px; color: var(--qs-clay-deep); flex: none; margin-top: 2px; }
.qs-callout strong { display: block; margin-bottom: 4px; }
.qs-callout p { margin: 0; font-size: .92rem; color: var(--qs-ink-soft); }

/* ---------- fact strip ---------- */
.qs-facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 28px 0; }
@media (min-width: 760px) { .qs-facts { grid-template-columns: repeat(4, 1fr); } }
.qs-fact-tile { border: none; border-radius: var(--qs-radius); padding: 16px 14px; background: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-fact-tile__num { font-family: var(--qs-font-mono); font-size: 1.1rem; color: var(--qs-forest); display: block; font-weight: 500; }
.qs-fact-tile__label { font-size: .72rem; color: var(--qs-ink-soft); }

/* ---------- comparison table ---------- */
.qs-table-wrap { overflow-x: auto; margin: 28px 0; border: none; border-radius: var(--qs-radius-lg); background: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.qs-table th, .qs-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--qs-line); }
.qs-table th { font-family: var(--qs-font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--qs-ink-soft); background: var(--qs-sage-deep); }
.qs-table tr:last-child td { border-bottom: none; }

/* ---------- page hero (inner pages) ---------- */
.qs-page-hero { background: var(--qs-sage-deep); border-bottom: none; padding: 48px 0; }
.qs-page-hero h1 { font-size: clamp(1.8rem, 4.6vw, 2.5rem); margin: 0 0 10px; font-weight: 400; }
.qs-page-hero p { color: var(--qs-ink-soft); max-width: 60ch; margin: 0; }
.qs-breadcrumb { font-family: var(--qs-font-mono); font-size: .74rem; color: var(--qs-ink-soft); margin: 0 0 14px; }
.qs-breadcrumb a { color: var(--qs-forest); }

/* ---------- generic content ---------- */
.qs-content { max-width: 74ch; }
.qs-content h2 { margin-top: 2.2em; font-size: 1.42rem; font-weight: 400; }
.qs-content h2:first-child { margin-top: 0; }
.qs-content h3 { font-size: 1.1rem; margin-top: 1.5em; font-weight: 600; }
.qs-content p { color: var(--qs-ink-soft); }
.qs-content ul, .qs-content ol { color: var(--qs-ink-soft); padding-left: 1.3em; }
.qs-content li { margin-bottom: .6em; }

/* ---------- buttons ---------- */
.qs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 22px; border-radius: 999px; font-size: .92rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; }
.qs-btn--solid { background: var(--qs-forest); color: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-btn--solid:hover { background: var(--qs-forest-deep); }
.qs-btn--ghost { background: var(--qs-white); border: none; color: var(--qs-forest); box-shadow: var(--qs-shadow-sm); }
.qs-btn--ghost:hover { color: var(--qs-clay-deep); }

/* ---------- forms ---------- */
.qs-form { display: grid; gap: 18px; max-width: 520px; }
.qs-field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.qs-field input, .qs-field textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: none; border-radius: var(--qs-radius); font-family: inherit; font-size: .95rem; background: var(--qs-white); color: var(--qs-ink); box-shadow: var(--qs-shadow-sm); }
.qs-field textarea { min-height: 120px; resize: vertical; }
.qs-form__note { font-size: .78rem; color: var(--qs-ink-soft); }

/* ---------- footer (dark forest, single centered column) ---------- */
.qs-footer { background: var(--qs-forest-deep); color: rgba(230,236,223,.8); padding: 56px 0 30px; font-size: .9rem; text-align: center; }
.qs-footer__grid { display: block; max-width: 60ch; margin: 0 auto 28px; }
.qs-footer h4 { color: var(--qs-white); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--qs-font-mono); font-weight: 500; }
.qs-footer a { display: inline-block; margin: 0 12px 10px; color: rgba(230,236,223,.8); text-decoration: none; }
.qs-footer a:hover { color: var(--qs-clay); }
.qs-footer__bottom { border-top: 1px solid rgba(230,236,223,.14); padding-top: 20px; font-size: .78rem; color: rgba(230,236,223,.55); }

/* ---------- cookie banner ---------- */
.qs-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--qs-white); color: var(--qs-ink); box-shadow: 0 -8px 26px rgba(27,43,35,.16); }
.qs-cookie-banner[hidden] { display: none; }
.qs-cookie-banner__inner { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; padding: 1.3rem 0; }
@media (min-width: 700px) { .qs-cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }
.qs-cookie-banner p { margin: 0; max-width: 60ch; font-size: .86rem; line-height: 1.6; color: var(--qs-ink-soft); }
.qs-cookie-banner a { color: var(--qs-forest); }
.qs-cookie-banner__accept { flex: none; min-height: 44px; padding: .6rem 1.6rem; color: var(--qs-white); background: var(--qs-forest); border: none; font-weight: 600; font-size: .85rem; cursor: pointer; border-radius: 999px; }
.qs-cookie-banner__accept:hover { background: var(--qs-forest-deep); }

/* ---------- hero: warm photo bleed with overlapping card ---------- */
.qs-hero { padding: 0 0 48px; position: relative; }
.qs-hero__photo { width: 100%; aspect-ratio: 20/9; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }
.qs-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qs-hero__card { position: relative; margin: -90px auto 0; max-width: 680px; background: var(--qs-white); border-radius: var(--qs-radius-lg); padding: 34px 32px 30px; box-shadow: var(--qs-shadow); }
.qs-hero__card h1 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); margin: 8px 0 16px; font-weight: 400; }
.qs-hero__card .qs-hero__lede { font-size: 1.02rem; color: var(--qs-ink-soft); margin: 0; }
.qs-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.qs-pill { display: flex; align-items: baseline; gap: 6px; border: none; border-radius: 999px; padding: 9px 18px; background: var(--qs-sage); }
.qs-pill__num { font-family: var(--qs-font-mono); font-size: .95rem; color: var(--qs-forest); font-weight: 500; }
.qs-pill__label { font-size: .7rem; color: var(--qs-ink-soft); }
@media (min-width: 700px) { .qs-hero__photo { aspect-ratio: 30/9; } .qs-hero__card { margin-top: -110px; } }

/* ---------- detail-page hero: Kurkarte (spa registration card) ---------- */
.qs-detail-hero { padding: 40px 0 48px; }
.qs-kurkarte { border: none; border-radius: var(--qs-radius-lg); padding: 32px 30px 30px; background: var(--qs-white); box-shadow: var(--qs-shadow-sm); }
.qs-kurkarte__badge { width: 42px; height: 42px; border-radius: 50%; background: var(--qs-forest); color: var(--qs-white); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.qs-kurkarte__badge svg { width: 20px; height: 20px; }
.qs-kurkarte__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qs-kurkarte__tag { font-family: var(--qs-font-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--qs-forest); background: var(--qs-sage-deep); border: none; border-radius: 999px; padding: 4px 12px; }
.qs-kurkarte h1 { margin: 0 0 10px; font-weight: 400; }
.qs-kurkarte p { color: var(--qs-ink-soft); max-width: 60ch; margin: 0; }
