@font-face {
    font-family: "Montserrat";
    src:
        local("Montserrat-VariableFont_wght"),
        url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype")
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-color: #f0f2f4;
    font-family: "Montserrat";
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #0057B7;
    padding: 50px 0px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

p {
    line-height: 1.5;
    margin-bottom: 15px;
}

#table-container {
    width: 100%!important;
    overflow-x: auto;
}

#day-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    align-content: start;
    gap: 10px;
    margin-bottom: 30px;
}

.day-tab {
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat";
    font-size: 18px;
    font-weight: bold;
    padding: 0 12px;
    border: 2px solid #0057B7;
    border-radius: 8px;
    background-color: transparent;
    color: #0057B7;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.day-tab:hover {
    background-color: #e1e9f5;
}

.day-tab.active {
    background-color: #0057B7;
    color: white;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
    width: 100%;
}

#loading {
    font-style: italic;
}
#error {
    color: red;
    font-weight: bold;
}

.bodyWrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 200px;
    max-width: 60%;
    margin-bottom: 25px;
}

h1 {
    text-align: center;
    font-family: "Montserrat";
    font-size: clamp(30px, 6vw, 62px);
    margin-bottom: clamp(24px, 5vw, 50px);
    font-weight: bold;
}

th {
    text-align: left;
    padding-bottom: 25px;
}

td {
    padding: 8px;
    text-align: left;
}

table tr:nth-child(2n) {
    background-color: #0057B7;
    color: white;
}

.contentWrapper {
    display: flex;
    width: 100%;
}

.contentWrapper .contentTable {
    width: 60%;
    margin-right: 75px;
    display: block;
}

.contentText {
    width: 40%;
}

.contentText img {
    width: 150px;
    max-width: 100%;
    float: right;
    margin-top: 25px;
}

/* Tablet / schmale Desktops: Inhalt untereinander */
@media (max-width: 1024px) {
    .contentWrapper {
        flex-direction: column;
    }
    .contentWrapper .contentTable {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .contentText {
        width: 100%;
    }
}

/* Mobil: kompaktere Abstände und Buttons */
@media (max-width: 600px) {
    body {
        padding: 30px 0;
    }
    #day-tabs {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 8px;
        margin-bottom: 24px;
    }
    .day-tab {
        font-size: 16px;
        padding: 10px 8px;
    }
    th {
        padding-bottom: 15px;
    }
    td {
        padding: 6px;
    }
    .contentText img {
        float: none;
        display: block;
        margin: 20px auto 0;
    }
}
