/* Grundlegende Formatierung */
body {
    margin: 0;
    padding: 0;
    background-color: #245473;
    font-family: "Quicksand", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.image-container {
    position: relative;
    width: 99vw;
    height: 99vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Das Bild mit Filter */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.welcome {
    position: absolute;
    top: 10%;
    right: 21%;
    transform: translateY(-50%);
    z-index: 2;
    width: auto;
    height: auto;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    color: black;
    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 1.3;
    font-family: playwrite-cc-ca, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.team {
    position: absolute;
    bottom: 2%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    width: auto;
    height: auto;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    color: black;
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1.3;
    font-family: playwrite-cc-ca, sans-serif;
}

.boxen {
    position: absolute;
    z-index: 2;
    transform: translateY(-50%);
    background-color: #245473;
    max-width: 40vw;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
    font-size: clamp(0.6rem, 1.0vw, 1.2rem);
    line-height: 1.3;
}

.text-box {
    top: 25%;
    left: 5%;
}

.text-box2 {
    bottom: 15%;
    left: 11%;
}

.right {
    text-align: right;
}
.left {
    text-align: left;
    margin-top: 0;
}
.center {
    text-align: center;
}
.bold {
    font-weight: 600;
}
.big {
    font-size: 1.6em;
}
.spacer {
    margin-top: 30px;
}

.text-box p {
    margin: 8px 0;
    line-height: 1.1;
}

.sprechzeiten {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}
.sprechzeiten .row {
    display: grid;
    grid-template-columns: 120px auto;
    gap: 10px;
}
.sprechzeiten .day {
    text-align: left;
    font-weight: 600;
}
.sprechzeiten .time {
    text-align: left;
}

.komm {
    display: grid;
    gap: 5px;
    margin-top: 20px;
}
.komm .row {
    display: grid;
    grid-template-columns: 50px auto;
    gap: 15px;
}
.komm .pikto {
    display: flex;
    align-items: center;
}
.komm .kommtext {
    text-align: left;
}

.kommtext a {
    color: white;
    text-decoration: none;
}

.kommtext a:hover {
    text-decoration: underline;
}

#impressum-button {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #245473;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

/* Modal-Hintergrund */
#impressum-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal-Inhalt */
#impressum-content {
    background-color: #245473;
    color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

/* Schließen-X */
.close-button {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

/* Copyright Hinweis */
footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    color: white;
    margin-top: 40px;
}
