/* ===== Stil D „nach dem Muster von apple.com“ für alle übrigen Seiten (Testkopie, 23.11.2026) =====
   Gilt nur für Seiten, die nicht von Hand gebaut sind (main ohne .b-seite). Lädt nach design-b.css. */
:root{--d-flaeche:#fff}
html body:has(main:not(.b-seite)):not(#d){background:#fff!important}
html body main:not(.b-seite):not(#d){background:#fff}

/* Abschnitte als Kacheln mit schmalen Abständen, hell und farbig im Wechsel */
html body main:not(.b-seite)>:is(section,aside):not(#d){margin:12px 0 0!important;padding-top:88px!important;padding-bottom:88px!important;background:var(--b-papier)!important}
html body main:not(.b-seite)>section:nth-of-type(4n+2):not(#d):not(.dark):not(.contactband):not(.mk-doors){background:var(--b-salbei)!important}
html body main:not(.b-seite)>section:nth-of-type(4n):not(#d):not(.dark):not(.contactband):not(.mk-doors){background:var(--b-sand)!important}
html body main:not(.b-seite)>:is(section.dark,section.contactband,section.mk-doors,section.h7-promise):not(#d){background:var(--b-nacht)!important}
@media (max-width:799px){html body main:not(.b-seite)>:is(section,aside):not(#d){padding-top:56px!important;padding-bottom:56px!important}}

/* Kopf jedes Abschnitts zentriert: kleine Zeile, Überschrift, Einleitung */
html body main:not(.b-seite) :is(section,aside)>.wrap>:is(.eyebrow,.mk-eyebrow,.kicker,h1,h2,.lead,.mk-lead,.hh-lead,.section-lead):not(#d):not(#d):not(#d){text-align:center!important;margin-left:auto!important;margin-right:auto!important}
html body main:not(.b-seite) :is(section,aside)>.wrap>:is(.lead,.mk-lead,.hh-lead,.section-lead):not(#d):not(#d){max-width:46ch!important}
html body main:not(.b-seite) :is(section,aside)>.wrap>h2:not(#d):not(#d):not(#d):not(#d){font-size:clamp(2.25rem,3vw + 1rem,3.5rem)!important;line-height:1.06!important;max-width:22ch;margin-bottom:12px!important}
html body main:not(.b-seite) :is(section,aside)>.wrap>h2+p:not([class]):not(#d):not(#d){text-align:center!important;max-width:60ch;margin-left:auto!important;margin-right:auto!important;font-size:var(--b-l)!important;line-height:1.5!important;color:var(--b-schiefer)}
html body main:not(.b-seite) :is(section,aside)>.wrap>:is(.mk-actions,.hero-actions,.actions):not(#d):not(#d){justify-content:center!important}

/* Erster Bildschirm: zentriert, großes Bild darunter (wie eine Produktkachel) */
html body main:not(.b-seite)>:is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero):not(#d):not(#d){margin-top:0!important;padding-top:72px!important;padding-bottom:0!important;background:#fff!important;text-align:center}
html body main:not(.b-seite) :is(.hero-grid,.mk-hero-grid,.editorial-grid,.region-hero-grid):not(#d):not(#d){display:flex!important;flex-direction:column!important;align-items:center!important;gap:32px!important}
html body main:not(.b-seite) :is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero) :is(h1,.eyebrow,.mk-eyebrow,.lead,.mk-lead,p):not(#d):not(#d):not(#d){text-align:center!important;margin-left:auto!important;margin-right:auto!important}
html body main:not(.b-seite) :is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero) h1:not(#d):not(#d):not(#d):not(#d){font-size:clamp(2.5rem,4vw + 1rem,4.75rem)!important;line-height:1.04!important;max-width:18ch}
html body main:not(.b-seite) :is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero) :is(.lead,.mk-lead):not(#d):not(#d):not(#d){max-width:44ch!important;font-size:clamp(1.125rem,.6vw + 1rem,1.5rem)!important;color:var(--b-tinte)!important}
html body main:not(.b-seite) :is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero) :is(.hero-actions,.mk-actions,.actions,.hh-about-meta):not(#d):not(#d){justify-content:center!important}
html body main:not(.b-seite) :is(.hero-photo,.mk-figure,.mk-pano,.editorial-hero figure,.region-hero figure):not(#d):not(#d){width:min(100%,1100px)!important;margin:0 auto!important}
html body main:not(.b-seite) :is(.hero-photo,.mk-figure,.mk-pano,.editorial-hero figure,.region-hero figure) img:not(#d):not(#d):not(#d){width:100%!important;border-radius:12px 12px 0 0!important;-webkit-mask-image:none!important;mask-image:none!important}
@media (max-width:799px){html body main:not(.b-seite) :is(.hero-photo,.mk-figure,.mk-pano,.editorial-hero figure,.region-hero figure) img:not(#d):not(#d):not(#d){}}

/* Knöpfe kompakter wie bei den Kacheln */
html body main:not(.b-seite) .btn:not(#d):not(#d):not(#d){min-height:44px!important;padding:0 20px!important}

/* Brotkrumen ruhig oben links */
html body main:not(.b-seite) .crumb:not(#d){background:#fff}
/* Nachbesserung 1: weitere Kopfbereiche, lange Absätze im Kopf ruhiger */
html body main:not(.b-seite) :is(.hh-jobs-hero .wrap):not(#d):not(#d){display:flex!important;flex-direction:column!important;align-items:center!important;gap:32px!important}
html body main:not(.b-seite) .hh-jobs-hero-fig:not(#d){width:min(100%,1100px)!important;margin:0 auto!important}
html body main:not(.b-seite) .hh-jobs-hero-fig img:not(#d):not(#d){border-radius:12px 12px 0 0!important;-webkit-mask-image:none!important;mask-image:none!important}
html body main:not(.b-seite) :is(.hero,.editorial-hero,.mk-hero,.region-hero,.pagehero,.ir-hero,.support-hero,.hh-contact-hero,.faq-hero) p:not([class]):not(#d):not(#d):not(#d){max-width:60ch!important;font-size:var(--b-m)!important;color:var(--b-schiefer)!important}
/* Nachbesserung 2: alle Abschnittsüberschriften zentriert, auch wenn sie tiefer verschachtelt sind */
html body main:not(.b-seite)>:is(section,aside) h2:not(#d):not(#d):not(#d):not(#d){text-align:center!important;margin-left:auto!important;margin-right:auto!important;max-width:22ch}
html body main:not(.b-seite)>:is(section,aside) :is(.eyebrow,.mk-eyebrow,.kicker):not(#d):not(#d):not(#d){text-align:center!important}
html body main:not(.b-seite)>:is(section,aside) :is(.mk-card,.tile,.editorial-card,.hh-explainer,.faq-item,li,td,th,dd,dt,form,label,article) :is(h2,.eyebrow,.mk-eyebrow,.kicker):not(#d):not(#d):not(#d):not(#d){text-align:left!important;margin-left:0!important}
html body main:not(.b-seite)>:is(section,aside) :is(.hh-editorial-intro,.section-head,.hh-section-head)>p:not(#d):not(#d){text-align:center!important;margin-left:auto!important;margin-right:auto!important;max-width:60ch}
html body main:not(.b-seite) :is(.hero-grid,.mk-hero-grid,.editorial-grid,.region-hero-grid,.hh-jobs-hero .wrap)>*:not(#d):not(#d){width:100%!important;max-width:100%!important;min-width:0!important}
/* Nachbesserung 3 (Nutzer: „Gesicht nicht sichtbar“): Kopfbilder nie oben/unten beschneiden, volles Bildformat */
html body main:not(.b-seite) :is(.hero-photo,.mk-figure,.mk-pano,.editorial-hero figure,.region-hero figure,.hh-jobs-hero-fig) img:not(#d):not(#d):not(#d):not(#d){height:auto!important;max-height:none!important;object-fit:contain!important}

/* FAQ-Hilfe-Band: war dunkel mit heller Schrift, Kachel-Wechsel machte den Grund hell. Dunkel behalten. */
html body main .faq-help:not(#b):not(#b):not(#b){background:var(--nacht,#0F2410)!important;color:#fff!important}
html body main .faq-help :is(a,.btn):not(.btn-primary):not(.btn-green):not(.primary):not(#b):not(#b):not(#b){color:#fff!important;border-color:#fff!important;-webkit-text-fill-color:#fff!important}
