/* ==========================================================================
   Templar Hausverwaltung – public design system
   One stylesheet for all public pages. No photos, no illustrations, no
   decorative motion. Palette (fixed):
     navy   #14253B  headings, primary actions, dark sections
     paper  #F6F3ED  page background
     white  #FFFFFF  raised surfaces
     line   #DED6C8 / #EAE4D9  rules and borders (stone)
     brass  #AE8D58  accent from the Templar logo
     text   #3B4655  body copy · muted #6A7380
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-style: italic; font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --navy: #14253B;
  --paper: #F6F3ED;
  --white: #FFFFFF;
  --line: #DED6C8;
  --line-soft: #EAE4D9;
  --brass: #AE8D58;
  --text: #3B4655;
  --muted: #6A7380;
  --on-navy: #F6F3ED;
  --on-navy-muted: rgba(246, 243, 237, 0.72);
  --line-navy: rgba(246, 243, 237, 0.16);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 84px;
  --radius: 6px;
  --shadow: 0 32px 64px -48px rgba(20, 37, 59, 0.42), 0 1px 2px rgba(20, 37, 59, 0.04);
  --section-y: clamp(72px, 8vw, 120px);
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p, li, dd, dt, h1, h2, h3, summary { overflow-wrap: break-word; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--navy); }
::selection { background: rgba(174, 141, 88, 0.28); color: var(--navy); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.7rem + 4.2vw, 5.5rem); line-height: 0.98; letter-spacing: -0.018em; }
h2 { font-size: clamp(2.15rem, 1.55rem + 2vw, 3.35rem); }
h3 { font-size: 1.625rem; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

.card-num, .step-num, .hero-service-num, .service-block-num, .principle-num, .toc-num, .prep-num { font-variant-numeric: lining-nums tabular-nums; }

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

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inline-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--navy); color: var(--on-navy);
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.draft-banner { background: var(--brass); color: var(--navy); text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .14em; padding: 8px; }

/* ---------- Shared typographic elements ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 20px;
  font-size: .75rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); flex: none; }

.section-intro { font-size: 1.0625rem; color: var(--text); max-width: 32rem; }
.prose p + p { margin-top: 18px; }
.prose-lead { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + .9vw, 1.875rem); font-weight: 500; line-height: 1.3; color: var(--navy); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--brass);
  color: var(--navy); font-size: .9375rem; font-weight: 600; text-decoration: none;
  transition: gap .2s ease, border-color .2s ease;
}
.text-link:hover { gap: 14px; border-bottom-color: var(--navy); }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { box-shadow: 0 14px 28px -16px rgba(20, 37, 59, .75); }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(20, 37, 59, .26); }
.btn-secondary:hover { border-color: var(--navy); background: var(--white); }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.btn-ghost-light { background: transparent; color: var(--on-navy); border-color: rgba(246, 243, 237, .34); }
.btn-ghost-light:hover { border-color: var(--on-navy); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 243, 237, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(246, 243, 237, .88); backdrop-filter: saturate(1.1) blur(12px); }
}
.site-header.is-scrolled, .menu-is-open .site-header { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(20, 37, 59, .55); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 30px; height: 36px; flex: none; }
.brand-mark-arch { fill: none; stroke: var(--brass); stroke-width: 3; }
.brand-mark-t { fill: var(--brass); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: .95; letter-spacing: .01em; }
.brand-sub { margin-top: 5px; font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative; padding: 8px 0;
  color: var(--navy); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; padding-left: 32px; border-left: 1px solid var(--line); }
.nav-portal { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav-portal .icon { color: var(--brass); }
.nav-portal:hover span { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }

.menu-toggle { display: none; }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 30px; }
.hero-lead { max-width: 35rem; font-size: 1.1875rem; line-height: 1.65; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  max-width: 35rem; margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none; color: var(--muted); font-size: .875rem; font-weight: 500;
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* The Templar arch: the doorway shape of the logo, used as the hero object. */
.hero-arch {
  position: relative; justify-self: end;
  width: 100%; max-width: 520px;
  padding: 64px 30px 30px;
  background:
    radial-gradient(85% 48% at 50% 0%, rgba(174, 141, 88, .2) 0%, rgba(174, 141, 88, 0) 72%),
    var(--navy);
  border-radius: 999px 999px 8px 8px;
  color: var(--on-navy-muted);
  box-shadow: 0 60px 90px -60px rgba(20, 37, 59, .7);
}
.hero-arch::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(174, 141, 88, .55);
  border-radius: 999px 999px 4px 4px;
}
.hero-arch-head { position: relative; text-align: center; padding: 0 40px 22px; }
.hero-arch-head .brand-mark { width: 34px; height: 41px; margin: 0 auto 18px; }
.hero-arch-kicker { margin-bottom: 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.hero-arch-head h2 { color: var(--on-navy); font-size: clamp(1.625rem, 1.3rem + .8vw, 2rem); }
.hero-services { position: relative; list-style: none; padding: 0 10px; }
.hero-services a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px;
  padding: 17px 16px; border-top: 1px solid var(--line-navy); border-radius: 4px;
  color: inherit; text-decoration: none;
  transition: background-color .2s ease;
}
.hero-services a:hover { background: rgba(246, 243, 237, .06); }
.hero-service-num { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--brass); line-height: 1; }
.hero-service-text strong { display: block; color: var(--on-navy); font-size: 1.0625rem; line-height: 1.3; }
.hero-service-text small { display: block; margin-top: 3px; color: var(--on-navy-muted); font-size: .875rem; line-height: 1.45; }
.hero-services .icon { color: var(--brass); transition: transform .2s ease; }
.hero-services a:hover .icon { transform: translateX(3px); }
.hero-arch-portal {
  position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px; align-items: center; gap: 12px;
  margin: 14px 10px 4px; padding: 16px 18px;
  border: 1px solid rgba(174, 141, 88, .55); border-radius: 999px;
  color: var(--on-navy-muted); font-size: .875rem; text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.hero-arch-portal strong { color: var(--on-navy); }
.hero-arch-portal .icon { color: var(--brass); }
.hero-arch-portal:hover { background: rgba(174, 141, 88, .14); border-color: var(--brass); }

/* ---------- Home: facts strip ---------- */
.facts { background: var(--white); border-block: 1px solid var(--line-soft); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 30px 28px; border-left: 1px solid var(--line-soft); min-width: 0; }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact-label { display: block; margin-bottom: 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact-value { display: block; color: var(--navy); font-size: .9375rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.fact-value a { text-decoration: none; border-bottom: 1px solid var(--brass); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.section--navy h2, .section--navy h3 { color: var(--on-navy); }
.section--navy .eyebrow { color: var(--on-navy-muted); }
.section--navy .section-intro { color: var(--on-navy-muted); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 28px 80px; align-items: end; margin-bottom: clamp(44px, 5vw, 64px);
}
.section-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.split-copy > p:not(.eyebrow) { max-width: 31rem; margin-top: 22px; }
.split-copy .text-link { margin-top: 30px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.card-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--brass); }
.card-tag { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Arch windows: service areas (home) and values (Über Templar) */
.arch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.arch-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 88px 28px 34px;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 999px 999px 8px 8px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.arch-card::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid rgba(174, 141, 88, .4);
  border-radius: 999px 999px 4px 4px;
}
.arch-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.arch-card .card-num { margin-bottom: 18px; font-size: 2.25rem; }
.arch-card .card-tag { margin-bottom: 12px; }
.arch-card h3 { margin-bottom: 14px; font-size: clamp(1.625rem, 1.4rem + .5vw, 1.875rem); }
.arch-card-copy { margin-bottom: 26px; font-size: .9375rem; line-height: 1.65; }
.arch-card .text-link { position: relative; margin-top: auto; }
.section--white .arch-card { background: var(--paper); }
.arch-card--value { padding-bottom: 40px; }
.arch-card--value .arch-card-copy { margin-bottom: 0; }

/* Brand statement */
.statement-inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; text-align: center; }
.statement-inner > .brand-mark { width: 46px; height: 56px; margin-bottom: 30px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--brass); flex: none; }
.statement h2 { font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.25rem); line-height: 1; }
.statement-copy { max-width: 40rem; margin-top: 28px; font-size: 1.125rem; }
.value-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; margin: 34px 0 36px; list-style: none; }
.value-row li { display: inline-flex; align-items: center; font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-style: italic; font-weight: 500; color: var(--navy); }
.value-row li + li::before {
  content: ""; width: 9px; height: 11px; margin: 0 22px;
  border: 1px solid var(--brass); border-radius: 999px 999px 1px 1px;
}

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.audience { display: flex; flex-direction: column; padding: 40px 40px 4px 0; }
.audience + .audience { padding-left: 40px; border-left: 1px solid var(--line-soft); }
.audience-icon { width: 30px; height: 30px; fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.audience h3 { margin: 22px 0 12px; font-size: 1.75rem; }
.audience p { margin-bottom: 26px; }
.audience .text-link { margin-top: auto; align-self: flex-start; }

/* Principles */
.principles { list-style: none; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.principle-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--brass); line-height: 1.2; }
.principle h3 { margin-bottom: 8px; font-size: 1.625rem; }

/* Process (navy) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; counter-reset: step; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: 40px; left: 80px; right: -8px; height: 1px; background: var(--line-navy); }
.step:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 64px; height: 80px; margin-bottom: 26px; padding-top: 10px;
  border: 1px solid rgba(174, 141, 88, .7); border-radius: 999px 999px 3px 3px;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--brass);
}
.step h3 { margin-bottom: 12px; font-size: 1.625rem; }
.step p { font-size: .9375rem; color: var(--on-navy-muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-aside > p:not(.eyebrow) { margin-top: 22px; max-width: 26rem; }
.faq-aside .text-link { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  color: var(--navy); font-size: 1.0625rem; font-weight: 600; line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover span { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { max-width: 44rem; padding: 0 64px 28px 0; }

/* ---------- Sub-page header ---------- */
.page-hero { padding: clamp(28px, 3.5vw, 44px) 0 clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(40px, 5.5vw, 72px); color: var(--muted); font-size: .8125rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.page-hero-grid.has-aside { grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero h1 { margin-bottom: 26px; font-size: clamp(2.75rem, 1.75rem + 3.4vw, 4.75rem); hyphens: manual; }
.page-lead { max-width: 36rem; font-size: 1.1875rem; line-height: 1.65; }

.aside-card { padding: clamp(26px, 3vw, 36px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
/* Segmental arch (flatter Altbau arch) for the sub-page header cards */
.aside-card--arch {
  position: relative;
  padding-top: 70px;
  border-radius: 50% 50% var(--radius) var(--radius) / 64px 64px var(--radius) var(--radius);
}
.aside-card--arch > .brand-mark { position: absolute; top: 22px; left: 50%; width: 24px; height: 29px; transform: translateX(-50%); }
.aside-title { margin-bottom: 16px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.toc-list { list-style: none; }
.toc-list a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 10px;
  padding: 15px 0; border-top: 1px solid var(--line-soft);
  color: var(--navy); font-weight: 500; text-decoration: none;
}
.toc-list a:hover span:not(.toc-num) { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.toc-num { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--brass); }

.data-list > div { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.data-list dt { padding-top: 3px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.data-list dd { color: var(--navy); font-size: .9375rem; font-weight: 500; line-height: 1.55; }

/* ---------- Leistungen ---------- */
.service-block { padding-block: clamp(64px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.service-block--alt { background: var(--white); }
.service-block--alt .detail-card { background: var(--paper); }
.service-block-grid { display: grid; grid-template-columns: minmax(200px, .38fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.service-block-meta { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.service-block-num {
  display: grid; place-items: center; width: 150px; height: 190px; margin-bottom: 24px; padding-top: 22px;
  border: 1px solid var(--brass); border-radius: 999px 999px 4px 4px;
  font-family: var(--serif); font-size: 4.25rem; font-weight: 500; line-height: 1; color: var(--brass);
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px rgba(174, 141, 88, .35);
}
.service-block--alt .service-block-num { box-shadow: inset 0 0 0 8px var(--white), inset 0 0 0 9px rgba(174, 141, 88, .35); }
.service-block-body h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.5rem); }
.service-lead { max-width: 40rem; margin-bottom: 40px; font-size: 1.1875rem; line-height: 1.65; }
.service-block-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
.detail-card { padding: 28px 30px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.detail-title { margin-bottom: 16px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.detail-card p:not(.detail-title) { font-size: .9375rem; }
.check-list { display: grid; gap: 12px; list-style: none; font-size: .9375rem; color: var(--navy); }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 1.6px solid var(--brass); border-bottom: 1.6px solid var(--brass); transform: rotate(-45deg); }
.service-block .btn-row { margin-top: 32px; }

.note-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: center;
  padding: clamp(32px, 5vw, 64px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.note-panel .btn-row { margin-top: 28px; }

/* ---------- Kontakt ---------- */
.contact-card .aside-title { margin-bottom: 12px; }
.contact-email {
  display: inline-block; margin-bottom: 26px; padding-bottom: 4px;
  border-bottom: 1px solid var(--brass);
  color: var(--navy); font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .4vw, 1.36rem); font-weight: 600; line-height: 1.25;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-card-address { display: flex; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--navy); font-size: .9375rem; line-height: 1.6; }
.contact-card-address .inline-icon { margin-top: 2px; }

.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.route-card {
  display: flex; flex-direction: column; padding: 64px clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 50% 50% var(--radius) var(--radius) / 48px 48px var(--radius) var(--radius);
}
.route-card h3 { margin: 22px 0 12px; font-size: 1.75rem; }
.route-card p { margin-bottom: 28px; }
.route-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: auto; }
.text-link--mail .icon { width: 17px; height: 17px; color: var(--brass); }

.prep-list { list-style: none; border-top: 1px solid var(--line); }
.prep-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.0625rem; font-weight: 500; }
.prep-num { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--brass); line-height: 1.3; }
.notice { display: flex; gap: 14px; margin-top: 28px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: .9375rem; }
.notice .inline-icon { margin-top: 2px; }
.notice a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-aside-text { margin: 0 0 20px; color: var(--muted); font-size: .9375rem; }
.legal-toc { list-style: none; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.legal-toc a { display: block; padding: 10px 0; border-top: 1px solid var(--line-soft); color: var(--text); font-size: .875rem; line-height: 1.45; text-decoration: none; }
.legal-toc a:hover { color: var(--navy); }
.legal-doc { max-width: 880px; padding: clamp(28px, 5vw, 64px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.legal-doc h2 { margin: 34px 0 12px; padding-top: 30px; border-top: 1px solid var(--line-soft); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc p { max-width: 68ch; }
.legal-doc p + p { margin-top: 14px; }
.legal-doc a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 7vw, 104px) 0 32px; background: var(--navy); color: var(--on-navy-muted); font-size: .9375rem; }
.site-footer .eyebrow { color: var(--on-navy-muted); }
.footer-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px 80px; align-items: end;
  margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line-navy);
}
.footer-cta h2 { color: var(--on-navy); font-size: clamp(2.25rem, 1.55rem + 2.4vw, 3.75rem); }
.footer-cta-side p { max-width: 32rem; }
.footer-cta .btn-row { margin-top: 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.25fr); gap: 40px; padding-bottom: 52px; }
.brand--light { color: var(--on-navy); }
.brand--light .brand-sub { color: var(--on-navy-muted); }
.footer-brand p { max-width: 22rem; margin-top: 22px; }
.footer-brand address { margin-top: 18px; color: var(--on-navy); line-height: 1.65; }
.footer-title { margin-bottom: 18px; color: var(--on-navy); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.footer-list { display: grid; gap: 11px; list-style: none; }
.footer-list a { color: var(--on-navy-muted); text-decoration: none; overflow-wrap: anywhere; transition: color .2s ease; }
.footer-list a:hover { color: var(--on-navy); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 28px; border-top: 1px solid var(--line-navy); font-size: .8125rem; }
.footer-bottom nav { display: flex; gap: 26px; }
.footer-bottom a { color: var(--on-navy-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-navy); }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Mobile extras (phones and the slide-in menu only) */
.nav-reach, .thumb-bar, .swipe-hint { display: none; }
@media (max-width: 1240px) {
  .nav-links { gap: 24px; }
  .site-nav { gap: 28px; }
  .nav-actions { padding-left: 24px; gap: 18px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 74px; }
  /* backdrop-filter would turn the header into the containing block of the fixed menu panel */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .brand-name { font-size: 1.6rem; }

  .menu-toggle {
    display: inline-flex; align-items: center; gap: 12px;
    height: 44px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--white);
    color: var(--navy); font: 600 .875rem/1 var(--sans); cursor: pointer;
  }
  .menu-toggle-icon { position: relative; width: 18px; height: 10px; }
  .menu-toggle-icon i { position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
  .menu-toggle-icon i:first-child { top: 0; }
  .menu-toggle-icon i:last-child { top: 8.4px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 4.2px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 4.2px; transform: rotate(-45deg); }

  .js-enabled .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    display: none; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 12px var(--gutter) 32px; overflow-y: auto;
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .js-enabled .site-nav.is-open { display: flex; }
  .js-enabled .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .js-enabled .nav-link { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
  .js-enabled .nav-link::after { display: none; }
  .js-enabled .nav-link[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .js-enabled .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-left: 0; border-left: 0; }
  .js-enabled .nav-portal { justify-content: center; min-height: 54px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
  .js-enabled .nav-actions .btn { min-height: 54px; font-size: .9375rem; }
  .menu-is-open { overflow: hidden; }

  /* Without JavaScript the navigation stays visible as a simple row. */
  html:not(.js-enabled) .menu-toggle { display: none; }
  html:not(.js-enabled) .header-inner { flex-wrap: wrap; gap: 12px 24px; padding-block: 14px; }
  html:not(.js-enabled) .site-nav { flex-wrap: wrap; gap: 12px 24px; width: 100%; }
  html:not(.js-enabled) .nav-links { flex-wrap: wrap; gap: 6px 20px; }
  html:not(.js-enabled) .nav-actions { padding-left: 0; border-left: 0; }

  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 36px; }
  .hero h1 { font-size: clamp(2.9rem, 1rem + 4.6vw, 4.25rem); }
  .hero-lead { font-size: 1.0625rem; }
  .hero-arch { padding: 56px 18px 20px; }
  .hero-arch-head { padding: 0 26px 16px; }
  .hero-services a { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 10px; padding: 14px 10px; }
  .hero-service-text small { font-size: .8125rem; }
  .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 24px 28px; border-left: 0; border-top: 1px solid var(--line-soft); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line-soft); }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .step::before { display: none; }
  .footer-cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .page-hero-grid.has-aside { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .page-hero-grid.has-aside .aside-card { max-width: 40rem; }
  .service-block-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .service-block-meta { position: static; display: flex; align-items: center; gap: 22px; }
  .service-block-num { width: 84px; height: 106px; margin: 0; padding-top: 12px; font-size: 2.5rem; box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(174, 141, 88, .35); }
  .service-block--alt .service-block-num { box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(174, 141, 88, .35); }
  .service-block-meta .eyebrow { margin: 0; }
  .route-grid { grid-template-columns: minmax(0, 1fr); }
  .route-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 24px; }
  .route-card > :not(svg) { grid-column: 2; }
  .route-card .audience-icon { grid-row: 1 / span 3; margin-top: 4px; }
  .route-card h3 { margin-top: 0; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; }
  .legal-toc { columns: 2; column-gap: 32px; border-bottom: 0; }
  .legal-toc li { break-inside: avoid; }
}

@media (max-width: 1100px) {
  .js-enabled .site-nav { justify-content: flex-start; }
  .js-enabled .nav-reach { display: block; margin-top: auto; padding-top: 8px; }
  .nav-reach-title { margin-bottom: 12px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .nav-reach-mail a {
    display: inline-block; padding-block: 10px; margin-block: -10px;
    color: var(--navy); font-size: 1.0625rem; font-weight: 600; text-decoration: none;
    border-bottom: 1px solid var(--brass); overflow-wrap: anywhere;
  }
  .nav-reach-address { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
}
@media (max-width: 760px) {
  /* Quick-access bar within thumb reach; site.js shows it after the hero and hides it at the footer. */
  .js-enabled .thumb-bar {
    position: fixed; z-index: 45; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; gap: 6px; padding: 6px;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 22px 44px -20px rgba(20, 37, 59, .5), 0 2px 6px rgba(20, 37, 59, .06);
    opacity: 0; visibility: hidden; transform: translateY(calc(100% + 28px));
    transition: transform .34s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, visibility 0s linear .34s;
  }
  .js-enabled .thumb-bar.is-visible {
    opacity: 1; visibility: visible; transform: none;
    transition: transform .34s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, visibility 0s;
  }
  .menu-is-open .thumb-bar.is-visible { opacity: 0; visibility: hidden; transform: translateY(calc(100% + 28px)); }
  .thumb-btn {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 999px;
    font-size: .9375rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  }
  .thumb-btn .icon { width: 17px; height: 17px; color: var(--brass); }
  .thumb-btn--light { background: var(--paper); color: var(--navy); }
  .thumb-btn--dark { background: var(--navy); color: var(--on-navy); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 40rem; }
  .hero-arch { justify-self: start; max-width: 520px; padding: 64px 26px 26px; }
  .hero-services a { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; padding: 16px 14px; }
  .audience-grid { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .audience, .audience + .audience { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .audience:last-child { padding-bottom: 0; }
  .service-block-cols { grid-template-columns: minmax(0, 1fr); }
  .note-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  /* Touch targets: at least ~44px tall without changing the visual rhythm. */
  .text-link { position: relative; }
  .text-link::before { content: ""; position: absolute; left: -6px; right: -6px; top: -7px; bottom: -7px; }
  .brand { min-height: 44px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .breadcrumb { margin-bottom: 28px; }
  .footer-list { gap: 0; }
  .footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-title { margin-bottom: 6px; }
  .footer-bottom nav { gap: 8px 24px; flex-wrap: wrap; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .legal-toc a { padding: 12px 0; }
  .fact-value a, .notice a { display: inline-block; padding-block: 10px; margin-block: -10px; }
  /* Small uppercase labels stay readable on phones. */
  .card-tag, .fact-label, .aside-title, .detail-title, .footer-title, .data-list dt, .hero-arch-kicker { font-size: .75rem; }
  p, li, dd, h2, h3, summary { -webkit-hyphens: auto; hyphens: auto; }
  .note-panel { padding: 30px 22px; }
  .detail-card { padding: 24px 22px; }
  .hero { padding-top: 36px; }
  .hero h1 { margin-bottom: 22px; }
  .hero-lead, .page-lead, .service-lead { font-size: 1.0625rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .nav-actions .btn { width: auto; }
  .hero-points { margin-top: 36px; }
  .hero-arch { padding: 54px 12px 16px; }
  .hero-arch::before { inset: 8px; }
  .hero-arch-head { padding: 0 26px 16px; }
  .hero-arch-head .brand-mark { margin-bottom: 14px; }
  .hero-arch-portal { margin: 12px 4px 2px; padding: 14px 16px; }
  .hero-services { padding: 0 4px; }
  .hero-services a { grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 12px; padding: 15px 12px; }
  .value-row li + li::before { margin: 0 14px; }
  .arch-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .arch-card { padding-top: 66px; border-radius: 50% 50% 8px 8px / 96px 96px 8px 8px; }
  .arch-card::before { border-radius: 50% 50% 4px 4px / 88px 88px 4px 4px; }

  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact:nth-child(even), .fact:nth-child(odd) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .fact:first-child { border-top: 0; }

  .principle { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .step { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .step-num { grid-row: 1 / span 2; width: 54px; height: 66px; margin: 0; padding-top: 8px; font-size: 1.375rem; }
  .step h3 { margin: 6px 0 8px; }
  .faq-list summary { font-size: 1rem; gap: 16px; padding: 22px 0; }
  .faq-list details p { padding-right: 0; }

  .route-card { display: flex; }
  .route-card h3 { margin-top: 20px; }
  .data-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .prep-list li { grid-template-columns: 40px minmax(0, 1fr); font-size: 1rem; }
  .legal-toc { columns: 1; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* Arch windows become a swipeable row: shorter pages, full arches like on desktop. */
  .arch-grid[data-swipe] {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .arch-grid[data-swipe]::-webkit-scrollbar { display: none; }
  .arch-grid[data-swipe] > .arch-card { scroll-snap-align: start; padding: 92px 22px 30px; border-radius: 999px 999px 8px 8px; }
  .arch-grid[data-swipe] > .arch-card::before { border-radius: 999px 999px 4px 4px; }
  .js-enabled .swipe-hint {
    display: flex; align-items: center; gap: 16px; margin-top: 18px;
    color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  }
  .swipe-progress { position: relative; flex: 1 1 auto; height: 1px; background: var(--line); }
  .swipe-progress i {
    position: absolute; left: 0; top: -1px; width: calc(100% / var(--swipe-count, 4)); height: 3px; border-radius: 3px;
    background: var(--brass); transform: translateX(calc(var(--swipe-pos, 0) * 100%)); transition: transform .12s linear;
  }
  .swipe-count { color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
}
@media (max-width: 380px) {
  .brand-mark { width: 26px; height: 32px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .5625rem; letter-spacing: .16em; }
  .menu-toggle { padding: 0 14px; gap: 10px; }
  .hero-services a { grid-template-columns: minmax(0, 1fr) 18px; }
  .hero-service-num { display: none; }
}

@media (max-width: 380px) {
  .thumb-btn { gap: 7px; padding: 0 8px; font-size: .875rem; }
  .thumb-btn .icon { width: 16px; height: 16px; }
}
@media (max-width: 340px) {
  .thumb-btn .icon { display: none; }
  /* Icon-only menu button keeps the "Hausverwaltung GmbH" subline on one line. */
  .menu-toggle { width: 44px; padding: 0; justify-content: center; }
  .menu-toggle-label { display: none; }
}
@media (hover: none) {
  /* Calm tactile feedback instead of the grey default tap flash. */
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  .btn, .thumb-btn, .menu-toggle, .nav-portal { transition: transform .12s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
  .btn:hover { transform: none; }
  .btn:active, .thumb-btn:active, .menu-toggle:active, .nav-portal:active { transform: scale(.97); }
  .hero-services a:active, .hero-arch-portal:active { background: rgba(246, 243, 237, .08); }
  .text-link:active, .nav-link:active, .footer-list a:active, .faq-list summary:active { opacity: .6; }
  .arch-card:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .menu-toggle, .footer-cta, .skip-link, .thumb-bar, .swipe-hint { display: none !important; }
  body { background: var(--white); }
  .site-footer { background: var(--white); color: var(--navy); }
}
