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

:root { font-size: 100%; }

* {
    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;
    margin: 0;
}

#SBig {
    display: block;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #F3F6FB;
    background-size: cover;
    background-position: center;
}

nav {
    width: 100%;
    padding-right: clamp(1rem, 15vw, 100rem);
    padding-left: clamp(1rem, 15vw, 100rem);
    border: none;
    color: #06103D;
    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%;
}

#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%;
    white-space: pre-line;
    font-size: 1.6em;
    color: #06103D;
    line-height: 160%;
    text-align: left;
    padding-bottom: 0.7em;
}

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

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

.Überschrift {
    font-weight: 500;
    font-size: 1.6em;
    line-height: 2.5em;
}

.highlight {
    color: #4845AF;
    font-weight: 500;
    line-height: 1.5em;
}

#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;
}

#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;
}



#S30 {
    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: #06103D;
    background-position: center;
    background-size: cover;
    justify-content: center;
    color: #F3F6FB;
}

#S30 h2 {
    font-size: 3.6em;
    margin-bottom: 0.5em !important;
    font-weight: 400;
}

#S30 form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

#S30 label {
    font-size: 1.6em;
    font-weight: 500;
    padding-bottom: 0.75em;
    padding-top: 1.5em;
}

#S30 input,
#S30 textarea {
    width: 100%;
    padding: 0.8rem 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.6em;
    font-family: 'Forza', sans-serif;
    color: #06103D;
    background-color: #ffffff;
}

#S30 textarea {
    resize: vertical;
    height: 150px;
    margin-bottom: 3rem;
}

#S30 button {
    padding: 1em 4em;
    background-color: #4845AF;
    color: #F3F6FB;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6em;
    font-family: 'Forza', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 2.75em !important;
}

#S30 button:hover {
    background-color: #33328F;
}

#success-message {
    text-align: center;
    font-family: 'Forza', sans-serif;
    font-weight: 400;
    font-size: 3em;
    line-height: 2;
}

.password-hint {
    display: none;
    color: #888;
    font-size: 1.6em;
    margin-top: 1em !important;
}



#S40 {
    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-image: url("../Images/ein-haus-mit-sonnenkollektoren-auf-dem-dach-3.jpg");
    background-size: cover;
    background-position: center;
    color: #F3F6FB;
}

#S40 h2 {
    font-size: 3.6em;
    font-weight: 400;
}

#S40 form {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
}

#S40 label {
    font-size: 1.6em;
    font-weight: 500;
    padding-bottom: 0.75em;
    padding-top: 1.5em;
}

#S40 input,
#S40 textarea {
    width: 100%;
    padding: 0.8rem 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.6em;
    font-family: 'Forza', sans-serif;
    color: #06103D;
    background-color: #ffffff;
}

#S40 textarea {
    resize: vertical;
    height: 150px;
    margin-bottom: 3rem;
}

#S40 button {
    padding: 1em 4em;
    background-color: #4845AF;
    color: #F3F6FB;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6em;
    font-family: 'Forza', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 2.75em !important;
}

#S40 button:hover {
    background-color: #33328F;
}

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-page main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-page #S40 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-page #S40 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 11rem;
}






body.Projekte {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.Projekte main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.Projekte #SProjekte {
    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-image: url("../Images/ein-haus-mit-sonnenkollektoren-auf-dem-dach-3.jpg");
    background-size: cover;
    background-position: center;
    color: #F3F6FB;
    flex: 1;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6em !important;
    background-color: #F3F6FB;
    color: #06103D;
    margin-top: 1em !important;
}

.project-table th,
.project-table td {
    border: 1px solid #06103D;
    padding: 8px;
    text-align: left;
}

.project-table th {
    background-color: #4845AF;
    color: #F3F6FB;
}

#SProjekte h2 {
    font-family: Forza;
    font-weight: 600;
    font-size: 2em;
    color: #06103D;
}

.anbieter-inner-table {
    width: 100%;
    border-collapse: collapse;
}

.anbieter-inner-table td {
    border: none;
    padding: 8px;
}

.anbieter-inner-table .anbieter-border-bottom td {
    border-bottom: 1px solid #06103D;
}

.project-table td.anbieter-cell {
    border-right: none;
}

.project-table td.angebot-cell {
    border-left: 1px solid #06103D;
}




.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; }









#S3 .S3Grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 5rem;
}
#S3 .S3Grid figure {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#S3 .S3Grid img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0.4rem;
}

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

@media (max-width: 600px) {
    nav, #S1, #S2, #S3, #S4, footer {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
}

@media (max-width: 900px) {
    #S3, #S3 .S3section, #S30, #S40, body.Projekte #SProjekte {
      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: 600px) {
    footer { font-size: 0.85em; line-height: 1.35; }
    footer small { font-size: 0.8em; }
}  