* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

nav {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.nav-logo {
    height: 3.5rem;
    width: auto;
    flex-shrink: 0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.banner {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-left: auto;
    margin-right: auto;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background-color: #1f2937;
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

section {
    scroll-margin-top: 70px;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

h2 {
    color: #1f2937;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

a {
    color: #9ca3af;
    text-decoration: none;
}

footer {
    background-color: #0e6ba0;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;
}

@media (max-width: 640px) {
    nav {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: -100%;
        transform: none;
        flex-direction: column;
        background-color: #fff;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        padding: 1.25rem;
        width: 100%;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    section {
        scroll-margin-top: 80px;
        margin: 1rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* Booking section */
#article-select {
    margin-top: 1rem;
}

#article-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

#article-list button {
    color: #333;
}

#estimated-time {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: normal;
}

#calendar-container {
    margin-top: 1.5rem;
    display: none;
}

#calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#calendar-header button {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
}

#current-month {
    font-size: 1.2rem;
}

#calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

#calendar-grid>.day-header {
    font-weight: bold;
    padding: 0.5rem;
}

#booking-form {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

#booking-form h3 {
    margin-bottom: 1rem;
}

#time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#booking-details {
    display: none;
}

#booking-details input,
#booking-details textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

#booking-details textarea {
    resize: vertical;
}

#confirm-booking {
    width: 100%;
    padding: 0.75rem;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

#booking-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

section p+p {
    margin-top: 1rem;
}

section ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

#kontakt a {
    color: black;
}