@import url("/styles/forza-alias.css");

:root { 
    font-size: 100%;
    --s3-gap: 2rem;
}

* {
    box-sizing: border-box;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

body {
    font-family: 'Forza';
    font-size: 62.5%;
    font-weight: 400;
    font-style: normal;
    color: #F3F6FB;
    background-color: #06103D;
    margin: 0;
}

#SBig {
    display: block;
    padding-top: 3rem;
    padding-bottom: 9rem;
    background-image: url("../Images/HouseSolarBackup-1-1.png");
    background-size: cover;
    background-position: center;
}

nav {
    width: 100%;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    border: none;
    color: #F3F6FB;
    justify-content: space-between;
    align-content: center;
    display: flex;
}

@media (max-width: 900px) {
    nav { 
      flex-wrap: wrap; 
      gap: .4rem; 
      padding-left: 1rem; 
      padding-right: 1rem; 
      align-items: center;
    }
    nav figure { width: auto; flex: 1 1 auto; }
    nav a { font-size: clamp(0.95rem, 2.6vw, 1.1rem); padding: .25rem .4rem; }
    #LogoWS { margin-right: auto; }
    #LogoWS img { height: 18px; }
  }

@media (max-width: 600px) {
    nav a { font-size: clamp(0.9rem, 3.2vw, 1rem); }
    nav a svg { width: 20px; height: 20px; }
}
  

nav figure {
    width: 30%;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-left: 0.4rem;
    align-content: center;
    text-align: left;
}

nav a {
    font-size: 1.6em;
    align-content: center;
    text-align: center;
    color: currentColor;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

nav a:visited {
    color: inherit;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.2rem;
    width: 0%;
    height: 0.2em;
    background-color: #FF5533;
    transition: all 0.4s ease-in-out;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

#S0 {
    width: 100%;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
}

#S0 h1 {
    white-space: pre-line;
    width: 100%;
    padding-top: 5rem;
    border: none;
    font-weight: 400;
    font-size: clamp(2rem, 8vw, 4.75rem);
    text-align: left;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    line-height: 110%;
}

#S0 h1::first-line {
    color: #FF5533;
    font-weight: 300;
}

.first {
    width: 54%;
    padding-top: 1.6rem;
    padding-bottom: 2.2rem;
    border: none;
    font-weight: 400;
    font-size: 1.6em;
    text-align: justify;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    line-height: 160%;
    text-shadow:
    0.5px  0.5px 5px rgba(0,0,0,.5),
    0.5px -0.5px 5px rgba(0,0,0,.5),
   -0.5px  0.5px 5px rgba(0,0,0,.5),
   -0.5px -0.5px 5px rgba(0,0,0,.5);  
  }

.first2 {
    width: 54%;
    padding-top: 1rem;
    padding-left: 0.3rem;
    border: none;
    font-weight: 400;
    font-size: 1.4em;
    text-align: justify;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    line-height: 160%;
    text-shadow:
    0.5px  0.5px 5px rgba(0,0,0,.5),
    0.5px -0.5px 5px rgba(0,0,0,.5),
   -0.5px  0.5px 5px rgba(0,0,0,.5),
   -0.5px -0.5px 5px rgba(0,0,0,.5);  
}

#S0 button {
    width: 12rem;
    height: 2.7rem;
    position: relative;
    background-color: #FF5533;
    color: #F3F6FB;
    border: none;
    font-size: 1.6em;
    font-weight: 300;
    vertical-align: middle;
    text-align: center;
    box-shadow: 0px 0rem 2em 0.1em #000000;
}

#S1 aside, #S2 aside, #S4 aside, #S5 aside {
    width: 12rem;
    height: 2.7rem;
    background-color: #4845AF;
    align-content: center;
    text-align: center;
    vertical-align: middle;
}

#S1 aside p, #S2 aside p, #S4 aside p, #S5 aside p {
    font-size: 1.6em;
    font-weight: 300;
    text-align: center;
    color: #F3F6FB;
}

#S1 {
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    background-color: #F3F6FB;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}

#S1 section{
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
}

#S1 .S1Text h2 {
    font-weight: 300;
    font-size: 1.6em;
    color: #06103D;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-bottom: 0.5em;
}

#S1 .S1Text h3 {
    padding-bottom: 0.7em;
    font-weight: 400;
    font-size: 3.6em;
    color: #06103D;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

#S1 .Text {
    color: #06103D;
}

#S1P1 {
    font-size: 1.6em;
    line-height: 160%;
    padding-bottom: 0.5em;
}

#S1P2 {
    font-size: 1.6em;
    line-height: 160%;
    padding-bottom: 2em;
}

#S1 aside {
    background-color: #4845AF;
}

#S1 aside a {
    color: #F3F6FB;
    text-decoration: none;
}

#AE {
    width: 47.5%;
    margin-inline-start: 0;
    margin-inline-end: 0;
    text-align: right;
}

#B01, #B02, #B03 {
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    padding-bottom: 2rem;
}

#S2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    background-color: #06103D;
    --col-gap: clamp(1rem, 4vw, 3rem);
    gap: var(--col-gap);
    justify-content: flex-start;
    align-content: center;
}

#S2 section {
    display: flex;
    flex-direction: column;
    width: calc((100% - 2 * var(--col-gap)) / 3);
    align-items: flex-start;
}

#S2 .HUB {
    width: 95%;
    font-weight: 400;
    font-size: 3em;
    color: #F3F6FB;
    text-align: left;
    padding-bottom: 2rem;
}

#S2 .PPText {
    width: 95%;
    font-weight: 400;
    font-size: 1.6em;
    color: #F3F6FB;
    padding-bottom: 2rem;
    line-height: 160%;
}


#S2 figure img {
    width: 95%;
    height: auto;
    display: block;
}

#S3 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    background-color: #F3F6FB;
    background-position: center;
    background-size: cover;
    justify-content: center;
}

#S3 .S3section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
}

#S3 h2 {
    width: 100%;
    padding-bottom: 0.7em;
    font-weight: 400;
    font-size: 3.6em;
    color: #06103D;
    text-align: left;
}

#S3 .S3Text1 {
    width: 100%;
    font-size: 1.6em;
    color: #06103D;
    line-height: 160%;
    text-align: left;
    padding-bottom: 0.7em;
}

#S3 .S3Text2 {
    width: 100%;
    font-size: 1.6em;
    color: #06103D;
    line-height: 160%;
    text-align: left;
    padding-top: 0.7em;
}

#S3 .menu {
    width: 100%;
    list-style: none;
    padding-left: 1em;
    font-weight: 400;
    font-size: 1.6em;
    color: #06103D;
    line-height: 200%;
}

#S3 .menu-item {
    background-image: url("../Images/Marke_Klein_16_Lila_Voll.png");
    background-size: 0.4em;
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding-left: 1em;
}

.highlight {
    color: #4845AF;
    font-weight: 500;
}

#S4 {
    width: 100%;
    background-image: url("../Images/ein-haus-mit-sonnenkollektoren-auf-dem-dach-3.jpg");
    background-size: cover;
    background-position: center;
    align-content: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
}

#S4 h2 {
    width: 100%;
    font-weight: 400;
    font-size: 3.6em;
    color: #06103D;
    text-align: left;
}

#S4 h3 {
    width: 100%;
    font-weight: 400;
    font-size: 1.6em;
    color: #06103D;
    text-align: left;
    padding-bottom: 4rem;
}

#S4 .S4P {
    background-color: #4845AF;
    white-space: pre-line;
    width: clamp(30ch, 29vw, 36ch); /* min ≈ 32 Zeichen, ideal ~34% der Viewportbreite, max ≈ 48 Zeichen */
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2.3em;
    font-weight: 300;
    font-size: 1.6em;
    color: #F3F6FB;
    text-align: left;
    align-content: center;
    box-shadow: 0px 0px 0.5rem 0rem #06103D;
}

.S4P .ADRE {
    line-height: 150%;
    padding-bottom: 1em;
}

#S4 .TE {
    display: flex;
    flex-direction: column;
    align-content: center;
}

.Tel {
    display: flex;
    flex-direction: row;
    gap: 0.7em;
    padding-bottom: 0.7em;
}

.Email {
    display: flex;
    flex-direction: row;
    gap: 0.7em
}

footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 4rem;
    background-color: #F3F6FB;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    align-items: center;
}

footer h2 {
    width: 70%;
    height: 2rem;
    font-weight: 300;
    font-size: 1.2em;
    color: #06103D;
    align-content: center;
}

footer a {
    height: 2rem;
    color: #06103D;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2em;
    margin: 0;
    align-content: center;
    text-align: right;
}



.soon-tooltip {
    position: fixed;
    left: 0; top: 0;
    transform: translateY(4px);
    max-width: 28rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #F3F6FB;
    background: #06103D;
    border-radius: 0.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
}
.soon-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

a[aria-disabled="true"][data-soon="register"] { opacity: 0.85; cursor: default; }



#S3Grid {
    width: 100%;
    padding-bottom: 8rem;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    background-color: #F3F6FB;
    display: flex;
    justify-content: center;
}


#S3Grid .S3Grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3-gap);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#S3Grid .S3Grid figure {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#S3Grid .S3Grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.4rem;
}


@media (max-width: 900px) {
    #S3Grid .S3Grid { grid-template-columns: 1fr; }
}

#S1 .S1Layout {
    display: grid;
    column-gap: var(--s3-gap);
    grid-template-columns: 1fr calc((min(100%, 1200px) - var(--s3-gap)) / 2);
    align-items: center;
}

#S1 .S1Layout {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.S1Layout {
    display: grid;
    grid-template-columns: 1fr calc((min(100%, 1200px) - var(--s3-gap)) / 2);
    column-gap: var(--s3-gap);
    align-items: center;
}

#S1 #AE { 
    width: 100%;
    margin: 0; 
}

#S1 #AE img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.4rem;
}
  
#S1 .S1Text { min-width: 0; }
  
#S1 #AE {
    margin: 0;
    width: 100%;
    max-width: none;
}

#S1 #AE img {
    display: block;
    width: 100%;
    height: auto;
}
  

@media (max-width: 900px) {
    #S1 .S1Layout { grid-template-columns: 1fr; }
}
  
@media (max-width: 900px) {
    .first { width: 100%; font-size: 1.2rem; }
}

@media (max-width: 600px) {
    #S0 h1 { font-size: clamp(1.75rem, 8vw, 2.75rem); }
}

@media (max-width: 600px) {
    nav, #S0, #S1, #S2, #S3, #S4, footer {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
}
  
@media (max-width: 900px) {
    #S0, #S3, #S3 .S3section {
      overflow-x: hidden;
      overflow-y: visible;
    }
}
   
@media (max-width: 600px) {
    :root, html { font-size: 75%; }
}

@media (max-width: 900px) {
    #S4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  
    .S4P {
      display: inline-block;
      width: auto;
      max-width: 100%;
      box-sizing: border-box;
  
      word-break: break-word;
      overflow-wrap: anywhere;

      padding: 1em 1.5em;
    }
  
    .Tel, .Email { align-items: center; gap: 0.7em; }
    .Tel p, .Email p { margin: 0; }
}
  
@media (max-width: 600px) {
    .S4P {
      min-width: 22ch;
    }
}

@media (max-width: 900px) {
    #S1 #AE { padding-top: var(--s3-gap);}
    #S1 {padding-bottom: 2rem;}
}

@media (max-width: 600px) {
    #S3Grid {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
}

@media (max-width: 600px) {
    #S2 { font-size: 0.75em; }
  
    #S2 h2 { font-size: 0.85em; line-height: 1.2; }
    #S2 h3 { font-size: 0.88em; line-height: 1.25; }
  
    #S2 p, #S2 li { font-size: 0.95em; }
}  
  
@media (max-width: 600px) {
    #S2 { padding-left: 1rem !important; padding-right: 1rem !important; }
  
    #S2 figure,
    #S2 figure img {
      display: block;
      width: 100% !important;
      max-width: 100%;
      box-sizing: border-box;
      margin-left: 0;
      margin-right: 0;
    }

    #S2 aside,
    #S2 .S2aside {
      display: block;
      width: 100% !important;
      max-width: 100%;
      box-sizing: border-box;
      margin-left: 0;
      margin-right: 0;
    }

    #S2 figure { margin-bottom: 1rem; }
}


@media (max-width: 600px) {
    footer { font-size: 0.85em; line-height: 1.35; }
    footer small { font-size: 0.8em; }
}  