/*
Theme Name: Hoppenworth Modern
Theme URI: https://hof-hoppenworth.de/
Author: ThorstenM
Description: Modernes, responsives WordPress-Theme für Hoppenworth Garten- und Landschaftspflege.
Version: 12.0.0
Text Domain: hoppenworth-modern
*/
:root{--green:#0f4a2d;--green2:#1f6b3a;--green3:#2f7d48;--lime:#93d84d;--brown:#8a4f24;--ink:#142019;--muted:#647168;--cream:#f5f4ee;--line:#dfe5df;--white:#fff;--shadow:0 18px 50px rgba(16,45,28,.14);--radius:18px;--max:1260px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.55}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:900;color:var(--green3)}h1,h2,h3{letter-spacing:-.03em}h2{font-size:clamp(2.25rem,4vw,4rem);line-height:1.02;margin:.2em 0 .35em}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6em;padding:15px 22px;border-radius:6px;font-weight:850;border:1px solid transparent;transition:.2s ease;cursor:pointer}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--green3);color:#fff}.btn-primary:hover{background:#358b50}.btn-outline{border-color:rgba(255,255,255,.85);color:#fff;background:rgba(10,30,18,.15)}.btn-light{background:#fff;color:var(--ink)}
.topbar{background:#082f1e;color:#fff;font-size:.84rem}.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}.topbar-left{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.topbar a:hover{text-decoration:underline}
.site-header{position:sticky;top:0;z-index:40;background:var(--green);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 7px 24px rgba(9,35,21,.18)}.nav-wrap{min-height:112px;display:grid;grid-template-columns:290px 1fr auto auto;gap:28px;align-items:center}.brand{height:96px;display:flex;align-items:center;overflow:hidden}.brand img{width:245px;height:auto;max-height:92px;object-fit:contain;object-position:left center;filter:none}.main-nav{display:flex;align-items:center;justify-content:center;gap:28px;color:#fff;font-weight:750;font-size:.95rem}.main-nav a{position:relative;padding:10px 0}.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:2px;background:var(--lime);transition:.2s}.main-nav a:hover:after{right:0}.header-cta{white-space:nowrap;background:var(--green3)}.menu-toggle{display:none;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;font-size:1.4rem;border-radius:7px;padding:9px 12px}
.hero{min-height:590px;position:relative;overflow:hidden;background:#173620}.hero-bg{position:absolute;inset:0;background:center/cover no-repeat;transform:scale(1.002)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,15,.92) 0%,rgba(7,26,15,.72) 34%,rgba(7,26,15,.22) 67%,rgba(7,26,15,.05) 100%)}.hero-content{position:relative;z-index:2;min-height:590px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#fff;max-width:760px}.hero .eyebrow{color:#fff}.hero h1{font-size:clamp(3.6rem,6vw,6.5rem);line-height:.9;margin:20px 0 18px;max-width:850px}.hero h1 span{display:block;font-size:.42em;line-height:1.08;margin-top:24px;letter-spacing:-.02em}.hero p{font-size:1.22rem;max-width:650px;margin:0 0 28px;color:rgba(255,255,255,.92)}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.trust{border-bottom:1px solid var(--line);background:#fff}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-item{display:flex;align-items:center;justify-content:center;gap:18px;min-height:104px;border-right:1px solid var(--line)}.trust-item:last-child{border-right:0}.trust-item b{font-size:1.55rem;color:var(--green3);min-width:42px;text-align:center}.trust-item span{font-weight:800;line-height:1.25}
.section{padding:88px 0}.section-soft{background:var(--cream)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:32px}.section-note{max-width:470px;color:var(--muted);margin:0 0 8px}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.service-card{background:#fff;border:1px solid #e4e9e4;border-radius:14px;overflow:hidden;transition:.22s ease}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.service-image{height:190px;background:#dfe5df center/cover no-repeat}.service-body{padding:20px}.service-body h3{font-size:1.1rem;line-height:1.18;margin:0 0 8px}.service-body p{font-size:.93rem;color:var(--muted);margin:0 0 18px}.readmore{font-weight:850;color:var(--green2)}
.details-section{padding-top:82px}.details-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.detail-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px}.detail-card.wide{grid-column:1/-1}.detail-card h3{margin:0 0 12px;color:var(--green);font-size:1.3rem}.detail-card h3:not(:first-child){margin-top:24px}.detail-card ul{margin:0;padding-left:1.2em;columns:2;column-gap:32px}.detail-card li{break-inside:avoid;margin:.35em 0}.tag-list{display:flex;flex-wrap:wrap;gap:9px}.tag-list span{border:1px solid #d7dfd7;background:#f9fbf9;padding:8px 11px;border-radius:999px;font-weight:700;font-size:.92rem}
.machine{background:#0d2b1d;color:#fff;overflow:hidden}.machine-grid{display:grid;grid-template-columns:1fr 1.25fr;min-height:530px}.machine-copy{padding:72px max(42px,calc((100vw - var(--max))/2)) 72px max(20px,calc((100vw - var(--max))/2));display:flex;flex-direction:column;justify-content:center}.machine-copy .eyebrow{color:#b8e59c}.machine-copy h2{max-width:580px}.machine-copy p{color:rgba(255,255,255,.82);max-width:560px;font-size:1.05rem}.machine-photo{min-height:530px;background:center/cover no-repeat;position:relative}.machine-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0d2b1d 0%,rgba(13,43,29,.16) 28%,transparent 65%)}
.about-grid{display:grid;grid-template-columns:1.1fr .7fr 1fr;gap:36px;align-items:center}.about-copy p{color:var(--muted)}.years{border-left:1px solid var(--line);padding-left:36px}.years strong{display:block;color:var(--green3);font-size:5.4rem;line-height:.85;letter-spacing:-.06em}.years span{display:block;font-size:1.55rem;font-weight:900;margin-top:12px}.years p{color:var(--muted)}.about-photo{min-height:390px;background:center/cover no-repeat;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}
.showcase{padding:82px 0}.showcase-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:270px 270px;gap:14px}.showcase-grid figure{margin:0;position:relative;background:center/cover no-repeat;border-radius:14px;overflow:hidden}.showcase-grid .showcase-large{grid-row:1/3}.showcase-grid figure:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(9,24,14,.75) 100%)}.showcase-grid figcaption{position:absolute;z-index:2;left:18px;bottom:16px;color:#fff;font-weight:850}
.cta{background:linear-gradient(115deg,#184e2c,#2d6f40);color:#fff;padding:48px 0}.cta-grid{display:grid;grid-template-columns:1.35fr auto auto;align-items:center;gap:34px}.cta h2{margin:0 0 7px;font-size:2.4rem}.cta p{margin:0;color:rgba(255,255,255,.82)}.cta-contact{line-height:1.85;font-weight:750}
.site-footer{background:#082f1e;color:#fff;padding:34px 0}.footer-grid{display:grid;grid-template-columns:230px 1fr auto;gap:38px;align-items:center}.footer-brand img{width:190px;height:auto;max-height:100px;object-fit:contain;object-position:left center}.footer-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:.9rem}.footer-copy{font-size:.85rem;color:rgba(255,255,255,.72);text-align:right}.cookie-link{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;text-decoration:underline}
.cookie-backdrop{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.45)}.cookie-banner{position:fixed;z-index:81;left:50%;bottom:18px;transform:translateX(-50%);width:min(1160px,calc(100% - 28px));background:#111b16;color:#fff;border:1px solid rgba(255,255,255,.13);box-shadow:0 25px 70px rgba(0,0,0,.35);border-radius:14px;padding:24px;display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.cookie-banner[hidden],.cookie-backdrop[hidden]{display:none}.cookie-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:#b8e59c}.cookie-copy h2{font-size:1.45rem;margin:3px 0 7px}.cookie-copy p{color:rgba(255,255,255,.76);font-size:.92rem;margin:0 0 6px}.cookie-copy a{text-decoration:underline}.cookie-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cookie-options[hidden]{display:none}.cookie-options label{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);padding:13px;border-radius:9px;display:flex;justify-content:space-between;gap:16px}.cookie-options small{display:block;color:rgba(255,255,255,.62)}.cookie-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}.btn-cookie-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);padding:11px 14px}
.page-hero{padding:100px 0;background:var(--cream)}.page-hero h1{font-size:clamp(2.8rem,5vw,5rem);margin:0}.content{padding:70px 0}.content>*{max-width:820px}
@media(max-width:1050px){.nav-wrap{grid-template-columns:250px 1fr auto}.brand img{width:220px}.main-nav,.header-cta{display:none}.menu-toggle{display:block;justify-self:end}.main-nav.open{display:flex;position:absolute;left:0;right:0;top:112px;background:var(--green);flex-direction:column;align-items:flex-start;padding:24px 28px;border-top:1px solid rgba(255,255,255,.15);box-shadow:var(--shadow)}.services{grid-template-columns:repeat(2,1fr)}.about-grid{grid-template-columns:1fr 1fr}.about-photo{grid-column:1/-1;clip-path:none}.footer-grid{grid-template-columns:200px 1fr}.footer-copy{grid-column:1/-1;text-align:left}.cookie-banner{grid-template-columns:1fr}.cookie-actions{justify-content:flex-start}}
@media(max-width:760px){.container{width:min(100% - 28px,var(--max))}.topbar-inner{min-height:34px}.topbar-left{gap:12px;font-size:.75rem}.topbar-left span{display:none}.topbar-right{display:none}.nav-wrap{min-height:86px;grid-template-columns:1fr auto}.brand{height:74px}.brand img{width:180px;max-height:72px}.main-nav.open{top:86px}.hero,.hero-content{min-height:590px}.hero-bg{background-position:65% center}.hero-shade{background:linear-gradient(90deg,rgba(7,26,15,.94) 0%,rgba(7,26,15,.78) 70%,rgba(7,26,15,.45) 100%)}.hero h1{font-size:clamp(3rem,15vw,4.6rem)}.hero h1 span{font-size:.38em}.hero p{font-size:1.02rem}.trust-grid{grid-template-columns:1fr 1fr}.trust-item{min-height:92px;padding:12px;border-bottom:1px solid var(--line)}.trust-item:nth-child(2){border-right:0}.section{padding:64px 0}.section-head{display:block}.section-note{margin-top:14px}.services{grid-template-columns:1fr}.service-image{height:230px}.details-grid{grid-template-columns:1fr}.detail-card.wide{grid-column:auto}.detail-card ul{columns:1}.machine-grid{grid-template-columns:1fr}.machine-copy{padding:58px 24px}.machine-photo{min-height:360px}.about-grid{grid-template-columns:1fr}.years{border-left:0;border-top:1px solid var(--line);padding:28px 0 0}.showcase-grid{grid-template-columns:1fr;grid-template-rows:none}.showcase-grid figure,.showcase-grid .showcase-large{grid-row:auto;min-height:260px}.cta-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;text-align:left}.footer-links{justify-content:flex-start}.footer-copy{text-align:left}.cookie-options{grid-template-columns:1fr}.cookie-banner{bottom:8px;padding:18px}.cookie-actions .btn{flex:1 1 auto}}

/* v6 – Header exakt in der freigegebenen Designrichtung */
.site-header{position:relative;top:auto;background:linear-gradient(105deg,#063a27 0%,#075234 55%,#063c29 100%);border-bottom:0;box-shadow:none;overflow:visible}
.site-header:after{content:"";position:absolute;z-index:2;left:-2%;right:-2%;bottom:-28px;height:58px;background:#075033;border-radius:0 0 50% 50%/0 0 100% 100%;pointer-events:none}
.nav-wrap{position:relative;z-index:4;min-height:210px;display:grid;grid-template-columns:390px 1fr 210px;grid-template-areas:"brand nav cta" "brand slogan cta";column-gap:34px;row-gap:0;align-items:center}
.brand{grid-area:brand;height:185px;display:flex;align-items:center;overflow:visible}.brand img{display:block;width:360px;height:auto;max-height:175px;object-fit:contain;object-position:left center;image-rendering:auto;filter:none}
.main-nav{grid-area:nav;align-self:end;padding-bottom:15px;gap:30px;color:#fff;font-size:.9rem}.main-nav a{padding:9px 0}.main-nav a:after{background:#96d84f;height:3px}.main-nav a.current:after{right:0}
.header-slogan{grid-area:slogan;justify-self:end;align-self:start;padding:14px 22px 0 0;color:#99d950;font-family:cursive;font-size:1.55rem;line-height:1.05;transform:rotate(-4deg);text-align:center}.header-slogan span{display:inline-block;margin-left:20px}
.header-cta{grid-area:cta;justify-self:end;align-self:start;margin-top:34px;background:#3f9a43}
.hero{margin-top:0;min-height:590px}.hero-bg{background-position:center 48%}.hero-content{min-height:590px;padding-top:20px}
.topbar{background:#073a27;border-bottom:1px solid rgba(255,255,255,.16)}
@media(max-width:1150px){.nav-wrap{grid-template-columns:300px 1fr auto;grid-template-areas:"brand nav cta";min-height:145px}.brand{height:130px}.brand img{width:285px;max-height:125px}.header-slogan{display:none}.site-header:after{bottom:-18px;height:38px}.main-nav{align-self:center;padding-bottom:0;gap:18px}.header-cta{align-self:center;margin-top:0}}
@media(max-width:1050px){.nav-wrap{grid-template-columns:1fr auto;grid-template-areas:"brand menu";min-height:120px}.brand{height:110px}.brand img{width:260px;max-height:105px}.menu-toggle{grid-area:menu}.main-nav.open{top:120px}.header-cta{display:none}.site-header:after{bottom:-14px;height:30px}}
@media(max-width:760px){.nav-wrap{min-height:100px}.brand{height:90px}.brand img{width:220px;max-height:88px}.main-nav.open{top:100px}.site-header:after{bottom:-10px;height:22px}.hero{padding-top:0}.hero-bg{background-position:62% center}}


/* v7 – Logo-Fix: Originalgrafik transparent und proportional wie in der Vorschau */
.nav-wrap{
  grid-template-columns:365px 1fr 210px;
}
.brand{
  height:170px;
  padding:10px 0 6px;
}
.brand img{
  width:350px;
  max-width:100%;
  max-height:155px;
  object-fit:contain;
  object-position:left center;
}
@media(max-width:1150px){
  .nav-wrap{grid-template-columns:290px 1fr auto}
  .brand img{width:280px;max-height:118px}
}
@media(max-width:1050px){
  .nav-wrap{grid-template-columns:1fr auto}
  .brand img{width:255px;max-height:102px}
}
@media(max-width:760px){
  .brand img{width:215px;max-height:84px}
}


/* v8 – kompakter Header + Hero ohne hochskalierte Vollbildgrafik */
.site-header{
  overflow:visible;
}
.nav-wrap{
  min-height:145px;
  grid-template-columns:285px 1fr 195px;
  grid-template-areas:"brand nav cta" "brand slogan cta";
  column-gap:30px;
}
.brand{
  height:130px;
  padding:8px 0 4px;
}
.brand img{
  width:265px;
  max-width:100%;
  max-height:118px;
  object-fit:contain;
  object-position:left center;
}
.main-nav{
  gap:25px;
  font-size:.88rem;
  padding-bottom:9px;
}
.header-slogan{
  font-size:1.32rem;
  padding-top:7px;
}
.header-cta{
  margin-top:20px;
  padding:13px 18px;
}

/* Der Hero ist bewusst zweigeteilt:
   links solide Markenfläche, rechts ein echtes Firmenfoto in begrenzter Größe.
   Dadurch wird kein altes Foto mehr über die komplette Browserbreite gezogen. */
.hero.hero-split{
  min-height:540px;
  display:grid;
  grid-template-columns:minmax(480px, 46%) 1fr;
  position:relative;
  overflow:hidden;
  background:#0b3f29;
}
.hero-copy-panel{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(147,216,77,.10), transparent 26%),
    linear-gradient(135deg,#073923 0%,#0b4b2f 100%);
}
.hero-copy-panel:after{
  content:"";
  position:absolute;
  top:0;
  right:-70px;
  width:140px;
  height:100%;
  background:linear-gradient(90deg,#0b4b2f 0%,rgba(11,75,47,.78) 38%,rgba(11,75,47,0) 100%);
  z-index:1;
  pointer-events:none;
}
.hero-copy-inner{
  position:relative;
  z-index:2;
  width:min(610px, calc(100% - 70px));
  margin-left:max(32px, calc((100vw - var(--max))/2));
  padding:66px 0 62px;
}
.hero.hero-split .eyebrow{color:#fff}
.hero.hero-split h1{
  font-size:clamp(3.3rem,5.2vw,5.7rem);
  line-height:.91;
  margin:17px 0 18px;
}
.hero.hero-split h1 span{
  display:block;
  font-size:.40em;
  line-height:1.12;
  margin-top:22px;
}
.hero.hero-split p{
  font-size:1.13rem;
  max-width:570px;
  margin:0 0 27px;
  color:rgba(255,255,255,.90);
}
.hero-photo-panel{
  position:relative;
  min-width:0;
  background:#203d2c;
  overflow:hidden;
}
.hero-photo-panel img{
  width:100%;
  height:540px;
  display:block;
  object-fit:cover;
  object-position:center center;
  image-rendering:auto;
}
.hero-photo-panel:after{
  content:"";
  position:absolute;
  inset:0;
  box-shadow:inset 35px 0 45px rgba(7,57,35,.18);
  pointer-events:none;
}

@media(max-width:1150px){
  .nav-wrap{
    min-height:128px;
    grid-template-columns:245px 1fr auto;
    grid-template-areas:"brand nav cta";
  }
  .brand{height:112px}
  .brand img{width:225px;max-height:102px}
  .header-slogan{display:none}
  .main-nav{gap:17px}
  .header-cta{margin-top:0}
  .hero.hero-split{grid-template-columns:48% 52%;min-height:510px}
  .hero-photo-panel img{height:510px}
  .hero-copy-inner{width:calc(100% - 48px);padding:58px 0}
}

@media(max-width:1050px){
  .nav-wrap{
    min-height:102px;
    grid-template-columns:1fr auto;
    grid-template-areas:"brand menu";
  }
  .brand{height:92px}
  .brand img{width:205px;max-height:84px}
  .main-nav.open{top:102px}
  .hero.hero-split{grid-template-columns:1fr;min-height:auto}
  .hero-copy-panel{min-height:470px}
  .hero-copy-panel:after{display:none}
  .hero-copy-inner{
    width:min(680px,calc(100% - 48px));
    margin-inline:auto;
    padding:66px 0 58px;
  }
  .hero-photo-panel{
    height:min(52vw,430px);
  }
  .hero-photo-panel img{
    height:100%;
    object-position:center 48%;
  }
}

@media(max-width:760px){
  .nav-wrap{min-height:88px}
  .brand{height:78px}
  .brand img{width:178px;max-height:70px}
  .main-nav.open{top:88px}
  .hero-copy-panel{min-height:500px}
  .hero-copy-inner{width:calc(100% - 28px);padding:60px 0 48px}
  .hero.hero-split h1{font-size:clamp(2.9rem,13vw,4.4rem)}
  .hero.hero-split p{font-size:1rem}
  .hero-photo-panel{height:62vw;min-height:250px;max-height:360px}
}


/* v9 – kleineres transparentes Logo + visuelle Leistungsübersicht */
@media(min-width:1151px){
  .nav-wrap{grid-template-columns:245px 1fr 195px}
  .brand img{width:220px;max-height:100px}
}
.services-overview{
  background:#f4f3ed;
  padding:78px 0 86px;
}
.services-overview .section-head{
  display:flex;
  justify-content:space-between;
  gap:42px;
  align-items:end;
  margin-bottom:34px;
}
.services-overview .section-head p{
  max-width:430px;
  margin:0 0 7px;
}
.service-visual-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.service-visual-card{
  background:#fff;
  border:1px solid rgba(5,65,40,.13);
  border-radius:15px;
  overflow:hidden;
  min-height:410px;
  display:flex;
  flex-direction:column;
  box-shadow:0 7px 22px rgba(16,52,36,.055);
  transition:transform .2s ease,box-shadow .2s ease;
}
.service-visual-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(16,52,36,.10);
}
.service-card-image{
  height:150px;
  overflow:hidden;
  background:#dce7dc;
}
.service-card-image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.service-card-body{
  position:relative;
  padding:30px 20px 20px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.service-icon{
  position:absolute;
  top:-27px;left:18px;
  width:54px;height:54px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff;
  border:1px solid rgba(5,65,40,.16);
  color:#075332;
  font-size:25px;
  font-weight:800;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
}
.service-visual-card h3{
  color:#06462c;
  font-size:1.08rem;
  line-height:1.12;
  margin:0 0 13px;
}
.service-visual-card ul{
  margin:0 0 16px;
  padding-left:18px;
  font-size:.88rem;
  line-height:1.45;
}
.service-more{
  margin-top:auto;
  color:#075332;
  font-weight:800;
  text-decoration:none;
  font-size:.88rem;
}
.service-more:hover{text-decoration:underline}
.service-visual-card.special .service-card-body{
  background:linear-gradient(145deg,#fff,#edf5e9);
}
.service-visual-card.special .btn{
  margin-top:auto;
  align-self:flex-start;
}
@media(max-width:1200px){
  .service-visual-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .service-visual-grid{grid-template-columns:repeat(2,1fr)}
  .services-overview .section-head{display:block}
  .services-overview .section-head p{margin-top:15px}
}
@media(max-width:560px){
  .service-visual-grid{grid-template-columns:1fr}
  .service-card-image{height:190px}
  .service-visual-card{min-height:0}
}


/* v10 – finale Leistungsdarstellung: 5 + 5 Fotokarten, keine doppelte Textübersicht */
.service-visual-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.service-visual-card{
  min-height:430px;
}
.service-card-image{
  height:168px;
  background:#dce5dc;
}
.service-card-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.service-card-body{
  padding:32px 18px 19px;
}
.service-visual-card h3{
  min-height:2.3em;
  font-size:1.04rem;
}
.service-visual-card ul{
  font-size:.84rem;
  line-height:1.42;
}
.services-overview{
  padding-bottom:78px;
}
/* Sicherheitsnetz: leere/beschädigte Bilder erzeugen keine hässliche weiße Lücke */
.service-card-image:has(img[src=""]){
  display:none;
}
@media(max-width:1200px){
  .service-visual-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .service-visual-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .service-visual-grid{grid-template-columns:1fr}
  .service-card-image{height:205px}
  .service-visual-card{min-height:0}
}


/* v11 – globaler Zentrierungs-Fix
   Verhindert, dass Inhaltsbereiche auf breiten Displays nach rechts wandern. */
html, body{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  overflow-x:hidden;
}
*, *::before, *::after{
  box-sizing:border-box;
}
.container{
  width:min(var(--max), calc(100% - 48px));
  max-width:var(--max);
  margin-left:auto !important;
  margin-right:auto !important;
}
.nav-wrap{
  width:min(var(--max), calc(100% - 48px));
  max-width:var(--max);
  margin-left:auto !important;
  margin-right:auto !important;
}
.hero-copy-inner{
  width:min(610px, calc(100% - 70px));
  margin-left:max(24px, calc((100vw - var(--max))/2 + 24px));
  margin-right:auto;
}
/* Breite Sektionen dürfen 100vw nutzen, deren Inhalt bleibt aber mittig. */
.services-overview,
.feature-strip,
.showcase,
.about,
.contact-cta,
.site-footer{
  width:100%;
  max-width:100%;
}
@media(max-width:1050px){
  .container,
  .nav-wrap{
    width:min(100% - 36px, var(--max));
  }
  .hero-copy-inner{
    width:min(680px, calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
  }
}
@media(max-width:560px){
  .container,
  .nav-wrap{
    width:calc(100% - 28px);
  }
}


/* v12 – Hero-Titel kleiner und Smartphone-Fix */
.hero.hero-split h1{
  font-size:clamp(2.85rem,4.35vw,4.75rem);
  line-height:.96;
  letter-spacing:-.025em;
  overflow:visible;
}
.hero.hero-split h1 span{
  font-size:.40em;
  line-height:1.15;
}
@media(max-width:760px){
  .hero-copy-panel,.hero-copy-inner{min-width:0;overflow:visible}
  .hero-copy-inner{
    width:calc(100% - 36px);
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  .hero.hero-split h1{
    font-size:clamp(2.05rem,9.4vw,3rem);
    line-height:1;
    letter-spacing:-.035em;
    max-width:100%;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .hero.hero-split h1 br{display:none}
}
@media(max-width:390px){
  .hero.hero-split h1{
    font-size:clamp(1.9rem,8.9vw,2.35rem);
    letter-spacing:-.04em;
  }
}
