/* ==========================================================================
   Zahnarztpraxis Dr. Höing – site stylesheet
   Plain modern CSS, no build step. Self-hosted fonts (OFL), no external requests.
   Sections: 1 tokens, 2 base, 3 layout/header, 4 hero, 5 content, 6 cards/notice,
             7 forms, 8 footer, 9 utilities/motion
   ========================================================================== */

/* ---------- 0. Fonts (variable, latin subset incl. German umlauts and ß) ---------- */
@font-face {
  font-family: "Figtree";
  src: url("../Fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand: #007CC5 from the logo. Contrast on white: 500 = 4.5 (large text, graphics),
     600 = 5.6 (text, buttons), 700 = 8.6. */
  --c-brand-500: #007cc5;
  --c-brand-600: #006cab;
  --c-brand-700: #00507f;
  --c-navy: #0a2b47;            /* white on navy 14.5 */
  --c-navy-deep: #071f35;
  --c-ink: #0b2133;             /* body text, 16.4 on white */
  --c-ink-soft: #3e5163;        /* secondary text, 8.2 on white */
  --c-sky: #e4f1fa;
  --c-mist: #f1f7fb;
  --c-line: #d3e2ee;
  --c-sun: #ffd27a;             /* warm accent, ink on sun 11.5 */
  --c-sun-soft: #fff1d3;
  --c-white: #fff;

  --font-display: var(--font-body); /* client wants the body face for headlines too */
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-2: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-3: clamp(1.4rem, 1.2rem + 1vw, 2rem);       /* h2 */
  --fs-4: clamp(1.5rem, 1.25rem + 1.7vw, 2.6rem);  /* h1 */
  --fs-5: clamp(2rem, 1.4rem + 3vw, 3.5rem);       /* hero h1 */

  /* smile swoosh from the logo, used as mask: themeable via background colour */
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0.5 5.7 130.4 56'%3E%3Cpath d='M1.492,16.235c1.406-8.696,18.226-9.964,25.248-4.486C22.891,1.124-2.853,7.399,1.492,16.235M130.391,41.909C98.229,68.377,21.695,56.618,14.781,19.482C16.863,63.573,103.868,75.444,130.391,41.909'/%3E%3C/svg%3E");

  --gutter: clamp(1rem, 4vw, 2rem);
  --measure: 68ch;
  --wrap: 74rem;
  --radius-s: 0.75rem;
  --radius: 1.5rem;
  --radius-l: 2.25rem;
  --shadow-s: 0 1px 2px rgb(10 43 71 / 0.08), 0 4px 12px rgb(10 43 71 / 0.06);
  --shadow-m: 0 2px 4px rgb(10 43 71 / 0.06), 0 14px 36px rgb(10 43 71 / 0.12);
  --header-h: 4.75rem;
  --focus: 0 0 0 3px var(--c-white), 0 0 0 6px var(--c-brand-600);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-0);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--c-navy);
  text-wrap: balance;
  overflow-wrap: break-word; /* last-resort fallback only, no hyphenation */
  hyphens: manual;
  margin: 0 0 0.6em;
}
h1 { font-size: var(--fs-4); }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-2); }
h4 { font-size: var(--fs-1); }
p, ul, ol, dl, figure, address { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
address { font-style: normal; }
a { color: var(--c-brand-600); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--c-brand-700); text-decoration-thickness: 0.14em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--c-sun); color: var(--c-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; left: 1rem; top: -4rem; padding: 0.75rem 1.25rem;
  background: var(--c-navy); color: var(--c-white); font-weight: 600; border-radius: var(--radius-s); text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; color: var(--c-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; justify-content: center;
  padding: 0.7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn--primary { background: var(--c-brand-600); color: var(--c-white); }
.btn--primary:hover { background: var(--c-brand-700); color: var(--c-white); transform: translateY(-1px); box-shadow: var(--shadow-s); }
.btn--light { background: var(--c-white); color: var(--c-navy); }
.btn--light:hover { background: var(--c-sun); color: var(--c-ink); }
.btn--outline { border-color: currentColor; color: var(--c-brand-600); background: transparent; }

/* ---------- 3. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.site-header.is-stuck { border-color: var(--c-line); box-shadow: 0 6px 24px rgb(10 43 71 / 0.08); }
.site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-header__brand { display: block; flex: 0 1 17rem; line-height: 0; }
.site-header__brand img { width: 100%; max-width: 17rem; height: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav__list a:not(.btn) {
  display: block; padding: 0.55rem 1rem; border-radius: 999px;
  color: var(--c-ink); font-weight: 600; text-decoration: none; letter-spacing: 0.01em;
}
.site-nav__list a:not(.btn):hover { background: var(--c-sky); color: var(--c-brand-700); }
.site-nav__list a[aria-current="page"] { background: var(--c-sky); color: var(--c-brand-700); box-shadow: inset 0 -3px 0 var(--c-brand-500); border-radius: 0.75rem 0.75rem 0.25rem 0.25rem; }
.site-nav__cta { margin-left: 0.5rem; }
.site-nav__toggle { display: none; }

@media (max-width: 56rem) {
  :root { --header-h: 4.25rem; }
  .site-header__brand { flex-basis: 13rem; }
  .site-nav { position: static; }
  .site-nav__toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem;
    border: 2px solid var(--c-navy); background: transparent; color: var(--c-navy); border-radius: 999px;
    font: 700 1rem var(--font-body); cursor: pointer;
  }
  .site-nav__toggle-bars, .site-nav__toggle-bars::before, .site-nav__toggle-bars::after {
    display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform 0.2s, background-color 0.2s;
  }
  .site-nav__toggle-bars::before, .site-nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .site-nav__toggle-bars::before { top: -6px; }
  .site-nav__toggle-bars::after { top: 6px; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars { background: transparent; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: 1rem var(--gutter) 1.5rem; background: var(--c-white);
    border-bottom: 1px solid var(--c-line); box-shadow: 0 18px 30px rgb(10 43 71 / 0.12);
  }
  .js .site-nav__list { display: none; }
  .js .site-nav__list.is-open { display: flex; }
  .site-nav__list a:not(.btn) { padding: 0.9rem 1rem; font-size: 1.15rem; }
  .site-nav__cta { margin: 0.75rem 0 0; }
  .site-nav__cta .btn { width: 100%; padding-block: 0.95rem; }
}
@media (min-width: 56.01rem) and (max-width: 66rem) {
  .site-nav__cta .btn svg { display: none; }
}

/* ---------- 4. Hero slider ---------- */
.hero { position: relative; isolation: isolate; background: var(--c-navy); color: var(--c-white); overflow: hidden; }
.hero__viewport { position: relative; height: clamp(26rem, 78svh, 46rem); }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.js .hero__slide { opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s 0.9s; }
.js .hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; z-index: 1; }
.hero__slide:not(.is-active) { display: none; }
.js .hero__slide:not(.is-active) { display: flex; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.js .hero__slide.is-active .hero__img { animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgb(7 31 53 / 0.88) 0%, rgb(7 31 53 / 0.55) 34%, rgb(7 31 53 / 0) 68%),
    linear-gradient(90deg, rgb(7 31 53 / 0.45) 0%, rgb(7 31 53 / 0) 60%);
}
.hero__caption {
  position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  padding-block: 0 clamp(5.75rem, 9vw, 6.5rem); max-width: var(--wrap);
}
.hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--fs-5); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 20ch; margin: 0 0 0.5em; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}
.hero__title::after { content: ""; display: block; width: 1.5em; aspect-ratio: 130.4 / 56; margin: -0.25em 0 0 max(-0.8em, -1 * var(--gutter)); /* user spec -0.8em, capped at the gutter so it never gets clipped on narrow screens */ background: var(--c-white); -webkit-mask: var(--swoosh) left / contain no-repeat; mask: var(--swoosh) left / contain no-repeat; }
.hero__text { font-size: var(--fs-1); max-width: 40ch; margin: 0 0 1.25rem; color: #e9f3fb; }
.hero__controls {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(1.25rem, 3vw, 2rem);
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.6rem; border-radius: 999px; background: rgb(7 31 53 / 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__controls[hidden] { display: none; }
.hero__btn {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 0; background: transparent; color: var(--c-white); cursor: pointer; transition: background-color 0.15s;
}
.hero__btn:hover { background: rgb(255 255 255 / 0.18); }
.hero__btn:focus-visible, .hero__dot:focus-visible { box-shadow: 0 0 0 3px var(--c-navy), 0 0 0 6px var(--c-sun); }
.hero__btn--toggle .icon-play { display: none; }
.hero__btn--toggle[data-state="paused"] .icon-play { display: block; }
.hero__btn--toggle[data-state="paused"] .icon-pause { display: none; }
.hero__dots { display: flex; gap: 0.15rem; list-style: none; margin: 0 0.35rem; padding: 0; }
.hero__dot { width: 1.5rem; height: 2.6rem; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero__dot::after { content: ""; position: absolute; left: 0.2rem; right: 0.2rem; top: 50%; height: 0.35rem; margin-top: -0.175rem; border-radius: 99px; background: rgb(255 255 255 / 0.5); transition: background-color 0.2s; }
.hero__dot[aria-current="true"]::after { background: var(--c-sun); }

/* ---------- 5. Page content frames ---------- */
.site-main { display: block; outline: none; }
.frame { padding-block: clamp(2rem, 4.5vw, 4rem); }
.frame__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; container-type: inline-size; }
.site-main > .frame:first-child:not(.frame-type-zmh_heroslider) { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.frame--tinted { background: var(--c-mist); }
.frame--dark { background: var(--c-navy); color: #e4eef6; }
.frame--dark :is(h1, h2, h3, h4) { color: var(--c-white); }
.frame--dark a:not(.btn) { color: var(--c-sun); }
.frame--none { padding: 0; }

/* headings inside frames: smile swoosh from the logo under h1/h2 */
.frame header { max-width: var(--measure); }
.frame header h1::after, .frame header h2::after {
  content: ""; display: block; width: 1.5em; aspect-ratio: 130.4 / 56; margin: -0.25em 0 0 max(-0.8em, -1 * var(--gutter)); /* user spec -0.8em, capped at the gutter so it never gets clipped on narrow screens */
  background: var(--c-brand-500); -webkit-mask: var(--swoosh) left / contain no-repeat; mask: var(--swoosh) left / contain no-repeat;
}
.frame--dark header :is(h1, h2)::after { background: var(--c-white); }
.frame header :is(h2, h3):first-child + :is(h3, h4) { /* subheader acts as role / kicker */
  font-family: var(--font-body); font-size: var(--fs-1); font-weight: 600; letter-spacing: 0; color: var(--c-brand-600); margin-top: -0.2em;
}
.frame--dark header :is(h2, h3):first-child + :is(h3, h4) { color: var(--c-sun); }
.frame header h1 { font-size: var(--fs-4); }
.frame header h1 + h2, .frame header h2 + h3 { margin-bottom: 0.8em; }

.ce-bodytext, .frame .ce-bodytext { max-width: var(--measure); }
.ce-bodytext > :last-child { margin-bottom: 0; }
/* long URLs/e-mail addresses in running text must wrap (WCAG 1.4.10 reflow at 320 px) */
.site-main a { overflow-wrap: anywhere; }
.ce-bodytext :is(ul, ol) { padding-left: 0; list-style: none; }
.ce-bodytext ul > li { position: relative; padding-left: 2rem; margin-bottom: 0.45em; }
.ce-bodytext ul > li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23006cab' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.ce-bodytext ol { counter-reset: n; }
.ce-bodytext ol > li { counter-increment: n; position: relative; padding-left: 2.4rem; margin-bottom: 0.45em; }
.ce-bodytext ol > li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c-brand-600); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }

/* textpic / image (fluid_styled_content markup) */
.ce-textpic { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ce-gallery .ce-outer, .ce-gallery .ce-inner, .ce-row { display: contents; }
.ce-gallery figure, .ce-gallery .image { margin: 0; }
.ce-gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.ce-gallery .ce-column { min-width: 0; }
.ce-textpic .ce-gallery img { box-shadow: 0.6rem 0.6rem 0 var(--c-sky); }
.frame--tinted .ce-textpic .ce-gallery img { box-shadow: 0.6rem 0.6rem 0 var(--c-white); }
.ce-textpic .ce-gallery { margin-bottom: 0.6rem; margin-right: 0.6rem; }
.ce-gallery figcaption { font-size: 0.9rem; color: var(--c-ink-soft); margin-top: 0.6rem; }
@container (min-width: 46rem) {
  .ce-textpic.ce-intext { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ce-textpic.ce-intext.ce-right { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .ce-textpic.ce-intext.ce-right .ce-gallery { order: 2; }
  .ce-textpic.ce-intext.ce-right .ce-bodytext { order: 1; }
  .ce-textpic.ce-intext .ce-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
/* image grid (CType image, textpic with several images) */
.ce-image .ce-gallery, .ce-textpic.ce-above .ce-gallery, .ce-textpic.ce-below .ce-gallery { display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.ce-image .ce-gallery[data-ce-columns="1"], .ce-gallery[data-ce-columns="1"] { grid-template-columns: minmax(0, 1fr); }
.ce-image .ce-gallery[data-ce-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ce-image .ce-gallery[data-ce-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ce-image .ce-gallery[data-ce-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ce-image .ce-row, .ce-above .ce-row, .ce-below .ce-row { display: contents; }
.ce-image .ce-gallery img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-s); }
@container (max-width: 46rem) {
  .ce-image .ce-gallery[data-ce-columns="3"], .ce-image .ce-gallery[data-ce-columns="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 30rem) {
  .ce-image .ce-gallery[data-ce-columns] { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 6. Container grids, cards, notice ---------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.grid__col { min-width: 0; display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-content: start; }
.grid .frame { padding: 0; }
.grid .frame__inner { width: auto; }
@container (min-width: 40rem) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 62rem) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* headers of a container sit above the grid */
.frame-type-zmh-2cols > .frame__inner > header, .frame-type-zmh-3cols > .frame__inner > header { margin-bottom: 1.5rem; }

.team-card {
  height: 100%; display: flex; flex-direction: column; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.team-card__photo { aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--c-sky), var(--c-mist)); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 0; box-shadow: none; }
.team-card__placeholder { width: 100%; height: 100%; display: grid; place-items: end center; color: var(--c-brand-500); opacity: 0.35; }
.team-card__placeholder svg { width: 62%; }
.team-card__body { padding: 1.25rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.team-card__name { font-size: var(--fs-2); margin: 0; }
.team-card__role {
  align-self: flex-start; margin: 0; padding: 0.2rem 0.8rem; border-radius: 999px;
  background: var(--c-sky); color: var(--c-brand-700); font-weight: 700; font-size: 0.9rem; line-height: 1.5;
}
.team-card__text { font-size: 1rem; color: var(--c-ink-soft); margin-top: 0.4rem; }
.team-card__text > :last-child { margin-bottom: 0; }
.grid .frame-type-zmh_teammember, .grid .frame-type-zmh_teammember .frame__inner { height: 100%; }
.grid__col:has(> .frame-type-zmh_teammember), .grid__col:has(.team-card) { align-content: stretch; }

.notice {
  position: relative; display: grid; gap: 1rem 1.75rem; padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: var(--radius-l); border: 2px solid transparent;
}
@container (min-width: 40rem) { .notice { grid-template-columns: auto 1fr; align-items: start; } }
.notice--highlight { background: var(--c-sun-soft); border-color: var(--c-sun); }
.notice--info { background: var(--c-sky); border-color: #b4d8ef; }
.notice__badge {
  margin: 0; justify-self: start; padding: 0.4rem 1rem; border-radius: 999px; background: var(--c-navy); color: var(--c-sun);
  font: 800 0.85rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
}
.notice--info .notice__badge { color: var(--c-white); background: var(--c-brand-600); }
.notice__title { font-size: var(--fs-3); margin: 0 0 0.4em; max-width: none; text-wrap: wrap; hyphens: manual; }
.notice__text { max-width: none; }
.notice__text > :last-child, .notice__body > :last-child { margin-bottom: 0; }
.notice__text strong { color: var(--c-navy); }

/* ---------- 7. Forms (form framework) ---------- */
.frame-type-form_formframework form { max-width: 46rem; display: grid; gap: 1.1rem; }
.frame-type-form_formframework fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.1rem; }
.frame-type-form_formframework legend { font-family: var(--font-display); font-size: var(--fs-2); color: var(--c-navy); padding: 0; margin-bottom: 0.5rem; }
.frame-type-form_formframework .form-group, .frame-type-form_formframework .clearfix { display: grid; gap: 0.35rem; }
.frame-type-form_formframework label { font-weight: 700; color: var(--c-navy); }
.frame-type-form_formframework label .required { color: var(--c-brand-700); }
.frame-type-form_formframework :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], textarea, select) {
  width: 100%; padding: 0.8rem 1rem; font: inherit; color: var(--c-ink); background: var(--c-white);
  border: 2px solid #9db6c8; border-radius: var(--radius-s); transition: border-color 0.15s, box-shadow 0.15s;
}
.frame-type-form_formframework textarea { min-height: 9rem; resize: vertical; }
.frame-type-form_formframework :is(input, textarea, select):hover { border-color: var(--c-brand-500); }
.frame-type-form_formframework :is(input, textarea, select):focus-visible { border-color: var(--c-brand-600); box-shadow: 0 0 0 4px rgb(0 124 197 / 0.25); }
.frame-type-form_formframework :is(input, textarea)[aria-invalid="true"], .frame-type-form_formframework .has-error :is(input, textarea) { border-color: #b3261e; }
.frame-type-form_formframework .error, .frame-type-form_formframework .help-block.error { color: #b3261e; font-weight: 600; font-size: 0.95rem; }
.frame-type-form_formframework .checkbox label, .frame-type-form_formframework .form-check { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 500; color: var(--c-ink); }
.frame-type-form_formframework input[type="checkbox"] { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 0.2rem; accent-color: var(--c-brand-600); }
.frame-type-form_formframework .actions { margin-top: 0.5rem; }
.frame-type-form_formframework button[type="submit"], .frame-type-form_formframework input[type="submit"] {
  padding: 0.9rem 2rem; border: 0; border-radius: 999px; background: var(--c-brand-600); color: #fff; font: 700 1.05rem var(--font-body); cursor: pointer;
}
.frame-type-form_formframework button[type="submit"]:hover { background: var(--c-brand-700); }
.zmh-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 8. Footer ---------- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 6rem); background: var(--c-navy); color: #d4e4f1;
  border-radius: var(--radius-l) var(--radius-l) 0 0; position: relative;
}
.site-footer__inner {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem;
  display: grid; gap: 2.5rem clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.site-footer a { color: var(--c-white); text-decoration-color: rgb(255 255 255 / 0.4); }
.site-footer a:hover { color: var(--c-sun); text-decoration-color: currentColor; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--c-navy), 0 0 0 6px var(--c-sun); }
.site-footer__title { font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-sun); margin: 0 0 1rem; }
.site-footer__address strong { color: var(--c-white); }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.site-footer__label { display: inline-block; min-width: 4.5rem; color: #9cc3de; font-size: 0.9rem; }
.hours { display: grid; gap: 0.6rem; margin: 0; }
.hours__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgb(255 255 255 / 0.15); }
.hours dt { font-weight: 700; color: var(--c-white); }
.hours dd { margin: 0; }
.site-footer__note { font-size: 0.95rem; margin-top: 0.75rem; }
.site-footer__logo { display: block; max-width: 15rem; line-height: 0; margin-bottom: 1.2rem; }
.site-footer__logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.site-footer__tagline { max-width: 30ch; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.site-footer__copy { margin: 0; padding: 1.1rem var(--gutter); text-align: center; font-size: 0.875rem; color: #9cc3de; border-top: 1px solid rgb(255 255 255 / 0.12); }

/* ---------- 9. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .hero__slide, .js .hero__slide.is-active { transition: none; }
}
@media print {
  .site-header, .hero__controls, .skip-link, .site-footer__logo { display: none; }
  body { color: #000; }
  .site-footer { background: none; color: #000; border-radius: 0; }
  .site-footer a { color: #000; }
}

/* form framework layout helpers */
.frame-type-form_formframework .row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.frame-type-form_formframework .row > * { min-width: 0; }
.frame-type-form_formframework .form-element, .frame-type-form_formframework .form-group { display: grid; gap: 0.4rem; margin: 0; }
.frame-type-form_formframework .btn-primary { background: var(--c-brand-600); color: #fff; }
.frame-type-form_formframework .invalid-feedback { color: #b3261e; font-weight: 600; }
.frame-type-form_formframework .form-text { color: var(--c-ink-soft); font-size: 0.9rem; }
