/* -----------------------------------------------------------
   GLOBAL FORM STYLES
----------------------------------------------------------- */

#fw-booking-form {
    background: #f8f7f3;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e3e0d8;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    font-family: inherit;
}

#fw-booking-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #4a4a4a;
}

#fw-booking-form input[type="text"],
#fw-booking-form input[type="number"],
#fw-booking-form select,
#fw-booking-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    margin-bottom: 1rem;
    font-size: 15px;
    transition: all 0.2s ease;
}

#fw-booking-form input:focus,
#fw-booking-form select:focus,
#fw-booking-form textarea:focus {
    border-color: #7aa37a;
    box-shadow: 0 0 0 2px rgba(122,163,122,0.2);
}

/* -----------------------------------------------------------
   GRID SYSTEM
----------------------------------------------------------- */

.fw-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.fw-col {
    flex: 1;
}

/* -----------------------------------------------------------
   ACCORDION (Teilnehmer)
----------------------------------------------------------- */

.fw-participant {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 1.5rem;
}

.fw-acc-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    font-weight: 700;
    color: #3d5c3d;
}

.fw-acc-arrow {
    transition: transform .35s ease;
}

.fw-participant.open .fw-acc-arrow {
    transform: rotate(180deg);
}

/* Accordion Animation */
.fw-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .35s ease;
    opacity: 0;
}

.fw-participant.open .fw-acc-content {
    max-height: 800px;
    opacity: 1;
}

/* -----------------------------------------------------------
   STEP NAVIGATION
----------------------------------------------------------- */

.fw-step {
    display: none;
    margin-bottom: 2rem;
}

.fw-step.active {
    display: block;
}

.fw-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.fw-nav-btn {
    background: #6c8f6c;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s ease;
}

.fw-nav-btn:hover {
    background: #5a7a5a;
}

/* -----------------------------------------------------------
   SUBMIT BUTTON
----------------------------------------------------------- */

#fw-booking-form .fw-submit {
    background: #6c8f6c;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 1rem;
}

#fw-booking-form .fw-submit:hover {
    background: #5a7a5a;
}

/* -----------------------------------------------------------
   PREISBOX + ANIMATION
----------------------------------------------------------- */

#fw-price-summary {
    background: #fff;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 1rem;
}

.fw-price-animate {
    animation: fwPulse .35s ease;
}

@keyframes fwPulse {
    0%   { background-color: #fff3; }
    50%  { background-color: #e8f3e8; }
    100% { background-color: #fff; }
}

/* -----------------------------------------------------------
   VALIDIERUNG
----------------------------------------------------------- */

.fw-error {
    border-color: #c0392b !important;
    background: #fff5f5 !important;
}

.fw-error-message {
    color: #c0392b;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 10px;
}

.fw-valid {
    border-color: #6c8f6c !important;
    background: #f3f8f3 !important;
}

/* -----------------------------------------------------------
   ICONS (SVG)
----------------------------------------------------------- */

.fw-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    opacity: .85;
}

.fw-icon svg {
    width: 18px;
    height: 18px;
    fill: #6c8f6c;
}

/* -----------------------------------------------------------
   TOOLTIP (Preis-Erklärungen)
----------------------------------------------------------- */

.fw-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #6c8f6c;
}

.fw-tooltip:hover .fw-tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fw-tooltip-text {
    position: absolute;
    left: 0;
    top: 120%;
    background: #f8f7f3;
    padding: .8rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 220px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 10;
}
.fw-step1-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    margin-top: 20px;
    margin-bottom: 20px;
}

.fw-card-options ul {
    margin: 0;
    padding-left: 18px;
}

.fw-card-options h4 {
    margin-top: 15px;
    margin-bottom: 5px;
}
.fw-termin-item {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}

.fw-termin-datum {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.fw-gesamt-ab {
    font-size: 17px;
    margin-bottom: 6px;
}

.fw-kurs-klein {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 10px;
}

.fw-ez-aufpreis {
    margin-bottom: 6px;
    font-size: 15px;
}

.fw-dz-preis {
    margin-bottom: 12px;
}

.fw-termin-optionen div {
    margin-bottom: 4px;
}

.fw-hinweis-klein {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 12px;
    margin-bottom: 12px;
}

.fw-termin-buttons a {
    display: inline-block;
    padding: 10px 18px;
    background: #2a7f62;
    color: #fff;
    border-radius: 8px;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.fw-termin-buttons a:hover {
    background: #256f56;
}
.fw-card {
    background: #f4efe6;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.fw-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #4a4a4a;
}

.fw-card p {
    margin: 4px 0;
    color: #444;
}

.fw-card strong {
    color: #2a2a2a;
}

/* -----------------------------------------------------------
  STYLING ORDER BOX WooCOMMERCE
----------------------------------------------------------- */
.fw-order-box {
    background: #f4efe6;
    padding: 18px 22px;
    border-radius: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.fw-order-box h4 {
    margin: 10px 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
}

.fw-order-box p {
    margin: 3px 0;
    color: #444;
}
.fw-home-btn {
    display: inline-block;
    background: #2a7f62;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.fw-home-btn:hover {
    background: #256f56;
}
.fw-checkout-participants ul,
.fw-order-box ul {
    margin: 6px 0 10px 0;
    padding-left: 18px;
}

.fw-checkout-participants li,
.fw-order-box li {
    margin: 2px 0;
}
