/* WGRCMS-Step-0055 Info Row / Wir sind für Röblingen da */
:root{
  --wgr-blue:#015da8;
  --wgr-dark:#09233b;
  --wgr-muted:#40556a;
  --wgr-line:#dbe8f0;
  --wgr-box:1180px;
}

/* großer Info-/Geschäftsstellenblock wie Mockup */
.info-row{
  max-width:1180px!important;
  margin:28px auto 22px!important;
  display:grid!important;
  grid-template-columns:1.05fr .95fr .72fr!important;
  background:#fff!important;
  border:1px solid var(--wgr-line)!important;
  border-radius:7px!important;
  overflow:hidden!important;
  box-shadow:0 12px 34px rgba(9,35,59,.08)!important;
}

.info-text{
  padding:30px 32px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  position:relative!important;
  min-height:230px!important;
}

.info-text h2{
  color:var(--wgr-blue)!important;
  font-size:27px!important;
  line-height:1.18!important;
  font-weight:900!important;
  margin:0 0 14px!important;
}

.info-text p{
  color:var(--wgr-muted)!important;
  font-size:14px!important;
  line-height:1.62!important;
  margin:0 0 18px!important;
}

.info-text .btn,
.info-text a.btn{
  align-self:flex-start!important;
  min-height:42px!important;
  padding:0 20px!important;
  border-radius:3px!important;
  background:var(--wgr-blue)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
}

/* dezente Liniengrafik links unten */
.info-text::after{
  content:""!important;
  position:absolute!important;
  right:22px!important;
  bottom:14px!important;
  width:150px!important;
  height:70px!important;
  opacity:.18!important;
  background:var(--wgr-blue)!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 100'%3E%3Cpath fill='none' stroke='black' stroke-width='3' d='M5 88h210M28 88V55l28-24 28 24v33M43 88V68h20v20M105 88V48h48v40M113 62h10m10 0h10m-30 14h10m10 0h10M162 88V40l20-18 20 18v48M174 88V65h16v23'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 100'%3E%3Cpath fill='none' stroke='black' stroke-width='3' d='M5 88h210M28 88V55l28-24 28 24v33M43 88V68h20v20M105 88V48h48v40M113 62h10m10 0h10m-30 14h10m10 0h10M162 88V40l20-18 20 18v48M174 88V65h16v23'/%3E%3C/svg%3E")!important;
  mask-size:contain!important;
  mask-repeat:no-repeat!important;
  mask-position:center!important;
  -webkit-mask-size:contain!important;
  -webkit-mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
}

/* Mittelbild hochwertiger */
.info-image{
  min-height:230px!important;
  background:
    linear-gradient(180deg,rgba(1,93,168,.08),rgba(1,93,168,.02)),
    url('/public/assets/img/wgr-info-office-placeholder.jpg'),
    linear-gradient(135deg,#d9edf8,#cfe6bd)!important;
  background-size:cover!important;
  background-position:center!important;
  position:relative!important;
}

.info-image::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0) 45%),
    linear-gradient(180deg,rgba(0,0,0,0),rgba(9,35,59,.10))!important;
  pointer-events:none!important;
}

.info-image::after{
  content:""!important;
  position:absolute!important;
  left:24px!important;
  top:24px!important;
  width:150px!important;
  height:44px!important;
  border-radius:3px!important;
  background:rgba(1,93,168,.82)!important;
  box-shadow:0 10px 24px rgba(9,35,59,.18)!important;
}

/* Geschäftsstelle rechts */
.office{
  padding:30px 28px!important;
  background:#f8fbfd!important;
  border-left:1px solid var(--wgr-line)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:230px!important;
}

.office h3{
  color:var(--wgr-blue)!important;
  font-size:18px!important;
  font-weight:900!important;
  margin:0 0 16px!important;
}

.office p{
  color:var(--wgr-muted)!important;
  font-size:14px!important;
  line-height:1.6!important;
  margin:0 0 10px!important;
}

.office a{
  color:var(--wgr-blue)!important;
  font-weight:900!important;
  text-decoration:none!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-top:8px!important;
}

.office a::after{
  content:"→"!important;
}

.office a:hover{
  text-decoration:underline!important;
}

/* falls Kontaktdaten als Liste/Absätze kommen: kleine Icons simulieren */
.office p:nth-of-type(1)::before,
.office p:nth-of-type(2)::before,
.office p:nth-of-type(3)::before,
.office p:nth-of-type(4)::before{
  color:var(--wgr-blue)!important;
  font-weight:900!important;
  margin-right:8px!important;
}

.office p:nth-of-type(1)::before{content:"⌖"!important}
.office p:nth-of-type(2)::before{content:"☎"!important}
.office p:nth-of-type(3)::before{content:"▣"!important}
.office p:nth-of-type(4)::before{content:"✉"!important}

/* Mobile */
@media(max-width:1100px){
  .info-row{
    grid-template-columns:1fr 1fr!important;
  }

  .office{
    grid-column:1 / -1!important;
    border-left:0!important;
    border-top:1px solid var(--wgr-line)!important;
  }
}

@media(max-width:980px){
  .info-row{
    margin-left:22px!important;
    margin-right:22px!important;
    grid-template-columns:1fr!important;
  }

  .info-image{
    min-height:220px!important;
  }

  .office{
    border-top:1px solid var(--wgr-line)!important;
  }
}
