
.consultation-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 7%;background:#edf2ee;border-bottom:1px solid #dce2dc}.consultation-banner strong{display:block;font-size:20px}.consultation-banner div>span{display:block;margin-top:6px;font-size:14px;color:#52605a}.consultation-banner a{font-weight:600;text-decoration:underline;text-underline-offset:5px;white-space:nowrap}.services-overview h1{font-size:clamp(40px,5vw,70px);line-height:1.08}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:40px 0}.service-card{display:block;background:#edf2ee;border-radius:18px;overflow:hidden}.service-card img{width:100%;height:280px;object-fit:cover;display:block}.service-card>div{padding:28px}.service-card h2{font-size:30px;letter-spacing:-.7px;margin-bottom:15px}.service-card span{display:block;font-weight:600;margin-top:20px}.service-card:hover{background:#e3ebe4}.service-cta{padding:34px;background:#edf2ee;border-radius:18px;margin:35px 0}.service-cta .text-link{margin-left:20px}.service-links{display:flex;flex-wrap:wrap;gap:12px}.service-links a{border:1px solid #bac7bd;padding:12px 16px;border-radius:30px;font-size:14px}.mobile-contact{display:none}.area-card:focus-visible{outline:3px solid #0676b1;outline-offset:5px}
@media(max-width:700px){.consultation-banner{align-items:flex-start;flex-direction:column;gap:14px;padding:22px 6%}.consultation-banner strong{font-size:18px}.service-grid{grid-template-columns:1fr}.service-card img{height:230px}.service-cta{padding:24px}.service-cta .text-link{display:table;margin-left:0}body.has-mobile-contact{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}.mobile-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fafbf9;border-top:1px solid #dce2dc;z-index:30;box-shadow:0 -4px 18px #172b2710}.mobile-contact a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:30px;background:#17372e;color:white;font-size:15px;font-weight:600}.mobile-contact a:last-child{background:#f4dc39;color:#172b27}body:has(#cookie-panel:not([hidden])) .mobile-contact{display:none}}

.contact-form select{width:100%;box-sizing:border-box;padding:14px;border:1px solid #b9c7ba;border-radius:6px;font:inherit;color:#172b27;background:white;min-height:48px}.contact-form select:focus-visible{outline:3px solid #0676b1;outline-offset:3px}

.current-action{margin:28px auto 0;max-width:calc(100% - 12%);padding:26px 30px;background:#edf2ee;border:1px solid #cbd6c7;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:25px}.current-action[hidden]{display:none}.current-action .eyebrow{display:block;margin-bottom:9px}.current-action h2{font:550 25px/1.25 'Segoe UI',Arial,sans-serif;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}.current-action p{font-size:13px;margin:10px 0 0}.current-action button{flex-shrink:0;border:0;border-radius:30px;min-height:44px}.photo-field>label{font-weight:600;display:block;margin-bottom:9px}.photo-field input{max-width:100%;font:inherit}.photo-field input::file-selector-button{background:#edf2ee;border:1px solid #aebdaf;padding:12px;border-radius:8px;margin-right:12px;cursor:pointer}.photo-previews{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo-previews img{display:block;width:100%;height:110px;object-fit:cover;border-radius:8px}.photo-previews span{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:8px}.photo-previews button{border:1px solid #aebdaf;background:white;border-radius:8px;padding:10px;min-height:44px;margin-top:8px;width:100%}#photo-status{font-size:14px;color:#52605a}@media(max-width:600px){.current-action{flex-direction:column;align-items:flex-start;padding:22px}.current-action button{width:100%}.photo-previews{grid-template-columns:1fr 1fr}}

/* Präsenteres HAACK-Logo und zurückhaltender E-Mail-Kontakt */
.hero-logo{max-width:100%;padding:20px 26px}.hero-logo img{width:340px;max-width:100%;height:auto}.section-logo img{width:260px;max-width:100%;height:auto}.footer-logo img{width:230px;max-width:100%;height:auto}.contact-email{display:inline-block;font-size:19px;font-weight:400;letter-spacing:0;line-height:1.6;padding:5px 0;border-bottom:1px solid #89988d;background:transparent;overflow-wrap:anywhere;max-width:100%}.contact-email:hover{border-bottom-color:#172b27}header .nav-contact{white-space:nowrap}
@media(max-width:700px){.hero-logo{padding:16px 20px}.hero-logo img{width:270px}.section-logo img{width:220px}.footer-logo img{width:200px}.contact-email{font-size:18px}}

/* Kurze Produktübersichten auf den Handwerks-Unterseiten */
.product-types{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.article-body .product-types li{padding:24px;background:#edf2ee;border:1px solid #dce2dc;border-radius:16px;min-width:0}
.product-types h3{font-size:22px;line-height:1.3;letter-spacing:-.3px;margin:0 0 12px;font-weight:600;overflow-wrap:anywhere}
.article-body .product-types p{font-size:16px;line-height:1.7;color:#58655f;margin:0}
@media(max-width:600px){.product-types{grid-template-columns:1fr;gap:12px}.article-body .product-types li{padding:22px}.product-types h3{font-size:21px}}

/* Themenbilder in den Produktübersichten */
.article-body .product-types .product-with-photo{padding:0;overflow:hidden}
.product-photo{display:block;width:100%;height:240px;object-fit:cover;background:#e1e7df}
.product-copy{padding:24px}
@media(max-width:600px){.product-photo{height:220px}.product-copy{padding:22px}}

/* Kompakte Übersicht: sieben Leistungen auf einen Blick */
.services-overview{padding-top:24px;padding-bottom:40px}
.services-overview>.home-link{margin-bottom:12px}
.services-overview>.eyebrow{margin-bottom:10px}
.services-overview>h1{font-size:clamp(28px,3vw,42px);line-height:1.12;margin:0 0 10px;letter-spacing:-1px}
.services-overview>p:not(.eyebrow){margin:0;font-size:15px}
.services-overview .service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}
.services-overview .service-card img{height:112px}
.services-overview .service-card>div{padding:14px 16px}
.services-overview .service-card h2{font-size:19px;line-height:1.25;letter-spacing:-.3px;margin:0;min-height:48px}
.services-overview .service-card span{font-size:13px;margin-top:6px}
@media(min-width:701px) and (max-width:1000px){.services-overview .service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.services-overview .service-grid{grid-template-columns:1fr;gap:12px}.services-overview .service-card{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center}.services-overview .service-card img{height:100%;min-height:106px}.services-overview .service-card h2{min-height:0;font-size:18px}.services-overview .service-card>div{padding:16px}.services-overview .service-card span{margin-top:10px}}

/* Kompakte Handwerks-Unterseiten mit sichtbaren Bildern */
.compact-service .article-hero{padding-top:28px;padding-bottom:28px;gap:35px}
.compact-service .article-hero h1{font-size:clamp(30px,3.2vw,46px);line-height:1.12;margin:0 0 15px}
.compact-service .article-hero img{height:230px}
.compact-service .article-hero .home-link{margin-bottom:14px}
.compact-service .article-hero .eyebrow{margin-bottom:12px}
.compact-service .article-hero p:not(.eyebrow){font-size:15px;line-height:1.65;margin:0}
.compact-service .article-body{max-width:1600px;padding:0 7% 40px}
.compact-service .compact-products{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:35px;padding:12px 0 22px;border:0}
.compact-products h2{font-size:27px;margin:0 0 8px}
.compact-service .compact-hint{font-size:14px;margin:0 0 12px;color:#58655f}
.product-row summary{font-size:16px;font-weight:600;padding:13px 0;min-height:48px;gap:16px}
.product-row>p{font-size:15px!important;line-height:1.7!important;margin:0 0 16px;max-width:62ch}
.service-picture-strip{display:grid;grid-template-columns:1fr;gap:14px;align-content:start}
.service-picture-strip .product-photo{height:180px;border-radius:14px}
.compact-service .service-note{font-size:14px;line-height:1.7;color:#58655f;margin:0;padding:16px 0;border-top:1px solid #dce2dc}
.service-switch{margin-top:12px;border-top:1px solid #dce2dc}
.service-switch summary{font-size:16px;padding:16px 0}
.service-switch .service-links{display:flex;position:static;box-shadow:none;background:transparent;align-items:center;padding:0 0 16px;gap:10px}
.service-switch .service-links a{font-size:13px;padding:10px 14px}
@media(max-width:700px){.compact-service .article-hero{padding:22px 6%;grid-template-columns:1fr;gap:20px}.compact-service .article-hero img{height:210px}.compact-service .article-body{padding:0 6% 30px}.compact-service .compact-products{grid-template-columns:1fr;gap:22px}.service-picture-strip{grid-template-columns:1fr 1fr;gap:10px}.service-picture-strip .product-photo{height:160px}.compact-products h2{font-size:25px}}

/* Zusammenhängende Bilderreihe auf allen acht Handwerks-Unterseiten */
.compact-service .article-hero{display:block;padding-bottom:20px}
.compact-service .article-hero>div{max-width:850px}
.compact-service .service-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1600px;margin:0 auto;padding:0 7% 26px}
.compact-service .service-gallery img{display:block;width:100%;height:210px;object-fit:cover;border-radius:14px;min-width:0}
.compact-service .compact-products{display:block;padding-top:0}
.compact-service .product-accordion{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;align-items:start}
.product-row summary:focus-visible,.service-switch summary:focus-visible{outline:3px solid #0676b1;outline-offset:3px}
@media(max-width:700px){.compact-service .article-hero{padding-bottom:18px}.compact-service .service-gallery{padding:0 6% 24px;gap:10px;grid-template-columns:minmax(0,1fr)}.compact-service .service-gallery img{height:200px}.compact-service .product-accordion{grid-template-columns:1fr}}

/* Kleines HAACK-Logo als dauerhafter Weg zur Startseite */
header.with-home-logo{gap:20px}
.header-home{display:flex;align-items:center;justify-content:center;flex:0 0 110px;min-height:44px}
.header-home img{display:block;width:110px;height:auto}
header.with-home-logo nav{min-width:0;flex:1;width:auto;gap:20px}
@media(min-width:701px) and (max-width:1100px){header.with-home-logo{height:70px;justify-content:flex-start}header.with-home-logo .menu{display:block;background:none;border:1px solid var(--line);border-radius:30px;padding:11px 16px;font-size:14px;margin-left:auto}header.with-home-logo nav{display:none;position:absolute;top:70px;left:0;right:0;width:100%;padding:20px 5%;background:var(--paper);box-shadow:0 10px 15px #0001;gap:9px;align-items:stretch;border-radius:0 0 18px 18px}header.with-home-logo nav.open{display:flex;flex-direction:column}header.with-home-logo nav>a{padding:13px}header.with-home-logo .nav-contact{margin-left:0}}
@media(max-width:700px){header.with-home-logo{gap:12px}.header-home{flex-basis:90px}.header-home img{width:90px}header.with-home-logo .menu{margin-left:auto}header.with-home-logo nav{width:100%;gap:9px}header.with-home-logo .social-links{gap:4px}header.with-home-logo .social-link{min-height:40px;padding:2px}header.with-home-logo .social-link svg{width:28px;height:28px}}

/* Acht Bereiche auf der Startseite in einem gleichmäßigen Raster */
@media(min-width:1101px){#bereiche .area-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}#bereiche .area-card img{height:210px}#bereiche .area-card>span{padding:20px 32px 22px 20px}#bereiche .area-card strong{font-size:22px}#bereiche .area-card b{right:14px;top:21px}}
@media(min-width:701px) and (max-width:1100px){#bereiche .area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.compact-service .service-gallery{padding-bottom:12px}.compact-service .gallery-topic{max-width:1600px;margin:0 auto;padding:0 7% 22px;font-size:13px;line-height:1.5;color:var(--muted);min-height:42px}.compact-service .gallery-topic:empty{min-height:14px;padding-bottom:14px}@media(max-width:700px){.compact-service .gallery-topic{padding-left:6%;padding-right:6%}}

/* Sanfter Bildwechsel ohne leere Ladeflächen. */
.compact-service .service-gallery{position:relative}
.compact-service .service-gallery.gallery-fade-layer{position:absolute;inset:0;width:100%;height:100%;margin:0;pointer-events:none;z-index:1}
.compact-service .gallery-topic{min-height:42px}
.compact-service .gallery-topic:empty{min-height:42px;padding-bottom:22px}

/* Großansicht der aktuell ausgewählten drei Bilder */
.service-gallery>img[role="button"]{cursor:zoom-in}
.service-gallery>img[role="button"]:focus-visible{outline:3px solid #0676b1;outline-offset:4px}
dialog.handwerk-lightbox{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:1200px;height:calc(100dvh - 32px);max-height:900px;padding:60px 68px 24px;border:0;border-radius:18px;background:#14231ff5;color:#fff;overflow:auto;box-shadow:0 20px 80px #0006}
.handwerk-lightbox::backdrop{background:#09130ee6;backdrop-filter:blur(6px)}
.handwerk-lightbox figure{height:100%;margin:0;display:flex;flex-direction:column;justify-content:center;gap:16px}
.handwerk-lightbox figure img{display:block;width:100%;height:calc(100% - 60px);min-height:0;object-fit:contain}
.handwerk-lightbox figcaption{text-align:center;font-size:14px;line-height:1.5;flex-shrink:0}
.handwerk-lightbox button{position:absolute;box-sizing:border-box;border:1px solid #ffffff60;background:#203b32;color:#fff;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;line-height:0;cursor:pointer}
.handwerk-lightbox button svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.handwerk-lightbox button:hover{background:#365749}.handwerk-lightbox button:focus-visible{outline:3px solid #f4dc39;outline-offset:3px}
.handwerk-lightbox .lightbox-close{top:12px;right:12px}.handwerk-lightbox .lightbox-prev{top:50%;left:12px;transform:translateY(-50%)}.handwerk-lightbox .lightbox-next{top:50%;right:12px;transform:translateY(-50%)}
@media(max-width:700px){dialog.handwerk-lightbox{width:calc(100% - 16px);height:calc(100dvh - 16px);padding:64px 12px 76px}.handwerk-lightbox .lightbox-prev{top:auto;bottom:15px;left:calc(50% - 54px);transform:none}.handwerk-lightbox .lightbox-next{top:auto;bottom:15px;right:calc(50% - 54px);transform:none}.handwerk-lightbox figure img{height:calc(100% - 80px)}.handwerk-lightbox figcaption{font-size:13px}}

/* Responsive layout and keyboard improvements, 21 November 2026. */
.legal-page h1{font-size:clamp(30px,6vw,54px);overflow-wrap:anywhere;hyphens:auto}
.legal-page h2,.legal-page p,.legal-page li,.legal-page a{overflow-wrap:anywhere}
.legal-header img{height:auto;object-fit:contain}
header #navigation{max-height:calc(100dvh - 85px);overflow-y:auto;overscroll-behavior:contain}
.contact-form input,.contact-form textarea,.contact-form select{min-width:0;max-width:100%}
.contact-form .form-fields>*,.article-hero>*{min-width:0}
.contact-form input:focus-visible,.contact-form textarea:focus-visible{outline:3px solid #0676b1;outline-offset:3px}
@media(max-width:700px){
 .hero{display:flex;flex-direction:column;height:auto!important;min-height:0}
 .hero .hero-content{order:0;width:100%;max-width:none;padding:32px 24px 24px}
 .hero .hero-shade{display:none}
 .hero .hero-image{position:static;order:1;width:100%;height:260px;object-fit:cover;object-position:center}
 .hero .hero-bottom{position:static;order:2;padding:15px 20px;background:#18332d;line-height:1.5;font-size:11px;letter-spacing:1px}
 .hero .hero-content>p:last-child{margin-bottom:0}
 .hero h1{font-size:clamp(34px,10vw,56px);line-height:1.1;letter-spacing:-.045em;overflow-wrap:break-word}
 .hero h1 br{display:none}
 .hero h1 em{display:block}
 .hero .hero-credit{bottom:50px;right:12px}
 .hero .hero-logo{max-width:100%;margin-bottom:25px}
 .legal-page{padding-top:36px}
 .cookie-panel{max-height:calc(100dvh - 24px);padding-bottom:max(20px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}


/* Stellenangebote: zusaetzlicher Menuepunkt ohne Ueberlauf auf Desktop */
@media (min-width:1101px) {
  header.with-home-logo { gap: 10px; }
  header.with-home-logo nav { gap: clamp(8px, .85vw, 15px); font-size: clamp(11px, .88vw, 13px); }
  header.with-home-logo .nav-contact { padding: 12px 13px; }
}
header nav a:not(.nav-contact)[aria-current]:not([aria-current="false"]) {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

/* HAACK: etwas groessere Hauptnavigation, 26.11.2026 */
@media (min-width:1101px) {
  header.with-home-logo nav { gap: clamp(9px, 1vw, 17px); }
  header.with-home-logo nav > a:not(.nav-contact) {
    font-size: clamp(14px, 1.02vw, 16px);
    white-space: nowrap;
  }
}
