/* ========================================
   LUXURY LIMOUSINE SERVICE - MODERN LIGHT DESIGN
   Portal.css - Nur für Portal-Seite, Ohne Dark Mode
   ======================================== */

/* 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;
    list-style: none;
    margin: 0;
    padding: 0;
}

.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;
    text-decoration: none;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active {
    background: var(--gradient-primary);
    color: white;
    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);
    text-decoration: none;
}

.language-selector a.active {
    background: var(--gradient-primary);
    color: white;
}

.language-selector a:hover:not(.active) {
    background: var(--accent);
}

/* 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;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .main-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Header Container als Positionierungs-Referenz */
    header .container {
        position: relative;
    }

    /* Mobile Menü - Standardausblendung und Positionierung */
    .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(20px);
        padding: 15px 20px;
        box-shadow: 0 10px 15px -3px var(--shadow-lg);
        border-radius: 0 0 20px 20px;
        border-top: 1px solid var(--border);
        z-index: 999;
        margin-top: 10px;
    }

    /* WICHTIG: Aktiver Zustand - wird durch JavaScript hinzugefügt */
    .main-menu.active {
        display: flex;
        animation: mobileMenuSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes mobileMenuSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Menü-Items auf Mobile */
    .main-menu a {
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 16px;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 5px;
    }

    /* Hamburger Icon Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }

}

@media (max-width: 768px) {
    header .container {
        padding: 15px 20px;
    }

    .logo h1 {
        font-size: 24px;
    }

    main {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 35px 28px;
    }

    .modal-content {
        margin: 10% 20px;
        padding: 40px 30px;
    }

    .contact-form,
    .contact-info {
        padding: 40px 30px;
    }

    .message,
    .notification-message,
    .error-message,
    .success-message {
        min-width: 90%;
        left: 5%;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .card {
        padding: 30px 24px;
    }

    .card-icon {
        font-size: 40px;
    }

    .card h3 {
        font-size: 20px;
    }

    .modal-content {
        padding: 30px 25px;
    }

    .modal h2 {
        font-size: 26px;
    }
}