/* Allgemeine Stile */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 2vh;
    height: 100%;
    line-height: 1.8;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #2a2a2a;
}
.top-buttons {
    text-align: right;
    padding: 15px;
    background-color: #30b4b1 !important; /* Hintergrundfarbe der Button-Leiste */
    position: sticky;
    z-index: 9999;
    top: 0;
}

.top-buttons button {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 2vh;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #30b4b1; /* Button-Farbe */
    color: #2a2a2a;
    cursor: pointer;
    border-radius: 5px;
}

.top-buttons button:hover {
    background-color: #2a2a2a; /* Button-Farbe beim Hover */
    color: #30b4b1;
}

/* Header-Stil */
.header {
    position: relative;
    width: 100%;
    height: 300px;
    color: #2a2a2a;
    background-color: #30b4b1;
    background-position: center;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.header.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Linksbündiger Text */
.header .left-text {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 6vh;
    display: block;
    padding-left: 10%;
}
.header .left-text-small {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 3.5vh;
    display: block;
    padding-left: 10%;
    color: #2a2a2a !important;
}


h1{
    width: 60%;
    text-align: center;
    margin: 0 auto;
    padding: 5% 0 1%;
}

.main-content{
    margin: 5% 10% 5% 10% ;
}

.contact-form {
    font-size: 20px;
    max-width: 40%;
    margin: 0 auto;
    padding: 5%;
    border: 3px solid #2a2a2a;
    border-radius: 0;
    background-color: #30b4b1;
}

.contact-form input, .contact-form textarea {
    width: 95%;
    display: flex;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.contact-form button {
    font-size: 20px;
    padding: 10px 15px;
    margin-top: 15px;
    background-color: #2a2a2a;
    color: #30b4b1;
    border: 3px solid #2a2a2a;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #30b4b1;
    color: #2a2a2a;
    border: 3px solid #2a2a2a;
}
.footer {
    margin-top: 5%;
    background-color: #2a2a2a;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    width: 100%;
    height: 130px;
    font-size: 2vh;
    bottom: 0;
}

.footer a {
    color: #30b4b1;
    text-decoration: none;
    font-size: 2vh;
}

.footer a:hover {
    text-decoration: underline;
}

footer p{
    margin: 2vh 0 2vh 0;
    font-size: 2vh;
    text-align: center;
}


.section {
    display: flex;
    align-items: flex-start;
    margin: 0 10%;
    opacity: 0; /* Start als unsichtbar */
    transform: translateY(50px); /* Nach unten verschoben */
    transition: opacity 1s ease, transform 1s ease;
}
.section.visible {
    opacity: 1; /* sichtbar */
    transform: translateY(0); /* normale position */
}

.section img, section iframe {
    max-width: 40%;
    border-radius: 5px;
}

.section .text {
    flex: 1;
    padding: 0 5px;

}

.section h2 {
    margin-bottom: 10px;
    margin-top: 5%;
}

.section p {
    margin: 10px 0;
}

/* Links ausgerichteter Text, Bild rechts */
.section.left .text {
    order: 1;
    text-align: justify;
    margin-top: 12%;
}

.section.left img, section.left iframe {
    order: 2;
    margin-left: 20px;
    margin-top: 10%;
}

/* Rechts ausgerichteter Text, Bild links */
.section.right .text {
    order: 2;
    text-align: justify;
    margin-top: 8%;
}

.section.right img, section.right iframe {
    order: 1;
    margin-right: 5%;
    margin-top: 5%;
}
/*Mittig ausgerichteter Text, kein Bild */
.section.full .text {
    text-align: justify;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .section img, .section iframe {
        margin: 0 0 20px 0;
        max-width: 100%;
    }

    .section .text {
        text-align: justify;
        padding: 0;
    }
}

textarea{
    resize: vertical;
    font-family: 'Arial', Arial, sans-serif;
}

a{
    color: #30b4b1;
    text-decoration: none;
}

a:hover{
    color: #30b4b1;
    text-decoration: underline;
}