/* Buchegger – Nachbau des Base44-Entwurfs, ohne Framework */

@font-face { font-family: 'Big Shoulders Display'; font-weight: 500; font-display: swap; src: url('fonts/big-shoulders-display-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 600; font-display: swap; src: url('fonts/big-shoulders-display-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url('fonts/big-shoulders-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: hsl(45 29% 97%);
  --fg: hsl(0 0% 10%);
  --card: hsl(0 0% 100%);
  --primary: hsl(227 100% 59%);
  --primary-fg: hsl(0 0% 100%);
  --secondary: hsl(45 16% 93%);
  --muted-fg: hsl(0 0% 38%);
  --border: hsl(0 0% 87%);
  --border-soft: hsl(0 0% 87% / .7);
  --input: hsl(0 0% 82%);
  --danger: hsl(0 72% 48%);
  --ok: hsl(152 40% 32%);
  --radius: .2rem;
  --font-heading: 'Big Shoulders Display', 'Inter', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --gutter: 1.25rem;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: var(--primary-fg); }
:focus-visible { outline: 3px solid hsl(227 100% 59% / .4); outline-offset: 2px; }

.container { max-width: 1400px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.heading { font-family: var(--font-heading); text-transform: uppercase; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; color: var(--muted-fg); font-size: 10px; font-weight: 500; }
.muted { color: var(--muted-fg); }
.accent { color: var(--primary); }
.icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3rem; padding: 0 1.5rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; transition: transform .15s, box-shadow .15s, border-color .15s, opacity .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); background: var(--bg); }
.btn-outline:hover { border-color: var(--fg); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn .icon { transition: transform .15s; }
.btn:hover .icon-right { transform: translateX(3px); }
.btn:hover .icon-up { transform: translate(2px, -2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4rem; }
@media (min-width: 1024px) { .site-header .container { height: 5rem; } }
.brand { display: flex; align-items: baseline; gap: .625rem; }
.brand-name { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .brand-name { font-size: 1.75rem; } }
.brand-tag { display: none; font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: var(--muted-fg); }
@media (min-width: 640px) { .brand-tag { display: block; } }
.main-nav { display: none; gap: 2rem; }
.main-nav a { font-size: .875rem; color: var(--muted-fg); transition: color .15s; }
.main-nav a:hover { color: var(--fg); }
@media (min-width: 768px) { .main-nav { display: flex; } }
.site-header .btn { height: 2.75rem; padding: 0 1rem; }
@media (min-width: 640px) { .site-header .btn { padding: 0 1.25rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.blueprint { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(to right, var(--border-soft) 1px, transparent 1px), linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%); mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; padding: 2.5rem 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 3.5rem; padding: 5rem 0; } }
.hero-kicker { display: flex; align-items: center; gap: .75rem; }
.hero-kicker::before { content: ''; width: 6px; height: 6px; background: var(--primary); }
.hero h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 9.5vw, 5rem); line-height: .98; }
.hero-lead { margin-top: 1.25rem; max-width: 36rem; color: var(--muted-fg); line-height: 1.65; }
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }
.hero-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.rules { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); }
.rules > div { padding: 0 1rem; border-left: 1px solid var(--border); }
.rules > div:first-child { padding-left: 0; border-left: 0; }
.rules dt { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }
.rules dd { margin-top: .375rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; line-height: 1; }
@media (min-width: 640px) { .rules dd { font-size: 1.5rem; } }
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--border); background: var(--secondary); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { border-bottom: 1px solid var(--border); }
.section-inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .section-inner { padding-top: 7rem; padding-bottom: 7rem; } }
.section-alt { background: hsl(45 16% 93% / .6); }
.h2 { margin-top: 1rem; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: .9; }
.section-head { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .section-head { grid-template-columns: 7fr 5fr; align-items: end; } }
.section-head p.lead { color: var(--muted-fg); line-height: 1.65; }

/* Service cards */
.cards { margin-top: 3rem; display: grid; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); transition: background .3s; }
@media (min-width: 1024px) { .card { padding: 2rem; } }
.card:hover { background: var(--card); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.icon-box { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); transition: color .15s, border-color .15s; }
.icon-box .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.card:hover .icon-box { border-color: var(--primary); color: var(--primary); }
.card .price { margin-top: 0; color: var(--fg); font-family: var(--font-heading); font-weight: 600; font-size: 1.875rem; line-height: 1; }
.price small { margin-left: .25rem; font-size: 1rem; color: var(--muted-fg); }
.card h3 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 1; }
.card p { margin-top: .75rem; font-size: .875rem; line-height: 1.65; color: var(--muted-fg); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-fg); }
.meta .cat { color: hsl(227 100% 59% / .8); }
.meta .dot { color: var(--border); }
.link-primary { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; color: var(--primary); }
.link-primary .icon { width: .875rem; height: .875rem; transition: transform .15s; }
.link-primary:hover .icon { transform: translateX(3px); }

/* Dark request box */
.request { margin-top: 1.5rem; padding: 2rem 1.5rem; background: var(--fg); color: var(--bg); display: grid; gap: 2rem; }
@media (min-width: 1024px) { .request { padding: 2.5rem; grid-template-columns: 4fr 8fr; } }
.request .eyebrow-dark { font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: hsl(45 29% 97% / .6); }
.request h3 { margin-top: .75rem; font-size: 1.875rem; line-height: .95; }
.request p.small { margin-top: .75rem; font-size: .875rem; line-height: 1.65; color: hsl(45 29% 97% / .7); }
.request ul { border-top: 1px solid hsl(45 29% 97% / .15); border-bottom: 1px solid hsl(45 29% 97% / .15); }
.request li + li { border-top: 1px solid hsl(45 29% 97% / .15); }
.request-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; }
.request-row .icon { color: hsl(45 29% 97% / .5); stroke-width: 1.5; transition: color .15s, transform .15s; }
.request-row:hover .icon { color: var(--bg); }
.request-row:hover .icon-right { transform: translateX(4px); }
.request-row .t { flex: 1; }
.request-row .t b { display: block; font-size: .875rem; font-weight: 500; }
.request-row .t span { display: block; margin-top: .125rem; font-size: .75rem; color: hsl(45 29% 97% / .6); }
.request-row .tag { display: none; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: hsl(45 29% 97% / .6); }
@media (min-width: 640px) { .request-row .tag { display: block; } }
.request-cta { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1rem; border: 1px solid hsl(45 29% 97% / .3); background: hsl(45 29% 97% / .05); transition: background .15s; }
.request-cta:hover { background: hsl(45 29% 97% / .1); }

/* Steps */
.steps { margin-top: 3.5rem; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps article { background: var(--bg); padding: 1.75rem; }
@media (min-width: 1024px) { .steps article { padding: 2.25rem; } }
.steps .num { font-family: var(--font-heading); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--primary); }
.steps h3 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 1; }
.steps p { margin-top: .75rem; font-size: .875rem; line-height: 1.65; color: var(--muted-fg); }

/* About */
.about { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-photo { position: relative; }
.about-thumb { position: absolute; right: -.75rem; bottom: -2rem; display: none; width: 9rem; padding: .375rem; border: 1px solid var(--border); background: var(--bg); }
.about-thumb .photo { aspect-ratio: 1; border: 0; }
@media (min-width: 640px) { .about-thumb { display: block; } }
@media (min-width: 1024px) { .about-thumb { right: -2rem; } }
.about-text { margin-top: 1.5rem; color: var(--muted-fg); line-height: 1.65; }
.about-text p + p { margin-top: 1rem; }
.checks { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.checks li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.checks li + li { margin-top: .75rem; }
.checks .icon { margin-top: .125rem; color: var(--primary); stroke-width: 2.5; }

/* Footer / contact */
.site-footer { border-top: 1px solid var(--border); }
.contact { display: grid; gap: 2.5rem; padding: 4rem 0; }
@media (min-width: 1024px) { .contact { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 6rem 0; } }
.contact h2 { margin-top: 1rem; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: .9; }
.contact .lead { margin-top: 1.25rem; max-width: 28rem; color: var(--muted-fg); line-height: 1.65; }
.contact .btn { margin-top: 1.75rem; }
.facts { border-top: 1px solid var(--border); }
.facts > div { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.facts dt { display: flex; align-items: center; gap: .75rem; font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: var(--muted-fg); }
.facts dt .icon { width: .875rem; height: .875rem; stroke-width: 1.5; }
.facts dd { text-align: right; font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 640px) { .facts dd { font-size: 1rem; } }
.facts a:hover { color: var(--primary); }
.footer-bar { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--border); font-size: .75rem; color: var(--muted-fg); }
@media (min-width: 640px) { .footer-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bar a:hover { color: var(--fg); }

/* ---------- Buchung ---------- */
.booking-main { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .booking-main { padding-top: 4rem; padding-bottom: 4rem; } }
.booking-main h1 { margin-top: .75rem; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: .9; }
.booking-grid { margin-top: 2.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .booking-grid { grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: start; } }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stepper li { padding: .75rem; background: var(--bg); transition: background .15s, color .15s; }
@media (min-width: 640px) { .stepper li { padding: .75rem 1rem; } }
.stepper .n { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }
.stepper .l { margin-top: .25rem; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1rem; line-height: 1; }
@media (min-width: 640px) { .stepper .l { font-size: 1.125rem; } }
.stepper li.done { background: var(--secondary); }
.stepper li.active { background: var(--fg); color: var(--bg); }
.stepper li.active .n { color: hsl(45 29% 97% / .6); }
.step-panel { margin-top: 2rem; }
.step-panel h2 { font-size: 1.5rem; line-height: 1; }
.svc-list { margin-top: 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.svc-list li + li { border-top: 1px solid var(--border); }
.svc-opt { display: flex; width: 100%; align-items: center; gap: 1rem; padding: 1rem 0; text-align: left; transition: background .15s; }
.svc-opt:hover { background: hsl(0 0% 100% / .7); }
.svc-opt .icon-box { width: 2.5rem; height: 2.5rem; color: var(--muted-fg); }
.svc-opt .t { flex: 1; min-width: 0; }
.svc-opt .t b { display: block; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1.125rem; line-height: 1; }
.svc-opt .t span { display: block; margin-top: .375rem; font-size: .75rem; color: var(--muted-fg); }
.svc-opt .p { text-align: right; flex-shrink: 0; }
.svc-opt .p b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; line-height: 1; }
.svc-opt .p span { display: block; margin-top: .25rem; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-fg); }
.svc-opt[aria-pressed="true"] { background: var(--card); box-shadow: inset 3px 0 0 var(--primary); padding-left: .75rem; }
.svc-opt[aria-pressed="true"] .icon-box { border-color: var(--primary); color: var(--primary); background: hsl(227 100% 59% / .06); }

.field-label { display: block; }
.input { margin-top: .5rem; display: block; width: 100%; height: 3rem; padding: 0 .75rem; border: 1px solid var(--input); border-radius: var(--radius); background: var(--bg); font-size: 1rem; transition: border-color .15s; }
@media (min-width: 640px) { .input { font-size: .875rem; } }
textarea.input { height: auto; padding: .625rem .75rem; resize: vertical; }
.input::placeholder { color: hsl(0 0% 38% / .6); }
.input:focus-visible { border-color: var(--primary); outline: 3px solid hsl(227 100% 59% / .3); outline-offset: 0; }
.input.invalid { border-color: var(--danger); }
#booking-date { max-width: 260px; }
.hint { margin-top: .5rem; font-size: .75rem; color: var(--muted-fg); }
.slots { margin-top: .75rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 640px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.slot { height: 3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); font-size: .875rem; transition: border-color .15s, background .15s, color .15s; }
.slot:hover { border-color: var(--fg); }
.slot[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.slot:disabled { cursor: not-allowed; border-style: dashed; border-color: hsl(0 0% 87% / .7); color: hsl(0 0% 38% / .6); text-decoration: line-through; }
.form-grid { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .625rem; align-items: flex-start; font-size: .75rem; color: var(--muted-fg); line-height: 1.5; }
.consent input { margin-top: .15rem; width: 1rem; height: 1rem; accent-color: var(--primary); flex-shrink: 0; }
.step-nav { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column-reverse; gap: .75rem; }
@media (min-width: 640px) { .step-nav { flex-direction: row; align-items: center; justify-content: space-between; } }
.alert { margin-top: 1.25rem; padding: .75rem 1rem; border: 1px solid var(--danger); color: var(--danger); font-size: .875rem; background: hsl(0 72% 48% / .05); }
.summary { border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
@media (min-width: 1024px) { .summary-wrap { position: sticky; top: 7rem; } }
.summary dl { margin-top: 1.25rem; }
.summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.summary dl > div + div { margin-top: 1rem; }
.summary dt { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-fg); }
.summary dd { text-align: right; font-size: .875rem; font-weight: 500; }
.summary .notes { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .75rem; line-height: 1.65; color: var(--muted-fg); }
.summary .notes p + p { margin-top: .5rem; }
.done-box { border: 1px solid var(--border); background: var(--card); padding: 2rem 1.5rem; }
@media (min-width: 1024px) { .done-box { padding: 2.5rem; } }
.done-box .check { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; background: var(--primary); color: var(--primary-fg); }
.done-box .check .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2.5; }
.done-box h2 { margin-top: 1.5rem; font-size: clamp(2rem, 5vw, 3rem); line-height: .9; }
.done-box p { margin-top: 1rem; color: var(--muted-fg); line-height: 1.65; max-width: 36rem; }
.spinner { width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Simple content pages (Absage, Rechtliches) */
.page-main { padding-top: 3rem; padding-bottom: 5rem; max-width: 760px; }
.page-main h1 { margin-top: .75rem; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: .9; }
.page-main p { margin-top: 1rem; color: var(--muted-fg); line-height: 1.65; }

/* ---------- Admin ---------- */
.admin-main { padding-top: 2rem; padding-bottom: 4rem; }
.admin-main h1 { font-size: 2.25rem; line-height: 1; }
.admin-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-top: 1.5rem; }
.admin-bar .input { margin-top: .25rem; height: 2.5rem; }
.admin-bar .btn { height: 2.5rem; padding: 0 1rem; }
.tabs { display: flex; gap: 0; margin-top: 1.5rem; border-bottom: 1px solid var(--border); }
.tabs button { padding: .75rem 1rem; font-size: .875rem; color: var(--muted-fg); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--primary); font-weight: 500; }
.day-group { margin-top: 1.75rem; }
.day-group h2 { font-size: 1.25rem; line-height: 1; padding-bottom: .5rem; border-bottom: 1px solid var(--fg); }
.bk { display: grid; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .bk { grid-template-columns: 8rem 1fr auto; align-items: start; } }
.bk .when { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; line-height: 1.1; }
.bk .who b { font-weight: 600; }
.bk .who div { font-size: .875rem; color: var(--muted-fg); overflow-wrap: anywhere; }
.bk .who a { color: var(--primary); }
.bk .note { margin-top: .375rem; font-size: .8125rem; padding: .5rem .625rem; background: var(--secondary); color: var(--fg); white-space: pre-wrap; }
.badge { display: inline-block; padding: .125rem .5rem; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--border); margin-left: .375rem; vertical-align: middle; }
.badge.req { border-color: var(--primary); color: var(--primary); }
.badge.cxl { border-color: var(--danger); color: var(--danger); }
.badge.blk { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.bk.cancelled { opacity: .55; }
.bk .actions .btn { height: 2.25rem; padding: 0 .875rem; font-size: .8125rem; }
.empty { margin-top: 2rem; color: var(--muted-fg); }
.block-form { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--border); background: var(--card); display: grid; gap: 1rem; }
@media (min-width: 768px) { .block-form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }
.block-form .input { margin-top: .25rem; height: 2.5rem; }
.block-form .btn { height: 2.5rem; }
