/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 01 2025 | 16:57:40 */
/* Bewerbungsformular - Komplettes Styling */

/* BR-Tags entfernen die CF7 automatisch einfügt */
.wpcf7 br {
    display: none !important;
}

/* CF7 Wrapper ohne Abstände */
.wpcf7-form-control-wrap {
    display: block;
    margin: 0 !important;
}

/* Header */
.bewerbung-header {
    text-align: center;
    margin-bottom: 40px;
}

.bewerbung-header h3 {
    color: #7b4397;
    font-size: 32px;
    margin-bottom: 10px;
}

.bewerbung-header p {
    font-size: 16px;
    color: #666;
}

/* Grid Layout für 2 Spalten */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* Labels - Enger Abstand */
.wpcf7 .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
}

.file-info,
.optional {
    font-weight: 400;
    font-size: 13px;
    color: #999;
    margin-left: 5px;
}

/* Input Styling - Keine zusätzlichen Abstände */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    margin: 0 !important;
    display: block;
}

/* Select Dropdown - Vollständig lesbar */
.wpcf7 select {
    height: auto;
    min-height: 44px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.wpcf7 select option {
    padding: 10px;
    font-size: 15px;
}

/* Textarea */
.wpcf7 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
    margin: 0 !important;
    display: block;
}

/* Focus States */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #7b4397;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 67, 151, 0.1);
}

/* Upload Section */
.upload-section {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #7b4397;
    background: #fafafa;
}

.upload-section input[type="file"] {
    border: none;
    padding: 0;
    background: transparent;
    margin: 0 !important;
}

/* Checkbox */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400 !important;
    margin: 0 !important;
}

.wpcf7-acceptance {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.wpcf7 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.checkbox-label a {
    color: #7b4397;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #5f3478;
}

/* Submit Button - Elementor Standard Farben */
.submit-group {
    text-align: center;
    margin-top: 30px;
}

.wpcf7 input[type="submit"] {
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bewerbung-header h3 {
        font-size: 24px;
    }
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-validation-errors {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

/* Spinner beim Absenden */
.wpcf7 .ajax-loader {
    margin-left: 10px;
}

/* Zusätzliche Sicherheit: Alle Paragraph-Tags im Form ohne Margin */
.wpcf7 p {
    margin: 0 !important;
}