:root {
    --color-white: #ffffff;
    --color-beige: #f5f1ed;
    --color-gray: #808080;
    --color-gray-light: #d3d3d3;
    --color-gray-dark: #404040;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-beige);
    color: var(--color-gray-dark);
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-gray-dark);
    color: var(--color-white);
    padding: 1.5rem 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-beige);
}

.cookie-link {
    color: var(--color-beige);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-link:hover {
    color: var(--color-white);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background-color: var(--color-gray-dark);
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-link:hover .logo-text {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    flex-shrink: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-beige);
}

/* Container */
.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

/* Pages */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* Admin-only Seiten sollten zusätzlich .visible Klasse haben */
.page.admin-only.active {
    display: none;
}

.page.admin-only.active.visible {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.page.super-admin-only.active {
    display: none;
}

.page.super-admin-only.active.visible {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-area {
    margin-bottom: 1rem;
}

.logo-placeholder {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.header-section h1 {
    color: var(--color-gray-dark);
    font-size: 2.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-light);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--color-white);
    color: var(--color-gray-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gray);
    box-shadow: 0 0 5px rgba(128, 128, 128, 0.3);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    width: auto;
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    position: relative;
}

.badge {
    display: inline-block;
    position: relative;
    margin-left: 0.5rem;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--color-gray);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gray-dark);
}

.btn-secondary {
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
}

.btn-secondary:hover {
    background-color: #b0b0b0;
}

.btn-danger {
    background-color: #c44545;
    color: var(--color-white);
}

.btn-danger:hover {
    background-color: #a03535;
}

.btn-icon {
    background-color: transparent;
    color: #808080;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    color: #404040;
    transform: scale(1.1);
}

/* Filter */
.filter-section {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 4px;
    font-size: 1rem;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.stations-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stations-table th,
.admin-table th {
    background-color: var(--color-gray);
    color: var(--color-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.stations-table td,
.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.stations-table tbody tr:hover,
.admin-table tbody tr:hover {
    background-color: var(--color-beige);
}

.stations-table tbody tr:last-child td,
.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.station-link {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.station-link:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Detail Content */
.detail-header {
    margin-bottom: 2rem;
}

.detail-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.detail-content h1 {
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-label {
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.detail-value {
    color: var(--color-gray-dark);
    margin-left: 1rem;
}

.detail-images {
    margin-top: 2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

/* Image Preview */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(196, 69, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 3rem auto;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-gray-dark);
}

/* Profile Container */
.profile-container {
    max-width: 500px;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Admin Actions */
.admin-actions {
    margin-bottom: 2rem;
}

.admin-menu {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.admin-menu .btn {
    flex: 1;
    min-width: 150px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
}

/* Admin Only */
.admin-only {
    display: none;
}

.admin-only.visible {
    display: block;
}

.super-admin-only {
    display: none;
}

.super-admin-only.visible {
    display: block;
}

.admin-only-nav {
    display: none;
}

.admin-only-nav.visible {
    display: inline;
}

.super-admin-only-nav {
    display: none;
}

.super-admin-only-nav.visible {
    display: inline;
}

/* Map Header */
.map-header {
    margin-bottom: 1.5rem;
}

.map-header h1 {
    color: var(--color-gray-dark);
}

/* Leaflet Map - z-index lower than navbar menu */
#map {
    z-index: 1 !important;
}

/* Messages */
.message {
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.message.success {
    background-color: #28a745;
    color: white;
    border: 1px solid #1e7e34;
}

.message.error {
    background-color: #dc3545;
    color: white;
    border: 1px solid #c82333;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Container */
.form-container {
    max-width: 600px;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-container p {
    margin-bottom: 1.5rem;
    color: var(--color-gray-dark);
}

/* Captcha */
.captcha-container {
    display: grid;
    gap: 1rem;
}

.captcha-box {
    background-color: var(--color-beige);
    padding: 1rem;
    border-radius: 4px;
    border: 2px solid var(--color-gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#reportCaptchaText,
#errorCaptchaText {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gray-dark);
    letter-spacing: 0.2em;
}

#contactCaptchaText {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gray-dark);
    letter-spacing: 0.2em;
}

/* Footer */
.footer {
    background-color: var(--color-gray-dark);
    color: var(--color-white);
    padding: 0.75rem 20px;
    margin-top: 1.5rem;
    border-top: 2px solid var(--color-gray);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-beige);
}

.footer-text span {
    font-weight: bold;
    color: var(--color-white);
}

.footer-section .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Submissions */
.submissions-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.submission-card {
    background: var(--color-beige);
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.submission-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.submission-header {
    border-bottom: 2px solid var(--color-gray-light);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.submission-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-gray-dark);
    font-size: 1.1rem;
}

.submission-header small {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.submission-body {
    margin: 1rem 0;
}

.submission-body p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.submission-body strong {
    color: var(--color-gray-dark);
    font-weight: 600;
}

.submission-body a {
    color: #0066cc;
    text-decoration: none;
}

.submission-body a:hover {
    text-decoration: underline;
}

.submission-preview {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.submission-preview .muted {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.submission-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
    position: sticky;
    top: 0;
    background-color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

.modal-close:hover {
    color: var(--color-gray-dark);
}

.modal-details {
    padding: 1.5rem;
}

.modal-details h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.modal-details p {
    margin: 0.75rem 0;
    word-break: break-word;
}

.modal-details a {
    color: #0066cc;
    text-decoration: none;
}

.modal-details a:hover {
    text-decoration: underline;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 120px;
}

.submission-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
    flex-wrap: wrap;
}

.submission-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hamburger Menu anzeigen */
    .hamburger {
        display: flex;
    }

    /* Navbar Menu verbergen (wird per JavaScript angezeigt) */
    .navbar-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background-color: var(--color-gray-dark);
        flex-direction: column;
        gap: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        z-index: 999;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    /* Menu anzeigen wenn aktiv */
    .navbar-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 20px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
    }

    .nav-link.admin-only {
        display: none !important;
    }

    .nav-link.admin-only.visible {
        display: block !important;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .header-section h1 {
        font-size: 1.8rem;
    }

    .logo-placeholder {
        font-size: 2.5rem;
    }

    .container {
        padding: 10px;
    }

    .detail-content {
        padding: 1rem;
    }

    .stations-table,
    .admin-table {
        font-size: 0.9rem;
    }

    .stations-table th,
    .admin-table th,
    .stations-table td,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .admin-menu {
        flex-direction: column;
    }

    .admin-menu .btn {
        width: 100%;
        min-width: auto;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .submissions-grid {
        grid-template-columns: 1fr;
    }

    .submission-actions {
        flex-direction: column;
    }

    .submission-actions .btn {
        min-width: auto;
    }

    .login-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
    }
}

/* Legal Content Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--color-gray-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--color-beige);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--color-gray);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--color-gray-dark);
}

.legal-content a {
    color: var(--color-gray);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-gray-dark);
}

.legal-content .clear-data-btn {
    background-color: #c44545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 2rem;
}

.legal-content .clear-data-btn:hover {
    background-color: #a03535;
}

/* Footer Links */
.footer-link {
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-beige);
    text-decoration: underline;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-text {
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .legal-content {
        padding: 1.5rem 15px;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .legal-content h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-section h1 {
        font-size: 1.5rem;
    }

    .logo-placeholder {
        font-size: 2rem;
    }

    .navbar-logo .logo-text {
        font-size: 1.2rem;
    }

    .admin-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-menu .btn {
        width: 100%;
        min-width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 0.5rem 15px;
        margin-top: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.25rem;
    }

    .footer-section {
        width: 100%;
        flex: none;
        text-align: center;
        min-width: auto;
    }

    .footer-text {
        font-size: 0.7rem;
        margin: 0;
        line-height: 1.2;
    }

    .footer-section .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }

    .cookie-banner {
        padding: 1rem 15px;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .legal-content {
        padding: 1rem 12px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    .legal-content h3 {
        font-size: 0.95rem;
    }
}
