/* Site header + footer (tools/chrome/*.html, injected by tools/build.py). Theme: navy 39,53,130,
   ink 5,13,43, orange 242,140,37, onepage font Onest. Lives outside onepage's #root. */
:root {
    --vr24-navy: #273582;
    --vr24-ink: #050d2b;
    --vr24-orange: #f28c25;
    --vr24-orange-text: #ffb066;   /* orange that passes contrast on the ink background */
}
.vr24-header, .vr24-footer {
    font-family: "Onest", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
.vr24-header *, .vr24-footer * { box-sizing: border-box; }

.vr24-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px; border-radius: 8px;
    background: var(--vr24-orange); color: var(--vr24-ink) !important;   /* white on this orange fails contrast */
    font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
    box-shadow: 0 6px 16px rgba(242, 140, 37, .25);
    transition: background-color .15s, transform .15s;
}
.vr24-btn:hover { background: #ffa04a; transform: translateY(-1px); }
.vr24-btn:focus-visible { outline: 3px solid var(--vr24-navy); outline-offset: 2px; }
.vr24-footer .vr24-btn { box-shadow: none; }
.vr24-footer .vr24-btn:focus-visible { outline-color: #fff; }

/* onepage's own buttons (homepage booking buttons, submit on /bestellanfrage) in the same style;
   not the video's play button, which has the same class */
#root .con-kit-component-button--type-solid:is([href="/bestellanfrage"], [type="submit"]) {
    --color-bg: 242, 140, 37 !important; --color-text: 5, 13, 43 !important; --one-kit-radius: 8px !important;
    background-image: none !important; background-color: #f28c25 !important; color: #050d2b !important;
    border-radius: 8px !important; box-shadow: 0 6px 16px rgba(242, 140, 37, .25) !important;
}
#root .con-kit-component-button--type-solid:is([href="/bestellanfrage"], [type="submit"]) .con-kit-component-button__label { color: inherit !important; font-weight: 700; }
#root .con-kit-component-button--type-solid:is([href="/bestellanfrage"], [type="submit"]):hover { background-color: #ffa04a !important; }
#root .con-kit-component-button--type-solid:is([href="/bestellanfrage"], [type="submit"]):focus-visible { outline: 3px solid #273582; outline-offset: 2px; }

/* header */
html { scroll-padding-top: 88px; }              /* anchors land below the sticky header */
.vr24-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(5, 13, 43, .08);
    transition: box-shadow .2s;
}
.vr24-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 13, 43, .08); }
.vr24-header__inner {
    display: flex; align-items: center; gap: 24px;
    max-width: 1280px; height: 76px; margin: 0 auto; padding: 0 24px;
}
.vr24-header__logo { display: block; flex: 0 0 auto; line-height: 0; margin-right: auto; }
.vr24-header__logo img { width: 232px; height: auto; }
.vr24-header__logo:focus-visible { outline: 2px solid var(--vr24-navy); outline-offset: 6px; border-radius: 4px; }

.vr24-header__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.vr24-header__nav li a {
    position: relative; display: block; padding: 10px 14px; border-radius: 8px;
    color: var(--vr24-ink); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none;
    white-space: nowrap; transition: background-color .15s, color .15s;
}
.vr24-header__nav li a:hover { background: rgba(39, 53, 130, .07); color: var(--vr24-navy); }
.vr24-header__nav li a[aria-current] { color: var(--vr24-navy); box-shadow: inset 0 -3px 0 var(--vr24-orange); border-radius: 0; }
.vr24-header__nav li a:focus-visible { outline: 2px solid var(--vr24-navy); outline-offset: 2px; }
.vr24-header__mobile-extra { display: none; }

.vr24-header__tel {
    display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
    color: var(--vr24-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.vr24-header__tel svg { color: var(--vr24-orange); }
.vr24-header__tel:hover { color: var(--vr24-navy); }
.vr24-header__tel:focus-visible { outline: 2px solid var(--vr24-navy); outline-offset: 4px; border-radius: 4px; }
.vr24-header__cta { flex: 0 0 auto; }

.vr24-header__toggle {
    display: none; position: relative; flex: 0 0 auto;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
    background: transparent; cursor: pointer;
}
.vr24-header__toggle span {
    position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--vr24-ink);
    transition: transform .2s, opacity .2s;
}
.vr24-header__toggle span:nth-child(1) { top: 15px; }
.vr24-header__toggle span:nth-child(2) { top: 21px; }
.vr24-header__toggle span:nth-child(3) { top: 27px; }
.vr24-header.is-open .vr24-header__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vr24-header.is-open .vr24-header__toggle span:nth-child(2) { opacity: 0; }
.vr24-header.is-open .vr24-header__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.vr24-header__toggle:hover { background: rgba(39, 53, 130, .07); }
.vr24-header__toggle:focus-visible { outline: 2px solid var(--vr24-navy); outline-offset: 2px; }

@media (max-width: 1299px) {
    .vr24-header__tel span { display: none; }   /* icon only */
    .vr24-header__tel { width: 44px; height: 44px; justify-content: center; border-radius: 8px; }
    .vr24-header__tel:hover { background: rgba(39, 53, 130, .07); }
}
@media (max-width: 1159px) {                    /* the full header needs ~1132px; keep in sync with site-chrome.js */
    html { scroll-padding-top: 72px; }
    .vr24-header__inner { height: 64px; gap: 12px; padding: 0 16px; }
    .vr24-header__logo img { width: 190px; }
    .vr24-header__toggle { display: block; }
    .vr24-header__tel { width: 44px; height: 44px; justify-content: center; border-radius: 8px; }
    .vr24-header__nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        max-height: calc(100dvh - 64px); overflow: auto;
        padding: 8px 16px 24px; background: #fff;
        border-bottom: 1px solid rgba(5, 13, 43, .08); box-shadow: 0 16px 32px rgba(5, 13, 43, .12);
    }
    .vr24-header.is-open .vr24-header__nav { display: block; }
    .vr24-header__nav ul { flex-direction: column; gap: 0; }
    .vr24-header__nav li a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid rgba(5, 13, 43, .08); font-size: 17px; }
    .vr24-header__mobile-extra { display: block; padding-top: 20px; }
    .vr24-btn--block { display: flex; width: 100%; }
    .vr24-header__phone {
        display: block; margin-top: 14px; text-align: center;
        color: var(--vr24-ink); font-weight: 600; text-decoration: none;
    }
}
@media (max-width: 640px) {
    .vr24-header__cta { display: none; }        /* in the menu instead */
    .vr24-header__logo img { width: 168px; }
}

/* homepage notice about heat pump leads, directly below the header */
.vr24-notice {
    margin: 0; padding: 8px 16px; text-align: center;
    background: #050d2b; color: #fff; font: 500 15px/1.4 "Onest", system-ui, sans-serif;
}
.vr24-notice strong { margin: 0 4px; padding: 2px 8px; border-radius: 4px; background: #f28c25; color: #050d2b; font-size: 13px; }
.vr24-notice a { margin-left: 6px; color: #ffb066; font-weight: 600; white-space: nowrap; }
.vr24-notice a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* footer */
.vr24-footer { background: var(--vr24-ink); color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.vr24-footer a { color: #fff; text-decoration: none; }
.vr24-footer a:hover { color: var(--vr24-orange-text); }
.vr24-footer a:focus-visible { outline: 2px solid var(--vr24-orange); outline-offset: 3px; border-radius: 2px; }
.vr24-footer__inner {
    display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 40px;
    max-width: 1200px; margin: 0 auto; padding: 64px 24px 48px;
}
.vr24-footer h2 {
    margin: 0 0 16px; color: #fff;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.vr24-footer ul { margin: 0; padding: 0; list-style: none; }
.vr24-footer li { margin: 0 0 10px; }
.vr24-footer p { margin: 0; }
.vr24-footer address { font-style: normal; margin: 0 0 16px; }

.vr24-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.vr24-footer__logo img { width: 48px; height: 48px; }
.vr24-footer__logo span { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.vr24-footer__logo em { font-style: normal; color: var(--vr24-orange-text); }
.vr24-footer a.vr24-footer__logo:hover { color: inherit; }
.vr24-footer__brand p { max-width: 280px; }

.vr24-footer__contact li { margin-bottom: 12px; }
.vr24-footer__contact span { display: block; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .55); }

.vr24-footer__card { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.vr24-footer__card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid rgba(255, 255, 255, .15); }
.vr24-footer__card strong { display: block; color: #fff; font-weight: 600; }
.vr24-footer__card span { display: block; font-size: 14px; color: rgba(255, 255, 255, .6); }

.vr24-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.vr24-footer__inner--bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: rgba(255, 255, 255, .6);
}
.vr24-footer__inner--bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.vr24-footer__inner--bottom a { color: rgba(255, 255, 255, .78); }

@media (max-width: 1023px) {
    .vr24-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-top: 48px; }
}
@media (max-width: 600px) {
    .vr24-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 16px 32px; }
    .vr24-footer__inner--bottom { flex-direction: column; align-items: flex-start; padding: 20px 16px 28px; }
}

@media print { .vr24-header, .vr24-footer { display: none; } }
