/* Elektro Mai – warmer Foto-Hero mit Goldbogen und schwarzem Übergang. */
.emh-hero {
  --emh-ink: #191b1b;
  --emh-muted: #505755;
  --emh-gold: #efb52f;
  --emh-panel-width: clamp(300px,24vw,350px);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding: 48px 32px 72px;
  overflow: hidden;
  background: #fcfaf5;
  color: var(--emh-ink);
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.emh-hero *, .emh-hero *::before, .emh-hero *::after, .emh-divider * { box-sizing: border-box; }
.emh-hero::before { content: ""; position: absolute; z-index: -1; left: -22%; top: -18%; width: 65%; height: 125%; border-radius: 0 0 65% 0; background: #ffffffed; }
.emh-hero svg, .emh-divider svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.emh-background { position: absolute; z-index: -2; inset: 0; margin: 0; pointer-events: none; }
.emh-background > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.emh-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#fff 0%,#fffffff5 32%,#ffffffeb 40%,#ffffff80 45%,#ffffff00 54%); }
.emh-image-note { position: absolute; z-index: 2; bottom: 9px; right: 32px; margin: 0; color: #555c56; font-size: 9px; }
.emh-wave { position: absolute; z-index: -1; bottom: -1px; left: 0; width: 100%; height: 165px; }
.emh-wave .emh-wave-gold { fill: #efb52f; stroke: none; }
.emh-wave .emh-wave-cream { fill: #fcfaf5; stroke: none; }
.emh-container { padding-right: max(0px,calc(28vw - 56px - var(--emh-panel-width))); }
.emh-grid { display: grid; grid-template-columns: minmax(0,1fr) var(--emh-panel-width); gap: 30px; align-items: center; }
.emh-copy { min-width: 0; margin-left: max(0px,calc((100vw - 1344px)/2)); padding-block: 8px 22px; }
.emh-intro { max-width: 660px; }
.emh-eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: #454d4c; font-size: 10px; font-weight: 650; letter-spacing: 1.5px; line-height: 1.7; text-transform: uppercase; }
.emh-eyebrow::before { content: ""; flex: 0 0 32px; height: 2px; background: #e9a400; }
.emh-heading { margin: 0; font-size: clamp(48px,4.7vw,70px); line-height: 1.01; letter-spacing: -.045em; font-weight: 800; overflow-wrap: break-word; }
.emh-heading > span { display: inline-block; }
.emh-subline { display: inline-block; max-width: 100%; margin: 20px 0 0; padding-bottom: 6px; border-bottom: 2px solid #edb52f; font-size: clamp(20px,1.8vw,27px); line-height: 1.3; font-weight: 750; letter-spacing: -.035em; }
.emh-body { max-width: 555px; margin-top: 25px; }
.emh-description { max-width: min(505px,37vw); margin: 0; color: var(--emh-muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.emh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.emh-primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 14px 23px; border: 1px solid #3a331b; border-radius: 12px; background: #191b1b; color: #fff; box-shadow: 0 3px 18px #e3b53f42; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.emh-primary svg { width: 19px; height: 19px; }
.emh-phone { display: inline-flex; align-items: center; gap: 11px; min-height: 52px; padding: 8px 14px; border-radius: 12px; background: #f6f3eedb; color: #191b1b; font-size: 15px; font-weight: 700; text-decoration: none; }
.emh-phone-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 30px; color: #b57a00; }
.emh-phone-icon svg { width: 23px; height: 23px; }
.emh-phone small { display: block; margin-bottom: 1px; color: #505755; font-size: 10px; font-weight: 400; }
.emh-area { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 44px; margin-top: 20px; padding-block: 8px; color: #3f4842; font-size: 12px; line-height: 1.6; text-decoration: none; }
.emh-area strong { font-weight: 650; }
.emh-area > svg { flex: 0 0 18px; width: 18px; height: 18px; color: #b47b00; }
.emh-area > .emh-area-arrow { flex-basis: 11px; width: 11px; height: 11px; color: #626b63; }
.emh-competencies { position: relative; min-width: 0; padding: 27px 28px 20px; border: 1px solid #fff8ee; border-radius: 24px; background: #fffcf8; box-shadow: 0 20px 40px #362b192b; }
.emh-panel-kicker { display: inline-block; margin: 0 0 12px; padding: 5px 11px; border-radius: 999px; background: #ffe09c; color: #4b3917; font-size: 9px; line-height: 1.4; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; }
.emh-competencies-heading { margin: 0 0 23px; font-size: 25px; line-height: 1.17; font-weight: 800; letter-spacing: -.035em; }
.emh-trades { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.emh-trades li { display: flex; align-items: flex-start; gap: 15px; min-width: 0; }
.emh-trade-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; background: #fff3dced; color: #b87c00; }
.emh-trade-icon svg { width: 27px; height: 27px; stroke-width: 1.5; }
.emh-trades strong { display: block; margin: 0 0 4px; font-size: 16px; line-height: 1.3; font-weight: 750; letter-spacing: -.025em; }
.emh-trades small { display: block; color: #505755; font-size: 12px; line-height: 1.5; }
.emh-services-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e7e2d8; color: #292e29; font-size: 12px; font-weight: 750; text-decoration: none; }
.emh-services-link svg { flex: 0 0 18px; width: 18px; height: 18px; color: #b87c00; }
.emh-hero :is(a,button):focus-visible { outline: 3px solid #9f6c00; outline-offset: 5px; }
.emh-divider { background: #111312; color: #fff; font: 16px/1.5 "Segoe UI",Arial,sans-serif; }
.emh-divider-inner { max-width: 1344px; margin-inline: auto; padding: 32px; }
.emh-process { display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; }
.emh-process li { display: flex; align-items: center; gap: 16px; color: #f6f3e9; font-size: 15px; font-weight: 550; line-height: 1.5; }
.emh-process svg { flex: 0 0 28px; width: 28px; height: 28px; color: #efb52f; }
.emh-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 36px; border: 1px solid #e4e7e3; border-radius: 18px; background: #fff; color: #18181b; font: inherit; overflow-y: auto; }
.emh-dialog::backdrop { background: #18181b88; }
.emh-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #f4f4f4; color: #18181b; cursor: pointer; }
.emh-dialog-close svg { width: 18px; height: 18px; }
.emh-dialog-kicker { margin: 8px 32px 18px 0; color: #62676b; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.emh-dialog h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.15; font-weight: 750; letter-spacing: -.03em; }
.emh-dialog #emh-dialog-description { margin-bottom: 22px; color: #62676b; font-size: 15px; line-height: 1.65; }
.emh-dialog-phone, .emh-dialog-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 13px 18px; border-radius: 9px; font-size: 15px; font-weight: 650; text-decoration: none; }
.emh-dialog-phone { background: #18181b; color: #fff; }
.emh-dialog-phone small { display: block; margin-bottom: 3px; color: #bcbeba; font-size: 11px; font-weight: 400; }
.emh-dialog-email { margin-top: 10px; border: 1px solid #e1e4e1; color: #18181b; }
.emh-dialog-phone svg, .emh-dialog-email svg { width: 18px; height: 18px; }
.emh-dialog-address { margin: 16px 0 0; color: #62676b; font-size: 12px; text-align: center; }


@media (hover:hover) {
  .emh-primary:hover { background: #343a34; }
  .emh-phone:hover { background: #eee8dd; }
  .emh-services-link:hover, .emh-area:hover { color: #996500; }
}
@media (min-width:961px) and (max-width:1359px) {
  .emh-hero { --emh-panel-width: 300px; padding: 42px 28px 58px; }
  .emh-grid { gap: 24px; }
  .emh-heading { font-size: 52px; }
  .emh-subline { max-width: 510px; font-size: 22px; }
  .emh-body { max-width: 490px; }
  .emh-description { max-width: min(390px,37vw); font-size: 15px; }
  .emh-competencies { padding: 24px 22px 18px; }
  .emh-competencies-heading { font-size: 23px; }
  .emh-trades { gap: 19px; }
  .emh-trades li { gap: 12px; }
  .emh-trade-icon { flex-basis: 40px; width: 40px; height: 44px; }
  .emh-trades small { font-size: 11px; }
  .emh-background > img { object-position: right center; }
  .emh-background::after { background: linear-gradient(90deg,#fff 0%,#fffffff0 34%,#ffffffb8 40%,#ffffff00 47%); }
}
@media (max-width:960px) {
  .emh-hero { padding: 40px 24px 48px; }
  .emh-container { padding-right: 0; }
  .emh-grid { grid-template-columns: minmax(0,1fr); gap: 160px; }
  .emh-copy { margin-left: 0; padding: 0; }
  .emh-description { max-width: 505px; }
  .emh-heading { font-size: clamp(48px,7.6vw,66px); }
  .emh-background { top: 180px; height: 680px; mask-image: linear-gradient(180deg,transparent 0%,#000 18%,#000 100%); }
  .emh-background > img { object-position: 58% center; }
  .emh-background::after { background: linear-gradient(180deg,#fffffff2 0%,#fffffff2 25%,#ffffff00 40%,#ffffff00 80%,#fcfaf5 100%),linear-gradient(90deg,#fff 0%,#fffffff2 30%,#ffffff00 50%); }
  .emh-competencies { padding: 28px; }
  .emh-trades { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 30px; }
  .emh-competencies-heading br { display: none; }
  .emh-wave { height: 90px; }
  .emh-image-note { right: 24px; }
  .emh-process li { gap: 10px; font-size: 12px; }
  .emh-process svg { flex-basis: 23px; width: 23px; height: 23px; }
  .emh-divider-inner { padding: 28px 24px; }
}
@media (max-width:680px) {
  .emh-hero { display: grid; grid-template-columns: minmax(0,1fr); padding: 34px 20px 38px; }
  .emh-hero::before, .emh-wave { display: none; }
  .emh-container, .emh-grid, .emh-copy { display: contents; }
  .emh-intro { grid-row: 1; }
  .emh-eyebrow { font-size: 9px; margin-bottom: 20px; letter-spacing: 1px; gap: 10px; }
  .emh-eyebrow::before { flex-basis: 24px; }
  .emh-heading { font-size: clamp(36px,9.6vw,54px); line-height: 1.04; }
  .emh-subline { margin-top: 18px; font-size: 21px; line-height: 1.35; }
  .emh-background { position: relative; z-index: 0; grid-row: 2; inset: auto; height: auto; aspect-ratio: 4 / 3; margin: 16px -20px 0; mask-image: none; }
  .emh-background > img { object-position: 61% center; }
  .emh-background::after { background: linear-gradient(180deg,#fcfaf5 0%,#ffffff00 18%,#ffffff00 80%,#fcfaf5 100%); }
  .emh-image-note { right: 20px; bottom: 9px; font-size: 8px; }
  .emh-body { grid-row: 3; max-width: none; margin-top: 22px; }
  .emh-description { font-size: 16px; line-height: 1.75; }
  .emh-actions { gap: 14px; margin-top: 24px; }
  .emh-primary { min-height: 52px; }
  .emh-area { margin-top: 15px; }
  .emh-competencies { grid-row: 4; margin-top: 28px; padding: 25px 22px 20px; border-radius: 19px; }
  .emh-competencies-heading { font-size: 25px; }
  .emh-competencies-heading br { display: initial; }
  .emh-trades { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .emh-trades small { font-size: 13px; }
  .emh-trades strong { font-size: 17px; }
  .emh-divider-inner { padding: 25px 24px; }
  .emh-process { flex-direction: column; gap: 0; }
  .emh-process li { min-height: 54px; font-size: 14px; }
  .emh-process li + li { border-top: 1px solid #ffffff1e; }
  .emh-dialog { padding: 28px 24px; }
}
@media (max-width:359px) {
  .emh-hero { padding-inline: 16px; }
  .emh-background { margin-inline: -16px; }
  .emh-heading { font-size: 35px; }
  .emh-eyebrow { font-size: 8px; }
  .emh-subline { font-size: 19px; }
  .emh-primary { width: 100%; }
  .emh-competencies { padding-inline: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .emh-hero *, .emh-hero *::before, .emh-hero *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
