/* headzoo Bewerbungsformular - Styles */

.headzoo-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: headzooSlideUp 0.6s ease-out;
}

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

.headzoo-header {
    background: linear-gradient(135deg, #6DB643 0%, #5da035 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.headzoo-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.headzoo-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.headzoo-header h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.headzoo-header p {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin: 0;
}

.headzoo-benefits {
    background: #f8fdf6;
    padding: 25px 20px;
    border-left: 4px solid #6DB643;
    margin: 0;
}

.headzoo-benefits h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.headzoo-benefits h3::before {
    content: '✨';
    margin-right: 10px;
    font-size: 20px;
}

.headzoo-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .headzoo-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.headzoo-benefit-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headzoo-benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(109, 182, 67, 0.2);
}

.headzoo-benefit-icon {
    font-size: 24px;
    margin-right: 16px;
    flex-shrink: 0;
}

.headzoo-benefit-text {
    color: #555;
    font-size: 14px;
    line-height: 1.0;
}

.headzoo-benefit-text strong {
    display: block;
    color: #333;
}

.headzoo-form-container {
    padding: 30px 20px;
}

.headzoo-form-group {
    margin-bottom: 25px;
    animation: headzooFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.headzoo-form-group:nth-child(1) { animation-delay: 0.1s; }
.headzoo-form-group:nth-child(2) { animation-delay: 0.15s; }
.headzoo-form-group:nth-child(3) { animation-delay: 0.2s; }
.headzoo-form-group:nth-child(4) { animation-delay: 0.25s; }
.headzoo-form-group:nth-child(5) { animation-delay: 0.3s; }
.headzoo-form-group:nth-child(6) { animation-delay: 0.35s; }
.headzoo-form-group:nth-child(7) { animation-delay: 0.4s; }
.headzoo-form-group:nth-child(8) { animation-delay: 0.45s; }
.headzoo-form-group:nth-child(9) { animation-delay: 0.5s; }

@keyframes headzooFadeIn {
    to {
        opacity: 1;
    }
}

.headzoo-form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.headzoo-required {
    color: #e74c3c;
    margin-left: 3px;
}

.headzoo-form-group input[type="text"],
.headzoo-form-group input[type="email"],
.headzoo-form-group input[type="tel"],
.headzoo-form-group input[type="date"],
.headzoo-form-group select,
.headzoo-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.headzoo-form-group input:focus,
.headzoo-form-group select:focus,
.headzoo-form-group textarea:focus {
    outline: none;
    border-color: #6DB643;
    box-shadow: 0 0 0 3px rgba(109, 182, 67, 0.1);
    transform: translateY(-2px);
}

.headzoo-form-group select {
    cursor: pointer;
    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;
}

.headzoo-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.headzoo-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
}

.headzoo-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #6DB643;
    flex-shrink: 0;
}

.headzoo-checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
}

.headzoo-checkbox-group a {
    color: #6DB643;
    text-decoration: none;
}

.headzoo-checkbox-group a:hover {
    text-decoration: underline;
}

.headzoo-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6DB643 0%, #5da035 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.headzoo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(109, 182, 67, 0.3);
}

.headzoo-submit-btn:active {
    transform: translateY(0);
}

.headzoo-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.headzoo-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.headzoo-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.headzoo-footer {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    color: #666;
    font-size: 14px;
}

.headzoo-footer p {
    margin: 5px 0;
}

.headzoo-footer a {
    color: #6DB643;
    text-decoration: none;
    font-weight: 600;
}

.headzoo-footer a:hover {
    text-decoration: underline;
}

/* Success and Error Messages */
.headzoo-success-message,
.headzoo-error-message {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: headzooSlideDown 0.5s ease-out;
}

.headzoo-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.headzoo-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

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

.headzoo-field-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.headzoo-form-group.has-error .headzoo-field-error {
    display: block;
}

.headzoo-form-group.has-error input,
.headzoo-form-group.has-error select,
.headzoo-form-group.has-error textarea {
    border-color: #e74c3c;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .headzoo-header h1 {
        font-size: 24px;
    }
    
    .headzoo-header p {
        font-size: 14px;
    }
    
    .headzoo-logo {
        width: 150px;
    }
    
    .headzoo-form-container {
        padding: 20px 15px;
    }
    
    .headzoo-submit-btn {
        font-size: 16px;
    }
}

/* Loading state */
.headzoo-btn-loading {
    display: none;
}

.headzoo-submit-btn.loading .headzoo-btn-text {
    display: none;
}

.headzoo-submit-btn.loading .headzoo-btn-loading {
    display: inline-block;
}

/* WordPress spezifische Anpassungen */
.entry-content .headzoo-container {
    max-width: 600px;
}

.entry-content .headzoo-container h1,
.entry-content .headzoo-container h3 {
    margin-top: 0;
}

/* Überschreibe Theme-Styles wenn nötig */
.headzoo-container * {
    box-sizing: border-box;
}

.headzoo-container input,
.headzoo-container select,
.headzoo-container textarea,
.headzoo-container button {
    font-family: inherit;
}