/* ============================================================
   Als Mobile Mechanics — warm earth editorial
   ============================================================ */

:root {
  --bg:        #f5efe4;
  --bg-deep:   #ece3d3;
  --surface:   #fbf7ef;
  --ink:       #2b1e14;
  --ink-soft:  #5b4a3a;
  --ink-faint: #8a7767;
  --accent:    #c25a37;
  --accent-dk: #a4462a;
  --secondary: #6a7a4a;
  --line:      rgba(43, 30, 20, 0.16);
  --line-soft: rgba(43, 30, 20, 0.09);
  --shadow:    0 1px 2px rgba(43,30,20,.05), 0 12px 34px -18px rgba(43,30,20,.35);

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #17110c;
    --bg-deep:   #100b07;
    --surface:   #201812;
    --ink:       #f2e8da;
    --ink-soft:  #cbbaa6;
    --ink-faint: #9a8874;
    --accent:    #e07a52;
    --accent-dk: #f0906a;
    --secondary: #9aab74;
    --line:      rgba(242, 232, 218, 0.20);
    --line-soft: rgba(242, 232, 218, 0.10);
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 14px 40px -20px rgba(0,0,0,.8);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }
button, summary { font: inherit; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* ---------- animated noise field ---------- */
.noise-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.grain {
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  opacity: .30;
  filter: url(#grain);
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .grain { opacity: .22; mix-blend-mode: screen; }
}
main, .topbar, .site-footer { position: relative; z-index: 1; }

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 60;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .9rem;
}
.eyebrow--light { color: #d9c9a8; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: .7rem 1.1rem; z-index: 99; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------- focus ---------- */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: 0 0 40px;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.topnav { display: none; margin-left: auto; gap: 1.5rem; }
.topnav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  padding: .5rem 0;
}
.topnav a:hover { color: var(--accent); }

.call-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  padding: .55rem 1rem;
  background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 600; font-size: .92rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.call-btn:hover { background: var(--accent-dk); color: #fff; }
.call-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffe6d8;
  box-shadow: 0 0 0 0 rgba(255,230,216,.8);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,230,216,.75); }
  70%  { box-shadow: 0 0 0 9px rgba(255,230,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,230,216,0); }
}

@media (min-width: 900px) {
  .topnav { display: flex; margin-left: auto; }
  .call-btn { margin-left: 1.5rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dk); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--wide { width: 100%; margin-top: 1.4rem; }
.btn--big { font-size: 1.15rem; padding: 1rem 2.2rem; min-height: 56px; }

/* ============================================================
   HERO — diagonal split
   ============================================================ */
.hero { position: relative; }
.hero-split { display: grid; grid-template-columns: 1fr; }

.hero-pane { position: relative; }
.hero-pane--paper { background: var(--bg); padding: clamp(2.5rem, 8vw, 5.5rem) var(--pad) clamp(3.5rem, 9vw, 6rem); }
.hero-pane--ink {
  background: var(--ink);
  padding: 0 var(--pad) clamp(2.5rem, 7vw, 4rem);
  margin-top: -1px;
}

.hero-inner { max-width: 34rem; margin-inline: auto; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .mark {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }

.hero-facts {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero-facts dt {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin-bottom: .25rem;
}
.hero-facts dd { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; }

.hero-figure { max-width: 34rem; margin-inline: auto; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid rgba(245,239,228,.18);
}
.hero-figure figcaption {
  color: #c9b79f; font-size: .8rem; margin-top: .7rem;
  font-style: italic;
}

@media (min-width: 880px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
    min-height: min(88vh, 780px);
  }
  .hero-pane--paper {
    display: flex; align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-pane--ink {
    margin-top: 0;
    display: flex; align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -7%;
  }
  .hero-inner { margin-inline: 0; }
  .hero-figure { margin-inline: 0; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-note { color: var(--ink-soft); max-width: 56ch; }

/* ============================================================
   INDEX — expandable entries
   ============================================================ */
.index { border-top: 1px solid var(--line); }

.entry { border-bottom: 1px solid var(--line); }

.entry > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: .9rem 1.1rem;
  padding: 1.35rem .35rem;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  transition: background-color .2s ease, padding-left .2s ease;
}
.entry > summary::-webkit-details-marker { display: none; }
.entry > summary:hover { background: var(--bg-deep); padding-left: .8rem; }
.entry > summary:focus-visible { outline-offset: -2px; }

.entry-num {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  padding-top: .25rem;
}
.entry-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  position: relative;
}
.entry-title::after {
  content: "";
  display: inline-block;
  width: .5em; height: .5em;
  margin-left: .7em;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-.15em);
  transition: transform .25s ease;
}
.entry[open] > summary .entry-title::after { transform: rotate(-135deg) translateY(-.1em); }

.entry-tag {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--secondary);
  border: 1px solid var(--line);
  padding: .25rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
@media (max-width: 560px) {
  .entry > summary { grid-template-columns: auto 1fr; }
  .entry-tag { grid-column: 2; justify-self: start; margin-top: .35rem; }
}

.entry-body {
  padding: 0 .35rem 1.9rem 2.6rem;
  max-width: 62ch;
  color: var(--ink-soft);
}
@media (max-width: 560px) { .entry-body { padding-left: .35rem; } }
.entry-body p { margin-bottom: 1rem; }
.entry-body p:last-child { margin-bottom: 0; }
.entry-list { margin: 1.1rem 0 1.2rem; display: grid; gap: .5rem; }
.entry-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .98rem;
}
.entry-list li::before {
  content: "";
  position: absolute; left: 0; top: .68em;
  width: .55rem; height: 1.5px;
  background: var(--accent);
}
.entry-note {
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--secondary);
  padding-left: .9rem;
}

/* ============================================================
   PROCESS — diagonal band
   ============================================================ */
.process { padding-block: 0; background: var(--bg); }
.process-split { display: grid; grid-template-columns: 1fr; }

.process-pane--ink {
  background: var(--ink); color: var(--bg);
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad);
}
.process-pane--paper { background: var(--bg-deep); padding: 0 var(--pad) clamp(2.5rem, 7vw, 4rem); }

.process-inner { max-width: 34rem; margin-inline: auto; }
.process-pane--ink h2 { color: var(--bg); margin-bottom: 2.2rem; }

.steps { display: grid; gap: 1.9rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.step-num {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding-top: .15rem;
  min-width: 1.4rem;
}
.steps h3 { color: var(--bg); margin-bottom: .4rem; font-size: 1.12rem; }
.steps p { color: #c9b79f; font-size: .97rem; }

.process-figure { max-width: 34rem; margin-inline: auto; }
.process-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.process-figure figcaption {
  font-size: .8rem; font-style: italic; color: var(--ink-faint); margin-top: .7rem;
}

@media (min-width: 880px) {
  .process-split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .process-pane--ink {
    padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4.5rem);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .process-pane--paper {
    display: flex; align-items: center;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4.5rem);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
    margin-left: -6%;
  }
  .process-inner, .process-figure { margin-inline: 0; }
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.area-col h3 {
  font-size: 1.05rem;
  padding-bottom: .7rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.area-col li {
  font-size: .96rem;
  color: var(--ink-soft);
  padding: .3rem 0;
}
.area-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.area-figure figcaption {
  font-size: .8rem; font-style: italic; color: var(--ink-faint); margin-top: .7rem;
}

/* ============================================================
   HOURS
   ============================================================ */
.hours { background: var(--bg-deep); }
.hours-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  align-items: start;
}
.hours-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.hours-card h3 { margin-bottom: 1.3rem; font-size: 1.2rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 400;
  font-size: .97rem;
}
.hours-table th { color: var(--ink-soft); font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-short td { color: var(--accent); font-weight: 600; }
.hours-note { margin-top: 1.3rem; font-size: .9rem; color: var(--ink-faint); font-style: italic; }

.hours-card--accent { border-top: 3px solid var(--accent); }
.contact-lead { color: var(--ink-soft); margin-bottom: 1.4rem; }
.contact-phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--accent);
  margin-bottom: 1.6rem;
  line-height: 1.1;
}
.contact-phone:hover { color: var(--accent-dk); }
.contact-address {
  font-style: normal;
  color: var(--ink-soft);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
}
.contact-label {
  display: block;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin-bottom: .4rem;
}
.contact-note { margin-top: 1.1rem; font-size: .88rem; color: var(--ink-faint); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-body { max-width: 62ch; }
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about-body p + p { margin-top: 1.2rem; color: var(--ink-soft); }

.about-strip {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.about-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-strip figcaption {
  font-size: .78rem; font-style: italic; color: var(--ink-faint); margin-top: .6rem;
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.closing-inner { max-width: 44rem; }
.closing h2 { color: var(--bg); margin-bottom: 1.2rem; }
.closing p { color: #c9b79f; margin-bottom: 2rem; }
.closing .btn--solid { margin-bottom: 1.6rem; }
.closing-note { font-size: .85rem; color: #9a8874; margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.footer-inner {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: .6rem;
}
.footer-head {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin-bottom: .6rem;
}
.footer-col p { font-size: .93rem; color: var(--ink-soft); }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between;
}
.claim-banner {
  display: inline-block;
  font-size: .78rem;
  color: var(--ink-soft);
  text-decoration: none;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid var(--line-soft);
  padding: .4rem .75rem;
  border-radius: var(--radius);
}
.claim-banner:hover { color: var(--accent); border-color: var(--line); }
.muted { font-size: .78rem; color: var(--ink-faint); }
.muted a { color: var(--ink-faint); }

/* ============================================================
   MOTION — staggered line reveal (CSS scroll-driven)
   ============================================================ */
@keyframes riseIn {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: 0 0; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head > *,
    .hero-inner > *,
    .entry,
    .area-col,
    .hours-card,
    .about-body > *,
    .about-strip > figure,
    .steps > li,
    .closing-inner > * {
      animation: riseIn linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 38%;
    }
    .entry:nth-child(2n)   { animation-range: entry 0% cover 42%; }
    .entry:nth-child(3n)   { animation-range: entry 2% cover 46%; }
    .steps > li:nth-child(2) { animation-range: entry 0% cover 42%; }
    .steps > li:nth-child(3) { animation-range: entry 2% cover 46%; }
    .steps > li:nth-child(4) { animation-range: entry 4% cover 50%; }
    .about-strip > figure:nth-child(2) { animation-range: entry 0% cover 42%; }
    .about-strip > figure:nth-child(3) { animation-range: entry 2% cover 46%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .call-dot { animation: none; }
  .grain { opacity: .18; }
}

/* ---------- print ---------- */
@media print {
  .grain, .topbar, .call-btn, .hero-actions, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
