

/* General Styles */
::-webkit-scrollbar {
    display: none;
}

*, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

/* Header */
header {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

header .logo {
    overflow: hidden;
}

header .logo img {
    height: 80px;
}

header .termin {
    overflow: hidden;
}

/* Main Section */
main {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
    color: white;
    padding-bottom: 30px;
}

.border {
    height: 3px;
    background-color: rgba(27, 27, 27, 0.9);
    border-radius: 20px;
    margin: 10px 1px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome {
    width: 80%;
    position: relative;
    z-index: 2;
}

.welcome h1 {
    margin-top: 20px;
    font-size: 72px;
}

.welcome p {
    font-size: 28px;
    margin-top: 80px;
}

.main {
    margin: 20px 40px;
}

/* Marken Container */
.marken-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    z-index: 0;
    margin-bottom: 50px;
}

.marke {
    transition: 0.4s;
    height: 250px;
}

.marke img {
    height: 240px;
}

.marke:hover {
    transform: scale(1.2);
    cursor: pointer;
}

/* Modal */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    text-align: center;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    z-index: 10000;
    color: black;
    width: 80%;
    max-width: 600px;
    box-sizing: border-box;
}

.modal-content h2 {
    font-size: 24px;
}

.modal-content .locations {
    display: flex;
    flex-direction: column;
}

.modal-content .modal-link {
    text-decoration: none;
    color: black;
    background-color: #f1c50f;
    margin: 15px 30px;
    padding: 20px;
    font-size: 22px;
    border-radius: 10px;
    transition: 0.4s;
}

.modal-content .modal-link:hover {
    text-decoration: none;
    color: black;
    background-color: rgba(255, 230, 131, 0.61);
    transform: scale(1.1);
}

#close-modal {
    float: right;
    font-size: 22px;
    border-radius: 50%;
    z-index: 10010;
    transition: 0.3s;
}

#close-modal:hover {
    cursor: pointer;
    color: red;
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: #232323;
    color: white;
    padding: 30px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .container .box {
    padding: 20px;
    box-sizing: border-box;
}

footer .box p {
    font-size: 16px;
    letter-spacing: 0.6px;
}

footer .box p span {
    font-weight: bold;
    font-size: 18px;
}

footer .box p a {
    text-decoration: none;
    color: white;
}

footer .center {
    display: flex;
    justify-content: center;
    width: 100%;
}

footer .center .copyright {
    font-size: 14px;
    margin-top: 20px;
}

.rest-links {
    float: right;
    margin-right: 15%;
    margin-left: 50px;
    margin-top: 40px;
}

.rest-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

/* Termin Button */
.termin-button {
    position: relative;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    background-color: #f1c50f;
    color: black;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.termin-button:hover {
    background-color: rgba(241, 197, 15, 0.8);
    transform: scale(1.09);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
    }

    header .logo img {
        height: 60px;
    }

    .welcome h1 {
        font-size: 48px;
    }

    .welcome p {
        font-size: 20px;
    }

    .marken-container {
        gap: 20px;
        padding: 20px;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }

    footer .container .box {
        padding: 20px 0;
    }

    .rest-links {
        float: none;
        margin: 20px auto;
        text-align: center;
    }

    .rest-links a {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    header .logo img {
        height: 50px;
    }

    .welcome h1 {
        font-size: 36px;
    }

    .welcome p {
        font-size: 16px;
    }

    .marke {
        height: 150px;
    }

    .marke img {
        height: 140px;
    }
}
