/* ==========================================================================
   Kfz-Meisterbetrieb Bischofberger & Pacher
   Schriften lokal eingebunden - es werden keine externen Ressourcen geladen.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- Grundlagen */

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #f1efea;
  --ink: #1f2933;
  --ink-soft: #46545f;
  --muted: #6b7885;
  --line: #e4e1da;
  --accent: #1f6feb;
  --accent-dark: #1a58bd;
  --accent-soft: #eaf1fe;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(31, 41, 51, .05), 0 2px 8px rgba(31, 41, 51, .04);
  --shadow: 0 2px 4px rgba(31, 41, 51, .04), 0 12px 32px rgba(31, 41, 51, .07);
  --shadow-lg: 0 4px 8px rgba(31, 41, 51, .05), 0 24px 60px rgba(31, 41, 51, .11);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .6em;
  line-height: 1.22;
  letter-spacing: -.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 6.2vw, 4.15rem); line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.7rem); line-height: 1.18; }
h3 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--ink);
  color: #fff;
}

/* ------------------------------------------------------------------ Layout */

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head p {
  color: var(--muted);
  font-size: 1.09rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease,
    border-color .16s ease, color .16s ease;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bd: var(--ink);
  background: var(--surface);
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
}

.btn--accent:hover {
  --btn-bg: var(--accent-dark);
  --btn-bd: var(--accent-dark);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}

.btn--sm {
  padding: .6rem 1.1rem;
  font-size: .94rem;
}

.btn__icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Auf schmalen Displays sind zwei unterschiedlich breite Buttons unruhig. */
@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ------------------------------------------------------------------- Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 41, 51, .05);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 140px;
  color: var(--ink);
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.14;
}

.brand__name {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
}

.brand__sub {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav a {
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.nav a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.header__cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  margin-inline: auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.nav-toggle__close { display: none; }

.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; order: 3; }

  .nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav[hidden] { display: none; }

  .nav a {
    padding: .85rem .25rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav a:last-child { border-bottom: 0; }

  .header__cta { display: none; }
  .brand__mark { width: 118px; }
}

@media (max-width: 420px) {
  .brand__name { font-size: .95rem; }
  .brand__mark { width: 92px; }
}

/* --------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: clamp(2.75rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% 20% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, rgba(31, 111, 235, .09), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 62rem;
  margin-inline: auto;
}

.hero h1 { margin-bottom: .35em; }

.hero__lead {
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero .btn-row { justify-content: center; }

.hero__media {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-alt);
  aspect-ratio: 16 / 8;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Auf schmalen Displays wird das Panoramaformat zu flach, um das Fahrzeug zu
   erkennen. Etwas mehr Hoehe kostet nur wenig Bildbreite. */
@media (max-width: 700px) {
  .hero__media { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------- Trust-Bar */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.3rem 1.35rem;
  background: var(--surface);
}

.trust__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__item b {
  display: block;
  margin-bottom: .2rem;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.trust__item span {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- Karten */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 1.15rem;
  list-style: none;
}

/*
  Ab drei Spalten wird ein Sechser-Raster verwendet, in dem jede Karte zwei
  Spalten belegt. Nur so lässt sich eine unvollständige letzte Reihe mittig
  ausrichten, ohne die Kartenbreite zu verändern.
*/
@media (min-width: 61rem) {
  .cards { grid-template-columns: repeat(6, 1fr); }

  .card { grid-column: span 2; }

  .card:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
  .card:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
}

.card {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d3cfc6;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  background: var(--accent-soft);
  border-radius: 12px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { margin-bottom: .45em; }

.card p {
  margin: 0;
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------- Vorteile */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.feature__num {
  display: block;
  margin-bottom: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}

.feature h3 { margin-bottom: .4em; }

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: .99rem;
}

/* -------------------------------------------------------------- Split-Block */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-alt);
  aspect-ratio: 4 / 3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checklist {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: .7rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: 1.01rem;
}

.checklist svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: .18em;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

/* ------------------------------------------------------------------ Anfahrt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.panel + .panel { margin-top: 1.15rem; }

.panel h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}

.panel h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.hours th,
.hours td {
  padding: .6rem 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours th { color: var(--ink-soft); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours .is-closed td { color: var(--muted); font-weight: 500; }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--accent); font-weight: 700; }

.info-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}

.info-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: .22em;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-list b {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}

.info-list a { font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-list address { font-style: normal; font-weight: 600; }

/* ------------------------------------------------------- Karte (2-Klick) */

.map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  min-height: 430px;
  height: 100%;
  display: grid;
}

.map__consent {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: .35rem;
  padding: 2.5rem 1.75rem;
  background:
    linear-gradient(rgba(247, 246, 243, .86), rgba(247, 246, 243, .86)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 46px);
}

.map__consent svg.map__pin {
  width: 34px;
  height: 34px;
  margin-bottom: .5rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map__consent h3 { margin-bottom: .2em; }

.map__consent p {
  max-width: 34rem;
  margin-bottom: 1.15rem;
  font-size: .95rem;
  color: var(--muted);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

.map--loaded { grid-template-rows: 1fr auto; }

.map__revoke {
  padding: .55rem .85rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: right;
}

.map__revoke-btn {
  padding: .3rem .4rem;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.map__revoke-btn:hover { color: var(--ink); }

/* --------------------------------------------------------------- CTA-Band */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta::after {
  content: '';
  position: absolute;
  inset: auto -10% -70% 30%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(31, 111, 235, .45), transparent);
  pointer-events: none;
}

.cta > * { position: relative; }

.cta h2 { margin-bottom: .4em; }

.cta p {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.9rem;
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
}

.cta .btn-row { justify-content: center; }

.cta .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .32);
}

.cta .btn--ghost:hover {
  --btn-bd: #fff;
  background: rgba(255, 255, 255, .08);
}

/* ----------------------------------------------------------------- Footer */

.footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
  font-size: .96rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer h4 {
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }

/* Touch-Ziele im Footer auf Mobilgeraeten vergroessern. */
@media (max-width: 700px) {
  .footer ul { gap: .1rem; }
  .footer ul a { display: inline-block; padding-block: .45rem; }
}

.footer__brand .brand { margin-bottom: 1rem; }

.footer__brand p {
  color: var(--muted);
  max-width: 26rem;
  font-size: .95rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

/* -------------------------------------------------- Mobile Aktionsleiste */

.actionbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.actionbar .btn { flex: 1; padding-block: .8rem; }
.actionbar .btn:hover { transform: none; }

@media (max-width: 700px) {
  .actionbar { display: flex; }
  body { padding-bottom: 4.75rem; }
}

/* ------------------------------------------------------------ Rechtstexte */

.legal {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.legal__inner {
  max-width: 46rem;
  margin-inline: auto;
}

.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5em; }

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.5em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal h3 { margin-top: 2em; font-size: 1.1rem; }
.legal h2 + h3 { margin-top: 1.2em; }

.legal p,
.legal li { color: var(--ink-soft); }

.legal ul,
.legal ol {
  margin: 0 0 1.1em;
  padding-left: 1.35rem;
  display: grid;
  gap: .4rem;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }

.legal address {
  margin-bottom: 1.1rem;
  font-style: normal;
  line-height: 1.75;
}

.legal .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal__updated {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}

.todo {
  display: inline-block;
  padding: .1rem .5rem;
  border-radius: 6px;
  background: #fff4d6;
  border: 1px dashed #d9a520;
  color: #8a5d00;
  font-size: .92em;
  font-weight: 600;
}

.notice {
  margin: 1.5rem 0;
  padding: 1.1rem 1.35rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: .97rem;
}

.notice p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- Animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1),
    transform .6s cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Print */

@media print {
  .header, .actionbar, .cta, .map, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
}
