/* BWS Schlüsseldienst – styles.css
   Concept "Haustür bei Nacht": RAL 6005 moss green + brass fittings, key-bitting edges, engraved line art.
   Mobile-first. No external requests. Tokens first, then base, layout, components, page chrome. */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: "BWS Serif";
  src: url("../fonts/bws-serif-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback (Times New Roman / Liberation Serif scaled to BWS Serif) – limits reflow on swap */
@font-face {
  font-family: "BWS Serif Fallback";
  src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"), local("LiberationSerif-Bold"), local("Tinos Bold");
  font-weight: 600;
  size-adjust: 112%;
  ascent-override: 89.8%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --moss-950: #0A2A23;
  --moss-900: #0F3A30;   /* RAL 6005 Moosgrün at night: header, hero, CTA */
  --moss-800: #164A3D;
  --moss-700: #1C5C4B;   /* links on light */
  --moss-600: #2A7461;
  --moss-300: #9FBFB2;
  --moss-200: #C5D8CF;
  --moss-100: #E3ECE7;
  --moss-50:  #F2F6F3;   /* block--tint */
  --brass-500: #E2B046;  /* call action, key, highlights (fill only on light backgrounds) */
  --brass-400: #EDC468;
  --brass-300: #F2D48E;  /* brass text on dark */
  --brass-700: #8A5E0C;  /* brass text on light */
  --brass-100: #FBF1D8;
  --manila: #F5E6BF;     /* key tags */
  --manila-600: #EED596;
  --ink: #14211C;
  --ink-2: #45534D;
  --line: #D3DDD8;
  --paper: #FFFFFF;
  --red-700: #A3241B;
  --red-50: #FCEEEC;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --font-serif: "BWS Serif", "BWS Serif Fallback", Georgia, "Times New Roman", serif;

  --gutter: 1rem;
  --wrap: 74rem;
  --block-y: 3.5rem;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-btn: 12px;
  --bar-h: 4.5rem;
  --focus: var(--moss-900);

  /* key-bitting edge (tile 240 x 18): hero bottom, CTA/footer top */
  --cut-w: 240px;
  --cut-h: 18px;
  --cut-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0L240 0L240 18L229.5 18L221.5 10L218.5 10L210.5 18L195.5 18L181.5 4L178.5 4L164.5 18L152.5 18L141.5 7L138.5 7L127.5 18L106.5 18L101.5 13L98.5 13L93.5 18L75.5 18L61.5 4L58.5 4L44.5 18L29.5 18L21.5 10L18.5 10L10.5 18L0 18Z'/%3E%3C/svg%3E");
  --cut-down-rim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M0 15.5L10.5 15.5L18.5 7.5L21.5 7.5L29.5 15.5L44.5 15.5L58.5 1.5L61.5 1.5L75.5 15.5L93.5 15.5L98.5 10.5L101.5 10.5L106.5 15.5L127.5 15.5L138.5 4.5L141.5 4.5L152.5 15.5L164.5 15.5L178.5 1.5L181.5 1.5L195.5 15.5L210.5 15.5L218.5 7.5L221.5 7.5L229.5 15.5L240 15.5L240 18L0 18Z'/%3E%3C/svg%3E");
  --cut-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M0 18L240 18L240 0L229.5 0L221.5 8L218.5 8L210.5 0L195.5 0L181.5 14L178.5 14L164.5 0L152.5 0L141.5 11L138.5 11L127.5 0L106.5 0L101.5 5L98.5 5L93.5 0L75.5 0L61.5 14L58.5 14L44.5 0L29.5 0L21.5 8L18.5 8L10.5 0L0 0Z'/%3E%3C/svg%3E");
  --cut-up-rim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M0 2.5L10.5 2.5L18.5 10.5L21.5 10.5L29.5 2.5L44.5 2.5L58.5 16.5L61.5 16.5L75.5 2.5L93.5 2.5L98.5 7.5L101.5 7.5L106.5 2.5L127.5 2.5L138.5 13.5L141.5 13.5L152.5 2.5L164.5 2.5L178.5 16.5L181.5 16.5L195.5 2.5L210.5 2.5L218.5 10.5L221.5 10.5L229.5 2.5L240 2.5L240 0L0 0Z'/%3E%3C/svg%3E");

  /* small glyphs used as CSS masks */
  --g-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.8l4.4 4.4L19 7.4'/%3E%3C/svg%3E");
  --g-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.1 2.6 17.6a2 2 0 0 0 1.7 3h15.4a2 2 0 0 0 1.7-3L13.7 4.1a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.4v4.6M12 17.2v.01'/%3E%3C/svg%3E");
  --g-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Cpath d='M12 11v5.2M12 7.8v.01'/%3E%3C/svg%3E");
  --g-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.2 17.5h5.6M10.2 20.8h3.6'/%3E%3Cpath d='M12 3.2a6 6 0 0 0-3.6 10.8c.7.5 1 1.2 1 2v.5h5.2V16c0-.8.3-1.5 1-2A6 6 0 0 0 12 3.2z'/%3E%3C/svg%3E");
  --g-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
  --g-plus-moss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3A30' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
  --g-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.2s-6.6-5.6-6.6-11.1a6.6 6.6 0 0 1 13.2 0c0 5.5-6.6 11.1-6.6 11.1z'/%3E%3Ccircle cx='12' cy='10.1' r='2.4'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: inherit; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.16; letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
a { color: var(--moss-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--moss-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--brass-300); color: var(--ink); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; display: inline-block; vertical-align: middle; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* dark surfaces share one set of overrides */
.site-header, .hero, .block--dark, .cta-band, .site-footer, .action-bar {
  --focus: var(--brass-300);
}

.skip-link {
  position: absolute; left: 0.75rem; top: -10rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius-m);
  background: var(--brass-500); color: var(--moss-950); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--moss-900);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-right: auto;
  border-radius: var(--radius-m);
}
.brand img { width: auto; height: 2.5rem; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-call, .header-wa, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.625rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-call { background: var(--brass-500); color: var(--moss-950); }
.header-call:hover { background: var(--brass-400); color: var(--moss-950); }
.header-call__num { display: none; font-variant-numeric: tabular-nums; }
.header-wa { display: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.header-wa:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.header-wa__label { display: none; }
.menu-toggle {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 0 0.75rem;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.menu-toggle .icon { width: 1.375rem; height: 1.375rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }
.no-js .menu-toggle { display: none; }

/* navigation: desktop row; below 1080px a panel (with JS) or a wrapped row (without JS) */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--moss-100);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brass-400); text-decoration-thickness: 2px; }
.nav-list a[aria-current] { color: var(--brass-300); }
.nav-contact { display: none; }

@media (max-width: 1079.98px) {
  .site-nav { flex-basis: 100%; order: 3; }
  .no-js .nav-list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding-bottom: 0.5rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 4rem);
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--moss-900);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 30px rgba(5, 20, 16, 0.35), 0 0 0 100vmax rgba(5, 20, 16, 0.6);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .js .site-nav.is-open .nav-list a {
    min-height: 3.25rem;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .js .site-nav.is-open .nav-contact { display: grid; gap: 0.625rem; margin-top: 1.25rem; }
  .nav-contact .btn { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.5rem; height: 1.5rem; }
.btn__text { display: flex; flex-direction: column; }
.btn__sub { font-weight: 500; font-size: 0.875rem; opacity: 0.85; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.btn--call { background: var(--brass-500); color: var(--moss-950); box-shadow: inset 0 -3px 0 rgba(10, 42, 35, 0.18); }
.btn--call:hover { background: var(--brass-400); color: var(--moss-950); }
.btn--wa, .btn--ghost { background: transparent; color: var(--moss-700); box-shadow: inset 0 0 0 2px var(--moss-700); }
.btn--wa:hover, .btn--ghost:hover { background: var(--moss-50); color: var(--moss-900); box-shadow: inset 0 0 0 2px var(--moss-900); }
:is(.hero, .block--dark, .cta-band, .site-nav) :is(.btn--wa, .btn--ghost) { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
:is(.hero, .block--dark, .cta-band, .site-nav) :is(.btn--wa, .btn--ghost):hover { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px #fff; }
.btn--wa .icon { color: inherit; }
.actions { display: grid; gap: 0.75rem; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(60rem 26rem at 88% -6%, rgba(226, 176, 70, 0.11), transparent 60%),
    var(--moss-900);
  color: #fff;
  padding: 1.25rem 0 calc(2.75rem + var(--cut-h));
  margin-bottom: calc(-1 * var(--cut-h));
  -webkit-mask: linear-gradient(#000 0 0) top left / 100% calc(100% - var(--cut-h) + 1px) no-repeat, var(--cut-down) bottom left / var(--cut-w) var(--cut-h) repeat-x;
  mask: linear-gradient(#000 0 0) top left / 100% calc(100% - var(--cut-h) + 1px) no-repeat, var(--cut-down) bottom left / var(--cut-w) var(--cut-h) repeat-x;
}
@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .hero::after, .cta-band::before, .site-footer.has-cut::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: var(--cut-h);
    background: var(--brass-500);
    pointer-events: none;
  }
  .hero::after {
    bottom: 0;
    -webkit-mask: var(--cut-down-rim) bottom left / var(--cut-w) var(--cut-h) repeat-x;
    mask: var(--cut-down-rim) bottom left / var(--cut-w) var(--cut-h) repeat-x;
  }
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-copy { max-width: 44rem; }
.hero .eyebrow { color: var(--brass-300); }
.hero h1 {
  font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 0.75rem;
}
.hero .eyebrow + h1 { margin-top: 0.5rem; }
.hero-lead {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--moss-100);
  max-width: 38rem;
}
.hero-actions { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions .btn { width: 100%; justify-content: flex-start; padding-inline: 1.125rem; }
.hero-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--moss-100);
}
.hero-points li { display: flex; align-items: flex-start; gap: 0.5rem; }
.hero-points .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.05rem; color: var(--brass-400); }
.hero-illus { color: var(--moss-200); min-width: 0; }
.hero-illus svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.hero--art .hero-illus { max-width: 19rem; justify-self: center; width: 100%; }
.hero--map .hero-illus { max-width: 34rem; justify-self: center; width: 100%; }
.hero--compact { padding-bottom: calc(2.25rem + var(--cut-h)); }
.hero--compact h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); }

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--moss-200);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.625rem; }
.breadcrumb li + li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1.5px solid var(--moss-300);
  border-right: 1.5px solid var(--moss-300);
  transform: rotate(45deg);
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--moss-100); text-decoration-color: rgba(227, 236, 231, 0.4); }
.breadcrumb a:hover { color: #fff; text-decoration-color: currentColor; }
.breadcrumb [aria-current] { color: var(--moss-200); }

/* ---------------------------------------------------------------- blocks */
.block { padding: var(--block-y) 0; }
.block--tint { background: var(--moss-50); }
.block--dark { background: var(--moss-900); color: var(--moss-100); }
.block--dark :is(h2, h3) { color: #fff; }
.block-head { max-width: 46rem; }
.eyebrow {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--brass-700);
}
.block--dark .eyebrow { color: var(--brass-300); }
.block-head .eyebrow + h2 { margin-top: 0.5rem; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
.block-head .lead { margin-top: 1rem; }
.block--dark .lead { color: var(--moss-200); }

/* vertical rhythm inside a section */
.block > .wrap > * + * { margin-top: 1rem; }
.block > .wrap > .block-head + *,
.block > .wrap > * + :is(.cards, .steps, .split, .facts, .note, .illus, .areas, .town-grid, .table, .checklist, .table-scroll),
.block > .wrap > :is(.cards, .steps, .split, .facts, .note, .illus, .areas, .town-grid, .table, .checklist, .table-scroll) + * { margin-top: 2rem; }
.block > .wrap > * + h3 { margin-top: 2rem; }
.block > .wrap > * + h2 { margin-top: 2.75rem; }
.block > .wrap > :is(p, ul:not([class]), ol:not([class])) { max-width: 46rem; }
.block > .faq-grid > * + * { margin-top: 0; }

/* plain content inside sections */
:is(.block, .prose) :is(ul, ol):not([class]) { padding-left: 1.25rem; }
:is(.block, .prose) :is(ul, ol):not([class]) > li + li { margin-top: 0.5rem; }
:is(.block, .prose) ul:not([class]) > li::marker { color: var(--brass-700); }
.block :is(h3 + p, h3 + ul, h3 + ol, p + p) { margin-top: 0.75rem; }
.block p + :is(ul, ol), .block :is(ul, ol) + p { margin-top: 0.75rem; }
.block--dark a:not([class]) { color: var(--brass-300); }
.block--dark a:not([class]):hover { color: #fff; }

main > .hero + * { padding-top: calc(var(--block-y) + var(--cut-h)); }
main > .hero + .cta-band { margin-top: 0; }

/* ---------------------------------------------------------------- cards */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.375rem 1.375rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.block--tint .card { border-color: transparent; box-shadow: 0 1px 0 rgba(15, 58, 48, 0.06); }
.card > .icon:first-child {
  width: 3rem;
  height: 3rem;
  padding: 0.6875rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: var(--moss-900);
  color: var(--brass-400);
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-2); }
.card p + p { margin-top: 0.25rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-weight: 700;
  color: var(--moss-700);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.card-link:hover { color: var(--moss-900); text-decoration-color: var(--moss-900); }
.block--dark .card { background: var(--moss-800); border-color: rgba(255, 255, 255, 0.08); }
.block--dark .card p { color: var(--moss-200); }
.block--dark .card > .icon:first-child { background: var(--moss-950); }
.block--dark .card-link { color: var(--brass-300); }
.block--dark .card-link:hover { color: #fff; }

/* ---------------------------------------------------------------- steps (real sequences only) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.steps > li {
  counter-increment: step;
  position: relative;
  min-height: 3.25rem;
  padding: 0 0 1.75rem 4rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--moss-900);
  color: var(--brass-300);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 2.85rem;
  bottom: 0.35rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--moss-300) 0 6px, transparent 6px 11px);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { content: none; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 0.375rem; color: var(--ink-2); }
.block--dark .steps > li::before { background: var(--brass-500); color: var(--moss-950); }
.block--dark .steps p { color: var(--moss-200); }

/* ---------------------------------------------------------------- checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; max-width: 46rem; }
.checklist li { position: relative; padding-left: 2.25rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--moss-900);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.4rem;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--brass-400);
  -webkit-mask: var(--g-check) center / contain no-repeat;
  mask: var(--g-check) center / contain no-repeat;
}
.block--dark .checklist li::before { background: var(--brass-500); }
.block--dark .checklist li::after { background: var(--moss-950); }

/* ---------------------------------------------------------------- split */
.split { display: grid; gap: 2rem; }
.split > * > * + * { margin-top: 0.75rem; }
.split > * > * + :is(.checklist, .cards, .steps, .note, .facts, .table, .illus) { margin-top: 1.25rem; }

/* ---------------------------------------------------------------- note */
.note {
  position: relative;
  max-width: 46rem;
  padding: 1rem 1.125rem 1rem 3.25rem;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss-600);
}
.block--tint .note { background: var(--paper); }
.note::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--moss-600);
  -webkit-mask: var(--g-info) center / contain no-repeat;
  mask: var(--g-info) center / contain no-repeat;
}
.note > * + * { margin-top: 0.5rem; }
.note--warn { background: var(--red-50); border-color: #EFC9C3; border-left-color: var(--red-700); }
.block--tint .note--warn { background: var(--red-50); }
.note--warn::before { background: var(--red-700); -webkit-mask-image: var(--g-alert); mask-image: var(--g-alert); }
.note--warn strong { color: var(--red-700); }
.note--tip { background: var(--brass-100); border-color: #F0DDAB; border-left-color: var(--brass-500); }
.block--tint .note--tip { background: var(--brass-100); }
.note--tip::before { background: var(--brass-700); -webkit-mask-image: var(--g-bulb); mask-image: var(--g-bulb); }
.block--dark .note { color: var(--ink); }

/* ---------------------------------------------------------------- facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  border-top: 2px solid var(--moss-900);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.125rem 0;
  border-bottom: 1px solid var(--line);
}
.fact strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  line-height: 1.1;
  color: var(--moss-900);
}
.fact span { font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); }
.block--dark .facts { border-top-color: var(--brass-500); }
.block--dark .fact { border-bottom-color: rgba(255, 255, 255, 0.12); }
.block--dark .fact strong { color: #fff; }
.block--dark .fact span { color: var(--moss-200); }

/* ---------------------------------------------------------------- table (non-price info) */
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; background: var(--paper); }
.table caption { text-align: left; font-weight: 700; padding-bottom: 0.5rem; }
.table th, .table td { padding: 0.75rem 0.875rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--moss-900); color: #fff; font-weight: 700; border-bottom: 0; }
.table thead th:first-child { border-top-left-radius: var(--radius-s); }
.table thead th:last-child { border-top-right-radius: var(--radius-s); }
.table tbody th { font-weight: 700; color: var(--ink); }
.table tbody tr:nth-child(even) { background: var(--moss-50); }
.block--tint .table tbody tr:nth-child(even) { background: #F7FAF8; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- illustrations */
.illus { color: var(--moss-900); --rmap-halo: var(--paper); }
.block--tint .illus { --rmap-halo: var(--moss-50); }
.block--dark .illus { color: var(--moss-200); --rmap-halo: var(--moss-900); }
.illus svg { display: block; width: 100%; height: auto; max-width: 44rem; margin-inline: auto; }
.illus figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-2); text-align: center; }
.hero-illus { --rmap-halo: var(--moss-900); }

/* ---------------------------------------------------------------- place lists (build-injected) */
.areas { columns: 15.5rem; column-gap: 2rem; }
.area-group {
  break-inside: avoid;
  margin: 0 0 1.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--moss-900);
}
.area-group h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.625rem;
  color: var(--moss-900);
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chips li {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.35;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.block:not(.block--tint) .chips li { background: var(--moss-50); border-color: transparent; }
.block--dark .area-group { border-top-color: var(--brass-500); }
.block--dark .area-group h3 { color: #fff; }
.block--dark .chips li { background: var(--moss-800); color: var(--moss-100); border-color: transparent; }

/* place entries with postal code and short text (build-injected) */
.areas--detailed { columns: auto; }
.areas--detailed .area-group { break-inside: auto; margin: 0 0 2rem; }
.areas--detailed .area-group:last-child { margin-bottom: 0; }
.places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
}
.place {
  margin: 0;
  padding: 0.875rem 1rem 0.9375rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.block:not(.block--tint) .place { background: var(--moss-50); border-color: transparent; }
.place__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 0.75rem; margin: 0 0 0.375rem; }
.place__name { font-weight: 700; color: var(--moss-900); line-height: 1.3; }
.place__plz {
  flex: none;
  white-space: nowrap;
  padding: 0.125rem 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--brass-700);
  background: var(--brass-100);
  border-radius: var(--radius-s);
}
.place__text { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.block--dark .place { background: var(--moss-800); border-color: transparent; }
.block--dark .place__name { color: #fff; }
.block--dark .place__text { color: var(--moss-100); }

/* foldable place groups: open in the HTML, folded on phones by site.js (all text stays in the page) */
.area-fold > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.75rem;
  align-items: center;
  column-gap: 0.75rem;
  margin: 0 0 0.75rem;
  list-style: none;
  cursor: pointer;
}
.area-fold > summary::-webkit-details-marker { display: none; }
.area-fold > summary::after {
  content: "";
  grid-column: 3;
  grid-row: 1;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--moss-50) var(--g-plus-moss) center / 1rem no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--moss-700);
}
.block:not(.block--tint) .area-fold > summary::after { background-color: var(--paper); }
.area-fold[open] > summary::after { transform: rotate(45deg); }
.area-fold > summary h3 { grid-column: 1; grid-row: 1; margin: 0; }
.area-fold > summary:hover h3 { color: var(--moss-700); }
.area-fold > summary:hover::after { background-color: var(--moss-100); }
.area-fold > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--radius-s); }
.area-fold__count { grid-column: 2; grid-row: 1; font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.area-fold__names { grid-column: 1 / -1; grid-row: 2; margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.area-fold[open] .area-fold__names { display: none; }
.areas--detailed .area-fold:not([open]) { margin-bottom: 1rem; }
.areas--detailed .area-fold:not([open]) > summary { margin-bottom: 0.25rem; }

/* wide screens: each group takes as many columns as it has entries (max. 4), small groups share a row */
@media (min-width: 40em) {
  .areas--detailed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; grid-auto-flow: row dense; align-items: start; }
  .areas--detailed .area-fold { --span: 2; grid-column: span 2; min-width: 0; }
  .areas--detailed .area-fold--s1 { --span: 1; grid-column: span 1; }
  .areas--detailed .area-fold .places { grid-template-columns: repeat(var(--span), minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .areas--detailed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas--detailed .area-fold--s3, .areas--detailed .area-fold--s4 { --span: 3; grid-column: span 3; }
}
@media (min-width: 75em) {
  .areas--detailed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .areas--detailed .area-fold--s4 { --span: 4; grid-column: span 4; }
}

/* town links as manila key tags (build-injected) */
.town-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}
.town-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  min-height: 4.75rem;
  height: 100%;
  padding: 0.75rem 1rem 0.75rem 3.25rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-m);
}
.town-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--manila);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  clip-path: polygon(1.125rem 0, 100% 0, 100% 100%, 1.125rem 100%, 0 calc(100% - 1.125rem), 0 1.125rem);
  -webkit-mask: radial-gradient(circle at 1.5rem 50%, transparent 0.3rem, #000 calc(0.3rem + 0.5px));
  mask: radial-gradient(circle at 1.5rem 50%, transparent 0.3rem, #000 calc(0.3rem + 0.5px));
  transition: background-color 0.15s ease;
}
.town-card::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 0.55rem);
  top: calc(50% - 0.55rem);
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 0.25rem solid var(--brass-500);
  box-shadow: 0 0 0 1px rgba(138, 94, 12, 0.35);
}
.town-card strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.town-card span { font-size: 0.875rem; line-height: 1.35; color: var(--ink-2); }
.town-card:hover { color: var(--ink); }
.town-card:hover::before { background: var(--manila-600); }
.town-card:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.town-card[aria-current] strong::after { content: " (diese Seite)"; font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }

/* ---------------------------------------------------------------- long text (legal, guides) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.25; margin-top: 2.25em; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.75em; }
.prose h4 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; margin-top: 1.5em; }
.prose > :first-child, .prose h2:first-child { margin-top: 0; }
.prose :is(h2, h3, h4) + * { margin-top: 0.6em; }
.prose a { color: var(--moss-700); text-decoration: underline; word-break: break-word; }
.prose .note { margin-block: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.block--tint + .faq, .block--dark + .faq { border-top: 0; }
.faq-grid { display: grid; gap: 1.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 1.125rem 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: -0.125rem;
  border-radius: 50%;
  background: var(--moss-50) var(--g-plus-moss) center / 1rem no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--moss-700);
}
.faq-item summary:hover { color: var(--moss-700); }
.faq-item summary:hover::after { background-color: var(--moss-100); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 2.75rem 1.375rem 0; color: var(--ink-2); max-width: 46rem; }
.faq-a > * + * { margin-top: 0.75rem; }
.faq-a a { color: var(--moss-700); }

/* ---------------------------------------------------------------- related links */
.related { padding: 2.5rem 0 calc(2.5rem + var(--cut-h)); border-top: 1px solid var(--line); }
.related h2 { font-size: 1.375rem; }
.related-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.related-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem 0.5rem 0.875rem;
  border-radius: 999px;
  background: var(--moss-50);
  border: 1px solid var(--line);
  color: var(--moss-900);
  font-weight: 650;
  text-decoration: none;
}
.related--towns .related-list a::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--brass-700);
  -webkit-mask: var(--g-pin) center / contain no-repeat;
  mask: var(--g-pin) center / contain no-repeat;
}
.related-list a:hover { background: var(--moss-100); border-color: var(--moss-300); }

/* ---------------------------------------------------------------- CTA band + footer (one dark mass) */
.cta-band {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--cut-h));
  padding: calc(3rem + var(--cut-h)) 0 3rem;
  background:
    radial-gradient(50rem 22rem at 10% 120%, rgba(226, 176, 70, 0.10), transparent 60%),
    var(--moss-900);
  color: var(--moss-100);
  -webkit-mask: var(--cut-up) top left / var(--cut-w) var(--cut-h) repeat-x, linear-gradient(#000 0 0) bottom left / 100% calc(100% - var(--cut-h) + 1px) no-repeat;
  mask: var(--cut-up) top left / var(--cut-w) var(--cut-h) repeat-x, linear-gradient(#000 0 0) bottom left / 100% calc(100% - var(--cut-h) + 1px) no-repeat;
}
@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .cta-band::before, .site-footer.has-cut::before {
    top: 0;
    -webkit-mask: var(--cut-up-rim) top left / var(--cut-w) var(--cut-h) repeat-x;
    mask: var(--cut-up-rim) top left / var(--cut-w) var(--cut-h) repeat-x;
  }
}
.cta-inner { display: grid; gap: 1.5rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); max-width: 22ch; }
.cta-band p { margin-top: 0.75rem; max-width: 40rem; font-size: 1.125rem; color: var(--moss-200); }
.cta-actions { display: grid; gap: 0.75rem; align-content: center; }
.cta-actions .btn { justify-content: flex-start; }

.site-footer {
  position: relative;
  background: var(--moss-950);
  color: var(--moss-200);
  font-size: 0.9375rem;
  line-height: 1.55;
  padding: 3rem 0 1.5rem;
}
.site-footer.has-cut {
  margin-top: calc(-1 * var(--cut-h));
  padding-top: calc(3rem + var(--cut-h));
  -webkit-mask: var(--cut-up) top left / var(--cut-w) var(--cut-h) repeat-x, linear-gradient(#000 0 0) bottom left / 100% calc(100% - var(--cut-h) + 1px) no-repeat;
  mask: var(--cut-up) top left / var(--cut-w) var(--cut-h) repeat-x, linear-gradient(#000 0 0) bottom left / 100% calc(100% - var(--cut-h) + 1px) no-repeat;
}
.cta-band + .site-footer { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { margin-right: 0; }
.footer-brand .brand img { height: 2.75rem; }
.footer-claim { margin-top: 0.875rem; max-width: 26rem; color: var(--moss-200); }
.footer-contact { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.125rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; color: #fff; font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--brass-300); text-decoration: underline; }
.footer-contact .icon { width: 1.25rem; height: 1.25rem; color: var(--brass-400); }
.footer-contact .footer-hours { align-items: flex-start; min-height: 0; padding-block: 0.5rem; color: var(--moss-200); }
.footer-contact .footer-hours .icon { margin-top: 0.1rem; }
.footer-contact a span { font-variant-numeric: tabular-nums; }
.footer-base {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--brass-500);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--moss-200);
}
.footer-base span { display: block; }
.footer-base span:nth-child(2) { color: #fff; }
.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brass-300);
  margin-bottom: 0.5rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--moss-100); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brass-400); }
.footer-links a[aria-current] { color: var(--brass-300); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--moss-300);
}

/* ---------------------------------------------------------------- sticky mobile action bar */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem max(0.5rem, env(safe-area-inset-right, 0px)) calc(0.5rem + env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
  background: rgba(10, 42, 35, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 24px rgba(5, 20, 16, 0.22);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.action-bar__call { background: var(--brass-500); color: var(--moss-950); }
.action-bar__wa { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
.action-bar a:hover { text-decoration: none; }
.action-bar__call:hover { background: var(--brass-400); color: var(--moss-950); }
.action-bar__wa:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* ---------------------------------------------------------------- region map (region_map.py) */
.rmap { display: block; width: 100%; height: auto; overflow: hidden; font-family: var(--font-sans); }
.rmap .rm-ring { fill: none; stroke: currentColor; stroke-opacity: 0.22; stroke-width: 1.25; stroke-dasharray: 3 6; }
.rmap .rm-ring-label { fill: currentColor; fill-opacity: 0.62; font-size: 17px; }
.rmap .rm-spoke { stroke: currentColor; stroke-opacity: 0.28; stroke-width: 1.5; }
.rmap .rm-route { stroke: var(--brass-500); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; fill: none; }
.rmap .rm-dot { fill: currentColor; }
.rmap .rm-dot-hl { fill: var(--brass-500); stroke: currentColor; stroke-width: 2.5; }
.rmap .rm-dot-ring { fill: none; stroke: var(--brass-500); stroke-width: 2; stroke-opacity: 0.55; }
.rmap .rm-base { fill: var(--brass-500); stroke: currentColor; stroke-width: 2.5; }
.rmap .rm-base-core { fill: currentColor; }
.rmap .rm-label { fill: currentColor; font-size: 22px; font-weight: 600; }
.rmap .rm-label-hl { font-size: 27px; font-weight: 700; }
.rmap .rm-label-sub { fill: currentColor; fill-opacity: 0.72; font-size: 17px; font-weight: 500; }
.rmap .rm-halo { stroke: var(--rmap-halo, #fff); stroke-width: 6; stroke-linejoin: round; paint-order: stroke; }
.rmap .rm-km-bg { fill: var(--brass-500); }
.rmap .rm-km { fill: var(--moss-950); font-size: 19px; font-weight: 700; }
.rmap .rm-north { fill: none; stroke: currentColor; stroke-opacity: 0.5; stroke-width: 1.5; }
.rmap .rm-north-label { fill: currentColor; fill-opacity: 0.6; font-size: 15px; font-weight: 700; }

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 480px) {
  .hero-actions { grid-template-columns: repeat(2, max-content); }
  .hero-actions .btn { width: auto; }
  .cta-actions { grid-template-columns: repeat(2, max-content); }
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; --block-y: 4.5rem; }
  .header-call__num { display: inline; }
  .header-call { padding: 0 0.875rem; }
  .hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  :root { --block-y: 5.5rem; }
  body { font-size: 1.125rem; }
  .hero { padding: 2rem 0 calc(4rem + var(--cut-h)); }
  .hero-grid.has-illus { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 3rem; }
  .hero--art .hero-illus { max-width: 32rem; }
  .hero--compact { padding-bottom: calc(3rem + var(--cut-h)); }
  .hero-lead { font-size: 1.1875rem; line-height: 1.55; }
  .lead { font-size: 1.25rem; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; align-items: start; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2rem; }
  .steps > li { padding: 4rem 0 0; min-height: 0; }
  .steps > li::before { top: 0; }
  .steps > li::after {
    left: 3.5rem;
    right: -1.25rem;
    top: calc(1.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--moss-300) 0 6px, transparent 6px 11px);
  }
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 3.5rem; align-items: start; }
  .faq-grid > h2 { position: sticky; top: 6rem; }
  .cta-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
  .cta-actions { grid-template-columns: 1fr; }
  .cta-actions .btn { min-width: 17rem; }
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  html { scroll-padding-top: 6rem; }
  .site-header { position: sticky; top: 0; }
  .header-bar { flex-wrap: nowrap; gap: 1.5rem; min-height: 4.5rem; }
  .brand { margin-right: 0; }
  .brand img { height: 2.75rem; }
  .site-nav { margin-left: auto; }
  .nav-list { display: flex; gap: 0.125rem; }
  .nav-list a { padding: 0 0.625rem; font-size: 0.96875rem; position: relative; }
  .nav-list a[aria-current]::after {
    content: "";
    position: absolute;
    left: 0.625rem;
    right: 0.625rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--brass-400);
  }
  .menu-toggle { display: none; }
  .header-wa { display: inline-flex; }
  .hero { padding: 2.5rem 0 calc(4.75rem + var(--cut-h)); }
}

@media (min-width: 1280px) {
  .header-wa__label { display: inline; }
  .header-wa { padding: 0 0.875rem; }
  .nav-list a { padding: 0 0.75rem; }
  .hero h1 { font-size: 3.375rem; }
  .hero-grid.has-illus { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

/* ---------------------------------------------------------------- motion & print */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .faq-item summary::after { transition: transform 0.2s ease, background-color 0.15s ease; }
  .area-fold > summary::after { transition: transform 0.2s ease, background-color 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-nav, .header-actions, .action-bar, .hero-actions, .cta-actions, .skip-link { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .cta-band, .site-footer.has-cut { -webkit-mask: none; mask: none; }
  .hero::after, .cta-band::before, .site-footer::before { display: none; }
  .hero, .cta-band, .site-footer, .site-header { background: none !important; color: #000 !important; }
  .faq-item:not([open]) .faq-a { display: block; }
}
