
:root{color-scheme:dark;--gold:#f6cb75;--muted:#bec4d0;--line:#363b46}
*{box-sizing:border-box}body{margin:0;background:#101218;color:#fff;font:1rem/1.6 system-ui,sans-serif}a{color:inherit}a:focus-visible{outline:3px solid #ffdf9f;outline-offset:4px}
.wrap{width:min(1160px,92%);margin:auto}header{border-bottom:1px solid var(--line)}nav,.links,.actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}nav{justify-content:space-between;padding:1rem 0}nav img{width:124px;height:62px;object-fit:contain}nav a,.button{text-decoration:none}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:520px}.intro{padding:clamp(2rem,6vw,6rem) 1.75rem clamp(2rem,5vw,4rem) 0;align-self:center}.hero img{display:block;width:100%;height:100%;max-height:650px;object-fit: contain;min-width:0}
h1,h2,h3,p{margin:0 0 .7rem}h1,h2{font-family:Georgia,serif;line-height:1.03}h1{font-size:clamp(2.9rem,5.4vw,5.5rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,4vw,3.4rem)}.gold{color:var(--gold)}p{color:var(--muted)}.button{display:inline-flex;padding:.7rem 1.1rem;border:1px solid var(--line);border-radius:.3rem}.primary{background:var(--gold);color:#15120c;font-weight:750}.actions{gap:.6rem;margin-top:1.4rem}
section{padding:clamp(2.5rem,5vw,5rem) 0;border-top:1px solid var(--line)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}.card{background:#191d26;border:1px solid var(--line);padding:1.3rem;border-radius:.4rem}.card h3{color:var(--gold)}.contact{background:#191d26}footer{padding:1rem 0;color:var(--muted)}
@media(max-width:750px){.hero{grid-template-columns:1fr;min-height:0}.intro{padding-right:0}.hero img{aspect-ratio:4/3;height:auto}.grid{grid-template-columns:1fr}nav,.links{gap:.7rem}nav{font-size:.9rem}header img{max-width:86px}section{margin-top:1rem}}
:root{--gold:#ff696f;--line:#38383e;--muted:#cccbd0}
body{background:#111114}header{background:#fff;color:#151515;border:0}nav{padding:.85rem 0;gap:1rem}nav>a:first-child{display:block;line-height:0;flex:0 1 320px}nav img{display:block;width:100%;height:auto;max-width:none}nav .links a{font-weight:650}nav .links a:last-child{border:1px solid #d5d4d7;border-radius:.3rem;padding:.45rem .75rem}
.hero{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;min-height:0;padding:clamp(2rem,5vw,5.5rem) 0;gap:clamp(1rem,3vw,3rem)}.intro{padding:0}.hero img{height:auto;object-fit:contain;max-height:none;border:1px solid var(--line);border-radius:.35rem}.hero h1{font:850 clamp(2.7rem,5.4vw,5.2rem)/.98 system-ui,sans-serif;letter-spacing:-.065em}.hero .gold{font-size:.85rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.primary{background:#c31228;color:white;border-color:#c31228}.card,.contact{background:#1c1c21}.steps{padding:0;list-style:none;counter-reset:step}.steps li{counter-increment:step}.steps li::before{content:counter(step);display:block;margin-bottom:.55rem;color:var(--gold);font-size:1.55rem;font-weight:800}
@media(max-width:750px){nav{justify-content:center}nav>a:first-child{flex-basis:min(100%,320px)}nav .links{justify-content:center}.hero{grid-template-columns:1fr;gap:1.5rem}.hero h1{font-size:clamp(2.6rem,10vw,4.2rem)}.hero img{aspect-ratio:auto}}
.product{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:.45rem;background:#1c1c21}.product-image{position:relative;overflow:hidden;aspect-ratio:610/426}.product-image img{position:absolute;width:251.804%;height:auto;max-width:none;left:-146.72%;top:-105.63%;border:0;border-radius:0}.product figcaption{border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.3rem 1rem;padding:1rem 1.25rem}.product figcaption span{color:var(--muted)}.card ul{padding-left:1.15rem;margin-bottom:0;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.form-grid label{display:grid;gap:.35rem;font-weight:600}.form-grid .wide{grid-column:1/-1}.form-grid :is(input,select,textarea){width:100%;padding:.7rem;border:1px solid #565660;border-radius:.35rem;background:#141419;color:white;font:inherit}.form-grid textarea{min-height:8rem}.actions button{font:inherit;font-weight:750;cursor:pointer}
@media(max-width:520px){.form-grid{grid-template-columns:1fr}}
.trade-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}.trade-grid .card{display:flex;flex-direction:column;gap:.55rem}.trade-grid .card h3,.trade-grid .card p,.trade-grid .card ul{margin-block:0}.trade-grid .card a{margin-top:auto;padding-top:.55rem;color:#fff;text-underline-offset:4px}.feature{background:linear-gradient(125deg,#25181c,#18181d 65%)}.manufacturer{background:#141418}.brand-head,.brand-controls{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.brand-head{justify-content:space-between;margin-bottom:1rem}.brand-head h2{margin:0}.brand-controls button{font:inherit;background:#24242a;color:#fff;border:1px solid #505059;border-radius:.3rem;padding:.4rem .7rem;cursor:pointer}.brand-track{display:flex;gap:.8rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 .65rem;scrollbar-color:#6c6c75 #17171b}.brand{flex:0 0 calc((100% - 1.6rem)/3);min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:.25rem;padding:1rem 1.4rem;background:#fafafa;color:#18181c;text-decoration:none;border:1px solid #d0d0d6;border-radius:.4rem;scroll-snap-align:start}.brand strong{font-size:clamp(1.55rem,3vw,2.2rem);letter-spacing:-.045em}.brand span{color:#45454c}.brand-primary{border-top:5px solid #cf132c}.brand-primary strong{color:#a91325}
@media(max-width:780px){.brand{flex-basis:calc((100% - .8rem)/2)}}
@media(max-width:480px){.brand{flex-basis:82%}}
.catalog-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.catalog-group{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:.45rem;background:#1c1c21;padding:clamp(1rem,3vw,1.65rem)}.catalog-group h3{color:var(--gold);font-size:1.25rem}.product-list{width:100%;padding:0;margin:0 0 1.25rem;list-style:none}.product-list li{display:grid;gap:.18rem;padding:.7rem 0;border-top:1px solid var(--line)}.product-list span{color:var(--muted)}.catalog-group .button{margin-top:auto}.catalog[id="broetje"]{background:linear-gradient(135deg,#25181c,#111114 70%)}
@media(max-width:650px){.catalog-groups{grid-template-columns:1fr}}


.campaign-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,320px);align-items:center;gap:clamp(1.3rem,4vw,3.5rem)}.campaign-price{font-size:clamp(2rem,5vw,4.1rem);line-height:1.1;color:var(--gold);font-weight:850;margin-top:.8rem}.campaign-grid figure,.motif-grid figure{margin:0}.campaign-grid figure a,.motif-grid figure a{display:block}.campaign-grid img,.motif-grid img{display:block;width:100%;height:auto;border-radius:.35rem}.campaign-grid figcaption,.motif-grid figcaption{padding:.45rem 0;color:var(--muted)}.motifs details{border-top:1px solid var(--line);padding:.65rem 0}.motifs summary{cursor:pointer;padding:.45rem 0;font-weight:750}.motifs summary span{color:var(--muted);font-weight:400}.motif-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:1rem;padding:.6rem 0}.motif-grid figure{max-width:300px}#besichtigung h3{margin-top:1.35rem}
@media(max-width:650px){.campaign-grid{grid-template-columns:1fr}.campaign-grid figure{max-width:320px}.motif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


.brand-track .brand{padding:0;overflow:hidden;justify-content:flex-start;gap:0}.brand-photo,.brand-mark{height:clamp(110px,15vw,165px);width:100%;display:grid;place-items:center;overflow:hidden;background:#ececf1}.brand-photo img{width:100%;height:100%;min-height:0;object-fit: contain;object-position:center 58%;display:block}.brand-track .brand-mark{color:#22222a;font-size:clamp(1.7rem,3.4vw,2.8rem);font-weight:900;letter-spacing:-.045em;background:linear-gradient(140deg,#f7f7f9,#e0e2e8)}.brand-caption{display:grid;gap:.1rem;padding:.75rem 1rem 1rem}.brand-caption strong{font-size:clamp(1.25rem,2vw,1.65rem)}


.supplier-list{list-style:none;padding:0;margin:1.4rem 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:.75rem}.supplier-list li{display:flex;flex-direction:column;justify-content:center;min-height:90px;border:1px solid #45454e;background:#1c1c21;border-radius:.4rem}.supplier-list li>a,.supplier-list li:not(:has(a)){padding:.9rem 1rem}.supplier-list a{display:block;text-decoration:none;height:100%}.supplier-list a:hover strong{text-decoration:underline;text-underline-offset:.2em}.supplier-list strong,.supplier-list span{display:block}.supplier-list strong{font-size:1.12rem}.supplier-list span{color:var(--muted);font-size:.9rem;margin-top:.2rem}


.supplier-list li{overflow:hidden;justify-content:flex-start}.supplier-list li>a,.supplier-list li:not(:has(a)){padding:0}.supplier-list li>a,.supplier-entry{display:block;width:100%;height:100%}.supplier-list .supplier-image{display:block;margin:0;aspect-ratio:2.25;overflow:hidden;background:#e7e7eb}.supplier-image img{display:block;width:100%;height:100%;object-fit: contain;object-position:center 59%}.supplier-list .supplier-copy{display:block;margin:0;padding:.8rem 1rem 1rem}.supplier-note{font-size:.9rem}


.service-feature:nth-of-type(even){background:#17171c}.service-feature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,240px);align-items:center;gap:1.5rem 3rem}.service-feature-grid p{max-width:58ch;margin-bottom:1.15rem}.service-feature-grid img{display:block;width:100%;height:auto;border-radius:.35rem;border:1px solid var(--line)}
@media(max-width:620px){.service-feature-grid{grid-template-columns:1fr}.service-feature-grid img{max-width:240px}}

.brand-track{position:relative}.brand-track .brand{min-width:0}.brand-track .brand-photo{height:clamp(220px,29vw,380px);padding:.5rem;background:#24242b;display:flex;align-items:center;justify-content:center}.brand-track .brand-photo img{height:100%;width:100%;object-fit:contain;object-position:center}.brand-track .brand-mark{min-height:220px;height:clamp(220px,29vw,380px)}.brand-track .brand-caption{min-height:5rem}.brand-track .brand-caption strong{overflow-wrap:anywhere}.brand-track .brand{flex-basis:calc((100% - 1.6rem)/3)}
@media(max-width:800px){.brand-track .brand{flex-basis:calc((100% - .8rem)/2)}}
@media(max-width:520px){.brand-track .brand{flex-basis:84%}.brand-track .brand-photo,.brand-track .brand-mark{height:305px}}
.supplier-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.supplier-list .supplier-image{position:relative;display:grid;place-items:center;background:#fff;aspect-ratio:1.85;color:#222;overflow:hidden}.supplier-image span{margin:0;text-align:center;padding:1rem;color:#34343c}.supplier-image:has(img[data-loaded]) span{visibility:hidden}.supplier-image img{position:absolute;inset:0;height:100%;width:100%;padding:.65rem;object-fit:contain;object-position:center}.supplier-image img[hidden]{display:none}
.site-intro{padding:clamp(2.5rem,6vw,5rem) 0}.site-intro h1{font-size:clamp(2.5rem,6vw,4.6rem)}.section-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.2rem}.section-nav a{border:1px solid var(--line);padding:.45rem .8rem;border-radius:.3rem;text-decoration:none}nav .links a[aria-current="page"]{color:#a50c22;text-decoration:underline;text-underline-offset:.3em}.site-footer{border-top:1px solid var(--line);padding:1.2rem 0}.site-footer .wrap{display:flex;gap:.65rem 1.25rem;flex-wrap:wrap}.site-footer a{color:inherit}

.maker-index{list-style:none;padding:0;margin:1.7rem 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:.75rem}.maker-index a{display:grid;gap:.2rem;background:#1e1e25;border:1px solid var(--line);padding:1rem 1.25rem;border-radius:.35rem;text-decoration:none}.maker-index li:first-child a{border-left:3px solid #ec3749}.maker-index a:hover{border-color:#ed6773}.maker-index strong{font-size:1.15rem}.maker-index span{color:var(--muted)}.manufacturer-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),310px));gap:1rem;margin-top:1rem}.manufacturer-gallery img{width:100%;height:auto;display:block;border-radius:.35rem}

.maker-index{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.maker-index a,.maker-index li:first-child a{position:relative;grid-template-rows:210px 1fr;gap:0;padding:0;height:100%;overflow:hidden;border:1px solid var(--line);border-right:5px solid var(--maker-accent)}.maker-image{display:grid;place-items:center;min-height:0;background:#15151b;padding:.65rem}.maker-image img{width:100%;height:100%;min-height:0;object-fit:contain}.maker-copy{display:grid;align-content:start;gap:.22rem;padding:.9rem 1rem}.maker-index .maker-partner,.maker-intro .maker-partner{width:fit-content;padding:.15rem .5rem;margin-top:.35rem;border-left:3px solid var(--maker-accent);background:#303039;color:white;font-size:.9rem;font-weight:750}.maker-intro{border-right:4px solid var(--maker-accent);padding-right:1rem}

.maker-image.maker-logo,.maker-detail-logo.maker-logo{background:#f9f9fa}.maker-image.maker-logo img,.maker-detail-logo img{display:block;width:100%;height:100%;max-width:205px;max-height:110px;object-fit:contain}.maker-detail-logo{display:grid;place-items:center;width:min(100%,250px);height:130px;padding:1rem;margin:1.1rem 0;border-radius:.35rem}.maker-logo.maker-logo-reflex,.maker-logo.maker-logo-conel{background:#20272a}

.motif-group{padding:1.25rem 0;border-top:1px solid var(--line)}.motif-group h3{font-size:1.35rem;margin-bottom:.35rem}.visit-credit{margin:.7rem 0 1rem}.visit-photo{margin:1.35rem auto 0;width:min(92%,310px)}.visit-photo img{display:block;width:100%;height:auto;border-radius:.35rem}

.page-layout{display:grid;grid-template-columns:clamp(190px,17vw,245px) minmax(0,1fr);width:min(100%,1590px);margin-inline:auto}.page-content{min-width:0}.page-side{position:sticky;top:0;align-self:start;max-height:100vh;overflow:auto;padding:1.15rem .9rem;border-right:1px solid var(--line);background:#15151a}.page-side nav{display:block;padding:0}.page-side-group+.page-side-group{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.page-side-group p{font-weight:800;font-size:.88rem;margin:0 0 .4rem;color:#d8d7dd}.page-side-group ul{list-style:none;padding:0;margin:0;display:grid;gap:.15rem}.page-side-group a{display:block;padding:.42rem .6rem;border:1px solid transparent;border-radius:.35rem;color:#dedee4;text-decoration:none;line-height:1.35}.page-side-group a:hover{background:#26262e}.page-side-group a[aria-current="page"]{background:#302127;color:#fff;border-color:#59323e;border-left:3px solid #fa6674;text-decoration:none;font-weight:750}.page-turn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-block:1rem 1.5rem;padding:0}.page-turn a{display:grid;gap:.2rem;padding:.8rem 1rem;border:1px solid var(--line);background:#1e1e25;border-radius:.4rem;text-decoration:none}.page-turn a:hover{border-color:#ed6773}.page-turn span{font-size:.9rem;color:var(--muted)}.page-turn-next{grid-column:2;text-align:right}.page-turn-previous{grid-column:1}
@keyframes page-turn-in{from{opacity:.3;transform:translateX(18px) rotateY(-4deg)}to{opacity:1;transform:none}}
@keyframes page-turn-out{to{opacity:.15;transform:translateX(-18px) rotateY(4deg)}}
@media(prefers-reduced-motion:no-preference){.page-content{transform-origin:left center;animation:page-turn-in .24s ease-out}.page-content.is-turning{animation:page-turn-out .15s ease-in forwards}}
@media(max-width:860px){.page-layout{display:block}.page-side{position:static;max-height:none;padding:.55rem .75rem;border-right:0;border-bottom:1px solid var(--line)}.page-side-group+.page-side-group{margin-top:.45rem;padding-top:.45rem}.page-side-group p,.page-side-extra{display:none}.page-side-group ul{display:flex;gap:.35rem;overflow-x:auto;padding:.15rem .1rem .35rem;scrollbar-width:thin}.page-side-group li{flex:none}.page-side-group a{white-space:nowrap;border-color:var(--line);font-size:.94rem}}

.campaign-product{margin:0}.campaign-product figcaption{padding:.45rem 0;color:var(--muted)}.campaign-product-image{position:relative;overflow:hidden;aspect-ratio:500/355;border-radius:.35rem;background:#141418}.campaign-grid .campaign-product-image img{position:absolute;width:224.4%;max-width:none;height:auto;left:-116%;top:-152%;border-radius:0}

/* Shared header and single-column page layout */
body > header {
  background: #17171d;
  color: #f9f7f8;
  border-bottom: 1px solid var(--line);
}
body > header > nav {
  flex-direction: column;
  gap: .7rem;
  padding: 1rem 0 0;
}
body > header .site-brand { flex: 0 0 auto; }
body > header .links {
  width: 100%;
  justify-content: center;
  gap: clamp(.2rem, 1vw, .85rem);
  padding-block: .3rem;
  border-top: 1px solid var(--line);
}
body > header .links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem clamp(.4rem, .9vw, .8rem);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #e4e1e7;
  font-size: .95rem;
}
body > header .links a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}
body > header a:hover { color: var(--gold); }
body > header .links a:hover { color: var(--gold); }
.site-menu { display: none; }
.page-layout { display: block; width: 100%; }

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.project-intro h1 { font-size: clamp(2.65rem, 5.4vw, 4.7rem); }
.project-intro .button { margin-top: .65rem; }
.project-intro > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.project-gallery { background: #18181e; }
.project-group { margin-top: 2rem; }
.project-group h3 { color: var(--gold); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 1rem;
}
.project-grid figure {
  margin: 0;
  overflow: hidden;
  background: #202028;
  border: 1px solid var(--line);
  border-radius: .6rem;
}
.project-grid a { display: block; background: #111116; }
.project-grid a:focus-visible { outline-offset: -4px; }
.project-grid img { display: block; width: 100%; height: clamp(235px, 30vw, 330px); object-fit: contain; }
.project-grid figcaption { padding: .7rem .9rem; }

@media (max-width: 950px) {
  body > header > nav {
    flex-direction: row;
    justify-content: space-between;
    gap: .5rem;
    padding-block: .65rem;
  }
  body > header .links { display: none; }
  .site-menu { display: block; position: relative; z-index: 5; }
  .site-menu summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .4rem .65rem;
    background: #25252d;
    border: 1px solid #55515a;
    border-radius: .45rem;
    list-style: none;
    cursor: pointer;
  }
  .site-menu summary::-webkit-details-marker { display: none; }
  .site-menu summary::before {
    content: "";
    width: .9rem;
    height: .65rem;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }
  .site-menu[open] summary { color: var(--gold); }
  .site-menu-links {
    position: absolute;
    right: 0;
    top: calc(100% + .55rem);
    display: grid;
    width: min(265px, 86vw);
    max-height: 70dvh;
    overflow: auto;
    padding: .45rem;
    background: #22222a;
    border: 1px solid #55515a;
    border-radius: .55rem;
    box-shadow: 0 .75rem 1.65rem #0008;
  }
  .site-menu-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .4rem .75rem;
    border-radius: .3rem;
  }
  .site-menu-links a[aria-current="page"] { background: #38272f; color: var(--gold); }
}
@media (max-width: 650px) {
  .project-intro { grid-template-columns: 1fr; }
}

.partner-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); gap: 1.5rem; align-items: center; }
.partner-feature img { display: block; width: 100%; }
#heat-pump-calculator .button { font: inherit; font-weight: 750; cursor: pointer; }
#heat-pump-result:not(:empty) { display: block; margin-top: 1rem; padding: 1rem; background: #302127; border-left: 3px solid var(--gold); }
.calculator-note { margin-block: 1rem; }
@media (max-width: 650px) {
  .partner-feature { grid-template-columns: 1fr; }
  .partner-feature img { max-width: 260px; }
}

body > header .site-brand {
  display: block;
  width: min(60vw, clamp(230px, 30vw, 340px));
  overflow: hidden;
  aspect-ratio: 2103 / 748;
}
body > header .site-brand img {
  width: 100%;

  mix-blend-mode: screen;
}
.more-projects { margin-top: 2rem; }
.more-projects summary { cursor: pointer; color: var(--gold); font-weight: 700; }
.more-projects .project-grid { margin-top: 1rem; }

#heizlast button, #foerderanfrage button { font: inherit; cursor: pointer; }
.calculation-result:not(:empty) { display: block; margin-top: 1rem; padding: 1rem; background: #302127; border-left: 3px solid var(--gold); }


.google-reviews-badge {
  position: fixed;
  right: max(.8rem, env(safe-area-inset-right));
  bottom: max(.8rem, env(safe-area-inset-bottom));
  z-index: 4;
  display: grid;
  justify-items: center;
  min-height: 44px;
  padding: .48rem .85rem .55rem;
  border: 1px solid #956e3e;
  border-radius: .85rem;
  background: #20191a;
  color: #fff7e7;
  box-shadow: 0 .4rem 1.25rem #0009;
  text-decoration: none;
}
.google-reviews-badge:hover { border-color: #ffd682; }
.review-badge-label { font-size: .82rem; font-weight: 750; white-space: nowrap; }
.review-arc {
  display: flex;
  justify-content: center;
  gap: .3rem;
  min-height: 1.55rem;
  color: #ffce72;
  font-size: .92rem;
  line-height: 1;
}
.review-arc > span {
  transform: translateY(var(--arc-offset, 0));
  animation: review-glow 5s ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
}
.review-arc > :nth-child(1) { --arc-offset: .5rem; }
.review-arc > :nth-child(2) { --arc-offset: .13rem; --glow-delay: .19s; }
.review-arc > :nth-child(3) { --glow-delay: .38s; }
.review-arc > :nth-child(4) { --arc-offset: .13rem; --glow-delay: .57s; }
.review-arc > :nth-child(5) { --arc-offset: .5rem; --glow-delay: .76s; }
@keyframes review-glow {
  0%, 23%, 100% { text-shadow: none; }
  11% { color: #fff4bd; text-shadow: 0 0 5px #ffe19b, 0 0 12px #ffb040; }
}
.site-footer { padding-bottom: 5.25rem; }
@media (prefers-reduced-motion: reduce) {
  .review-arc > span { animation: none; }
}

.heating-brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  max-width: 680px;
  margin-top: 1.35rem;
}
.heating-brand {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .85rem;
  min-height: 124px;
  padding: 1rem .75rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-color);
  border-radius: .55rem;
  background: #222229;
  color: #f6f4f7;
  text-align: center;
  text-decoration: none;
}
.heating-brand:hover { background: #2c2c34; }
.heating-brand-logo {
  display: grid;
  place-items: center;
  width: min(100%, 190px);
  height: 62px;
  padding: .45rem .7rem;
  border-radius: .3rem;
  background: #fff;
}
.heating-brand-logo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.heating-brand-broetje { --brand-color: #ee4154; }
.heating-brand-vaillant { --brand-color: #49bca5; }
@media (max-width: 420px) {
  .heating-brands { grid-template-columns: 1fr; }
}

.customer-review { max-width: 680px; margin-block: 1rem; }
.customer-review-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .65rem; }
.customer-review-stars { color: #ffce72; letter-spacing: .1em; }
.customer-review blockquote { margin: 0; color: #f6f4f7; }
.customer-review-source { margin: .65rem 0 0; font-size: .88rem; }

.trade-photo { margin: 0 0 .3rem; }
.trade-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: .35rem;
  background: #282830;
}
.trade-photo figcaption { margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.service-feature-grid .trade-photo img { max-height: 300px; }
#lueftung .trade-photo img { object-fit: contain; background: #fff; }
.review-carousel-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.review-carousel-controls .button { font: inherit; cursor: pointer; }

.site-dialog {
  width: min(92vw, 520px);
  max-height: 88dvh;
  padding: clamp(1rem, 4vw, 1.65rem);
  border: 1px solid #675146;
  border-radius: .8rem;
  background: #201b20;
  color: #fff;
}
.site-dialog::backdrop { background: #08070acf; }
.site-dialog h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); }
.site-dialog button, .privacy-open { font: inherit; cursor: pointer; }
.site-footer button.privacy-open { color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; }
.holiday-greeting { text-align: center; }
.holiday-greeting .actions { justify-content: center; }
.holiday-art {
  position: relative;
  width: min(100%, 300px, 40dvh);
  margin: 0 auto 1rem;
}
.holiday-scene { display: block; width: 100%; height: auto; border-radius: .5rem; }
.holiday-brand {
  position: absolute;
  inset: 8% 15% auto;
  padding: .35rem;
  border-radius: .4rem;
  background: #17171d;
}
.holiday-brand img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}
.heating-brand-logo:has(img[hidden]) { display: none; }
.heating-brand-logo:has(img[hidden]) + span::before { content: attr(data-brand); }

#privacy-settings fieldset { display: grid; gap: .55rem; border: 1px solid var(--line); border-radius: .4rem; padding: .65rem; }
#privacy-settings input { margin-right: .45rem; }
#live-reviews { margin-block: 1rem; }

.quick-contact {
  display: block;
  padding: .5rem 0;
  background: #1c1c23;
  border-bottom: 1px solid var(--line);
}
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  max-width: 780px;
}
.quick-contact-grid > a:first-child { line-height: 1.2; }
.quick-contact-grid > a {
  display: grid;
  place-content: center;
  gap: .14rem;
  min-height: 48px;
  padding: .35rem .2rem;
  border: 1px solid #42424c;
  border-radius: .4rem;
  color: #f6f4f7;
  text-align: center;
  line-height: 1.2;
}
.quick-contact-grid > a:hover { background: #2a2a33; border-color: #77727b; }
.quick-contact-grid > a:nth-child(2) { color: #ff9a9e; }
.quick-contact-grid strong { font-size: .92rem; }
.quick-contact-grid span { color: var(--muted); font-size: .82rem; }
@media (max-width: 460px) {
  .quick-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-contact-grid strong { font-size: .78rem; }
  .quick-contact-grid span { display: none; }
}

.contact-quick { padding-block: clamp(1.5rem, 4vw, 3rem); }
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
}
.contact-quick-grid > div { padding: 1rem; border: 1px solid var(--line); border-radius: .55rem; }
.office-hours dl { display: grid; gap: .5rem; margin-block: 1rem .65rem; }
.office-hours dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .1rem .6rem; }
.office-hours dt { color: var(--muted); }
.office-hours dd { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; }
.call-office, .call-emergency { display: inline-grid; line-height: 1.25; gap: .2rem; margin-top: .3rem; }
.call-office { background: #2d2c36; border-color: #65636e; }
.call-office span, .call-emergency span { font-variant-numeric: tabular-nums; }
.service-form-notice { padding: .75rem; border-left: 3px solid var(--gold); background: #302127; }
.form-grid .service-request-detail[hidden] { display: none; }
@media (max-width: 700px) {
  .contact-quick-grid { grid-template-columns: 1fr; }
}


.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1rem;
  padding: .4rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
.site-footer .footer-social .social-button {
  display: inline-flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--social-fill);
  border: 1px solid #ffffff38;
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #ffffff30, 0 4px 10px #0005;
  transition: transform .18s ease, filter .18s ease;
}
.site-footer .footer-social .social-button svg { flex: none; width: 28px; height: 28px; }
.social-whatsapp { --social-fill: #128045; }
.social-instagram { --social-fill: radial-gradient(circle at 18% 104%, #ffc36a 0%, #c43468 46%, #7433ae 80%); }
.social-facebook { --social-fill: #1763d5; }
.social-tiktok { --social-fill: #151515; }
.social-tiktok svg { filter: drop-shadow(-1px -1px 0 #25f4ee) drop-shadow(1px 1px 0 #fe2c55); }
.site-footer .footer-social .social-button:is(:hover,:focus-visible) { transform: translateY(-2px); filter: brightness(1.13); }
.site-footer .footer-social .social-button:focus-visible { outline: 2px solid #e8f3ff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-social .social-button { transition: none; }
  .site-footer .footer-social .social-button:is(:hover,:focus-visible) { transform: none; }
}

.campaign-grid .campaign-project-photo { max-height: 330px; object-fit: contain; object-position: center; }

.payment-visit { margin-top: 1.2rem; }
.payment-visit a { text-underline-offset: .2em; }

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  align-items: start;
  gap: clamp(1rem, 4vw, 2rem);
  padding-bottom: 2rem;
}
.careers-layout > section { margin: 0; padding: 1.2rem 0; }
.career-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.career-card .trade-photo img { aspect-ratio: 16 / 10; }
.careers-layout > .application-panel {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #64515a;
  border-radius: .65rem;
}
.application-group { margin: 1rem 0; padding: .8rem; border: 1px solid #64515a; border-radius: .45rem; }
.application-group legend { padding: 0 .35rem; color: var(--led-light, #dbd6e6); font-weight: 750; }
.application-group .form-grid { margin: 0; gap: .85rem; }
.application-group p { margin: 0; }
#career-application .button { font: inherit; font-weight: 750; cursor: pointer; }
@media (max-width: 900px) {
  .careers-layout { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .career-jobs { grid-template-columns: 1fr; }
}

.application-file { display: grid; gap: .45rem; margin-bottom: .65rem; font-weight: 700; }
.application-file input { max-width: 100%; color: inherit; font: inherit; }

.application-documents { margin: .5rem 0 0; padding-left: 1.25rem; color: var(--muted); }

body > header {
  position: relative;
}
body > header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 4px;
  pointer-events: none;
  background: radial-gradient(ellipse 35px 5px at center, #fff 0 18%, var(--led-highlight, #fff0f2) 29%, var(--led-light, #ff5570) 53%, transparent 100%) 0 0 / clamp(84px, 18vw, 240px) 100% no-repeat, var(--led-track, var(--led-base, #e31638));
  box-shadow: 0 0 9px var(--led-base, #ff153f), 0 0 22px var(--led-glow, #ff203d9c);
  animation: led-streifen-lichtlauf 3.2s linear infinite alternate;
}

.quick-contact-grid:has(.quick-appointment) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-comparison + .project-comparison { margin-top: 2rem; }
.comparison-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.comparison-pair figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: #1d1d24; }
.comparison-pair img { display: block; width: 100%; height: clamp(160px, 35vw, 340px); object-fit: contain; background: #101015; }
.comparison-pair figcaption { padding: .65rem; font-size: .9rem; }

.hero .home-broetje-logo {
  display: block;
  width: min(68%, 255px);
  margin: .3em 0 .2em;
  padding: .09em .16em;
  border-radius: .12em;
  background: #fff;
}
.hero .home-broetje-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

body:has(> header[data-gewerk="sanitaer"]),
.maker-index a[data-gewerk="sanitaer"],
.service-brand-list a[data-gewerk="sanitaer"] {
  --led-base: #168fe8;
  --led-light: #62caff;
  --led-highlight: #e7f8ff;
  --led-glow: #198bff9c;
}
body:has(> header[data-gewerk="lueftung"]),
.maker-index a[data-gewerk="lueftung"],
.service-brand-list a[data-gewerk="lueftung"] {
  --led-base: #29b861;
  --led-light: #7bef94;
  --led-highlight: #effff0;
  --led-glow: #25d7629c;
}
body:has(> header[data-gewerk="klima"]),
.maker-index a[data-gewerk="klima"],
.service-brand-list a[data-gewerk="klima"] {
  --led-base: #e8b419;
  --led-light: #ffde62;
  --led-highlight: #fff9dc;
  --led-glow: #ffc82a9c;
}
body:has(> header[data-gewerk="solar"]),
.maker-index a[data-gewerk="solar"],
.service-brand-list a[data-gewerk="solar"] {
  --led-base: #ed9225;
  --led-light: #ffc35c;
  --led-highlight: #fff6d8;
  --led-glow: #ed922599;
}
body:has(> header[data-gewerk="uebersicht"]),
.maker-index a[data-gewerk="uebersicht"],
.service-brand-list a[data-gewerk="uebersicht"] {
  --led-base: #168fe8;
  --led-light: #62caff;
  --led-highlight: #ffffff;
  --led-glow: #198bff9c;
}
@media (prefers-reduced-motion: reduce) {
  body > header::after { animation: none; }
}

@keyframes led-streifen-lichtlauf {
  from { background-position: 0 0; }
  to { background-position: 100% 0; }
}
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.team-card { overflow: hidden; border: 1px solid #b48c563d; border-radius: 1rem; }
.team-card img { display: block; width: 100%; height: auto; }
.team-card > div { padding: clamp(1rem, 3vw, 2rem); }
.team-card h3 { margin: 0 0 .35rem; }
.team-card li + li { margin-top: .45rem; }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

.certificate-gallery { margin-top: 2rem; }
.certificate-group { border: 1px solid var(--line); border-radius: .5rem; padding: .7rem 1rem; margin-bottom: .65rem; }
.certificate-group summary { cursor: pointer; }
.certificate-group > summary { font-weight: 750; }
.certificate-item { margin: .7rem 0; }
.certificate-photo { position: relative; width: min(100%, 42rem); aspect-ratio: 3 / 4; margin: .75rem auto; }
.certificate-photo img { position: absolute; top: 50%; left: 50%; display: block; width: 100%; max-width: none; height: auto; image-orientation: none; transform: translate(-50%, -50%) rotate(var(--certificate-rotation)); }
.certificate-sideways img { width: calc(100% * 4 / 3); }

#team .team-card {
  position: relative;
  isolation: isolate;
  border-color: var(--profile-led);
  box-shadow: 0 0 16px var(--profile-glow);
}
#team .team-card[data-person="domenic"] {
  --profile-led: #e31638;
  --profile-shine: #ff8b9d;
  --profile-glow: #ff203d40;
}
#team .team-card[data-person="celina"] {
  --profile-led: #0db39e;
  --profile-shine: #8beadd;
  --profile-glow: #0db39e45;
}
#team .team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--team-led-angle), var(--profile-led) 0% 84%, var(--profile-shine) 95%, var(--profile-led) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: team-led-rundlauf 6s linear infinite;
}
@property --team-led-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes team-led-rundlauf {
  to { --team-led-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  #team .team-card::before { animation: none; }
}
body:has(> header[data-gewerk="violett"]),
.maker-index a[data-gewerk="violett"],
.service-brand-list a[data-gewerk="violett"] { --led-base: #9359df; --led-light: #c4a0fa; --led-highlight: #c4a0fa; --led-glow: #9359df80; }

body:has(> header[data-gewerk="tuerkis"]),
.maker-index a[data-gewerk="tuerkis"],
.service-brand-list a[data-gewerk="tuerkis"] { --led-base: #0aa89e; --led-light: #76eee5; --led-highlight: #76eee5; --led-glow: #0aa89e88; }

body:has(> header[data-gewerk="kupfer"]),
.maker-index a[data-gewerk="kupfer"],
.service-brand-list a[data-gewerk="kupfer"] { --led-base: #d67d4a; --led-light: #ffbe89; --led-highlight: #ffbe89; --led-glow: #d67d4a88; }

body:has(> header[data-gewerk="rosa"]),
.maker-index a[data-gewerk="rosa"],
.service-brand-list a[data-gewerk="rosa"] { --led-base: #d64b9d; --led-light: #ffa7d7; --led-highlight: #ffa7d7; --led-glow: #d64b9d88; }

body:has(> header[data-gewerk]) main h1 {
  color: var(--led-light, #f2edf0);
  animation: gewerk-titel-leuchten 3.6s ease-in-out infinite;
}
@keyframes gewerk-titel-leuchten {
  0%, 100% {
    color: color-mix(in srgb, var(--led-light, #ff8b9d) 86%, var(--led-base, #e31638));
    text-shadow: 0 0 3px transparent;
  }
  50% {
    color: color-mix(in srgb, var(--led-light, #ff8b9d) 68%, white);
    text-shadow: 0 0 10px var(--led-glow, #ff203d9c), 0 0 22px var(--led-glow, #ff203d9c);
  }
}
@media (prefers-reduced-motion: reduce) {
  body:has(> header[data-gewerk]) main h1 { animation: none; }
}
body:has(> header[data-gewerk="neutral"]),
.maker-index a[data-gewerk="neutral"],
.service-brand-list a[data-gewerk="neutral"] {
  --led-base: #7897ad;
  --led-light: #bbd5e5;
  --led-highlight: #f2f9ff;
  --led-glow: #7897ad75;
}
body:has(> header[data-gewerk]) .quick-contact-grid > a:nth-child(2) {
  color: var(--led-light, #ff9a9e);
}


.maker-index a[data-gewerk] {
  --maker-accent: var(--led-base, #e31638);
  border-right-color: var(--maker-accent);
  transition: box-shadow .25s ease;
}
.maker-index .maker-copy > strong {
  color: var(--led-light, #ff8b9d);
  animation: gewerk-titel-leuchten 4.4s ease-in-out infinite;
}
.maker-index li:nth-child(even) .maker-copy > strong { animation-delay: -2.2s; }
.maker-index a[data-gewerk]:is(:hover, :focus-visible) {
  box-shadow: inset 0 0 14px var(--led-glow, #ff203d9c), 0 0 14px var(--led-glow, #ff203d9c);
}
@media (prefers-reduced-motion: reduce) {
  .maker-index .maker-copy > strong { animation: none; }
  .maker-index a[data-gewerk] { transition: none; }
}

.payment-page { padding-block: clamp(2rem, 5vw, 4rem); }
.payment-heading { max-width: 40rem; margin-bottom: 1.6rem; }
.payment-heading > p { margin-bottom: 0; }
.payment-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.payment-method {
  min-width: 0;
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  border: 1px solid #3c4a55;
  border-top: 2px solid #7897ad;
  border-radius: .85rem;
  background: linear-gradient(150deg, #232c35, #181a20 65%);
}
.payment-method .payment-label { margin: 0 0 .45rem; color: #b6cddd; font-size: .85rem; }
.payment-method h2 { margin: 0 0 .55rem; color: #f4f8fa; font-size: clamp(1.24rem, 2.2vw, 1.6rem); }
.payment-method p:last-child { margin-bottom: 0; }
.payment-wallets { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .8rem 0 0; }
.payment-wallets li { color: #e8f1f7; border: 1px solid #576b7b; padding: .3rem .6rem; border-radius: .35rem; font-size: .84rem; }
.payment-visit-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding: clamp(1.05rem, 2.5vw, 1.7rem);
  background: #1d252d;
  border: 1px solid #455763;
  border-radius: .85rem;
}
.payment-visit-box h2 { margin: 0; font-size: 1.3rem; }
.payment-visit-box p { margin: .35rem 0; }
.payment-visit-box a { display: inline-flex; align-items: center; min-height: 44px; color: #c5e6f9; text-underline-offset: .16em; }
.payment-price strong { font-size: 2rem; color: #eef7ff; }
.payment-price span { color: #b6cddd; }
@media (max-width: 700px) {
  .payment-methods { grid-template-columns: 1fr; }
  .payment-visit-box > div { width: 100%; }
}


body:has(> header[data-gewerk="heizung"]) main h1 { color: #f4edf0; animation: none; }
.certificate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
#zertifikate .certificate-list-group { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #181b23; }
.certificate-list-group h4 { margin: 0 0 .45rem; color: #d4e8f2; }
.certificate-list-group ul { list-style: none; margin: 0; padding: 0; }
.certificate-list-group li + li { border-top: 1px solid var(--line); }
.certificate-list-group a { display: grid; gap: .15rem; padding: .6rem .15rem; min-height: 44px; color: #eef4f8; }
.certificate-list-group a span { color: var(--muted); font-size: .88rem; }
.certificate-gallery { scroll-margin-top: 2rem; }
.certificate-view { max-width: 52rem; padding-block: 1.5rem; }
.certificate-view h1 { margin-top: 1.35rem; font-size: clamp(1.55rem, 4.5vw, 2.6rem); overflow-wrap: anywhere; }
@media (max-width: 640px) { .certificate-list { grid-template-columns: 1fr; } }

#neuigkeiten { scroll-margin-top: 2rem; }
#neuigkeiten [hidden], #aktion[hidden] { display: none; }
.news-greeting { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; align-items: center; }
.news-greeting img { width: 100%; height: auto; border-radius: .6rem; }
@media (max-width: 600px) { .news-greeting { grid-template-columns: 1fr; } }

#servicemarken { scroll-margin-top: 2rem; }
.service-brand-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .55rem; padding: 0; margin: 1rem 0 1.25rem; list-style: none; }
.service-brand-list li { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .45rem; background: #1c1e25; font-weight: 650; }

.service-brand-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.service-brand-list li { padding: 0; }
.service-brand-list a { display: grid; gap: .35rem; height: 100%; padding: .8rem; border-radius: inherit; text-decoration: none; color: #edf4f8; }
.service-brand-mark { display: flex; align-items: center; justify-content: center; min-height: 3.2rem; color: var(--led-light, #ff8b9d); font-size: 1.15rem; font-weight: 750; text-align: center; }
.service-brand-mark img { width: auto; max-width: 9rem; max-height: 2.5rem; height: auto; background: white; padding: .2rem; border-radius: .2rem; }
.service-brand-action { font-size: .85rem; text-align: center; }

.service-brand-mark img {
  display: block;
  width: min(100%, 10rem);
  height: 3.3rem;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: .55rem .75rem;
  transition: filter .2s ease, box-shadow .2s ease;
}
.service-brand-list a:is(:hover, :focus-visible) .service-brand-mark img {
  filter: brightness(1.12);
  box-shadow: 0 0 12px var(--led-glow, #ff203d9c), 0 0 20px var(--led-glow, #ff203d9c);
}
@media (prefers-reduced-motion: reduce) {
  .service-brand-mark img { transition: none; }
}


.service-brand-mark img {
  box-shadow: 0 0 8px var(--led-glow, #ff203d9c);
  animation: service-logo-leuchten 3.4s ease-in-out infinite;
}
.service-brand-list li:nth-child(even) .service-brand-mark img { animation-delay: -1.7s; }
.service-brand-mark .service-junkers-logo { object-view-box: inset(9% 6% 63% 6%); }
@keyframes service-logo-leuchten {
  0%, 100% { box-shadow: 0 0 6px var(--led-glow, #ff203d9c); }
  50% { box-shadow: 0 0 13px var(--led-glow, #ff203d9c), 0 0 21px var(--led-glow, #ff203d9c); }
}
.site-footer .footer-social { gap: .85rem; padding-block: .85rem 1.2rem; }
.site-footer .footer-social .social-button {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--social-mark);
  background: #171a20;
  color: var(--social-mark);
  box-shadow: 0 0 12px color-mix(in srgb, var(--social-mark) 23%, transparent);
}
.site-footer .footer-social .social-button svg { width: 29px; height: 29px; }
.social-whatsapp { --social-mark: #53e492; }
.social-instagram { --social-mark: #ff78b6; }
.social-facebook { --social-mark: #70aaff; }
.social-tiktok { --social-mark: #f9f9ff; }
.site-footer .footer-social .social-button:is(:hover, :focus-visible) { background: var(--social-fill); color: white; }
@media (prefers-reduced-motion: reduce) {
  .service-brand-mark img { animation: none; }
}


.service-brand-mark img[src$="service-vaillant.jpg"] { object-view-box: inset(26% 3% 28% 3%); }
.service-brand-mark img[src$="service-mhg.jpg"] { object-view-box: inset(15% 19% 16% 19%); }
.service-device-types { margin-block: 1rem 1.35rem; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #1c1e25; }
.service-device-types h3 { margin: 0 0 .6rem; }
.service-device-types ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .55rem 1.6rem; padding-left: 1.15rem; margin: 0; }
.site-footer .footer-social .social-button {
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: column;
  gap: .4rem;
  width: auto;
  height: auto;
  min-width: 5.4rem;
  padding: .2rem .25rem;
  background: none;
  border: 0;
  border-radius: .6rem;
  box-shadow: none;
}
.site-footer .footer-social .social-button svg {
  width: 52px;
  height: 52px;
  padding: 11px;
  background: #171a20;
  border: 2px solid var(--social-mark);
  border-radius: 50%;
  box-shadow: 0 0 10px color-mix(in srgb, var(--social-mark) 26%, transparent);
}
.site-footer .footer-social .social-button:is(:hover, :focus-visible) { background: none; }
.site-footer .footer-social .social-button:is(:hover, :focus-visible) svg { background: var(--social-fill); }
.social-label { color: #e9edf2; font-size: .78rem; text-align: center; }


.site-footer .footer-social { gap: .6rem; align-items: stretch; }
.site-footer .footer-social .social-button {
  flex-direction: row;
  justify-content: flex-start;
  min-height: 48px;
  gap: .55rem;
  padding: .45rem .7rem;
  background: #1e2027;
  border: 1px solid #43505b;
  border-radius: .55rem;
}
.site-footer .footer-social .social-button svg {
  width: 25px;
  height: 25px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.site-footer .footer-social .social-button:is(:hover, :focus-visible) { background: #292f39; border-color: var(--social-mark); }
.site-footer .footer-social .social-button:is(:hover, :focus-visible) svg { background: transparent; color: var(--social-mark); }
.site-footer .footer-social .social-label { font-size: .84rem; }
@media (max-width: 600px) {
  .site-footer .footer-social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-social .social-button { min-width: 0; width: 100%; }
}


.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: stretch;
  margin-bottom: 1.4rem;
  overflow: hidden;
  border: 1px solid #587389;
  border-radius: 1.05rem;
  background: radial-gradient(ellipse at 0 100%, #1b4357, #18242e 68%);
  box-shadow: 0 16px 32px #0005;
}
.payment-hero .payment-heading { margin: 0; padding: clamp(1.4rem, 4.5vw, 3.6rem); align-self: center; }
.payment-hero h1 { margin: 0 0 .65rem; font-size: clamp(2rem, 4.7vw, 4.3rem); line-height: 1.02; }
.payment-hero .button { margin-top: 1rem; }
.payment-hero-art { margin: 0; min-height: 17rem; position: relative; overflow: hidden; background: #213640; }
.payment-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-view-box: inset(0 33.334% 0 33.334%); }
#zahlungsarten { scroll-margin-top: 1rem; }
.payment-method { overflow: hidden; }
.payment-photo {
  display: block;
  width: 100%;
  height: clamp(10rem, 22vw, 14rem);
  margin-bottom: .95rem;
  border-radius: .55rem;
  object-fit: contain;
  background: #151b23;
}
.payment-photo-1 { object-view-box: inset(0 66.667% 0 0); }
.payment-photo-2 { object-view-box: inset(0 33.334% 0 33.334%); }
.payment-photo-3 { object-view-box: inset(0 0 0 66.667%); }
@media (max-width: 700px) {
  .payment-hero { grid-template-columns: 1fr; }
  .payment-hero-art { min-height: 13rem; }
  .payment-hero-art img { object-position: center 49%; }

}

.material-home > .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; }
.material-home > .wrap > div { max-width: 47rem; }
.material-home p { margin-bottom: 0; }
.material-steps { max-width: 58rem; padding-left: 1.5rem; }
.material-steps li { padding-left: .25rem; margin: 0 0 .75rem; }


.material-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.material-hero-photo, .material-system-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #1c1e25; }
.material-hero-photo img, .material-system-grid img { display: block; width: 100%; height: auto; }
.material-hero-photo figcaption, .material-system-grid figcaption { padding: .65rem .85rem; }
.material-hero-photo figcaption { color: var(--muted); font-size: .85rem; }
.material-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; margin-block: 1rem; }
.material-category { border-top: 2px solid #ba724e; }
.material-category li + li { margin-top: .4rem; }
.material-systems { margin-block: 2rem 1rem; }
.material-system-grid img { aspect-ratio: 1.55; object-fit: contain; }
@media (max-width: 700px) { .material-intro { grid-template-columns: 1fr; } }


.material-intro { overflow: hidden; gap: 0; padding: 0; border: 1px solid #805940; border-radius: 1rem; background: linear-gradient(135deg,#26211f,#16191f); }
.material-intro-copy { min-width: 0; padding: clamp(1.15rem, 3.7vw, 3rem); }
.material-intro-copy h1 { max-width: 17ch; font-size: clamp(1.85rem, 4.2vw, 3.4rem); line-height: 1.08; overflow-wrap: anywhere; }
.material-hero-photo { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; border: 0; border-radius: 0; }
.material-hero-photo img { height: auto; min-height: 0; align-self: center; object-fit: contain; }
.material-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; }
.material-jump a:first-child, .material-jump a { flex: 0 1 auto; display: inline-flex; align-items: center; min-height: 44px; line-height: 1.2; border: 1px solid #735442; border-radius: .45rem; padding: .45rem .7rem; text-decoration: none; color: #ffe2cc; }
.material-jump a:is(:hover,:focus-visible) { background: #40312a; }
.material-browse [id], #bestellung { scroll-margin-top: 1.5rem; }
.material-pipe { grid-column: 1/-1; }
.material-specs { margin: 0 0 .85rem; }
.material-specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .2rem 1.2rem; border-top: 1px solid var(--line); padding: .65rem 0; }
.material-specs dt { font-weight: 750; color: #ffd3af; }
.material-specs dd { margin: 0; }
.material-system-grid figure img { object-fit: contain; background: #17191e; }
.material-system-grid figcaption { font-weight: 700; }
@media (max-width: 700px) {
  .material-hero-photo img { min-height: 0; max-height: 18rem; }
  .material-specs > div { grid-template-columns: 1fr; }
}


#start .material-chooser { padding: 1rem clamp(.9rem, 3vw, 1.6rem) 1.25rem; margin: 0 0 clamp(1.7rem, 4vw, 3rem); border: 1px solid #8c6249; border-radius: .85rem; background: linear-gradient(125deg,#362820,#1d2027 60%); }
.material-chooser h2 { margin: 0 0 .8rem; }
.material-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.material-choices a { display: grid; grid-template-rows: auto 1fr auto; gap: .35rem; min-width: 0; padding: .85rem; border: 1px solid #765a49; border-radius: .6rem; background: #202128; color: #f4ede8; text-decoration: none; }
.material-choices a strong { font-size: 1.06rem; }
.material-choices a > span { font-size: .9rem; }
.material-choices .material-choice-action { padding-top: .25rem; color: #ffcb9f; font-weight: 750; }
.material-choices a:is(:hover,:focus-visible) { outline: 2px solid #e2a671; outline-offset: 2px; background: #322b28; }
@media (max-width: 700px) { .material-choices { grid-template-columns: 1fr; } }


.home-hero { padding-block: clamp(1.35rem, 4vw, 3.5rem); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 24rem; border: 1px solid #584046; border-radius: 1.15rem; overflow: hidden; background: radial-gradient(ellipse at 0 100%, #361f29, #18181e 68%); }
.home-hero-copy { padding: clamp(1.2rem, 4vw, 3.5rem); align-self: center; }
.home-hero-copy h1 { margin: .65rem 0 .85rem; max-width: 13ch; font-size: clamp(2.35rem, 5.2vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: anywhere; color: #f7eff1; }
.home-hero-copy > p { max-width: 34rem; }
.home-hero-copy .home-company { margin: 0; color: #edd8da; font-weight: 750; }
.home-hero-copy .actions { margin-top: 1.25rem; gap: .65rem; }
.home-project-hero { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; margin: 0; background: #16151a; }
.home-project-hero img { display: block; width: 100%; height: 100%; max-height: 32rem; min-height: 0; object-fit: contain; object-position: 50% 43%; }
.home-project-hero figcaption { padding: .7rem 1rem; color: #e9d9df; font-size: .84rem; }
.home-paths { padding: 0 0 clamp(1.8rem, 4vw, 3.4rem); }
.home-paths h2 { margin-top: 0; }
.home-paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.home-paths-grid a { display: grid; grid-template-rows: auto 1fr auto; gap: .55rem; padding: clamp(1rem, 2.6vw, 1.65rem); min-width: 0; color: #f5edf0; text-decoration: none; border: 1px solid #594653; background: #202028; border-radius: .8rem; }
.home-paths-grid a strong { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.home-paths-grid a > span { color: #d9cfd6; }
.home-paths-grid a .home-path-link { color: #ffd5dc; font-weight: 750; }
.home-paths-grid a:is(:hover,:focus-visible) { border-color: #f993a1; background: #30242d; }
.home-project .comparison-pair figure { background: #16161b; }
.home-project .comparison-pair img { height: clamp(14rem, 30vw, 22rem); }
.home-project .actions { margin-top: 1rem; }
#heizung-vorher-nachher { scroll-margin-top: 1.5rem; }
@media (max-width: 760px) {
  .home-hero-grid, .home-paths-grid { grid-template-columns: 1fr; }
  .home-project-hero img { height: clamp(13rem, 62vw, 24rem); }
}
@media (max-width: 440px) { .home-project .comparison-pair { grid-template-columns: 1fr; } }


.heating-brand-vaillant .heating-brand-logo img { object-view-box: inset(26% 3% 28% 3%); }
.heating-service-brands { margin-block: .9rem 1.15rem; }
.heating-service-brands p { margin: 0 0 .45rem; font-weight: 700; }
.heating-service-brands ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.heating-service-brands li { flex: 0 1 105px; }
.heating-service-brands li a { display: grid; place-items: center; min-height: 44px; padding: .4rem .55rem; border-radius: .4rem; background: #fff; }
.heating-service-brands img { display: block; width: 100%; height: 25px; object-fit: contain; }
.heating-service-brands li a:is(:hover,:focus-visible) { outline: 2px solid #ff9cae; outline-offset: 2px; }


.brand-label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; }
.brand-label-logo { display: inline-grid; place-items: center; width: 6.5rem; height: 2.4rem; flex: 0 0 auto; border-radius: .38rem; padding: .35rem .55rem; background: white; line-height: 1; }
.brand-label-logo img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 1.7rem; object-fit: contain; }
.brand-label-vaillant img { object-view-box: inset(26% 3% 28% 3%); }
.maker-copy > .brand-label-logo { margin-bottom: .25rem; }

.brand-label-logo img[src$="marke-samsung.png"] { object-view-box: inset(37% 6% 37% 6%); }


body:has(> header[data-hersteller="broetje"]),
.maker-index a[data-hersteller="broetje"] {
  --led-base: #e51532;
  --led-light: #ff6479;
  --led-highlight: color-mix(in srgb, #ff6479 58%, white);
  --led-glow: #e51532d9;
}

body:has(> header[data-hersteller="vaillant"]),
.maker-index a[data-hersteller="vaillant"] {
  --led-base: #009c79;
  --led-light: #65e9cd;
  --led-highlight: color-mix(in srgb, #65e9cd 58%, white);
  --led-glow: #009c79d9;
}

body:has(> header[data-hersteller="remeha"]),
.maker-index a[data-hersteller="remeha"] {
  --led-base: #deb82b;
  --led-light: #ffe676;
  --led-highlight: color-mix(in srgb, #ffe676 58%, white);
  --led-glow: #deb82bd9;
}

body:has(> header[data-hersteller="bosch"]),
.maker-index a[data-hersteller="bosch"] {
  --led-base: #e32636;
  --led-light: #ff7581;
  --led-highlight: color-mix(in srgb, #ff7581 58%, white);
  --led-glow: #e32636d9;
}

body:has(> header[data-hersteller="samsung"]),
.maker-index a[data-hersteller="samsung"] {
  --led-base: #3156ed;
  --led-light: #829cff;
  --led-highlight: color-mix(in srgb, #829cff 58%, white);
  --led-glow: #3156edd9;
}

body:has(> header[data-hersteller="remko"]),
.maker-index a[data-hersteller="remko"] {
  --led-base: #19aa59;
  --led-light: #7ef0aa;
  --led-highlight: color-mix(in srgb, #7ef0aa 58%, white);
  --led-glow: #19aa59d9;
}

body:has(> header[data-hersteller="maico"]),
.maker-index a[data-hersteller="maico"] {
  --led-base: #d8323d;
  --led-light: #ff7c87;
  --led-highlight: color-mix(in srgb, #ff7c87 58%, white);
  --led-glow: #d8323dd9;
}

body:has(> header[data-hersteller="helios"]),
.maker-index a[data-hersteller="helios"] {
  --led-base: #c91a2e;
  --led-light: #ff6e80;
  --led-highlight: color-mix(in srgb, #ff6e80 58%, white);
  --led-glow: #c91a2ed9;
}

body:has(> header[data-hersteller="stiebel-eltron"]),
.maker-index a[data-hersteller="stiebel-eltron"] {
  --led-base: #ba0c2f;
  --led-light: #ff6b88;
  --led-highlight: color-mix(in srgb, #ff6b88 58%, white);
  --led-glow: #ba0c2fd9;
}

body:has(> header[data-hersteller="conel"]),
.maker-index a[data-hersteller="conel"] {
  --led-base: #008acc;
  --led-light: #6ad5ff;
  --led-highlight: color-mix(in srgb, #6ad5ff 58%, white);
  --led-glow: #008accd9;
}

body:has(> header[data-hersteller="vigour"]),
.maker-index a[data-hersteller="vigour"] {
  --led-base: #008295;
  --led-light: #5ed1df;
  --led-highlight: color-mix(in srgb, #5ed1df 58%, white);
  --led-glow: #008295d9;
}

body:has(> header[data-hersteller="cosmo"]),
.maker-index a[data-hersteller="cosmo"] {
  --led-base: #da291c;
  --led-light: #ff8677;
  --led-highlight: color-mix(in srgb, #ff8677 58%, white);
  --led-glow: #da291cd9;
}

body:has(> header[data-hersteller="viega"]),
.maker-index a[data-hersteller="viega"] {
  --led-base: #e5c900;
  --led-light: #fff354;
  --led-highlight: color-mix(in srgb, #fff354 58%, white);
  --led-glow: #e5c900d9;
}

body:has(> header[data-hersteller="reflex"]),
.maker-index a[data-hersteller="reflex"] {
  --led-base: #84bd3f;
  --led-light: #c3f27c;
  --led-highlight: color-mix(in srgb, #c3f27c 58%, white);
  --led-glow: #84bd3fd9;
}

body:has(> header[data-hersteller="trinnity"]),
.maker-index a[data-hersteller="trinnity"] {
  --led-base: #00a9bf;
  --led-light: #6be7ef;
  --led-highlight: color-mix(in srgb, #6be7ef 58%, white);
  --led-glow: #00a9bfd9;
}

body:has(> header[data-hersteller]) > header::after {
  height: 5px;
  box-shadow: 0 0 8px var(--led-base), 0 0 17px var(--led-glow), 0 0 28px var(--led-glow);
}
.maker-index a[data-hersteller] {
  border-right-width: 6px;
  border-right-color: var(--led-base);
  box-shadow: inset -5px 0 14px -6px var(--led-glow), 3px 0 14px -6px var(--led-glow);
}
.maker-index a[data-hersteller]:is(:hover,:focus-visible) {
  box-shadow: inset -7px 0 19px -6px var(--led-glow), 4px 0 20px -5px var(--led-glow);
}

body:has(> header[data-hersteller="vigour"]),
.maker-index a[data-hersteller="vigour"] {
  --led-base: #0099a9;
  --led-light: #5be5e9;
  --led-highlight: #d2ffff;
  --led-glow: #0099a9df;
}
.maker-index a[data-hersteller] { position: relative; overflow: visible; }
.maker-index a[data-hersteller]::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -6px;
  width: 6px;
  background: radial-gradient(ellipse 4px 27px at center, #fff 0 18%, var(--led-highlight) 29%, var(--led-light) 53%, transparent 100%) 0 0 / 100% 58px no-repeat;
  animation: hersteller-lichtpunkt 3.2s linear infinite alternate;
  pointer-events: none;
}
@keyframes hersteller-lichtpunkt { to { background-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) {
  .maker-index a[data-hersteller]::after { animation: none; background-position: 0 50%; }
}

.home-project-hero, .material-hero-photo { align-items: center; }
.home-project-hero img { object-position: center; }
.material-hero-photo figcaption { align-self: end; }
.material-system-grid img, .campaign-grid .campaign-project-photo { object-position: center; }

#ratenzahlung { scroll-margin-top: 12rem; }

body > header .site-brand {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
body > header .site-brand::before {
  content: "";
  position: absolute;
  inset: 12% -5%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(224, 35, 68, .65), transparent 68%);
  opacity: .38;
}
@media (prefers-reduced-motion: no-preference) {
  body > header .site-brand::before {
    animation: brand-halo 3.6s ease-in-out infinite, brand-color 14.4s steps(1, end) infinite;
  }
  body > header .site-brand img {
    animation: brand-highlight 3.6s ease-in-out infinite;
  }
}
@keyframes brand-halo {
  0%, 100% { opacity: .38; transform: scale(.85); }
  45% { opacity: 1; transform: scale(1.16); }
}
@keyframes brand-highlight {
  0%, 100% { filter: brightness(1); }
  45% { filter: brightness(1.28) drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
}
.service-visual { margin: 1rem 0; }
.service-visual img { display: block; width: 100%; max-height: 26rem; object-fit: contain; object-position: left center; border-radius: .65rem; }
.service-visual figcaption { margin-top: .45rem; }
.drain-motif {
  aspect-ratio: 1 / 1;
  background: #24212a url("motive/abwasser-illustrationen.png") no-repeat;
  background-size: 300% 100%;
  border-radius: .65rem;
}
.drain-motif-rohr { background-position: left; }
.drain-motif-kanal { background-position: center; }
.drain-motif-kamera { background-position: right; }

@keyframes brand-color {
  0%, 100% { background-image: radial-gradient(ellipse, #ee365c, transparent 68%); }
  25% { background-image: radial-gradient(ellipse, #428fff, transparent 68%); }
  50% { background-image: radial-gradient(ellipse, #26d2af, transparent 68%); }
  75% { background-image: radial-gradient(ellipse, #ffbc48, transparent 68%); }
}
.nav-group { position: relative; }
.nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 44px;
  padding: .4rem .75rem;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "⌄"; color: var(--gold); }
.nav-group[open] > summary::after { transform: rotate(180deg); }
.nav-group-current > summary, .nav-group > summary:hover { color: var(--gold); }
.nav-group[open] > .nav-group-links { display: grid; gap: .15rem; }
body > header .nav-group-links a { border: 0; padding: .4rem .75rem; }
@media (min-width: 951px) {
  .nav-group-links {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 13rem;
    max-height: min(28rem, 58dvh);
    overflow: auto;
    padding: .4rem;
    z-index: 15;
    border: 1px solid #55515a;
    border-radius: .5rem;
    background: #22222a;
    box-shadow: 0 .65rem 1.25rem #0009;
  }
}
@media (max-width: 950px) {
  .site-menu .nav-group > summary { background: transparent; border: 0; }
  .site-menu .nav-group > summary::before { display: none; }
  .site-menu .nav-group-links { margin-left: .85rem; border-left: 1px solid #55515a; }
}

.masthead-brand {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 58rem);
  min-height: 8rem;
}
.masthead-brand::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 10%;
  width: 7.5rem;
  background: url("logo-kopf.png") left 8% / auto 145% no-repeat;
  mix-blend-mode: screen;
  opacity: .24;
  mask-image: linear-gradient(90deg, #000 68%, transparent);
  z-index: -1;
  pointer-events: none;
}
.masthead-brand::after {
  content: "";
  position: absolute;
  inset: 0 5% 0 15%;
  background: conic-gradient(from 73deg at 0 29%, transparent, #efd49c39 10deg, #efd49c0c 18deg, transparent 25deg);
  transform-origin: 0 29%;
  z-index: -1;
  pointer-events: none;
}
.masthead-brand .site-brand::before { display: none; }
.masthead-brand .site-brand img { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .masthead-brand::after { animation: masthead-lighthouse 9s ease-in-out infinite; }
}
@keyframes masthead-lighthouse {
  0%, 100% { transform: rotate(-6deg); opacity: .45; }
  50% { transform: rotate(5deg); opacity: 1; }
}
@media (max-width: 950px) {
  .masthead-brand { width: auto; min-height: 0; }
  .masthead-brand::before { inset-inline-start: 0; width: 26%; opacity: .2; }
  .masthead-brand::after { inset-inline: 10% 0; }
}
.masthead-brand {
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(.65rem, 2.6vw, 2.25rem);
}
.masthead-tag {
  display: flex;
  align-items: center;
  gap: .52em;
  font-size: clamp(.92rem, 1.75vw, 1.45rem);
  font-weight: 850;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.masthead-tag-heat { color: #ffc062; justify-self: end; }
.masthead-tag-water { color: #62ceff; justify-self: start; }
.masthead-icon {
  display: block;
  flex: 0 0 auto;
  width: .77em;
  height: .94em;
  background: currentColor;
}
.masthead-tag-heat .masthead-icon {
  clip-path: polygon(48% 0%, 72% 16%, 82% 44%, 91% 33%, 100% 65%, 91% 86%, 72% 99%, 28% 99%, 8% 86%, 0% 65%, 14% 40%, 28% 54%, 27% 32%);
}
.masthead-tag-water .masthead-icon {
  width: .68em;
  height: .68em;
  border-radius: 0 70% 70%;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-tag { animation: masthead-tag-light 9s ease-in-out infinite; }
  .masthead-tag-water { animation-delay: -4.5s; }
}
@keyframes masthead-tag-light {
  0%, 48%, 100% { text-shadow: none; filter: brightness(1); }
  22% { text-shadow: 0 0 .75em currentColor; filter: brightness(1.2); }
}
@media (max-width: 950px) {
  .masthead-brand {
    grid-template-columns: 1fr 1fr;
    column-gap: .55rem;
    row-gap: .32rem;
  }
  .masthead-brand .site-brand { grid-area: 1 / 1 / 2 / 3; }
  .masthead-tag { grid-row: 2; font-size: clamp(.65rem, 2.5vw, .95rem); }
  .masthead-tag-heat { grid-column: 1; }
  .masthead-tag-water { grid-column: 2; }
}

.masthead-tag-heat { color: #ff794e; }
.masthead-tag-heat .masthead-icon {
  background: linear-gradient(160deg, #ffbf62 3%, #ff403b 90%);
}
@supports (background-clip: text) {
  .masthead-heat-text {
    background: linear-gradient(100deg, #ffac5c, #ff5655);
    background-clip: text;
    color: transparent;
  }
}
@media (max-width: 380px) {
  .masthead-tag { white-space: normal; }
}

.masthead-icon {
  position: relative;
  width: 1.15em;
  height: 1.35em;
}
.masthead-tag-heat .masthead-icon {
  background: linear-gradient(155deg, #ffcd70 6%, #ff8338 42%, #fa4b35 73%, #c62640);
  clip-path: path("M 0 0");
  clip-path: none;
  border-radius: 78% 15% 65% 46% / 76% 19% 65% 43%;
  transform: rotate(-19deg) scale(.88);
  box-shadow: inset -.14em -.13em .2em #a7223d70;
}
.masthead-tag-heat .masthead-icon::after {
  content: "";
  position: absolute;
  inset: 35% 18% 8% 37%;
  border-radius: 88% 12% 76% 38% / 78% 14% 70% 40%;
  background: linear-gradient(170deg, #fff4c6, #ffd36b 75%, #ff933b);
  transform: rotate(11deg);
}
.masthead-tag .masthead-icon {
  position: relative;
  width: 2.6em;
  height: 2.15em;
  overflow: visible;
  transform: none;
  border-radius: 0;
  clip-path: none;
  background: none;
  box-shadow: none;
}
.masthead-tag-heat .masthead-icon::before {
  content: "";
  position: absolute;
  inset: 21% 3% 13%;
  border: .085em solid #ff9f65;
  border-radius: .22em;
  background: linear-gradient(150deg, #a64937, #381f27 72%);
  box-shadow: 0 0 .4em #fa632b55;
}
.masthead-tag-heat .masthead-icon::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 27%;
  width: 1.15em;
  height: 1.15em;
  border: .065em solid #ffc080;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffbd7b 0 11%, transparent 13%),
    repeating-radial-gradient(circle, transparent 0 .14em, #ffb0759c .15em .17em),
    repeating-conic-gradient(from 18deg, #ff895c 0deg 28deg, #39232a 29deg 90deg);
}
.masthead-tag-water .masthead-icon::before,
.masthead-tag-water .masthead-icon::after { content: none; }
.masthead-tub {
  position: absolute;
  inset: auto 1% 8% 12%;
  height: .63em;
  border: .09em solid #8de4ff;
  border-radius: .1em .1em .46em .46em;
  background: linear-gradient(#213957 30%, #2586bc 32%, #153455);
  box-shadow: 0 .17em .15em -.09em #40caff;
}
.masthead-tap {
  position: absolute;
  top: 24%;
  right: 4%;
  width: .52em;
  height: .42em;
  border: .09em solid #a4e8ff;
  border-bottom: 0;
  border-radius: .32em .32em 0 0;
}
.masthead-tap::after {
  content: "";
  position: absolute;
  left: -.07em;
  top: .36em;
  height: .54em;
  width: .2em;
  background: repeating-linear-gradient(180deg, #8be7ff 0 .16em, transparent .16em .25em);
  background-size: 100% .25em;
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-tap::after { animation: masthead-water-flow .55s linear infinite; }
}
@keyframes masthead-water-flow { to { background-position-y: .25em; } }
@media (max-width: 950px) {
  .masthead-tag { white-space: normal; line-height: 1.2; }
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-brand .site-brand img {
    animation: masthead-logo-beam 9s ease-in-out infinite, masthead-logo-color 36s steps(1, end) infinite;
    transform-origin: center;
  }
}
@keyframes masthead-logo-beam {
  0%, 27%, 75%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.12);
    filter: brightness(1.45) drop-shadow(0 0 .48rem var(--logo-light, #ff6477)) drop-shadow(0 0 1rem var(--logo-light, #ff6477));
  }
}

@keyframes masthead-logo-color {
  0%, 100% { --logo-light: #ff6477; }
  25% { --logo-light: #5fa8ff; }
  50% { --logo-light: #43e1c0; }
  75% { --logo-light: #ffc764; }
}
.masthead-brand .site-brand { grid-area: 1 / 2 / 3 / 3; }
.masthead-tag { grid-row: 1; align-self: end; }
.masthead-tag-heat { grid-column: 1; }
.masthead-tag-water { grid-column: 3; }
.masthead-trade {
  grid-row: 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: .48rem;
  font-size: clamp(.77rem, 1.28vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.masthead-trade-air { grid-column: 1; justify-self: end; color: #79e2b1; }
.masthead-trade-climate { grid-column: 3; justify-self: start; color: #ffde62; }
.masthead-fan {
  display: block;
  width: 1em;
  height: 1em;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle, currentColor 0 12%, transparent 14%),
    repeating-conic-gradient(from 15deg, currentColor 0deg 31deg, transparent 34deg 120deg);
}
@media (max-width: 950px) {
  .masthead-brand .site-brand { grid-area: 1 / 1 / 2 / 3; }
  .masthead-tag { grid-row: 2; align-self: center; }
  .masthead-tag-water, .masthead-trade-climate { grid-column: 2; }
  .masthead-trade { grid-row: 3; margin-top: 0; margin-bottom: .18rem; }
}

@media (min-width: 951px) {
  .masthead-brand {
    grid-template-rows: repeat(2, minmax(3.1rem, auto));
    row-gap: .25rem;
  }
  .masthead-tag, .masthead-trade { align-self: center; }
  .masthead-tag-heat { grid-row: 1; }
  .masthead-trade-air { grid-row: 2; margin: 0 1.45rem 0 0; }
  .masthead-trade-climate { grid-row: 1; margin: 0 0 0 1.45rem; }
  .masthead-tag-water { grid-row: 2; }
}
@media (max-width: 950px) {
  .masthead-brand { column-gap: .8rem; }
  .masthead-tag, .masthead-trade {
    justify-self: start;
    margin: 0;
  }
  .masthead-tag-heat, .masthead-trade-climate { grid-row: 2; }
  .masthead-trade-air, .masthead-tag-water { grid-row: 3; }
  .masthead-trade { align-self: center; font-size: clamp(.65rem, 2.5vw, .95rem); }
  .masthead-tag .masthead-icon { width: 2.35em; }
}

.masthead-brand::before {
  inset: -12% auto -12% 5%;
  width: clamp(7rem, 17vw, 11rem);
  background-size: auto 125%;
  opacity: .43;
  mask-image: linear-gradient(90deg, #000 58%, transparent 95%);
  z-index: -2;
}
.masthead-brand::after { inset-inline-start: 13%; }
.masthead-trade { font-size: clamp(.92rem, 1.75vw, 1.45rem); letter-spacing: -.025em; font-weight: 850; }
.masthead-fan, .masthead-ac {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 2.6em;
  height: 2.15em;
  border: 0;
  border-radius: 0;
  background: none;
}
.masthead-fan::before, .masthead-ac::before {
  content: "";
  position: absolute;
  inset: 20% 5% 14%;
  border: .085em solid currentColor;
  border-radius: .22em;
  background: linear-gradient(145deg, #2c5149, #152c2b);
  box-shadow: 0 0 .36em #63dda550;
}
.masthead-fan::after {
  content: "";
  position: absolute;
  inset: 27% auto auto 22%;
  width: 1.13em;
  aspect-ratio: 1;
  border: .07em solid #9ef1c9;
  border-radius: 50%;
  background:
    radial-gradient(circle, #baffd8 0 12%, transparent 14%),
    repeating-conic-gradient(from 18deg, #80dfa9 0deg 41deg, #163832 44deg 120deg);
}
.masthead-ac::before {
  inset: 20% 2% 36%;
  background: linear-gradient(150deg, #77652d, #332b20 71%);
  box-shadow: inset 0 -.2em #e8b419, 0 0 .36em #ffc82a70;
}
.masthead-ac::after {
  content: "";
  position: absolute;
  inset: 62% 24% 1% 23%;
  transform: skewX(-16deg);
  background: repeating-linear-gradient(90deg, transparent 0 .24em, #fff1ab .24em .32em);
  filter: drop-shadow(0 0 .14em #ffde62);
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-fan::after { animation: masthead-fan-turn 5s linear infinite; }
}
@keyframes masthead-fan-turn { to { transform: rotate(1turn); } }
@media (max-width: 950px) {
  .masthead-brand::before { inset-inline-start: 0; width: 44%; opacity: .3; }
  .masthead-brand::after { inset-inline-start: 14%; }
  .masthead-trade { font-size: clamp(.65rem, 2.5vw, .95rem); }
  .masthead-fan, .masthead-ac { width: 2.35em; }
}

.masthead-trade { line-height: 1.2; }
@media (min-width: 951px) {
  .masthead-tag-heat { translate: clamp(-1.65rem, -1.9vw, -.85rem) 0; }
  .masthead-trade-air { translate: -.65rem .25rem; }
  .masthead-trade-climate { translate: .45rem -.25rem; }
}
@media (max-width: 950px) {
  .masthead-trade-air { translate: .2rem .1rem; }
  .masthead-trade-climate { translate: .2rem -.1rem; }
}
.masthead-trade-air .masthead-trade-text { translate: 0 .18em; }
.masthead-trade-climate .masthead-trade-text { translate: 0 -.18em; }
@media (prefers-reduced-motion: no-preference) {
  .masthead-trade-air { animation: masthead-trade-light 9s ease-in-out -1.15s infinite; }
  .masthead-trade-climate { animation: masthead-trade-light 9s ease-in-out -5.65s infinite; }
}
@keyframes masthead-trade-light {
  0%, 36%, 100% { filter: none; text-shadow: none; }
  18% {
    filter: brightness(1.23) drop-shadow(0 0 .3em currentColor);
    text-shadow: 0 0 .45em currentColor;
  }
}

.masthead-brand { --tower-anchor: 5%; }
.masthead-brand::before { content: none; }
.masthead-brand::after {
  inset: 0 5% 0 var(--tower-anchor);
  background: conic-gradient(from 76deg at 0 28%, transparent, #ffe2a451 8deg, #efd49c14 16deg, transparent 22deg);
  transform-origin: 0 28%;
}
.masthead-lighthouse {
  position: absolute;
  width: clamp(3.7rem, 9.3vw, 7rem);
  aspect-ratio: 540 / 558;
  left: var(--tower-anchor);
  top: 2%;
  translate: -59% 0;
  background: url("logo-kopf.png") left top / 389.1% auto no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 94% 91%, 91% 100%, 0 100%);
  mix-blend-mode: screen;
  filter: sepia(.35) drop-shadow(0 0 .35rem #ffce7c55);
  opacity: .76;
  pointer-events: none;
  z-index: 1;
}
.masthead-lighthouse::after {
  content: "";
  position: absolute;
  left: 59%;
  top: 26%;
  width: 24%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, #ffe2a0bb, transparent 65%);
}
@media (min-width: 951px) {
  .masthead-trade-air { translate: -.85rem .38rem; }
  .masthead-trade-climate { translate: .65rem -.38rem; }
}
@media (max-width: 950px) {
  .masthead-brand { --tower-anchor: 9%; }
  .masthead-lighthouse { width: clamp(2.6rem, 12vw, 4.25rem); opacity: .64; }
  .masthead-brand::after { inset-block-end: 25%; }
}

.masthead-heat-text {
  color: #ff856c;
  padding: .13em 0;
  text-shadow: none;
}
@supports (background-clip: text) {
  .masthead-heat-text {
    background: linear-gradient(100deg, #ff766e, #ffad62);
    background-clip: text;
    color: transparent;
  }
}
@media (min-width: 951px) {
  .masthead-tag-heat { translate: -.35rem 0; }
}

@media (min-width: 951px) {
  .masthead-brand { --tower-anchor: 33%; }
  .masthead-lighthouse {
    position: relative;
    grid-area: 1 / 2 / 3 / 3;
    justify-self: start;
    align-self: center;
    width: clamp(3.2rem, 5.4vw, 4.7rem);
    left: auto;
    top: -.6rem;
    translate: -64% 0;
    opacity: .74;
    z-index: -1;
  }
}
@media (max-width: 950px) {
  .masthead-lighthouse {
    left: 0;
    translate: -5% 0;
    opacity: .62;
    z-index: -1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-heat-text {
    animation: masthead-heat-light 9s ease-in-out infinite;
    transform-origin: left center;
  }
}
@keyframes masthead-heat-light {
  0%, 43%, 100% {
    transform: scale(1);
    filter: none;
  }
  22% {
    transform: scale(1.06);
    filter: brightness(1.35) drop-shadow(0 0 .28em #ff774b) drop-shadow(0 0 .5em #ff483b80);
  }
}

.masthead-brand { --tower-anchor: 7%; }
.masthead-brand .masthead-lighthouse {
  position: absolute;
  grid-area: auto;
  left: var(--tower-anchor);
  top: 50%;
  translate: -59% -50%;
  width: clamp(3.45rem, 6.4vw, 5.5rem);
  opacity: .92;
  z-index: 1;
  filter: sepia(.38) drop-shadow(0 0 .22rem #ffcc767f);
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-brand .masthead-lighthouse {
    animation: lighthouse-emblem-light 9s ease-in-out infinite;
  }
}
@keyframes lighthouse-emblem-light {
  0%, 46%, 100% { filter: sepia(.38) drop-shadow(0 0 .22rem #ffcc767f); }
  22% { filter: sepia(.62) brightness(1.32) drop-shadow(0 0 .38rem #ffc068); }
}
@media (max-width: 950px) {
  .masthead-brand { --tower-anchor: 4%; }
  .masthead-brand .masthead-lighthouse {
    top: .4rem;
    left: 0;
    translate: -12% 0;
    width: clamp(2.3rem, 9vw, 3.65rem);
  }
}

@media (min-width: 951px) {
  .masthead-brand {
    width: min(100%, 70rem);
    padding-inline: clamp(4.75rem, 7vw, 6.5rem);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: clamp(.5rem, 1.3vw, 1.15rem);
  }
  .masthead-brand .masthead-lighthouse {
    left: 0;
    translate: 0 -50%;
    width: clamp(3.55rem, 6vw, 5.5rem);
  }
  .masthead-tag-heat, .masthead-trade-air {
    translate: none;
    margin-inline-end: 0;
  }
  .masthead-tag, .masthead-trade {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: 1.15;
  }
}
@media (max-width: 950px) {
  .masthead-brand .masthead-lighthouse {
    top: 0;
    width: min(2.5rem, 9vw);
    translate: 0;
  }
  .masthead-brand .site-brand {
    width: min(50vw, 17rem);
    margin-inline-start: min(2.85rem, 10vw);
  }
}

.masthead-brand .masthead-lighthouse {
  opacity: .49;
  filter: sepia(.18) brightness(.82) blur(.35px) drop-shadow(0 0 .48rem #d8bf9a48);
}
.masthead-lighthouse::after {
  background: radial-gradient(circle, #e5d3b18a, transparent 72%);
}
@keyframes lighthouse-emblem-light {
  0%, 46%, 100% {
    filter: sepia(.18) brightness(.82) blur(.35px) drop-shadow(0 0 .48rem #d8bf9a48);
  }
  22% {
    filter: sepia(.24) brightness(1.03) blur(.45px) drop-shadow(0 0 .72rem #d8bf9a70);
  }
}
@media (min-width: 951px) {
  .masthead-brand { padding-inline: clamp(5.3rem, 8vw, 7.65rem); }
  .masthead-brand .masthead-lighthouse { width: clamp(4.4rem, 7vw, 6.65rem); }
}
@media (max-width: 950px) {
  .masthead-brand .masthead-lighthouse { width: min(3.15rem, 11vw); }
  .masthead-brand .site-brand { margin-inline-start: min(3.45rem, 12vw); }
}

.masthead-brand {
  background:
    radial-gradient(ellipse at 13% 59%, #b6bdcd42, #b6bdcd15 28%, transparent 48%),
    radial-gradient(ellipse at 46% 66%, #b8bacc35, #b8bacc12 34%, transparent 55%),
    radial-gradient(ellipse at 72% 83%, #e4e9f32b, transparent 43%);
}
.masthead-brand {
  --logo-alpha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='ink' color-interpolation-filters='sRGB'%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .34 .34 .34 0 -.025'/%3E%3C/filter%3E%3C/svg%3E#ink");
}
.masthead-brand .site-brand img {
  opacity: 1;
  mix-blend-mode: normal;
  filter: var(--logo-alpha);
  animation: none;
}
.masthead-brand .masthead-lighthouse {
  opacity: .58;
  background: none;
  mix-blend-mode: normal;
}
.masthead-brand .masthead-lighthouse::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("logo-kopf.png") left top / 389.1% auto no-repeat;
  filter: var(--logo-alpha);
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-brand .site-brand {
    animation: masthead-logo-beam 9s ease-in-out infinite, masthead-logo-color 36s steps(1, end) infinite;
  }
}
.masthead-brand { --masthead-cycle: 16s; }
.masthead-region {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  position: relative;
  color: #e2e6ec;
  font-size: clamp(.7rem, 1.15vw, .88rem);
  letter-spacing: .08em;
  text-align: center;
  padding: .12rem .6rem .52rem;
}
.masthead-region::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: .1rem;
  height: .32rem;
  border-bottom: 1px solid #86c6de99;
  border-radius: 0 0 50% 45%;
  box-shadow: 0 .11rem .22rem -.12rem #b5e3f5;
}
@media (max-width: 950px) {
  .masthead-region {
    grid-area: 4 / 1 / 5 / 3;
    letter-spacing: .04em;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-brand .masthead-lighthouse {
    animation: masthead-lantern-cue var(--masthead-cycle) ease-in-out infinite;
  }
  .masthead-brand::after {
    animation: masthead-sweep-cue var(--masthead-cycle) linear infinite;
  }
  .masthead-brand .masthead-tag,
  .masthead-brand .masthead-trade {
    animation: masthead-motif-cue var(--masthead-cycle) ease-in-out var(--motif-delay) infinite;
  }
  .masthead-tag-heat { --motif-delay: 1.6s; }
  .masthead-trade-air { --motif-delay: 2.95s; }
  .masthead-trade-climate { --motif-delay: 4.3s; }
  .masthead-tag-water { --motif-delay: 5.65s; }
  .masthead-heat-text { animation: none; }
  .masthead-brand .site-brand {
    animation: masthead-logo-cue var(--masthead-cycle) ease-in-out infinite, masthead-logo-color 64s steps(1, end) infinite;
  }
}
@keyframes masthead-lantern-cue {
  0%, 19%, 100% { filter: sepia(.18) brightness(.82) drop-shadow(0 0 .48rem #d8bf9a48); }
  7% { filter: sepia(.45) brightness(1.35) drop-shadow(0 0 .65rem #f7cb7c); }
}
@keyframes masthead-sweep-cue {
  0%, 3% { opacity: .12; transform: rotate(-9deg); }
  14% { opacity: .72; }
  54% { opacity: 1; transform: rotate(6deg); }
  70%, 100% { opacity: .12; transform: rotate(6deg); }
}
@keyframes masthead-motif-cue {
  0%, 16%, 100% { filter: none; }
  7% { filter: brightness(1.34) drop-shadow(0 0 .32em currentColor); }
}
@keyframes masthead-logo-cue {
  0%, 45%, 70%, 100% { transform: scale(1); filter: brightness(1); }
  56% {
    transform: scale(1.12);
    filter: brightness(1.45) drop-shadow(0 0 .48rem var(--logo-light, #ff6477));
  }
}

.masthead-region {
  width: min(8.5rem, 100%);
  height: .8rem;
  padding: 0;
  opacity: .6;
}
.masthead-ferry {
  position: absolute;
  left: 55%;
  bottom: .26rem;
  width: 2.5rem;
  height: .65rem;
  background: linear-gradient(180deg, #e3e9ef, #88afc0);
  clip-path: polygon(0 61%, 21% 61%, 21% 42%, 42% 42%, 42% 15%, 58% 15%, 58% 42%, 80% 42%, 80% 61%, 100% 61%, 90% 91%, 10% 91%);
}

.masthead-region { width: min(9.5rem, 100%); }
.masthead-ferry { left: 2%; }
.masthead-gulls {
  position: absolute;
  top: .15rem;
  left: 62%;
  width: 3.35rem;
  height: 1.25rem;
  color: #e2f3ff;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 .1rem .18rem #0d1725);
}
.masthead-gulls::before, .masthead-gulls::after {
  content: "";
  position: absolute;
  width: 1.55rem;
  height: .64rem;
  background: currentColor;
  clip-path: path("M 0 5 Q 6 0 12 6 Q 18 0 24 4 Q 18 3 14 8 Q 13 9.5 11 9 Q 7 3 0 5 Z");
}
.masthead-gulls::after { left: 1.65rem; top: .48rem; scale: .72; }
@media (max-width: 950px) {
  .masthead-gulls { top: -.42rem; left: 57%; scale: .81; }
}
@media (prefers-reduced-motion: no-preference) {
  .masthead-ferry { animation: masthead-ferry-crossing var(--masthead-cycle) linear infinite; }
  .masthead-gulls { animation: masthead-gulls-pass var(--masthead-cycle) linear infinite; }
}
@keyframes masthead-ferry-crossing {
  0% { translate: 0 0; opacity: 0; }
  10% { opacity: 1; }
  42% { opacity: 1; }
  53%, 100% { translate: 6.15rem 0; opacity: 0; }
}
@keyframes masthead-gulls-pass {
  0%, 8% { left: 10%; translate: 0 .22rem; opacity: 0; }
  16% { left: 15%; opacity: .87; }
  38% { left: 43%; translate: 0 -.14rem; opacity: .9; }
  46%, 69% { left: 54%; translate: 0 -.14rem; opacity: 0; }
  74% { left: 61%; opacity: .9; }
  88% { left: min(86%, calc(100% - 3.35rem)); translate: 0 -.5rem; opacity: .8; }
  95%, 100% { left: calc(100% - 3.35rem); translate: 0 -.62rem; opacity: 0; }
}
@media (min-width: 951px) {
  .masthead-brand { padding-inline: clamp(6.35rem, 9.4vw, 8.85rem); }
  .masthead-brand .masthead-lighthouse { width: clamp(5.4rem, 8.4vw, 7.95rem); }
}
@media (max-width: 950px) {
  .masthead-brand .masthead-lighthouse { width: min(3.85rem, 14vw); }
  .masthead-brand .site-brand { margin-inline-start: min(4.15rem, 15vw); }
}
/* Keep the longer opening sequence on the start page. */
body > header:not([data-lightshow]) .masthead-brand::after,
body > header:not([data-lightshow]) .masthead-brand :is(.site-brand, .masthead-lighthouse, .masthead-tag, .masthead-trade, .masthead-ferry, .masthead-gulls),
body > header:not([data-lightshow]) .masthead-brand :is(.masthead-tap, .masthead-fan)::after {
  animation: none;
}
body > header:not([data-lightshow]) .masthead-brand::after { opacity: .48; }

@media (max-width: 480px) {
  body > header > nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem;
  }
  .masthead-brand { min-width: 0; column-gap: .35rem; }
  .masthead-brand .site-brand {
    width: min(49vw, calc(100% - 2.55rem));
    margin-inline-start: 2.3rem;
  }
  .masthead-brand .masthead-lighthouse { width: min(11vw, 2.65rem); }
  .masthead-brand :is(.masthead-tag, .masthead-trade) {
    min-width: 0;
    max-width: 100%;
    gap: .3em;
    overflow-wrap: anywhere;
  }
  .masthead-brand :is(.masthead-icon, .masthead-fan, .masthead-ac) { width: 2em; }
  .masthead-brand .masthead-gulls {
    width: 2.65rem;
    scale: .68;
    transform-origin: left center;
  }
  .home-hero-copy { padding: 1.1rem; }
  .home-hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .home-hero-copy .actions { margin-top: .9rem; }
  .home-hero-copy .actions > a { min-height: 44px; }
}

#online-portals h2, #online-portals .card h3 { color: #f4f7fa; animation: none; }
#online-portals .card p { color: #cbd2da; }
#online-portals .card .button { color: #afe6f2; border-color: #466577; }
#online-portals .card .button:is(:hover, :focus-visible) {
  color: #e2f9ff;
  background: #253844;
  border-color: #afe6f2;
}

.home-numbers { margin-top: 1.35rem; }
.home-numbers dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  margin: 0 0 .55rem;
}
.home-numbers dl > div {
  display: grid;
  align-content: start;
  padding: .5rem .32rem;
  text-align: center;
  border: 1px solid #69525b;
  border-radius: .4rem;
}
.home-numbers dt {
  grid-row: 2;
  color: #e9dfe3;
  font-size: clamp(.7rem, 1.5vw, .86rem);
}
.home-numbers dd {
  grid-row: 1;
  margin: 0;
  color: #f4d7a1;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.home-numbers p { margin: 0; font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .home-numbers dd { animation: home-number-glow .85s ease-in-out .25s both; }
  .home-numbers dl > div:nth-child(2) dd { animation-delay: .62s; }
  .home-numbers dl > div:nth-child(3) dd { animation-delay: .99s; }
}
@keyframes home-number-glow {
  0%, 100% { color: #f4d7a1; text-shadow: none; }
  50% { color: #fff4d9; text-shadow: 0 0 .65rem #ffc774b0; }
}

.home-numbers-band { padding-block: clamp(1.1rem, 3vw, 2rem); }
.home-numbers-band .home-numbers { margin-top: 0; }
.home-numbers-band .home-numbers dl { gap: clamp(.3rem, 1.5vw, .95rem); }
.home-numbers-band .home-numbers dl > div {
  padding: clamp(.55rem, 1.9vw, 1.1rem) .2rem;
  background: #1d1c23;
}
.home-numbers-band .home-numbers dd {
  font-size: clamp(1.95rem, 5.25vw, 4rem);
  line-height: 1.08;
}
.home-numbers-band .home-numbers dt { font-size: clamp(.72rem, 1.55vw, 1.05rem); }
.home-numbers-band .home-numbers p { text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .home-numbers-band .home-numbers dd { animation: home-number-pulse 9s ease-in-out .2s infinite; }
  .home-numbers-band .home-numbers dl > div:nth-child(2) dd { animation-delay: 1.2s; }
  .home-numbers-band .home-numbers dl > div:nth-child(3) dd { animation-delay: 2.2s; }
}
@keyframes home-number-pulse {
  0%, 19%, 100% { color: #f4d7a1; text-shadow: none; }
  9% { color: #fff8e6; text-shadow: 0 0 .9rem #ffc774bf; }
}

.home-numbers-band .home-numbers dl > div {
  --number-accent: #ffc56a;
  background: radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--number-accent) 15%, #1d1c23), #1d1c23 75%);
  border-color: color-mix(in srgb, var(--number-accent) 55%, #1d1c23);
}
.home-numbers-band .home-numbers dl > div:nth-child(2) { --number-accent: #65e9ca; }
.home-numbers-band .home-numbers dl > div:nth-child(3) { --number-accent: #79caff; }
.home-numbers-band .home-numbers dd { color: var(--number-accent); }
.home-numbers-band .home-numbers .home-numbers-thanks {
  margin-top: .65rem;
  color: #f9f5f2;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
}
@keyframes home-number-pulse {
  0%, 19%, 100% { color: var(--number-accent); text-shadow: none; }
  9% { color: #fff; text-shadow: 0 0 .9rem var(--number-accent); }
}
