/* Shared site chrome, including before JavaScript mounts. */
.tassenrechner-body .tassenrechner-site-header {
  box-sizing: border-box; margin: 0 !important;
  padding: 20px clamp(16px, 4vw, 64px) !important;
  min-height: 96px; width: 100%; gap: 24px; align-items: center;
}
.tassenrechner-body .tassenrechner-site-header > .wp-block-group { flex: 1 1 auto; min-width: 0; gap: 28px; }
.tassenrechner-body .tassenrechner-site-header > .wp-block-group > .wp-block-group:first-child { flex: 0 0 auto; padding: 0 !important; }
.tassenrechner-body .tassenrechner-site-header .wp-block-site-logo { margin: 0 !important; width: 176px; min-width: 0; }
.tassenrechner-body .tassenrechner-site-header nav > .wp-block-navigation__responsive-container .wp-block-navigation__container { flex-wrap: nowrap; gap: 16px; }
.tassenrechner-body .tassenrechner-site-header nav .wp-block-navigation-item__content { font-size: 16px; white-space: nowrap; }
.tassenrechner-body .tassenrechner-site-header .custom-logo { display: block; width: 100%; height: auto; }
.tassenrechner-body #tassenrechner-header-actions { margin-right: 0 !important; flex: 0 0 auto; }
.tassenrechner-body .tassenrechner-site-header button { min-width: 44px; min-height: 44px; }
.tassenrechner-body .tr-site-footer { margin: 0 !important; }
.tassenrechner-body .tr-site-footer > .wp-block-group { padding: 56px clamp(16px, 4vw, 64px) 24px !important; }
.tassenrechner-body .tr-site-footer .tr-footer-grid { display: grid !important; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px !important; margin: 0 auto 32px; padding: 0 !important; max-width: 1320px; }
.tassenrechner-body .tr-site-footer .wp-block-column { min-width: 0; margin: 0; padding: 0 !important; }
.tassenrechner-body .tr-site-footer .wp-block-site-title { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.2; margin: 0 0 12px; }
.tassenrechner-body .tr-site-footer h3 { font-size: 18px !important; line-height: 1.35; margin: 0 0 12px; }
.tassenrechner-body .tr-site-footer p, .tassenrechner-body .tr-site-footer nav { font-size: 16px !important; line-height: 1.6; }
.tassenrechner-body .tr-site-footer p { margin: 0 0 12px; }
.tassenrechner-body .tr-site-footer a { overflow-wrap: anywhere; }
.tassenrechner-body .tr-site-footer nav a { display: flex; min-height: 44px; align-items: center; }
.tassenrechner-body .tr-site-footer nav ul { gap: 0 !important; }
.tassenrechner-body .tr-site-footer .tr-footer-bottom { max-width: 1320px; margin: 24px auto 0; padding: 0 !important; gap: 20px !important; }
.tassenrechner-body .tr-site-footer .wp-block-social-links { gap: 8px !important; }
.tassenrechner-body .tr-site-footer .wp-block-social-link-anchor { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.tassenrechner-body .tr-site-footer .tr-footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1279px) {
  .tassenrechner-body .tassenrechner-site-header { min-height: 80px; padding-block: 16px !important; gap: 16px; }
  .tassenrechner-body .tassenrechner-site-header > .tr-header-main { display: contents; }
  .tassenrechner-body .tassenrechner-site-header .tr-header-brand { order: 0; margin-right: auto; }
  .tassenrechner-body #tassenrechner-header-actions { order: 1; margin-left: auto !important; }
  .tassenrechner-body .tassenrechner-site-header .tr-header-navigation {
    order: 2; flex: 0 0 auto; margin: 0; padding: 0 0 0 12px !important;
    border-left: 1px solid rgba(27,61,110,.18);
  }
  .tassenrechner-body .tassenrechner-site-header .wp-block-site-logo { width: 140px; }
  .tassenrechner-body .tassenrechner-site-header .wp-block-navigation__responsive-container-open { display: flex !important; align-items: center; justify-content: center; }
  .tassenrechner-body .tassenrechner-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .tassenrechner-body .tassenrechner-site-header .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 10000; display: flex !important; padding: 24px !important; box-sizing: border-box; overflow-y: auto; background: #c5dfef; animation: none !important; transform: none !important; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; position: fixed; right: 16px; top: 16px !important; z-index: 10002; align-items: center; justify-content: center; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation__responsive-container-content { width: 100%; padding-top: 52px; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation__container { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation-item__content { padding-block: 10px; min-height: 44px; box-sizing: border-box; font-size: 19px; line-height: 1.3; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation-item__content { white-space: normal; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation__submenu-container { padding-left: 20px; gap: 0; }
  .tassenrechner-body .tassenrechner-site-header .is-menu-open .wp-block-navigation__submenu-container a { font-size: 16px; }
  .tassenrechner-body .tr-site-footer .tr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px !important; }
}
@media (max-width: 767px) {
  .tassenrechner-body .tassenrechner-site-header { min-height: 76px; padding: 12px 16px !important; gap: 4px; }
  .tassenrechner-body .tassenrechner-site-header .tr-header-navigation { margin-left: 4px; padding-left: 8px !important; }
  .tassenrechner-body .tassenrechner-site-header .wp-block-site-logo { width: 128px; }
  .tassenrechner-body .tr-site-footer > .wp-block-group { padding-top: 40px !important; }
  .tassenrechner-body .tr-site-footer .tr-footer-bottom { display: flex !important; align-items: flex-start !important; flex-direction: column; }
  .tassenrechner-body .tr-site-footer .tr-footer-bottom .wp-block-social-links { justify-content: flex-start !important; }
}
@media (max-width: 599px) {
  .tassenrechner-body .tr-site-footer .tr-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px !important; }
}
@media (max-width: 359px) {
  .tassenrechner-body .tassenrechner-site-header .wp-block-site-logo { width: 112px; }
}
