/* Kontaktformular - Großes Layout unten */

#dynform-frontend {
    max-width: 100%;
    margin: 2rem 0;
}

/* Formular-Container - Groß */
#dynform-frontend .form-container {
    background: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sektionen */
#dynform-frontend .form-section {
    margin-bottom: 2.5rem;
}

#dynform-frontend .form-section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

#dynform-frontend .form-section-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form-Gruppen - Groß */
#dynform-frontend .form-group {
    margin-bottom: 1.5rem;
}

#dynform-frontend .form-label {
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.1rem;
    display: block;
}

#dynform-frontend .form-label .required {
    color: #dc3545;
    margin-left: 4px;
}

/* Input-Felder - Groß */
#dynform-frontend .form-control {
    border: 2px solid #ced4da;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1.1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 50px;
}

#dynform-frontend .form-control:focus {
    border-color: #00b0ef;
    outline: 0;
    box-shadow: 0 0 0 0.3rem rgba(0, 176, 239, 0.25);
}

#dynform-frontend .form-control.is-invalid {
    border-color: #dc3545;
}

#dynform-frontend .form-control.is-valid {
    border-color: #28a745;
}

/* Textarea - Groß */
#dynform-frontend textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Select - Groß */
#dynform-frontend select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

/* Buttons - Groß */
#dynform-frontend .btn {
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#dynform-frontend .btn-primary,
#dynform-frontend .btn-outline-primary {
    background-color: #00b0ef;
    border-color: #00b0ef;
    color: #fff;
    min-height: 55px;
}

#dynform-frontend .btn-primary:hover,
#dynform-frontend .btn-outline-primary:hover {
    background-color: #0099d1;
    border-color: #0099d1;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 176, 239, 0.3);
}

#dynform-frontend .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error Messages */
#dynform-frontend .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Success Message */
#dynform-frontend .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Autocomplete Styles */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #00b0ef;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.autocomplete-suggestion {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.autocomplete-suggestion:hover {
    background-color: #f8f9fa;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.autocomplete-suggestion small {
    font-size: 0.85rem;
    color: #666;
}

/* Verstecke Step-Navigation-Buttons wenn nur ein Step vorhanden ist */
#dynform-frontend .btn-step-next,
#dynform-frontend .btn-step-prev,
#dynform-frontend .step-navigation {
    display: none !important;
}

/* Stelle sicher, dass alle Felder sichtbar sind */
#dynform-frontend .form-group {
    display: block !important;
}

/* Responsive */
@media (max-width: 768px) {
    #dynform-frontend .form-container {
        padding: 2rem 1.5rem;
    }
    
    #dynform-frontend .form-section-title {
        font-size: 1.5rem;
    }
    
    #dynform-frontend .form-control {
        font-size: 1rem;
        padding: 0.875rem;
    }
}

