/* layouts/contrast.css — „Kontrast“: yellow on graphite, bold system sans,
   no photo on top. The accent (theme.accent, default yellow) is always set
   against the graphite --ground: as text on the dark bands and as the
   background of graphite text (tiles, the call bar); the loader requires
   4.5 : 1 between the two. */
:root {
  --ground: #1b1e22; --ground-2: #252a30; --ground-3: #121417;
  --bg: #fff; --bg-alt: #f3f3f0; --ink: #15181b; --muted: #555b62; --line: #dcdcd6;
  --on-dark: #eceef0; --on-dark-muted: #b8bec6; --on-dark-line: rgba(255, 255, 255, .16);
  --accent: #f5c518; --focus: #1b1e22;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.015em; }
.k-head, .k-story, .k-contact, .k-foot, .k-callbar { --focus: var(--accent); }

/* header band: brand, inline menu, the heading and the call-out */
.k-head { background: var(--ground); color: var(--on-dark); }
.k-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-top: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--on-dark-line); }
.k-brand { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.k-brand .icon { color: var(--accent); width: 1.6rem; height: 1.6rem; }
.k-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.k-nav a { color: var(--on-dark); font-weight: 600; text-decoration: none; padding: .3rem 0; border-bottom: 3px solid transparent; }
.k-nav a:hover { border-bottom-color: var(--accent); }
.k-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2.75rem; padding-bottom: 3.25rem; }
.k-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.08; margin-bottom: 1rem; max-width: 16em; }
.k-tagline { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 34rem; margin: 0; }
.k-callout { align-self: end; container-type: inline-size; background: var(--ground-2); border-left: 6px solid var(--accent); border-radius: 4px; padding: 1.4rem 1.5rem 1.5rem; }
.k-urgent { margin: 0 0 .35rem; color: var(--accent); font-size: clamp(1.35rem, 8.5cqi, 2.2rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.k-phone { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: clamp(1.25rem, 9cqi, 2.6rem); /* the number fills the call-out, never past it */ line-height: 1.15; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
.k-phone .icon { width: .85em; height: .85em; color: var(--accent); }
.k-phone:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .15em; }
@media (max-width: 479.98px) { .k-callout { padding: 1.15rem 1rem 1.25rem; } }
.k-booking { margin: .75rem 0 0; color: var(--on-dark-muted); font-size: .95rem; }
@media (min-width: 900px) { .k-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; padding-top: 4rem; padding-bottom: 4.5rem; } }

/* sections */
.k-section { padding: 3.5rem 0; }
.k-section h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.3rem); }
.k-section h2::after { content: ""; display: block; width: 3rem; height: 5px; margin-top: .6rem; background: var(--accent); }
.k-lead { max-width: 44rem; font-size: 1.1rem; color: var(--muted); }
.k-services, .k-steps { background: var(--bg-alt); }

/* signposts and service tiles */
.k-paths { padding: 2.5rem 0 0; }
.k-path-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.k-path { border: 2px solid var(--ground); border-radius: 4px; padding: 1.4rem; }
.k-path h2, .k-path h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.k-path p { color: var(--muted); }
.k-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.k-link .icon { width: 1.1rem; height: 1.1rem; }
.k-tiles { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 600px) { .k-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .k-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.k-tile { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ground); border-radius: 4px; padding: 1.25rem 1.25rem 1.4rem; }
.k-tile-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .9rem; border-radius: 4px; background: var(--accent); color: var(--ground); }
.k-tile-icon .icon { width: 1.65rem; height: 1.65rem; }
.k-tile-img { display: block; width: calc(100% + 2.5rem); max-width: none; margin: -1.25rem -1.25rem 1rem; aspect-ratio: 16 / 9; object-fit: cover; }
.k-tile h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.k-tile p { margin: 0; color: var(--muted); }
@media (max-width: 599.98px) {
  .k-tile { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .k-tile .k-tile-icon { grid-row: span 2; margin: 0; }
  .k-tile-img { grid-column: 1 / -1; }
}

/* price table */
.k-table-wrap { overflow-x: auto; }
.k-table { width: 100%; border-collapse: collapse; }
.k-table thead th { padding: .6rem .75rem; border-bottom: 3px solid var(--ground); text-align: left; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k-table tbody th, .k-table tbody td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 600; }
.k-table .k-num { text-align: right; white-space: nowrap; font-weight: 800; }
.k-note { display: block; margin-top: .15rem; font-weight: 400; font-size: .9rem; color: var(--muted); }
.k-table .k-group th { padding: .55rem .75rem; background: var(--ground); color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.k-table .k-hl th, .k-table .k-hl td { background: color-mix(in srgb, var(--accent) 24%, #fff); }
.k-table .k-hl th { box-shadow: inset 6px 0 var(--accent); }
.k-table .k-hl td { font-size: 1.2rem; }
@media (max-width: 599.98px) { .k-table thead th, .k-table tbody th, .k-table tbody td { padding-left: .5rem; padding-right: .5rem; } }

/* the story: a dark band, the photo beside the text */
.k-story { background: var(--ground); color: var(--on-dark); }
.k-story h2 { color: #fff; }
.k-story p { color: #dcdfe3; }
.k-story .k-lead { color: var(--on-dark-muted); }
.k-split { display: grid; gap: 2rem; align-items: center; }
.k-split-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.k-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1rem 1.5rem; margin: 1.75rem 0 0; }
.k-facts div { display: flex; flex-direction: column-reverse; border-top: 3px solid var(--accent); padding-top: .6rem; }
.k-facts dt { color: var(--on-dark-muted); font-size: .9rem; }
.k-facts dd { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
@media (min-width: 800px) { .k-split { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* steps and photos */
.k-step-list { list-style: none; padding: 0; counter-reset: k-step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.k-step-list li { counter-increment: k-step; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem; }
.k-step-list li::before { content: counter(k-step, decimal-leading-zero); display: inline-block; margin-bottom: .75rem; padding-bottom: .2rem; border-bottom: 4px solid var(--accent); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--ground); }
.k-step-list h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.k-step-list p { margin: 0; color: var(--muted); }
.k-step-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; margin-bottom: .9rem; }
.k-photos { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.k-photos figure { margin: 0; }
.k-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.k-photos figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.k-faq .faq { max-width: 52rem; }

/* contact: the second dark band */
.k-contact { background: var(--ground); color: var(--on-dark); padding: 3.5rem 0; }
.k-contact h2 { color: #fff; font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.3rem); }
.k-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.k-company { margin: 0 0 .75rem; color: #fff; font-size: 1.35rem; font-weight: 800; }
.k-contact .contact-list { font-size: 1.15rem; font-weight: 700; }
.k-contact .contact-list .label { font-weight: 400; }
.k-person { margin: 0; }
.k-contact a { color: var(--accent); }
.k-contact .contact-list .label, .k-contact .note { color: var(--on-dark-muted); }
.k-contact .hours th, .k-contact .hours td { border-bottom-color: var(--on-dark-line); }
.k-hours { margin-top: 1.75rem; }
.k-hours h3 { font-size: 1.15rem; color: #fff; }
.k-contact .contact-form:not(.demo-form) { --focus: var(--ground); background: #fff; color: var(--ink); border-radius: 4px; padding: 1.5rem; }
.k-contact .contact-form:not(.demo-form) a { color: var(--ink); }
.k-contact .demo-form { align-self: start; background: var(--ground-2); border: 2px dashed rgba(255, 255, 255, .3); color: var(--on-dark); }
.k-contact .demo-form p { color: var(--on-dark-muted); }
@media (min-width: 800px) { .k-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }

/* footer and the call bar of phones */
.k-foot { background: var(--ground-3); color: var(--on-dark-muted); padding: 1.4rem 0; font-size: .9rem; }
.k-foot p { margin: 0; }
.k-foot a { color: #fff; }
.k-callbar { display: none; }
@media (max-width: 899.98px) {
  body.k-has-call { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .k-nav { width: 100%; gap: .4rem; }
  .k-nav a { padding: .25rem .7rem; border: 1px solid var(--on-dark-line); border-radius: 999px; font-size: .875rem; }
  .k-nav a:hover { border-color: var(--accent); }
  .k-callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--on-dark-line); }
  .k-callbar a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1rem; border-radius: 4px; background: var(--accent); color: var(--ground); font-weight: 800; font-size: clamp(.95rem, 4.6vw, 1.1rem); white-space: nowrap; text-decoration: none; }
  .k-callbar .icon { width: 1.3rem; height: 1.3rem; }
}
