@font-face {
  font-family: Inter;
  src: url("/demos/kfz/assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #ffffff;
  --surface: #f4f5f6;
  --ink: #181a1d;
  --red: #c81e2b;
  --red-dark: #a41622;
  --soft-red: #fbecee;
  --muted: #53585f;
  --line: #dfe2e5;
  --radius: 8px;
  font-family: Inter, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.1rem; letter-spacing: -.025em; }
p, address { color: var(--muted); }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { flex: none; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #245eb0; outline-offset: 4px; }
:target { scroll-margin-block-start: 1.25rem; }

.wrap { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-muted { background: var(--surface); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--ink);
}

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .72rem; }
.brand-mark { width: 42px; flex: none; }
.brand strong, .brand small { display: block; line-height: 1.03; }
.brand strong { font-size: 1.5rem; font-weight: 860; letter-spacing: -.055em; }
.brand small { margin-top: .2rem; color: var(--muted); font-size: .66rem; font-weight: 650; white-space: nowrap; }
.header-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 2.5vw, 2.2rem); }
.header-inner nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 650;
}
.header-inner nav a { position: relative; padding-block: .65rem; }
.header-inner nav a[aria-current="page"] { color: var(--red); }
.header-inner nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 .25rem;
  height: 2px;
  background: var(--red);
}
.header-inner nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-cta { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .65rem 1.05rem;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  font-size: .875rem;
  font-weight: 740;
  text-align: center;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button svg, .text-link svg, .crumb svg, .site-footer nav svg { width: 1.1rem; height: 1.1rem; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--red); background: var(--soft-red); color: var(--red-dark); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero { position: relative; display: grid; background: var(--ink); color: var(--white); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(26rem, 37vw, 34rem); }
.hero-copy { width: 52%; padding-block: 3.7rem; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 49%; height: 100%; object-fit: cover; object-position: 56% 40%; }
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.05rem;
  color: #f1f2f3;
  font-size: .72rem;
  font-weight: 740;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: block; flex: 0 0 1.65rem; height: 3px; background: #ee4754; }
.hero h1 { font-size: clamp(2.35rem, 4.75vw, 4.3rem); font-weight: 830; letter-spacing: -.065em; line-height: 1.02; }
.hero-description { max-width: 28rem; margin: 1.35rem 0 1.85rem; color: #d5d7da; font-size: clamp(1rem, 1.35vw, 1.12rem); }
.hero .button-outline { color: var(--white); border-color: #787b80; }
.hero .button-outline:hover { background: #303337; border-color: #b4b7bb; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #9bc5ff; }

.trust-bar { border-bottom: 1px solid var(--line); }
.trust-list {
  --icon-bg: var(--white);
  padding: .98rem 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.1rem;
  padding: .25rem .5rem;
  font-size: .875rem;
  font-weight: 710;
}
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list svg { width: 1.3rem; height: 1.3rem; color: var(--red); }

.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .75rem 1.25rem; margin-bottom: 1.6rem; }
.section-heading p { margin-top: .5rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--red-dark); font-size: .9rem; font-weight: 730; }
.text-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.service-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.service-card:hover { border-color: var(--red); }
.service-card h3 { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: .85rem 0 .4rem; }
.service-card h3 svg { width: 1.05rem; height: 1.05rem; color: var(--red); }
.service-card p { max-width: 33ch; font-size: .9rem; }
.icon-box {
  --icon-bg: var(--soft-red);
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 5px;
  background: var(--icon-bg);
  color: var(--red);
}
.icon-box svg { width: 1.25rem; height: 1.25rem; }

.process-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.steps { display: grid; gap: 1.25rem; padding-inline-start: 1.75rem; margin-top: 1.7rem; }
.steps li { padding-inline-start: .4rem; }
.steps li::marker { color: var(--red); font-weight: 800; }
.steps p { margin-top: .25rem; }
.hours-box, .contact-panel { padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hours-box h2 { margin-top: .65rem; font-size: 1.4rem; letter-spacing: -.035em; }
.hours-list { margin-block: .6rem 0; font-size: .9rem; }
.hours-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .65rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.hours-list dt { color: var(--muted); }
.hours-list dd { font-weight: 700; }
.address-line { display: flex; align-items: center; gap: .45rem; margin: .9rem 0; font-size: .9rem; }
.address-line svg { width: 1rem; height: 1rem; color: var(--red); }

.page-intro { padding-block: clamp(1.8rem, 5vw, 4rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.crumb { display: inline-flex; align-items: center; gap: .3rem; margin-bottom: .7rem; font-weight: 700; font-size: .84rem; color: var(--red-dark); }
.crumb:hover { text-decoration: underline; text-underline-offset: .2em; }
.page-intro h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.066em; font-weight: 830; }
.page-intro p { max-width: 62ch; margin-top: .7rem; font-size: 1.05rem; }
.details-layout { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.6fr); gap: clamp(1.2rem, 5vw, 3.8rem); align-items: start; }
.anchor-nav { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.anchor-nav h2 { padding: .25rem .35rem .6rem; font-size: 1.1rem; letter-spacing: -.025em; }
.anchor-nav ul { list-style: none; padding: 0; }
.anchor-nav a { display: flex; align-items: center; gap: .45rem; padding: .6rem .35rem; border-radius: 4px; font-size: .88rem; font-weight: 650; }
.anchor-nav a:hover { background: var(--surface); color: var(--red-dark); }
.anchor-nav svg { width: 1.1rem; height: 1.1rem; color: var(--red); }
.side-photo { width: 100%; height: auto; margin-top: 1rem; border-radius: var(--radius); }
.service-details { display: grid; gap: 1rem; }
.notice { padding: .85rem 1.1rem; border-left: 3px solid var(--red); background: var(--surface); font-size: .9rem; }
.detail-card { padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-card:target { border-color: var(--red); }
.detail-heading { display: flex; align-items: center; gap: .75rem; }
.detail-card h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); letter-spacing: -.03em; }
.detail-card .price { margin: .65rem 0 .45rem; color: var(--red-dark); font-weight: 740; }
.detail-card ul { padding-inline-start: 1.2rem; margin-block: .6rem .9rem; }
.detail-card li { margin-block: .2rem; }
.detail-card li::marker { color: var(--red); }

.booking-panel { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); }
.booking-panel > p { margin: .65rem 0 1.15rem; }
.booking-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.field-grid label { display: block; min-width: 0; font-size: .9rem; font-weight: 690; }
.field-wide { grid-column: 1 / -1; }
.field-grid input, .field-grid select, .field-grid textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  margin-top: .32rem;
  padding: .55rem .65rem;
  border: 1px solid #a5abb2;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
.field-grid textarea { resize: vertical; }
.field-hint { display: inline-block; margin-top: .2rem; color: var(--muted); font-size: .78rem; font-weight: 450; }
.booking-form .button { margin-top: 1.15rem; }
.booking-form :disabled { opacity: .65; cursor: default; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .75rem 1rem; border: 1px solid #8cb99e; border-radius: 5px; background: #ecf7ef; color: #165431; }
.contact-item { display: flex; align-items: flex-start; gap: .85rem; }
.contact-item > div { flex: 1; min-width: 0; }
.contact-item + .contact-item { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contact-item h2 { margin: .2rem 0 .45rem; font-size: 1.2rem; letter-spacing: -.025em; }
.contact-item .button { margin-top: .65rem; }
.contact-number { font-weight: 740; color: var(--ink); }
.contact-number span { color: var(--muted); font-size: .8rem; font-weight: 500; }

.legal-content { max-width: 50rem; overflow-wrap: anywhere; }
.legal-content section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: .6rem; font-size: 1.4rem; letter-spacing: -.025em; }
.legal-content .text-link { margin-top: .5rem; }
.legal-list dt { margin-top: .65rem; font-weight: 720; }
.legal-list dd { color: var(--muted); }

.call-dialog { width: min(26rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.call-dialog::backdrop { background: rgb(24 26 29 / 74%); }
.call-dialog h2 { margin: .7rem 0; font-size: 1.6rem; }
.call-number { margin-bottom: .4rem; color: var(--ink); font-size: 1.3rem; font-weight: 760; }
.call-dialog form { margin-top: 1.1rem; }

.site-footer { padding-block: 1.65rem; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .9rem 1.5rem; }
.site-footer p { margin-top: .25rem; color: #ced0d3; font-size: .83rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-image { width: 46%; }
  .hero-copy { width: 54%; }
}
@media (max-width: 48rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .2rem .7rem; padding-block: .65rem 0; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; }
  .header-inner nav a { min-height: 2.7rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding-block: 2.6rem 2.25rem; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 3.5rem); }
  .hero-image { position: static; width: 100%; height: clamp(13.5rem, 55vw, 19rem); }
  .trust-list { grid-template-columns: repeat(2, 1fr); padding-block: .4rem; }
  .trust-list li { justify-content: flex-start; padding: .5rem .35rem; font-size: .76rem; }
  .trust-list li:nth-child(odd) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process-layout, .details-layout { grid-template-columns: 1fr; }
  .anchor-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-photo { max-height: 15rem; object-fit: cover; }
}
@media (max-width: 28rem) {
  .brand { gap: .42rem; }
  .brand-mark { width: 34px; }
  .brand-mark img { height: auto; }
  .brand strong { font-size: 1.3rem; }
  .brand small { font-size: .6rem; }
  .header-cta { min-height: 2.65rem; padding-inline: .55rem; font-size: .78rem; }
  .header-cta svg { display: none; }
  .header-inner nav a { font-size: .82rem; }
  .cards, .field-grid { grid-template-columns: 1fr; }
}
@media (max-width: 22rem) {
  .anchor-nav ul { grid-template-columns: 1fr; }
}
