/* WGRCMS-Step-0083 Aktuelles neu auf Basis CMS/Über-uns */
:root{
  --wgr-blue:#015da8;
  --wgr-dark:#09233b;
  --wgr-muted:#40556a;
  --wgr-soft:#eef6fb;
  --wgr-line:#dbe8f0;
  --wgr-green:#98bd3d;
  --wgr-max:1480px;
  --wgr-content:1180px;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:#eef6fb;
  color:#09233b;
  font-family:Arial,Helvetica,sans-serif;
}

/* Header wie Über-uns/Frontend */
.site-header{
  width:100%;
  height:86px;
  min-height:86px;
  max-height:86px;
  background:#015da8;
  box-shadow:0 3px 16px rgba(0,42,86,.22);
  overflow:hidden;
  position:relative;
  z-index:1000;
}

.header-inner{
  width:100%;
  max-width:1480px;
  height:86px;
  margin:0 auto;
  padding:0 38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  overflow:hidden;
}

.brand{
  flex:0 0 360px;
  width:360px;
  max-width:360px;
  height:86px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  font-size:0;
  line-height:0;
}

.brand img{
  display:block;
  width:auto;
  height:76px;
  max-height:76px;
  max-width:330px;
  object-fit:contain;
  object-position:left center;
}

.brand .brand-fallback{
  color:#fff;
  font-size:16px;
  line-height:1.15;
  font-weight:800;
}

.main-nav{
  flex:1 1 auto;
  height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  overflow:hidden;
}

.main-nav a{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:650;
  line-height:1;
  white-space:nowrap;
  padding:0 2px;
}

.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:#fff;
  border-radius:4px 4px 0 0;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .18s ease;
}

.main-nav a:hover::after{
  transform:scaleX(.65);
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after{
  transform:scaleX(1);
}

.header-contact{
  flex:0 0 auto;
  height:86px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:13px;
  color:#fff;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
}

.header-contact a{
  color:#fff;
  text-decoration:none;
}

/* Seite auf Basis CMS/Über uns */
.cms-page{
  background:#eef6fb;
}

.cms-page-hero{
  padding:56px 24px 38px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.46)),
    #eef6fb;
}

.cms-page-hero-inner{
  max-width:1180px;
  margin:0 auto;
}

.cms-page-copy{
  max-width:1180px;
  margin:0 auto;
}

.cms-page-copy .eyebrow{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin:0 0 26px;
  color:#015da8;
  font-size:12px;
  font-weight:850;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.cms-page-copy .eyebrow::before{
  content:"";
  width:44px;
  height:3px;
  background:#98bd3d;
  border-radius:999px;
  flex:0 0 auto;
}

.cms-page-copy h1{
  margin:0 auto 18px;
  color:#015da8;
  font-size:48px;
  line-height:1.08;
  font-weight:760;
  text-align:center;
  max-width:980px;
}

.cms-page-copy p.lead{
  margin:0 auto;
  max-width:830px;
  color:#09233b;
  font-size:18px;
  line-height:1.6;
  text-align:center;
}

.cms-content{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px 58px;
}

.cms-content-box{
  background:#fff;
  border:1px solid #dbe8f0;
  border-radius:16px;
  box-shadow:0 18px 46px rgba(9,35,59,.10);
  padding:46px 54px;
  min-height:140px;
  color:#40556a;
}

.cms-content-box.empty{
  text-align:center;
  color:#09233b;
  font-size:19px;
  line-height:1.6;
}

/* Meldungskarten, wenn später News existieren */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.news-card{
  background:#fff;
  border:1px solid #dbe8f0;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 46px rgba(9,35,59,.10);
}

.news-card-image{
  height:190px;
  background:
    linear-gradient(135deg,rgba(1,93,168,.08),rgba(152,189,61,.18)),
    linear-gradient(135deg,#d9edf8,#cfe6bd);
  background-size:cover;
  background-position:center;
}

.news-card-body{
  padding:24px;
}

.news-card small{
  display:block;
  color:#5f7386;
  font-size:13px;
  margin-bottom:10px;
}

.news-card h2{
  margin:0 0 12px;
  color:#015da8;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
}

.news-card p{
  margin:0;
  color:#40556a;
  font-size:15px;
  line-height:1.65;
}

/* Footer direkt eingebaut */
.wgr-global-footer{
  width:100%;
  margin:0;
  padding:34px max(28px,calc((100% - 1180px)/2)) 30px;
  background:#015da8;
  color:#fff;
  display:grid;
  grid-template-columns:1.1fr .9fr .8fr 1.2fr;
  gap:34px;
  align-items:start;
}

.wgr-global-footer h3{
  color:#fff;
  font-size:15px;
  line-height:1.25;
  font-weight:900;
  margin:0 0 12px;
}

.wgr-global-footer p,
.wgr-global-footer li,
.wgr-global-footer a{
  color:#eaf6ff;
  font-size:13px;
  line-height:1.55;
  text-decoration:none;
}

.wgr-global-footer a:hover{
  color:#fff;
  text-decoration:underline;
}

.wgr-global-footer ul{
  list-style:none;
  padding:0;
  margin:0;
}

.wgr-global-footer li{
  margin:0 0 6px;
}

.wgr-footer-mapbox{
  min-height:150px;
  border-radius:6px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.72)),#edf5fa;
  padding:22px;
}

.wgr-footer-mapbox h3,
.wgr-footer-mapbox p,
.wgr-footer-mapbox strong{
  color:#015da8;
}

.wgr-footer-bottom{
  width:100%;
  margin:0;
  padding:13px max(28px,calc((100% - 1180px)/2));
  background:#f7fbfe;
  color:#015da8;
  border-top:1px solid #dbe8f0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.wgr-footer-bottom a,
.wgr-footer-bottom span{
  color:#015da8;
  font-size:13px;
  text-decoration:none;
}

@media(max-width:1250px){
  .header-contact{display:none}
  .brand{flex-basis:320px;width:320px;max-width:320px}
  .brand img{height:72px;max-height:72px;max-width:300px}
}

@media(max-width:980px){
  .site-header{
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
  }

  .header-inner{
    height:auto;
    padding:14px 22px;
    flex-wrap:wrap;
    justify-content:flex-start;
  }

  .brand{
    flex:0 0 100%;
    width:100%;
    max-width:100%;
    height:auto;
    min-height:70px;
  }

  .brand img{
    height:70px;
    max-height:70px;
    max-width:280px;
  }

  .main-nav{
    width:100%;
    height:auto;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:12px;
  }

  .main-nav a{
    height:36px;
  }

  .cms-page-hero{
    padding:42px 22px 30px;
  }

  .cms-page-copy h1{
    font-size:36px;
  }

  .cms-page-copy p.lead{
    font-size:17px;
  }

  .cms-content{
    padding:0 22px 44px;
  }

  .cms-content-box{
    padding:30px 24px;
  }

  .news-grid{
    grid-template-columns:1fr;
  }

  .wgr-global-footer{
    grid-template-columns:1fr;
    padding:28px 22px;
  }

  .wgr-footer-bottom{
    padding:13px 22px;
    flex-direction:column;
    align-items:flex-start;
  }
}
/* WGRCMS Step 0089 Footer Cleanup */
.footer.wgr-footer-clean-0089,.wgr-global-footer.wgr-footer-clean-0089{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.footer.wgr-footer-clean-0089 .wgr-footer-mapbox,.wgr-global-footer.wgr-footer-clean-0089 .wgr-footer-mapbox{display:none!important;}
.wgr-footer-bottom,.footer-bottom{display:none!important;}
@media(max-width:900px){.footer.wgr-footer-clean-0089,.wgr-global-footer.wgr-footer-clean-0089{grid-template-columns:1fr!important;}}
/* WGRCMS Step 0090 footer unify */
.footer.wgr-footer-clean-0089,.wgr-global-footer.wgr-footer-clean-0089{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.footer.wgr-footer-clean-0089 .wgr-footer-mapbox,.wgr-global-footer.wgr-footer-clean-0089 .wgr-footer-mapbox,.wgr-footer-bottom{display:none!important;}
@media(max-width:900px){.footer.wgr-footer-clean-0089,.wgr-global-footer.wgr-footer-clean-0089{grid-template-columns:1fr!important;}}
