/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/**Styling des Anmeldeformualars Fachtagung
/* ===== SPECTRA CONTAINER FÃœR FORMULAR ===== */

.wp-block-uagb-container.alignwide {
    max-width: 1200px !important;
    width: 90% !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
}

/* ===== FORMULAR WRAPPER ===== */

#fachtagung-formular-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* ===== FORMULAR STYLES ===== */

.fachtagung-form {
    width: 100%;
    margin: 0;
    padding: 30px;
    background: #faf6f5;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-small {
    grid-column: span 1;
    max-width: 150px;
}

.form-group-large {
    grid-column: span 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #2c2c2c;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #a7301c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e6ece6;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: white;
    color: #2c2c2c;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none;
    border-color: #0d7150;
}

.form-section {
    margin: 30px 0;
    padding: 25px;
    background: #e6ece6;
    border-radius: 6px;
}

.form-section h3 {
    margin: 0 0 10px 0;
    color: #2c2c2c;
    font-size: 18px;
}

.form-note {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #666;
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    margin: 3px 12px 0 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin: 3px 12px 0 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #0d7150;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: #a7301c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    box-sizing: border-box;
}

.submit-button:hover {
    background: #8a2616;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 500;
}

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

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

/* ===== RESPONSIVE ANPASSUNGEN ===== */

/* Tablet: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .fachtagung-form {
        padding: 25px;
    }
    
    .form-row {
        gap: 18px;
    }
    
    .form-group-small {
        max-width: 130px;
    }
}

/* Smartphone: max 768px */
@media (max-width: 768px) {
    .fachtagung-form {
        padding: 15px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group-small {
        max-width: 100%;
    }
    
    .form-group-large {
        grid-column: span 1;
    }
    
    label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .form-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .form-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .form-note {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .checkbox-group {
        margin-bottom: 12px;
    }
    
    .checkbox-group label {
        font-size: 13px;
    }
    
    .submit-button {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Extra small: max 480px */
@media (max-width: 480px) {
    .fachtagung-form {
        padding: 12px;
    }
    
    label {
        font-size: 12px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        padding: 8px 10px;
        font-size: 15px;
    }
    
    .submit-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}




/**
 * Kontaktformular Styles
 * Basierend auf dem Fachtagung-Anmeldeformular
 */

/* Wrapper mit Breitensteuerung */
#kontaktformular-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* Desktop: 5% Abstand zu beiden Seiten */
@media (min-width: 992px) {
    #kontaktformular-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Tablet: 8% Abstand zu beiden Seiten */
@media (min-width: 768px) and (max-width: 991px) {
    #kontaktformular-wrapper {
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* Smartphone: 5% Abstand zu beiden Seiten */
@media (max-width: 767px) {
    #kontaktformular-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Formular selbst */
.kontaktformular-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #faf6f5;
    border-radius: 8px;
}

/* Zeilen im Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Form-Gruppen */
.form-group {
    margin-bottom: 20px;
}

.form-group-small {
    grid-column: span 1;
    max-width: 150px;
}

.form-group-large {
    grid-column: span 1;
}

/* Label Styling */
label {
    display: block;
    margin-bottom: 8px;
    color: #2c2c2c;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #a7301c;
}

/* Input Felder, Select, Textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e6ece6;
    border-radius: 4px;
    background: white;
    color: #2c2c2c;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

/* Einheitliche Höhe für Select-Felder */
select[name="anrede"],
select[name="titel"] {
    height: 50px;
    line-height: 50x;      /* vertikale Zentrierung des Textes */
    padding: 0 15px;        /* horizontaler Abstand */
    box-sizing: border-box; /* Höhe inkl. Padding */
    font-size: 16px;
}



}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Fokus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0d7150;
}

/* Checkboxen */
.checkbox-group,
.checkbox-label {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"],
.checkbox-label input[type="checkbox"] {
    margin: 3px 12px 0 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #0d7150;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #0a5a3f;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: #a7301c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #8a2616;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Formular-Meldungen */
.form-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 500;
}

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

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

/* Responsive: Smartphone Einspaltig */
@media (max-width: 767px) {
    .kontaktformular-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group-small {
        max-width: 100%;
    }
}

/* Tablet und Desktop: Mehrspaltig */
@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}






