/* ============================================================================
   DD-T Dicht & Dämm Technik GmbH — theme stylesheet
   ----------------------------------------------------------------------------
   Self-contained: no Bootstrap, no jQuery, no icon kit, no Google Fonts, no
   CDN. Every byte comes from our own origin, which is why the site can run
   without a consent banner. Adding a third-party link here changes that.
   Brand colours are sampled from the original logo (navy #133685, brick grey
   #d3d4d6). Barlow / Barlow Condensed (SIL OFL 1.1) are self-hosted below.
   ========================================================================== */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #133685;
  --navy-deep: #0c2257;
  --navy-ink: #0a1a40;
  --brick: #d3d4d6;
  --brick-soft: #eceef1;
  --paper: #ffffff;
  --paper-soft: #f5f6f8;
  --ink: #1b2330;
  --ink-soft: #4b5563;
  --ink-faint: #6b7280;
  --line: #dfe2e7;
  --accent: #f2b705;
  --accent-ink: #1b1600;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(10, 26, 64, 0.10);
  --container: 1200px;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* The platform's compliance bar is replaced by our own footer (see _footer.html). */
#ewSiteFooter { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ffc61a; color: var(--accent-ink); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--navy-ink); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-ink); color: #cfd6e6; font-size: 0.9rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(6px);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(10,26,64,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: block; flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 12px;
  color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 1.02rem;
  border-radius: var(--radius);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--navy); background: var(--brick-soft); }
.btn--nav { padding: 0.7em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(10,26,64,.10);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .btn--nav { margin-top: 16px; }
  .brand__logo { height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,26,64,.97) 0%, rgba(19,54,133,.85) 42%, rgba(19,54,133,.15) 100%);
}
.hero__inner { position: relative; padding: clamp(72px, 11vw, 140px) 20px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40rem; color: #e3e8f3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 46px 0 0; padding: 0; list-style: none; }
.hero__facts li { font-size: 1rem; color: #cfd6e6; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; line-height: 1; }

.page-hero { background: var(--navy-ink); color: #fff; position: relative; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(10,26,64,.95), rgba(19,54,133,.6)); }
.page-hero .container { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #dfe5f2; max-width: 44rem; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .92rem; color: #aab6d0; margin-bottom: 12px; }
.breadcrumb a { color: #fff; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--paper-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }
.section--navy .section-head p { color: #dfe5f2; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.9rem; }
.prose h3 { margin-top: 1.3em; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brick-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .35em; font-size: 1.7rem; font-weight: 700; }
.card__body p { color: var(--ink-soft); }
.card__body ul { color: var(--ink-soft); padding-left: 1.1em; }
.card__more { margin-top: auto; font-weight: 600; color: var(--navy); }
.card__more::after { content: " →"; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }

/* Feature list with check marks */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--navy .checks li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231b1600' stroke-width='3' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Reasons grid */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reason { background: #fff; border-radius: 10px; padding: 28px 24px; border-top: 4px solid var(--navy); box-shadow: 0 2px 10px rgba(10,26,64,.05); }
.reason__num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink-faint); letter-spacing: .1em; }
.reason h3 { margin: .3em 0 .4em; font-size: 1.4rem; }
.reason p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* Detail blocks on service pages */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.detail { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.detail h3 { font-size: 1.5rem; }
.detail p, .detail li { color: var(--ink-soft); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: var(--brick-soft); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  color: #fff; font-size: .95rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(10,26,64,.85));
}
.gallery--wide figure:first-child { grid-column: span 2; }
.gallery--wide figure:first-child img { aspect-ratio: 2 / 1; height: 100%; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,12,30,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; width: auto; border-radius: 6px; }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #dfe5f2; font-size: 1.12rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--brick); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-ink); }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-card { background: var(--paper-soft); border-radius: 10px; padding: 30px; }
.contact-card h3 { font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; }
.contact-list span { color: var(--ink-faint); }
.contact-list a { font-weight: 600; text-decoration: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: .96rem; }
.form input, .form textarea, .form select {
  font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c7ccd4; border-radius: var(--radius); background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid rgba(19,54,133,.25); border-color: var(--navy); }
.form textarea { min-height: 160px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { grid-column: 1 / -1; font-size: .92rem; color: var(--ink-faint); margin: 0; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form__status.is-ok { display: block; background: #e8f5ec; color: #14532d; }
.form__status.is-error { display: block; background: #fdecec; color: #7f1d1d; }
.map-link { display: block; position: relative; border-radius: 10px; overflow: hidden; background: var(--navy-ink); color: #fff; text-decoration: none; padding: 28px; }
.map-link:hover { color: #fff; background: var(--navy-deep); }
.map-link strong { display: block; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 6px; }

/* Floating call button (mobile) */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #c4cde0; font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: .7em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__logo { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 26px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .reasons { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .reasons, .form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery--wide figure:first-child { grid-column: span 2; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .topbar a:last-child { display: none; }
  .call-fab { display: flex; }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
/* ew-site-design */
:root {
  --ew-color-primary: #133685;
  --ew-color-secondary: #0A1A40;
  --ew-color-accent: #F2B705;
  --ew-nav-bg: #FFFFFF;
  --ew-nav-text: #1B2330;
  --ew-link-color: #133685;
  --ew-link-hover: #0C2257;
  --ew-heading-color: #0A1A40;
  --ew-footer-bg: #0A1A40;
  --ew-footer-text: #C4CDE0;
  --ew-footer-link: #FFFFFF;
}
.text-ew-primary{color:var(--ew-color-primary)!important}.bg-ew-primary{background-color:var(--ew-color-primary)!important}.border-ew-primary{border-color:var(--ew-color-primary)!important}.text-ew-secondary{color:var(--ew-color-secondary)!important}.bg-ew-secondary{background-color:var(--ew-color-secondary)!important}.border-ew-secondary{border-color:var(--ew-color-secondary)!important}.text-ew-accent{color:var(--ew-color-accent)!important}.bg-ew-accent{background-color:var(--ew-color-accent)!important}.border-ew-accent{border-color:var(--ew-color-accent)!important}hr{border-top:solid 0.25px #133685;opacity:.25;}#ewSiteFooter{background-color:var(--ew-footer-bg);color:var(--ew-footer-text);}#ewSiteFooter a,#ewSiteFooter .nav-link{color:var(--ew-footer-link);}#ewSiteFooter .ew-footer-bottom{border-top:1px solid color-mix(in srgb, var(--ew-footer-text) 18%, transparent);}#ewSiteFooter .ew-footer-nav{gap:.25rem 1rem;flex-wrap:wrap;}
#ewMainNav { background-color: var(--ew-nav-bg) !important; }
#ewMainNav .navbar-brand,#ewMainNav .nav-link { color: var(--ew-nav-text) !important; }
#ewMainNav .navbar-toggler { border-color: color-mix(in srgb, var(--ew-nav-text) 35%, transparent); }
/* /ew-site-design */