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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: #2b5278;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 48px;
    width: 48px;
}

.header-title {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Hero */
.hero {
    position: relative;
    height: 500px;
    background-image: url('./rathaus-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero > div {
    padding: 1rem;
    background-color: rgba(43, 82, 120, 0.75);
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* News Section */
.news-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.news-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.news-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.news-card {
    min-width: 300px;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-card p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-button {
    color: #4798b1;
    text-decoration: underline;
    cursor: pointer;
}

/* Parking Form */
.parking-section {
    padding: 3rem 0;
    background-color: #e8eef3;
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d8dfe5;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #2b5278;
    color: white;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #3b7db5;
}

/* PDF Section */
.pdf-section {
    padding: 3rem 0;
}

.pdf-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fafafa;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pdf-link {
    color: inherit;
    text-decoration: none;
}

/* Services */
.services-section {
    padding: 3rem 0;
    background-color: #e8eef3;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 24px;
    height: 24px;
    color: #2b5278;
    flex-shrink: 0;
}

.service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Calendar */
.calendar-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e8eef3;
}

th {
    background-color: #2b5278;
    color: white;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #2b5278;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

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

.footer-disclaimer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

/* Warning Banner */
.warning-banner {
    position: sticky;
    bottom: 0;
    background-color: #fef5dc;
    color: #664d00;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    border-top: 2px solid rgba(102, 77, 0, 0.2);
}
.link-warning {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 100;
    background-color: #fef5dc;
    color: #664d00;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid rgba(102, 77, 0, 0.2);
    transition: top 0.2s ease-in-out;
}
.link-warning.hidden {
    top: -80px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .news-card {
        min-width: 250px;
    }
}
