/*
Theme Name: Turnkids Theme
Author: Konzeptify GmbH
Description: Ein maßgeschneidertes, schnelles und responsives Theme für Kinderturnkurse.
Version: 1.9.1
Requires at least: 5.0
Requires PHP: 7.0
*/

/* --- LUNEXI FORMULAR STYLES (Optimiert für Eleganz & Platz) --- */

.lunexi-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* Abstand zwischen den Zeilenblöcken */
    width: 100%;
    margin-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* FIX: Deutlich mehr Abstand zwischen Label und Box */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem; /* Erhöht den vertikalen Platz zwischen Überschrift und Eingabefeld */
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: 0.25rem;
    letter-spacing: 0.01em;
}

/* CF7 Span Fix */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* FIX: Eingabefelder weniger klobig, elegantere Linien */
.form-input {
    width: 100% !important;
    background-color: #f9fafb !important;
    border: 2px solid #f3f4f6 !important; /* Definierter Rand gegen Klobigkeit */
    border-radius: 0.85rem !important; /* Etwas präziserer Radius */
    padding: 0.85rem 1.2rem !important; /* Schlankeres Padding für mehr Eleganz */
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: none !important;
    line-height: 1.5;
}

.form-input:focus {
    background-color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 8px 20px -10px rgba(5, 150, 105, 0.1) !important;
}

/* Textarea spezifisch */
textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

/* Acceptance / Checkbox Kasten */
.acceptance-wrapper {
    margin-top: 1rem;
    padding: 1.25rem;
    background-color: #f9fafb;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
}

.acceptance-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.acceptance-wrapper input {
    margin-top: 0.25rem;
    accent-color: #059669;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.accent-link {
    color: #059669;
    text-decoration: underline;
    font-weight: 700;
}

/* Button Styling */
.form-submit {
    width: 100%;
    background-color: #059669 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: none !important;
    padding: 1.15rem !important;
    border-radius: 1rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.3) !important;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.form-submit:hover {
    background-color: #047857 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(5, 150, 105, 0.4) !important;
}

/* CF7 Status-Farben */
.wpcf7-mail-sent-ok { background-color: #d1fae5 !important; color: #065f46 !important; }
.wpcf7-validation-errors, .wpcf7-acceptance-missing { background-color: #fee2e2 !important; color: #991b1b !important; }

/* --- GLOBALE LAYOUT-KLASSEN --- */
.section-full {
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    overflow-anchor: none !important;
}

.container-custom {
    max-width: 1152px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* --- GLOBALE PADDING-KLASSEN --- */
.hero-padding {
    padding-top: 3rem !important; /* Handy: entspricht pt-12 */
    padding-bottom: 5rem !important; /* Handy: entspricht pb-20 */
}
.section-padding {
    padding-top: 5rem !important; /* Handy: entspricht py-20 */
    padding-bottom: 5rem !important;
}

/* Desktop Anpassungen */
@media (min-width: 1024px) {
    .hero-padding {
        padding-top: 5rem !important; /* Laptop: entspricht lg:pt-24 */
        padding-bottom: 8rem !important; /* Laptop: entspricht lg:pb-32 */
    }
    .section-padding {
        padding-top: 8rem !important; /* Laptop: entspricht lg:py-32 */
        padding-bottom: 8rem !important;
    }
}