/*
 * Weblux Demo-Kit: Grundlage aller Demo-Websites.
 * Enthält nur Struktur. Farben, Schriften und Formen setzt jede Demo
 * in public/css/<slug>.css über diese Variablen:
 *
 *   --bg --surface --ink --muted --line      Flächen und Text
 *   --accent --on-accent --accent-soft       Akzent (Buttons, Auswahl)
 *   --head --body                            Schriftfamilien
 *   --r                                      Eckenradius
 *   --maxw                                   Inhaltsbreite
 *
 * Die Weblux-Leiste (.wl-*) ist bewusst im Weblux-Look (Charcoal +
 * Orange), damit klar ist, was Demo-Rahmen und was Demo-Inhalt ist.
 */

:root {
  --bg: #fff; --surface: #f6f6f4; --ink: #1c1c1c; --muted: #5e5e5e; --line: #dcdcd8;
  --accent: #1c1c1c; --on-accent: #fff; --accent-soft: #ececec;
  --head: system-ui, sans-serif; --body: system-ui, sans-serif;
  --r: 10px; --maxw: 72rem;
  --wl-ink: #1a1a1a; --wl-orange: #fd5e02; --wl-orange-ink: #c54700;
}

/* ---------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; }
body { min-height: 100vh; line-height: 1.55; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; text-wrap: balance; }
/* Lange deutsche Wörter (Rauchfangkehrermeister) dürfen am Handy trennen statt überzustehen. */
h1, h2, h3, h4, legend { overflow-wrap: break-word; }
@media (max-width: 39.99em) { h1, h2, h3, h4, legend { hyphens: auto; } }
p { text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* ---------------------------------------------------------- Foto-Platzhalter */
.ph { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.5rem; background:
  repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 5%, transparent) 14px 15px),
  color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--muted); text-align: center; font-size: .9rem; }
.ph span { max-width: 28ch; }

/* ---------------------------------------------------------- Buttons + Felder (Basis, Demo-CSS überschreibt) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 2.9rem; padding: .7em 1.4em; border: 2px solid var(--accent);
  border-radius: var(--r); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; line-height: 1.1; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.fld { display: grid; gap: .3rem; font-size: .95rem; }
.fld > span { font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: calc(var(--r) * .7); background: var(--bg); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.chk { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.chk input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.demo-note { margin-top: 20px; padding: 14.4px 16px; border-left: 4px solid var(--wl-orange); background: #fff6ef; color: #3a2a1f; font-family: Inter, system-ui, sans-serif; font-size: 14.1px; border-radius: 0 6px 6px 0; text-align: left; }
.form-done { padding: 2rem 1.5rem; border-radius: var(--r); background: var(--surface); text-align: center; }
.form-done:focus { outline: none; }
.form-done h3 { font-size: 1.5rem; margin-bottom: .5rem; }

/* ---------------------------------------------------------- Öffnungsstatus + Zeiten */
.open-status { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 600; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #b3261e; }
.open-status[data-state="open"]::before { background: #1e8e3e; box-shadow: 0 0 0 0 rgb(30 142 62 / .5); animation: pulse 2s infinite; }
.open-status[data-state="closing"]::before { background: #e8a200; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .5em rgb(30 142 62 / 0); } 100% { box-shadow: 0 0 0 0 rgb(30 142 62 / 0); } }
.hours { border-collapse: collapse; font-size: .92rem; width: 100%; }
.hours th, .hours td { padding: .25rem 0; text-align: left; font-weight: 400; vertical-align: top; }
.hours th { padding-right: 1rem; }
.hours tr.is-today { font-weight: 700; }
.hours tr.is-today th::after { content: " · heute"; font-weight: 400; opacity: .7; }

/* ---------------------------------------------------------- Kopf- und Fußzeile (Basis) */
.sh__in { display: flex; align-items: center; gap: 1rem; max-width: var(--maxw); margin-inline: auto; padding: .9rem 1rem; flex-wrap: wrap; }
.sh__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; flex: 1 1 0; min-width: 0; }
@media (min-width: 60em) { .sh__logo { flex: 0 0 auto; } }
.sh__word { font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.sh__toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; flex: none; }
.sh__burger, .sh__burger::before, .sh__burger::after { display: block; width: 1.4rem; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.sh__burger::before, .sh__burger::after { content: ""; position: absolute; left: 0; }
.sh__burger::before { top: -6px; } .sh__burger::after { top: 6px; }
[aria-expanded="true"] .sh__burger { background: transparent; }
[aria-expanded="true"] .sh__burger::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .sh__burger::after { transform: translateY(-6px) rotate(-45deg); }
.sh__nav { display: none; width: 100%; padding-block: .5rem 1rem; }
.sh__nav.is-open { display: grid; gap: 1rem; }
.sh__nav ul { list-style: none; padding: 0; display: grid; }
.sh__nav li a { display: block; padding: .7rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.sh__nav a[aria-current="page"] { color: var(--accent); }
.sh__status { order: 5; width: 100%; }
@media (min-width: 60em) {
  .sh__in { flex-wrap: nowrap; }
  .sh__toggle { display: none; }
  .sh__nav { display: flex; align-items: center; gap: 1.75rem; width: auto; padding: 0; }
  .sh__nav ul { display: flex; gap: 1.5rem; }
  .sh__nav li a { padding: .4rem 0; border: 0; }
  .sh__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
  .sh__status { order: 0; width: auto; }
}
.sf { margin-top: 4rem; background: var(--surface); font-size: .95rem; }
.sf__in { display: grid; gap: 2rem; max-width: var(--maxw); margin-inline: auto; padding: 3rem 1rem 2rem; }
@media (min-width: 40em) { .sf__in { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 60em) { .sf__in { grid-template-columns: 1.3fr 1.2fr .8fr; } }
.sf__name { font-family: var(--head); font-weight: 700; font-size: 1.25rem; }
.sf__tag { color: var(--muted); margin-bottom: 1rem; }
.sf address { font-style: normal; line-height: 1.8; }
.sf__h { font-weight: 700; margin-bottom: .6rem; }
.sf__nav { list-style: none; padding: 0; line-height: 2; }
.sf__legal { max-width: var(--maxw); margin-inline: auto; padding: 1.25rem 1rem 6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: grid; gap: .4rem; }
@media (min-width: 60em) { .sf__legal { padding-bottom: 2rem; } }

/* ---------------------------------------------------------- Rechtsseiten */
.legal__in { max-width: 46rem; margin-inline: auto; padding: 3rem 1rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .4rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.legal__sub { color: var(--muted); margin-bottom: 2rem; }
.legal__demo { display: inline-block; margin-bottom: 16px; padding: 4.8px 11.2px; border-radius: 99px; background: #fff6ef; color: var(--wl-orange-ink); font: 600 12.8px/1.4 Inter, system-ui, sans-serif; }
.legal dl { display: grid; gap: .2rem 1.5rem; }
.legal dt { font-weight: 700; margin-top: .6rem; }
@media (min-width: 40em) { .legal dl { grid-template-columns: 14rem 1fr; } .legal dt { margin-top: 0; } }

/* ---------------------------------------------------------- Weblux-Leiste */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
.wl-bar { position: sticky; top: 0; z-index: 50; background: var(--wl-ink); color: #f2f2f0; font: 400 13.1px/1.3 Inter, system-ui, sans-serif; }
.wl-bar__in { display: flex; align-items: center; gap: 12px; max-width: 1440px; margin-inline: auto; padding: 7.2px 16px; }
.wl-bar__txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9.6px; }
.wl-bar__txt a { color: #fff; font-weight: 600; }
.wl-bar__long { display: none; }
.wl-badge { padding: 2.4px 8px; border-radius: 4px; background: var(--wl-orange); color: #1a1a1a; font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.wl-bar__act { display: flex; gap: 6.4px; }
.wl-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 4.8px 12.8px; border-radius: 6px; border: 1px solid #555; background: transparent; color: #f2f2f0; font: 600 12.8px/1.2 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.wl-btn:hover { border-color: #aaa; }
.wl-btn--cta { background: var(--wl-orange); border-color: var(--wl-orange); color: #1a1a1a; }
.wl-btn--cta:hover { background: #ff7a2a; border-color: #ff7a2a; }
.wl-btn--lg { min-height: 48px; padding: 11.2px 22.4px; font-size: 16px; }
.wl-btn:focus-visible, .wl-link:focus-visible { outline: 3px solid var(--wl-orange); outline-offset: 2px; }
[data-wl-tour] { display: none; }
.wl-bar .wl-btn--cta { display: none; }
@media (min-width: 40em) { .wl-bar .wl-btn--cta { display: inline-flex; } [data-wl-tour] { display: inline-flex; } }
@media (min-width: 75em) { .wl-bar__long { display: inline; } .wl-bar__short { display: none; } }

.wl-info { width: min(544px, 100% - 32px); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #fff; color: #1a1a1a; font: 400 15.2px/1.55 Inter, system-ui, sans-serif; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.wl-info::backdrop { background: rgb(20 20 20 / .6); backdrop-filter: blur(3px); }
.wl-info__in { position: relative; padding: 28px 24px; display: grid; gap: 14.4px; }
.wl-info__x { position: absolute; top: 9.6px; right: 9.6px; width: 44px; height: 44px; border: 0; background: none; font-size: 25.6px; color: #555; }
.wl-info__eyebrow { color: var(--wl-orange-ink); font-weight: 600; font-size: 12.8px; letter-spacing: .05em; text-transform: uppercase; }
.wl-info__h { font: 700 25.6px/1.15 Inter, system-ui, sans-serif; }
.wl-info__h3 { font: 700 16px/1.3 Inter, system-ui, sans-serif; margin-top: 8px; }
.wl-info__lead, .wl-info__note { color: #4a4a4a; }
.wl-info__note { font-size: 13.6px; }
.wl-feat { list-style: none; padding: 0; display: grid; gap: 9.6px; }
.wl-feat li { display: grid; gap: 1.6px; padding-left: 25.6px; position: relative; }
.wl-feat li::before { content: "✓"; position: absolute; left: 0; color: var(--wl-orange-ink); font-weight: 700; }
.wl-feat span { color: #4a4a4a; font-size: 14.4px; }
.wl-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-metrics div { padding: 11.2px 12.8px; border-radius: 8px; background: #f4f4f2; }
.wl-metrics dt { font-size: 12px; color: #555; }
.wl-metrics dd { font: 600 18.4px/1.3 "JetBrains Mono", ui-monospace, monospace; }
.wl-pkg { padding: 16px 17.6px; border-radius: 10px; background: var(--wl-ink); color: #f2f2f0; }
.wl-pkg__name { font-weight: 700; color: var(--wl-orange); }
.wl-pkg__price { font-size: 16.8px; }
.wl-pkg__price span { font: 600 20.8px/1.3 "JetBrains Mono", ui-monospace, monospace; }
.wl-pkg__vat, .wl-pkg__sum { font-size: 13.1px; color: #c8c8c4; }
.wl-info__act { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.wl-link { color: #1a1a1a; font-weight: 600; }

/* Feature-Tour: markiert alles mit data-feature */
.wl-tour [data-feature] { position: relative; outline: 2px dashed var(--wl-orange); outline-offset: 6px; border-radius: 4px; }
.wl-tour [data-feature]::before { content: "★ " attr(data-feature); position: absolute; z-index: 20; top: -.144px; left: 8px; padding: 3.2px 8.8px; border-radius: 4px;
  background: var(--wl-orange); color: #1a1a1a; font: 600 .75rem/1.3 Inter, system-ui, sans-serif; white-space: nowrap; pointer-events: none; }

/* ---------------------------------------------------------- Toast */
.demo-toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; max-width: min(480px, calc(100% - 32px)); padding: 13.6px 17.6px; border-radius: 10px;
  background: var(--wl-ink); color: #fff; font: 400 .9rem/1.45 Inter, system-ui, sans-serif; box-shadow: 0 12px 40px rgb(0 0 0 / .3);
  transform: translate(-50%, 150%); opacity: 0; transition: transform .25s, opacity .25s; border-left: 4px solid var(--wl-orange); }
.demo-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------------------------------------------------------- Filter-Buttons (Galerie, Blog) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 2.5rem; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--bg); font-size: .9rem; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------- Lightbox */
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; padding: 0; border: 0; background: rgb(10 10 10 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; gap: .75rem; max-width: min(90rem, 92vw); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 4px; }
.lightbox figcaption { text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 1.8rem; line-height: 1; }
.lightbox button:hover { background: rgb(255 255 255 / .25); }
.lightbox__x { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; } .lightbox__next { right: 1rem; top: 50%; }

/* ---------------------------------------------------------- Vorher/Nachher */
.compare { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; user-select: none; }
.compare > img, .compare > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgb(0 0 0 / .4); }
.compare__line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: #222; font-weight: 700; letter-spacing: .1em; box-shadow: 0 4px 14px rgb(0 0 0 / .3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input:focus-visible + .compare__line::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.compare__tag { position: absolute; bottom: .75rem; padding: .25rem .6rem; border-radius: 4px; background: rgb(0 0 0 / .65); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.compare__tag--before { left: .75rem; } .compare__tag--after { right: .75rem; }

/* ---------------------------------------------------------- Wizard / Konfigurator / Quiz */
.wiz { display: grid; gap: 1.25rem; }
.wiz__top { display: grid; gap: .4rem; }
.wiz__progress { font-size: .85rem; color: var(--muted); font-weight: 600; }
.wiz__bar { --p: 0%; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wiz__bar::after { content: ""; display: block; height: 100%; width: var(--p); background: var(--accent); transition: width .3s; }
.wiz-step { border: 0; padding: 0; min-width: 0; display: grid; gap: .9rem; }
.wiz-step legend, .wiz-step > h3 { font-family: var(--head); font-size: 1.35rem; font-weight: 700; margin-bottom: .9rem; padding: 0; }
.wiz-step legend:focus, .bk__legend:focus { outline: none; }
.opts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.opt { position: relative; display: grid; gap: .2rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: var(--muted); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt__icon { font-size: 1.6rem; line-height: 1; margin-bottom: .3rem; }
.opt__name { font-weight: 700; }
.opt__desc { font-size: .88rem; color: var(--muted); }
.opt:has(input:checked)::after { content: "✓"; position: absolute; top: .6rem; right: .75rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; }
.range { display: grid; gap: .5rem; }
.range__head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.range__val { font-variant-numeric: tabular-nums; color: var(--accent); }
.range input { width: 100%; accent-color: var(--accent); height: 2rem; }
.wiz__nav { display: flex; gap: .6rem; justify-content: space-between; flex-wrap: wrap; }
.wiz__nav [data-wiz-next], .wiz__nav [data-wiz-submit] { margin-left: auto; }
.estimate { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); }
.estimate__label { font-size: .9rem; color: var(--muted); }
.estimate__val { font-family: var(--head); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.estimate__note { width: 100%; font-size: .8rem; color: var(--muted); }
.wiz-sum { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); font-size: .95rem; }
.wiz-sum dt { font-weight: 700; }
.fields { display: grid; gap: .9rem; }
@media (min-width: 40em) { .fields { grid-template-columns: 1fr 1fr; } .fld--wide { grid-column: 1 / -1; } }

/* ---------------------------------------------------------- Terminbuchung */
.bk { --bk-bg: var(--bg); display: grid; gap: 1.5rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); background: var(--bk-bg); }
.bk__progress { list-style: none; padding: 0; display: flex; gap: .4rem; counter-reset: s; font-size: .8rem; color: var(--muted); overflow-x: auto; }
.bk__progress li { display: flex; align-items: center; gap: .4rem; padding-right: .6rem; white-space: nowrap; }
.bk__progress li span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; }
.bk__progress li.is-cur { color: var(--ink); font-weight: 700; }
.bk__progress li.is-cur span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.bk__progress li.is-done span { border-color: var(--accent); color: var(--accent); }
.bk__step { border: 0; padding: 0; min-width: 0; display: grid; gap: 1rem; }
.bk__legend { font-family: var(--head); font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; padding: 0; margin-bottom: .75rem; }
.bk__hint { font-size: .88rem; color: var(--muted); }
.bk__group { display: grid; gap: .5rem; min-width: 0; }
.bk__cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.bk-opt { min-width: 0; display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.bk-opt:hover { border-color: var(--muted); }
.bk-opt input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); flex: none; }
.bk-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.bk-opt__main { display: grid; flex: 1; min-width: 0; overflow-wrap: break-word; }
.bk-opt__name { font-weight: 600; }
.bk-opt__desc { font-size: .85rem; color: var(--muted); }
.bk-opt__meta { font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.bk__staff { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.bk-person { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; }
.bk-person input { position: absolute; opacity: 0; }
.bk-person:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.bk-person:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.bk-person__av { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; flex: none; }
.bk-person__name { display: block; font-weight: 700; }
.bk-person__role { display: block; font-size: .85rem; color: var(--muted); }
.bk__when { display: grid; gap: 1.5rem; }
@media (min-width: 60em) { .bk__when { grid-template-columns: minmax(18rem, 1fr) 1fr; align-items: start; } }
.bk-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.bk-cal__title { font-weight: 700; }
.bk-cal__nav { width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--line); border-radius: 50%; background: var(--bg); font-size: 1.3rem; }
.bk-cal__nav:disabled { opacity: .35; cursor: default; }
.bk-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.bk-cal__dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding-bottom: .2rem; }
.bk-day { aspect-ratio: 1; min-height: 2.6rem; border: 1.5px solid var(--line); border-radius: calc(var(--r) * .7); background: var(--bg); font-weight: 600; font-variant-numeric: tabular-nums; position: relative; }
.bk-day:hover:not(:disabled) { border-color: var(--accent); }
.bk-day:disabled { border-color: transparent; background: transparent; color: var(--muted); opacity: .45; cursor: default; }
.bk-day.is-full:disabled { text-decoration: line-through; }
.bk-day.is-few::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #e8a200; }
.bk-day.is-sel { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bk-cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-top: .7rem; font-size: .78rem; color: var(--muted); }
.lg { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: -.5rem; background: #e8a200; }
.lg--full { background: var(--line); }
.bk-slots__day { font-weight: 700; margin-bottom: .5rem; }
.bk-slots__g { font-size: .8rem; font-weight: 700; color: var(--muted); margin: .6rem 0 .4rem; text-transform: uppercase; letter-spacing: .06em; }
.bk-slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: .4rem; }
.bk-slot { min-height: 2.75rem; border: 1.5px solid var(--line); border-radius: calc(var(--r) * .7); background: var(--bg); font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-slot:hover { border-color: var(--accent); }
.bk-slot.is-sel { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bk__fields { display: grid; gap: .9rem; }
@media (min-width: 40em) { .bk__fields { grid-template-columns: 1fr 1fr; } }
.bk__bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; justify-content: space-between; padding: .9rem 0 .2rem; background: var(--bk-bg); border-top: 1px solid var(--line); }
.bk__sum { font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk__nav { display: flex; gap: .5rem; margin-left: auto; }
.bk__done { text-align: center; display: grid; gap: .75rem; justify-items: center; padding: 1rem 0; }
.bk__done:focus { outline: none; }
.bk__check { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 2rem; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.bk__done-h { font-size: 1.6rem; }
.bk__done-act { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.my-booking { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: center; padding: .7rem 1rem; background: var(--accent-soft); font-size: .92rem; text-align: center; }

/* ---------------------------------------------------------- Blog */
.blog-tools { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
@media (min-width: 60em) { .blog-tools { grid-template-columns: 1fr auto; align-items: center; } }
.search { position: relative; }
.search input { width: 100%; min-height: 2.9rem; padding: .6rem 1rem .6rem 2.6rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--bg); }
.search::before { content: ""; position: absolute; left: 1rem; top: 50%; width: .9rem; height: .9rem; margin-top: -.55rem; border: 2px solid var(--muted); border-radius: 50%; }
.search::after { content: ""; position: absolute; left: 1.85rem; top: 50%; width: 2px; height: .45rem; margin-top: .15rem; background: var(--muted); transform: rotate(-45deg); }
.blog-count { font-size: .85rem; color: var(--muted); }
.prose { max-width: 42rem; font-size: 1.07rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; }
