@font-face {
    font-family: "OpenSauceOne"; /* Choose a name for your font */
    src: url("OpenSauceOne-Light.ttf") format("truetype");
    font-weight: 300; /* Assuming the font weight is light (300) */
}

.logo-container {
    position: fixed;
    top: 0;
    right: 36px;
    z-index: 2;
}

.logo-container img {
    height: 80px; /* Passt die Höhe des Logos an */
    width: auto; /* Bewahrt die Proportionen des Logos */
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative; /* Positionierung auf relativ setzen */
    font-size: 16px; /* Basis für die rems */
}

h1,
h2,
h3,
body,
p,
a {
    font-family: "OpenSauceOne", sans-serif;
    font-weight: 300;
    line-height: 1;
}

p,
a {
    font-size: 1.375rem;
    line-height: 1.5;
}

h2,
p,
a {
    text-align: right;
}

li {
    text-align: left;
    font-size: 1.375rem;
    line-height: 1.5;
}

.p-width {
    max-width: 96%;
}

.reverse p {
    text-align: left;
    max-width: 85%;
}

.reverse h2 {
    text-align: left;
    max-width: 97%;
}

.reverse h1 {
    text-align: left;
    margin-top: 20%;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

/* Anwenden der Farbvariablen auf die Menübuttons */
.horizontal-menu a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 0.4px;
    transition: opacity 0.3s ease;
    opacity: 1;
    margin-right: 0.5px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: var(--color-1);
}

/* Definieren der Farbvariablen */
:root {
    --color-1: black;
    --color-2: rgb(223, 66, 109);
    --color-3: rgb(225, 215, 68);
    --color-4: rgb(77, 189, 198);
    --color-5: black;
    --color-6: rgb(223, 66, 109);
    --color-7: rgb(225, 215, 68);
    --color-8: rgb(117, 173, 181);
    --color-start: rgb(128, 187, 189);
    --color-mid: rgb(113, 167, 177);
    --color-end: rgb(97, 146, 167);
}

.horizontal-menu {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1;
}

.horizontal-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horizontal-menu li {
    margin-bottom: 1px;
}

.horizontal-menu a {
    color: transparent;
    text-decoration: none;
    display: block;
    padding: 15px;
    position: relative;
}

.horizontal-menu a span {
    font-family: "OpenSauceOne", sans-serif;
    font-size: 21px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    right: 5px; /* Anpassung des rechten Abstands des Textes */
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    white-space: nowrap; /* Verhindert, dass der Text umgebrochen wird */
}

.horizontal-menu li:hover a span {
    opacity: 1;
}

/* CSS für die Wabenform der Menüpunkte mit verschiedenen Farben */
.horizontal-menu a::before {
    background-color: var(--color-1); /* Button 1 erhält Farbe */
}

.horizontal-menu li:nth-child(1) a::before {
    background-color: var(--color-1); /* Button 2 erhält Farbe */
}

.horizontal-menu li:nth-child(2) a::before {
    background-color: var(--color-2); /* Button 3 erhält Farbe */
}

.horizontal-menu li:nth-child(3) a::before {
    background-color: var(--color-3); /* Button 4 erhält Farbe */
}

.horizontal-menu li:nth-child(4) a::before {
    background-color: var(--color-4); /* Farbe für Button 5 */
}

.horizontal-menu li:nth-child(5) a::before {
    background-color: var(--color-5); /* Farbe für Button 6 */
}

.horizontal-menu li:nth-child(6) a::before {
    background-color: var(--color-6); /* Farbe für Button 7 */
}

.horizontal-menu li:nth-child(7) a::before {
    background-color: var(--color-7); /* Farbe für Button 8 */
}
.horizontal-menu li:nth-child(8) a::before {
    background-color: var(--color-8); /* Farbe für Button 8 */
}
.horizontal-menu li:hover a::before {
    opacity: 0; /* Quadrat unsichtbar machen beim Hover */
}

.section {
    display: flex;
    align-items: stretch; /* Inhalte vertikal */
    height: 100vh; /* Mindesthöhe von 100% des Viewport */
    background-color: #283234; /* Hintergrundfarbe für die gesamte Textspalte */
}

/* CSS für die Wabenform der Bilder */
.reverse .image {
    /*clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); alte version */
}

/* Hintergrundfarbe für die Textabschnitte */
.section .text {
    background-color: white;
}

.section .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative; /* Positionierung auf relativ setzen */
    z-index: 0; /* Standard z-index-Wert für die Sektion */
    background-color: #283234; /* Hintergrundfarbe für die gesamte Textspalte */
}

.section .image {
    flex: 1; /* Beide nehmen den gleichen Platz ein */
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* Mindesthöhe von 100% des Viewport */
}

.section .text {
    flex: 1; /* Beide nehmen den gleichen Platz ein */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; /* Textfarbe für den Textbereich */
    background-color: #283234; /* Hintergrundfarbe für die gesamte Textspalte */
}

a {
    color: white;
}

.section.reverse {
    flex-direction: row-reverse; /* macht die abschnitte in abwechselnder reihenfolge */
}

.text {
    display: flex;
    flex-direction: column; /* innerhalb des textabschnitts die texte uebereinander */
}

.text-container {
    max-width: 80%; /* macht Abstand links und rechts vom Text innerhalb containers */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.reverse .text-container {
    align-items: flex-start;
}

#abschnitt8 h2 {
    color: white;
}

.impressum-text {
    text-align: right;
    color: white;
}

.impressum-text a {
    display: block;
}

.p-width.impressum {
    min-width: 100%;
}

.separator {
    width: 50%; /* Set width to 80% */
    background-color: white; /* Set background color to white */
    border: none; /* Remove default border */
    border-radius: 5px; /* Set rounded corners with 5px radius */
    margin: 10px 0; /* Add optional margin for spacing */
    height: 1px;
}

.back-to-top-btn {
    display: none; /* Den Button standardmäßig ausblenden */
    position: fixed; /* Positionierung auf fest setzen */
    bottom: 20px; /* Abstand zum unteren Rand */
    right: 20px; /* Abstand zum rechten Rand */
    padding: 5px; /* Innenabstand */
    padding-left: 10px;
    padding-right: 10px;
    background-color: red; /* Hintergrundfarbe */
    color: white; /* Textfarbe */
    border-radius: 50%; /* Kreisförmiger Button */
    text-decoration: none; /* Keine Unterstreichung für den Link */
    transition: opacity 0.3s; /* Animiere die Opazität */
    z-index: 2;
}

.back-to-top-btn:hover {
    opacity: 0.8; /* Verringere die Opazität beim Hover */
}

#abschnitt3 .text {
    clip-path: polygon(
        0% 0%,
        75% 0%,
        100% 25%,
        100% 75%,
        75% 100%,
        25% 100%,
        0% 100%,
        0% 25%
    );
}

/* ************************************
Farben
*******************************************/

#abschnitt4 .text {
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 75%, 0% 25%);
}
#abschnitt1 .text {
    background: var(--color-8);
    color: #283234;
}

#abschnitt2 .text {
    background-color: rgb(223, 66, 109);
}

#abschnitt2b .text {
    background-color: var(--color-3);
    color: var(--color-1);
}

#abschnitt2b .separator {
    background-color: var(--color-1);
}

#abschnitt3 .text {
    background-color: rgb(225, 215, 68);
    color: #283234;
}

#abschnitt1 .separator {
    background-color: #2b3537;
}

#abschnitt3 .separator {
    background-color: #283234;
}

#abschnitt5 .separator {
    background-color: #2b3537;
}

#abschnitt4 .text {
    background: var(--color-8);
    color: #283234;
}

#abschnitt4 .separator {
    background-color: #283234;
}

#abschnitt3,
#abschnitt4 {
    background-color: white;
}
#abschnitt5 .text {
    background: var(--color-8);
    color: #283234;
}
#abschnitt6 {
    background-color: rgb(223, 66, 109);
}

#abschnitt6 .text {
    background-color: rgb(223, 66, 109);
}

#abschnitt7 {
    background-color: rgb(225, 215, 68);
}

#abschnitt7 .text {
    background-color: rgb(225, 215, 68);
    color: #283234;
}

#abschnitt7 .separator {
    background-color: #283234;
}
#abschnitt8 .text {
    color: #283234;
    align-items: flex-end;
}

#abschnitt8 .text-container {
    margin-right: 10%;
}

/*
#ende {
    background-color: var(--color-8);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.ende-polygon {
    background-color: white;
    clip-path: polygon(15% 0%, 85% 0%, 85% 75%, 50% 100%, 15% 75%, 15% 0%);
}
*/

/* ************************************
animationen
*******************************************/
h2,
p {
    opacity: 0; /* Initially transparent */
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards; /* Animation properties */
}

@keyframes fadeIn {
    from {
        opacity: 0.2;
    } /* Start from transparent */
    to {
        opacity: 1;
    } /* Animate to fully visible */
}

/* ************************************
ende section layout etc
*******************************************/

#ende {
    background-color: white;
}

#ende {
    height: auto !important;
}

.ende-container {
    display: flex;
    gap: 2rem;
    padding-top: 6rem;
    padding-left: 6rem;
    padding-right: 6rem;
    padding-bottom: 10rem;
}

.h2-ende,
.p-ende,
.a-ende {
    opacity: 1;
    color: rgb(41, 41, 41);
}

.p-ende,
.a-ende {
    font-size: 1rem;
    text-align: center;
}

.p-ende {
    min-height: 192px;
}

.ende-logo {
    max-width: 12rem;
    max-height: 70px;
}

#ende {
    background-color: var(--color-8);
    padding-bottom: 6rem;
}

.ende-polygon {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    clip-path: polygon(5% 0%, 95% 0%, 95% 75%, 50% 100%, 5% 75%, 5% 0%);
}

.ende-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 248px;
}

.nowrap {
    white-space: nowrap;
}

/* ************************************
feedback und bitte horizontales layout
*******************************************/

.horizontal-layout {
    flex-direction: column;
    height: auto;
}

#abschnitt1b .image {
    min-height: 75vh;
}

#abschnitt1b .text {
    background-color: var(--color-8);
    color: var(--color-1);
}

#abschnitt1b p {
    text-align: center;
    margin-bottom: 2rem;
}

#abschnitt1b .text-container {
    align-items: center;
}

#abschnitt1b .separator {
    background-color: var(--color-1);
}

#abschnitt2 {
    display: none;
}

.bg-pink {
    background-color: var(--color-2) !important;
}

.p-white {
    color: white !important;
}

.bg-white {
    background-color: white !important;
}

.image-reverse {
    transform: scaleX(-1);
}

/* ************************************
video
*******************************************/
#abschnitt0 {
    display: flex;
    justify-content: center;
}

#abschnitt0 video {
    width: 100%;
    height: auto;
    max-width: 90vw;
}

/* ************************************
media queries 
*******************************************/

@media (max-width: 850px) {
    .horizontal-menu {
        display: none;
    }

    .section {
        display: block;
        height: auto;
    }

    .image {
        height: 90vh;
        overflow: hidden;
    }

    .text {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .text-container {
        max-width: 90%;
    }

    .reverse p {
        max-width: 100%;
    }

    #abschnitt8 .text-container {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    #ende {
        background-color: white;
        padding-bottom: 0;
    }

    .ende-polygon {
        clip-path: none;
    }

    .ende-container {
        flex-direction: column;
        gap: 4rem;
        padding-left: 0;
        padding-right: 0;
        align-items: center;
    }

    .p-ende {
        min-height: auto;
    }

    .ende-column {
        max-width: 90%;
    }
}

@media (max-width: 920px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2rem;
    }
    p,
    li,
    a {
        font-size: 1.25rem;
    }
    #abschnitt1.text-container,
    #abschnitt2.text-container,
    #abschnitt5.text-container {
        min-width: 100%;
    }
}

/* ************************************
impressumsseite stylings 
*******************************************/
.othersite-body {
    background-color: var(--color-8);
    padding-bottom: 2rem;
}

.othersite-content {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
}

.othersite-content p {
    opacity: 1;
    text-align: left;
}

.othersite-content h2 {
    opacity: 1;
    text-align: left;
}

.othersite-content h1 {
    font-size: 2rem;
}

.othersite-content h2 {
    font-size: 1.5rem;
}

.othersite-content p {
    font-size: 1rem;
}

.othersite-container {
    background-color: white;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 2rem;
}

/* alt, machte probleme
@media (max-width: 500px) {
    .section {
        flex-direction: column;
    }

    .section.reverse {
        flex-direction: column;
    }

    .section.reverse .image {
        order: -1;
    }

    .text {
        clip-path: none !important;
        overflow: hidden !important;
        padding: 1rem;
        background-color: pink !important;
    }

    .section .text {
        background-color: white;
    }

    .image {
        margin-bottom: 1rem;
    }

    .logo-container {
        top: 20px;
        left: 20px;
    }

    .horizontal-menu {
        display: none; 
    }

    .impressum-linktext {
        font-size: 1rem;
    }
}

*/

/* 

}*/

/*
    #abschnitt3 .text {
        clip-path: polygon(
            0% 0%,
            80% 0%,
            100% 25%,
            100% 75%,
            80% 100%,
            25% 100%,
            0% 100%,
            0% 25%
        );
    }

    #abschnitt4 .text {
        clip-path: polygon(
            20% 0%,
            100% 0%,
            100% 100%,
            20% 100%,
            0% 75%,
            0% 25%
        );
    }




  layout untereinander statt nebeneinander
  schriftarten
  menu als burger
  */

/* 
p, a {
  font-size: 1.375rem;
 

li {
  text-align: left;
  font-size: 1.375rem;
  line-height: 1.5;


h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

*/

/* nicht benötigt
<!-- mobiles Menü -->  
<div class="hamburger-menu">
</div>

 <nav class="hidden-menu">
   <ul>
     <li><a href="#abschnitt1"><span>Start</span></a></li>
          </ul>
 </nav>

.hamburger-menu, .hidden-menu {
  display: none;

}*/
