/* Tollitäten Formular Styles */

.tollitaeten-form-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.formular-einleitung {
    margin-bottom: 40px;
    padding: 30px 35px;
    background-color: #f8f9fa;
    border-left: 4px solid currentColor;
    border-radius: 4px;
    box-shadow: none;
    border-top: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    text-align: center;
    color: #000000;
}


.formular-einleitung h1,
.formular-einleitung h2,
.formular-einleitung h3,
.formular-einleitung h4,
.formular-einleitung h5,
.formular-einleitung h6 {
    margin-top: 0;
    font-weight: 700;
    color: #000000;
}

.formular-einleitung h1 {
    font-size: 36px;
}

.formular-einleitung h2 {
    font-size: 32px;
}

.formular-einleitung h3 {
    font-size: 28px;
}

.formular-einleitung p {
    margin: 0 0 18px 0;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 400;
    color: #000000;
}

.formular-einleitung p:last-child {
    margin-bottom: 0;
}

.formular-einleitung ul,
.formular-einleitung ol {
    margin: 15px 0;
    padding-left: 25px;
    font-size: 22px;
    text-align: left;
    color: #000000;
}

.formular-einleitung li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #000000;
}

.formular-einleitung strong {
    font-weight: 700;
    color: #000000;
}

.formular-einleitung em {
    font-style: italic;
}

.formular-einleitung a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.formular-einleitung a:hover {
    opacity: 0.8;
}

.tollitaeten-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tollitaeten-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tollitaeten-form h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    font-weight: 700;
}

.tollitaeten-form h4 {
    margin: 15px 0 10px 0;
    color: #333;
    font-size: 16px;
}

.form-divider {
    margin: 25px 0;
    border: none;
    border-top: 2px solid #e0e0e0;
}

.additional-fields {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.tollitaeten-form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.tollitaeten-form input[type="text"],
.tollitaeten-form input[type="email"],
.tollitaeten-form input[type="tel"],
.tollitaeten-form input[type="date"],
.tollitaeten-form textarea,
.tollitaeten-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.tollitaeten-form select {
    background-color: #fff;
    cursor: pointer;
}

.tollitaeten-form input:focus,
.tollitaeten-form textarea:focus,
.tollitaeten-form select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.tollitaeten-form textarea {
    resize: vertical;
    min-height: 100px;
}

.tollitaeten-form .submit-button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tollitaeten-form .submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.loading {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tollitaeten-form-container {
        margin: 20px;
        padding: 20px;
    }
    
    .tollitaeten-form input[type="text"],
    .tollitaeten-form input[type="email"],
    .tollitaeten-form input[type="tel"],
    .tollitaeten-form textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
}

