/* Gemeinsamer Startseiten- und Leistungsseiten-Hero: vorhandene Raus-&-Gut-Motive, keine Bild-Badges. */
body:is(.home-page,.service-detail-page) { --brand:#00b6ec; --brand-dark:#007b9f; --brand-light:#35c8f5; --home-ink:#09232e; --home-muted:#36586b; --home-dark:#071e28; --home-whatsapp:#13783e; }
body:is(.home-page,.service-detail-page) .home-header,
body:is(.home-page,.service-detail-page) .home-header.is-on-light,
body:is(.home-page,.service-detail-page) .home-header.is-on-dark { height:80px; background:var(--home-dark); color:#fff; border:0; box-shadow:none; }
body:is(.home-page,.service-detail-page) .home-header-inner,
body:is(.home-page,.service-detail-page) .midnight-hero-content { width:90.5%; max-width:1560px; padding-left:0; padding-right:0; }
body:is(.home-page,.service-detail-page) .home-header-inner { grid-template-columns:240px minmax(0,1fr) auto; gap:24px; }
body:is(.home-page,.service-detail-page) .home-brand { display:flex; align-items:center; gap:10px; width:auto; text-decoration:none; }
body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { display:block; width:58px; height:58px; object-fit:contain; }
.home-brand-wordmark { display:grid; gap:2px; }
.home-brand-wordmark strong { color:#fff; font:700 23px/1.1 "Poppins",sans-serif; letter-spacing:.4px; }
.home-brand-wordmark small { color:#00b6ec; font:600 10px/1.3 "Poppins",sans-serif; letter-spacing:1px; }
body:is(.home-page,.service-detail-page) .home-nav > ul { gap:26px; }
body:is(.home-page,.service-detail-page) .home-nav > ul > li > a { color:#fff; font-size:15px; }
body:is(.home-page,.service-detail-page) .home-header:is(.is-on-light,.is-on-dark) .home-nav > ul > li > a { color:#fff; }
body:is(.home-page,.service-detail-page) .home-nav > ul > li > a:hover { color:#00b6ec; }
body:is(.home-page,.service-detail-page) .home-contact { min-width:0; min-height:48px; padding:14px 22px; background:#00b6ec; border:1px solid #00b6ec; border-radius:0 !important; color:#09232e; font-size:14px; line-height:1.25; white-space:normal; text-align:center; }
body:is(.home-page,.service-detail-page) .home-contact:hover { background:#35c8f5; }
body:is(.home-page,.service-detail-page) .home-header .menu-toggle { display:none; border-color:#55717f; color:#fff; }
body:is(.home-page,.service-detail-page) .home-header .menu-toggle span { background:#fff; }

/* Dunkler Split-Hero: ein Einsatzfoto statt einer Dreiergalerie. */
body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { min-height:0; padding:0 !important; background:#041b25; color:#fff; overflow:visible; z-index:2; }
body:is(.home-page,.service-detail-page) .midnight-hero::before,
body:is(.home-page,.service-detail-page) .midnight-hero::after { display:none; }
body:is(.home-page,.service-detail-page) .midnight-hero-content { display:block; width:100%; max-width:none; padding:0; }
body:is(.home-page,.service-detail-page) .midnight-hero-layout { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:stretch; width:90.5%; max-width:1560px; min-height:580px; margin:0 auto; background:linear-gradient(125deg,#041b25 15%,#0a3340 80%,#155261); }
body:is(.home-page,.service-detail-page) .midnight-hero-layout::before { content:""; position:absolute; inset:0 40% 0 0; background:linear-gradient(40deg,transparent 65%,#39aec214 65%); pointer-events:none; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy { position:relative; z-index:2; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:14px; width:auto; min-width:0; margin:0; padding:34px 0 30px; text-align:left; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy > * { opacity:1; animation:none; transform:none; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy > :is(h1,p) { text-align:left; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy .home-hero-eyebrow { margin:0; color:#00b6ec; font:600 12px/1.5 "Poppins",sans-serif; letter-spacing:2px; text-transform:uppercase; }
body:is(.home-page,.service-detail-page) main .midnight-hero h1 { margin:0; max-width:720px; color:#f7fbff; font:700 50px/1.08 "Poppins",sans-serif; font-size:50px !important; letter-spacing:-1.3px; overflow-wrap:anywhere; hyphens:auto; text-wrap:balance; }
body:is(.home-page,.service-detail-page) .midnight-hero h1 span { font:inherit; letter-spacing:inherit; }
body:is(.home-page,.service-detail-page) .midnight-hero h1 .home-hero-service { color:#00b6ec; }
body:is(.home-page,.service-detail-page) .midnight-hero h1 .home-hero-place { display:block; color:#f7fbff; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy > .home-hero-description { margin:0; color:#e1ebf0; font-size:16px; line-height:1.55; }
.home-hero-actions { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:10px; width:100%; max-width:680px; margin:0; }
body:is(.home-page,.service-detail-page) .home-hero-actions .button { display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:54px; margin:0; padding:10px 12px; border-radius:0 !important; font-size:14px; line-height:1.35; white-space:normal; text-align:center; }
.home-hero-actions .button > span { font:inherit; }
.home-hero-actions img { flex:0 0 26px; width:26px; height:26px; }
body:is(.home-page,.service-detail-page) .home-offer-button { color:#041b25; background:#00b6ec; border:1px solid #00b6ec; }
body:is(.home-page,.service-detail-page) .home-offer-button:hover { background:#35c8f5; }
body:is(.home-page,.service-detail-page) .home-whatsapp-button { color:#fff; background:var(--home-whatsapp); border:1px solid #2eac63; }
body:is(.home-page,.service-detail-page) .home-whatsapp-button:hover { background:#0d5f30; border-color:#2eac63; }
.home-whatsapp-button img { filter:brightness(0) invert(1); }
.home-hero-benefits { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1fr); gap:14px; list-style:none; margin:6px 0 0; padding:0; }
.home-hero-benefits li { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; color:#f0f7fa; font-size:14px; line-height:1.4; }
.home-hero-benefits li > span:last-child { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.home-benefit-icon { flex:0 0 36px; width:36px; height:36px; }
.home-benefit-icon img { display:block; width:36px; height:36px; filter:invert(53%) sepia(95%) saturate(1633%) hue-rotate(153deg) brightness(94%) contrast(104%); }
body:is(.home-page,.service-detail-page) .midnight-gallery { position:absolute; top:0; bottom:0; left:calc(50% + 10px); right:calc((100vw - 100%)/-2); display:block; width:auto; height:auto; min-height:0; max-width:none; margin:0; aspect-ratio:auto; clip-path:ellipse(100% 145% at 100% 50%); animation:none; transform:none; }
body:is(.home-page,.service-detail-page) .gallery-photo { position:relative; display:block; width:100%; height:100%; min-height:0; margin:0; border:0; border-radius:0 !important; box-shadow:none; opacity:1; animation:none; transform:none; will-change:auto; }
body:is(.home-page,.service-detail-page) .gallery-photo picture { display:block; width:100%; height:100%; }
body:is(.home-page,.service-detail-page) .gallery-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; filter:none; transform:none; }
body.service-detail-page .gallery-photo img { object-position:center; }

/* Eigene volle Zeile fuer Ortssuche: nichts schneidet die Listbox ab. */
.home-hero-utility { border-top:1px solid #237080; border-bottom:1px solid #237080; background:#061e28; }
body:is(.home-page,.service-detail-page) .hx-location-bar { display:grid; grid-template-columns:minmax(0,1fr) 300px; align-items:center; gap:24px; width:90.5%; max-width:1560px; margin:0 auto; padding:16px 0; border:0; border-radius:0 !important; background:#061e28; color:#fff; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-area { display:grid; grid-template-columns:minmax(260px,.95fr) minmax(320px,1.15fr); align-items:center; gap:12px 24px; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-heading-group { position:relative; padding-left:52px; }
.hx-location-pin { position:absolute; left:0; top:1px; width:38px; height:38px; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-title { margin:0 0 6px; color:#fff; font-size:20px !important; line-height:1.35; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-helper { margin:0; color:#e0e9ed; font-size:14px; line-height:1.5; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-picker { grid-column:2; min-width:0; }
body:is(.home-page,.service-detail-page) .hx-location-bar[data-place-id=""] .hx-location-picker summary { display:none; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-search-row { padding:0; }
body:is(.home-page,.service-detail-page) .hx-location-bar :is(.hx-location-search-label,.hx-location-hint) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body:is(.home-page,.service-detail-page) .hx-location-bar input { height:50px; min-height:50px; background:#fff; border:2px solid #fff; color:#09232e; font-size:15px; }
body:is(.home-page,.service-detail-page) .hx-location-bar input:focus,
body:is(.home-page,.service-detail-page) .hx-location-bar input:focus-visible { border-color:#00b6ec; outline:none !important; box-shadow:none !important; }
body:is(.home-page,.service-detail-page) .hx-location-bar input::placeholder { color:#526c7c; opacity:1; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-search-button { height:50px; min-height:50px; padding:10px 14px; font-size:15px; background:#00b6ec; border:1px solid #00b6ec; color:#09232e; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-contact { padding:0 0 0 28px; border:0; border-left:1px solid #71919d; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-direct { margin:0 0 6px; color:#fff; font-size:14px; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-actions { display:block; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-whatsapp { min-height:50px; padding:10px 12px; gap:8px; background:var(--home-whatsapp); border:1px solid #2eac63; color:#fff; font-size:14px; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-whatsapp img { flex:0 0 26px; width:26px; height:26px; filter:brightness(0) invert(1); }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-whatsapp:hover { background:#0d5f30; border-color:#2eac63; }
body:is(.home-page,.service-detail-page) .hx-location-bar :is(.hx-location-status,noscript p) { color:#fff; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-selection { grid-column:2; margin:0; background:#fff; }
body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-picker summary { color:#fff; }
body:is(.home-page,.service-detail-page) .hx-location-bar :focus-visible { outline:3px solid #00b6ec; outline-offset:3px; }

/* Kompakte, helle Vertrauenszeile ohne erfundene Bewertungszahlen. */
.home-hero-proof { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,1.1fr) minmax(0,1.1fr); align-items:center; gap:20px; width:90.5%; max-width:1560px; margin:0 auto; padding:16px 0; }
.home-hero-proof > * { display:flex; justify-content:flex-start; align-items:center; gap:10px; min-width:0; padding:0 0 0 16px; border-left:1px solid #597785; color:#dfebf0; font-size:14px; line-height:1.45; text-decoration:none; }
.home-hero-proof > :first-child { padding-left:0; border-left:0; }
.home-hero-proof strong { color:#fff; font-weight:600; }
.home-proof-icon { flex:0 0 32px; width:32px; height:32px; background:#b6e6f1; mask-size:contain; mask-position:center; mask-repeat:no-repeat; }
.home-google-rating > img { flex:0 0 36px; width:36px; height:36px; }
.home-rating-copy { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:3px 10px; min-width:0; }
.home-rating-copy > strong { grid-column:1 / -1; font-size:14px; }
.home-rating-count { grid-column:2; grid-row:2; font-size:12px; }
.home-rating-stars { grid-column:1; grid-row:2; color:#ffc029; font-size:18px; line-height:1.25; letter-spacing:1px; white-space:nowrap; }
.home-proof-people { mask-image:url('/Medien/Icons/direkter_ansprechpartner.svg'); }
.home-proof-offer { mask-image:url('/Medien/Icons/kostenlose_besichtigung.svg'); }
.home-proof-clean { mask-image:url('/Medien/Icons/saubere_uebergabe.svg'); }
.home-proof-region { mask-image:url('/Medien/Icons/standort.svg'); }
body.service-detail-page main :is(h2,h3,h4) { min-width:0; max-width:100%; overflow-wrap:anywhere; hyphens:auto; }

@media(max-width:1300px) {
  body:is(.home-page,.service-detail-page) .hx-location-bar { grid-template-columns:minmax(0,1fr) 250px; gap:22px; }
  body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-area { grid-template-columns:minmax(0,1fr); gap:12px; }
  body:is(.home-page,.service-detail-page) .hx-location-bar :is(.hx-location-picker,.hx-location-selection) { grid-column:1; }
  .home-hero-proof { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .home-hero-proof > * { padding-left:0; border-left:0; }
  .home-google-rating { grid-column:span 2; }
}
@media(max-width:1200px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { grid-template-columns:215px minmax(0,1fr) auto; gap:16px; }
  body:is(.home-page,.service-detail-page) .home-nav > ul { gap:18px; }
  body:is(.home-page,.service-detail-page) .home-contact { padding:12px 15px; font-size:13px; }
}
@media(max-width:1050px) {
  body:is(.home-page,.service-detail-page) .midnight-hero-layout { display:flex; flex-direction:column; gap:0; width:100%; max-width:none; min-height:0; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { order:0; width:90.5%; max-width:720px; margin:auto; padding:28px 0; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:42px !important; }
  body:is(.home-page,.service-detail-page) .midnight-gallery { order:1; position:relative; inset:auto; width:100%; height:clamp(320px,50vw,500px); clip-path:none; }
  body:is(.home-page,.service-detail-page) .gallery-photo img { object-position:50% 50%; }
  .home-hero-benefits { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:1000px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { grid-template-columns:180px minmax(0,1fr) auto; gap:12px; }
  body:is(.home-page,.service-detail-page) .home-nav { display:block; }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { width:46px; height:46px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark strong { font-size:18px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark small { font-size:8px; letter-spacing:.5px; }
  body:is(.home-page,.service-detail-page) .home-nav > ul { gap:12px; }
  body:is(.home-page,.service-detail-page) .home-nav > ul > li > a { font-size:12px; }
  body:is(.home-page,.service-detail-page) .home-contact { padding:12px; font-size:12px; }
}
@media(min-width:821px) and (max-width:900px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { grid-template-columns:155px minmax(0,1fr) 150px; gap:10px; }
  body:is(.home-page,.service-detail-page) .home-brand { gap:6px; }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { width:42px; height:42px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark strong { font-size:15px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark small { font-size:7px; }
  body:is(.home-page,.service-detail-page) .home-nav > ul { gap:10px; }
  body:is(.home-page,.service-detail-page) .home-contact { width:150px; padding:10px; font-size:11px; }
}
@media(max-width:820px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { grid-template-columns:minmax(0,1fr) auto; }
  body:is(.home-page,.service-detail-page) .home-nav { display:none; }
  body:is(.home-page,.service-detail-page) .home-header .menu-toggle { display:flex; }
}
@media(max-width:760px) {
  body:is(.home-page,.service-detail-page) .home-header,
  body:is(.home-page,.service-detail-page) .home-header.is-on-light,
  body:is(.home-page,.service-detail-page) .home-header.is-on-dark { height:72px; }
  body:is(.home-page,.service-detail-page) .home-header-inner { width:calc(100% - 36px); grid-template-columns:minmax(0,1fr) auto; gap:8px; }
  body:is(.home-page,.service-detail-page) .home-brand { gap:6px; }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { width:46px; height:46px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark strong { font-size:17px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark small { font-size:7px; letter-spacing:.6px; }
  body:is(.home-page,.service-detail-page) .home-contact { padding:10px; min-height:42px; font-size:11px; max-width:125px; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { width:calc(100% - 36px); padding:28px 0; gap:14px; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:32px !important; letter-spacing:-1px; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy .home-hero-eyebrow { font-size:10px; letter-spacing:1.4px; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy > .home-hero-description { font-size:15.5px; }
  body:is(.home-page,.service-detail-page) .home-hero-actions .button { min-height:58px; font-size:14px !important; padding:10px; gap:8px; }
  .home-hero-actions { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:8px; }
  .home-hero-actions img { flex-basis:22px; width:22px; height:22px; }
  .home-hero-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  body:is(.home-page,.service-detail-page) .midnight-gallery { height:clamp(280px,85vw,420px); }
  body:is(.home-page,.service-detail-page) .gallery-photo img { object-position:50% 50%; }
  body:is(.home-page,.service-detail-page) .hx-location-bar { width:calc(100% - 36px); grid-template-columns:minmax(0,1fr); gap:18px; padding:18px 0; }
  body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-contact { padding:18px 0 0; border:0; border-top:1px solid #71919d; }
  body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-search-button { width:50px; padding:10px; }
  body:is(.home-page,.service-detail-page) .hx-location-bar .hx-location-search-button span { display:none; }
  .home-hero-proof { width:calc(100% - 36px); grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 18px; }
  .home-hero-proof > * { align-items:flex-start; flex-direction:column; gap:10px; }
  .home-google-rating { grid-column:1 / -1; flex-direction:row; align-items:center; }
}
@media(max-width:370px) {
  body:is(.home-page,.service-detail-page) .home-hero-actions .button { font-size:13px !important; padding:10px 8px; }
  .home-hero-actions img { display:none; }
  body:is(.home-page,.service-detail-page) .home-header-inner { width:calc(100% - 24px); }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { width:38px; height:38px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark strong { font-size:14px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark small { font-size:6px; }
  body:is(.home-page,.service-detail-page) .home-contact { max-width:105px; font-size:10px; padding:8px; }
  body:is(.home-page,.service-detail-page) .home-header .header-actions { gap:5px; }
  .home-rating-copy { grid-template-columns:minmax(0,1fr); }
  .home-rating-count { grid-column:1; grid-row:3; font-size:14px; }
}

/* Freigegebener Startseiten-Hero vom 18.10.2026. Alle Anpassungen bleiben auf der Startseite. */
body:is(.home-page,.service-detail-page) .home-contact { border-radius:0 !important; }
body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { padding-bottom:28px !important; background:#061c26; }
body:is(.home-page,.service-detail-page) .midnight-hero-layout { min-height:clamp(640px,calc(100svh - 252px),1020px); background:none; }
body:is(.home-page,.service-detail-page) .midnight-hero-layout::before { inset:0 calc((100vw - 100%)/-2); background:linear-gradient(90deg,#061b25ed,#061b25e0 53%,#061b2580),url('/Medien/Bilder/responsive/hero-team-fotorealistisch-20261018-hintergrund-520.webp') left center/52% auto no-repeat; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy { gap:24px; padding:48px 0 46px; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy .home-hero-eyebrow { display:none; }
body:is(.home-page,.service-detail-page) main .midnight-hero h1 { max-width:720px; font-size:50px !important; line-height:1.1; letter-spacing:-1.7px; text-wrap:initial; overflow-wrap:normal; }
body:is(.home-page,.service-detail-page) .midnight-hero h1 .home-hero-prefix,
body:is(.home-page,.service-detail-page) .midnight-hero h1 .home-hero-service { display:block; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy > .home-hero-description { max-width:660px; font-size:18px; line-height:1.6; }
body:is(.home-page,.service-detail-page) .home-hero-actions { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:14px; max-width:680px; }
body:is(.home-page,.service-detail-page) .home-hero-actions .button { min-height:58px; padding:13px 16px; gap:10px; border-radius:0 !important; font-size:15px; font-weight:600; }
body:is(.home-page,.service-detail-page) .home-whatsapp-button { background:#0b6d3b; border-color:#2fa269; }
body:is(.home-page,.service-detail-page) .home-whatsapp-button:hover { background:#128047; }
body:is(.home-page,.service-detail-page) .home-hero-benefits { grid-template-columns:1fr 1.3fr .9fr 1.35fr; gap:18px; margin-top:8px; max-width:700px; }
body:is(.home-page,.service-detail-page) .home-hero-benefits li { gap:10px; font-size:15px; line-height:1.45; }
body:is(.home-page,.service-detail-page) .home-benefit-icon,
body:is(.home-page,.service-detail-page) .home-benefit-icon img { width:40px; height:40px; flex-basis:40px; }
body:is(.home-page,.service-detail-page) .home-benefit-rating a { display:grid; justify-items:start; gap:5px; color:#f0f7fa; text-decoration:none; }
body:is(.home-page,.service-detail-page) .home-benefit-rating img { width:36px; height:36px; margin-bottom:2px; filter:none; }
body:is(.home-page,.service-detail-page) .home-benefit-rating strong { display:block; font-size:13px; font-weight:600; }
body:is(.home-page,.service-detail-page) .home-benefit-rating small { display:block; margin-top:3px; font-size:11px; }
body:is(.home-page,.service-detail-page) .home-benefit-stars { color:#ffc029; font-size:17px; line-height:1; letter-spacing:1px; }
body:is(.home-page,.service-detail-page) .midnight-gallery { left:47%; clip-path:ellipse(100% 145% at 100% 50%); }
body:is(.home-page,.service-detail-page) .gallery-photo img { object-position:center bottom; }
body:is(.home-page,.service-detail-page) .home-hero-utility { position:relative; z-index:3; width:94.6%; max-width:1660px; margin:0 auto; border:1px solid #28505e; border-radius:0 !important; background:#061b25f5; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar { width:100%; max-width:none; grid-template-columns:minmax(0,1fr) 250px; gap:28px; margin:0; min-height:142px; padding:24px 30px; border-radius:0 !important; background:transparent; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-area { grid-template-columns:minmax(300px,.95fr) minmax(320px,1.15fr); gap:24px; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-heading-group { padding-left:58px; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-pin { width:44px; height:44px; top:3px; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-title { font-size:21px !important; margin-bottom:7px; letter-spacing:-.4px; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-helper { font-size:13px; line-height:1.5; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar input { height:58px; padding-left:17px; border-radius:0 !important; font-size:15px; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-search-button { height:58px; min-height:58px; padding:12px 23px; border-radius:0 !important; font-size:16px; }
body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-contact { padding-left:26px; }
body:is(.home-page,.service-detail-page) .home-location-branch-label { margin:0 0 3px; color:#d4e0e6; font-size:12px; line-height:1.4; }
body:is(.home-page,.service-detail-page) .home-location-branch { display:block; margin-bottom:9px; font-size:16px; line-height:1.4; font-weight:600; }
body:is(.home-page,.service-detail-page) .home-location-card .home-location-phone { display:flex; gap:10px; justify-content:center; align-items:center; width:100%; min-height:48px; margin:0; padding:10px; border:1px solid #00b6ec; border-radius:0 !important; background:transparent; color:#fff; font-size:15px; white-space:nowrap; }
body:is(.home-page,.service-detail-page) .home-location-phone img { width:22px; height:22px; filter:invert(53%) sepia(95%) saturate(1633%) hue-rotate(153deg) brightness(94%) contrast(104%); }
body:is(.home-page,.service-detail-page) .home-location-phone .arrow-icon { width:20px; height:20px; color:#00b6ec; }
body:is(.home-page,.service-detail-page) .home-location-phone:hover { background:#00b6ec1a; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-picker summary,
body:is(.home-page,.service-detail-page) .home-location-card .home-location-selection { display:none; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-picker { position:relative; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-status.home-location-error { z-index:31; top:100%; left:0; width:100%; height:auto; margin:8px 0 0; padding:12px; overflow:visible; clip-path:none; border:1px solid #4d6e7d; border-radius:0 !important; background:#0a2936; color:#fff; font-size:14px; }
body:is(.home-page,.service-detail-page) .home-location-card .hx-location-results { border-radius:0 !important; }
body:is(.home-page,.service-detail-page) .home-location-card:not([data-place-id=""]) .home-location-default-caption,
body:is(.home-page,.service-detail-page) .home-location-card[data-place-id=""] .home-location-selected-caption { display:none; }
body:is(.home-page,.service-detail-page) .midnight-hero :focus-visible { outline:3px solid #00b6ec; outline-offset:4px; }
@media(min-width:1921px) {
  body:is(.home-page,.service-detail-page) .midnight-hero-layout { max-width:1800px; }
  body:is(.home-page,.service-detail-page) .home-hero-utility { max-width:1900px; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { max-width:780px; }
}
@media(max-width:1300px) and (min-width:1051px) {
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { gap:20px; }
  body:is(.home-page,.service-detail-page) .home-hero-actions { grid-template-columns:1fr; max-width:410px; gap:10px; }
  body:is(.home-page,.service-detail-page) .home-hero-actions .button { min-height:52px; }
  body:is(.home-page,.service-detail-page) .home-hero-benefits { gap:10px; }
  body:is(.home-page,.service-detail-page) .home-hero-benefits li { font-size:13px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar { grid-template-columns:minmax(0,1fr) 230px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-area { grid-template-columns:minmax(0,1fr); gap:14px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-picker { grid-column:1; }
}
@media(max-width:1050px) {
  body:is(.home-page,.service-detail-page) .midnight-hero-layout { display:grid; grid-template-columns:1fr; width:100%; min-height:0; }
  body:is(.home-page,.service-detail-page) .midnight-hero-layout::before { inset:0; background-size:cover; background-position:center; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { width:88%; max-width:760px; gap:22px; padding:44px 0 34px; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:42px !important; }
  body:is(.home-page,.service-detail-page) .midnight-gallery { position:relative; inset:auto; width:100%; height:470px; clip-path:none; background:#061b25; overflow:hidden; }
  body:is(.home-page,.service-detail-page) .gallery-photo { width:100%; }
  body:is(.home-page,.service-detail-page) .gallery-photo img { object-position:center bottom; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar { grid-template-columns:minmax(0,1fr) 240px; gap:22px; padding:24px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-area { grid-template-columns:minmax(0,1fr); gap:16px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-picker { grid-column:1; }
}
@media(max-width:760px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { width:calc(100% - 28px); }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark strong { font-size:16px; }
  body:is(.home-page,.service-detail-page) .home-brand-wordmark small { font-size:6.5px; }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-symbol { width:38px; height:44px; }
  body:is(.home-page,.service-detail-page) .home-contact { font-size:11px; max-width:112px; min-height:42px; padding:9px; }
  body:is(.home-page,.service-detail-page) .home-header .header-actions { gap:8px; }
  body:is(.home-page,.service-detail-page) .home-header .menu-toggle { width:38px; height:42px; min-width:38px; border:1px solid #52717e; border-radius:0 !important; background:transparent; }
  body:is(.home-page,.service-detail-page) .home-header .menu-toggle span { background:#fff; }
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { padding-bottom:18px !important; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy { width:calc(100% - 36px); gap:22px; padding:32px 0 26px; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:32px !important; letter-spacing:-1px; line-height:1.12; }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy > .home-hero-description { font-size:15px; line-height:1.6; }
  body:is(.home-page,.service-detail-page) .home-hero-actions { grid-template-columns:minmax(0,1fr); gap:10px; }
  body:is(.home-page,.service-detail-page) .home-hero-actions .button { min-height:52px; font-size:14px !important; padding:12px; }
  body:is(.home-page,.service-detail-page) .home-hero-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 20px; margin-top:2px; }
  body:is(.home-page,.service-detail-page) .home-hero-benefits li { flex-direction:row; gap:10px; align-items:center; font-size:13px; }
  body:is(.home-page,.service-detail-page) .home-benefit-icon,
  body:is(.home-page,.service-detail-page) .home-benefit-icon img { width:32px; height:32px; flex-basis:32px; }
  body:is(.home-page,.service-detail-page) .home-benefit-rating a { position:relative; min-height:52px; padding-left:39px; gap:4px; }
  body:is(.home-page,.service-detail-page) .home-benefit-rating img { position:absolute; left:0; top:5px; width:29px; height:29px; }
  body:is(.home-page,.service-detail-page) .home-benefit-stars { font-size:14px; }
  body:is(.home-page,.service-detail-page) .home-benefit-rating strong { font-size:12px; }
  body:is(.home-page,.service-detail-page) .home-benefit-rating small { margin-top:2px; font-size:11px; }
  body:is(.home-page,.service-detail-page) .midnight-gallery { height:350px; }
  body:is(.home-page,.service-detail-page) .gallery-photo { width:100%; }
  body:is(.home-page,.service-detail-page) .gallery-photo::before { display:none; }
  body:is(.home-page,.service-detail-page) .gallery-photo img { object-position:center 72%; }
  body:is(.home-page,.service-detail-page) .home-hero-utility { width:calc(100% - 28px); margin-top:16px; border-radius:0 !important; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar { grid-template-columns:minmax(0,1fr); gap:20px; padding:22px 18px; border-radius:0 !important; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-title { font-size:18px !important; }
  body:is(.home-page,.service-detail-page) .home-location-card .hx-location-heading-group { padding-left:44px; }
  body:is(.home-page,.service-detail-page) .home-location-card .hx-location-pin { width:32px; height:36px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-helper { font-size:12px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar input { height:54px; font-size:14px; padding-left:12px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-search-button { width:54px; height:54px; min-height:54px; padding:12px; }
  body:is(.home-page,.service-detail-page) .home-location-card.hx-location-bar .hx-location-contact { padding:18px 0 0; border-left:0; border-top:1px solid #365762; }
  body:is(.home-page,.service-detail-page) .home-location-card .home-location-phone { max-width:none; }
}

/* Eine durchgehende Fotoebene, darüber Kurve, Inhalt und eigenständige Standortkarte. */
body:is(.home-page,.service-detail-page) main#main-content .midnight-hero {
  position:relative;
  isolation:isolate;
  min-height:max(820px,calc(var(--viewport-height,100svh) - 80px));
  padding:0 !important;
  background:#061c26;
}
body:is(.home-page,.service-detail-page) .midnight-hero-content { position:static; min-height:inherit; }
body:is(.home-page,.service-detail-page) .midnight-hero-layout { position:static; }
body:is(.home-page,.service-detail-page) .midnight-hero-layout::before { display:none; }
body:is(.home-page,.service-detail-page) .home-hero-background { position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; pointer-events:none; }
body:is(.home-page,.service-detail-page) .home-hero-background img { display:block; width:100%; height:100%; object-fit:cover; object-position:center bottom; }
body:is(.home-page,.service-detail-page) .home-hero-shade { position:absolute; inset:0 auto 0 0; z-index:1; display:block; width:50%; height:100%; pointer-events:none; }
body:is(.home-page,.service-detail-page) .home-hero-shade path { fill:#061b25; fill-opacity:.92; }
body:is(.home-page,.service-detail-page) .midnight-hero-copy { position:relative; z-index:2; }
body:is(.home-page,.service-detail-page) .home-hero-utility {
  position:absolute;
  inset:auto auto 28px 50%;
  z-index:3;
  width:94.6%;
  margin:0;
  transform:translateX(-50%);
  border:1px solid #386270;
  background:#061b25ed;
  box-shadow:0 12px 36px #0000002e;
  backdrop-filter:blur(10px);
}
@media(max-width:1300px) and (min-width:1051px) {
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { min-height:max(870px,calc(var(--viewport-height,100svh) - 80px)); }
}
@media(max-width:1050px) {
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { min-height:1180px; }
  body:is(.home-page,.service-detail-page) .midnight-hero-layout { display:flex; }
  body:is(.home-page,.service-detail-page) .home-hero-background img { object-position:64% bottom; }
  body:is(.home-page,.service-detail-page) .home-hero-shade { width:100%; }
  body:is(.home-page,.service-detail-page) .home-hero-shade path { fill-opacity:0; }
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero::after { content:""; position:absolute; inset:0; z-index:1; display:block; background:linear-gradient(180deg,#041b25f7 0%,#041b25eb 40%,#041b2540 63%,#041b2533 100%); pointer-events:none; }
  body:is(.home-page,.service-detail-page) .home-hero-utility { bottom:28px; }
}
@media(max-width:760px) {
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero { min-height:1230px; }
  body:is(.home-page,.service-detail-page) .home-hero-background img { object-position:left bottom; }
  body:is(.home-page,.service-detail-page) .home-hero-utility { bottom:20px; width:calc(100% - 28px); }
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero::after { background:linear-gradient(180deg,#041b25f5 0%,#041b25ed 43%,#041b2570 63%,#041b2555 100%); }
}

/* Kompakte Standortkarte: unmittelbare Auswahl, eigene ruhige Raus-&-Gut-Anatomie. */
body:is(.home-page,.service-detail-page) .home-hero-utility {
  width:calc(100% - 48px); max-width:1120px; border:0; border-radius:0 !important;
  background:transparent; backdrop-filter:none; box-shadow:0 12px 40px #00131e40;
}
body:is(.home-page,.service-detail-page) .home-location-compact {
  --location-surface:#fff; --location-ink:#09232e; --location-muted:#486171;
  --location-accent:#00b6ec; --location-line:#cbdce4; --location-tint:#eef8fc;
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center; gap:30px; width:100%; margin:0; padding:26px 28px;
  border:1px solid #ffffffcc; border-radius:0 !important; background:var(--location-surface);
  color:var(--location-ink); text-align:left; box-sizing:border-box;
}
.home-location-compact :is(.compact-location-select,.compact-location-contact) { min-width:0; }
.home-location-compact .compact-location-heading { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.home-location-compact .compact-location-pin { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; background:#e6f8ff; border-radius:0 !important; }
.home-location-compact .compact-location-pin img { width:30px; height:32px; filter:invert(43%) sepia(97%) saturate(1512%) hue-rotate(155deg) brightness(88%) contrast(102%); }
body:is(.home-page,.service-detail-page) main .home-location-compact h2 { margin:0 0 5px; color:var(--location-ink); font:700 21px/1.3 "Poppins",sans-serif; font-size:21px !important; letter-spacing:-.5px; }
.home-location-compact .compact-location-heading p { margin:0; color:var(--location-muted); font-size:13px; line-height:1.5; }
.home-location-compact .compact-location-selection,
.home-location-compact .compact-location-picker > summary { display:none; }
.home-location-compact .compact-location-picker { margin:0; }
.home-location-compact .compact-location-field { position:relative; }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-query {
  display:block; width:100%; height:56px; min-height:56px; margin:0; padding:12px 16px;
  box-sizing:border-box; border:1px solid var(--location-line); border-radius:0 !important;
  background:#fff; color:var(--location-ink); font:600 16px/1.4 "Poppins",sans-serif;
  box-shadow:none; text-overflow:ellipsis; transition:none; animation:none;
}
.home-location-compact .compact-location-query::placeholder { color:#526a79; opacity:1; font-weight:400; }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-query:is(:focus,:focus-visible) { border-color:#0088b3; outline:none !important; box-shadow:none !important; }
.home-location-compact .compact-location-contact { padding:18px 20px; border-left:3px solid var(--location-accent); border-radius:0 !important; background:var(--location-tint); }
.home-location-compact .compact-location-branch-heading { display:flex; align-items:flex-start; gap:14px; }
.home-location-compact .compact-location-branch-heading > img { flex:0 0 32px; width:32px; height:34px; margin-top:8px; filter:invert(43%) sepia(97%) saturate(1512%) hue-rotate(155deg) brightness(88%) contrast(102%); }
.home-location-compact .compact-location-branch-heading > div { min-width:0; }
.home-location-compact .compact-location-caption { margin:0 0 3px; color:#294858; font-size:12px; line-height:1.4; font-weight:500; }
body:is(.home-page,.service-detail-page) main .home-location-compact h3 { margin:0; color:#007b9f; font:700 21px/1.3 "Poppins",sans-serif; letter-spacing:-.4px; overflow-wrap:anywhere; }
.home-location-compact .compact-location-region { margin:5px 0 0; color:var(--location-muted); font-size:12px; line-height:1.5; }
.home-location-compact .compact-location-actions { display:grid; grid-template-columns:1fr 1.1fr; gap:10px; margin-top:16px; }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-actions a {
  display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:48px;
  margin:0; padding:10px; border:1px solid var(--location-accent); border-radius:0 !important;
  color:var(--location-ink); background:var(--location-accent); font:600 16px/1.35 "Poppins",sans-serif;
  text-decoration:none; text-align:center; box-sizing:border-box; transition:background-color .16s;
}
.home-location-compact .compact-location-actions img { flex:0 0 20px; width:20px; height:22px; filter:brightness(0); }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-actions .compact-location-appointment { border-color:#c3d8e3; background:#fff; font-size:12px; font-weight:500; }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-call:hover { background:#35c8f5; }
body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-appointment:hover { background:#dff4fc; }
.home-location-compact .compact-location-results {
  position:absolute; inset:auto 0 calc(100% + 8px); z-index:30; max-height:300px; overflow:auto;
  overscroll-behavior:contain; list-style:none; margin:0; padding:6px; border:1px solid #a9c7d7;
  border-radius:0 !important; background:#fff; box-shadow:0 -8px 32px #09232e33;
}
.home-location-compact .compact-location-results[hidden] { display:none; }
.home-location-compact .compact-location-results.opens-below { top:calc(100% + 8px); bottom:auto; box-shadow:0 10px 32px #09232e33; }
.home-location-compact .compact-location-results li { margin:0; padding:0; }
.home-location-compact .compact-location-results button {
  display:grid; gap:4px; width:100%; min-height:60px; padding:12px; border:0; border-radius:0 !important;
  background:#fff; color:var(--location-ink); font:400 14px/1.4 "Poppins",sans-serif; text-align:left; cursor:pointer;
}
.home-location-compact .compact-location-results button span { color:var(--location-muted); font-size:11px; line-height:1.5; }
.home-location-compact .compact-location-results button:is(:hover,[aria-selected="true"]) { background:#e6f7fe; }
.home-location-compact .compact-location-status,
.home-location-compact .compact-location-sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.home-location-compact .compact-location-status.home-location-error {
  inset:auto 0 calc(100% + 8px); z-index:31; width:auto; height:auto; margin:0; padding:14px;
  border:1px solid #a9c7d7; border-radius:0 !important; background:#fff; color:#09232e;
  font-size:13px; line-height:1.5; overflow:visible; clip-path:none; white-space:normal;
}
body:is(.home-page,.service-detail-page) .home-location-compact :focus-visible { outline:3px solid #0088b3; outline-offset:3px; }
.home-location-compact noscript p { margin:12px 0 0; color:#294858; font-size:13px; }
@media(min-width:1051px) {
  body:is(.home-page,.service-detail-page) .midnight-hero-layout { min-height:inherit; padding-bottom:260px; box-sizing:border-box; }
}
@media(max-width:1050px) and (min-width:761px) {
  body:is(.home-page,.service-detail-page) .home-location-compact { gap:22px; padding:24px; }
  .home-location-compact .compact-location-contact { padding:18px 16px; }
  .home-location-compact .compact-location-actions { grid-template-columns:1fr; gap:8px; }
}
@media(max-width:760px) {
  body:is(.home-page,.service-detail-page) .home-hero-utility { width:calc(100% - 28px); max-width:480px; border-radius:0 !important; }
  body:is(.home-page,.service-detail-page) .home-location-compact { grid-template-columns:minmax(0,1fr); gap:20px; padding:22px 20px; border-radius:0 !important; }
  .home-location-compact .compact-location-heading { gap:14px; margin-bottom:16px; }
  .home-location-compact .compact-location-pin { flex-basis:42px; width:42px; height:46px; border-radius:0 !important; }
  body:is(.home-page,.service-detail-page) main .home-location-compact h2 { font-size:19px !important; }
  .home-location-compact .compact-location-heading p { font-size:11px; }
  body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-query { font-size:15px; }
  .home-location-compact .compact-location-contact { padding:16px; }
  body:is(.home-page,.service-detail-page) main .home-location-compact h3 { font-size:20px; }
  .home-location-compact .compact-location-branch-heading { gap:12px; }
  .home-location-compact .compact-location-branch-heading > img { flex-basis:28px; width:28px; height:32px; }
  .home-location-compact .compact-location-actions { grid-template-columns:1fr; gap:8px; margin-top:14px; }
  body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-actions a { min-height:46px; font-size:15px; }
  body:is(.home-page,.service-detail-page) .home-location-compact .compact-location-actions .compact-location-appointment { font-size:13px; }
  .home-location-compact .compact-location-results { max-height:260px; }
}

/* Verbindliche Inhaltskanten, Original-Logo und mobiles Foto vor dem Inhalt. */
:root { --rausgut-content-max:1400px; --rausgut-hero-max:1600px; }
body:is(.home-page,.service-detail-page) .home-header-inner {
  max-width:var(--rausgut-content-max);
}
body:is(.home-page,.service-detail-page) .midnight-hero-layout {
  max-width:var(--rausgut-hero-max);
}
body:is(.home-page,.service-detail-page) main#main-content .about-final-layout,
body:is(.home-page,.service-detail-page) .hx-location-bar,
body:is(.home-page,.service-detail-page) .home-hero-proof {
  max-width:var(--rausgut-content-max);
}
body:is(.home-page,.service-detail-page) .home-brand .home-brand-logo {
  display:block; width:100px; height:64px; max-width:100%; object-fit:contain; filter:none;
}
body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:50px !important; }
@media(max-width:1050px) {
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:42px !important; }
}
@media(max-width:760px) {
  body:is(.home-page,.service-detail-page) .home-header-inner {
    width:calc(100% - 28px); grid-template-columns:minmax(0,1fr) auto; gap:10px;
  }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-logo {
    width:88px; height:56px;
  }
  body:is(.home-page,.service-detail-page) .home-header .header-actions { gap:8px; }
  body:is(.home-page,.service-detail-page) .home-contact {
    width:150px; min-width:150px; max-width:none; min-height:46px; padding:10px 12px;
    font-size:13px; line-height:1.25; white-space:nowrap; box-sizing:border-box;
  }
  body.service-detail-page .home-contact { white-space:normal; }
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero {
    min-height:0; padding:0 !important;
  }
  body:is(.home-page,.service-detail-page) main#main-content .midnight-hero::after,
  body:is(.home-page,.service-detail-page) .home-hero-shade { display:none; }
  body:is(.home-page,.service-detail-page) .home-hero-background {
    position:relative; inset:auto; display:block; width:100%; height:auto; aspect-ratio:6/5;
  }
  body:is(.home-page,.service-detail-page) .home-hero-background img {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 70%;
  }
  body:is(.home-page,.service-detail-page) .midnight-hero-content {
    position:relative; display:flex; flex-direction:column; min-height:0;
  }
  body:is(.home-page,.service-detail-page) .midnight-hero-layout {
    position:relative; display:block; width:100%; min-height:0; padding:0;
  }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy {
    width:calc(100% - 40px); margin:0 auto; padding:30px 0; gap:22px; text-align:center;
  }
  body:is(.home-page,.service-detail-page) .midnight-hero-copy > :is(h1,p) { text-align:center; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:32px !important; }
  body:is(.home-page,.service-detail-page) .home-hero-utility {
    position:relative; inset:auto; width:calc(100% - 28px); margin:0 auto 28px; transform:none;
  }
  body.service-detail-page .midnight-gallery { order:-1; }
}
@media(max-width:370px) {
  body:is(.home-page,.service-detail-page) .home-header-inner { width:calc(100% - 24px); gap:8px; }
  body:is(.home-page,.service-detail-page) .home-brand .home-brand-logo { width:80px; height:52px; }
  body:is(.home-page,.service-detail-page) .home-contact { width:140px; min-width:140px; padding:10px; font-size:12px; }
  body:is(.home-page,.service-detail-page) main .midnight-hero h1 { font-size:30px !important; }
}

/* Gemeinsame eckige Bedienflächen; die Hintergrundkurve bleibt Bildgestaltung. */
.site-header :is(.header-contact,.menu-toggle),
body:is(.home-page,.service-detail-page) .midnight-hero :is(.button,.home-hero-utility,.home-location-compact,.compact-location-pin,.compact-location-contact,.compact-location-query,.compact-location-results,.compact-location-results button,.compact-location-actions a,.compact-location-status) {
  border-radius:0 !important;
}
@media(min-width:761px) {
  body.service-detail-page .home-hero-background img { object-position:center 60%; }
}
@media(max-width:760px) {
  body.service-detail-page .home-hero-background { aspect-ratio:3/2; }
  body.service-detail-page .home-hero-background img { object-fit:contain; object-position:center; }
  body:is(.home-page,.service-detail-page) .home-hero-actions .button { min-height:56px; font-size:18px !important; }
  body:is(.home-page,.service-detail-page) .home-contact { white-space:nowrap; }
}
