*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.6 system-ui,sans-serif;background:#081e30;color:#eef7fa}a{color:inherit;text-decoration:none}header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 4%;background:#092437;border-bottom:1px solid #326074;flex-wrap:wrap}.brand{font-size:13px;letter-spacing:1px}.brand strong{display:block;font-size:24px;line-height:1.1}.brand img{max-width:270px;max-height:85px}nav{display:flex;gap:20px;flex-wrap:wrap}nav a:hover,footer a:hover{color:#41e2e6}.emergency{border:1px solid #16d9df;padding:8px 18px;border-radius:12px;line-height:1.3}.hero{min-height:470px;display:flex;align-items:center;gap:3%;padding:45px 5%;background:linear-gradient(90deg,#09283c 0%,#09283cbb 55%,#09283c33),url('building.jpg') center/cover}.portrait:empty{display:none}.portrait{width:25%;flex-shrink:0}.portrait img{width:100%;border-radius:12px}.intro{max-width:760px}.eyebrow{color:#50e3e7;letter-spacing:3px;font-size:13px;font-weight:700}h1{font-size:clamp(32px,4vw,62px);line-height:1.12;margin:15px 0}h2{line-height:1.2}.button,button{display:inline-block;background:#08d4df;color:#062331;padding:12px 20px;border-radius:8px;font-weight:700;border:0;margin:5px 0;cursor:pointer}.outline{background:transparent;color:white;border:1px solid #a5c5d2}.tiles{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;padding:0 4% 28px}.tiles a{background:linear-gradient(150deg,#19485e,#0c2c41);border:1px solid #457489;border-radius:12px;text-align:center;padding:16px 8px;font-weight:650;line-height:1.35}.tiles span{display:block;color:#38e1e6;font-size:32px}.tiles a:hover{border-color:#38e1e6;transform:translateY(-3px)}.light{background:#eaf2f5;color:#092437;padding:30px 5%}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.cards a{background:#12364c;color:white;padding:25px;border-radius:12px}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 5%;font-size:14px}article{max-width:1000px;margin:auto;padding:60px 24px;min-height:55vh}article p{white-space:normal}input,textarea,select{display:block;width:100%;padding:10px;margin:8px 0 16px;border:1px solid #698594;border-radius:6px;font:inherit}label{display:block}form{max-width:800px}textarea{min-height:130px}@media(max-width:1100px){.tiles{grid-template-columns:repeat(4,1fr)}}@media(max-width:650px){.tiles{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.hero{flex-direction:column;align-items:start}.portrait{width:45%}nav{gap:12px}header{gap:14px}}
/* Paket 002 */
header{padding:12px 4%;gap:20px}.brand{display:flex;align-items:center;background:#f4f8fa;border-radius:8px;padding:10px 14px;flex-shrink:0}.brand img{width:235px;height:auto;max-height:none;display:block}.contact-head{display:flex;align-items:center;gap:16px}.phone{font-weight:700;white-space:nowrap}.emergency{font-size:14px}.hero{position:relative;isolation:isolate;min-height:400px;padding:36px 4%;overflow:hidden;background:linear-gradient(105deg,#0a2d42,#081e30)}.hero:has(.portrait img){gap:2%}.portrait{width:20%;position:relative;z-index:1}.portrait img{display:block;max-height:330px;object-fit:contain}.intro{position:relative;z-index:1;max-width:720px}.intro h1{font-size:clamp(32px,3.6vw,59px)}.intro>p:not(.eyebrow){max-width:580px}.hero-visual{position:absolute;right:0;top:0;bottom:0;width:48%;z-index:-1;opacity:.85;mask-image:linear-gradient(90deg,transparent,#000 35%)}.hero-visual img{width:100%;height:100%;object-fit:cover}.tiles{position:relative;padding-top:12px;gap:10px}.tiles a{min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .2s,border-color .2s}.service-icon svg{width:40px;height:40px;display:block;margin-bottom:8px}.light{padding:22px 4%}.light h2{margin:0 0 16px}.cards a{display:flex;flex-direction:column;gap:6px;padding:20px;background:linear-gradient(125deg,#17485f,#092437);border:1px solid #3b7084}.cards small{color:#5be2e7;font-size:10px;letter-spacing:1.3px}.cards strong{font-size:20px}.cards span{font-size:14px;color:#d5e8ef}.credentials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:22px 4%;background:#0b3045;border-bottom:1px solid #326074}.credentials div{border-left:3px solid #20d5df;padding-left:14px}.credentials strong,.credentials span{display:block}.credentials span{font-size:13px;color:#c2dbe4}a:focus-visible,button:focus-visible{outline:3px solid #55e5eb;outline-offset:4px}.button:hover{filter:brightness(1.1)}@media(max-width:1250px){header{justify-content:space-between}nav{order:3;width:100%;justify-content:center}.hero-visual{width:55%}}@media(max-width:700px){header{padding:12px;gap:12px}.brand img{width:175px}.contact-head{flex-direction:column;align-items:flex-end;gap:5px}.phone{font-size:12px}.emergency{font-size:12px;padding:6px}.hero{min-height:0;padding:28px 5%}.hero-visual{width:100%;opacity:.22;mask-image:none}.portrait{width:42%}.credentials{grid-template-columns:1fr}.tiles a{font-size:14px}.cards{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* 002a: Original-Logo ohne sichtbare Kachel; heller Kopfbereich für Originalfarben. */
header{background:linear-gradient(90deg,#f4f8fa 0%,#e5eef2 100%);color:#092437;border-bottom:2px solid #168b9e}.brand{background:transparent;border-radius:0;padding:4px 0}.emergency{background:#092437;color:#fff}header nav a:hover{color:#007580}header a:focus-visible{outline-color:#007580}
/* 002b: dunkler Kopf, kompakte Startseite ohne erzwungenes Abschneiden. */
header{background:linear-gradient(110deg,#081e30,#10384c);color:#eef7fa;border-bottom:1px solid #326074;padding:10px 3%;gap:16px}.brand{background:none;padding:0}.brand img{width:clamp(160px,15vw,265px)}.motto{border-left:1px solid #8baab9;padding-left:12px;font-size:13px;font-style:italic;line-height:1.25;color:#d9eef4}header nav a:hover{color:#41e2e6}header a:focus-visible{outline-color:#55e5eb}.emergency{background:#0c4356}.home .hero{min-height:0;padding:20px 4%;flex:1}.home .intro h1{font-size:clamp(30px,3.2vw,58px);margin:8px 0}.home .intro p{margin:8px 0}.home .button{padding:9px 15px}.home .tiles{padding:8px 3% 12px;gap:9px}.home .tiles a{min-height:88px;padding:8px 5px;font-size:clamp(12px,1vw,17px)}.home .service-icon svg{width:32px;height:32px;margin-bottom:4px}.home .light{display:grid;grid-template-columns:1fr 3fr;align-items:center;gap:16px;padding:12px 3%}.light-intro h2{margin:0;font-size:clamp(20px,2vw,32px)}.light-intro p{margin:4px 0;font-size:14px;line-height:1.35}.home .cards{gap:10px}.home .cards a{padding:12px;gap:3px}.home .cards strong{font-size:clamp(15px,1.25vw,22px)}.home .cards span{font-size:12px}.home .credentials{grid-template-columns:repeat(4,1fr);padding:12px 3%;gap:12px;font-size:14px;line-height:1.35}.home footer{padding:6px 3%;font-size:12px;gap:8px}.home footer>div:first-child,.home footer>div:nth-child(2){display:none}.home footer{justify-content:flex-end}
@media(min-width:1200px){.home{min-height:100svh;display:flex;flex-direction:column}.home main{flex:1;display:flex;flex-direction:column}.home .hero{min-height:290px}.home .hero-visual{width:50%}.home .portrait img{max-height:clamp(220px,39vh,420px)}header nav{gap:clamp(10px,1vw,20px);font-size:14px;order:0;width:auto}.contact-head{gap:10px}.home .tiles{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:1450px){.motto{display:none}}@media(max-width:1199px){.home .light{grid-template-columns:1fr}.home .credentials{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.home .credentials{grid-template-columns:1fr}.home .hero{padding:22px 5%}.home .cards{grid-template-columns:1fr}.home .tiles{grid-template-columns:repeat(2,1fr)}.brand img{width:165px}.home .light{padding:16px 5%}}
/* 002c: kompakte, bebilderte Startseite */
.home .hero-visual{opacity:1;width:49%;mask-image:linear-gradient(90deg,transparent,#000 22%)}
.home .hero-visual img{object-position:right center}
.home .cards a{position:relative;isolation:isolate;overflow:hidden;padding-left:43%;justify-content:center;min-height:85px}
.home .cards a:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 10%,#092437 45%),var(--tool-image) left center/auto 100% no-repeat}
.tool-model{--tool-image:url('images/tool-3d.webp')}.tool-calc{--tool-image:url('images/tool-rechner.webp')}.tool-wissen{--tool-image:url('images/tool-wissen.webp')}
.home .cards strong{line-height:1.2}.home .cards span{line-height:1.2}.home .tiles a{overflow-wrap:anywhere}.home .credentials div{min-width:0}
@media(min-width:1200px){body .site-header{padding:6px 3%;gap:12px;flex-wrap:nowrap}body .site-header .brand img{width:clamp(150px,14vw,235px);max-height:70px;object-fit:contain}body .site-header .motto{margin-right:auto}.home .hero{min-height:260px;padding:12px 4%;gap:2%}.home .intro{max-width:52%;}.home .intro h1{font-size:clamp(28px,min(3.1vw,5.7vh),54px)}.home .intro>p:not(.eyebrow){font-size:clamp(13px,1vw,17px);line-height:1.4}.home .eyebrow{font-size:12px;letter-spacing:2px}.home .tiles{padding:6px 3% 8px}.home .tiles a{min-height:72px;padding:6px 4px;font-size:clamp(12px,.9vw,16px)}.home .service-icon svg{width:28px;height:28px}.home .light{padding:8px 3%;grid-template-columns:1fr 3fr;gap:12px}.home .light-intro h2{font-size:clamp(20px,1.65vw,29px)}.home .light-intro p{font-size:12px}.home .cards a{padding-top:8px;padding-bottom:8px;gap:3px}.home .cards strong{font-size:clamp(13px,1.1vw,19px)}.home .credentials{padding:8px 3%;font-size:13px}.home .credentials span{font-size:12px}.home footer{padding:3px 3%;line-height:1.3}.home .hero:has(.portrait img) .intro{max-width:42%}.home .portrait img{max-height:32svh}.home .hero:has(.portrait img) .hero-visual{width:40%}}
@media(min-width:1200px) and (max-height:780px){.home .hero{min-height:240px}body .site-header .brand img{max-height:60px}.home .intro h1{font-size:clamp(27px,4.8vh,42px)}.home .cards a{min-height:76px}.home .tiles a{min-height:66px}.home .credentials{padding:6px 3%}}
@media(max-width:700px){.home .hero-visual{width:100%;opacity:.25;mask-image:none}.home .cards a{min-height:100px}.home .intro{max-width:100%}}
/* 002d: grafische Details ohne zusätzliche vertikale Fläche */
.head-icon{width:29px;height:29px;flex:none;color:#56e3e9}.emergency{display:flex;align-items:center;gap:8px}.phone{display:flex;align-items:center;gap:6px}.phone-icon{width:17px;height:17px;flex:none}.motto{position:relative;font-family:"Segoe Print","Bradley Hand",cursive;font-style:italic}.motto:after{content:"";display:block;height:2px;background:#19d9e2;transform:rotate(-7deg);margin-top:4px;width:85%}.credentials{background-image:url('images/waves.svg'),linear-gradient(110deg,#092437,#0b3045);background-size:100% 100%;background-repeat:no-repeat}.credentials div{border-left:0;padding-left:43px;background-repeat:no-repeat;background-position:left center;background-size:34px 34px}.cred-award{background-image:url('images/cred-award.svg?v=004')}.cred-shield{background-image:url('images/cred-shield.svg')}.cred-pin{background-image:url('images/cred-pin.svg')}.cred-drone{background-image:url('images/cred-drone.svg?v=004')}.home .portrait img{border-radius:0;mask-image:linear-gradient(90deg,#000 75%,transparent);object-fit:contain}.home .cards a:before{background:linear-gradient(90deg,transparent 12%,#092437 48%),var(--tool-image) left center/auto 100% no-repeat}@media(min-width:1200px){.home .hero:has(.portrait img) .portrait{width:23%}.home .hero:has(.portrait img) .intro{max-width:43%}.home .hero:has(.portrait img) .intro h1{font-size:clamp(27px,min(2.8vw,5.2vh),48px)}.home .hero:has(.portrait img) .hero-visual{width:40%}.home .credentials div{padding-left:40px;background-size:32px}body .site-header .head-icon{width:24px;height:24px}body .site-header .emergency{padding:6px 10px}}@media(max-width:700px){.home .hero:has(.portrait img) .portrait{width:55%}.home .portrait img{mask-image:none}.head-icon{width:20px;height:20px}}

/* 002f: Originalporträt als randloser Teil des Hauptmotivs. */
@media(min-width:1200px){
.home .hero:has(.portrait img){padding-left:27.4%;gap:0;}
.home .hero:has(.portrait img) .portrait{position:absolute;inset:0 auto 0 0;width:29%;height:100%;z-index:0;pointer-events:none;}
.home .hero .portrait img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 43%;border-radius:0;mask-image:linear-gradient(90deg,#000 0%,#000 70%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 70%,transparent 100%);}
.home .hero:has(.portrait img) .intro{max-width:59%;z-index:2;}
.home .hero:has(.portrait img) .hero-visual{width:44%;}
}
@media(max-width:1199px){.home .hero .portrait img{border-radius:0;mask-image:linear-gradient(90deg,#000 75%,transparent);}}
@media(max-width:700px){.home .hero .portrait img{mask-image:none;}}

/* 002g: zusammenhängende Bildkomposition, Originalfoto unverändert. */
@media(min-width:1200px){
.home .hero:has(.portrait img){background:radial-gradient(ellipse at 35% 0%,#275c7a 0%,#123b55 34%,#09283c 72%);padding-left:27%;}
.home .hero:has(.portrait img) .hero-visual{width:65%;opacity:1;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 24%,rgba(0,0,0,.65) 49%,#000 70%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 24%,rgba(0,0,0,.65) 49%,#000 70%);}
.home .hero-visual img{object-position:right center;object-fit:cover;}
.home .hero:has(.portrait img) .portrait{width:29%;z-index:0;}
.home .hero .portrait img{object-fit:contain;object-position:left bottom;mask-image:linear-gradient(90deg,#000 0%,#000 56%,rgba(0,0,0,.7) 73%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 56%,rgba(0,0,0,.7) 73%,transparent 100%);}
.home .hero .portrait:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(15,49,74,.43),transparent 35%,transparent 80%,rgba(9,40,60,.24));}
.home .hero:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(8,30,48,.78),transparent 13%),linear-gradient(90deg,transparent 22%,rgba(9,40,60,.15) 29%,rgba(9,40,60,.26) 47%,transparent 68%);}
.home .hero:has(.portrait img) .intro{max-width:52%;text-shadow:0 2px 12px #09283c;}
.home .hero .intro .button{text-shadow:none;}
.home .hero .intro>p:not(.eyebrow){max-width:510px;}
}
/* 002h – proportions and artwork of approved reference; no fixed-height clipping */
.home .tiles .tile-label{color:#fff;font-size:inherit;line-height:1.2;overflow-wrap:normal}.tile-note{font-size:.83em;font-weight:500;line-height:1.2}.accent{color:#32e2e7!important}.home .cards .tool-arrow{position:absolute;right:10px;bottom:6px;color:#64e4ed;font-size:28px}.home .cards strong .accent{font-size:inherit}.home .light-intro h2{border-left:3px solid #0bbac5;padding-left:12px}.home .light-intro p{padding-left:15px}.home .button{border-radius:30px}.home .button span{font-size:1.25em;line-height:1}.home .eyebrow{color:#fff;border-bottom:2px solid #1bd7e2;padding-bottom:8px;width:max-content;max-width:100%;letter-spacing:4px}body .site-header .nav-start{background:#08d4df;color:#062331;padding:6px 15px;border-radius:5px}body .site-header nav{align-items:center}body .site-header .emergency{border-radius:10px;transform:skew(-9deg)}body .site-header .emergency>*{transform:skew(9deg)}
@media(min-width:1200px){
body .site-header{display:grid;grid-template-columns:18% 9% 1fr auto;grid-template-rows:1fr 1fr;gap:0 1.2vw;padding:1vh 3.5%;min-height:11.5svh}body .site-header .brand{grid-row:1/3}body .site-header .brand img{width:100%;max-height:10svh}body .site-header .motto{display:block;grid-row:1/3;font-size:clamp(12px,1.05vw,19px);margin:0}body .site-header nav{grid-column:3;grid-row:2;justify-content:space-between;gap:.5vw;font-size:clamp(11px,.85vw,16px)}body .site-header .contact-head{display:contents}body .site-header .phone{grid-column:3;grid-row:1;justify-self:end;font-size:clamp(13px,1.1vw,20px)}body .site-header .emergency{grid-column:4;grid-row:1/3;font-weight:700;font-size:clamp(12px,1vw,18px);padding:9px 15px}body .site-header .head-icon{width:36px;height:36px}
.home .hero:has(.portrait img){padding:2vh 3% 3vh 27.4%;min-height:0;background:radial-gradient(ellipse at 38% 0%,#377ca4,#0b344d 62%,#092437);overflow:hidden}.home .hero:has(.portrait img) .portrait{width:28%;height:100%;overflow:hidden;mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)}.home .hero .portrait img{width:100%;height:100%;object-fit:cover;object-position:center 43%;mask-image:none;-webkit-mask-image:none}.home .hero .portrait:after{background:linear-gradient(180deg,rgba(18,65,101,.32),transparent 38%,transparent 80%,#09243780)}.home .hero:has(.portrait img) .hero-visual{width:48%;mask-image:linear-gradient(90deg,transparent,#000 24%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%)}.home .hero-visual img{object-fit:cover;object-position:right center}.home .hero:after{background:linear-gradient(0deg,#092437 0%,transparent 14%);z-index:1}.home .hero:has(.portrait img) .intro{max-width:53%;text-shadow:0 2px 8px #092437}.home .hero:has(.portrait img) .intro h1{font-size:clamp(27px,min(3vw,5.5svh),58px);line-height:1.05}.home .intro>p:not(.eyebrow){font-size:clamp(13px,min(1.2vw,2.1svh),21px);max-width:27em;line-height:1.18}.home .button{font-size:clamp(11px,.9vw,16px);padding:9px 18px;white-space:nowrap}.home .tiles{padding:0 4% 1.8vh;gap:1vw;background:linear-gradient(#092437,#0c3549)}.home .tiles a{min-height:clamp(78px,13svh,130px);padding:5px 4px;font-size:clamp(11px,.95vw,17px);border-radius:13px;justify-content:center}.home .service-icon svg{width:clamp(30px,4.7svh,48px);height:clamp(30px,4.7svh,48px);margin-bottom:4px}.home .light{grid-template-columns:23% 1fr;padding:1.6vh 3.5%;gap:1vw}.home .light-intro h2{font-size:clamp(20px,2vw,34px);line-height:1.05}.home .light-intro p{font-size:clamp(11px,.95vw,16px)}.home .cards{gap:1.2vw}.home .cards a{min-height:clamp(82px,12svh,124px);padding:8px 20px 8px 55%;border-radius:12px}.home .cards a:before{background:linear-gradient(90deg,transparent 25%,#092437 56%),var(--tool-image) left center/auto 100% no-repeat}.home .cards strong{font-size:clamp(11px,.95vw,17px);line-height:1.35}.home .credentials{padding:1.5vh 5%;gap:1.2vw;font-size:clamp(11px,.95vw,16px)}.home .credentials span{font-size:clamp(10px,.85vw,14px)}.home .credentials div{padding-left:clamp(35px,4vw,65px);background-size:clamp(30px,3vw,52px)}.home footer{padding:2px 3%;font-size:10px}
}
@media(max-width:1199px){.home .tiles .tile-label{font-size:inherit}.home .cards a{padding-right:25px}.home .eyebrow{letter-spacing:2px}}
/* 002i: durchgehendes Hauptmotiv, flexible Höhen mit reservierter Rechtsleiste */
.home footer{flex:none;min-height:25px;display:flex;justify-content:flex-end;align-items:center;padding:4px 3%;font-size:12px;line-height:1.3;background:#081e30}.home footer a{white-space:nowrap}.home .hero.hero-composition{background:#103b58 url('images/hero-komposition.webp') center center/cover no-repeat}.home .hero.hero-composition .portrait,.home .hero.hero-composition .hero-visual{display:none}.home .hero.hero-composition:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#09243788,transparent 17%);z-index:0}.home .hero.hero-composition .intro{position:relative;z-index:2;text-shadow:0 1px 5px #092437}.home .hero.hero-composition .button{text-shadow:none}
@media(min-width:1200px){.home{height:auto;min-height:100svh;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}.home main{min-height:0;display:grid;grid-template-rows:minmax(270px,1fr) auto auto}body .site-header{min-height:0;height:clamp(70px,11.5svh,115px)}.home .hero.hero-composition{min-height:270px;padding:1.2vh 2% 2vh 27.4%;display:flex;align-items:center;background-size:100% 100%}.home .hero.hero-composition .intro{width:43%;max-width:none}.home .hero.hero-composition .intro h1{font-size:clamp(26px,min(3.05vw,5.25svh),56px);margin:10px 0;line-height:1.06;white-space:nowrap}.home .hero.hero-composition .eyebrow{margin:0 0 8px;font-size:clamp(10px,.85vw,15px)}.home .hero.hero-composition .intro>p:not(.eyebrow){margin:8px 0;max-width:28em;font-size:clamp(12px,min(1.15vw,2svh),20px)}.home .hero.hero-composition .button{padding:8px 14px;font-size:clamp(11px,.85vw,15px)}.home .tiles{padding:0 4% 1.2vh;gap:.85vw;margin-top:-12px;position:relative;z-index:3;background:linear-gradient(transparent,#092437 20%,#0c3549)}.home .tiles a{min-height:clamp(75px,12.5svh,124px);padding:5px 3px;background:linear-gradient(150deg,#154b62e8,#092437f5)}.home .light{padding:1vh 3.5%}.home .cards a{min-height:clamp(70px,11svh,110px)}.home .credentials{padding:1vh 4%;min-height:58px}.home footer{min-height:25px}.home{height:100svh;min-height:650px}}
@media(max-width:1199px){.home .hero.hero-composition{padding:clamp(150px,28vw,320px) 5% 24px;background-size:100% auto;background-position:top center;background-color:#092437;display:block}.home .hero.hero-composition .intro{max-width:100%;background:#092437e8;padding:12px;border-radius:8px}.home .hero.hero-composition:after{display:none}}

/* 002j: Bild als echtes HTML-Element, Rechtslinks sichtbar */
.home .hero.hero-composition{background:#103b58!important;position:relative;isolation:isolate}
.home .hero.hero-composition .hero-backdrop{display:block!important;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 32%;z-index:0;opacity:1;visibility:visible;pointer-events:none}
.home .hero.hero-composition:before{display:none!important}
.home .hero.hero-composition .intro{z-index:2}
.home footer>div:first-child{display:block!important}
.home footer{min-height:25px;flex-shrink:0}
@media(min-width:1200px){.home{grid-template-rows:auto minmax(0,1fr) auto 25px}.home main{grid-template-rows:minmax(0,1fr) auto auto}.home .hero.hero-composition{min-height:0}.home .credentials{min-height:0}.home .tiles a{min-height:clamp(70px,11.5svh,115px)}.home .cards a{min-height:clamp(65px,10svh,105px)}}
@media(max-width:1199px){.home .hero.hero-composition .hero-backdrop{height:auto;object-fit:contain}.home .hero.hero-composition .intro{position:relative}}

/* 002k: Seitenverhältnis erhalten, Kopfbereich des Motivs bevorzugen. */
@media(min-width:1200px){.home .hero.hero-composition .hero-backdrop{object-fit:cover;object-position:50% 22%;}}

/* 007: service links above decorative layers */
.home #leistungen{position:relative;z-index:10;pointer-events:auto}.home #leistungen a.service-link{position:relative;z-index:1;pointer-events:auto;cursor:pointer;isolation:isolate}.home #leistungen a.service-link>*{pointer-events:none}.home #leistungen a.service-link:focus-visible{outline:3px solid #fff;outline-offset:2px}.home .hero:before,.home .hero:after,.home .hero-backdrop,.home .hero-visual{pointer-events:none}

/* 016: Gemeinsamer Kopf; ursprüngliche Schrägform, getrennte Klickflächen. */
.site-header .phone,.site-header .emergency{position:relative;min-width:0}
.site-header .phone>*,.site-header .emergency>*{pointer-events:none}
@media(min-width:1200px){body .site-header nav{width:auto;order:0;min-width:0}body .site-header .emergency{justify-self:center;align-self:center}body .site-header .phone{align-self:center}}

/* Paket 023: flexible Inhaltskacheln, Kopfbereich bleibt unverändert */
.home .tiles{grid-template-columns:repeat(8,minmax(0,1fr))}.home .tiles a,.home .cards a{min-width:0;height:auto;max-height:none;overflow:visible;box-sizing:border-box}.home .tiles .tile-label,.home .tiles .tile-note,.home .cards strong,.credentials strong,.credentials span{min-width:0;max-width:100%;white-space:normal;hyphens:auto;overflow-wrap:break-word;word-break:normal;line-height:1.35}.home .tiles a{padding:10px 6px}.home .cards a{padding-right:24px}.home .cards strong{display:block}.home .tiles .service-icon{flex-shrink:0}@media(max-width:1200px){.home .tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.home .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.home .cards{grid-template-columns:minmax(0,1fr)}}

/* Paket 024: lesbare flexible Inhaltskacheln */
.detail-grid > *, .overview-link, .service-link, .tile-label {min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal;hyphens:auto;}
.detail-grid > *, .overview-link {height:auto;max-height:none;overflow:visible;}

/* Paket 028: gemeinsame Qualifikationsleiste auf allen öffentlichen Seiten. */
body .credentials{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px 3%;font-size:14px;line-height:1.35}body .credentials>div{min-width:0;padding-left:40px;background-size:32px}body .credentials strong,body .credentials span{white-space:normal;hyphens:auto;overflow-wrap:break-word;word-break:normal}body .credentials span{font-size:13px}@media(min-width:1200px){body .credentials{padding:8px 3%;font-size:13px}body .credentials span{font-size:12px}}@media(max-width:1199px){body .credentials{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){body .credentials{grid-template-columns:minmax(0,1fr)}}

/* Paket 042: kompakte Leistungskacheln ohne Überlagerung des Hero-Bereichs. */
.home #leistungen.tiles{margin-top:0;padding:6px 3% 9px;align-items:stretch;gap:clamp(7px,.85vw,14px);background:linear-gradient(#092437,#0c3549)}
.home #leistungen a.service-link{height:auto;min-height:104px;padding:7px 5px;justify-content:center;gap:3px;transform:none;line-height:1.2}
.home #leistungen .service-icon{display:flex;align-items:center;justify-content:center;flex:0 0 34px;height:34px;margin:0;width:100%;max-width:100%}
.home #leistungen .service-icon svg{width:32px;height:32px;margin:0}
.home #leistungen .tile-label,.home #leistungen .tile-note{line-height:1.2;max-width:100%;hyphens:auto;overflow-wrap:break-word}
.home #leistungen .gepra-logo-box{background:#fff;border-radius:7px;padding:3px 5px;width:min(100%,132px);height:42px;flex:0 0 42px;box-sizing:border-box}
.home #leistungen .gepra-logo-box img{display:block;width:100%;height:100%;object-fit:contain}
@media(min-width:1200px){
 .home{height:auto;min-height:100svh;grid-template-rows:auto minmax(min-content,1fr) auto auto}
 .home main{grid-template-rows:minmax(min-content,1fr) auto auto}
 .home .hero.hero-composition{min-height:clamp(260px,34vh,470px);padding-top:16px;padding-bottom:16px;overflow:hidden}
 .home #leistungen.tiles{grid-template-columns:repeat(8,minmax(0,1fr))}
}
@media(max-width:1199px){.home #leistungen.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.home #leistungen.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Paket 045: kompakte Startseite, Footer vollständig im sichtbaren Bereich, sofern ausreichend Platz. */
@media(min-width:1200px){
 .home{display:flex;flex-direction:column;height:auto;min-height:100svh;}
 .home main{display:flex;flex-direction:column;flex:1 0 auto;min-height:0;}
 .home .hero.hero-composition{flex:1 0 auto;min-height:0;padding-top:clamp(8px,1.2vh,16px);padding-bottom:clamp(8px,1.2vh,16px);}
 .home .hero.hero-composition .intro h1{font-size:clamp(24px,min(2.6vw,4.6svh),50px);margin:6px 0;}
 .home .hero.hero-composition .eyebrow{margin:0 0 5px;padding-bottom:5px;}
 .home .hero.hero-composition .intro>p:not(.eyebrow){margin:5px 0;font-size:clamp(12px,min(1vw,1.8svh),17px);line-height:1.22;}
 .home .hero.hero-composition .button{padding:6px 12px;margin:3px 0;}
 .home #leistungen a.service-link{min-height:clamp(86px,11svh,105px);padding:5px 4px;gap:2px;}
 .home #leistungen .service-icon{height:28px;flex-basis:28px;}
 .home #leistungen .service-icon svg{width:28px;height:28px;}
 .home #leistungen .gepra-logo-box{height:36px;flex-basis:36px;}
 .home .light{padding:6px 3.5%;}
 .home .light-intro h2{font-size:clamp(20px,1.65vw,29px);}
 .home .cards a{min-height:clamp(70px,10svh,100px);padding:5px 20px 5px 48%;}
 .home .cards strong{font-size:clamp(12px,.85vw,16px);line-height:1.2;}
 body.home .credentials{padding:6px 3%;min-height:0;gap:10px;line-height:1.2;}
 .home footer{flex:0 0 auto;min-height:25px;padding:4px 3%;justify-content:center;line-height:1.35;}
 .home footer>div{display:block!important;text-align:center;}
}
