/* ═══════════════════════════════════════════════════
   BORS-Monitor – Custom CSS (1:1 from Wireframe V4)
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #2A3287;
  --blue-light:#e8eaf6;
  --blue-dark: #1d2460;
  --white:     #ffffff;
  --g100:      #f2f2f2;
  --g200:      #e0e0e0;
  --g300:      #c4c4c4;
  --g400:      #aaaaaa;
  --g500:      #888;
  --g700:      #444;
  --g900:      #111;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--white);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  /* Safe area for notched devices */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ═══════ HEADER (Dachmarke-Stil) ═══════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  height: 80px;
  transition: height .3s;
}
.site-header.is-scrolled .header-container { height: 64px; }
.header-logo-link { display: flex; align-items: center; flex-shrink: 0; transition: opacity .3s; }
.header-logo-img { height: 48px; width: auto; transition: height .3s; }
.site-header.is-scrolled .header-logo-img { height: 36px; }
.header-right { justify-self: end; display: flex; align-items: center; }

/* Burger – immer zentriert in Spalte 2 */
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  justify-self: center;
  grid-column: 2;
  background: none; border: none; cursor: pointer;
  padding: .5rem; z-index: 1100;
  width: 48px; height: 48px;
  border-radius: 8px; transition: background .2s, transform .3s;
  -webkit-tap-highlight-color: transparent;
}
.header-right { grid-column: 3; }
.menu-toggle:hover { background: rgba(42,50,135,.06); transform: scale(1.08); }
.burger-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 22px; height: 16px; padding: 0;
  background: none; border: none; cursor: pointer;
  pointer-events: none;
}
.burger-line {
  width: 22px; height: 2px; background: var(--g700); border-radius: 2px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  transform-origin: center; position: relative;
}

/* Burger → X bei offenem Menü */
.site-header.nav-open { background: transparent; box-shadow: none; }
.site-header.nav-open .burger-line { background: #fff; }
.site-header.nav-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .burger-line:nth-child(2) { opacity: 0; width: 0; }
.site-header.nav-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.nav-open .header-logo-img { opacity: 0; transition: opacity .2s; }
.site-header.nav-open .header-right { opacity: 0; pointer-events: none; transition: opacity .2s; }

/* Burger Overlay (Fullscreen) */
.burger-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: linear-gradient(160deg, var(--blue) 0%, #1e2668 60%, #151b4a 100%);
  display: flex; align-items: center; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity .4s cubic-bezier(.4,0,.2,1), visibility .4s, transform .4s cubic-bezier(.4,0,.2,1);
}
.burger-overlay.is-open { opacity: 1; visibility: visible; transform: scale(1); }

/* Weisses Logo im Overlay */
.nav-overlay-logo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1110;
  height: 80px; display: flex; align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  opacity: 0; transition: opacity .3s .15s; pointer-events: none;
}
.nav-overlay-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.burger-overlay.is-open .nav-overlay-logo { opacity: 1; }

/* Close-Button im Overlay – zentriert wie Burger */
.nav-close {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%) scale(.8);
  z-index: 1120; background: rgba(255,255,255,.1); border: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0;
  margin-top: 16px;
  transition: opacity .3s .2s, transform .4s .2s cubic-bezier(.34,1.56,.64,1), background .2s;
}
.nav-close:hover { background: rgba(255,255,255,.2); }
.burger-overlay.is-open .nav-close { opacity: 1; transform: translateX(-50%) scale(1); }

/* Nav-Links im Overlay */
.burger-nav { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.burger-nav a {
  color: #fff; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600;
  padding: .5rem 1rem; transition: opacity .2s, transform .3s, letter-spacing .3s;
  opacity: 0; transform: translateY(20px); text-decoration: none;
}
.burger-overlay.is-open .burger-nav a { opacity: 1; transform: translateY(0); }
.burger-nav a:nth-child(1) { transition-delay: .1s; }
.burger-nav a:nth-child(2) { transition-delay: .15s; }
.burger-nav a:nth-child(3) { transition-delay: .2s; }
.burger-nav a:nth-child(4) { transition-delay: .25s; }
.burger-nav a:nth-child(5) { transition-delay: .3s; }
.burger-nav a:nth-child(6) { transition-delay: .35s; }
.burger-nav a:nth-child(7) { transition-delay: .4s; }
.burger-nav a:nth-child(8) { transition-delay: .45s; }
.burger-nav a:hover { opacity: .7; color: #fff; letter-spacing: 2px; }
.burger-nav hr { width: 60px; border: none; border-top: 1px solid rgba(255,255,255,.2); margin: .5rem 0; opacity: 0; }
.burger-overlay.is-open .burger-nav hr { opacity: 1; transition: opacity .5s .3s; }
.burger-nav a.nav-cta {
  font-size: clamp(1rem, 2vw, 1.1rem); font-weight: 700;
  padding: .75rem 2rem; border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px; margin-top: .5rem;
  transition: opacity .2s, transform .3s, background .3s, border-color .3s;
}
.burger-nav a.nav-cta:hover { background: rgba(255,255,255,.1); border-color: #fff; letter-spacing: normal; }
.nav-footer-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; opacity: 0; transition: opacity .5s .5s;
}
.burger-overlay.is-open .nav-footer-hint { opacity: 1; }

/* ═══════ DRAFT STRIP ═══════ */
.draft-strip {
  background: var(--g100); border-bottom: 1px solid var(--g200);
  padding: 6px 16px; display: flex; align-items: center;
  justify-content: center; gap: 6px; flex-wrap: wrap;
}
@media (min-width: 640px) { .draft-strip { justify-content: space-between; padding: 6px 24px; } }
@media (min-width: 900px) { .draft-strip { padding: 6px 40px; } }
.d-badge {
  font-size: 9px; font-weight: 700; color: var(--g400);
  text-transform: uppercase; letter-spacing: 1.5px;
  display: flex; align-items: center; gap: 5px;
}
.d-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g300); flex-shrink: 0; }
.d-meta { font-size: 9.5px; color: var(--g400); }

/* ═══════ WIREFRAME SECTIONS ═══════ */
.sec {
  padding: 28px 16px;
  border-bottom: 1px solid var(--g200);
  position: relative;
}
.sec.alt { background: var(--g100); }
.sec.no-border { border-bottom: none; }
.inner { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) {
  .sec { padding: 36px 24px; }
  .inner { padding: 0 24px; }
}
@media (min-width: 900px) {
  .sec { padding: 44px 0; }
  .inner { padding: 0 40px; }
}

/* Section label */
.sec-lbl {
  display: inline-block;
  background: var(--g900); color: var(--white);
  font-size: 8px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 2px 8px; margin-bottom: 16px;
}

/* Concept label */
.concept {
  font-size: 11px; font-weight: 700; color: var(--g500);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px; display: block;
}

/* Section headline */
.wf-title {
  font-size: 20px; font-weight: 800; color: var(--g900);
  line-height: 1.25; margin-bottom: 10px;
  word-break: break-word;
}
@media (min-width: 640px) { .wf-title { font-size: 26px; } }
@media (min-width: 900px) { .wf-title { font-size: 30px; } }

.wf-sub {
  font-size: 14px; font-weight: 700; color: var(--g700);
  margin-bottom: 8px;
}

/* Body text = grey bars */
.bars { display: flex; flex-direction: column; gap: 7px; }
.bar {
  height: 10px; background: var(--g200); border-radius: 2px;
}
.bar.w100 { width: 100%; }
.bar.w85  { width: 85%; }
.bar.w80  { width: 80%; }
.bar.w75  { width: 75%; }
.bar.w70  { width: 70%; }
.bar.w65  { width: 65%; }
.bar.w60  { width: 60%; }
.bar.w55  { width: 55%; }
.bar.w50  { width: 50%; }
.bar.w40  { width: 40%; }

/* Placeholder image box */
.ph-img {
  background: var(--g100); border: 1.5px solid var(--g300);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
}
.ph-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .8px), var(--g300) calc(50% - .8px), var(--g300) calc(50% + .8px), transparent calc(50% + .8px)),
    linear-gradient(to bottom left,  transparent calc(50% - .8px), var(--g300) calc(50% - .8px), var(--g300) calc(50% + .8px), transparent calc(50% + .8px));
}
.ph-img .lbl {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.85);
  padding: 3px 10px; font-size: 9.5px; font-weight: 700;
  color: var(--g400); text-transform: uppercase; letter-spacing: .7px;
  text-align: center; line-height: 1.6;
}

/* Generic placeholder */
.ph-box {
  background: var(--g100); border: 1.5px solid var(--g300);
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; color: var(--g400);
  text-transform: uppercase; letter-spacing: .7px;
  text-align: center; padding: 10px;
}

/* ═══════ BUTTONS ═══════ */
.btn-solid {
  display: inline-block; height: 44px; min-width: 120px;
  background: var(--g900); margin-right: 8px; margin-top: 12px;
  vertical-align: top; position: relative;
}
@media (max-width: 479px) {
  .btn-solid { display: block; width: 100%; margin-right: 0; }
}
.btn-solid .btn-lbl {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: .8px;
}
.btn-out {
  display: inline-block; height: 44px; min-width: 120px;
  border: 2px solid var(--g900); margin-right: 8px; margin-top: 12px;
  vertical-align: top; position: relative;
}
@media (max-width: 479px) {
  .btn-out { display: block; width: 100%; margin-right: 0; }
}
.btn-out .btn-lbl {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--g700);
  text-transform: uppercase; letter-spacing: .8px;
}
.btn-row { display: flex; gap: 8px; margin-top: 12px; }
.btn-half { flex: 1; min-width: 0 !important; margin-right: 0 !important; margin-top: 0 !important; display: block !important; width: auto !important; }

.btn-full {
  display: block; width: 100%; height: 44px; background: var(--g900);
  margin-top: 12px; position: relative;
}
.btn-full .btn-lbl {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: .8px;
}

/* ═══════ GRIDS ═══════ */
.g2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .g2 { grid-template-columns: 1fr 1fr; gap: 20px; } }

.g3 { display: grid; gap: 14px; }
@media (min-width: 640px) { .g3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

.g4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--g200); border: 1px solid var(--g200); }
@media (min-width: 640px) { .g4 { grid-template-columns: repeat(4,1fr); } }

.g-hero { display: grid; gap: 20px; }
@media (min-width: 900px) { .g-hero { grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: center; } }

.g-form { display: grid; gap: 24px; }
@media (min-width: 900px) { .g-form { grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; } }

.g-map { display: grid; gap: 20px; }
@media (min-width: 640px) { .g-map { grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; } }

/* ═══════ CARD ═══════ */
.card { border: 1.5px solid var(--g200); padding: 20px; background: var(--white); }

/* ═══════ STEPS ═══════ */
.step-list { display: flex; flex-direction: column; }
@media (min-width: 640px) { .step-list { flex-direction: row; gap: 0; } }

.step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--g100);
  flex: 1;
}
.step:last-child { border-bottom: none; }
@media (min-width: 640px) {
  .step { flex-direction: column; gap: 10px; padding: 0 24px 0 0; border-bottom: none; border-right: 1px solid var(--g100); }
  .step:last-child { border-right: none; padding-right: 0; }
}
.step-n {
  width: 28px; height: 28px; border: 2px solid var(--g300); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: var(--g400); flex-shrink: 0;
}
.step-icon { height: 44px; width: 100%; display: none; }
@media (min-width: 640px) { .step-icon { display: block; } }

/* ═══════ TRUST ═══════ */
.trust-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
.trust-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .trust-row { flex-wrap: wrap; overflow-x: visible; } }
.trust-box { flex-shrink: 0; width: 80px; height: 38px; background: var(--g100); border: 1.5px solid var(--g300); }
.trust-more { flex-shrink: 0; height: 38px; background: var(--g100); border: 1.5px solid var(--g300); display: flex; align-items: center; justify-content: center; padding: 0 12px; font-size: 9.5px; font-weight: 700; color: var(--g400); opacity: .5; text-transform: uppercase; letter-spacing: .5px; }

/* ═══════ FORM ═══════ */
.f-group { margin-bottom: 13px; }
.f-lbl-bar { height: 8px; background: var(--g200); border-radius: 2px; width: 35%; margin-bottom: 6px; }
.f-field { height: 36px; width: 100%; background: var(--g100); border: 1.5px solid var(--g300); }
.f-area  { height: 60px; width: 100%; background: var(--g100); border: 1.5px solid var(--g300); }
.f-2col  { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 13px; }
@media (min-width: 480px) { .f-2col { grid-template-columns: 1fr 1fr; } }
.f-radio-row { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.f-radio { display: flex; align-items: center; gap: 8px; }
.f-r-dot { width: 13px; height: 13px; border: 2px solid var(--g300); border-radius: 50%; flex-shrink: 0; }
.f-r-dot.on { border-color: var(--g900); background: radial-gradient(circle, var(--g900) 38%, transparent 40%); }
.f-r-bar { height: 9px; background: var(--g200); border-radius: 2px; }

/* ═══════ STAT ═══════ */
.stat { background: var(--white); padding: 18px 12px; text-align: center; }
.stat-n { display: block; font-size: 34px; font-weight: 800; color: var(--g900); line-height: 1; margin-bottom: 8px; }
.stat-bar { height: 9px; background: var(--g200); border-radius: 2px; width: 60%; margin: 0 auto; }

/* ═══════ RULE ═══════ */
.rule { border: none; border-top: 1px solid var(--g200); margin: 12px 0; }

/* ═══════ NOTE ═══════ */
.note { font-size: 10px; color: var(--g400); font-style: italic; margin-top: 8px; display: flex; align-items: flex-start; gap: 5px; line-height: 1.5; }
.note::before { content: '↳'; flex-shrink: 0; }

/* ═══════ FOOTER (Dachmarke-Stil) ═══════ */
.site-footer { background: var(--blue-dark); color: #fff; }
.footer-container {
  max-width: 1280px; margin: 0 auto;
  padding: 1rem 1.5rem;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo { display: flex; align-items: center; transition: opacity .2s; text-decoration: none; }
.footer-logo:hover { opacity: .8; }
.footer-logo img { height: 48px; width: auto; }
.footer-center {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: rgba(255,255,255,.55);
  flex-wrap: wrap; justify-content: center;
}
.footer-center a {
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s; position: relative;
}
.footer-center a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: #fff; transition: width .3s;
}
.footer-center a:hover { color: #fff; }
.footer-center a:hover::after { width: 100%; }
.footer-center-sep { color: rgba(255,255,255,.25); }
.footer-social {
  justify-self: end;
  display: flex; align-items: center; gap: .5rem;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.6); transition: all .2s;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.footer-social a:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5);
  color: #fff; transform: translateY(-2px);
}
@media (max-width: 767px) {
  .footer-row { grid-template-columns: 1fr; justify-items: center; gap: 1rem; }
  .footer-center { justify-content: center; font-size: .75rem; }
  .footer-social { justify-self: center; }
}

/* ═══════ RESPONSIVE HEADER ═══════ */
@media (max-width: 600px) {
  .header-container { height: 64px; }
  .header-logo-img { height: 36px; }
  .site-header.is-scrolled .header-logo-img { height: 28px; }
  .burger-nav a { padding: .75rem 1.25rem; font-size: 1.25rem; }
  .nav-close { width: 52px; height: 52px; }
}
@media (max-width: 380px) {
  .header-logo-img { height: 30px; }
}

/* ═══════ WP BLOCK OVERRIDES ═══════ */
.wp-site-blocks { padding: 0 !important; }
.wp-block-template-part { display: contents; }

/* ═══════ WORDPRESS FSE BLOCK COMPATIBILITY ═══════ */

/* Section inner content: custom spacing only */
.inner > * { margin-block: 0; }

/* Grid / flex children: no WP block spacing */
.g-hero > *, .g2 > *, .g3 > *, .g4 > *,
.g-form > *, .g-map > *, .step-list > *,
.footer-row > *, .trust-row > *, .draft-strip > * {
  margin-block: 0 !important;
  min-width: 0;
}

/* WordPress buttons: theme styling */
.sec .wp-block-buttons { margin-top: 12px; }
.sec .wp-block-button__link {
  border-radius: 0 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  text-decoration: none !important;
}
.sec .wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid currentColor !important;
  background: transparent !important;
}

/* WordPress image in sections */
.sec .wp-block-image { margin: 0; }

/* WordPress separator as rule */
.sec .wp-block-separator.rule {
  border: none;
  border-top: 1px solid var(--g200);
  margin: 12px 0;
  opacity: 1;
}

/* Header: wp:site-logo support */
.header-container .wp-block-site-logo {
  display: flex; align-items: center; flex-shrink: 0;
  transition: opacity .3s;
}
.header-container .wp-block-site-logo a { display: flex; align-items: center; }
.header-container .wp-block-site-logo img {
  height: 48px; width: auto; transition: height .3s;
}
.site-header.is-scrolled .wp-block-site-logo img { height: 36px; }
.site-header.nav-open .wp-block-site-logo { opacity: 0; transition: opacity .2s; }
.site-header.nav-open .wp-block-site-logo + * { /* keep burger visible */ }

@media (max-width: 600px) {
  .header-container .wp-block-site-logo img { height: 36px; }
  .site-header.is-scrolled .wp-block-site-logo img { height: 28px; }
}
@media (max-width: 380px) {
  .header-container .wp-block-site-logo img { height: 30px; }
}

/* Footer: wp:image logo sizing */
.footer-row > .wp-block-image { margin: 0; }
.footer-row > .wp-block-image img { height: 48px; width: auto; }
.footer-row > .wp-block-group { margin: 0; }

/* Footer: wp:social-links styling */
.footer-social.wp-block-social-links {
  justify-self: end;
  display: flex; align-items: center; gap: .5rem;
}
.footer-social.wp-block-social-links .wp-social-link {
  margin: 0 !important;
}
.footer-social.wp-block-social-links .wp-social-link a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.6) !important;
  background: transparent !important;
  padding: 0; transition: all .2s;
}
.footer-social.wp-block-social-links .wp-social-link a:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
  transform: translateY(-2px);
}
.footer-social.wp-block-social-links .wp-social-link svg {
  width: 16px; height: 16px; fill: currentColor;
}
@media (max-width: 767px) {
  .footer-social.wp-block-social-links { justify-self: center; }
}

/* ═══════ HEADER CONTAINER WP RESET ═══════ */
.header-container > * {
  margin-block: 0 !important;
}

/* ═══════ FOCUS VISIBLE (Keyboard Navigation) ═══════ */
*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.burger-overlay *:focus-visible {
  outline-color: #fff;
}
.site-footer *:focus-visible {
  outline-color: #fff;
}

/* ═══════ SAFE AREA (Notched Devices) ═══════ */
.site-header .header-container {
  padding-left: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right));
}
.site-footer .footer-container {
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}
.burger-overlay {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ═══════ REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .burger-overlay { transition: none; }
  .burger-nav a { transition: none; opacity: 1; transform: none; }
  .burger-overlay.is-open .burger-nav a { opacity: 1; transform: none; }
  .nav-close { transition: none; }
  .nav-overlay-logo { transition: none; }
  .nav-footer-hint { transition: none; }
  .burger-line { transition: none; }
}
