:root {
    /* Brand Colors */
    --primary-color: #5bc0de;
    --primary-hover: #46b8da;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --background-light: #f5f5f5;
    --background-white: #ffffff;
    --border-light: #ddd;
    --border-medium: #ccc;
    --border-table: #eee;
    
    /* Typography */
    --font-family: 'Arial', Helvetica, sans-serif;
    --font-size-base: 0.875rem; /* 14px */
    --font-size-small: 0.75rem; /* 12px */
    --font-size-large: 1.125rem; /* 18px */
    --font-size-xl: 1.5rem; /* 24px */
    --line-height-base: 1.5;
    
    /* Spacing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.25rem; /* 20px */
    --spacing-xl: 1.875rem; /* 30px */
    
    /* Shadows */
    --shadow-light: 0 0 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 2px 8px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --border-radius: 4px;
    --border-radius-lg: 8px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    
    /* Focus Colors */
    --focus-color: #0066cc;
    --focus-outline: 3px solid rgba(0, 102, 204, 0.5);
    --focus-offset: 2px;
    
    /* Form Validation Colors */
    --success-color: #28a745;
    --success-bg: #d4edda;
    --success-border: #c3e6cb;
    --error-color: #dc3545;
    --error-bg: #f8d7da;
    --error-border: #f5c6cb;
    --warning-color: #fd7e14;
    --warning-bg: #fff3cd;
    --warning-border: #ffeaa7;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
    line-height: var(--line-height-base);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--focus-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-small);
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Enhanced Focus Styles */
*:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Restore focus for keyboard users */
*:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --primary-hover: #004499;
        --text-dark: #000000;
        --text-medium: #333333;
        --border-light: #666666;
        --border-medium: #333333;
    }
    
    .custom-tabs .nav-link {
        border-width: 2px;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-thumb:hover {
        transform: none;
    }
    
    .logo:hover {
        transform: none;
    }
    
    .contact-number:hover {
        transform: none;
    }
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
}

/* Header */
.header {
    background-color: var(--background-white);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    height: 50px;
    font-family: var(--font-family);
    color: var(--primary-color);
    transition: var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.subtitle {
    font-size: 0.625rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

.site-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.3;
}

.contact-number {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition-medium);
}

.contact-number:hover {
    color: var(--primary-hover);
    transform: scale(1.02);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    height: 341px;
}

.hero-overlay {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    background-color: #5bc0de;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 341px;
    z-index: 10;
}

.hero-text {
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

/* Carousel */
#mainCarousel {
    width: 100%;
}

#mainCarousel img {
    height: 341px;
    width: 100%;
    object-fit: cover;
}

/* Bootstrap Carousel Overrides */
#mainCarousel .carousel-inner {
    margin-bottom: 0;
}

#mainCarousel .carousel-item {
    margin-bottom: 0;
}

/* Navigation Tabs */
.custom-tabs {
    background-color: white;
    border: none;
    margin: 0;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.custom-tabs .nav-link {
    background-color: #F0F0F0;
    border: 1px solid var(--border-medium);
    border-bottom: none;
    color: var(--text-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-right: 1px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-size: var(--font-size-small);
    position: relative;
    transition: var(--transition-fast);
    text-decoration: none;
    font-weight: 500;
}

.custom-tabs .nav-link:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    z-index: 10;
}

.custom-tabs .nav-link:hover {
    background-color: #e5e5e5;
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.custom-tabs .nav-link.active {
    background-color: var(--background-white);
    color: var(--text-dark);
    border-color: var(--border-medium);
    border-bottom: 1px solid var(--background-white);
    margin-bottom: -1px;
    z-index: 1;
    font-weight: 600;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* Content Section */
.content-section {
    padding: 0;
    margin-top: 20px;
}

.tab-content {
    padding: var(--spacing-xl);
    min-height: 400px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.tab-content h2 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    line-height: 1.2;
}

.tab-content h3 {
    color: var(--primary-color);
    font-size: var(--font-size-large);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    line-height: 1.3;
}

/* Ausstattung Tab */
.ausstattung-list {
    list-style-type: disc;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-base);
}

.ausstattung-list li {
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-base);
}

.ausstattung-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.ausstattung-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-table);
    line-height: var(--line-height-base);
}

.ausstattung-table td:first-child {
    width: 30%;
    font-weight: 600;
    color: var(--text-dark);
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-base);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.price-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-table);
    line-height: var(--line-height-base);
    vertical-align: top;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:nth-child(even) {
    background-color: #fafafa;
}

.price-table td:first-child {
    width: 20%;
}

.price-table td:nth-child(2) {
    width: 30%;
}

/* Gallery */
.gallery {
    margin-top: var(--spacing-lg);
}

.gallery .col-md-3,
.gallery .col-sm-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.gallery-thumb {
    cursor: pointer;
    transition: var(--transition-medium);
    border: 1px solid var(--border-light);
    padding: 3px;
    background-color: var(--background-white);
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gallery-thumb:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.gallery p {
    font-size: var(--font-size-small);
    margin-top: var(--spacing-sm);
    text-align: center !important;
    width: 100%;
    margin-bottom: 0;
    color: var(--text-medium);
    font-weight: 500;
    line-height: 1.4;
}

.pagination-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f5f5f5;
}

.entries-select {
    margin-left: 10px;
    padding: 2px 5px;
}

/* Contact Form */
.contact-form {
    margin-top: var(--spacing-lg);
}

.contact-form .required {
    color: var(--error-color);
    font-weight: 600;
}

.contact-form .form-control,
.contact-form .form-select {
    font-size: var(--font-size-base);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition-fast);
    font-family: var(--font-family);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.25);
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Validation States */
.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.77 1.77 3.79-3.79.94.94-4.73 4.73z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    animation: validPulse 0.5s ease-in-out;
}

.contact-form .form-control.is-valid:focus,
.contact-form .form-select.is-valid:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: var(--error-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    animation: errorShake 0.5s ease-in-out;
}

.contact-form .form-control.is-invalid:focus,
.contact-form .form-select.is-invalid:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Validation Animations */
@keyframes validPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Field Validation Messages */
.field-error {
    color: var(--error-color);
    font-size: var(--font-size-small);
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    animation: slideDown 0.3s ease-out;
    line-height: 1.4;
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-left: 3px solid var(--error-color);
    border-radius: var(--border-radius);
}

.field-success {
    color: var(--success-color);
    font-size: var(--font-size-small);
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    animation: slideDown 0.3s ease-out;
    line-height: 1.4;
    font-weight: 600;
    background-color: rgba(40, 167, 69, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-left: 3px solid var(--success-color);
    border-radius: var(--border-radius);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Field Icons */
.field-error::before {
    content: "⚠";
    font-weight: bold;
}

.field-success::before {
    content: "✓";
    font-weight: bold;
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
    transition: var(--transition-fast);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.contact-form .btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

/* Form Success State */
.contact-form.form-success {
    animation: formSuccessPulse 1s ease-in-out;
}

@keyframes formSuccessPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

/* Loading State for Submit Button */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Indicator */
.form-progress {
    height: 4px;
    background-color: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    display: none;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0;
}

/* Enhanced Form Animations */
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    transform: translateY(-1px);
}

/* Field Group Hover Effects */
.contact-form .row:hover .form-control,
.contact-form .row:hover .form-select {
    border-color: rgba(91, 192, 222, 0.3);
}

/* Success Checkmark Animation */
.success-checkmark {
    display: inline-block;
    animation: checkmarkBounce 0.6s ease-in-out;
}

@keyframes checkmarkBounce {
    0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateY(-3px); }
}

/* Form Alert Messages */
.form-alert {
    border-radius: var(--border-radius-lg);
    border: 2px solid;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0 var(--spacing-xl) 0;
    animation: slideInUp 0.4s ease-out;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.form-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: currentColor;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-alert.alert-success {
    background-color: var(--success-bg);
    border-color: var(--success-border);
    color: var(--success-color);
    background-image: linear-gradient(135deg, var(--success-bg) 0%, rgba(40, 167, 69, 0.1) 100%);
}

.form-alert.alert-success strong {
    color: var(--success-color);
    font-size: 1.2em;
}

.form-alert.alert-danger {
    background-color: var(--error-bg);
    border-color: var(--error-border);
    color: var(--error-color);
    background-image: linear-gradient(135deg, var(--error-bg) 0%, rgba(220, 53, 69, 0.1) 100%);
}

.form-alert.alert-danger strong {
    color: var(--error-color);
    font-size: 1.2em;
}

.form-alert ul {
    padding-left: 20px;
}

/* Captcha Image */
.contact-form img[src*="captcha"] {
    max-width: 50%;
    height: auto;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.contact-form img[src*="captcha"]:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

/* Validation Summary */
.validation-summary {
    background: linear-gradient(135deg, #fff3cd 0%, rgba(255, 234, 167, 0.3) 100%);
    border: 2px solid var(--warning-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    color: var(--warning-color);
    font-size: var(--font-size-small);
    display: none;
}

.validation-summary.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.validation-summary ul {
    margin: var(--spacing-xs) 0 0 var(--spacing-lg);
    padding: 0;
}

.validation-summary li {
    margin-bottom: var(--spacing-xs);
}

/* GDPR-compliant Google Maps */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--spacing-lg);
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--background-white);
}

.map-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.9);
    transition: var(--transition-medium);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: var(--spacing-lg);
}

.map-privacy-notice {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.map-privacy-notice h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-large);
    font-weight: 600;
}

.map-privacy-notice p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-base);
}

.privacy-details {
    margin: var(--spacing-md) 0;
    text-align: left;
}

.privacy-info {
    margin-top: var(--spacing-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    background: rgba(248, 249, 250, 0.8);
}

.privacy-info summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.privacy-info summary:hover {
    background: rgba(91, 192, 222, 0.1);
}

.privacy-info ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.privacy-info li {
    margin-bottom: var(--spacing-xs);
}

.map-activation-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.btn-load-map {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(91, 192, 222, 0.3);
}

.btn-load-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 192, 222, 0.4);
}

.btn-alternative {
    border: 2px solid var(--border-medium);
    background: transparent;
    color: var(--text-medium);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-small);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.btn-alternative:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.map-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-lg);
}

.map-consent-notice {
    background: var(--success-bg);
    color: var(--success-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    text-align: center;
    font-size: var(--font-size-small);
    border-bottom: 1px solid var(--success-border);
}

.map-consent-notice .btn-link {
    color: var(--success-color);
    text-decoration: underline;
    border: none;
    background: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

.map-consent-notice .btn-link:hover {
    color: var(--text-dark);
}

/* Map Loading Animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.1em;
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin-bottom: var(--spacing-md);
    }
    
    .map-privacy-notice {
        padding: var(--spacing-lg);
        width: 95%;
    }
    
    .map-privacy-notice h4 {
        font-size: var(--font-size-base);
    }
    
    .map-activation-buttons {
        gap: var(--spacing-xs);
    }
    
    .btn-load-map,
    .btn-alternative {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-small);
    }
}

/* Footer */
.footer {
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #666;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Impressum Page */
.impressum-hero {
    position: relative;
}

.impressum-hero img {
    height: 341px;
    object-fit: cover;
}

.impressum-content {
    padding: 30px;
}

.impressum-content h2 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    line-height: 1.2;
}

.impressum-content h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.impressum-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.impressum-content a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        text-align: center;
    }
    
    .header .row > div {
        margin-bottom: 15px;
    }
    
    .contact-number {
        font-size: var(--font-size-large);
    }
    
    .site-title {
        font-size: var(--font-size-small);
    }
    
    #mainCarousel {
        width: 100%;
    }
    
    #mainCarousel img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-section {
        height: auto;
        min-height: 200px;
    }
    
    .hero-overlay {
        position: static;
        width: 100%;
        padding: 20px;
        height: auto;
    }
    
    .hero-text {
        font-size: 32px;
    }
    
    .custom-tabs .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-small);
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
        border-radius: var(--border-radius);
    }
    
    .custom-tabs {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
}

/* Extra small devices (phones in portrait mode) */
@media (max-width: 480px) {
    #mainCarousel img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-section {
        height: auto;
        min-height: 180px;
    }
    
    .site-title {
        font-size: 0.6875rem;
    }
    
    .contact-number {
        font-size: var(--font-size-base);
    }
    
    .tab-content {
        padding: var(--spacing-lg);
    }
    
    .custom-tabs .nav-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.6875rem;
    }
}

/* Legacy iframe styles for fallback */
iframe:not(.map-frame iframe) {
    border: 1px solid var(--border-light);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
}

/* Lightbox Overrides */
.lb-data .lb-close {
    background: url(../img/close.png) top right no-repeat;
}