/* WFF: integrated from the supplied navigation/card draft. */
html { scroll-padding-top: calc(var(--wff-header-height, 86px) + 16px); }
section { scroll-margin-top: 0; }
.top { position: sticky; top: 0; z-index: 100; background: #101c28; }
.skip { z-index: 110; }
.top .brand { min-width: 0; flex-shrink: 1; }
.top .brand img { max-width: 100%; }
/* Compact hero and portrait based on the approved reference. */
.hero-inner { min-height: 0; }
.hero-copy { padding: 2.8rem 2rem 2.8rem 0; }
.hero h1 { font-size: clamp(2.4rem, 3.7vw, 3.65rem); margin-bottom: 1.1rem; }
.hero .eyebrow { margin-bottom: 1rem; }
.hero .lead { font-size: 1.08rem; margin-bottom: 1.4rem; }
.hero-note { margin-top: 1.5rem; }
.service-slider { margin-top: 2rem; }
.slider-controls { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.slider-controls[hidden] { display: none; }
.slider-controls button { width: 46px; height: 46px; border: 1px solid #a7b0b5; border-radius: 10px; background: white; color: #152332; cursor: pointer; font-size: 1.4rem; }
.slider-controls button:disabled { opacity: .35; cursor: default; }
.slider-position { font-size: .85rem; color: #52606b; min-width: 7rem; text-align: center; }
.service-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; background: transparent; border: 0; margin-top: .5rem; padding: 12px 4px 24px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a87945 #e9ecea; }
.service-grid > .service { flex: 0 0 calc((100% - 40px)/3); min-width: 0; scroll-snap-align: start; border: 1px solid #e1e5e7; border-radius: 10px; box-shadow: 0 4px 16px rgb(16 28 40 / 7%); display: flex; flex-direction: column; }
.service-grid > .service a { margin-top: auto; padding-top: 20px; }
@media (max-width:720px) {
 html { scroll-padding-top: calc(var(--wff-header-height, 72px) + 16px); }
 .top #navigation { top: 100%; max-height: calc(100dvh - var(--wff-header-height, 72px)); overflow-y: auto; }
 .top .brand img { width: min(305px,calc(100vw - 130px)); }
 .top .menu { flex-shrink: 0; }
 .hero-copy { padding: 2.3rem 0 2rem; }
 .hero h1 { font-size: clamp(2.15rem, 8vw, 2.9rem); }
 .hero .lead { font-size: 1rem; }
 .service-grid { gap: 16px; }
 .service-grid > .service { flex-basis: 86%; padding: 24px; }
 .top nav[aria-label="Seitennavigation"] { display: flex; position: static; padding: 0; box-shadow: none; }
 .top:has(nav[aria-label="Seitennavigation"]) .topinner { flex-wrap: wrap; gap: .4rem; padding-top: .5rem; padding-bottom: .5rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .service-grid { scroll-behavior: auto; } }

.hero-inner { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
.hero h1 em { display: block; }
.hero-graphic { border-left: 0; min-height: 400px; }
.portrait-frame { height: 108%; width: 100%; max-width: none; aspect-ratio: auto; bottom: -15%; }
.portrait-frame:before, .portrait-frame:after { display: none; }
.hero-person { object-fit: contain; mask-image: linear-gradient(to bottom,#000 65%,transparent 90%); }
@media (max-width:950px) and (min-width:721px) { .hero-inner { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); } }
@media (max-width:720px) { .hero-graphic { min-height: 310px; } .portrait-frame { height: 130%; width: 100%; max-width: none; bottom: -24%; } }
