/* Grundlagen, Typografie, gemeinsame Elemente, Header und Footer. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/wp-content/themes/bricks-child/assets/fonts/manrope-latin-variable.woff2') format('woff2');
}

:root {
  --blue: #2e3865;
  --deep: #222b50;
  --ink: #252b3b;
  --muted: #626775;
  --paper: #f7f7f4;
  --line: #dfe1e7;
  --surface: #fff;
  --font-sans: 'Manrope', Arial, Helvetica, sans-serif;
  --content-width: 1120px;
  --header-width: 1180px;
}

html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
*,
*::before,
*::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 15px/1.8 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; }
button,
a,
summary { touch-action: manipulation; }
button { cursor: pointer; border-radius: 0; }
img { display: block; max-width: 100%; }
h1,
h2,
h3,
p,
figure { margin: 0; }
h1,
h2,
h3 { color: var(--blue); font-family: var(--font-sans); font-weight: 650; line-height: 1.25; }
h1,
h2 { letter-spacing: -1px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; letter-spacing: -.5px; }
a[aria-disabled='true'] { cursor: default; }
[hidden] { display: none !important; }
body.bricks-is-frontend :focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.wrap { width: min(var(--header-width), calc(100% - 80px)); margin-inline: auto; }
.container { width: calc(100% - 96px); max-width: var(--content-width); margin-inline: auto; }
.section { display: block; padding-block: 78px; }
.eyebrow { margin-bottom: 17px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; }
.icon,
.ui-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 1em; fill: currentColor; vertical-align: -.125em; }
.icon { color: var(--blue); }
.contact-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 16px; line-height: 1.6; }
.contact-link > span { min-width: 0; overflow-wrap: anywhere; }
.contact-link .icon { font-size: 16px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--blue);
  color: var(--surface);
  font: 14px/1.5 var(--font-sans);
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.button:is(:hover, :focus-visible) { background: var(--deep); border-color: var(--deep); color: var(--surface); }
.button.outline { background: transparent; color: var(--blue); }
.button.outline:is(:hover, :focus-visible) { background: var(--blue); border-color: var(--blue); color: var(--surface); }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid #9a9fb0; color: var(--blue); font-size: 13px; line-height: 1.5; }
.text-link:is(:hover, :focus-visible) { border-color: var(--blue); }
.site-header { background: var(--surface); box-shadow: 0 1px 0 #303b6526, 0 8px 24px #1420410a; }
.topbar { padding: 7px 0; border-bottom: 1px solid var(--blue); background: var(--blue); color: var(--surface); font-size: 11px; }
.topbar .wrap { display: flex; align-items: center; gap: 25px; }
.topbar .wrap > span { margin-right: auto; }
.topbar .contact-link { gap: 8px; color: inherit; font-size: inherit; line-height: inherit; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 26px; }
.logo { width: 240px; height: auto; }
.main-navigation { color: var(--ink); font-size: 15px; }
.main-navigation .nav-contact { padding: 10px 18px; border: 1px solid var(--blue); }
.menu-toggle { display: none; }
.nav-group { position: relative; }
.nav-submenu { min-width: 235px; padding: 11px 0; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 9px 22px #222b5012; }
.nav-submenu a { display: block; padding: 9px 18px; color: var(--blue); font-size: 14px; line-height: 1.6; white-space: normal; }
.nav-submenu a:hover { background: #f0f2f7; text-decoration: none; }
.site-footer { padding-top: 52px; background: var(--surface); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr 1fr; gap: 30px; padding-bottom: 42px; }
.footer-brand img { width: 195px; height: auto; margin-bottom: 18px; }
.site-footer h2 { margin-bottom: 15px; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 0; }
.site-footer p,
.site-footer a { color: var(--muted); font-size: 12px; line-height: 1.9; }
.footer-main > div > a { display: block; width: fit-content; }
.footer-main > div:not(.footer-brand) > a { margin-top: 6px; }
.footer-main .footer-link { margin-top: 12px; color: var(--blue); text-decoration: underline; text-decoration-color: #b5bdcf; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 21px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-bottom a { font-size: 11px; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 60px; }
}
@media (max-width: 1050px) { .wrap { width: calc(100% - 48px); } }
@media (max-width: 1100px) {
  html { scroll-padding-top: 76px; }
  .topbar { display: none; }
  .header-inner { position: static; min-height: 80px; gap: 20px; }
  .logo { width: 190px; }
  .main-navigation { font-size: 14px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 42px; }
  .header-inner { min-height: 76px; }
  .logo { width: 180px; }
  .button { min-height: 46px; border-radius: 4px; font-size: 12px; }
  .contact-phone { font-size: 23px; font-weight: 550; letter-spacing: -.6px; }
  .contact-email { font-size: 13px; }
  .contact-link .icon { color: #c5cde5; font-size: 16px; }
  .site-footer { padding-top: 35px; }
  .footer-main { gap: 25px 20px; padding-bottom: 30px; }
  .footer-brand,
.footer-main > div:nth-child(2) { grid-column: 1/-1; }
  .footer-brand img { width: 185px; margin-bottom: 16px; }
  .site-footer :is(p, a) { font-size: 11px; }
  .footer-bottom { flex-wrap: wrap; gap: 14px 20px; padding: 19px 0; font-size: 10px; }
  .footer-bottom > span:last-child { width: 100%; font-size: 10px; }
  .footer-bottom a { font-size: 10px; }
}
@media (max-width: 600px) { .wrap { width: calc(100% - 36px); } }
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .logo { width: 165px; }
  .contact-email { font-size: 12px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translateZ(0); }
}
.brx-animate-fadeInUp { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .65, .3, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
*::before,
*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brx-animate-fadeInUp { opacity: 1; transform: none; }
  [data-interaction-hidden-on-load] { opacity: 1 !important; visibility: visible !important; animation: none !important; transform: none !important; }
}
@media print {
  .site-header { display: none; }
  .header-space { height: 0; }
}
