body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Zentrierte Startseite */
.startseite {
    background-color: rgba(128, 128, 128, 0.53); 
    background-image: url('images/hintergrund.png');
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}


.startseite h1 {
    font-size: 48px; 
    font-weight: bold;
}


@media screen and (max-width: 600px) {
    .startseite h1 {
        font-size: 35px; 
    }
}

/* Boxen mit Bild und Text */
.box-container {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.box-c img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Fetter Button */
.cta-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 24px;
    text-decoration: none;
    margin: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Moderner Hover-Effekt */
.cta-button:hover {
    background-color: #45a049; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4); 
}

/* Stil für den Textinhalt der Boxen*/
.box p {
    font-size: 18px;
    margin-top: 10px;
}


header, footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
}

header h1 {
    margin: 0;
}

/* Grundlegender Stil für die Navbar */
.navbar {
    list-style-type: none;
    margin: 0 auto; 
    padding: 0;
    overflow: hidden;
    background-color: #333;
    text-align: center; 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    width: 100%; 
    height: 80px;
    line-height: 80px; 
}

/* Stil für die Nav-Elemente */
.navbar li {
    display: inline-block;
}

.navbar li a {
    display: block;
    color: white;
    padding: 10px 16px; 
    text-decoration: none;
    transition: background-color 0.3s ease, border-radius 0.3s ease; 
    line-height: normal; 
}

/* Hover-Effekt*/
.navbar li a:hover {
    background-color: #111;
    border-radius: 10px; 
}



/* Stil für den Hauptinhalt */
main {
    padding: 20px;
}

.text-box {
    background-color: #f2f2f2;
    padding: 40px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center; 
}

.text-box p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Zusätzlicher Stil für Überschriften in der Textbox*/
.text-box h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.image-gallery img {
    max-width: 30%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsivität */
@media (max-width: 768px) {
    .image-gallery {
        justify-content: center;
        padding: 0 20px;
    }

    .image-gallery img {
        margin: 20px 0;
        max-width: 100%;
    }
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.external-link-button {
    background-color: #4CAF50;
    color: white;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
    margin-bottom: 30px;
}

.external-link-button:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}


/* Stil für den Footer */
footer {
    margin-top: 5rem;
    bottom: 0;
    width: 100%;
}

/* Responsivität für Mobilgeräte */
@media (max-width: 768px) {
    .image-gallery img {
        max-width: 100%;
    }
}

#team {
    text-align: center;
    padding: 20px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-box {
    width: 30%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (min-width: 600px) and (max-width: 1100px) {
    .team-box {
        width: 48%;
    }
}

/* Media Query für Handy-Format*/
@media screen and (max-width: 600px) {
    .team-box {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .team-container {
        justify-content: center;
    }
}

.team-box img {
    width: 100%;
    height: auto;
    display: block;
}

.team-box p {
    padding: 10px;
    margin: 0;
    background-color: #f8f8f8;
}

.team-box:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

h3 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin: 0.5em 0;
    padding: 10px;
    padding-top: 60px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-link a {
    color: white;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-link a:hover {
    text-decoration: underline;
}

h5 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin: 0.5rem 0;
    padding: 10px;
    padding-top: 60px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 50px;
    padding-top: 50p;
}

h4 {
    text-align: center;
    font-size: 1.5em;
    color: #333;
    margin: 0.5rem 0;
    padding: 10px;
    padding-top: 60px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 50px;
    padding-top: 50p;
}

.gurkeimpressum {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(0.7);
}

.gurkeimpressum:hover {
    transform: scale(0.8);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-box {
    text-align: center;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: 0 auto; 
    max-width: 93%; 
}

.contact-box h2 {
    margin-bottom: 20px; 
}

.social-icons {
    display: flex;
    justify-content: center; 
    gap: 20px;
}

.social-icon img {
    height: 50px; 
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: rotate(360deg); 
}

@media (max-width: 900px) {
    .contact-box {
        margin: 20px; 
        max-width: 100%; 
    }
}