/* ==========================================================================
   Seniorenservice Münster – stylesheet (Version 1 = exact copy)
   Built with the website toolkit, 2026-10-21. Live site: WordPress.
   HOW TO CHANGE THINGS: all editable values are in section 1 ("Settings").
   Sizes = pixels on a large laptop (measured at 1728 px, reference ≥ 1440 px).
   ========================================================================== */

/* 1. SETTINGS (CI values, see 00-docs/ci-values.md) ======================== */
:root {
  --color-navy:       #183341;  /* headings, text, dark sections, footer   */
  --color-navy-dark:  #152C38;  /* copyright bar                            */
  --color-green:      #99C556;  /* buttons, Telefon box, logo green         */
  --color-green-hover:#7FA944;
  --color-page-bg:    #FFFFFF;
  --color-light-bg:   #F9F9F9;  /* light sections                           */
  --color-grey-box:   #EAEAEA;  /* Postanschrift box                        */
  --color-footer-link:#8B99A0;
  --color-on-dark:    #FFFFFF;
  --color-frame:      #E6E6E6;  /* thin frame around logos                  */
  --color-focus:      #1A5FB4;

  --font-heading: "Montserrat", Arial, sans-serif;
  --font-text:    "Lora", Georgia, serif;

  --fs-hero:   76;   /* Betreuen. Wohnen. Leben.        */
  --fs-hero-sub: 28;
  --fs-h2:     48;   /* section headings                */
  --fs-h3:     47;   /* Zuhause Sein im Alter            */
  --fs-lead:   27;   /* large intro text (Lora)         */
  --fs-text:   18;   /* normal text (Lora)              */
  --fs-nav:    15;
  --fs-label:  15;   /* uppercase small labels          */
  --fs-legal-h:24;   /* headings on legal pages         */

  --width-content: 946;   /* normal text column            */
  --width-legal:   746;   /* narrow column (Datenschutz, AGB) */
  --header-height: 80;
}

/* 2. AUTOMATIC SCALING ====================================================== */
:root {
  --a11y-text: 1; --a11y-ui: 1;
  --u: calc(clamp(0.55px, calc(100vw / 1440), 1px) * var(--a11y-ui));
  --t: calc(clamp(0.88px, calc(0.6px + 100vw / 3600), 1px) * var(--a11y-text));
}

/* 3. FONTS (local files, no Google connection) ============================= */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/lora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: italic; font-display: swap; src: url("../assets/fonts/lora-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/lora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 700; font-style: italic; font-display: swap; src: url("../assets/fonts/lora-latin-700-italic.woff2") format("woff2"); }

/* 4. BASE =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) * 1px); }
body { margin: 0; background: var(--color-page-bg); color: var(--color-navy); font-family: var(--font-text); font-size: calc(var(--fs-text) * var(--t)); line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.box-navy a { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-navy); }
p { margin: 0; }
p + p { margin-top: 1.4em; }
strong { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner { width: 100%; max-width: calc(var(--width-content) * var(--u) + 48px); margin: 0 auto; padding: 0 24px; }
.inner--legal { max-width: calc(var(--width-legal) * var(--u) + 48px); }
.section { padding: calc(110 * var(--u)) 0; }
.section--light { background: var(--color-light-bg); }
.section--navy { background: var(--color-navy); color: var(--color-on-dark); }
.label { font-family: var(--font-heading); font-weight: 500; font-size: calc(var(--fs-label) * var(--t)); letter-spacing: .1em; text-transform: uppercase; line-height: 2.05; }
.lead { font-size: calc(var(--fs-lead) * var(--t)); line-height: 1.7; }
.section h2 { font-size: calc(var(--fs-h2) * var(--u)); line-height: 1.2; margin: calc(18 * var(--u)) 0 calc(30 * var(--u)); }
.section h2:first-child { margin-top: 0; }
.lead + p { margin-top: calc(34 * var(--u)); }

/* button (green pill) */
.button { display: inline-flex; align-items: center; justify-content: center; min-width: calc(192 * var(--u)); min-height: 52px; padding: 0 calc(60 * var(--u)); margin-top: calc(50 * var(--u)); border-radius: 999px; background: var(--color-green); color: #fff; font-family: var(--font-heading); font-weight: 400; font-size: calc(15 * var(--t)); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .3s; }
.button--large { min-height: 64px; padding: 0 calc(80 * var(--u)); font-size: calc(16 * var(--t)); }
.button:hover, .button:focus-visible { background: var(--color-green-hover); }

/* 5. BLOCK: site-header (sticky white bar) ================================= */
.site-header { position: sticky; top: 0; z-index: 50; height: calc(var(--header-height) * 1px); display: flex; align-items: center; justify-content: space-between; padding-left: calc(62 * var(--u)); background: rgba(248, 248, 248, .97); box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.site-header__logo img { width: calc(196 * var(--u)); min-width: 150px; height: auto; }
.site-header__right { display: flex; align-items: center; height: 100%; }
.main-nav ul { display: flex; gap: calc(39 * var(--u)); list-style: none; margin: 0 calc(20 * var(--u)) 0 0; padding: 0; }
.main-nav a { font-family: var(--font-heading); font-weight: 700; font-size: calc(var(--fs-nav) * var(--t)); letter-spacing: .085em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-green-hover); }
.icon-search-button { width: calc(82 * var(--u)); min-width: 56px; height: 100%; border: 0; border-left: 1px solid #E5E5E5; background: none; cursor: pointer; color: var(--color-navy); display: flex; align-items: center; justify-content: center; }
.icon-search-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.menu-toggle { display: none; width: 56px; height: 100%; border: 0; border-left: 1px solid #E5E5E5; background: none; cursor: pointer; color: var(--color-navy); align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.search-cover { position: absolute; inset: 0; display: none; align-items: center; gap: 12px; padding: 0 calc(62 * var(--u)); background: #F8F8F8; }
.site-header.is-search-open .search-cover { display: flex; }
.search-cover input { flex: 1; height: 50px; border: 0; border-bottom: 2px solid var(--color-navy); background: transparent; font: inherit; font-size: 20px; color: var(--color-navy); }
.search-cover button { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--color-navy); }
.search-cover svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.mobile-nav { position: fixed; inset: 0; z-index: 100; display: none; padding: 80px 32px; background: var(--color-navy); overflow: auto; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { margin-top: 18px; }
.mobile-nav a { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mobile-nav__close { position: absolute; right: 20px; top: 16px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 40px; cursor: pointer; }

/* 6. BLOCK: hero (photo, centred title) ===================================== */
.hero { position: relative; min-height: calc(850 * var(--u)); background: #6a8 center 20% / cover no-repeat; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 24px; }
.hero h1 { color: #fff; font-weight: 700; font-size: calc(var(--fs-hero) * var(--u)); line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero h1 em { font-family: var(--font-text); font-weight: 400; font-style: italic; }
.hero__sub { margin-top: calc(26 * var(--u)); font-size: calc(var(--fs-hero-sub) * var(--t)); line-height: 1.68; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.hero__box { width: min(calc(750 * var(--u)), 100%); min-height: calc(120 * var(--u)); margin-top: calc(48 * var(--u)); padding: calc(30 * var(--u)) 24px; background: var(--color-green); }

/* 7. BLOCK: image-text (photo 1/3 left, text right) ======================== */
.image-text { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--color-light-bg); }
.image-text--reverse { grid-template-columns: 1fr 1.4fr; }
.image-text__photo { min-height: 420px; background: #ccc center / cover no-repeat; }
.image-text__text { padding: calc(175 * var(--u)) calc(160 * var(--u)) calc(120 * var(--u)) calc(160 * var(--u)); }
.image-text__text > * { max-width: calc(555 * var(--u)); }
.image-text--reverse .image-text__text { padding-top: calc(230 * var(--u)); }
.image-text h2, .image-text h3 { font-size: calc(var(--fs-h3) * var(--u)); line-height: 1.25; margin-bottom: calc(30 * var(--u)); }
.caps { text-transform: uppercase; }
.signature { font-style: italic; margin-top: 1.4em; }

/* 8. BLOCK: logo-grid (logos in thin frames) =============================== */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(25 * var(--u)) calc(25 * var(--u)); margin-top: calc(50 * var(--u)); list-style: none; padding: 0; }
.logo-grid--six { grid-template-columns: repeat(6, 1fr); gap: calc(25 * var(--u)) calc(25 * var(--u)); max-width: calc(1170 * var(--u) + 48px); margin: 0 auto; padding: 0 24px; }
.logo-grid li { border: 1px solid var(--color-frame); padding: 6px; background: #fff; }
.logo-grid a, .logo-grid span { display: block; }
.logo-grid img { width: 100%; height: auto; }

/* 9. BLOCK: quote (navy, centred, Lora italic) ============================= */
.quote { padding: calc(150 * var(--u)) 0 calc(170 * var(--u)); background: var(--color-navy); color: #fff; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: calc(1110 * var(--u)); padding: 0 24px; font-style: italic; font-size: calc(27 * var(--t)); line-height: 1.7; }

/* 10. BLOCK: text-person (text left, portrait right) ======================= */
.text-person { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--color-light-bg); }
.text-person__text { padding: calc(160 * var(--u)) calc(100 * var(--u)) calc(110 * var(--u)) calc(295 * var(--u)); }
.text-person__text > * { max-width: calc(555 * var(--u)); }
.text-person__photo { min-height: 600px; background: #ddd center top / cover no-repeat; }

/* 11. BLOCK: contact-call (Kontakt page top) =============================== */
.contact-call { display: grid; grid-template-columns: 2fr 1fr; }
.contact-call__main { padding: calc(78 * var(--u)) calc(86 * var(--u)) calc(75 * var(--u)); text-align: center; }
.contact-call__label { display: inline-flex; align-items: center; gap: calc(30 * var(--u)); }
.contact-call__label svg { width: 50px; height: 50px; fill: none; stroke: var(--color-navy); stroke-width: 1.4; }
.contact-call__number { display: block; margin-top: calc(18 * var(--u)); font-family: var(--font-heading); font-weight: 700; font-size: calc(47 * var(--u)); line-height: 1.2; text-decoration: none; }
.contact-call h2 { margin: calc(70 * var(--u)) 0 calc(36 * var(--u)); font-family: var(--font-text); font-weight: 400; font-size: calc(27 * var(--u)); }
.contact-call__person { background: var(--color-light-bg); padding: calc(58 * var(--u)) 24px calc(60 * var(--u)); text-align: center; }
.contact-call__person img { width: calc(225 * var(--u)); min-width: 160px; margin: 0 auto calc(42 * var(--u)); }

/* 12. BLOCK: contact-boxes (3 coloured boxes with icon) ===================== */
.contact-boxes { display: grid; grid-template-columns: 1fr 1.03fr 1fr; text-align: center; }
.contact-boxes > div { padding: calc(88 * var(--u)) 24px calc(86 * var(--u)); }
.contact-boxes svg { width: 78px; height: 78px; fill: none; stroke: currentColor; stroke-width: 1.6; margin: 0 auto; display: block; }
.contact-boxes h2 { margin: calc(38 * var(--u)) 0 calc(24 * var(--u)); font-size: calc(26 * var(--u)); color: inherit; }
.box-grey { background: var(--color-grey-box); }
.box-green { background: var(--color-green); color: #fff; }
.box-navy { background: var(--color-navy); color: #fff; }

/* 13. BLOCK: region-banner (photo with large mixed heading) ================= */
.region { position: relative; padding: calc(150 * var(--u)) 24px calc(150 * var(--u)); background: #567 center / cover no-repeat; color: #fff; text-align: center; }
.region::before { content: ""; position: absolute; inset: 0; background: rgba(24, 51, 65, .2); }
.region > * { position: relative; }
.region h2 { color: #fff; font-size: calc(54 * var(--u)); line-height: 1.04; max-width: calc(1320 * var(--u)); margin: 0 auto; }
.region h2 em { font-family: var(--font-text); font-weight: 400; }
.region p { margin: calc(40 * var(--u)) auto 0; max-width: calc(1400 * var(--u)); font-family: var(--font-heading); font-weight: 500; font-size: calc(14 * var(--t)); letter-spacing: .08em; line-height: 1.8; text-transform: uppercase; }

/* 14. BLOCK: impressum (text left, portrait right) ========================= */
.impressum { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--color-light-bg); }
.impressum__text { padding: calc(120 * var(--u)) 40px calc(70 * var(--u)) calc(295 * var(--u)); }
.impressum__text h1 { font-size: calc(38 * var(--u)); margin: calc(28 * var(--u)) 0 calc(36 * var(--u)); }
.impressum__photo { min-height: 640px; background: #fff center top / cover no-repeat; }

/* 15. BLOCK: legal-text (narrow column) ==================================== */
.legal { padding: calc(130 * var(--u)) 0 calc(110 * var(--u)); }
.legal h1, .legal h2 { font-size: calc(var(--fs-legal-h) * var(--u)); line-height: 1.32; margin: 0 0 calc(28 * var(--u)); }
.legal h1 { font-size: calc(28 * var(--u)); }
.legal h2.big { font-size: calc(28 * var(--u)); }
.legal h3 { font-size: calc(19 * var(--u)); line-height: 1.4; margin: calc(34 * var(--u)) 0 calc(26 * var(--u)); }
.legal h4 { font-family: var(--font-text); font-size: calc(var(--fs-text) * var(--t)); margin: calc(30 * var(--u)) 0 calc(26 * var(--u)); }
.legal p + h3, .legal ul + h3 { margin-top: calc(34 * var(--u)); }
.legal ul { margin: 1em 0; padding-left: 1.4em; }

/* 16. BLOCK: footer ======================================================== */
.site-footer { background: var(--color-navy); color: var(--color-footer-link); }
.site-footer__grid { display: grid; grid-template-columns: calc(390 * var(--u)) calc(410 * var(--u)) auto; gap: 0; padding: calc(120 * var(--u)) 24px calc(80 * var(--u)) calc(294 * var(--u)); }
.site-footer h2 { font-family: var(--font-heading); font-weight: 500; font-size: calc(14 * var(--t)); letter-spacing: .12em; color: #F5F5F5; margin-bottom: calc(26 * var(--u)); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { font-family: var(--font-heading); font-weight: 700; font-size: calc(14 * var(--t)); letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; text-decoration: none; }
.site-footer li a:hover { color: #fff; }
.site-footer__logo { width: calc(256 * var(--u)); min-width: 160px; margin-top: -10px; }
.site-footer__copy { background: var(--color-navy-dark); }
.site-footer__copy p { padding: calc(40 * var(--u)) 24px calc(40 * var(--u)) calc(294 * var(--u)); font-size: calc(13 * var(--t)); }

/* 17. BLOCK: back-to-top (round navy button) =============================== */
.back-to-top { position: fixed; right: calc(120 * var(--u) + 24px); bottom: 40px; z-index: 30; width: 62px; height: 62px; border-radius: 50%; background: #2C576C; color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 18px; height: 10px; stroke: currentColor; stroke-width: 1.6; fill: none; }

/* 18. BLOCK: search results + 404 ========================================== */
.search-page form { display: flex; gap: 12px; margin: calc(30 * var(--u)) 0; }
.search-page input { flex: 1; min-height: 52px; padding: 0 16px; border: 1px solid #C9CED1; font: inherit; }
.search-page button { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--color-green); color: #fff; font-family: var(--font-heading); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li + li { margin-top: 28px; }
.search-results h3 { font-size: 22px; }
.search-results mark { background: #E3F0CF; }
.error-page ul { margin: 24px 0 0; padding-left: 1.2em; }
.error-page a { text-decoration: underline; }

/* marker for text / images that still have to be copied from the live site */
.todo-text { outline: 2px dashed #E0A800; outline-offset: 6px; color: #A87A00 !important; background: #FFF8E1; }
.todo-text--dark { background: transparent; color: #FFD54A !important; }

/* 19. SMALL SCREENS: only the arrangement changes =========================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 900px) {
  .image-text, .image-text--reverse, .text-person, .impressum, .contact-call, .contact-boxes { grid-template-columns: 1fr; }
  .image-text__text, .image-text--reverse .image-text__text, .text-person__text, .impressum__text { padding: 50px 24px; }
  .image-text__photo, .text-person__photo, .impressum__photo { min-height: 320px; }
  .text-person__photo { order: -1; }
  .logo-grid--six { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; padding-left: 24px; }
  .site-footer__copy p { padding-left: 24px; }
  .back-to-top { right: 16px; }
}
/* ==========================================================================
   BLOCK: accessibility  (Barrierefreiheit – every website, rule 2026-10-08)
   Base (always on): skip link, visible focus frame, reduced motion.
   Accessibility menu (a11y-menu, script scripts/a11y.js): text size,
   contrast (light / dark), underline links, stop animations, more line
   spacing, readable font. Choice is remembered in the browser.
   The menu is an extra – the website itself must already meet WCAG 2.1 AA.
   ========================================================================== */

/* --- skip link (first element in <body>) ------------------------------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 20px; background: #000; color: #fff;
  font-family: var(--font-heading); font-size: 16px; text-decoration: underline;
}
.skip-link:focus { top: 16px; }

/* --- visible focus frame on everything that can be used ------------------ */
:focus-visible { outline: 3px solid var(--color-focus, #1A5FB4); outline-offset: 3px; }
.button:focus-visible { outline-offset: 4px; }

/* --- long words never push the page sideways (zoom / larger text) ------- */
h1, h2, h3, h4, h5, h6, p, li, dd, dt, blockquote, figcaption, td, th { overflow-wrap: break-word; }

/* --- reduced motion (device setting or menu) ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* --- menu options ---------------------------------------------------------- */
html.a11y-links a:not(.button):not(.skip-link) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-spacing body, html.a11y-spacing p, html.a11y-spacing li { line-height: 1.9 !important; letter-spacing: .02em; word-spacing: .08em; }
html.a11y-spacing p + p { margin-top: 1.2em; }
html.a11y-font { --font-heading: Verdana, Tahoma, Arial, sans-serif; --font-editor: Verdana, Tahoma, Arial, sans-serif; --font-theme: Verdana, Tahoma, Arial, sans-serif; --font-lead-alt: Verdana, Tahoma, Arial, sans-serif; }

/* contrast light: black on white, CI colors replaced */
html.a11y-contrast-light {
  --color-primary: #000; --color-primary-hover: #333; --color-on-primary: #fff;
  --color-page-bg: #fff; --color-light-bg: #fff; --color-dark-bg: #000;
  --color-heading: #000; --color-text: #000; --color-text-strong: #000;
  --color-nav: #000; --color-nav-active: #000; --color-muted: #000;
  --color-footer-heading: #fff; --color-footer-text: #fff; --color-border: #000;
  --color-tag-bg: #fff; --color-focus: #C00000;
  --article-bg-a: #fff; --article-bg-b: #fff; --article-box-border: #000;
}
/* contrast dark: yellow / white on black */
html.a11y-contrast-dark {
  --color-primary: #FFE600; --color-primary-hover: #fff; --color-on-primary: #000;
  --color-page-bg: #000; --color-light-bg: #000; --color-dark-bg: #000;
  --color-heading: #FFE600; --color-text: #fff; --color-text-strong: #fff;
  --color-nav: #fff; --color-nav-active: #FFE600; --color-muted: #fff;
  --color-footer-heading: #FFE600; --color-footer-text: #fff; --color-border: #fff;
  --color-tag-bg: #000; --color-focus: #00E5FF; --color-on-image: #fff;
  --article-bg-a: #000; --article-bg-b: #000; --article-box-border: #FFE600;
}
html.a11y-contrast-light body, html.a11y-contrast-dark body { background: var(--color-page-bg); color: var(--color-text); }
html.a11y-contrast-dark a:not(.button) { color: #FFE600; }
html.a11y-contrast-light .section, html.a11y-contrast-dark .section,
html.a11y-contrast-light [class*="bg-"], html.a11y-contrast-dark [class*="bg-"] { background-image: none !important; }
html.a11y-contrast-light .post-card__date, html.a11y-contrast-dark .post-card__date,
html.a11y-contrast-dark .tag-list a, html.a11y-contrast-light .tag-list a,
html.a11y-contrast-light .sidebar-search, html.a11y-contrast-dark .sidebar-search { border: 1px solid currentColor; }
/* text on photos keeps a dark plate in both contrast modes */
html.a11y-contrast-light .hero-slider__content, html.a11y-contrast-dark .hero-slider__content,
html.a11y-contrast-light .page-hero h1, html.a11y-contrast-dark .page-hero h1,
html.a11y-contrast-light .page-hero h2, html.a11y-contrast-dark .page-hero h2 { background: rgba(0,0,0,.85); color: #fff; padding: .2em .4em; }

/* --- the menu itself -------------------------------------------------------- */
.a11y-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid currentColor; border-radius: var(--radius-pill, 999px); background: transparent;
  color: inherit; font-family: var(--font-heading); font-size: 15px; cursor: pointer;
}
.a11y-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.a11y-toggle--floating {
  position: fixed; left: 16px; bottom: 16px; z-index: 900;
  background: #1A5FB4; color: #fff; border-color: #1A5FB4; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.a11y-panel {
  position: fixed; left: 16px; bottom: 76px; z-index: 950;
  width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto;
  padding: 22px; background: #fff; color: #000; border: 2px solid #000; border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { margin: 0 0 14px; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 700; color: #000; }
.a11y-panel fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.a11y-panel legend { margin-bottom: 6px; font-weight: 700; }
.a11y-panel .a11y-row { display: flex; gap: 6px; flex-wrap: wrap; }
.a11y-panel button {
  min-height: 44px; padding: 6px 12px; flex: 1 1 auto;
  border: 2px solid #000; border-radius: 6px; background: #fff; color: #000;
  font: inherit; cursor: pointer;
}
.a11y-panel button[aria-pressed="true"] { background: #000; color: #fff; }
.a11y-panel button:focus-visible { outline: 3px solid #1A5FB4; outline-offset: 2px; }
.a11y-panel .a11y-reset { margin-top: 6px; width: 100%; background: #F2F2F2; }
.a11y-panel .a11y-note { margin: 12px 0 0; font-size: 14px; }
.a11y-panel .a11y-note a, html.a11y-contrast-dark .a11y-panel .a11y-note a { color: #1A5FB4; text-decoration: underline; }
.a11y-panel .a11y-close { position: absolute; right: 10px; top: 10px; flex: none; min-height: 40px; width: 40px; padding: 0; border-width: 1px; font-size: 22px; line-height: 1; }
@media print { .a11y-toggle, .a11y-panel, .skip-link { display: none !important; } }


/* hero: green box with phone number (live site: "feature" box) */
.hero__box svg { width: 50px; height: 50px; fill: none; stroke: #fff; stroke-width: 1.4; margin: 0 auto calc(12 * var(--u)); display: block; }
.hero__phone { font-family: var(--font-heading); font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.2; }
.hero__phone a { color: #fff; text-decoration: none; }
