/* layout.css */
body{background-color:#6EABF9C9;background-image:none !important;background-repeat:no-repeat;font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", sans-serif;}#header .inside{font-style:italic;color:#FEF029}#header .title{left:165px;top:0;position:absolute;margin:15px;font-size:42pt}#header .subtitle{left:160px;top:80px;position:absolute;margin:0;font-size:16pt}


#main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

#main .inside {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow:visible;
}

#main .mod_article {
    width: 1100px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    overflow:visible;
}

#main h2{color: rgb(27, 54, 131);font-size: 1.5em;text-align: left;padding-left: 0.5em;padding-bottom: 1px;line-height: 1.5em;border-bottom: 1px solid rgb(255, 164, 18);border-left: 1.1em solid rgb(255, 164, 18);margin: 0px 0px 0.5em
}
#main h3{font-size:12pt;font-weight:bold;font-style:italic
}
#main .border_bottom{border-bottom:1px solid #666
}




/* =========================================================
   HEADER - alte Regeln überschreiben
   ========================================================= */

#header .inside {
  font-style: normal;
  color: inherit;
}

#header .site-header {
  width: 100%;
  background-color: #89AEBD;
  background-image: url("/files/theme-one/images/bodybkg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

#header .header-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-sizing: border-box;
}

#header .site-logo {
  display: block;
  flex: 0 0 auto;
}

#header .site-logo img {
  position: static;
  display: block;
  width: 110px;
  height: auto;
  margin: 0;
}

#header .site-title {
  flex: 1;
}

#header .site-title .title {
  position: static;
  left: auto;
  top: auto;
  margin: 0;
  padding: 0;
  color: #123f8c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
}

#header .site-title .subtitle {
  position: static;
  left: auto;
  top: auto;
  margin: 6px 0 0;
  padding: 0;
  color: #123f8c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.3;
}

@media (max-width: 700px) {
  #header .header-top {
    padding: 15px;
  }

  #header .site-logo img {
    width: 80px;
  }

  #header .site-title .title {
    font-size: 27px;
  }

  #header .site-title .subtitle {
    font-size: 14px;
  }
}
/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 360px;
  margin: 0;
  padding: 70px 30px;
  box-sizing: border-box;
  border-radius: 0 0 14px 14px;
  overflow: hidden;

  background:
    linear-gradient(rgba(18, 63, 140, 0.55), rgba(18, 63, 140, 0.55)),
    url("/files/theme-one/images/bodybkg.jpg");

  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 48px;
  line-height: 1.1;
}

.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #fff;
  font-size: 21px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-buttons a {
  display: inline-block;
  padding: 13px 22px;
  background: #ffa412;
  color: #123f8c;
  font-weight: bold;
  text-decoration: none;
}

.hero-buttons a:hover {
  background: #fff;
}

@media (max-width: 700px) {
  .hero {
    min-height: 300px;
    padding: 45px 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* =========================================================
   STARTSEITE – AKTUELLES
   ========================================================= */

.home-news {
  padding: 60px 30px;
  background: #f4f9fc;

  box-shadow: 0 0 0 100vmax #f4f9fc;
  clip-path: inset(0 -100vmax);
}

.home-news-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 35px;
}

.section-heading span {
  display: block;
  margin-bottom: 6px;
  color: #f5a800;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-heading h2 {
  margin: 0;
  color: #1b3683;
  font-size: 32px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  overflow: hidden;
  background: #f5f7f9;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.news-card-image {
  height: 190px;
  overflow: hidden;
  background: #e8edf1;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 25px;
}

.news-date {
  color: #f5a800;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 8px 0 12px;
  color: #1b3683;
  font-size: 23px;
}

.news-card p {
  margin: 0 0 20px;
  color: #444;
  line-height: 1.6;
}

.news-card a {
  color: #1b3683;
  font-weight: bold;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .home-news {
    padding: 45px 20px;
  }

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

  .section-heading h2 {
    font-size: 27px;
  }
}

/* =========================================================
   LIVE-ANZEIGE – NEUES SEITENDESIGN
   ========================================================= */

.pv-anlage {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.pv-kopf {
  padding: 0 0 25px;
}

.pv-kopf h2 {
  color: #1b3683;
  font-size: 30px;
}

.pv-kopf p {
  color: #555;
}

.pv-status {
  color: #16853a;
  font-weight: bold;
}

.pv-aktuell {
  padding: 30px;
  background: #1b3683;
  color: #fff;
  border-radius: 14px;
}

.pv-leistung {
  font-size: 52px;
}

.pv-label {
  color: #fff;
  opacity: .75;
}

.pv-wert {
  background: #fff;
  border: 1px solid #e1e5e8;
}

.pv-wert-zahl {
  color: #1b3683;
}

.pv-diagramm,
.pv-power-chart-box {
  background: #fff;
  border: 1px solid #e1e5e8;
}

.pv-diagramm h3,
.pv-power-chart-header h3 {
  color: #1b3683;
}

.pv-beschreibung {
  color: #555;
}

.projekt-karte {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 0 0 20px 0;
}

.projekt-karte img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.projekt-karte > * {
    margin-left: 20px;
    margin-right: 20px;
}

.projekt-karte a {
    display: inline-block;
    background: #ffa412;
    color: #1b3683;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

/* =========================================================
   SOLARPROJEKTE
   ========================================================= */

.projekt-karten {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    max-width: 100%;
    margin: 20px auto;
    padding: 15px 15px;
    box-sizing: border-box;
    background: #eaf7fc;
    overflow:visible;
}

.projekt-karten .projekt-karte {
    background: #fff;
}


/* Mobil */
@media (max-width: 700px) {
    .projekt-karten {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: #1b3683;
    color: #ffffff;
    padding: 24px 5% 14px;
    margin-top: 30px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Oberer Footer-Bereich */
.site-footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 105px;
}

/* Logo */
.site-footer-brand {
    display: flex;
    align-items: center;
}

.site-footer-brand .site-logo {
    display: block;
}

.site-footer-brand .site-logo img {
    display: block;
    width: 110px;
    height: auto;
}

/* Navigation */
.site-footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 15px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffd21c;
}

/* Social Media */
.site-footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

/* Untere Zeile */
.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 18px;
    padding-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobil */
@media (max-width: 700px) {

    .site-footer {
        padding: 25px 6% 15px;
    }

    .site-footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .site-footer-nav {
        gap: 15px;
    }

    .site-footer-social {
        gap: 18px;
    }

}
