/* ==========================================================================
   InToMed — Design System
   Brand: medical cross + water mark. One type family (IBM Plex Sans) at
   different weights — a corporate, engineered voice rather than an
   editorial one. Palette pulled directly from the logo.
   ========================================================================== */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 380 700;
  font-display: swap;
  src: url('../fonts/plexsans-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 380 700;
  font-display: swap;
  src: url('../fonts/plexsans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

/* ---- Tokens ---- */
:root {
  --ink: #0f2438;
  --ink-soft: #46596b;
  --ink-faint: #7c8b98;
  --paper: #ffffff;
  --paper-tint: #f4f9fd;
  --paper-raised: #ffffff;
  --blue: #1976cd;
  --blue-deep: #125a9c;
  --blue-mid: #2a85d6;
  --blue-light: #a3daf7;
  --blue-pale: #e9f5fc;
  --navy: #0b2540;
  --navy-deep: #081c33;
  --line: rgba(15, 36, 56, 0.13);
  --line-soft: rgba(15, 36, 56, 0.08);
  --line-on-dark: rgba(233, 245, 252, 0.16);
  --shadow-soft: 0 20px 46px -26px rgba(11, 37, 64, 0.35);
  --shadow-card: 0 1px 2px rgba(11, 37, 64, 0.05), 0 10px 26px -18px rgba(11, 37, 64, 0.22);
  --radius: 4px;
  --radius-lg: 6px;
  --measure: 62ch;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; color: var(--navy); }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 640px) { .container { padding-inline: 20px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--blue);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 4px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(25, 118, 205, 0.5); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 14px 26px -12px rgba(18, 90, 156, 0.55); }
.btn-ghost { border: 1px solid var(--line-on-dark); color: inherit; }
.btn-ghost:hover { background: rgba(233, 245, 252, 0.1); }
.btn-outline { border: 1px solid var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-pale); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---- Floating booking button ---- */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.94rem; box-shadow: 0 14px 30px -10px rgba(11, 37, 64, 0.45);
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}
.float-cta:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(11, 37, 64, 0.5); }
.float-cta svg { width: 17px; height: 17px; flex-shrink: 0; }
@media (max-width: 560px) {
  .float-cta { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 0; gap: 0; }
  .float-cta svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, padding 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -20px rgba(11, 37, 64, 0.5); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; transition: padding 0.25s ease; }
.site-header.is-scrolled .site-header__bar { padding-block: 10px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.site-header .logo img { height: 38px; }
.site-footer .logo img { height: 30px; }

.nav-desktop { display: none; }
@media (min-width: 980px) {
  .nav-desktop { display: flex; align-items: center; gap: 2px; }
  .nav-desktop > li { position: relative; }
  .nav-desktop > li > a {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 15px; border-radius: 4px; font-weight: 500; font-size: 0.94rem; color: var(--ink-soft);
    transition: background 0.2s ease, color 0.2s ease;
  }
  .nav-desktop > li > a:hover, .nav-desktop > li.is-open > a { background: var(--blue-pale); color: var(--blue-deep); }
  .nav-desktop > li > a svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
  .nav-desktop > li.is-open > a svg { transform: rotate(180deg); }

  .submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
    background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-desktop > li.is-open .submenu, .nav-desktop > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .submenu a { display: block; padding: 11px 14px; border-radius: 4px; font-size: 0.92rem; color: var(--ink-soft); }
  .submenu a:hover { background: var(--blue-pale); color: var(--blue-deep); }
}

.header-cta { display: none; }
@media (min-width: 980px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px;
}
@media (min-width: 980px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--navy); margin-inline: auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; top: 0; z-index: 400;
  background: var(--navy-deep); color: var(--paper);
  padding: 100px 28px 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform 0.4s var(--ease);
}
.nav-mobile.is-open { transform: translateY(0); }
@media (min-width: 980px) { .nav-mobile { display: none; } }
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile > .nav-mobile__list > li { border-bottom: 1px solid var(--line-on-dark); }
.nav-mobile a { display: block; padding: 16px 2px; font-family: var(--font); font-size: 1.24rem; font-weight: 500; }
.nav-mobile .submenu-mobile { padding-bottom: 10px; }
.nav-mobile .submenu-mobile a { padding: 10px 2px; font-size: 1rem; font-weight: 400; color: var(--paper); opacity: 0.78; padding-left: 16px; }
.nav-mobile__cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; background: var(--paper-tint); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 460px at 92% -14%, rgba(25, 118, 205, 0.14), transparent 58%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.2fr 1fr; gap: 24px; } }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-top: 16px; max-width: 17ch; }
.hero__lede { margin-top: 20px; max-width: 50ch; font-size: 1.1rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__facts { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 28px 36px; }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.hero__facts li svg { width: 20px; height: 20px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); flex-shrink: 0; }

.hero__visual { display: none; }
@media (min-width: 900px) {
  .hero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; }
}
.hero__visual::before {
  content: ''; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(163, 218, 247, 0.65), rgba(25, 118, 205, 0.16) 62%, rgba(25, 118, 205, 0) 76%);
}
.hero__visual::after {
  content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(25, 118, 205, 0.18); top: 8%; right: 6%;
}
.hero__visual svg {
  position: relative; width: 34%; max-width: 190px; height: auto;
  filter: drop-shadow(0 22px 34px rgba(11, 37, 64, 0.18));
}
.hero__visual .dot { position: absolute; border-radius: 50%; background: var(--blue-light); }
.hero__visual .dot--a { width: 14px; height: 14px; bottom: 12%; left: 12%; }
.hero__visual .dot--b { width: 9px; height: 9px; top: 14%; left: 20%; background: var(--blue); }

.statement-band { padding-block: 56px; text-align: center; }
.statement-band__text { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--navy); max-width: 46ch; margin-inline: auto; }
.statement-band__support { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; max-width: 46ch; margin-inline: auto; }

.page-hero { padding: 52px 0 60px; position: relative; background: var(--paper-tint); }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 340px at 92% -22%, rgba(25, 118, 205, 0.12), transparent 58%);
}
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 14px; max-width: 20ch; }
.page-hero__lede { margin-top: 16px; max-width: 58ch; font-size: 1.06rem; color: var(--ink-soft); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ==========================================================================
   Sections & general content
   ========================================================================== */
section { padding-block: 80px; }
.section-head { max-width: 62ch; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 12px; }
.section-head p { margin-top: 14px; font-size: 1.04rem; color: var(--ink-soft); }

.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); margin-top: 14px; font-size: 1.02rem; }
.prose p:first-child { margin-top: 0; }

/* checklist used for "Leistungen im Überblick" */
.checklist { display: grid; gap: 13px; margin-top: 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.02rem; color: var(--ink); }
.checklist .tick {
  flex-shrink: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--blue);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.checklist .tick svg { width: 12px; height: 12px; }

/* service cards grid (Leistungen overview) */
.card-grid { display: grid; gap: 20px; margin-top: 8px; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(11, 37, 64, 0.35); }
.service-card__index { font-family: var(--font); font-weight: 600; color: var(--blue); font-size: 0.85rem; letter-spacing: 0.06em; }
.service-card h3 { font-size: 1.26rem; margin-top: 12px; }
.service-card .kicker { display: block; font-size: 0.94rem; font-weight: 400; color: var(--ink-faint); margin-top: 2px; }
.service-card p { margin-top: 12px; color: var(--ink-soft); }
.service-card .card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-deep); font-size: 0.92rem; }
.service-card .card-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* alternating detail blocks (Vorsorge subpage) */
.detail-block { display: grid; gap: 36px; padding-block: 52px; border-top: 1px solid var(--line); }
.detail-block:first-of-type { border-top: none; }
@media (min-width: 860px) { .detail-block { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.detail-block h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
.detail-block h3 .kicker { display: block; font-family: var(--font); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.detail-block__body p { color: var(--ink-soft); margin-top: 12px; }
.detail-block__body ul { margin-top: 16px; display: grid; gap: 10px; }
.detail-block__body ul li { padding-left: 22px; position: relative; color: var(--ink); font-size: 0.98rem; }
.detail-block__body ul li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }

.vorsorge-types { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 760px) { .vorsorge-types { grid-template-columns: repeat(3, 1fr); } }
.vorsorge-types .type-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 25px; }
.vorsorge-types .type-card strong { display: block; font-size: 1.06rem; color: var(--navy); margin-bottom: 8px; }
.vorsorge-types .type-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* price table */
.price-table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-raised); box-shadow: var(--shadow-card); }
table.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
  text-align: left; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--navy); padding: 16px 28px;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody td { padding: 20px 28px; border-top: 1px solid var(--line-soft); font-size: 1rem; vertical-align: top; }
.price-table tbody tr:hover { background: var(--blue-pale); }
.price-table td.price-cell { text-align: right; font-weight: 700; font-size: 1.14rem; color: var(--blue-deep); white-space: nowrap; }
.price-table .service-name { font-weight: 500; }
.price-table .service-note { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--ink-faint); font-style: italic; }
.price-footnote { margin-top: 22px; font-size: 0.88rem; color: var(--ink-faint); max-width: 60ch; }

/* contact / anfahrt */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.info-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-card); }
.info-card + .info-card { margin-top: 20px; }
.info-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 12px; }
.info-card h3 .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card h3 .ic svg { width: 16px; height: 16px; }
.info-card address, .info-card p { font-style: normal; margin-top: 14px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.info-card a.link { color: var(--blue-deep); font-weight: 600; }
.info-card a.link:hover { color: var(--blue); }

/* boxless contact list (Kontakt page) */
.contact-list { display: grid; gap: 40px; }
@media (min-width: 780px) { .contact-list { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.contact-item { padding-top: 22px; border-top: 2px solid var(--blue); }
.contact-item .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; }
.contact-item .ic svg { width: 16px; height: 16px; }
.contact-item h3 { font-size: 1.08rem; margin-top: 16px; }
.contact-item address, .contact-item p { font-style: normal; margin-top: 12px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.contact-item a.link { color: var(--blue-deep); font-weight: 600; }
.contact-item a.link:hover { color: var(--blue); }

.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); aspect-ratio: 16/12; background: var(--paper-tint); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; padding: 32px; color: var(--ink); background: var(--paper-raised);
}
.map-consent .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.map-consent .ic svg { width: 19px; height: 19px; }
.map-consent strong { font-size: 1.05rem; color: var(--navy); }
.map-consent p { font-size: 0.9rem; color: var(--ink-soft); max-width: 46ch; }
.map-consent p a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.map-consent p a:hover { color: var(--blue); }

/* legal / long-form text pages */
.legal-layout { display: grid; gap: 48px; }
@media (min-width: 940px) { .legal-layout { grid-template-columns: 240px 1fr; } }
.legal-toc { position: sticky; top: 100px; align-self: start; display: none; }
@media (min-width: 940px) { .legal-toc { display: block; } }
.legal-toc span.label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.legal-toc ul { margin-top: 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; font-size: 0.9rem; color: var(--ink-soft); border-left: 2px solid transparent; margin-left: -1px; transition: color 0.2s ease, border-color 0.2s ease; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--blue-deep); border-color: var(--blue); }
.legal-body h2 { font-size: 1.28rem; margin-top: 44px; padding-top: 4px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-top: 14px; color: var(--ink-soft); max-width: var(--measure); }
.legal-body ul { margin-top: 14px; display: grid; gap: 8px; max-width: var(--measure); }
.legal-body ul li { padding-left: 20px; position: relative; color: var(--ink-soft); }
.legal-body ul li::before { content: '·'; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.legal-body address { font-style: normal; color: var(--ink-soft); margin-top: 14px; }
.legal-meta { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-faint); }
.legal-intro { max-width: var(--measure); color: var(--ink-soft); margin-bottom: 8px; font-size: 1.05rem; }

.empty-note {
  border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 38px;
  color: var(--ink-faint); font-size: 0.98rem; max-width: 56ch;
}

/* CTA band */
.cta-band { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(620px 320px at 12% 0%, rgba(11, 37, 64, 0.18), transparent 60%); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-block: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 20ch; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--paper-tint); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--paper-tint); color: var(--ink); border-top: 1px solid var(--line); }
.site-footer__top { padding-block: 60px; display: grid; gap: 42px; }
@media (min-width: 780px) { .site-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer__lede { margin-top: 16px; color: var(--ink-soft); max-width: 34ch; font-size: 0.96rem; }
.footer-col span.label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.footer-col ul { margin-top: 16px; display: grid; gap: 11px; }
.footer-col a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--blue-deep); }
.footer-col address { font-style: normal; margin-top: 16px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }
.site-footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; color: var(--ink-faint); }
.site-footer__bottom a { color: var(--ink-faint); }
.site-footer__bottom a:hover { color: var(--blue-deep); }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--blue-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
