/* hockeygastro Formspree Forms - Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.hg-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    color: #111111;
    font-size: 15px;
    line-height: 1.5;
}

.hg-form-wrapper * {
    box-sizing: border-box;
}

/* Schritt-Anzeige */
.hg-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
}

.hg-step-item {
    text-align: center;
    position: relative;
}

.hg-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(100% + 12px);
    width: calc(100% - 8px);
    height: 2px;
    background: #e0e0e0;
    min-width: 24px;
}

.hg-step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    background: #c4c4c4;
    border: 2px solid #c4c4c4;
    transition: all 0.25s ease;
}

.hg-step-item.active .hg-step-circle,
.hg-step-item.done .hg-step-circle {
    background: #cf072b;
    border-color: #cf072b;
}

.hg-step-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hg-step-item.active .hg-step-label {
    color: #cf072b;
    font-weight: 600;
}

/* Panels */
.hg-step-panel {
    display: none;
    border: 1px solid #e6e6e6;
    padding: 32px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hg-step-panel.active {
    display: block;
}

.hg-step-title {
    margin: 0 0 24px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111111;
    border-bottom: 2px solid #cf072b;
    padding-bottom: 12px;
    display: inline-block;
}

/* Formularfelder */
.hg-form-wrapper label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

.hg-form-wrapper input,
.hg-form-wrapper select,
.hg-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 8px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #111111;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hg-form-wrapper input::placeholder,
.hg-form-wrapper textarea::placeholder {
    color: #999999;
    font-weight: 400;
}

.hg-form-wrapper input:focus,
.hg-form-wrapper select:focus,
.hg-form-wrapper textarea:focus {
    outline: none;
    border-color: #cf072b;
    box-shadow: 0 0 0 3px rgba(207, 7, 43, 0.12);
}

.hg-form-wrapper textarea {
    resize: vertical;
    min-height: 110px;
}

.hg-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hg-col {
    flex: 1 1 calc(50% - 9px);
    min-width: 220px;
}

/* Buttons */
.hg-buttons {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
}

.hg-btn {
    padding: 13px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
}

.hg-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.hg-btn-prev {
    background: #f2f2f2;
    color: #333333;
}

.hg-btn-prev:hover {
    background: #e6e6e6;
}

.hg-btn-next,
.hg-btn-submit {
    background: #111111;
    color: #ffffff;
}

.hg-btn-next:hover,
.hg-btn-submit:hover {
    background: #cf072b;
}

.hg-btn-submit:disabled {
    background: #999999;
    cursor: not-allowed;
    transform: none;
}

/* Honeypot-Falle (unsichtbar für Menschen) */
.hg-honeypot {
    position: absolute;
    left: -5000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Erfolg / Fehler */
.hg-message {
    display: none;
    padding: 22px;
    border-radius: 6px;
    margin-top: 22px;
    font-weight: 600;
    font-size: 15px;
}

.hg-message.hg-success {
    background: #e9f7ef;
    color: #1e6f4c;
    border: 1px solid #b8e0cc;
}

.hg-message.hg-error {
    background: #fdeded;
    color: #9b1c1c;
    border: 1px solid #f5b5b5;
}

.hg-message.visible {
    display: block;
}

/* Spinner */
.hg-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hg-spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes hg-spin {
    to { transform: rotate(360deg); }
}

/* Mobile */
@media (max-width: 600px) {
    .hg-step-panel {
        padding: 22px;
    }

    .hg-steps {
        gap: 28px;
    }

    .hg-step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hg-step-item:not(:last-child)::after {
        top: 19px;
        width: calc(100% - 4px);
    }

    .hg-col {
        flex: 1 1 100%;
    }

    .hg-btn {
        padding: 12px 18px;
        font-size: 13px;
    }
}
