/* T&K Kontaktformular – Modern & Clean */

#tk-kontakt-wrapper {
    max-width: 720px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tk-form-section {
    background: #ffffff;
    border: 1px solid #e8e0d4;
    border-radius: 16px;
    padding: 28px 28px 20px;
    margin-bottom: 20px;
}

.tk-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #d4a853;
    display: inline-block;
}

.tk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.tk-field {
    display: flex;
    flex-direction: column;
}

.tk-field.tk-full {
    margin-bottom: 16px;
}

.tk-field label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.tk-field input[type="text"],
.tk-field input[type="email"],
.tk-field input[type="tel"],
.tk-field input[type="date"],
.tk-field textarea,
.tk-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd5c8;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a1a;
    background: #faf8f5;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.tk-field input:focus,
.tk-field textarea:focus,
.tk-field select:focus {
    outline: none;
    border-color: #d4a853;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
    background: #fff;
}

.tk-field input::placeholder,
.tk-field textarea::placeholder {
    color: #b0a898;
}

.tk-field textarea {
    resize: vertical;
    min-height: 80px;
}

.tk-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Footer */
.tk-form-footer {
    text-align: center;
    padding: 8px 0;
}

.tk-checkbox-field {
    text-align: left;
    margin-bottom: 20px;
    background: #faf8f5;
    border: 1.5px solid #ddd5c8;
    border-radius: 12px;
    padding: 16px 18px;
}

.tk-checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.tk-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #d4a853;
    cursor: pointer;
}

.tk-checkbox-label strong {
    color: #1a1a1a;
    font-size: 14px;
}

.tk-checkbox-label a {
    color: #d4a853;
    text-decoration: underline;
}

.tk-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d4a853;
    color: #fff;
    border: none;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
    min-width: 220px;
}

.tk-submit:hover {
    background: #c49a48;
    transform: translateY(-1px);
}

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

.tk-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.tk-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 14px;
    margin-top: 12px;
}

.tk-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.tk-message strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.tk-message p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.tk-success {
    background: #f0faf0;
    border: 1.5px solid #86c786;
    color: #2d6a2d;
}

.tk-success svg {
    color: #2d6a2d;
}

.tk-error {
    background: #fef2f2;
    border: 1.5px solid #e8a0a0;
    color: #991b1b;
}

.tk-error svg {
    color: #991b1b;
}

.tk-error a {
    color: #991b1b;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .tk-form-section {
        padding: 20px 18px 14px;
        border-radius: 12px;
    }

    .tk-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tk-submit {
        width: 100%;
    }

    .tk-section-title {
        font-size: 16px;
    }
}
