
:root{
  --renner-teal:#238c88;
  --renner-teal-dark:#176a67;
  --renner-ink:#152126;
  --renner-muted:#66747a;
  --renner-soft:#f4f8f8;
  --renner-line:#dbe6e6;
  --renner-white:#ffffff;
  --renner-radius:10px;
  --renner-shadow:0 12px 30px rgba(22,49,54,.08);
}

/* Grundtypografie */
body{
  color:var(--renner-ink);
  background:var(--renner-white);
}
h1,h2,h3,h4,h5,h6{
  letter-spacing:-.025em;
  color:var(--renner-ink);
}
a{
  color:var(--renner-teal-dark);
}
a:hover{
  color:var(--renner-teal);
}

/* Header / Neve */
.header-main{
  background:#fff;
  box-shadow:0 1px 0 rgba(21,33,38,.08);
}
.site-logo img{
  max-height:68px;
  width:auto;
}
.builder-item--primary-menu .nav-menu-primary > .menu-item > a{
  font-weight:600;
}
.builder-item--primary-menu .nav-menu-primary > .menu-item.current-menu-item > a,
.builder-item--primary-menu .nav-menu-primary > .menu-item > a:hover{
  color:var(--renner-teal);
}
.renner-header-cta a,
.header .button,
.wp-block-button__link{
  border-radius:6px;
}

/* Buttons */
.wp-block-button__link{
  background:var(--renner-teal);
  border:1px solid var(--renner-teal);
  color:#fff;
  font-weight:700;
  padding:.85rem 1.15rem;
  transition:.18s ease;
}
.wp-block-button__link:hover{
  background:var(--renner-teal-dark);
  border-color:var(--renner-teal-dark);
  color:#fff;
  transform:translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link{
  background:#fff;
  color:var(--renner-ink);
  border-color:#aebbbc;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  color:var(--renner-teal-dark);
  border-color:var(--renner-teal);
}

/* Startseite */
.renner-hero{
  overflow:hidden;
  background:linear-gradient(90deg,#f9fbfb 0%,#fff 50%,#eef5f5 100%);
  border-bottom:1px solid var(--renner-line);
}
.renner-hero-inner{
  min-height:560px;
  gap:3rem;
  padding-top:3rem;
  padding-bottom:3rem;
}
.renner-hero-title{
  font-size:clamp(2.5rem,5vw,4.4rem);
  line-height:1.02;
  margin-bottom:1.25rem;
}
.renner-hero-title span{
  color:var(--renner-teal);
}
.renner-lead{
  max-width:590px;
  font-size:1.15rem;
  line-height:1.65;
  color:#405056;
}
.renner-hero-photo,
.renner-photo-placeholder,
.renner-reference-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#eaf2f2,#dce9e8);
  color:#51676a;
  border:1px solid var(--renner-line);
}
.renner-hero-photo{
  min-height:420px;
  border-radius:14px;
  box-shadow:var(--renner-shadow);
}
.renner-section{
  padding-top:5rem;
  padding-bottom:5rem;
}
.renner-section-intro{
  color:var(--renner-muted);
  margin-top:-.5rem;
  margin-bottom:2.5rem;
}
.renner-card-grid{
  gap:1.25rem;
}
.renner-card{
  border:1px solid var(--renner-line);
  border-radius:var(--renner-radius);
  padding:2rem 1.45rem;
  background:#fff;
  box-shadow:0 4px 16px rgba(22,49,54,.03);
  transition:.18s ease;
}
.renner-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--renner-shadow);
  border-color:#b9d4d2;
}
.renner-card:before{
  content:"";
  display:block;
  width:42px;
  height:4px;
  border-radius:999px;
  background:var(--renner-teal);
  margin-bottom:1.25rem;
}
.renner-card h3{
  font-size:1.25rem;
}
.renner-card p{
  color:#526267;
}
.renner-about{
  background:var(--renner-soft);
  border-top:1px solid var(--renner-line);
  border-bottom:1px solid var(--renner-line);
}
.renner-photo-placeholder{
  min-height:430px;
  border-radius:12px;
}
.renner-about-copy{
  padding:1.25rem 1.5rem 1.25rem 2.5rem;
}
.renner-about-copy li{
  margin-bottom:.55rem;
}
.renner-about-copy li::marker{
  color:var(--renner-teal);
}
.renner-references{
  background:#fff;
}
.renner-reference-placeholder{
  min-height:245px;
  border-radius:8px;
}
.renner-cta{
  padding-top:3.4rem;
  padding-bottom:3.4rem;
  background:var(--renner-teal-dark);
  color:#fff;
}
.renner-cta h2,
.renner-cta p{
  color:#fff;
}
.renner-cta .wp-block-button__link{
  background:#fff;
  border-color:#fff;
  color:var(--renner-teal-dark);
}
.renner-cta .wp-block-button__link:hover{
  background:#f0f7f7;
  color:var(--renner-teal-dark);
}

/* Footer */
.site-footer{
  border-top:1px solid var(--renner-line);
}
.site-footer a:hover{
  color:var(--renner-teal);
}

/* Formulare */
input[type="text"],input[type="email"],input[type="tel"],textarea,select{
  border:1px solid #cbd7d8 !important;
  border-radius:6px !important;
}
input:focus,textarea:focus,select:focus{
  border-color:var(--renner-teal) !important;
  box-shadow:0 0 0 3px rgba(35,140,136,.12);
  outline:none;
}

/* Responsive */
@media (max-width: 960px){
  .renner-hero-inner{min-height:auto;padding-top:2.5rem;padding-bottom:2.5rem;}
  .renner-hero-photo{min-height:320px;}
  .renner-about-copy{padding:1rem 0;}
}
@media (max-width: 600px){
  .renner-section{padding-top:3.5rem;padding-bottom:3.5rem;}
  .renner-hero-title{font-size:2.5rem;}
  .renner-hero-photo{min-height:240px;}
  .renner-card{padding:1.5rem 1.2rem;}
  .renner-cta .wp-block-buttons{justify-content:flex-start !important;}
}


/* =========================================================
   V1.1 – In-place Redesign für bestehende Seiten
   ========================================================= */

/* Bestehende Inhaltsseiten: modernes, ruhiges Grundlayout */
.renner-existing-page:not(.renner-front-page) .nv-content-wrap,
.renner-existing-page:not(.renner-front-page) .entry-content{
  font-size:1.05rem;
  line-height:1.72;
}
.renner-existing-page:not(.renner-front-page) .nv-page-title-wrap{
  background:linear-gradient(90deg,#f6fafa 0%,#ffffff 100%);
  border-bottom:1px solid var(--renner-line);
  margin-bottom:2.5rem;
}
.renner-existing-page:not(.renner-front-page) .nv-page-title{
  max-width:1180px;
  margin:0 auto;
  padding:2.7rem 24px 2.35rem;
}
.renner-existing-page:not(.renner-front-page) .nv-page-title h1,
.renner-existing-page:not(.renner-front-page) h1.entry-title{
  font-size:clamp(2.1rem,4vw,3.25rem);
  line-height:1.08;
  margin:0;
}
.renner-existing-page:not(.renner-front-page) .nv-page-title h1:after,
.renner-existing-page:not(.renner-front-page) h1.entry-title:after{
  content:"";
  display:block;
  width:64px;
  height:5px;
  margin-top:1rem;
  border-radius:999px;
  background:var(--renner-teal);
}

/* Bestehende Blöcke/klassischer Editor */
.renner-existing-page:not(.renner-front-page) .entry-content > p,
.renner-existing-page:not(.renner-front-page) .entry-content > ul,
.renner-existing-page:not(.renner-front-page) .entry-content > ol,
.renner-existing-page:not(.renner-front-page) .entry-content > h2,
.renner-existing-page:not(.renner-front-page) .entry-content > h3,
.renner-existing-page:not(.renner-front-page) .entry-content > table,
.renner-existing-page:not(.renner-front-page) .entry-content > figure{
  max-width:940px;
  margin-left:auto;
  margin-right:auto;
}
.renner-existing-page:not(.renner-front-page) .entry-content h2{
  margin-top:2.6rem;
  font-size:clamp(1.65rem,2.7vw,2.25rem);
}
.renner-existing-page:not(.renner-front-page) .entry-content h3{
  margin-top:2rem;
  color:var(--renner-teal-dark);
}
.renner-existing-page:not(.renner-front-page) .entry-content ul:not(.wp-block-gallery){
  padding-left:1.3rem;
}
.renner-existing-page:not(.renner-front-page) .entry-content li{
  margin-bottom:.45rem;
}
.renner-existing-page:not(.renner-front-page) .entry-content li::marker{
  color:var(--renner-teal);
}

/* Bestehende Bilder/Banner weniger "alt" wirken lassen */
.renner-existing-page .entry-content img{
  border-radius:8px;
}
.renner-existing-page .wp-block-image img,
.renner-existing-page .wp-block-gallery img{
  box-shadow:0 6px 22px rgba(22,49,54,.06);
}

/* Firmenprofil / Produkte: kurze Altinhalte bekommen mehr Präsenz */
.page-firmenprofil .entry-content,
.page-produkte .entry-content{
  max-width:980px;
  margin:auto;
}
.page-produkte .entry-content > p:first-of-type,
.page-firmenprofil .entry-content > p:first-of-type{
  font-size:1.18rem;
  color:#405056;
}

/* Kontaktseite als Karte */
.page-kontakt .entry-content{
  max-width:900px;
  margin:auto;
}
.page-kontakt .entry-content{
  background:#fff;
  border:1px solid var(--renner-line);
  border-radius:12px;
  box-shadow:var(--renner-shadow);
  padding:clamp(1.5rem,4vw,3rem);
}

/* Rechtstexte bewusst sachlicher */
.renner-legal-page .entry-content{
  font-size:.98rem !important;
  line-height:1.68 !important;
}
.renner-legal-page .entry-content h2,
.renner-legal-page .entry-content h3{
  color:var(--renner-ink);
}

/* Automatischer CTA unter bestehenden Seiten */
.renner-auto-cta{
  max-width:1180px;
  margin:4rem auto 0;
  padding:0 24px;
}
.renner-auto-cta__inner{
  display:flex;
  gap:2rem;
  align-items:center;
  justify-content:space-between;
  padding:2.25rem 2.5rem;
  border-radius:12px;
  background:var(--renner-teal-dark);
  box-shadow:var(--renner-shadow);
}
.renner-auto-cta__inner h2{
  color:#fff !important;
  margin:0 0 .35rem !important;
}
.renner-auto-cta__inner p{
  color:rgba(255,255,255,.88);
  margin:0 !important;
}
.renner-auto-cta__button{
  flex:0 0 auto;
  display:inline-block;
  padding:.9rem 1.15rem;
  border-radius:6px;
  background:#fff;
  color:var(--renner-teal-dark) !important;
  font-weight:700;
  text-decoration:none !important;
}
.renner-auto-cta__button:hover{
  background:#f0f7f7;
}

/* Mobile */
@media(max-width:780px){
  .renner-existing-page:not(.renner-front-page) .nv-page-title{
    padding:2rem 20px 1.8rem;
  }
  .renner-auto-cta__inner{
    align-items:flex-start;
    flex-direction:column;
    padding:1.75rem;
  }
}


/* =========================================================
   V1.2 – echte Template-Overrides (page.php/front-page.php)
   ========================================================= */
.renner-shell{
  width:min(1180px, calc(100% - 48px));
  margin-inline:auto;
}
.renner-shell--content{
  width:min(980px, calc(100% - 48px));
}
.renner-page-shell,
.renner-home{
  background:#fff;
}
.renner-page-hero{
  padding:72px 0 58px;
  background:
    linear-gradient(100deg, rgba(35,140,136,.08), rgba(255,255,255,0) 62%),
    #f8fbfb;
  border-bottom:1px solid var(--renner-line);
}
.renner-page-hero h1{
  margin:.35rem 0 .9rem;
  font-size:clamp(2.5rem,5vw,4.15rem);
  line-height:1.02;
}
.renner-page-hero h1:after{
  content:"";
  display:block;
  width:68px;
  height:5px;
  border-radius:999px;
  margin-top:1.1rem;
  background:var(--renner-teal);
}
.renner-page-hero p{
  max-width:670px;
  margin:0;
  font-size:1.12rem;
  color:#526267;
}
.renner-eyebrow{
  display:inline-block;
  color:var(--renner-teal-dark);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.renner-eyebrow--light{
  color:rgba(255,255,255,.72);
}
.renner-page-content{
  padding:64px 0 72px;
}
.renner-article{
  font-size:1.06rem;
  line-height:1.76;
}
.renner-article > *:first-child{
  margin-top:0;
}
.renner-article h2{
  font-size:clamp(1.75rem,3vw,2.35rem);
  margin-top:2.8rem;
}
.renner-article h3{
  color:var(--renner-teal-dark);
  margin-top:2rem;
}
.renner-article a:not(.wp-block-button__link){
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.renner-article img{
  border-radius:10px;
}
.renner-global-cta{
  padding:0 0 72px;
}
.renner-global-cta__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  padding:2.4rem 2.7rem;
  border-radius:14px;
  background:var(--renner-teal-dark);
}
.renner-global-cta h2{
  color:#fff;
  margin:.35rem 0 .35rem;
  font-size:clamp(1.7rem,3vw,2.35rem);
}
.renner-global-cta p{
  color:rgba(255,255,255,.85);
  margin:0;
}
.renner-global-cta__button{
  flex:0 0 auto;
  display:inline-block;
  padding:.95rem 1.2rem;
  border-radius:7px;
  background:#fff;
  color:var(--renner-teal-dark);
  font-weight:800;
  text-decoration:none;
}
.renner-global-cta__button:hover{
  color:var(--renner-teal-dark);
  background:#edf6f5;
}

/* Recht/Kontakt */
.renner-page-shell--legal .renner-page-hero{
  padding:52px 0 42px;
}
.renner-page-shell--legal .renner-article{
  font-size:.98rem;
}
.renner-page-shell--contact .renner-shell--content{
  width:min(900px, calc(100% - 48px));
}
.renner-page-shell--contact .renner-article{
  padding:2rem;
  border:1px solid var(--renner-line);
  border-radius:12px;
  box-shadow:var(--renner-shadow);
}

/* Startseite Design 1 */
.renner-home-hero{
  overflow:hidden;
  background:#f8fbfb;
  border-bottom:1px solid var(--renner-line);
}
.renner-home-hero__grid{
  min-height:610px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:4rem;
}
.renner-home-hero__copy h1{
  margin:.5rem 0 1.2rem;
  font-size:clamp(3rem,6vw,5.35rem);
  line-height:.98;
}
.renner-home-hero__copy h1 span{
  color:var(--renner-teal);
}
.renner-home-hero__copy p{
  max-width:650px;
  font-size:1.17rem;
  line-height:1.65;
  color:#46575d;
}
.renner-home-hero__buttons{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top:1.7rem;
}
.renner-btn{
  display:inline-block;
  padding:.93rem 1.18rem;
  border-radius:7px;
  background:var(--renner-teal);
  border:1px solid var(--renner-teal);
  color:#fff !important;
  font-weight:800;
  text-decoration:none !important;
}
.renner-btn:hover{
  background:var(--renner-teal-dark);
}
.renner-btn--outline{
  background:#fff;
  color:var(--renner-ink) !important;
  border-color:#aebbbc;
}
.renner-btn--outline:hover{
  border-color:var(--renner-teal);
  background:#fff;
  color:var(--renner-teal-dark) !important;
}
.renner-home-hero__visual{
  position:relative;
  min-height:430px;
  border-radius:16px;
  background:
    linear-gradient(135deg, rgba(35,140,136,.12), rgba(35,140,136,.02)),
    #eaf3f2;
  box-shadow:var(--renner-shadow);
}
.renner-window-mark{
  position:absolute;
  inset:16% 14%;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  border:15px solid #fff;
  background:#fff;
  box-shadow:0 18px 50px rgba(22,49,54,.12);
}
.renner-window-mark span{
  background:linear-gradient(145deg,#cfe4e2,#eef6f5);
  border:5px solid #fff;
}
.renner-home-existing{
  background:#fff;
}

/* Entfernt doppelte Neve-Seitentitel/Content-Wrappers, falls Parent CSS sie noch erzeugt */
.renner-page-shell + .nv-content-wrap,
.renner-home + .nv-content-wrap{
  display:none;
}

@media(max-width:900px){
  .renner-home-hero__grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding:64px 0;
  }
  .renner-home-hero__visual{
    min-height:300px;
  }
  .renner-global-cta__inner{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:600px){
  .renner-shell,
  .renner-shell--content,
  .renner-page-shell--contact .renner-shell--content{
    width:min(100% - 32px, 1180px);
  }
  .renner-page-hero{padding:48px 0 40px;}
  .renner-page-content{padding:44px 0 54px;}
  .renner-global-cta{padding-bottom:52px;}
  .renner-global-cta__inner{padding:1.75rem;}
}


/* =========================================================
   V1.3.1 – gezielte Korrektur nach Screenshot-Rückmeldung
   Keine erzwungene globale Skalierung.
   ========================================================= */

/* Alte Theme-/Customizer-Regeln dürfen unsere eigenen H1 nicht verstecken. */
.renner-home-hero__copy > h1,
.renner-page-hero .renner-shell > h1 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  margin-top: .5rem !important;
  margin-bottom: 1.2rem !important;
  color: var(--renner-ink) !important;
  text-indent: 0 !important;
  white-space: normal !important;
}

/* Startseiten-Akzent explizit erhalten */
.renner-home-hero__copy > h1 > span {
  display: inline !important;
  color: var(--renner-teal) !important;
}

/* Nur ein CTA: Template-CTA bleibt, alter Content-Filter wurde deaktiviert. */
.renner-auto-cta {
  display: none !important;
}

/* Bestehende Seiteninhalte sollen nicht von alten Neve-Titelregeln überlagert werden. */
.renner-page-hero {
  position: relative;
  z-index: 1;
}
.renner-page-hero .renner-shell {
  position: relative;
  z-index: 2;
}


/* =========================================================
   RENNER THEME 2.0 – Startseite Design 1
   ========================================================= */
.renner-v2-home{background:#fff;color:var(--renner-ink)}
.r2-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.r2-kicker{display:block;color:var(--renner-teal-dark);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.7rem}
.r2-kicker-light{color:rgba(255,255,255,.75)}
.r2-section{padding:78px 0}
.r2-section-head{text-align:center;max-width:760px;margin:0 auto 38px}
.r2-section-head h2{font-size:clamp(2rem,3vw,2.8rem);margin:.25rem 0 .6rem}
.r2-section-head p{color:#617075;margin:0;font-size:1.05rem}

/* HERO */
.r2-hero{background:linear-gradient(90deg,#fff 0%,#f7fbfb 52%,#eaf4f3 100%);border-bottom:1px solid var(--renner-line)}
.r2-hero-grid{min-height:600px;display:grid;grid-template-columns:45% 55%;align-items:center}
.r2-hero-copy{padding:55px 42px 55px 0;position:relative;z-index:2}
.r2-hero-copy h1{font-size:clamp(3.2rem,5vw,5rem);line-height:.98;margin:.25rem 0 1.25rem;letter-spacing:-.045em}
.r2-hero-copy h1 span{color:var(--renner-teal)}
.r2-hero-copy p{font-size:1.15rem;line-height:1.65;max-width:580px;color:#46575d}
.r2-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.65rem}
.r2-btn{display:inline-block;padding:.9rem 1.2rem;border-radius:7px;border:1px solid var(--renner-teal);background:var(--renner-teal);color:#fff!important;font-weight:800;text-decoration:none!important;transition:.18s ease}
.r2-btn:hover{background:var(--renner-teal-dark);border-color:var(--renner-teal-dark);transform:translateY(-1px)}
.r2-btn-outline{background:#fff;color:var(--renner-ink)!important;border-color:#9fb5b5}
.r2-btn-outline:hover{background:#f7fbfb;color:var(--renner-teal-dark)!important;border-color:var(--renner-teal)}
.r2-hero-image{height:100%;min-height:600px;background:
linear-gradient(90deg,#f7fbfb 0%,rgba(247,251,251,.15) 28%,rgba(247,251,251,0) 46%),
url("../img/renner-hero.webp") center/cover no-repeat}

/* SERVICES */
.r2-services{background:#f7faf9}
.r2-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.r2-card{display:block;background:#fff;border:1px solid var(--renner-line);border-radius:12px;padding:27px 24px;box-shadow:0 6px 20px rgba(22,49,54,.04);text-decoration:none!important;color:var(--renner-ink)!important;transition:.18s ease}
.r2-card:hover{transform:translateY(-4px);box-shadow:var(--renner-shadow);border-color:#b8d4d2}
.r2-card h3{font-size:1.28rem;margin:18px 0 10px}
.r2-card p{font-size:.96rem;line-height:1.6;color:#56666b;min-height:92px}
.r2-card > span{color:var(--renner-teal-dark);font-weight:800;font-size:.9rem}
.r2-icon{width:50px;height:50px;color:var(--renner-teal);position:relative}
.r2-icon-window{border:3px solid currentColor;display:grid;grid-template:1fr 1fr/1fr 1fr;gap:2px;padding:2px}
.r2-icon-window i{border:1px solid currentColor}
.r2-icon-door{border:3px solid currentColor}
.r2-icon-door i{display:block;width:5px;height:5px;border:2px solid currentColor;border-radius:50%;position:absolute;right:6px;top:21px}
.r2-icon-glass i{position:absolute;width:28px;height:42px;border:3px solid currentColor;transform:skewY(-8deg)}
.r2-icon-glass i:last-child{left:18px;top:5px}
.r2-icon-tool{font-size:44px;line-height:50px}

/* ABOUT */
.r2-about{background:#fff}
.r2-about-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.r2-about-image{min-height:390px;border-radius:14px;background:url("../img/renner-verglasung.webp") center/cover no-repeat;box-shadow:var(--renner-shadow)}
.r2-about-copy h2{font-size:clamp(2rem,3.3vw,3rem);margin:.25rem 0 1rem}
.r2-about-copy p{font-size:1.05rem;line-height:1.72;color:#526267}
.r2-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 28px;margin:24px 0}
.r2-check-grid span{font-weight:650;color:#405056}
.r2-check-grid span::first-letter{color:var(--renner-teal)}
.r2-textlink{font-weight:800;color:var(--renner-teal-dark)!important;text-decoration:none!important}

/* PROJECTS */
.r2-projects{background:#f7faf9}
.r2-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.r2-project{margin:0;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--renner-line);box-shadow:0 5px 18px rgba(22,49,54,.04)}
.r2-project div{height:230px;background-size:cover;background-position:center}
.r2-project-1 div{background-image:url("../img/renner-hero.webp")}
.r2-project-2 div{background-image:url("../img/renner-verglasung.webp")}
.r2-project-3 div{background-image:url("../img/renner-tueren.webp")}
.r2-project figcaption{padding:15px 18px;font-weight:800}
.r2-center{text-align:center;margin-top:30px}

/* BENEFITS */
.r2-benefits{border-top:1px solid var(--renner-line);border-bottom:1px solid var(--renner-line);background:#fff}
.r2-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.r2-benefit-grid div{padding:28px 24px;border-right:1px solid var(--renner-line)}
.r2-benefit-grid div:last-child{border-right:0}
.r2-benefit-grid strong,.r2-benefit-grid span{display:block}
.r2-benefit-grid strong{color:var(--renner-ink);margin-bottom:4px}
.r2-benefit-grid span{font-size:.9rem;color:#65757a}

/* FINAL CTA */
.r2-final{background:linear-gradient(90deg,var(--renner-teal-dark),var(--renner-teal));padding:46px 0}
.r2-final-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.r2-final h2{color:#fff;font-size:clamp(2rem,3vw,2.9rem);margin:.15rem 0 .35rem}
.r2-final p{color:rgba(255,255,255,.88);margin:0}
.r2-btn-white{background:#fff;border-color:#fff;color:var(--renner-teal-dark)!important;white-space:nowrap}
.r2-btn-white:hover{background:#eff8f7;color:var(--renner-teal-dark)!important}

/* RESPONSIVE */
@media(max-width:980px){
  .r2-hero-grid{grid-template-columns:1fr;min-height:auto}
  .r2-hero-copy{padding:58px 0 42px}
  .r2-hero-image{min-height:360px}
  .r2-service-grid{grid-template-columns:1fr 1fr}
  .r2-about-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:700px){
  .r2-shell{width:calc(100% - 32px)}
  .r2-section{padding:56px 0}
  .r2-hero-copy h1{font-size:clamp(2.65rem,13vw,4rem)}
  .r2-service-grid,.r2-project-grid,.r2-benefit-grid{grid-template-columns:1fr}
  .r2-card p{min-height:auto}
  .r2-check-grid{grid-template-columns:1fr}
  .r2-benefit-grid div{border-right:0;border-bottom:1px solid var(--renner-line)}
  .r2-benefit-grid div:last-child{border-bottom:0}
  .r2-final-inner{align-items:flex-start;flex-direction:column}
  .r2-hero-image{min-height:280px}
}


/* =========================================================
   RENNER THEME 2.1 – Produkte / Leistungen
   ========================================================= */
.r21-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.r21-kicker{display:block;color:var(--renner-teal-dark);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.7rem}
.r21-kicker-light{color:rgba(255,255,255,.72)}
.r21-page-hero{padding:78px 0 62px;background:linear-gradient(100deg,#f4f9f8,#fff 70%);border-bottom:1px solid var(--renner-line)}
.r21-page-hero h1{font-size:clamp(3rem,5vw,4.6rem);line-height:1;margin:.25rem 0 1rem}
.r21-page-hero h1:after{content:"";display:block;width:68px;height:5px;border-radius:99px;background:var(--renner-teal);margin-top:1rem}
.r21-page-hero p{max-width:760px;font-size:1.13rem;line-height:1.65;color:#526267}
.r21-jumpnav{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.7rem}
.r21-jumpnav a{display:inline-block;padding:.65rem .9rem;border-radius:999px;border:1px solid #bfd2d1;background:#fff;color:var(--renner-teal-dark);font-weight:750;text-decoration:none}
.r21-jumpnav a:hover{border-color:var(--renner-teal);background:#f5fbfa}
.r21-intro{padding:62px 0;background:#fff}
.r21-intro-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.r21-intro h2{font-size:clamp(2rem,3vw,2.8rem);margin:.2rem 0}
.r21-intro p{font-size:1.08rem;line-height:1.75;color:#526267;margin:0}
.r21-service-row{padding:80px 0;border-top:1px solid var(--renner-line)}
.r21-service-row-alt{background:#f7faf9}
.r21-service-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:62px;align-items:center}
.r21-service-grid-reverse .r21-service-image{order:2}
.r21-service-grid-reverse .r21-service-copy{order:1}
.r21-service-image{min-height:410px;border-radius:14px;background-size:cover;background-position:center;box-shadow:var(--renner-shadow)}
.r21-img-window{background-image:url("../img/renner-hero.webp")}
.r21-img-door{background-image:url("../img/renner-tueren.webp")}
.r21-img-glass{background-image:url("../img/renner-verglasung.webp")}
.r21-img-service{background-image:linear-gradient(rgba(18,40,44,.08),rgba(18,40,44,.08)),url("../img/renner-hero.webp")}
.r21-number{display:block;font-size:3.3rem;line-height:1;color:#d4e6e4;font-weight:900;margin-bottom:-.25rem}
.r21-service-copy h2{font-size:clamp(2rem,3.2vw,3rem);line-height:1.08;margin:.2rem 0 1rem}
.r21-service-copy p{font-size:1.05rem;line-height:1.72;color:#526267}
.r21-service-copy ul{margin:1.3rem 0 1.5rem;padding-left:1.15rem}
.r21-service-copy li{margin-bottom:.55rem}
.r21-service-copy li::marker{color:var(--renner-teal)}
.r21-textlink{font-weight:800;color:var(--renner-teal-dark)!important;text-decoration:none!important}
.r21-region{padding:56px 0;background:linear-gradient(90deg,var(--renner-teal-dark),var(--renner-teal));color:#fff}
.r21-region-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.r21-region h2{color:#fff;font-size:clamp(2rem,3vw,2.8rem);margin:.2rem 0}
.r21-region p{color:rgba(255,255,255,.9);font-size:1.05rem;line-height:1.7;margin:0}
.r21-cta{padding:72px 0;background:#fff}
.r21-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:50px;padding:2.5rem 2.7rem;border:1px solid var(--renner-line);border-radius:14px;box-shadow:var(--renner-shadow)}
.r21-cta h2{font-size:clamp(1.9rem,3vw,2.65rem);margin:.2rem 0 .5rem}
.r21-cta p{margin:0;color:#607075}
.r21-btn{display:inline-block;flex:0 0 auto;padding:.95rem 1.2rem;background:var(--renner-teal);border-radius:7px;color:#fff!important;font-weight:800;text-decoration:none!important}
.r21-btn:hover{background:var(--renner-teal-dark);color:#fff!important}
@media(max-width:900px){
  .r21-intro-grid,.r21-service-grid,.r21-region-grid{grid-template-columns:1fr;gap:34px}
  .r21-service-grid-reverse .r21-service-image,.r21-service-grid-reverse .r21-service-copy{order:initial}
  .r21-service-image{min-height:320px}
  .r21-cta-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
  .r21-shell{width:calc(100% - 32px)}
  .r21-page-hero{padding:54px 0 46px}
  .r21-service-row{padding:58px 0}
  .r21-service-image{min-height:250px}
  .r21-cta{padding:54px 0}
  .r21-cta-inner{padding:1.7rem}
}


/* =========================================================
   RENNER FINAL 4.0 – globale Zusatztemplates
   ========================================================= */
.r4-main{background:#fff;color:var(--renner-ink)}
.r4-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.r4-kicker{display:block;color:var(--renner-teal-dark);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.7rem}
.r4-kicker-light{color:rgba(255,255,255,.72)}
.r4-hero{padding:66px 0 55px;background:linear-gradient(100deg,#f3f9f8,#fff 72%);border-bottom:1px solid var(--renner-line)}
.r4-hero h1{font-size:clamp(3rem,5vw,4.5rem);line-height:1;margin:.25rem 0 1rem}
.r4-hero h1:after{content:"";display:block;width:68px;height:5px;border-radius:99px;background:var(--renner-teal);margin-top:1rem}
.r4-hero p{max-width:760px;font-size:1.12rem;line-height:1.65;color:#526267}
.r4-breadcrumbs{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.82rem;margin-bottom:1.4rem;color:#718085}
.r4-breadcrumbs a{color:#5c6d72;text-decoration:none}
.r4-breadcrumbs strong{font-weight:650;color:#738287}
.r4-section{padding:76px 0}
.r4-soft{background:#f7faf9;border-top:1px solid var(--renner-line);border-bottom:1px solid var(--renner-line)}
.r4-two{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center}
.r4-two h2,.r4-region-callout h2{font-size:clamp(2rem,3vw,3rem);margin:.2rem 0 1rem}
.r4-two p{font-size:1.05rem;line-height:1.72;color:#526267}
.r4-media{min-height:410px;border-radius:14px;background-size:cover;background-position:center;box-shadow:var(--renner-shadow)}
.r4-media-profile{background-image:url("../img/renner-verglasung.webp")}
.r4-value-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}
.r4-value-grid div{padding:17px;border:1px solid var(--renner-line);border-radius:9px;background:#fff}
.r4-value-grid strong,.r4-value-grid span{display:block}
.r4-value-grid strong{color:var(--renner-teal-dark);margin-bottom:4px}
.r4-value-grid span{font-size:.91rem;color:#607075}
.r4-section-head{text-align:center;max-width:740px;margin:0 auto 38px}
.r4-section-head h2{font-size:clamp(2rem,3vw,2.8rem);margin:.2rem 0}
.r4-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.r4-steps>div{background:#fff;border:1px solid var(--renner-line);border-radius:10px;padding:24px}
.r4-steps b{font-size:2.4rem;color:#d0e3e1}
.r4-steps h3{margin:.5rem 0}
.r4-steps p{font-size:.94rem;line-height:1.6;color:#607075}
.r4-cta{padding:50px 0;background:linear-gradient(90deg,var(--renner-teal-dark),var(--renner-teal))}
.r4-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:45px}
.r4-cta h2{color:#fff;font-size:clamp(2rem,3vw,2.8rem);margin:.2rem 0 .4rem}
.r4-cta p{color:rgba(255,255,255,.88);margin:0}
.r4-btn{display:inline-block;padding:.92rem 1.18rem;border-radius:7px;background:var(--renner-teal);border:1px solid var(--renner-teal);color:#fff!important;text-decoration:none!important;font-weight:800}
.r4-btn:hover{background:var(--renner-teal-dark);border-color:var(--renner-teal-dark)}
.r4-btn-white{background:#fff;border-color:#fff;color:var(--renner-teal-dark)!important;white-space:nowrap}
.r4-btn-white:hover{background:#edf7f6;color:var(--renner-teal-dark)!important}
.r4-btn-outline{background:#fff;border-color:#aebfbe;color:var(--renner-ink)!important}
.r4-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.r4-textlink{font-weight:800;color:var(--renner-teal-dark)!important;text-decoration:none!important}

/* Kontakt */
.r4-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:35px;align-items:start}
.r4-contact-card,.r4-form-card{border:1px solid var(--renner-line);border-radius:13px;padding:32px;background:#fff;box-shadow:0 6px 20px rgba(22,49,54,.04)}
.r4-contact-card h2,.r4-form-card h2{font-size:clamp(1.8rem,2.8vw,2.5rem);margin:.2rem 0 1.2rem}
.r4-contact-list{display:grid;gap:0}
.r4-contact-list>div{padding:14px 0;border-bottom:1px solid var(--renner-line)}
.r4-contact-list>div:last-child{border-bottom:0}
.r4-contact-list strong,.r4-contact-list span,.r4-contact-list a{display:block}
.r4-contact-list strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.07em;color:#738287;margin-bottom:4px}
.r4-contact-list a{font-size:1.04rem;color:var(--renner-teal-dark);font-weight:750;text-decoration:none}
.r4-form-placeholder{margin-top:22px;padding:20px;border-radius:9px;background:#f5f9f8;border:1px dashed #b8cfcd;color:#607075}
.r4-region-callout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.r4-region-callout p{font-size:1.05rem;line-height:1.72;color:#526267}

/* Referenzen */
.r4-ref-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.r4-ref-card{border:1px solid var(--renner-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(22,49,54,.04)}
.r4-ref-image{display:flex;align-items:center;justify-content:center;height:245px;background:#eaf2f1;overflow:hidden;text-decoration:none}
.r4-ref-image img{width:100%;height:100%;object-fit:cover;transition:.25s ease}
.r4-ref-card:hover .r4-ref-image img{transform:scale(1.025)}
.r4-ref-image span{color:#78908f;font-weight:650}
.r4-ref-copy{padding:20px}
.r4-ref-copy h2{font-size:1.35rem;margin:.2rem 0 .65rem}
.r4-ref-copy h2 a{color:var(--renner-ink);text-decoration:none}
.r4-ref-copy p{font-size:.94rem;line-height:1.6;color:#607075}
.r4-pagination{margin-top:35px}
.r4-empty{padding:38px;border:1px dashed #b8cfcd;border-radius:10px;background:#f7faf9;text-align:center}
.r4-single-ref{max-width:980px}
.r4-single-hero img{width:100%;height:auto;border-radius:13px;box-shadow:var(--renner-shadow)}
.r4-prose{font-size:1.06rem;line-height:1.75;margin:35px 0}
.r4-prose h2{margin-top:2.5rem}
.r4-search-item{padding:22px 0;border-bottom:1px solid var(--renner-line)}
.r4-search-item h2{margin:0 0 .5rem}
.r4-search-item h2 a{text-decoration:none;color:var(--renner-ink)}

/* 404 */
.r4-404{min-height:60vh;display:flex;align-items:center;padding:80px 0;background:linear-gradient(120deg,#f4f9f8,#fff)}
.r4-404 h1{font-size:clamp(3rem,6vw,5rem);margin:.2rem 0 1rem}
.r4-404 p{font-size:1.1rem;color:#607075}

/* Kleine Qualitätsverbesserungen global */
.site-logo img{height:auto}
img{max-width:100%}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(35,140,136,.28);outline-offset:3px}

/* Druck */
@media print{
  .header,.site-footer,.r4-cta,.r2-final,.r21-cta{display:none!important}
  body{color:#000!important;background:#fff!important}
}

/* Responsive */
@media(max-width:950px){
  .r4-two,.r4-contact-grid,.r4-region-callout{grid-template-columns:1fr;gap:35px}
  .r4-steps,.r4-ref-grid{grid-template-columns:1fr 1fr}
  .r4-cta-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:650px){
  .r4-shell{width:calc(100% - 32px)}
  .r4-section{padding:56px 0}
  .r4-hero{padding:50px 0 44px}
  .r4-value-grid,.r4-steps,.r4-ref-grid{grid-template-columns:1fr}
  .r4-media{min-height:280px}
  .r4-contact-card,.r4-form-card{padding:22px}
}

/* RENNER 4.2 lokales Bildpaket */
.r2-hero-image{background-image:linear-gradient(90deg,#f7fbfb 0%,rgba(247,251,251,.12) 28%,rgba(247,251,251,0) 46%),url("../img/renner-hero.webp")!important}
.r2-about-image,.r4-media-profile{background-image:url("../img/renner-team.webp")!important;background-position:center 25%!important}
.r2-project-1 div{background-image:url("../img/renner-referenz-1.webp")!important}
.r2-project-2 div{background-image:url("../img/renner-referenz-2.webp")!important}
.r2-project-3 div{background-image:url("../img/renner-referenz-3.webp")!important}
.r21-img-window{background-image:url("../img/renner-fenster.webp")!important}
.r21-img-door{background-image:url("../img/renner-tueren.webp")!important}
.r21-img-glass{background-image:url("../img/renner-verglasung.webp")!important}
.r21-img-service{background-image:url("../img/renner-montage.webp")!important}


/* =========================================================
   RENNER 4.4 – visuelle Unterseiten-Heros + Navigation
   ========================================================= */
.r44-subhero{position:relative;overflow:hidden;background:#f5f9f9;border-bottom:1px solid var(--renner-line)}
.r44-subhero-bg{position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,rgba(35,140,136,.12),transparent 35%),linear-gradient(110deg,#f4f9f8 0%,#fff 62%,#eaf4f3 100%);pointer-events:none}
.r44-subhero-grid{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);gap:54px;align-items:center;min-height:480px;padding-top:58px;padding-bottom:58px}
.r44-subhero-copy{position:relative;z-index:2}
.r44-subhero h1{font-size:clamp(3rem,5vw,4.65rem);line-height:1.02;margin:.3rem 0 1rem}
.r44-subhero h1:after{content:"";display:block;width:68px;height:5px;border-radius:99px;background:var(--renner-teal);margin-top:1rem}
.r44-subhero-copy>p{max-width:680px;font-size:1.12rem;line-height:1.65;color:#526267}
.r44-hero-photo{min-height:350px;border-radius:18px;background-size:cover;background-position:center;box-shadow:0 22px 55px rgba(22,49,54,.16);border:1px solid rgba(255,255,255,.75);position:relative;overflow:hidden}
.r44-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 55%,rgba(21,33,38,.10))}
.r44-subhero-products .r44-hero-photo{background-image:url("../img/renner-fenster.webp")}
.r44-subhero-about .r44-hero-photo{background-image:url("../img/renner-team.webp");background-position:center 28%}
.r44-subhero-contact .r44-hero-photo{background-image:url("../img/renner-fahrzeug.webp")}
.r44-subhero-references .r44-hero-photo{background-image:url("../img/renner-referenz-4.webp")}
.r44-subhero .r21-jumpnav{margin-top:26px}
.header-main{position:relative;z-index:100}
@media(min-width:961px){
  .header-main{position:sticky;top:0}
}
@media(max-width:950px){
 .r44-subhero-grid{grid-template-columns:1fr;gap:30px;min-height:0;padding-top:45px;padding-bottom:45px}
 .r44-hero-photo{min-height:310px}
}
@media(max-width:650px){
 .r44-subhero-grid{padding-top:34px;padding-bottom:38px}
 .r44-subhero h1{font-size:clamp(2.55rem,12vw,3.4rem)}
 .r44-hero-photo{min-height:235px;border-radius:12px}
}
