:root{
  /* Farben aus dem Logo: Orange = Wärme/Heizung, Blau = Klima/Lüftung */
  --orange:#ef7821;        /* Logo-Orange: Buttons, Links, aktiver Menüpunkt (Wunsch Phil: frisch statt abgedunkelt) */
  --orange-red:#ff8a3d;    /* Hover: heller und leuchtender statt abgedunkelt */
  --orange-logo:#ef7821;   /* Icons, Flächenakzente */
  --orange-soft:#fdf1e7;
  --blue:#1e9fd8;          /* Logo-Hellblau: Icons, Akzente */
  --blue-dark:#2e62ab;
  --blue-mid:#1f7ab3;       /* helleres Blau für Text, noch 4,7:1 auf Weiß */     /* Logo-Blau: Texte/Links in Blau */
  --blue-soft:#e8f3fb;
  --navy:#0e2547;          /* Tiefes Blau: Footer, dunkle Flächen */
  --bg-light:#f2f5f8;
  --text:#13213a;
  --text-muted:#4a5568;
  --border:#d3d9e1;
  --white:#fff;
  --offwhite:#fbfcfd;
  --radius-s:8px;
  --radius-m:16px;
  /* Schrift wie im Logo: Segoe UI (Windows), sonst die ähnliche Systemschrift */
  --font:"Segoe UI","Segoe UI Variable",system-ui,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-script:var(--font);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.5;color:var(--text);background:var(--white)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
/* Lange deutsche Wörter auf schmalen Bildschirmen sauber trennen statt überlaufen */
h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
@media (min-width:768px){h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5{-webkit-hyphens:manual;hyphens:manual}}
@media (max-width:360px){.h1{font-size:34px}.h2{font-size:28px}.h3{font-size:22px}}

/* ---------- Layout-Helfer ---------- */
.padding-global{padding:0 40px}
.container-large{max-width:1280px;margin:0 auto}
.container-small{max-width:768px;margin:0 auto}
.section-pad{padding:128px 0 16px}
.section-pad.full{padding:112px 0}
.text-center{text-align:center}
.max-width-large{max-width:1120px;margin:0 auto}

/* ---------- Typografie ---------- */
.eyebrow{font-size:13px;font-weight:700;line-height:20px;letter-spacing:.12em;color:var(--orange);text-transform:uppercase;margin-bottom:12px}
.eyebrow.is-blue{color:var(--blue-dark)}
.h1{font-size:56px;font-weight:700;line-height:1.12;letter-spacing:-.01em;margin-bottom:24px;text-wrap:balance}
.h2{font-size:40px;font-weight:700;line-height:1.2;letter-spacing:-.005em;margin-bottom:20px;text-wrap:balance}
.h4{font-size:22px;font-weight:700;line-height:1.35}
.h5{font-size:18px;font-weight:700;line-height:1.35}
.lead{font-size:19px;line-height:1.6;color:var(--text-muted)}
.muted{color:var(--text-muted)}

/* ---------- Buttons ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font);font-size:16px;font-weight:600;line-height:20px;padding:12px 16px;border-radius:var(--radius-s);background:var(--orange);color:var(--white);border:1px solid var(--orange);cursor:pointer;transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s ease,background .2s,color .2s,border-color .2s}
.button:hover{background:var(--orange-red);border-color:var(--orange-red)}
/* Hover: Button hebt sich leicht an und wirft einen weichen Schatten in Orange; beim Klicken sitzt er wieder auf */
.button:not(.is-link):hover{transform:translateY(-2px);box-shadow:0 8px 20px -6px rgba(239,120,33,.55),0 2px 4px rgba(19,33,58,.08)}
.button:not(.is-link):active{transform:translateY(0);box-shadow:0 2px 6px -2px rgba(239,120,33,.5);transition-duration:.08s}
.button.is-white:hover{box-shadow:0 10px 24px -8px rgba(0,0,0,.45)}
@media (prefers-reduced-motion:reduce){.button:not(.is-link):hover{transform:none}}
.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.button.is-large{padding:16px 32px;white-space:nowrap}
.button.is-secondary{background:transparent;color:var(--orange)}
.button.is-secondary:hover{background:var(--orange);color:var(--white);opacity:1}
.button.is-white{background:var(--white);color:var(--orange);border-color:var(--white)}
.button.is-white:hover{background:var(--orange-soft);color:var(--orange-red);border-color:var(--orange-soft)}
.button.is-link{background:transparent;border:0;color:var(--orange);padding:4px 0}
.button.is-link:hover{background:transparent;color:var(--orange-red)}
.button-group{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-top:32px}

/* ---------- Navigation ---------- */
/* Startet ohne Hintergrund, wird beim Scrollen zur kompakten weißen Leiste (Klasse .is-scrolled per main.js) */
.navbar{position:fixed;top:0;left:0;right:0;z-index:100;height:96px;background:transparent;box-shadow:none;padding:0 40px;transition:height .3s ease,background-color .3s ease,box-shadow .3s ease,backdrop-filter .3s ease}
.navbar.is-scrolled{height:72px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);box-shadow:0 1px 0 rgba(19,33,58,.08),0 8px 24px rgba(19,33,58,.08)}
.navbar.is-open{background:var(--white)}
@media (prefers-reduced-motion:reduce){.navbar,.navbar_logo{transition:none}}
.navbar_container{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1280px;margin:0 auto}
.navbar_brand{flex:none;display:block}
.navbar_logo{display:block;width:auto;height:52px;max-width:none;aspect-ratio:720/166;object-fit:contain;transition:height .3s ease}
.navbar.is-scrolled .navbar_logo{height:44px}
.navbar_menu{display:flex;align-items:center}
.navbar_cta{flex:none;padding:10px 18px;font-size:15px;white-space:nowrap}
.navbar_link{padding:24px 16px;font-weight:400;color:var(--text);transition:color .2s}
.navbar_link:hover{color:var(--orange-red)}
.navbar_link.is-current{color:var(--orange);font-weight:600}
.navbar_link.is-current:hover{color:var(--orange-red)}
/* Leistungen-Menü: Bereiche mit Bild und kurzem Text */
.navbar_dd-toggle{display:inline-flex;align-items:center;gap:6px;background:none;border:0;font:inherit;cursor:pointer}
.navbar_chevron{transition:transform .2s ease}
.mega{position:absolute;top:100%;left:0;right:0;padding:12px 40px 0;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
.mega_inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-m);box-shadow:0 24px 48px -12px rgba(19,33,58,.18)}
.mega_card{display:flex;align-items:center;gap:16px;padding:10px;border-radius:12px;transition:background .2s}
.mega_card:hover,.mega_card:focus-visible{background:var(--bg-light)}
.mega_media{display:block;flex:none;width:120px;border-radius:var(--radius-s);overflow:hidden;aspect-ratio:4/3;background:var(--bg-light)}
.mega_media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.mega_card:hover .mega_media img{transform:scale(1.04)}
.mega_body{display:flex;flex-direction:column;gap:4px;min-width:0}
.mega_title{display:inline-flex;align-items:center;gap:6px;font-size:17px;font-weight:700;line-height:1.35;color:var(--text)}
.mega_title svg{color:var(--orange);transition:transform .2s}
.mega_card:hover .mega_title svg{transform:translateX(3px)}
.mega_card.is-current .mega_title{color:var(--orange)}
.mega_text{font-size:13px;line-height:1.45;color:var(--text-muted)}
@media (min-width:1024px){
  /* Hover-Fläche reicht bis an die Unterkante der Leiste, damit das Panel beim Hinunterfahren offen bleibt */
  .navbar_menu{align-self:stretch}
  .navbar_dd{align-self:stretch;display:flex;align-items:center}
  .navbar_dd.is-open .mega{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease}
  .navbar_dd.is-open .navbar_chevron{transform:rotate(180deg)}
}
@media (min-width:1024px) and (hover:hover){
  .navbar_dd:hover .mega,.navbar_dd:focus-within .mega{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease}
  .navbar_dd:hover .navbar_chevron{transform:rotate(180deg)}
}
.menu-button{display:none;width:48px;height:48px;background:none;border:0;cursor:pointer;padding:12px;flex-direction:column;justify-content:space-between}
.menu-button span{display:block;height:2px;width:24px;background:var(--text);transition:transform .3s,opacity .3s}
.navbar.is-open .menu-button span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.navbar.is-open .menu-button span:nth-child(2){opacity:0}
.navbar.is-open .menu-button span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* ---------- Hero / header78 ---------- */
.hero{background:var(--bg-light);padding-top:112px;overflow:hidden}
.hero .section-pad{padding-top:48px;padding-bottom:0}
.hero_intro{margin-bottom:80px}
.hero_marquee{width:100%;overflow:hidden;padding-bottom:48px}
.hero_track{display:flex;gap:16px;width:max-content;animation:marquee var(--marquee-duration,80s) linear infinite;will-change:transform}
.hero_marquee:hover .hero_track{animation-play-state:paused}
.hero_item{position:relative;display:block;flex:none;width:416px;height:312px;border-radius:var(--radius-m);overflow:hidden;background:var(--bg-light)}
.hero_img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hero_item::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,37,71,.45),rgba(14,37,71,0) 45%);opacity:0;transition:opacity .25s ease}
/* Beim Überfahren: Leistungen des Projekts als kleine Pills */
.hero_tags{position:absolute;left:12px;right:12px;bottom:12px;z-index:1;display:flex;flex-wrap:wrap;gap:6px;opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease}
/* gleiche Pill-Gestaltung wie die Leistungs-Tags der Referenzkarten, auf dem Foto in Weiß */
.hero_pill{font-size:12px;line-height:1;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--text-muted);white-space:nowrap}
.hero_item:hover::after,.hero_item:focus-visible::after,.hero_item:hover .hero_tags,.hero_item:focus-visible .hero_tags{opacity:1;transform:none}
.hero_item:hover .hero_img{transform:scale(1.03)}
@keyframes marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-1 * var(--marquee-distance,50%)),0,0)}}
@media (prefers-reduced-motion:reduce){.hero_track{animation:none}}

/* ---------- Leistungen / layout237 ---------- */
.services_head{margin-bottom:80px}
.services_grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 64px}
.service_card{background:var(--bg-light);border-radius:var(--radius-m);padding:32px;text-align:center}
.service_icon{width:64px;height:64px;margin:0 auto 16px;color:var(--orange-logo)}
.service_icon svg{width:100%;height:100%}
.service_card h3{margin-bottom:16px}

/* ---------- Lösungen / layout254 + Tabs ---------- */
.solutions{background:var(--bg-light)}
.solutions_head{margin-bottom:80px}
.tabs_menu{display:flex;justify-content:space-between;gap:32px;width:640px;max-width:100%;margin:0 auto 80px;padding:16px 24px;background:var(--white);border-radius:var(--radius-m);box-shadow:inset 0 2px 5px rgba(0,0,0,.2)}
.tab_link{flex:1;border:0;background:transparent;color:var(--text);font-family:var(--font);font-size:16px;font-weight:600;line-height:1.2;padding:16px 24px;border-radius:var(--radius-s);cursor:pointer;transition:background .2s,color .2s}
.tab_link.is-active{background:var(--orange);color:var(--white)}
.tab_pane{display:none}
.tab_pane.is-active{display:grid;animation:fade .3s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.benefits_grid{grid-template-columns:1fr 1.5fr 1fr;gap:48px 64px;align-items:center}
.benefits_col{display:grid;gap:32px}
.benefit{text-align:left}
.benefit_icon{width:48px;height:48px;margin:0 0 8px;color:var(--orange-logo)}
.benefit_icon svg{width:100%;height:100%}
.benefit h3{margin-bottom:8px}
.benefits_img{width:100%;height:478px;object-fit:contain}
.solutions .button-group{margin-top:48px}

/* ---------- CTA / cta53 ---------- */
.cta .section-pad{padding-bottom:128px}  /* weißer Abstand vor dem nächsten (grauen) Abschnitt */
.cta_card{position:relative;overflow:hidden;border-radius:var(--radius-m);padding:64px;color:var(--offwhite);text-align:center}
.cta_card > *:not(.cta_bg){position:relative;z-index:1}
.cta_bg{position:absolute;inset:0;z-index:0;background:var(--navy) url("../images/moderner-heizraum-eines-mehrfamilienhauses.webp") center/cover no-repeat}
.cta_bg::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5)}
.cta_card .h2{color:var(--offwhite)}
.cta_card .lead{color:var(--offwhite)}

/* ---------- Kontakt / contact2 ---------- */
.contact_head{margin-bottom:48px}
.form{display:grid;gap:24px}
.form_row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.form_field{display:flex;flex-direction:column;gap:8px}
.form_label{font-weight:500}
.form_input{font-family:var(--font);font-size:14px;line-height:20px;color:var(--text);background:var(--white);border:1px solid var(--border);border-radius:var(--radius-s);padding:8px 16px;min-height:48px;width:100%}
.form_input:focus{outline:none;border-color:var(--orange)}
textarea.form_input{min-height:128px;padding:12px 16px 8px;resize:vertical}
select.form_input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.choice_grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;padding:8px 0}
.choice{display:flex;align-items:center;gap:8px;cursor:pointer}
/* Checkbox: nicht ausgewählt nur Rahmen, ausgewählt orange gefüllt mit weißem Haken */
.choice input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;width:20px;height:20px;margin:0;border:1.5px solid var(--border);border-radius:6px;background:transparent;cursor:pointer;display:grid;place-content:center;transition:border-color .15s,background-color .15s}
.choice input[type=checkbox]::before{content:"";width:11px;height:11px;background:var(--white);clip-path:polygon(14% 52%,0 66%,40% 100%,100% 22%,86% 8%,40% 72%);transform:scale(0);transition:transform .15s ease}
.choice input[type=checkbox]:hover{border-color:var(--orange)}
.choice input[type=checkbox]:checked{background:var(--orange);border-color:var(--orange)}
.choice input[type=checkbox]:checked::before{transform:scale(1)}
.choice input[type=radio]{accent-color:var(--orange);width:14px;height:14px;margin:0}
.consent{font-size:14px;display:flex;gap:8px;align-items:center}
.consent a{text-decoration:underline}
.form .button{justify-self:start}

/* ---------- Footer ---------- */
.footer{background:var(--navy);color:rgba(255,255,255,.72);font-size:15px;line-height:1.6}
.footer a{transition:color .2s}
.footer_grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.2fr);gap:48px;padding:88px 0 64px}
.footer_logo{display:block;width:240px;max-width:100%;height:auto;aspect-ratio:720/166;object-fit:contain}
.footer_claim{max-width:340px;margin:20px 0 28px}
.footer_cta.button{padding:12px 20px}
.footer_head{font-size:13px;font-weight:700;line-height:20px;letter-spacing:.12em;text-transform:uppercase;color:var(--white);margin:6px 0 6px}
.footer_col{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer_col a:hover,.footer_legal a:hover{color:var(--white)}
.footer_contact-item{display:flex;gap:12px;align-items:flex-start}
.footer_contact-item svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--orange)}
.footer_bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 32px;padding:28px 0 40px;border-top:1px solid rgba(255,255,255,.12);font-size:14px;color:rgba(255,255,255,.55)}
.footer_legal{display:flex;flex-wrap:wrap;gap:8px 28px}
.footer_top-link{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.72)}

/* ================================================================
   Unterseiten-Komponenten
   ================================================================ */

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-intro{padding:192px 0 128px;text-align:center}
.page-intro .lead{max-width:768px;margin:0 auto}
.page-intro.is-compact{padding-bottom:48px;text-align:left;max-width:880px;margin:0 auto}
.page-intro.is-compact .h2{margin-bottom:0}
.page-header{background:var(--bg-light);padding:128px 0 64px;text-align:center}
.page-header .h1 span{color:var(--orange)}
.page-header .lead{max-width:768px;margin:0 auto}
.h3{font-size:32px;font-weight:700;line-height:1.2}

/* ---------- Leistungskarten Bild/Text (layout408) ---------- */
.feature-rows{display:grid;gap:160px;padding-bottom:128px}
/* Bild + Text als Karte: feine Linie, Ecken außen; die Karte schneidet das Bild zu (overflow:hidden).
   Weißer Grund bleibt nötig, damit beim Stapeln die darunterliegende Karte verdeckt wird. */
.feature-row{display:grid;grid-template-columns:615fr 665fr;min-height:640px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-m);overflow:hidden}
/* Scroll-Effekt wie im Original: Karten bleiben unter dem Menü stehen, die nächste schiebt sich darüber */
@media (min-width:992px){
  .feature-row{position:sticky;top:10vh;height:640px;min-height:0}
  .feature-row_content{overflow:auto}
}
.feature-row.is-reversed{grid-template-columns:665fr 615fr}
.feature-row.is-reversed .feature-row_media{order:2}
.feature-row_media{overflow:hidden}
.feature-row_media img{width:100%;height:100%;object-fit:cover}
.feature-row_content{padding:48px 56px;display:flex;flex-direction:column;justify-content:center}
.feature-row_content .eyebrow{text-align:left;margin-bottom:8px}
.feature-row_content .h3{margin-bottom:24px}
.feature-row_content .button-group{justify-content:flex-start;margin-top:32px}

/* ---------- Feature-Karten (layout237) – Variante mit 48px-Icon ---------- */
.service_card.is-compact .service_icon{width:48px;height:48px}
.services_cta{margin-top:64px}

/* ---------- Über uns (layout197) ---------- */
.about{display:grid;grid-template-columns:1fr 1fr;gap:64px 80px;align-items:center}
.about_img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius-m)}
.about .eyebrow{text-align:left}
.about .h3{margin-bottom:24px}
.about_list{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:8px 0;margin-top:32px}
.about_list h4{font-size:22px;font-weight:700;line-height:1.35;margin:0 0 8px}
.hiring{position:relative;max-width:512px;margin:96px auto 0;text-align:center}
.hiring h4{font-size:32px;font-weight:700;line-height:1.4;margin:0 0 16px}
.hiring .button-group{margin-top:24px}
.hiring_note{position:absolute;left:calc(100% + 16px);bottom:-8px;display:flex;align-items:center;gap:16px;color:var(--blue);white-space:nowrap}
.hiring_note svg{height:32px;width:auto;transform:scaleX(-1) rotate(10deg)}
.hiring_note span{font-family:var(--font-script);font-size:32px;font-weight:500;line-height:1.5}

/* ---------- Referenzen (portfolio15) ---------- */
.portfolio{display:grid;grid-template-columns:.5fr 1fr;gap:64px 48px;align-items:start}
.portfolio_menu{position:sticky;top:112px;display:grid;gap:16px}
.portfolio_tab{display:flex;align-items:center;text-align:left;border:0;border-left:2px solid transparent;background:none;font-family:var(--font);font-size:24px;font-weight:500;line-height:1.4;padding:16px 0 16px 32px;cursor:pointer;color:var(--text);opacity:.5;transition:opacity .2s,border-color .2s}
.portfolio_tab:hover{opacity:.8}
.portfolio_tab.is-active{opacity:1;border-left-color:var(--orange)}
.portfolio_pane{display:none}
.portfolio_pane.is-active{display:grid;gap:48px;animation:fade .3s ease}
.project{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.project_media{display:block;border-radius:var(--radius-m);overflow:hidden;cursor:zoom-in}
.project_media img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .4s}
.project_media:hover img{transform:scale(1.03)}
.project_body{display:flex;flex-direction:column;gap:16px;padding-top:16px}
.project_title{font-size:24px;font-weight:700;line-height:1.4}
.project_list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.project_list li{display:flex;align-items:center;gap:8px}
.project_list svg{width:24px;height:24px;color:var(--orange);flex:none}

/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;padding:40px}
.lightbox.is-open{display:flex}
.lightbox img{max-width:100%;max-height:100%;border-radius:var(--radius-m)}
.lightbox button{position:absolute;top:16px;right:16px;width:48px;height:48px;border:0;background:none;color:var(--white);font-size:32px;cursor:pointer}

/* ---------- Kontakt (contact16) ---------- */
.contact-info{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start;margin-bottom:80px}
.contact-info .eyebrow{text-align:left}
.contact-list{display:grid;gap:40px}
.contact-item{display:flex;gap:16px}
.contact-item svg{width:24px;height:24px;color:var(--orange);flex:none;margin-top:2px}
.contact-item h3{font-size:18px;font-weight:700;line-height:1.35;margin:0 0 4px}
.contact-item a{text-decoration:underline}
.map{position:relative;display:block;aspect-ratio:16/7;max-width:100%;border-radius:var(--radius-m);overflow:hidden;background:var(--bg-light);box-shadow:0 1px 2px rgba(19,33,58,.08)}
.map img{width:100%;height:100%;object-fit:cover;transform-origin:50% 50%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.map:hover img,.map:focus-visible img{transform:scale(1.12)}
.map_cta{position:absolute;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:var(--white);color:var(--orange);font-weight:600;font-size:15px;box-shadow:0 4px 16px rgba(19,33,58,.15);transition:background .2s,color .2s}
.map:hover .map_cta{background:var(--orange);color:var(--white)}
@media (prefers-reduced-motion:reduce){.map img{transition:none}.map:hover img{transform:none}}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map_consent{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px;color:var(--text-muted)}

/* ---------- Rechtstexte ---------- */
.legal{max-width:880px;margin:0 auto;padding:0 0 128px}
.legal h2{font-size:32px;font-weight:700;line-height:1.2;margin:0 0 32px}
.legal h3{font-size:22px;font-weight:700;line-height:1.3;margin:48px 0 16px}
.legal p{color:var(--text-muted);margin:0 0 24px;overflow-wrap:anywhere}
.legal strong{color:var(--text)}
.legal a{color:var(--orange);text-decoration:underline}

/* ---------- 404 ---------- */
.utility{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:120px 20px}
.utility .h2{margin-bottom:16px}

/* ---------- Cookie-Banner (Karte unten links, im Stil des Leistungen-Menüs) ---------- */
.cookie-banner{position:fixed;left:24px;bottom:24px;z-index:150;width:400px;max-width:calc(100vw - 48px);background:var(--white);border:1px solid var(--border);border-radius:var(--radius-m);box-shadow:0 24px 48px -12px rgba(19,33,58,.22);padding:24px;font-size:14px;line-height:1.55;color:var(--text-muted);display:none}
.cookie-banner.is-visible{display:block;animation:cookieIn .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes cookieIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.cookie-banner_head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.cookie-banner_icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--orange-soft);color:var(--orange);flex:none}
.cookie-banner_title{font-size:18px;font-weight:700;line-height:1.35;color:var(--text);margin:0}
.cookie-banner_text a{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.cookie-banner_actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.cookie-banner_actions .button{width:100%}
.cookie-banner_more{display:inline-flex;align-items:center;gap:4px;margin-top:14px;font-weight:600;color:var(--orange)}
.cookie-banner_more:hover{color:var(--orange-red)}
.cookie-banner_more svg{transition:transform .2s}
.cookie-banner_more:hover svg{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){.cookie-banner.is-visible{animation:none}}

@media (max-width:991px){
  .feature-rows{gap:80px}
  .feature-row,.feature-row.is-reversed{grid-template-columns:1fr}
  .feature-row.is-reversed .feature-row_media{order:0}
  .feature-row_media{height:400px}
  .feature-row_content{padding:32px}
  .about{grid-template-columns:1fr}
  .hiring_note{position:static;justify-content:center;margin-top:24px}
  .portfolio{grid-template-columns:1fr}
  .portfolio_menu{position:static;display:flex;overflow-x:auto;gap:8px}
  .portfolio_tab{border-left:0;border-bottom:2px solid transparent;padding:12px 16px;font-size:18px;white-space:nowrap}
  .portfolio_tab.is-active{border-bottom-color:var(--orange)}
  .contact-info{grid-template-columns:1fr;gap:48px}
  .page-intro{padding:144px 0 80px}
}
@media (max-width:767px){
  .h3{font-size:24px}
  .feature-row_media{height:280px}
  .about_list,.project{grid-template-columns:1fr}
  .map{aspect-ratio:4/3}
  .cookie-banner{left:12px;right:12px;bottom:12px;width:auto;max-width:none;padding:20px}
  .legal{padding:0 0 96px}
}

/* ================================================================
   Relaunch-Entwurf: Startseite (Leistungen, Bereiche, Referenzen, Kontakt)
   ================================================================ */
.hero_lead{max-width:760px;margin:0 auto}
.section-head{max-width:760px;margin:0 0 56px}
.section-head .lead{max-width:680px}
.section-head.is-split{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.section-head.is-split .h2{margin-bottom:0}

/* Leistungen */
.svc_grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.svc{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:var(--radius-m);background:var(--bg-light);border-top:4px solid var(--orange-logo)}
.svc.is-blue{border-top-color:var(--blue)}
.svc_icon{width:52px;height:52px;color:var(--orange-logo);margin-bottom:4px}
.svc.is-blue .svc_icon{color:var(--blue)}
.svc_icon svg{width:100%;height:100%}
.svc .muted{flex:1}
.svc_link{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--orange)}
.svc.is-blue .svc_link{color:var(--blue-dark)}
.svc_link:hover{text-decoration:underline}

/* Bereiche */
.sectors-section{background:var(--bg-light)}
.sector_grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sector{display:flex;flex-direction:column;background:var(--white);border-radius:var(--radius-m);overflow:hidden;box-shadow:0 1px 2px rgba(19,33,58,.06);transition:box-shadow .2s,transform .2s}
.sector:hover{box-shadow:0 12px 32px rgba(19,33,58,.12);transform:translateY(-2px)}
.sector img{width:100%;aspect-ratio:4/3;object-fit:cover}
.sector_body{display:flex;flex-direction:column;gap:10px;padding:24px 24px 28px;flex:1}
.sector_body p{color:var(--text-muted);flex:1}
.sector_more{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--orange)}
.sector.is-blue .sector_more{color:var(--blue-dark)}
@media (prefers-reduced-motion:reduce){.sector,.sector:hover{transition:none;transform:none}}

/* Referenzen */
.ref_grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ref{display:flex;flex-direction:column;gap:16px}
.ref img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-m)}
.ref_body{display:flex;flex-direction:column;gap:6px}
.ref_body .muted{font-size:15px}
.ref .eyebrow{margin-bottom:0;font-size:11px;line-height:16px;letter-spacing:.1em}
.ref_title{font-size:18px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref_facts{font-size:14px;font-weight:500;color:var(--blue-mid);font-variant-numeric:tabular-nums}
.ref_tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0;padding:0;list-style:none}
.ref_tags li{font-size:13px;line-height:1;padding:6px 10px;border-radius:999px;background:var(--bg-light);color:var(--text-muted)}

/* Kontakt (kurz, zweispaltig) */
.contact-section{background:var(--bg-light)}
.contact-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.contact-facts{display:grid;gap:16px;margin:32px 0 0}
.contact-facts div{display:grid;gap:2px}
.contact-facts dt{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}
.contact-facts dd{margin:0;font-size:18px;font-weight:600}
.contact-facts a{color:var(--orange)}
.contact-facts a:hover{text-decoration:underline}
.contact-form{background:var(--white);padding:32px;border-radius:var(--radius-m);box-shadow:0 1px 2px rgba(19,33,58,.06)}
.form_optional{font-weight:400;color:var(--text-muted)}
.consent{font-size:14px;align-items:flex-start;line-height:1.5}
.consent input{margin-top:1px}
.consent{gap:10px}

@media (max-width:1100px){
  .ref_grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .svc_grid{grid-template-columns:1fr;max-width:640px}
}
@media (max-width:991px){
  .sector_grid{grid-template-columns:1fr}
  .sector{flex-direction:row}
  .sector img{width:40%;aspect-ratio:auto}
  .contact-split{grid-template-columns:1fr;gap:40px}
}
@media (max-width:767px){
  .section-head{margin-bottom:40px}
  .svc_grid,.ref_grid{grid-template-columns:1fr}
  .sector{flex-direction:column}
  .sector img{width:100%;aspect-ratio:16/10}
  .contact-form{padding:20px}
}
.map_attrib{position:absolute;right:8px;bottom:6px;padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.85);color:var(--text-muted);font-size:11px;line-height:1.4}

/* Cookie-Einstellungen */
.consent-settings{display:grid;gap:20px;margin-top:8px}
.consent-settings h2{margin:0}
.consent-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:20px 24px;border:1px solid var(--border);border-radius:var(--radius-m);background:var(--white)}
.consent-row h3{font-size:18px;font-weight:700;line-height:1.35;margin:0 0 6px}
.consent-row p{margin:0;font-size:15px}
.consent-badge{flex:none;font-size:13px;font-weight:600;color:var(--blue-dark);background:var(--blue-soft);padding:6px 10px;border-radius:999px}
.switch{position:relative;flex:none;width:52px;height:30px;cursor:pointer}
.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.switch span[aria-hidden]{position:absolute;inset:0;border-radius:999px;background:var(--border);transition:background .2s}
.switch span[aria-hidden]::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:var(--white);box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.switch input:checked + span{background:var(--orange)}
.switch input:checked + span::after{transform:translateX(22px)}
.switch input:focus-visible + span{outline:3px solid var(--blue);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.consent-status{min-height:1.5em;color:var(--text-muted);font-size:14px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form_note.is-success{background:#e8f6ec;color:#1d6b35}
.form_note.is-error{background:#fdecea;color:#a12a1f}

/* ---------- Referenzen: Filter + Raster ---------- */
.rhead{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:192px 0 56px}
.rhead .h2{margin-bottom:0}
.rfilters{display:flex;flex-wrap:wrap;gap:8px}
.rfilter{font-family:var(--font);font-size:14px;line-height:1;padding:9px 14px;border-radius:999px;border:1px solid var(--border);background:var(--white);color:var(--text);cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.rfilter span{opacity:.55;font-variant-numeric:tabular-nums}
.rfilter:hover{border-color:var(--text)}
.rfilter.is-active{background:var(--navy);border-color:var(--navy);color:var(--white)}
.rfilter.is-active span{opacity:.7}
.rgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px;padding-bottom:128px}
.rcard{display:flex;flex-direction:column;gap:20px;animation:fade .3s ease}
.rcard[hidden]{display:none}
.rcard_media{display:block;border-radius:var(--radius-m);overflow:hidden;cursor:zoom-in}
.rcard_media img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .4s}
@media (max-width:991px){.rhead{padding:144px 0 40px}}
.rcard_media:hover img{transform:scale(1.03)}
.rcard_body{display:flex;flex-direction:column;gap:10px}
.rcard_body .eyebrow{margin-bottom:0}
@media (max-width:991px){.rgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.rhead{flex-direction:column;align-items:flex-start;gap:20px}.rgrid{grid-template-columns:1fr;padding-bottom:80px}.rfilter{padding:8px 12px;font-size:14px}}

@media (max-width:767px){.feature-row_content{padding:24px 20px 28px}}

/* ---------- Unternehmen: Über-uns-Karte (gleicher Aufbau wie die Bild-Text-Karten der Bereichsseiten) ---------- */
.about-card{display:grid;grid-template-columns:615fr 665fr;margin-bottom:48px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-m);overflow:hidden}
.about-card_media img{width:100%;height:100%;min-height:420px;object-fit:cover}
.about-card_content{padding:56px;display:flex;flex-direction:column;justify-content:center}
.about-card_content .h3{margin-bottom:20px}
.about-points{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:20px}
.about-points li{padding-left:20px;border-left:3px solid var(--orange-logo)}
.about-points li:nth-child(2){border-left-color:var(--blue)}
.about-points .h5{margin:0 0 4px}
@media (max-width:991px){.about-card{grid-template-columns:1fr;margin-bottom:32px}.about-card_media img{min-height:0;height:360px}.about-card_content{padding:32px}}
@media (max-width:767px){.about-card_media img{height:260px}.about-card_content{padding:24px 20px 28px}}
.about-values{margin-bottom:128px}
@media (max-width:991px){.about-values{margin-bottom:80px}}

/* Tabelle in der Datenschutzerklärung */
.legal_table{overflow-x:auto;margin:8px 0 24px;border:1px solid var(--border);border-radius:var(--radius-m)}
.legal_table table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px;line-height:1.5}
.legal_table th,.legal_table td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border);color:var(--text-muted)}
.legal_table th{background:var(--bg-light);color:var(--text);font-weight:700}
.legal_table tr:last-child td{border-bottom:0}
.legal_table td:first-child{color:var(--text);font-weight:600}
.legal .button{color:var(--orange);text-decoration:none}
.legal .button:hover{color:var(--white)}
.legal_table td .muted{font-weight:400;font-size:13px}

/* ---------- Responsive (Basis) ---------- */
@media (min-width:1024px) and (max-width:1199px){.navbar_link{padding:24px 12px}.mega_media{width:92px}.mega_card{gap:12px}}
/* Navigation: Burger-Menü unter 1024px */
@media (max-width:1023px){
  .menu-button{display:flex}
  .navbar_menu{position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:var(--white);box-shadow:0 8px 12px rgba(0,0,0,.08);display:none;padding:8px 5% 16px}
  .navbar.is-open .navbar_menu{display:flex}
  .navbar_link{padding:12px 0;font-size:18px}
  .navbar_cta{display:none}
  .navbar_dd-toggle{width:100%;justify-content:space-between;padding:12px 0;font-size:18px;text-align:left}
  .mega{position:static;padding:0;opacity:1;visibility:visible;transform:none;display:none}
  .navbar_dd.is-open .mega{display:block}
  .navbar_dd.is-open .navbar_chevron{transform:rotate(180deg)}
  .mega_inner{grid-template-columns:1fr;gap:4px;padding:4px 0 8px;border:0;box-shadow:none;border-radius:0}
  .mega_card{flex-direction:row;align-items:center;gap:14px;padding:8px}
  .mega_media{flex:none;width:72px;aspect-ratio:4/3}
  .mega_title{font-size:16px}
  .mega_text{display:none}
  .navbar_menu{max-height:calc(100vh - 80px);overflow:auto}
}
@media (max-width:991px){
  .footer_grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer_brand{grid-column:1/-1}
  .h1{font-size:48px}
  .h2{font-size:36px}
  .section-pad{padding-top:112px}
  .services_grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .benefits_grid{grid-template-columns:1fr 1fr}
  .benefits_img{grid-column:1/-1;order:-1;height:360px}
}
@media (max-width:767px){
  .cta .section-pad{padding-bottom:80px}
  .navbar{height:80px}
  .navbar.is-scrolled{height:64px}
  .navbar_logo{height:44px}
  .navbar.is-scrolled .navbar_logo{height:38px}
  .padding-global{padding:0 20px}
  .h1{font-size:40px}
  .h2{font-size:32px}
  .lead{font-size:18px}
  .section-pad{padding-top:80px}
  .hero_item{width:260px;height:195px}
  .tabs_menu{gap:8px;padding:8px}
  .tab_link{padding:12px 8px}
  .benefits_grid{grid-template-columns:1fr}
  .cta_card{padding:32px 24px}
  .form_row,.choice_grid{grid-template-columns:1fr}
  .footer_grid{grid-template-columns:1fr 1fr;gap:40px 24px;padding:64px 0 48px}
  .footer_contact{grid-column:1/-1}
  .footer_bottom{flex-direction:column-reverse;align-items:flex-start}
}