                                        /* Global Start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.angebot-box {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

button#clear-signature {
  display: block;
  margin: 10px auto 20px;
  padding: 10px 20px;
  background-color: #888;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button#clear-signature:hover {
  background-color: #666;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  flex: 1;
  padding-left: 10px;
  line-height: 1.4;
  margin: 0;
}

canvas#signature-pad {
  display: block;
  margin: 20px auto;
  border: 2px solid #000;
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 15px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  background-color: #FFC000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 6px;
}

.container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  flex: 1;
}



.content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.content {
  height: calc(100vh - 70px - 30px);
background: #ffffff;
  flex: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding: 0px;
  display: flex;
  flex-direction: column;
  width: auto;
}

.content::-webkit-scrollbar {
  width: 10px;
}

.content::-webkit-scrollbar-thumb {
  background: #888;
}


.contents {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  font-size: 16px;
}

.rechner {
    
  width: 70%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
  display: block;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: #eaf0f7;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contents h2 {
  margin-bottom: 10px;
  font-size: 1.8em;
  color: #333;
}

.contents p {
  line-height: 1.6;
  color: #555;
}

.contents a {
  color: #003f7d;
  text-decoration: none;
  font-weight: 600;
}



/* Abstände um die Formulargruppen */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form button {
  padding: 10px 20px;
  font-weight: bold;
  background-color: #cf001d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #003f7d;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form label {
  margin-bottom: 6px;
  display: block;
  font-weight: bold;
}

.footer {
  height: 40px;
  flex-shrink: 0;
  text-align: center;
  padding: 10px;
  color: white;
  width: 100%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #06012D;
}

/* ➤ Ergänzung für gleichmäßige Felder */
.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-row input,
.form-row select {
  flex: 1;
  min-width: 0;
}

.form-row .form-group {
  flex: 1;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.header {
  width: 100%;
  background-color: #06012D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.hero-container {
  margin-top: 70px;
  width: 100%;
  height: calc(100vh - 70px);
  overflow: hidden;
  display: block;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hidden {
  display: none;
}

input#signature-input {
  display: none;
}

input[type="date"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="checkbox"],
textarea {
  height: 44px;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-top: 4px;
  left: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #223;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
}

.mobile-menu a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #FFC000;
}

#modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

#modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

#modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.nav-link {
  display: inline;
  padding: 0px;
  min-width: auto;
  min-height: auto;
  line-height: auto;
  color: #005299;
  font-weight: bold;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;

}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #FFC000;
}

  .responsive-box {
    max-width: 100%;
    overflow-x: hidden;
  }

.section-header {
  background-color: #cf001d; /* kräftiges Rot */
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}

.signature-pad {
  border: 1px solid #000;
  width: 100%;
  height: 150px;
}

table {
  border-collapse: collapse;
  width: 100%;
  border: 0px solid #cf001d;
}

td, th, tr {
  border: 1px solid #cf001d;
  padding: 8px;
}

.unterschrift-container {
  margin-top: 30px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.video-section {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: calc(100vh - 100px); /* Höhe zwischen Header und Footer */
  flex-shrink: 0;
}

.video-section img,
.video-section video {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

                                        /* Global Ende */

                                        /* Mobile Ansicht Start */
@media (orientation: portrait) {

  body {
    font-family: 'Poppins', sans-serif;
    color: #000;
    overflow: hidden;
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;

    background-size: cover;            
    background-position: center center; 
    background-repeat: no-repeat;      
    background-attachment: fixed;      
    margin: 0;
    padding: 0;
  }

  .container {
    display: flex;
    width: 100vw;
    height: 100%;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;

    flex: 1;
    flex-direction: column;
  }

.contents {
  margin-bottom: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  font-size: 14px;
}

  .content {
    background: white;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1;
    overflow-y: auto;
    padding: 0px;
    height: auto;
  }

  #floating-cta {
    position: fixed;
    min-width: 60%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #c09e3a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }

  #floating-cta:hover {
    background: #003d73;
  }
  #floating-cta-start {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #cf001d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }
  #floating-cta-start:hover {
    background: #c09e3a;
  }

  .hamburger {
    display: flex;
  }

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #06012D;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}


  input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #000;
  }

.logo img {
  position: relative;
  width: 19%;
  height: 19%;
  margin-top: 4px;
  left: -3%;
}

  nav {
    display: none;
  }

  .nav-link {
    display: inline-block;
    padding: 5px 10px !important;
    min-width: auto;
    min-height: auto;
    line-height: 1;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
  }

  .nav-link:hover {
    text-decoration: underline;
  }

  .nav-menu {
    display: none;
  }

.nav-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.nav-menu-footer a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  transition: color 0.3s;
}

.rechner {
  background-color: #eaf0f7;
  width: 100%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
  display: block;
  padding: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  font-size: 16px;
}

  .responsive-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .responsive-box .text {
    width: 100%;
  }

  .responsive-box img {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  object-fit: contain;
  }

  .solar-desktop {
    display: none;
  }

  .video-section {	    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto; 
    width: 100%;
    height: auto;
    position: relative;
  }

  .video-section img,
  .video-section video {
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
  }

}
                                        /* Mobile Ansicht Ende */



                                        /* Desktop Standard Start */

@media (orientation:landscape) {

  body {
    font-family: 'Poppins', sans-serif;
    color: #000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    background-size: cover;           
    background-position: center center; 
    background-repeat: no-repeat;     
    background-attachment: fixed;     
    margin: 0;
    padding: 0;
    height: 100vh;                     
    width: 100vw;                      
  }
  #floating-cta {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: #c09e3a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: background 0.3s;
  }
  #floating-cta:hover {
    background: #003d73;
  }
#floating-cta-start {
  position: fixed;
  top: 75%;
  left: 25%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #cf001d;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-decoration: none;
  text-align: center;
  transition: background 0.3s;
}

  #floating-cta-start:hover {
    background: #c09e3a;
  }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-weight: bold;
  }
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: left;
    gap: 15px;
  }
  .nav-label {
    color: #ffffff;
    min-width: 80px;
  }
  .responsive-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .responsive-box .text:first-child {
    flex: 1 1 60%;
  }
  .responsive-box .text:last-child {
    flex: 1 1 40%;
    max-width: 400px;
  }
  .responsive-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .solar-mobile {
    display: none;
  }
  .video-section {
    aspect-ratio: 12 / 20;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .video-section img {
    width: auto;
    height: 100%;
    object-fit: contain;
  }
}
                                        /* Desktop Standard Ende */

                                        /* Desktop XXL Start */

/* =========================================== */
/* Allgemeine Anpassungen für den Container */
/* =========================================== */
  .viewport {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .video-section video,
  .video-section img {
    width: 100%;
    object-fit: contain;
  }  

  .content, .contents, .container, .content-wrapper {
    max-width: 100%;
  }



/* =========================================== */
/* AB 1680px: Schriftgrößen und Padding anpassen */
/* =========================================== */
@media (min-width: 1680px) {

  body {
    font-size: 18px;
  }
#floating-cta-start {
  font-size: 18px;
}

  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 18px;
    font-weight: bold;
  }

  .logo img {
    width: 75px;
    height: 75px;
    margin-top: 6px;
    left: 30px;
  }

  #floating-cta {
    position: fixed;
    top: 9vh;
    right: 2vw;
    z-index: 9999;
    background: #c09e3a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.2vw;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: background 0.3s;
  }

}

/* =========================================== */
/* AB 2500px: Schriftgrößen und Padding anpassen */
/* =========================================== */
@media (min-width: 2500px) {

  body {
    font-size: 30px;
  }
#floating-cta-start {
  font-size: 30px;
}
  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 30px;
    font-weight: bold;
  }

  .logo img {
    width: 100px;
    height:100px;
    margin-top: 6px;
    left: 30px;
  }

.content::-webkit-scrollbar {
  width: 15px;
}

.footer {
  height: 60px;

}
}

/* =========================================== */
/* AB 2800px: Schriftgrößen und Padding anpassen */
/* =========================================== */
@media (min-width: 2800px) {

  body {
    font-size: 34px;
  }
#floating-cta-start {
  font-size: 34px;
}
  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 34px;
    font-weight: bold;
  }

  .logo img {
    width: 120px;
    height:120px;
    margin-top: 12px;
    left: 30px;
  }

.content::-webkit-scrollbar {
  width: 20px;
}

.footer {
  height: 70px;

}
}
/* =========================================== */
/* AB 3440px: Layout zentrieren und fixieren */
/* =========================================== */
@media (min-width: 3440px) {

  body {
    font-size: 34px;
  }
#floating-cta-start {
  font-size: 34px;
}

  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 34px;
    font-weight: bold;
  }

  .logo img {
    width: 120px;
    height:120px;
    margin-top: 12px;
    left: 30px;
  }

.content::-webkit-scrollbar {
  width: 20px;
}

.footer {
  height: 70px;

}
}
/* =========================================== */
/* AB 3840px: Layout zentrieren und fixieren */
/* =========================================== */
@media (min-width: 3840px) {

  body {
    font-size: 45px;
  }
#floating-cta-start {
  font-size: 45px;
}

  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 45px;
    font-weight: bold;
  }

  .logo img {
    width: 150px;
    height:150px;
    margin-top: 18px;
    left: 36px;
  }

.content::-webkit-scrollbar {
  width: 25px;
}

.footer {
  height: 80px;

}
}

/* =========================================== */
/* AB 6016px: Layout zentrieren und fixieren */
/* =========================================== */
@media (min-width: 6016px) {

  body {
    font-size: 71px;
  }
#floating-cta-start {
  font-size: 71px;
}
.contents {
  margin-bottom: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  font-size: 71px;
}

  .nav-menu .nav-link,
  .nav-menu .nav-label {
    font-size: 71px;
    font-weight: bold;
  }

  .logo img {
    width: 200px;
    height:200px;
    margin-top: 28px;
    left: 76px;
  }

.content::-webkit-scrollbar {
  width: 50px;
}

.footer {
  height: 120px;

}
}