/* -------------------------------------------
   GLOBAL TYPOGRAPHY SYSTEM (D2S Corporate)
------------------------------------------- */

/* Navigation oben & unten → Bebas Neue */
nav a,
.footer-links a {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.4px;
  font-size: 1.2rem;
}

/* Mobile Navigation → Arial Narrow */
.mobile-nav a {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.2px;
}

/* Desktop: Burger-Menü → Bebas Neue */
@media (min-width: 901px) {
  .mobile-nav a {
    font-family: 'Bebas Neue', sans-serif !important;
    letter-spacing: 0.4px;
  }
}

/* Große Headlines → Bebas Neue */
h1,
h3 {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.4px;
}

/* Sub-Headlines → Arial Narrow */
h2 {
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 1.6rem;
}

/* Detailtexte → Arial Narrow (kleiner) */
p,
.btn,
.energy-intro-usps p,
.usp-item p,
.product-gallery h3,
.gallery-subtitle {
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 1.2rem;
  letter-spacing: 0.1px;
}

.highlight-green {
  color: #077070 !important;
}

/* Buttons rechteckig */
.btn {
  display: inline-block;
  background: #077070;
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.3rem !important;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #055a5a;
}

/* Sekundärer Button */
.btn-secondary {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}

.btn-secondary:hover {
  background: #00404a;
}

/* -------------------------------------------
   GLOBAL LAYOUT
------------------------------------------- */

body {
  margin: 0;
  color: #222;
  background: #ffffff;
  padding-top: 135px;
  font-size: 14px;
}

@media (max-width: 900px) {
  body {
    padding-top: 90px;
  }
}

/* Header fixiert */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
}

/* Header Desktop */
.nav-large {
  height: 135px;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 0.3rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  height: 90px;
  object-fit: contain;
  display: block;
  margin-left: 0px;
  margin-top: 12px;
}

/* Desktop Navigation */
nav {
  display: flex;
}

nav a {
  margin-left: 1.4rem;
  text-decoration: none;
  color: #222;
  font-weight: 600;
}

/* Burger-Menü */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger div {
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: 0.3s;
}

.burger.open div:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.open div:nth-child(2) {
  opacity: 0;
}
.burger.open div:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

.mobile-nav.open {
  display: flex !important;
}

.mobile-nav a {
  padding: 0.8rem 0;
  font-size: 1.4rem;
  color: #222;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

#anfrage {
  scroll-margin-top: 100px;
}

.product-tech {
  scroll-margin-top: 140px;
}

/* -------------------------------------------
   HERO
------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: absolute;
  left: 5%;
  bottom: 12%;
  max-width: 600px;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.hero-content .coming-soon {
  color: #c1ff72 !important;
}

.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 3.2rem;
  margin: 0 0 0.4rem 0;
  line-height: 1.0 !important;
}

.hero-content p {
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  margin-bottom: 2.2rem !important;
}

/* -------------------------------------------
   USPs
------------------------------------------- */

.usp {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2.4rem;
  padding: 5rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
}

.usp-item {
  display: inline-block;
  min-width: 150px;
  text-align: center;
  white-space: normal;
}

.usp-item svg {
  width: 42px;
  height: 42px;
  margin-bottom: 0.8rem;
  fill: #077070;
  stroke: #077070;
}

.usp-item h3 {
  font-size: 1.8rem;
  margin: 0.2rem 0;
  color: var(--primary);
}

/* -------------------------------------------
   ENERGY INTRO
------------------------------------------- */

.energy-intro {
  position: relative;
  padding: 5rem 1rem;
  color: #ffffff;
  background-image: url('img/hero-solarpanels.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.energy-intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 32, 32, 0.65),
    rgba(0, 64, 64, 0.45)
  );
}

.energy-intro-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.energy-intro h1 {
  font-size: 2.6rem;
  margin-bottom: 1.6rem;
  line-height: 1.0 !important;
}

.energy-intro-buttons {
  margin-bottom: 2.4rem;
}

.energy-intro-buttons .btn {
  margin: 0 0.6rem 0.6rem;
}

.energy-intro-usps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.energy-intro-usps div {
  max-width: 240px;
}

.energy-intro-usps h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.energy-intro-usps p {
  font-size: 1.2rem;
  line-height: 1.3;
}

/* -------------------------------------------
   PV-INTRO
------------------------------------------- */

.pv-intro {
  padding: 4.8rem 1rem;
  background: #f5f7f8;
}

.pv-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.pv-intro-image {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pv-intro-image img {
  width: 80%;
  height: auto;
  display: block;
}

.pv-intro-text {
  flex: 1 1 380px;
}

.pv-intro-text h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pv-intro-text p {
  margin-bottom: 1.8rem;
  color: #666;
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 1.2rem;
}

.pv-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
}

.pv-checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000000;
}

.pv-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #077070;
  font-family: 'Bebas Neue', sans-serif;
}

/* -------------------------------------------
   PV-FEATURES
------------------------------------------- */

.pv-features {
  padding: 4rem 1rem;
  background: #ffffff;
}

.pv-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pv-features-inner h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.8rem;
}

.pv-features-inner p {
  margin-bottom: 2rem;
}

.pv-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.pv-feature {
  background: #077070 !important;
  color: #ffffff !important;
  padding: 1.4rem 1.2rem;
  text-align: left;
  border-radius: 6px;
}

.pv-feature h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.pv-feature p {
  font-size: 1.2rem;
  margin: 0;
  color: #ffffff !important;
}

/* -------------------------------------------
   PV-APPLICATIONS
------------------------------------------- */

.pv-applications {
  position: relative;
  padding: 4rem 1rem;
  color: #ffffff;
  background-image: url('img/Solarfarm.png');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.pv-applications-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 32, 0.55);
}

.pv-applications-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.pv-applications-content .big-headline {
  font-size: 2.6rem !important;
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.4px !important;
}

.pv-applications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.pv-app-card {
  background: rgba(0, 0, 0, 0.35);
  padding: 1.4rem 1.2rem;
  border-radius: 6px;
  text-align: left;
}

.pv-app-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.pv-app-card p {
  font-size: 1.2rem;
  margin: 0;
}

/* -------------------------------------------
   PRODUKT-GALERIE
------------------------------------------- */

.product-gallery {
  text-align: center;
  padding: 2.6rem 1rem;
}

.product-gallery h1 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.product-gallery h3 {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}

.slider {
  width: 100%;
  max-width: 650px;
  margin: 1.6rem auto;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.slides {
  display: flex;
  width: 200%;
  animation: slide 8s infinite alternate ease-in-out;
}

.slides img {
  width: 50%;
  object-fit: contain;
  background: white;
}

@keyframes slide {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-subtitle {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

/* -------------------------------------------
   PV-ABSCHNITT
------------------------------------------- */

.pv-divider {
  height: 35vh;
  background-image: url('img/modern-house-pv.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  animation: zoom 18s ease-in-out infinite;
}

.pv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

@keyframes zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* -------------------------------------------
   PRODUKTINFORMATIONEN – TECHNISCHE DATEN
------------------------------------------- */

.product-tech {
  padding: 4rem 1rem;
  background: #ffffff;
}

.product-tech-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.product-tech h1 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.product-tech h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2rem;
  margin: 2rem 0 1.4rem;
  letter-spacing: 0.4px;
  margin-bottom: 0.6rem !important;
}

.product-tech h2 + p {
  margin-top: 0 !important;
}

.product-tech h2:last-of-type {
  padding-top: 2.5rem !important;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 1.2rem;
}

.product-table th {
  background: none !important;
  color: #000 !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.6rem !important;
  letter-spacing: 0.4px !important;
  padding: 0.8rem 0.6rem !important;
  border-bottom: 2px solid #ccc !important;
  text-transform: none !important;
}

.product-table td {
  padding: 0.4rem 0.4rem;
  border-bottom: 1px solid #ddd;
}

.drawing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.drawing-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.6rem;
}

.scaling-image img {
  width: 70%;
  max-width: 900px;
  height: auto;
  margin: 1.5rem auto 3rem 0;
  display: block;
  background: #fff;
  border: none;
  padding: 0;
}

.pi-download {
  background: #077070;
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1.3rem !important;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 2.8rem !important;
}

.pi-download:hover {
  background: #055a5a;
}

/* -------------------------------------------
   Kontakt-Bereich
------------------------------------------- */

.contact-wrapper {
  max-width: 1100px;
  margin: 4rem auto 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 3rem;
  align-items: stretch;
  box-sizing: border-box;
}

.contact-left {
  flex: 0 0 66%;
  display: flex;
  flex-direction: column;
}

.contact-form {
  padding: 2rem;
  background: #f5f7f8;
  border-radius: 4px;
  height: 100%;
  box-sizing: border-box;
}

.contact-form h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
}

.contact-form label.checkbox-inline {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1.4rem;
  cursor: pointer;
}

.contact-form label.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.contact-form .btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #077070;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
}

.contact-form .btn:hover {
  background: #15764d;
}

/* -------------------------------------------
   CAPTCHA
------------------------------------------- */

.contact-form label[for="captcha"] {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  margin-top: 0.6rem;
}

.contact-form input#captcha {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.form-success {
  background: #077070;
  color: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
}

.form-error {
  background: #b30000;
  color: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
}

/* -------------------------------------------
   Kontakt-Info rechts
------------------------------------------- */

.contact-right {
  flex: 0 0 34%;
  background: #077070;
  color: #ffffff;
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 600px;
  box-sizing: border-box;
}

.contact-right h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.contact-right p {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

/* -------------------------------------------
   AGB / Datenschutz
------------------------------------------- */

.legal-links {
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 1rem;
}

.legal-links a {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
  color: #077070;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 600;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* -------------------------------------------
   Footer
------------------------------------------- */

.footer-links {
  text-align: center;
  padding: 1.6rem 1rem;
  background: #ffffff;
}

.footer-links a {
  margin: 0 0.8rem;
  color: #077070;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2rem;
}

footer {
  text-align: center;
  padding: 0rem;
  background: #fff;
  color: #444;
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 0.9rem;
}

/* -------------------------------------------
   MOBILE OPTIMIERUNG — < 900px
------------------------------------------- */

@media (max-width: 900px) {

  .nav-large {
    height: 90px !important;
  }

  .logo {
    height: 60px !important;
    margin-top: 6px !important;
  }

  .nav nav {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }

  .mobile-nav a {
    font-size: 1.2rem !important;
  }

  .hero-content {
    left: 4%;
    bottom: 8%;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
  }

  .hero-content p {
    font-size: 1.1rem !important;
  }

  .usp {
    gap: 1.4rem !important;
    padding: 3rem 1rem !important;
  }

  .usp-item h3 {
    font-size: 1.4rem !important;
  }

  .energy-intro {
    padding: 3.2rem 1rem !important;
  }

  .energy-intro h1 {
    font-size: 2rem !important;
  }

  .energy-intro-usps {
    gap: 1.4rem !important;
  }

  .pv-intro-inner {
    flex-direction: column !important;
    text-align: center !important;
  }

  .pv-intro-image img {
    width: 90% !important;
  }

  .pv-intro-text h2 {
    font-size: 1.6rem !important;
  }

  .pv-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .pv-feature {
    text-align: center !important;
  }

  .pv-applications {
    padding: 3rem 1rem !important;
  }

  .pv-applications-content .big-headline {
    font-size: 2rem !important;
  }

  .pv-applications-grid {
    grid-template-columns: 1fr !important;
  }

  .product-gallery h1 {
    font-size: 2rem !important;
  }

  .product-gallery h3 {
    font-size: 1.2rem !important;
  }

  .drawing-grid {
    grid-template-columns: 1fr !important;
  }

  .product-table th {
    font-size: 1.3rem !important;
  }

  .product-table td {
    font-size: 1rem !important;
  }

  .contact-wrapper {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .contact-left,
  .contact-right {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* -------------------------------------------
   MOBILE OPTIMIERUNG — < 768px
------------------------------------------- */

@media (max-width: 768px) {

  .usp {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .usp-item {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    position: static !important;
    padding: 1.5rem 5%;
    text-align: left;
    color: #000 !important;
    text-shadow: none !important;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-img {
    width: 100%;
    height: auto;
    min-height: 45vh !important;
    object-fit: cover;
  }

  .contact-wrapper {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .contact-left,
  .contact-right {
    width: 100% !important;
  }
}

.contact-right a {
  color: inherit !important;
  text-decoration: none !important;
}

.contact-right a[href^="mailto"],
.contact-right a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}
