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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(41, 47, 58, 0.9) 0%, rgba(30, 35, 40, 0.9) 100%), url('/image/back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #F6FBF5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.3;
}

.maintenance-container {
    background: rgba(70, 80, 90, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(246, 251, 245, 0.1);
    animation: fadeInUp 1s ease-out;
}

.logo-section {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    margin-bottom: 10px;
}

.company-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.3)) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.8));
    animation: fadeIn 1s ease-out 0.3s both;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.company-name {
    font-size: 2.5em;
    font-weight: bold;
    color: #F6FBF5;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
    letter-spacing: 1px;
    line-height: 1.3; /* Erhöht von 1.1 für bessere Sichtbarkeit der Unterlängen */
    padding-bottom: 8px; /* Zusätzlicher Abstand unten für Unterlängen */
}

.maintenance-icon {
    font-size: 4em;
    margin-bottom: 15px;
    color: #4CAF50;
    animation: drive 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.3));
}

@keyframes drive {
    0% { transform: translateX(-10px) scale(1); }
    50% { transform: translateX(10px) scale(1.05); }
    100% { transform: translateX(-10px) scale(1); }
}

.maintenance-title {
    font-size: 2em;
    color: #F6FBF5;
    margin-bottom: 10px;
    font-weight: 600;
    animation: slideInLeft 1s ease-out 0.5s both;
    line-height: 1.2;
}

.maintenance-text {
    font-size: 1.2em;
    color: #B8C5D1;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: slideInRight 1s ease-out 0.7s both;
}

.contact-button-section {
    margin: 20px 0;
}

.show-form-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: #F6FBF5;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    margin-bottom: 15px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.show-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.contact-form {
    background: rgba(70, 80, 90, 0.7);
    padding: 25px;
    border-radius: 15px;
    margin-top: 15px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease;
    display: none;
    border: 1px solid rgba(246, 251, 245, 0.1);
}

.form-title {
    color: #E8F0FE;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #C4CDD6;
    line-height: 1.2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(70, 80, 90, 0.5);
    color: #ffffff;
    line-height: 1.3;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B8C5D1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background: rgba(70, 80, 90, 0.8);
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.4;
}

.driver-section,
.file-section {
    background: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border: 2px dashed #4CAF50;
    display: none;
    animation: slideDown 0.3s ease;
}

.driver-section.show,
.file-section.show {
    display: block;
}

.driver-section h4,
.file-section h4 {
    color: #C4CDD6;
    margin-bottom: 12px;
    line-height: 1.2;
}

.fleet-message {
    background: rgba(76, 175, 80, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #4CAF50;
    text-align: center;
    margin: 15px 0;
    display: none;
}

.fleet-message.show {
    display: block;
    animation: slideDown 0.4s ease;
}

.fleet-message h3 {
    color: #C4CDD6;
    margin-bottom: 10px;
    line-height: 1.2;
}

.fleet-message p {
    font-size: 1.2em;
    color: #C4CDD6;
    margin: 0;
    line-height: 1.3;
}

.error-message {
    background: rgba(244, 67, 54, 0.2);
    color: #ff6b6b;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(244, 67, 54, 0.3);
    margin-top: 8px;
    font-size: 0.95em;
    display: none;
    line-height: 1.3;
}

.error-message.show {
    display: block;
}

.consent-section {
    background: rgba(255, 193, 7, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #FFC107;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-top: 10px;
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.consent-text {
    font-size: 0.95em;
    color: #C4CDD6;
    line-height: 1.3;
}

.submit-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: #F6FBF5;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.submit-btn:disabled {
    background: #7A8B99;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.footer-section {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(246, 251, 245, 0.1);
    text-align: center;
    animation: fadeIn 1s ease-out 1.5s both;
}

.copyright {
    font-size: 0.9rem;
    color: #7A8B99;
    margin-bottom: 10px;
    line-height: 1.2;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #45a049;
    text-decoration: underline;
}

.separator {
    color: #7A8B99;
    margin: 0 15px;
    font-size: 0.9rem;
}

.hosted-by {
    font-size: 0.8rem;
    color: #7A8B99;
    line-height: 1.2;
}

.hosted-by a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hosted-by a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(70, 80, 90, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 70vh;
    border: 1px solid rgba(246, 251, 245, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 15px 25px;
    border-bottom: 1px solid rgba(246, 251, 245, 0.2);
    background: rgba(70, 80, 90, 0.95);
    border-radius: 15px 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.modal-title {
    color: #4CAF50;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.close-btn {
    background: none;
    border: none;
    color: #B8C5D1;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    color: #E8F0FE;
    line-height: 1.4;
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    
    /* Scrollbar verstecken */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Webkit-basierte Browser (Chrome, Safari, Edge) */
.modal-body::-webkit-scrollbar {
    display: none;
}

.modal-body h3 {
    color: #4CAF50;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.2em;
    line-height: 1.2;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 12px;
    color: #C4CDD6;
    line-height: 1.4;
}

.modal-body strong {
    color: #E8F0FE;
}

/* Animationen */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -70%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 20px;
        margin: 10px;
    }

    .logo-icons {
        width: 320px;
        margin-bottom: 8px;
    }

    .company-logo {
        height: 65px;
        padding: 8px;
    }

    .company-name {
        font-size: 2em;
    }

    .maintenance-title {
        font-size: 1.6em;
    }

    .maintenance-text {
        font-size: 1.1em;
    }
}