/* ===== HWS optimierte Startseite ===== */
:root{--green:#006298;--green-dark:#00466f;--green-soft:#eaf4fa;--ink:#14212a;--muted:#62717b;--light:#f6f9fb;--line:#dbe7ee}
.home-new{background:#fff;color:var(--ink)}
.home-new main{display:block}
.home-new .section{padding:72px 7%}
.home-new .section-heading{max-width:830px;margin:0 auto 34px;text-align:center}
.home-new .section-heading h2{margin:6px 0 10px;font-size:clamp(30px,3.4vw,46px);line-height:1.1}
.home-new .section-heading>p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.6}
.home-new .eyebrow{margin:0;color:var(--green);font-size:12px;line-height:1.2;font-weight:900;letter-spacing:.08em}
.home-new .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.home-new .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:10px;text-decoration:none;font-weight:850;font-size:14px}
.home-new .btn-primary{background:var(--green);color:#fff}
.home-new .btn-light{background:#fff;color:var(--green);border:1px solid #bcd6e5}

/* Hero */
.home-hero{padding:0;background:linear-gradient(135deg,#f6fafc,#edf6fb);border-bottom:1px solid var(--line)}
.home-hero-layout{max-width:1600px;min-height:500px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.96fr) minmax(540px,1.04fr)}
.home-hero-copy{padding:76px 5.8vw 66px;align-self:center}
.home-hero h1{max-width:790px;margin:8px 0 18px;font-size:clamp(42px,4.9vw,68px);line-height:1.03;letter-spacing:-.045em}
.home-hero h1 span{color:var(--green)}
.home-hero-lead{max-width:720px;margin:0;color:var(--muted);font-size:18px;line-height:1.65}
.home-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.home-trust span{padding:8px 12px;border:1px solid #cfe1ec;border-radius:999px;background:#fff;font-size:12px;font-weight:800}
.home-hero-image{position:relative;min-height:500px;overflow:hidden}
.home-hero-image::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#edf6fb 0%,rgba(237,246,251,.22) 14%,rgba(237,246,251,0) 36%)}
.home-hero-image img{width:100%;height:100%;min-height:500px;display:block;object-fit:cover;object-position:58% center}

/* 4 service cards */
.home-service-grid{max-width:1380px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.home-service-card{overflow:hidden;border:1px solid #d7e5ed;border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 10px 30px rgba(0,70,111,.05);transition:transform .2s ease,box-shadow .2s ease}
.home-service-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(0,70,111,.09)}
.home-service-image{height:185px;overflow:hidden}
.home-service-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.home-service-content{position:relative;padding:22px}
.home-service-icon{width:46px;height:46px;display:grid;place-items:center;margin-top:-45px;margin-bottom:13px;border-radius:50%;background:var(--green);color:#fff;box-shadow:0 8px 20px rgba(0,98,152,.20)}
.home-service-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-service-content h3{margin:0 0 9px;font-size:20px}
.home-service-content p{min-height:86px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.home-service-content strong{display:block;margin-top:15px;color:var(--green);font-size:13px}
.home-services-more{text-align:center;margin-top:28px}

/* Why HWS */
.home-why{padding:66px 7%;background:#f2f8fb;border-top:1px solid #e3edf2;border-bottom:1px solid #e3edf2}
.home-why-inner{max-width:1240px;margin:0 auto}
.home-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.home-why-grid article{padding:12px 28px 4px;text-align:center;border-right:1px solid #d9e6ec}
.home-why-grid article:last-child{border-right:0}
.home-why-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 13px;color:var(--green)}
.home-why-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.home-why-grid strong{display:block;font-size:15px}
.home-why-grid p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55}

/* Compact about */
.home-about-box{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #d7e5ed;border-radius:20px;background:#fff}
.home-about-image{min-height:330px}
.home-about-image img{width:100%;height:100%;display:block;object-fit:cover}
.home-about-copy{padding:40px;align-self:center}
.home-about-copy h2{margin:7px 0 12px;font-size:clamp(30px,3.3vw,44px)}
.home-about-copy p:not(.eyebrow){margin:0 0 22px;color:var(--muted);font-size:14px;line-height:1.7}

/* CTA */
.home-cta{margin:0 7% 72px;padding:35px 40px;display:flex;justify-content:space-between;align-items:center;gap:30px;border-radius:18px;background:var(--green-dark);color:#fff}
.home-cta .eyebrow{color:#b9ddeb}
.home-cta h2{margin:5px 0 8px;font-size:clamp(29px,3vw,42px)}
.home-cta p:not(.eyebrow){margin:0;color:#d8e8ef}
.home-cta-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.home-cta .btn-primary{background:#fff;color:var(--green-dark)}
.home-cta-phone{color:#fff;font-weight:900;text-decoration:none;white-space:nowrap}

/* Footer */
.home-footer{padding:52px 7% 22px;background:#f6f9fb;border-top:1px solid var(--line);color:var(--ink)}
.home-footer-main{max-width:1380px;margin:0 auto;display:grid;grid-template-columns:1.35fr .75fr .9fr 1fr .8fr;gap:38px;align-items:start}
.home-footer-brand img{width:100%;max-width:310px;height:auto}
.home-footer-brand p{max-width:320px;margin:15px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.home-footer-column,.home-footer-route{display:grid;gap:9px}
.home-footer-column>strong,.home-footer-route>strong{margin-bottom:5px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink)}
.home-footer-column a,.home-footer-column span{color:var(--muted);font-size:12px;line-height:1.55;text-decoration:none}
.home-footer-column a:hover{color:var(--green)}
.home-mini-map{position:relative;height:92px;border:1px solid #d4e3ea;border-radius:11px;overflow:hidden;background:linear-gradient(135deg,#eef5f8,#dfecef)}
.home-mini-map::before,.home-mini-map::after{content:"";position:absolute;background:#fff;border-radius:999px;opacity:.88}
.home-mini-map::before{width:130%;height:7px;left:-15%;top:52%;transform:rotate(-13deg)}
.home-mini-map::after{width:110%;height:6px;left:-5%;top:28%;transform:rotate(16deg)}
.home-mini-map span{position:absolute;z-index:2;left:52%;top:50%;transform:translate(-50%,-50%);width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff}
.home-footer-route>a{display:flex;justify-content:center;padding:8px 10px;border:1px solid #9cc4d9;border-radius:9px;background:#fff;color:var(--green);font-size:11px;font-weight:900;text-decoration:none}
.home-footer-bottom{max-width:1380px;margin:36px auto 0;padding-top:18px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dce7ed;color:var(--muted);font-size:11px}
.home-footer-bottom div{display:flex;gap:18px}
.home-footer-bottom a{color:var(--muted);text-decoration:none}

@media(max-width:1180px){
  .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-service-image{height:230px}
  .home-service-content p{min-height:auto}
  .home-footer-main{grid-template-columns:1.3fr 1fr 1fr}
  .home-footer-route{grid-column:auto}
}
@media(max-width:900px){
  .home-hero-layout{grid-template-columns:1fr}
  .home-hero-copy{padding:60px 6% 48px}
  .home-hero-image{min-height:330px}
  .home-hero-image img{min-height:330px}
  .home-hero-image::before{background:linear-gradient(180deg,#edf6fb 0%,rgba(237,246,251,.10) 24%,rgba(237,246,251,0) 48%)}
  .home-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 0}
  .home-why-grid article:nth-child(2){border-right:0}
  .home-about-box{grid-template-columns:1fr}
  .home-cta{display:block}
  .home-cta-actions{margin-top:22px;justify-content:flex-start}
  .home-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .home-new .section{padding:54px 5%}
  .home-service-grid{grid-template-columns:1fr}
  .home-service-image{height:220px}
  .home-why{padding:54px 5%}
  .home-why-grid{grid-template-columns:1fr}
  .home-why-grid article{border-right:0;border-bottom:1px solid #d9e6ec;padding:20px 8px}
  .home-why-grid article:last-child{border-bottom:0}
  .home-about-copy{padding:26px}
  .home-cta{margin:0 5% 56px;padding:28px}
  .home-footer{padding:42px 5% 20px}
  .home-footer-main{grid-template-columns:1fr}
  .home-footer-bottom{display:block}
  .home-footer-bottom div{margin-top:10px}
}


/* ===== Letzter optischer Feinschliff Startseite ===== */

/* Ruhigere Gesamtwirkung und sauberere Abstände */
.home-new{
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
.home-new #start,
.home-new #anfahrt{
  scroll-margin-top:96px;
}
.home-new .section{
  padding-top:68px;
  padding-bottom:68px;
}
.home-new .section-heading{
  margin-bottom:30px;
}
.home-new .section-heading h2{
  letter-spacing:-.025em;
}

/* Header auf der Startseite etwas kompakter */
.home-new .site-header{
  min-height:84px;
  padding-left:3.5%;
  padding-right:3.5%;
  box-shadow:0 4px 18px rgba(20,33,42,.035);
}
.home-new .logo{
  flex-basis:380px;
  max-width:380px;
}
.home-new .brand-logo{
  max-width:380px;
}
.home-new .nav{
  gap:21px;
  font-size:13px;
}
.home-new .nav a{
  transition:color .18s ease,border-color .18s ease;
}
.home-new .header-phone{
  border-radius:10px;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.home-new .header-phone:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,98,152,.22);
}

/* Hero: etwas edler, weniger leer, besserer Fokus */
.home-hero-layout{
  min-height:510px;
}
.home-hero-copy{
  padding-top:70px;
  padding-bottom:62px;
}
.home-hero h1{
  margin-top:10px;
  margin-bottom:16px;
  max-width:760px;
  font-size:clamp(41px,4.65vw,64px);
  line-height:1.035;
}
.home-hero-lead{
  max-width:690px;
  font-size:17px;
}
.home-hero-image,
.home-hero-image img{
  min-height:510px;
}
.home-hero-image img{
  object-position:60% center;
}
.home-hero-image::before{
  background:linear-gradient(90deg,#edf6fb 0%,rgba(237,246,251,.18) 13%,rgba(237,246,251,0) 34%);
}

/* Buttons mit identischem Finish */
.home-new .btn{
  min-height:50px;
  border-radius:10px;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.home-new .btn:hover{
  transform:translateY(-1px);
}
.home-new .btn-primary:hover{
  box-shadow:0 10px 24px rgba(0,98,152,.20);
}
.home-new .btn-light:hover{
  border-color:#87bad3;
  background:#f7fbfd;
}
.home-new a:focus-visible{
  outline:3px solid rgba(0,98,152,.22);
  outline-offset:3px;
  border-radius:8px;
}

/* Hero-Badges etwas leichter */
.home-trust{
  margin-top:25px;
}
.home-trust span{
  padding:7px 11px;
  background:rgba(255,255,255,.78);
  box-shadow:0 3px 12px rgba(0,70,111,.035);
}

/* Leistungs-Karten: gleiche Höhe und sauberere CTA-Linie */
.home-service-grid{
  gap:20px;
}
.home-service-card{
  display:flex;
  flex-direction:column;
  height:100%;
  border-radius:19px;
}
.home-service-image{
  height:190px;
}
.home-service-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:22px 23px 24px;
}
.home-service-content h3{
  font-size:19px;
  letter-spacing:-.015em;
}
.home-service-content p{
  flex:1;
  min-height:0;
}
.home-service-content strong{
  margin-top:17px;
  transition:transform .18s ease;
}
.home-service-card:hover .home-service-content strong{
  transform:translateX(3px);
}
.home-service-icon{
  box-shadow:0 7px 18px rgba(0,98,152,.18);
}
.home-services-more{
  margin-top:26px;
}

/* "Warum HWS?" als eigener hochwertiger Block */
.home-why{
  padding:58px 7%;
  background:#fff;
  border:0;
}
.home-why-inner{
  max-width:1280px;
  padding:42px 34px 38px;
  border:1px solid #dbe8ef;
  border-radius:20px;
  background:linear-gradient(135deg,#f3f9fc 0%,#eef7fb 100%);
  box-shadow:0 12px 32px rgba(0,70,111,.045);
}
.home-why-grid article{
  padding-left:24px;
  padding-right:24px;
}
.home-why-icon{
  margin-bottom:10px;
}
.home-why-grid strong{
  font-size:14px;
}
.home-why-grid p{
  max-width:220px;
  margin-left:auto;
  margin-right:auto;
}

/* Über-HWS-Kasten */
.home-about{
  padding-top:46px!important;
}
.home-about-box{
  box-shadow:0 12px 34px rgba(0,70,111,.055);
}
.home-about-image{
  min-height:315px;
}
.home-about-image img{
  object-position:center 42%;
}
.home-about-copy{
  padding:38px 42px;
}
.home-about-copy h2{
  letter-spacing:-.025em;
}

/* CTA mittig auf dieselbe Inhaltsbreite wie die restliche Seite */
.home-cta{
  width:min(1380px,86%);
  box-sizing:border-box;
  margin:0 auto 68px;
  padding:33px 38px;
  box-shadow:0 14px 34px rgba(0,70,111,.12);
}
.home-cta-phone{
  transition:opacity .18s ease;
}
.home-cta-phone:hover{
  opacity:.82;
}

/* Footer etwas kompakter und ruhiger */
.home-footer{
  padding-top:46px;
}
.home-footer-main{
  gap:34px;
}
.home-footer-brand img{
  max-width:285px;
}
.home-footer-brand p{
  margin-top:12px;
}
.home-footer-bottom{
  margin-top:30px;
}
.home-footer-route>a{
  transition:background .18s ease,border-color .18s ease;
}
.home-footer-route>a:hover{
  background:#eef7fb;
  border-color:#76aecb;
}

@media(max-width:1250px){
  .home-new .logo{flex-basis:320px;max-width:320px}
  .home-new .brand-logo{max-width:320px}
  .home-new .nav{gap:15px;font-size:12px}
}

@media(max-width:900px){
  .home-new .site-header{
    min-height:78px;
  }
  .home-hero-layout{
    min-height:0;
  }
  .home-hero-image,
  .home-hero-image img{
    min-height:330px;
  }
  .home-why-inner{
    padding:34px 24px;
  }
  .home-about{
    padding-top:30px!important;
  }
  .home-cta{
    width:90%;
  }
}

@media(max-width:650px){
  .home-new .site-header{
    min-height:74px;
  }
  .home-new .logo{flex-basis:215px;max-width:215px}
  .home-new .brand-logo{max-width:215px}
  .home-hero-copy{
    padding-top:50px;
    padding-bottom:42px;
  }
  .home-hero h1{
    font-size:clamp(38px,11vw,48px);
  }
  .home-hero-lead{
    font-size:16px;
  }
  .home-trust span{
    font-size:11px;
  }
  .home-why{
    padding:46px 5%;
  }
  .home-why-inner{
    padding:24px 18px;
  }
  .home-service-image{
    height:215px;
  }
  .home-about-copy{
    padding:25px;
  }
  .home-cta{
    width:90%;
    margin-bottom:52px;
    padding:26px;
  }
}


/* ===== Finale Mini-Anpassungen Startseite ===== */

/* 1) Vertikale Abstände zwischen den Hauptbereichen etwas kompakter */
.home-services{
  padding-bottom:52px !important;
}
.home-why{
  margin-top:0 !important;
  padding-top:34px !important;
  padding-bottom:38px !important;
}
.home-about{
  padding-top:28px !important;
  padding-bottom:54px !important;
}

/* 2) Alle drei großen Inhaltsblöcke exakt auf dieselbe Breite bringen */
.home-why-inner,
.home-about-box,
.home-cta{
  width:min(1280px,86%) !important;
  max-width:1280px !important;
  box-sizing:border-box;
  margin-left:auto !important;
  margin-right:auto !important;
}
.home-why{
  padding-left:0 !important;
  padding-right:0 !important;
}
.home-about{
  padding-left:0 !important;
  padding-right:0 !important;
}
.home-cta{
  margin-top:0 !important;
}

/* 3) Footer etwas größer und besser lesbar */
.home-footer{
  padding-top:50px !important;
}
.home-footer-main{
  max-width:1280px !important;
}
.home-footer-brand img{
  max-width:315px !important;
}
.home-footer-brand p{
  font-size:13px !important;
  line-height:1.65 !important;
}
.home-footer-column>strong,
.home-footer-route>strong{
  font-size:13px !important;
}
.home-footer-column a,
.home-footer-column span{
  font-size:13px !important;
  line-height:1.6 !important;
}
.home-footer-route>a{
  font-size:12px !important;
  padding:9px 11px !important;
}
.home-footer-bottom{
  max-width:1280px !important;
  font-size:12px !important;
}

/* Tablet / Mobil weiterhin sauber halten */
@media(max-width:900px){
  .home-why-inner,
  .home-about-box,
  .home-cta{
    width:90% !important;
  }
}
@media(max-width:650px){
  .home-services{
    padding-bottom:44px !important;
  }
  .home-why{
    padding-top:26px !important;
    padding-bottom:30px !important;
  }
  .home-about{
    padding-top:22px !important;
    padding-bottom:46px !important;
  }
  .home-why-inner,
  .home-about-box,
  .home-cta{
    width:90% !important;
  }
  .home-footer-brand img{
    max-width:260px !important;
  }
}
