/* ========================================
   LUXURY LIMOUSINE SERVICE - MODERN LIGHT DESIGN
   ======================================== */

/* Base Variables - Modern Light Color Palette */
:root {
    --primary: #ffffff;
    --secondary: #f8fafc;
    --accent: #f1f5f9;
    --highlight: #0ea5e9;
    --highlight-dark: #0284c7;
    --highlight-light: #38bdf8;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: rgba(15, 23, 42, 0.08);
    --shadow-lg: rgba(15, 23, 42, 0.15);
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   HEADER - Modern Clean Navigation
   ======================================== */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
}

.logo span {
    font-weight: 400;
    font-size: 28px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-menu {
    display: flex;
    gap: 4px;
}

.main-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active {
    background: var(--gradient-soft);
    color: var(--highlight);
    transform: translateY(-1px);
}

.main-menu a i {
    font-size: 16px;
}

/* Language Selector */
.language-selector {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--secondary);
}

.language-selector a {
    padding: 8px 16px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
}

.language-selector a.active {
    background: var(--gradient-primary);
    color: white;
}

.language-selector a:hover:not(.active) {
    background: var(--accent);
}

/* Dark Mode Toggle */
.dark-mode-container {
    margin-left: 15px;
}

.dark-mode-toggle {
    background: var(--secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    width: 50px;
    height: 26px;
    border-radius: 25px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    padding: 3px;
    position: relative;
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    transition: transform 0.3s;
    left: 3px;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}

.dark-mode-toggle.active::before {
    transform: translateX(24px);
    background: var(--gradient-gold);
}

.dark-mode-toggle .fa-moon,
.dark-mode-toggle .fa-sun {
    font-size: 12px;
    position: absolute;
    transition: opacity 0.3s;
    z-index: 1;
}

.dark-mode-toggle .fa-moon {
    right: 8px;
    color: var(--text-muted);
    opacity: 1;
}

.dark-mode-toggle .fa-sun {
    left: 8px;
    color: var(--gold);
    opacity: 0;
}

.dark-mode-toggle.active .fa-moon {
    opacity: 0;
}

.dark-mode-toggle.active .fa-sun {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: all 0.3s;
}

/* ========================================
   MAIN CONTENT - Modern Light Design
   ======================================== */

main {
    padding: 80px 0;
    min-height: calc(100vh - 150px);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CARDS - Modern Glass Effect
   ======================================== */

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px -1px var(--shadow), 0 2px 4px -2px var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px var(--shadow-lg), 0 8px 10px -6px var(--shadow);
    border-color: var(--highlight);
}

.card-icon {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.card h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card p {
    margin-bottom: 28px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   BUTTONS - Modern Style
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.secondary-btn {
    background: var(--secondary);
    color: var(--text);
    border: 1px solid var(--border);
}

.secondary-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.tertiary-btn {
    background: transparent;
    color: var(--highlight);
    border: 2px solid var(--highlight);
}

.tertiary-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--highlight-dark);
}

/* ========================================
   CONTACT SECTION - Modern Layout
   ======================================== */

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 4px 6px -1px var(--shadow), 0 2px 4px -2px var(--shadow);
    border: 1px solid var(--border);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--highlight);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Contact Info */
.contact-info {
    background: var(--gradient-soft);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 6px -1px var(--shadow), 0 2px 4px -2px var(--shadow);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
}

.info-item i {
    font-size: 22px;
    margin-right: 18px;
    margin-top: 3px;
    color: var(--highlight);
}

/* ========================================
   MESSAGES & NOTIFICATIONS
   ======================================== */

.message,
.notification-message,
.error-message,
.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000 !important;
    min-width: 400px;
    max-width: 600px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 18px 24px;
    padding-right: 55px;
    font-weight: 500;
    animation: slideDownFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Animation für Notifications */
@keyframes notificationFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes notificationFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
}

.message-content {
    flex: 1;
}

.message-title {
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 15px;
}

.message-text {
    font-size: 14px;
    opacity: 0.9;
}

.message-close,
.notification-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    opacity: 0.7;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.message-close:hover,
.notification-close:hover {
    opacity: 1;
    transform: translateY(-50%) rotate(90deg);
    background: rgba(0, 0, 0, 0.1);
}

/* Verschiedene Message-Typen */
.message-success,
.success-message {
    background: white;
    color: #059669;
    border-left: 4px solid #10b981;
    border: 1px solid #86efac;
}

.message-success::before,
.success-message::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #10b981;
    margin-right: 12px;
}

.message-error,
.error-message {
    background: white;
    color: #dc2626;
    border-left: 4px solid #ef4444;
    border: 1px solid #fca5a5;
}

.message-error::before,
.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #ef4444;
    margin-right: 12px;
}

.message-warning {
    background: white;
    color: #d97706;
    border-left: 4px solid #f59e0b;
    border: 1px solid #fcd34d;
}

.message-warning::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #f59e0b;
    margin-right: 12px;
}

.message-info {
    background: white;
    color: var(--highlight);
    border-left: 4px solid var(--highlight);
    border: 1px solid var(--highlight-light);
}

.message-info::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: var(--highlight);
    margin-right: 12px;
}

/* ========================================
   MODAL - Modern Dialog
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 550px;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-modal-content {
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
}

.close-modal:hover {
    color: var(--text);
    transform: rotate(90deg);
    background: var(--accent);
}

.modal h2 {
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-me input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--highlight);
}

.forgot-password {
    font-size: 14px;
    color: var(--highlight);
    transition: all 0.3s;
}

.forgot-password:hover {
    color: var(--highlight-dark);
    text-decoration: underline;
}

/* Email Display */
.email-display {
    display: block;
    padding: 16px 20px;
    background: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 600;
    word-break: break-all;
    color: var(--highlight);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--highlight);
}

/* ========================================
   INFO MODAL SPECIFIC
   ======================================== */

.activation-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--text);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 2px solid #fbbf24;
}

.notice-icon {
    font-size: 28px;
    margin-top: 2px;
    flex-shrink: 0;
    color: #d97706;
}

.notice-text h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.notice-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.service-description h3 {
    color: var(--text);
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 700;
}

.service-description h4 {
    color: var(--text);
    font-size: 20px;
    margin: 30px 0 18px 0;
    font-weight: 700;
}

.service-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.advantages-list li i {
    color: var(--highlight);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.info-actions {
    text-align: center;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.contact-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
}

/* ========================================
   FILTER CONTROLS
   ======================================== */

.filter-controls {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px var(--shadow);
}

.filter-section h3 {
    margin: 0 0 20px 0;
    color: var(--text);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.date-filter,
.status-filter,
.sort-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-filter label,
.status-filter label,
.sort-filter label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.date-input,
#status-filter,
#sort-options {
    padding: 12px 16px;
    background: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    min-width: 170px;
    color: var(--text);
    transition: all 0.3s ease;
}

.date-input:focus,
#status-filter:focus,
#sort-options:focus {
    border-color: var(--highlight);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
}

/* ========================================
   PAGING CONTROLS
   ======================================== */

.paging-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 2px solid var(--border);
}

.paging-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.export-buttons {
    display: flex;
    gap: 10px;
}

.btn-export {
    background: var(--secondary);
    color: var(--highlight);
    border: 1px solid var(--border);
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-export:hover {
    background: var(--gradient-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.paging-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paging-selector label {
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    font-weight: 500;
}

.paging-selector select {
    padding: 8px 12px;
    background: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s ease;
}

.paging-selector select:focus {
    border-color: var(--highlight);
    outline: none;
    background: white;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: white;
    color: var(--text-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px var(--shadow);
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* ========================================
   DARK MODE VARIATIONS
   ======================================== */

body.dark-mode {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
}

body.dark-mode {
    --primary: #1e293b;
    --secondary: #0f172a;
    --accent: #334155;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
}

body.dark-mode header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: #334155;
}

body.dark-mode .card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .modal-content {
    background: #1e293b;
}

body.dark-mode .contact-form,
body.dark-mode .contact-info {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .secondary-btn {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

/* ========================================
   ERROR & SUCCESS MESSAGES
   ======================================== */

.error,
.error-text {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.error-text::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
}

.input-error,
input.has-error,
textarea.has-error,
select.has-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.message-hiding {
    animation: slideUpFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

/* Mehrere Notifications übereinander */
.error-message:nth-of-type(2),
.success-message:nth-of-type(2),
.notification-message:nth-of-type(2),
.message:nth-of-type(2) {
    top: 90px;
}

.error-message:nth-of-type(3),
.success-message:nth-of-type(3),
.notification-message:nth-of-type(3),
.message:nth-of-type(3) {
    top: 160px;
}

/* ========================================
   FORM ROW & HALF WIDTH
   ======================================== */

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.half-width {
    width: 48%;
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    nav {
        width: 100%;
        margin-top: 20px;
        justify-content: space-between;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        box-shadow: 0 8px 32px var(--shadow-lg);
        padding: 25px;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--border);
        border-top: none;
    }

    .main-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo h1 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form,
    .contact-info {
        padding: 40px 25px;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .date-filter,
    .status-filter,
    .sort-filter {
        width: 100%;
    }

    .date-input,
    #status-filter,
    #sort-options {
        min-width: 100%;
    }

    .paging-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .paging-actions {
        flex-direction: column;
        gap: 15px;
    }

    .export-buttons {
        justify-content: center;
    }

    .info-modal-content {
        max-width: 95%;
        margin: 30px auto;
        padding: 40px 25px;
    }

    .activation-notice {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .notice-icon {
        align-self: center;
    }

    .service-description h3 {
        font-size: 22px;
    }

    .service-description h4 {
        font-size: 18px;
    }
}

/* Mobile Responsive für Notifications */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        padding: 20px 15px;
    }

    .modal-content {
        margin: 10% auto;
        width: 92%;
        padding: 35px 20px;
    }

    .contact-form,
    .contact-info {
        padding: 35px 20px;
    }

    .card {
        padding: 35px 20px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .language-selector {
        margin-left: 0;
    }

    .message,
    .notification-message,
    .error-message,
    .success-message {
        min-width: 90%;
        max-width: 90%;
        top: 10px;
        padding: 16px 20px;
        padding-right: 50px;
        font-size: 14px;
    }

    .message:nth-of-type(2),
    .notification-message:nth-of-type(2),
    .error-message:nth-of-type(2),
    .success-message:nth-of-type(2) {
        top: 80px;
    }

    .half-width {
        width: 100%;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .card-icon {
        font-size: 44px;
    }

    main {
        padding: 50px 0;
    }

    .info-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 35px 20px;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-gold);
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: rgba(14, 165, 233, 0.2);
    color: var(--text);
}

::-moz-selection {
    background: rgba(14, 165, 233, 0.2);
    color: var(--text);
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

/* ========================================
   LOADING STATES
   ======================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(14, 165, 233, 0.1) 50%, var(--secondary) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: var(--gradient-soft);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

/* ========================================
   FEATURE ITEMS
   ======================================== */

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    box-shadow: 0 2px 4px var(--shadow);
}

.feature-item:hover {
    background: var(--gradient-soft);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px var(--shadow-lg);
}

/* ========================================
   INSTALL APP BUTTON
   ======================================== */

.install-app-btn {
    background: linear-gradient(135deg, #e94560, #d13855) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4) !important;
}

.install-app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(233, 69, 96, 0.6) !important;
}