:root {
    --navy: #092842;
    --navy-deep: #061d31;
    --blue: #176da6;
    --blue-bright: #2687c5;
    --red: #c9292e;
    --red-dark: #a91e23;
    --ink: #12293a;
    --muted: #5a6b77;
    --soft: #f2f5f7;
    --line: #dce4e9;
    --white: #fff;
    --header-height: 92px;
    --shadow: 0 18px 55px rgba(9, 40, 66, 0.12);
    --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 5px var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; color: var(--white); font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 700; }
h2 { margin-bottom: 24px; font-size: clamp(1.65rem, 2.4vw, 2.15rem); }
h3 { font-size: 1.45rem; }
p:last-child { margin-bottom: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 78px 0; }
.section--soft { background: var(--soft); }
.section--navy { color: rgba(255,255,255,.76); background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: #b9ddf4; }
.eyebrow--red { color: var(--red); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font-size: .9rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.button--light { color: var(--navy); background: var(--white); }
.button--light:hover { background: #ddecf5; }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.button--outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.button--primary { color: var(--white); background: var(--blue); }
.button--primary:hover { background: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link span { font-size: 1.35em; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; height: var(--header-height); background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(9,40,66,.12); }
.header-inner { display: flex; width: min(1420px, calc(100% - 40px)); height: 100%; align-items: center; margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 13px; text-decoration: none; }
.brand__logo { display: block; object-fit: cover; }
.brand__logo--header { width: 250px; height: 64px; object-position: center 57%; }
.brand--footer { position: relative; display: block; width: 300px; max-width: 100%; height: 84px; overflow: hidden; }
.brand__logo--footer { position: absolute; top: 50%; left: 0; width: 300px; height: auto; object-fit: contain; transform: translateY(-50%); }
.brand__mark { display: flex; width: 74px; height: 41px; align-items: flex-end; justify-content: center; padding: 3px 5px 5px; color: var(--white); background: var(--navy); font-size: 1.47rem; font-style: italic; font-weight: 800; letter-spacing: -.2em; line-height: 1; text-transform: lowercase; transform: skew(-10deg); }
.brand__mark b { display: inline-block; transform: skew(10deg); }
.brand__mark b:nth-child(2) { color: #6db1dc; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { color: var(--navy); font-size: .95rem; }
.brand__text small { margin-top: 5px; color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 1.6vw, 27px); margin-left: auto; }
.site-nav > .site-nav__link, .nav-dropdown-toggle { position: relative; padding: 34px 0 31px; border: 0; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.site-nav > .site-nav__link::after, .nav-dropdown-toggle::after { position: absolute; right: 0; bottom: 22px; left: 0; height: 2px; background: var(--blue); content: ''; transform: scaleX(0); transition: transform .2s ease; }
.site-nav > .site-nav__link:hover::after, .site-nav > .site-nav__link:focus-visible::after, .nav-dropdown-toggle:hover::after, .nav-dropdown-toggle:focus-visible::after, .nav-group--current .nav-dropdown-toggle::after { transform: scaleX(1); }
.site-nav a[aria-current="page"], .nav-group--current .nav-dropdown-toggle { color: var(--blue); }
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-group { position: relative; display: flex; align-self: stretch; align-items: center; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 7px; }
.nav-dropdown-toggle > span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-group.is-open .nav-dropdown-toggle > span { transform: translateY(2px) rotate(225deg); }
.nav-submenu { position: absolute; z-index: 110; top: calc(100% - 12px); left: -20px; min-width: 235px; padding: 10px; background: var(--white); box-shadow: 0 18px 45px rgba(9,40,66,.18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.nav-submenu a { display: block; padding: 11px 13px; color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.nav-submenu a:hover, .nav-submenu a:focus-visible, .nav-submenu a[aria-current="page"] { color: var(--blue); background: var(--soft); }
.nav-group.is-open .nav-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
@media (min-width: 1025px) {
    .nav-group:hover .nav-submenu, .nav-group:focus-within .nav-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}
.header-contact { display: flex; height: 100%; align-items: center; margin-left: clamp(20px, 2vw, 38px); }
.header-phone { display: flex; flex-direction: column; padding: 0 22px; text-decoration: none; }
.header-phone span, .header-emergency span { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-phone span { color: var(--muted); }
.header-phone strong { color: var(--navy); font-size: .96rem; white-space: nowrap; }
.header-emergency { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; color: var(--white); background: var(--red); line-height: 1.3; text-decoration: none; transition: background-color .2s ease; }
.header-emergency:hover { background: var(--red-dark); }
.header-emergency strong { font-size: .98rem; white-space: nowrap; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; align-items: center; gap: 10px; margin-left: auto; border: 0; color: var(--navy); background: transparent; cursor: pointer; }
.menu-toggle__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.menu-toggle__icon { display: flex; width: 23px; flex-direction: column; gap: 5px; }
.menu-toggle__icon i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-7px) rotate(-45deg); }
.search-toggle { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; margin-left: 14px; padding: 0; border: 0; color: var(--navy); background: transparent; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { color: var(--blue); background: var(--soft); }
.search-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-search { position: absolute; z-index: 120; top: 100%; right: max(16px, calc((100vw - 1420px) / 2)); width: min(520px, calc(100% - 32px)); padding: 14px; border-top: 3px solid var(--blue); background: var(--white); box-shadow: 0 18px 45px rgba(9,40,66,.18); }
.header-search[hidden] { display: none; }
.header-search__form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.header-search input { width: 100%; min-width: 0; height: 46px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--white); font: inherit; font-size: .9rem; }
.header-search input:focus { border-color: var(--blue); outline: 2px solid rgba(23,109,166,.2); outline-offset: 0; }
.header-search__submit { min-height: 46px; padding: 9px 17px; border: 0; color: var(--white); background: var(--blue); font-size: .82rem; font-weight: 700; cursor: pointer; }
.header-search__submit:hover { background: var(--navy); }
.header-search__close { width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); color: var(--navy); background: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.header-search__close:hover { color: var(--blue); background: var(--soft); }

/* Hero */
.hero { position: relative; min-height: clamp(540px, 66svh, 650px); overflow: hidden; background: var(--navy-deep); }
.hero__image, .hero__shade { position: absolute; inset: 0; }
.hero__image { background-image: url('../bilder/startseite/qva-heizungsanlage.jpg'); background-position: center; background-size: cover; }
.hero__shade { background: linear-gradient(90deg, rgba(4,24,40,.94) 0%, rgba(4,24,40,.8) 38%, rgba(4,24,40,.15) 68%, rgba(4,24,40,.02) 100%); }
.hero__content { position: relative; z-index: 2; display: flex; min-height: clamp(540px, 66svh, 650px); flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 48px; padding-bottom: 56px; }
.hero__identity { width: clamp(338px, 29vw, 405px); max-width: 100%; margin-bottom: 20px; }
.hero__identity-logo { position: relative; width: 100%; aspect-ratio: 463 / 119; overflow: hidden; }
.hero__identity-logo img { position: absolute; top: 0; left: 0; width: 103.67%; max-width: none; height: auto; transform: translate(-1.667%, -29.046%); }
.hero__locations { width: 100%; margin: -1% 0 0; padding-left: 29.59%; color: rgba(255,255,255,.78); font-size: clamp(.608rem, .8352vw, .729rem); font-weight: 400; letter-spacing: .1342em; line-height: 1.25; white-space: nowrap; }
.hero__content > .eyebrow { font-size: clamp(.95rem, 1.1vw, 1rem); letter-spacing: .12em; }
.hero__lead { max-width: 650px; margin-bottom: 50px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }

.family-business { color: rgba(255,255,255,.78); background: var(--navy); }
.family-business__inner { display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, 1.58fr); gap: clamp(48px, 7vw, 90px); align-items: center; }
.family-business__since { display: flex; min-height: 190px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); }
.family-business__since strong { color: var(--white); font-size: clamp(3rem, 5vw, 4.8rem); letter-spacing: -.055em; line-height: 1; }
.family-business__since span { margin-top: 12px; color: #b9ddf4; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.family-business h2 { color: var(--white); }
.family-business p { max-width: 760px; }
.family-business .text-link { margin-top: 8px; color: #b9ddf4; }

/* Content */
.section--intro { padding: 78px 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: end; }
.intro-grid h2 { max-width: 700px; margin-bottom: 0; }
.intro-copy p { max-width: 530px; margin-bottom: 22px; color: var(--muted); font-size: 1.1rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { width: min(390px, 40%); margin-bottom: 7px; color: var(--muted); }
.section-heading--light > p { color: rgba(255,255,255,.68); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 390px; padding: 34px 30px 30px; overflow: hidden; background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); }
.service-card::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--blue); content: ''; }
.service-card--blue { color: rgba(255,255,255,.84); background: var(--blue); }
.service-card--blue::before { background: #8bc8ec; }
.service-card--blue h3, .service-card--blue .service-card__number { color: var(--white); }
.service-card__number { display: block; margin-bottom: 38px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.service-card h3 { min-height: 52px; margin-bottom: 20px; }
.check-list, .feature-list, .footer-links { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 20px; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.4; }
.check-list li::before { position: absolute; top: 13px; left: 0; width: 7px; height: 7px; background: var(--blue-bright); content: ''; }
.service-card--blue .check-list li { border-color: rgba(255,255,255,.2); }
.service-card--blue .check-list li::before { background: var(--white); }
.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.consultation__visual { position: relative; display: flex; min-height: 450px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: var(--white); background: var(--navy); text-align: center; }
.consultation__visual::before { position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.2); content: ''; }
.consultation__visual strong { position: relative; font-size: clamp(5rem, 9vw, 8.5rem); letter-spacing: -.07em; line-height: .85; }
.consultation__visual small { position: relative; margin-top: 22px; color: #b9ddf4; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.visual-circle { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(109,177,220,.45); border-radius: 50%; }
.visual-line { position: absolute; height: 1px; background: rgba(109,177,220,.45); transform: rotate(-40deg); }
.visual-line--one { width: 700px; }
.visual-line--two { width: 560px; transform: rotate(40deg); }
.lead-copy { margin-bottom: 25px; color: var(--muted); font-size: 1.08rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin-bottom: 34px; }
.feature-list li { position: relative; padding: 11px 0 11px 23px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.feature-list li::before { position: absolute; top: 20px; left: 0; width: 9px; height: 2px; background: var(--blue); content: ''; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.benefit-grid article { min-height: 245px; padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.benefit-grid span { color: #70b3dd; font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.benefit-grid h3 { margin: 40px 0 12px; font-size: 1.22rem; letter-spacing: -.02em; }
.benefit-grid p { font-size: .9rem; }
.workshop { display: grid; grid-template-columns: minmax(0, 56%) minmax(0, 44%); background: var(--white); }
.workshop__media { display: flex; height: clamp(420px, 34vw, 520px); max-height: 520px; flex-direction: column; align-items: center; justify-content: center; padding: 40px; overflow: hidden; color: rgba(255,255,255,.8); background-color: #546879; background-image: linear-gradient(145deg, rgba(9,40,66,.5), rgba(23,109,166,.18)), repeating-linear-gradient(90deg, transparent 0 90px, rgba(255,255,255,.06) 91px 92px); text-align: center; }
.workshop__media::before { display: block; width: 92px; height: 76px; margin-bottom: 24px; border: 2px solid rgba(255,255,255,.5); border-top-width: 12px; content: ''; }
.workshop__media span { font-weight: 700; }
.workshop__media small { margin-top: 5px; font-size: .72rem; opacity: .7; }
.workshop__media--has-image { padding: 0; background: var(--navy); }
.workshop__media--has-image::before { display: none; }
.workshop__photo { width: 100%; height: 100%; min-height: 0; max-height: 520px; object-fit: cover; object-position: center center; }
.workshop__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(48px, 6vw, 90px); }
.workshop__content p:not(.eyebrow) { color: var(--muted); }
.workshop__content .text-link { margin-top: 14px; }
.team__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: clamp(48px, 6vw, 82px); align-items: center; }
.team__visual { min-width: 0; }
.team__media { display: block; overflow: hidden; background: var(--navy); }
.team__media img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center; }
.team__names { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 13px 0 0; border-top: 1px solid var(--line); color: var(--muted); list-style: none; }
.team__names li { padding: 0 6px; font-size: .68rem; font-weight: 700; letter-spacing: .015em; line-height: 1.35; text-align: center; }
.team__content h2 { margin-bottom: 24px; }
.team__content .lead-copy { max-width: 430px; margin-bottom: 0; }
.service-callout { border-top: 8px solid var(--red); }
.service-callout__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.service-callout h2 { font-size: clamp(1.65rem, 2.2vw, 2.15rem); }
.service-callout__inner > div:first-child > p:last-child { color: var(--muted); }
.phone-panels { display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.phone-panel { display: flex; min-height: 210px; flex-direction: column; justify-content: center; padding: 34px; color: var(--navy); background: var(--white); text-decoration: none; }
.phone-panel + .phone-panel { border-left: 1px solid var(--line); }
.phone-panel span { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.phone-panel strong { margin: 9px 0 18px; font-size: clamp(1.15rem, 2vw, 1.65rem); white-space: nowrap; }
.phone-panel small { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.phone-panel--urgent { color: var(--white); background: var(--red); }
.phone-panel--urgent small { color: rgba(255,255,255,.78); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; }
.contact__intro h2 { max-width: none; font-size: clamp(1.65rem, 2.2vw, 2.15rem); white-space: nowrap; }
.contact__intro > p:not(.eyebrow):not(.contact__subtitle) { max-width: 430px; color: var(--muted); }
.contact__subtitle { margin-top: -15px; color: var(--blue); font-weight: 700; }
.location-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 35px; }
.location-tags span { padding: 7px 11px; border: 1px solid var(--line); color: var(--muted); background: var(--white); font-size: .7rem; font-weight: 700; }
.contact__details { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 12px 40px rgba(9,40,66,.07); }
.contact-item { display: flex; min-height: 145px; flex-direction: column; justify-content: center; margin: 0; padding: 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-style: normal; }
.contact-item:nth-child(even) { border-right: 0; }
.contact-item span { margin-bottom: 9px; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a, .contact-item strong { color: var(--navy); font-size: 1.03rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.contact-item a:hover { color: var(--blue); }
.energy-note { padding: 32px 0; color: rgba(255,255,255,.76); background: #0e3b59; }
.energy-note .container { display: flex; gap: 42px; align-items: flex-start; }
.energy-note strong { flex: 0 0 auto; color: #b9ddf4; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.energy-note p { margin: 0; font-size: .84rem; }
.regional-service-note { padding: 30px 0; border-block: 1px solid var(--line); background: var(--soft); }
.regional-service-note .container { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.regional-service-note strong { display: block; margin-bottom: 4px; color: var(--navy); }
.regional-service-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.regional-service-note .text-link { flex: 0 0 auto; }

/* Startseiten-Übersicht und Unterseiten */
.overview-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.overview-card { display: flex; min-height: 285px; flex-direction: column; align-items: flex-start; padding: 32px 28px; border-top: 5px solid var(--blue); background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); }
.overview-card p { color: var(--muted); font-size: .94rem; }
.overview-card .text-link { margin-top: auto; }
.overview-card--blue { color: rgba(255,255,255,.84); border-top-color: #8bc8ec; background: var(--blue); }
.overview-card--blue h3, .overview-card--blue .service-card__number, .overview-card--blue .text-link { color: var(--white); }
.overview-card--blue p { color: rgba(255,255,255,.82); }
.system-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 24px; padding: 20px 24px; border-left: 4px solid var(--red); background: var(--white); }
.system-links strong { margin-right: auto; color: var(--navy); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.system-links a { color: var(--blue); font-size: .88rem; font-weight: 700; text-decoration: none; }
.process-section { position: relative; overflow: hidden; background: var(--white); }
.process-section::before { position: absolute; top: -150px; right: -110px; width: 330px; height: 330px; border: 34px solid rgba(9,40,66,.055); border-radius: 50%; content: ''; }
.process-section::after { position: absolute; top: 0; right: 8%; width: 0; height: 0; border-top: 42px solid var(--red); border-left: 42px solid transparent; content: ''; }
.process-section__inner { position: relative; z-index: 1; }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.process-heading .eyebrow { margin-bottom: 0; }
.process-heading h2 { max-width: 650px; margin-bottom: 0; }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.process-steps::before { position: absolute; top: 24px; right: 10%; left: 10%; height: 2px; background: var(--red); content: ''; }
.process-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--navy); text-align: center; }
.process-steps span { position: relative; z-index: 1; display: grid; width: 50px; height: 50px; place-items: center; border: 6px solid var(--white); border-radius: 50%; color: var(--white); background: var(--navy); box-shadow: 0 0 0 2px var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.process-steps strong { font-size: 1.02rem; }
.teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.teaser-card { overflow: hidden; background: var(--soft); }
.teaser-card img { width: 100%; height: clamp(280px, 22vw, 310px); max-height: 310px; object-fit: cover; object-position: center; }
.teaser-card:last-child img { object-position: center 42%; }
.teaser-card > div { padding: 26px 28px 30px; }
.teaser-card p { color: var(--muted); font-size: .92rem; }
.home-cta { color: rgba(255,255,255,.78); background: var(--navy); }
.home-cta h2 { margin-bottom: 14px; color: var(--white); }
.home-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.home-cta__inner > div:first-child { max-width: 680px; }
.page-hero { padding: clamp(64px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; color: var(--navy); font-size: clamp(2.1rem, 3.4vw, 2.85rem); }
.page-hero p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 30px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.content-split { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.content-split h2 { margin-bottom: 0; }
.content-split .feature-list { margin: 30px 0 36px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.topic-card { min-height: 240px; padding: 32px; border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); }
.topic-card p { color: var(--muted); font-size: .92rem; }
.topic-grid--compact .topic-card { min-height: 300px; }
.page-links { padding: 44px 0; border-top: 1px solid var(--line); }
.page-links__inner { display: flex; flex-wrap: wrap; gap: 20px 42px; justify-content: center; }
.energy-note--prominent { padding: 44px 0; }
.workshop--page { border-bottom: 1px solid var(--line); }
.team__content .button { margin-top: 28px; }
.page-cta { color: rgba(255,255,255,.78); background: var(--navy); }
.page-cta h2 { margin-bottom: 12px; color: var(--white); }
.page-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.page-cta__inner > div { max-width: 760px; }
.location-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.location-card { position: relative; min-height: 230px; margin: 0; padding: 32px; overflow: hidden; border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); font-style: normal; }
.location-card:first-child::after { position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-bottom: 34px solid var(--red); border-left: 34px solid transparent; content: ''; }
.location-card > span { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.location-card h3 { margin: 30px 0 16px; font-size: 1.25rem; }
.location-card p { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); background: var(--white); }
.faq__heading { max-width: 760px; margin-bottom: 48px; }
.faq__heading h2 { margin-bottom: 0; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.faq__item { padding: 30px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq__item h3 { margin-bottom: 12px; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; }
.faq__item p { color: var(--muted); font-size: .92rem; }

/* Rechtliche Seiten */
.legal-hero { padding: 74px 0 68px; background: var(--soft); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 18px; color: var(--navy); font-size: clamp(2rem, 3.2vw, 2.8rem); }
.legal-hero p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.legal-breadcrumb { display: inline-flex; margin-bottom: 26px; color: var(--blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
.legal-page { padding: 84px 0 100px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.legal-content { max-width: 760px; }
.legal-content section + section { margin-top: 48px; padding-top: 42px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(1.55rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.15rem; letter-spacing: -.015em; }
.legal-content p, .legal-content li { color: #3f5361; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content address { color: #3f5361; font-style: normal; }
.legal-content a { color: var(--blue); text-underline-offset: 3px; }
.legal-note { padding: 22px 24px; border-left: 4px solid var(--blue); background: var(--soft); font-size: .9rem; }
.legal-aside { position: sticky; top: calc(var(--header-height) + 30px); padding: 28px; border-top: 4px solid var(--blue); background: var(--soft); }
.legal-aside h2 { margin-bottom: 18px; font-size: 1rem; letter-spacing: 0; }
.legal-aside a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .86rem; font-weight: 700; text-decoration: none; }
.legal-aside a:last-child { border-bottom: 0; }
.legal-meta { margin-top: 42px; color: var(--muted); font-size: .8rem; }

/* Service- und Montagegebiet */
.service-map { padding: clamp(14px, 2.5vw, 30px); border: 1px solid var(--line); background: var(--soft); box-shadow: 0 14px 45px rgba(9,40,66,.08); }
.service-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-background { fill: #f8fafb; }
.map-area { fill: rgba(23,109,166,.09); stroke: rgba(23,109,166,.52); stroke-width: 2; stroke-dasharray: 8 7; }
.map-network { fill: none; stroke: #b9c8d1; stroke-linecap: round; stroke-width: 5; }
.map-network path:first-child { stroke: #83a8bd; stroke-width: 7; }
.map-region-labels text { fill: #91a0aa; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.map-place { cursor: pointer; outline: none; touch-action: manipulation; }
.map-place:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; filter: drop-shadow(0 0 2px var(--blue)); }
.map-place circle { fill: var(--blue); stroke: var(--white); stroke-width: 3; transition: r .16s ease, fill .16s ease; }
.map-place text { fill: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; paint-order: stroke; stroke: #f8fafb; stroke-linejoin: round; stroke-width: 5px; transition: fill .16s ease; }
.map-place--primary text { fill: var(--navy); font-size: 17px; }
.map-place--qva circle:not(.map-marker-halo) { fill: var(--red); }
.map-place--qva .map-marker-halo { fill: rgba(201,41,46,.14); stroke: rgba(201,41,46,.28); stroke-width: 2; }
.map-place--qva text { fill: var(--red-dark); font-size: 17px; }
.map-place--qva .map-qva-label { fill: var(--navy); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.map-place:hover circle:not(.map-marker-halo), .map-place:focus circle:not(.map-marker-halo), .map-place.is-active circle:not(.map-marker-halo) { fill: var(--red); r: 10px; }
.map-place:hover text, .map-place:focus text, .map-place.is-active text { fill: var(--red-dark); }
.map-legend text { fill: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; }
.map-legend__qva { fill: var(--red); }
.map-legend__place { fill: var(--blue); }
.service-map__interaction { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; align-items: baseline; padding: 18px 24px; color: var(--muted); background: var(--navy); }
.service-map__status-label { color: #8ec6e7; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-map__status { color: var(--white); line-height: 1.35; }
.service-map__interaction small { font-size: .72rem; }
.service-area-locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.service-area-locations address { position: relative; margin: 0; padding: 26px 28px; overflow: hidden; border-top: 4px solid var(--red); background: var(--soft); font-style: normal; }
.service-area-locations address > span { position: absolute; top: 18px; right: 22px; color: #b9c6ce; font-size: .72rem; font-weight: 700; }
.service-area-locations h3 { margin-bottom: 12px; font-size: 1.18rem; }
.service-area-locations p { color: var(--muted); font-size: .88rem; }
.service-area-list-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 65px; align-items: end; margin-bottom: 36px; }
.service-area-list-intro h2 { margin-bottom: 0; }
.service-area-list-intro > p { color: var(--muted); }
.service-area-details { border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); }
.service-area-details summary { position: relative; padding: 22px 64px 22px 26px; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
.service-area-details summary::-webkit-details-marker { display: none; }
.service-area-details summary::after { position: absolute; top: 50%; right: 26px; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); content: ''; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.service-area-details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.service-area-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-area-groups section { padding: 26px; border-right: 1px solid var(--line); }
.service-area-groups section:last-child { border-right: 0; }
.service-area-groups h3 { min-height: 44px; margin-bottom: 17px; font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.service-area-groups ul { margin: 0; padding: 0; list-style: none; }
.service-area-groups li { padding: 5px 0; color: var(--muted); font-size: .86rem; }
.service-area-contact { border-top: 8px solid var(--red); }
.service-area-contact__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr); gap: clamp(50px, 7vw, 90px); align-items: center; }
.service-area-contact__inner > div:first-child p:last-child { color: var(--muted); }
.footer-location-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }

/* Müba Ultra Clean Eco */
.mueba-product { display: grid; grid-template-columns: minmax(278px, .72fr) minmax(0, 1.28fr); gap: clamp(55px, 8vw, 105px); align-items: center; }
.mueba-product__image { display: grid; min-height: 480px; place-items: center; margin: 0; padding: 42px; background: linear-gradient(145deg, var(--soft), #e4eaee); }
.mueba-product__image img { width: auto; max-height: 400px; }
.mueba-product__content > h2 { max-width: 720px; }
.mueba-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mueba-facts div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mueba-facts dt, .mueba-model dt, .mueba-dimensions dt { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mueba-facts dd, .mueba-model dd, .mueba-dimensions dd { margin: 3px 0 0; color: var(--navy); font-weight: 700; }
.mueba-model-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mueba-model { padding: 28px 24px; border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 8px 28px rgba(9,40,66,.06); }
.mueba-model h3 { margin-bottom: 22px; font-size: 1.25rem; }
.mueba-model dl { margin: 0; }
.mueba-model dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.mueba-material { display: flex; gap: 35px; align-items: center; margin-top: 24px; padding: 25px 30px; border-left: 5px solid var(--red); color: var(--white); background: var(--navy); }
.mueba-material span { flex: 0 0 auto; color: #b9ddf4; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mueba-material strong { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.mueba-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 105px); align-items: start; }
.mueba-dimensions { margin: 32px 0 0; border-top: 1px solid var(--line); }
.mueba-dimensions div { display: flex; gap: 25px; align-items: baseline; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.mueba-dimensions dd { text-align: right; }
.mueba-history { display: grid; gap: 18px; }
.mueba-history article { padding: 28px 30px; border-top: 4px solid var(--blue); background: var(--soft); }
.mueba-history h3 { margin-bottom: 12px; font-size: 1.2rem; }
.mueba-history p { color: var(--muted); font-size: .92rem; }
.mueba-download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mueba-download { display: grid; min-height: 185px; grid-template-columns: auto 1fr; gap: 15px; align-content: start; padding: 27px; border: 1px solid rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.06); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.mueba-download:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.11); }
.mueba-download__type { display: grid; width: 44px; height: 52px; place-items: center; color: var(--white); background: var(--red); font-size: .65rem; font-weight: 700; letter-spacing: .06em; }
.mueba-download strong, .mueba-download small { display: block; }
.mueba-download strong { line-height: 1.3; }
.mueba-download small { margin-top: 6px; color: rgba(255,255,255,.66); line-height: 1.4; }
.mueba-download em { grid-column: 2; color: #b9ddf4; font-size: .72rem; font-style: normal; font-weight: 700; }
.mueba-water-note { max-width: 900px; margin-top: 28px; padding: 25px 28px; border-left: 4px solid #70b3dd; background: rgba(255,255,255,.06); }
.mueba-water-note h3 { margin-bottom: 10px; font-size: 1.05rem; }
.mueba-water-note p { font-size: .9rem; }
.mueba-measurement { display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, 1.58fr); gap: clamp(55px, 8vw, 100px); align-items: start; }
.mueba-measurement > * { min-width: 0; }
.mueba-measurement__image { margin: 0; padding: 25px; background: var(--soft); text-align: center; }
.mueba-measurement__image img { width: 158px; height: auto; margin-inline: auto; }
.mueba-measurement__image figcaption { margin-top: 16px; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.mueba-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 30px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mueba-legend div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mueba-legend dt { color: var(--blue); font-weight: 700; }
.mueba-legend dd { min-width: 0; margin: 0; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.mueba-page .page-cta a:not(.button) { color: var(--white); font-weight: 700; }
.mueba-more { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 65px; align-items: center; }
.mueba-more h2 { margin-bottom: 16px; }
.mueba-more p:not(.eyebrow) { color: var(--muted); }
.mueba-more ul { margin: 0; padding: 0; list-style: none; }
.mueba-more li { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--navy); background: var(--white); font-weight: 700; }

/* Search */
.search-page { min-height: 420px; }
.search-page__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 780px; margin-bottom: 38px; }
.search-page__form input { width: 100%; min-width: 0; height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--white); font: inherit; }
.search-page__form input:focus { border-color: var(--blue); outline: 3px solid rgba(23,109,166,.16); outline-offset: 0; }
.search-page__form .button { border: 0; cursor: pointer; }
.search-results { max-width: 900px; }
.search-results__summary { margin-bottom: 19px; color: var(--muted); font-size: .92rem; }
.search-result { padding: 24px 0 25px; border-top: 1px solid var(--line); }
.search-result:last-child { border-bottom: 1px solid var(--line); }
.search-result__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.search-result__meta span { padding: 3px 8px; color: var(--blue); background: var(--soft); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search-result__meta .search-result__type { color: var(--white); background: var(--red); }
.search-result h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.02em; }
.search-result h2 a { text-decoration: none; }
.search-result h2 a:hover { color: var(--blue); }
.search-result p { max-width: 760px; margin-bottom: 9px; color: var(--muted); font-size: .92rem; }
.search-result__url { display: block; margin-bottom: 10px; color: var(--blue); font-size: .72rem; overflow-wrap: anywhere; }
.search-no-results { max-width: 780px; padding: 28px 30px; border-left: 5px solid var(--blue); background: var(--soft); }
.search-no-results h2 { margin-bottom: 12px; font-size: 1.35rem; }
.search-no-results p { color: var(--muted); }
.search-no-results .button-row { margin-top: 22px; }

/* Footer */
.site-footer { padding-top: 64px; color: rgba(255,255,255,.68); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 75px; padding-bottom: 54px; }
.brand--footer .brand__mark { color: var(--navy); background: var(--white); }
.brand--footer .brand__text strong { color: var(--white); }
.footer-brand > p { max-width: 390px; margin: 18px 0 0; font-size: .88rem; }
.site-footer h2 { margin: 0 0 25px; color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer address { margin-bottom: 22px; font-size: .85rem; font-style: normal; }
.site-footer address span { display: block; margin-bottom: 3px; color: #8ec6e7; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-locations { margin: 0 0 17px; padding: 0; list-style: none; }
.footer-locations li { margin-bottom: 7px; font-size: .85rem; }
.footer-location-link { color: #8ec6e7; font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-links li { display: flex; flex-direction: column; margin-bottom: 15px; }
.footer-links span { color: #8ec6e7; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: var(--white); font-size: .9rem; font-weight: 700; text-decoration: none; }
.footer-bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: .74rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 1240px) {
    .brand__text { display: none; }
    .site-nav { gap: 14px; }
    .header-contact { margin-left: 14px; }
    .header-phone { padding: 0 15px; }
    .header-emergency { padding-inline: 18px; }
}

@media (max-width: 1024px) {
    :root { --header-height: 78px; }
    .container { width: min(100% - 40px, 900px); }
    .section { padding: 68px 0; }
    .teaser-card img { height: clamp(230px, 26vw, 270px); }
    .header-inner { width: calc(100% - 30px); }
    .brand__text { display: flex; }
    .menu-toggle { display: flex; }
    .site-nav { position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; z-index: 99; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 22px 28px 140px; overflow-y: auto; background: var(--white); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: opacity .2s, transform .2s; }
    .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
    .site-nav > .site-nav__link, .nav-dropdown-toggle { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; padding: 14px 5px; border-bottom: 1px solid var(--line); font-size: 1.12rem; text-align: left; }
    .site-nav > .site-nav__link::after, .nav-dropdown-toggle::after { display: none; }
    .nav-group { display: block; width: 100%; align-self: auto; }
    .nav-submenu { position: static; min-width: 0; max-height: 0; padding: 0; overflow: hidden; background: var(--soft); box-shadow: none; opacity: 1; visibility: visible; pointer-events: none; transform: none; transition: max-height .2s ease; }
    .nav-group.is-open .nav-submenu { max-height: 360px; pointer-events: auto; }
    .nav-submenu a { min-height: 48px; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: .98rem; }
    .header-phone { display: none; }
    .search-toggle { order: 1; margin-left: auto; }
    .header-contact { height: 100%; order: 2; margin: 0 10px 0 14px; }
    .header-emergency { height: 58px; padding-inline: 14px; }
    .header-emergency span { font-size: .55rem; }
    .header-emergency strong { font-size: .78rem; }
    .menu-toggle { order: 3; }
    .hero { min-height: 560px; }
    .hero__content { min-height: 560px; }
    .hero__image { background-position: 58% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(4,24,40,.93), rgba(4,24,40,.66) 60%, rgba(4,24,40,.18)); }
    .team__layout { grid-template-columns: 1fr; gap: 38px; }
    .team__media img { max-height: 480px; }
    .family-business__inner { grid-template-columns: minmax(170px, .4fr) minmax(0, 1.6fr); gap: 42px; }
    .team__names { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 0; padding-top: 14px; }
    .team__names li { font-size: .74rem; }
    .team__content .lead-copy { max-width: 680px; }
    .service-cards { grid-template-columns: 1fr 1fr; }
    .overview-cards, .topic-grid { grid-template-columns: 1fr 1fr; }
    .topic-card:last-child { grid-column: 1 / -1; }
    .service-card:last-child { grid-column: 1 / -1; min-height: auto; }
    .service-card__number { margin-bottom: 34px; }
    .split-layout { gap: 55px; }
    .consultation__visual { min-height: 420px; }
    .feature-list { grid-template-columns: 1fr; }
    .benefit-grid { grid-template-columns: 1fr 1fr; }
    .brand__logo--header { width: 225px; height: 58px; }
    .brand--footer { width: 270px; height: 76px; }
    .brand__logo--footer { width: 270px; }
    .workshop { grid-template-columns: minmax(0, 55%) minmax(0, 45%); }
    .workshop__media { height: 400px; max-height: 400px; }
    .workshop__photo { max-height: 400px; }
    .workshop__content { padding: 50px 40px; }
    .service-callout__inner { grid-template-columns: 1fr; gap: 45px; }
    .contact__grid { gap: 45px; }
    .footer-grid { gap: 50px; }
    .legal-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 45px; }
    .mueba-model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mueba-download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mueba-download:last-child { grid-column: 1 / -1; min-height: 0; }
    .service-area-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-area-groups section:nth-child(2) { border-right: 0; }
    .service-area-groups section:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .service-area-contact__inner { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .section { padding: 56px 0; }
    .brand__mark { width: 64px; height: 37px; font-size: 1.3rem; }
    .brand__logo--header { width: 185px; height: 48px; }
    .brand__text strong { font-size: .78rem; }
    .brand__text small { font-size: .56rem; }
    .header-contact { margin-right: 6px; margin-left: auto; }
    .header-emergency { display: flex; height: 54px; padding-inline: 11px; }
    .menu-toggle { margin-left: 0; }
    .header-search { right: 16px; }
    .hero { min-height: min(590px, calc(100svh - var(--header-height))); }
    .hero__content { min-height: min(590px, calc(100svh - var(--header-height))); padding-top: 40px; padding-bottom: 52px; }
    .hero__image { background-position: 62% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(4,24,40,.94), rgba(4,24,40,.67)), linear-gradient(0deg, rgba(4,24,40,.5), transparent); }
    .hero__identity { width: 300px; margin-bottom: 9px; }
    .hero__locations { font-size: .54rem; }
    .hero__content > .eyebrow { font-size: .84rem; letter-spacing: .115em; }
    .hero__lead { max-width: 540px; }
    .section--intro { padding: 60px 0; }
    .intro-grid, .split-layout, .contact__grid { grid-template-columns: 1fr; gap: 38px; }
    .family-business__inner { grid-template-columns: 1fr; gap: 28px; }
    .family-business__since { min-height: 135px; }
    .content-split { grid-template-columns: 1fr; gap: 34px; }
    .regional-service-note .container { align-items: flex-start; flex-direction: column; gap: 18px; }
    .overview-cards, .topic-grid, .teaser-grid { grid-template-columns: 1fr; }
    .overview-card:last-child, .topic-card:last-child { grid-column: auto; }
    .overview-card, .topic-card, .topic-grid--compact .topic-card { min-height: 0; }
    .home-cta__inner { display: block; }
    .home-cta__inner .button-row { margin-top: 28px; }
    .page-hero { padding: 56px 0 60px; }
    .page-hero h1 { font-size: clamp(2rem, 7vw, 2.55rem); overflow-wrap: break-word; }
    .process-heading { display: block; margin-bottom: 38px; }
    .process-heading .eyebrow { margin-bottom: 12px; }
    .process-steps { grid-template-columns: 1fr; gap: 22px; }
    .process-steps::before { top: 8%; bottom: 8%; left: 24px; width: 2px; height: auto; }
    .process-steps li { flex-direction: row; gap: 20px; text-align: left; }
    .process-steps span { flex: 0 0 50px; }
    .system-links { align-items: flex-start; flex-direction: column; }
    .system-links strong { margin-right: 0; }
    .page-cta__inner { display: block; }
    .page-cta__inner .button { margin-top: 25px; }
    .location-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .location-card { min-height: 0; }
    .contact__intro h2 { white-space: normal; }
    .intro-grid h2 { margin-bottom: 10px; }
    .section-heading { display: block; margin-bottom: 38px; }
    .section-heading > p { width: auto; max-width: 520px; margin-top: 18px; }
    .service-cards { grid-template-columns: 1fr; }
    .service-card { min-height: 0; padding: 35px 28px; }
    .service-card:last-child { grid-column: auto; }
    .service-card h3 { min-height: 0; }
    .consultation__visual { min-height: 320px; }
    .split-layout__content { padding-bottom: 5px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-grid article { min-height: 200px; }
    .benefit-grid h3 { margin-top: 30px; }
    .workshop { grid-template-columns: 1fr; }
    .workshop__media { height: clamp(260px, 45vw, 330px); max-height: 330px; min-height: 0; }
    .workshop__photo { min-height: 0; max-height: 330px; }
    .workshop__content { padding: 55px 24px; }
    .teaser-card img { height: clamp(190px, 55vw, 230px); }
    .teaser-card > div { padding: 24px 24px 28px; }
    .phone-panels { grid-template-columns: 1fr; }
    .phone-panel { min-height: 155px; }
    .phone-panel + .phone-panel { border-top: 1px solid var(--line); border-left: 0; }
    .contact__details { grid-template-columns: 1fr; }
    .contact-item { min-height: 115px; border-right: 0; }
    .energy-note .container { display: block; }
    .energy-note strong { display: block; margin-bottom: 8px; }
    .faq__grid { grid-template-columns: 1fr; }
    .faq__item { padding: 26px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .legal-hero { padding: 58px 0 52px; }
    .legal-page { padding: 64px 0 76px; }
    .legal-layout { grid-template-columns: 1fr; gap: 42px; }
    .legal-aside { position: static; order: -1; }
    .mueba-product, .mueba-detail-grid, .mueba-measurement, .mueba-more { grid-template-columns: 1fr; gap: 38px; }
    .mueba-product__image { min-height: 0; padding: 32px; }
    .mueba-product__image img { max-height: 320px; }
    .mueba-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mueba-material { align-items: flex-start; flex-direction: column; gap: 8px; }
    .mueba-download-grid { grid-template-columns: 1fr; }
    .mueba-download:last-child { grid-column: auto; }
    .mueba-measurement__image { justify-self: start; }
    .service-map__interaction { grid-template-columns: 1fr; gap: 3px; padding: 16px 18px; }
    .service-area-locations { grid-template-columns: 1fr; }
    .service-area-list-intro { grid-template-columns: 1fr; gap: 18px; }
}

@media (min-width: 600px) and (max-width: 768px) {
    .service-cards { grid-template-columns: 1fr 1fr; }
    .service-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    :root { --header-height: 70px; }
    h1 { font-size: clamp(1.95rem, 9vw, 2.35rem); }
    h2 { font-size: 1.75rem; }
    .header-inner { width: calc(100% - 24px); }
    .brand { gap: 8px; }
    .brand__mark { width: 58px; height: 34px; }
    .brand__logo--header { width: 118px; height: 40px; }
    .brand--footer { width: 220px; height: 62px; }
    .brand__logo--footer { width: 220px; height: auto; }
    .brand__text { display: none; }
    .search-toggle { width: 40px; height: 40px; margin-left: auto; }
    .header-emergency { height: 50px; padding-inline: 9px; }
    .header-emergency span { font-size: .48rem; }
    .header-emergency strong { font-size: .68rem; }
    .menu-toggle { gap: 6px; min-width: 44px; padding: 0; }
    .menu-toggle__label { display: none; }
    .header-search { right: 12px; width: calc(100% - 24px); padding: 11px; }
    .header-search__form { grid-template-columns: minmax(0, 1fr) auto; }
    .header-search__submit { padding-inline: 13px; }
    .header-search__close { grid-column: 1 / -1; width: 100%; height: 38px; font-size: 1.25rem; }
    .search-page__form { grid-template-columns: 1fr; }
    .search-page__form .button { width: 100%; }
    .search-no-results { padding: 24px 21px; }
    .hero__content { padding-top: 45px; }
    .hero__identity { width: 250px; margin-bottom: 8px; }
    .hero__locations { font-size: .45rem; }
    .hero__content > .eyebrow { font-size: .78rem; letter-spacing: .105em; }
    .hero__image { background-position: 66% center; }
    .button-row { width: 100%; }
    .button-row .button { width: 100%; }
    .consultation__visual { min-height: 280px; }
    .visual-circle { width: 235px; height: 235px; }
    .feature-list { margin-bottom: 28px; }
    .benefit-grid article { padding: 29px 24px; }
    .workshop__media { height: clamp(240px, 65vw, 300px); max-height: 300px; min-height: 0; padding-inline: 20px; }
    .workshop__media--has-image { padding-inline: 0; }
    .workshop__photo { min-height: 0; max-height: 300px; }
    .workshop__media small { overflow-wrap: anywhere; }
    .team__names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 0; }
    .team__names li { padding-inline: 8px; font-size: .76rem; }
    .phone-panel { padding: 27px 24px; }
    .contact-item { padding-inline: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: auto; }
    .brand--footer .brand__text { display: flex; }
    .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 20px 0; }
    .legal-hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.3rem); overflow-wrap: break-word; }
    .mueba-hero h1 { font-size: clamp(1.95rem, 9vw, 2.35rem); }
    .mueba-facts, .mueba-model-grid, .mueba-legend { grid-template-columns: 1fr; }
    .mueba-dimensions div { align-items: flex-start; flex-direction: column; gap: 2px; }
    .mueba-dimensions dd { text-align: left; }
    .mueba-download { grid-template-columns: 42px minmax(0, 1fr); padding: 23px 20px; }
    .mueba-download em { overflow-wrap: anywhere; }
    .service-map { padding: 8px; }
    .map-region-labels, .map-legend, .map-place--secondary text { display: none; }
    .map-place--secondary:hover text, .map-place--secondary:focus text, .map-place--secondary.is-active text { display: block; font-size: 24px; }
    .map-place--primary text, .map-place--qva text { font-size: 22px; }
    .map-place--qva .map-qva-label { display: none; }
    .service-area-groups { grid-template-columns: 1fr; }
    .service-area-groups section, .service-area-groups section:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .service-area-groups section:last-child { border-bottom: 0; }
}

@media (max-width: 360px) {
    .brand__logo--header { width: 104px; height: 36px; }
    .search-toggle { width: 40px; height: 40px; }
    .header-contact { margin-right: 3px; }
    .header-emergency { padding-inline: 6px; }
    .menu-toggle { min-width: 38px; }
    .mueba-page h2 { font-size: 1.62rem; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
