/* =========================================================
   Gartenparadies Heek – Innerer Gartencheck
   ausgelagerte CSS-Datei
   ========================================================= */

.garden-check-page {
    min-height: calc(100vh - 92px);
    background:
        radial-gradient(circle at top left, rgba(126,163,90,.22), transparent 32%),
        linear-gradient(135deg, #f7f4ec 0%, #edf5ea 100%);
    padding: 70px 20px;
}

.garden-check-container {
    max-width: 980px;
    margin: 0 auto;
}

.garden-check-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 48px;
    box-shadow: 0 16px 42px rgba(0,0,0,.09);
    border: 1px solid rgba(126, 163, 90, 0.18);
}

.check-label {
    text-align: center;
    color: #6d8a5e;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.garden-check-card h1 {
    text-align: center;
    font-family: Georgia, serif;
    color: #143f26;
    font-size: 46px;
    line-height: 1.15;
    margin: 0 0 20px;
}

.garden-check-card h2 {
    font-family: Georgia, serif;
    color: #143f26;
    font-size: 32px;
    margin: 0 0 14px;
}

.garden-check-card p {
    color: #304133;
    font-size: 18px;
    line-height: 1.75;
}

.intro-text {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.garden-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 30px 0;
}

.garden-map-item {
    background: #f7faf5;
    border: 1px solid #dfe7d8;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.garden-map-item i {
    color: #2f5d34;
    font-size: 25px;
    margin-bottom: 10px;
}

.garden-map-item strong {
    display: block;
    font-size: 14px;
    color: #17351f;
}

.progress-wrap {
    margin: 0 0 34px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6d8a5e;
    margin-bottom: 8px;
    font-weight: 700;
}

.progress-line {
    height: 5px;
    background: #e4eadf;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: #2f5d34;
    transition: width .25s ease;
}

.check-step {
    display: none;
}

.check-step.active {
    display: block;
}

.question {
    margin: 28px 0;
}

.question-title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-weight: 700;
    color: #17351f;
    line-height: 1.5;
}

.question-number {
    color: #8f2f25;
    font-size: 13px;
    min-width: 28px;
    padding-top: 2px;
}

.question-bereich {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #6d8a5e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.options.two {
    grid-template-columns: repeat(2, 1fr);
}

.options.multi {
    grid-template-columns: repeat(3, 1fr);
}

.option {
    position: relative;
    display: block;
}

.option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid #dfe7d8;
    border-radius: 14px;
    background: #ffffff;
    color: #17351f;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
}

.option span:hover {
    border-color: #7ea35a;
    background: #f7faf5;
}

.option input:checked + span {
    background: #2f5d34;
    color: #ffffff;
    border-color: #2f5d34;
    box-shadow: 0 8px 18px rgba(47,93,52,.18);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-weight: 700;
    color: #17351f;
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #dfe7d8;
    border-radius: 12px;
    padding: 15px 16px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: #17351f;
    background: #ffffff;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.consent-box {
    background: #f7faf5;
    border: 1px solid #dfe7d8;
    border-radius: 16px;
    padding: 18px;
    margin-top: 16px;
}

.consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 12px 0;
    color: #304133;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 400;
}

.consent-row input {
    width: auto;
    margin-top: 3px;
}

.check-hinweis {
    font-size: 14px !important;
    color: #5d675f !important;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    border-left: 4px solid #9bb68d;
    margin-top: 22px !important;
}

.check-soft-box {
    background: #f8f5ef;
    border: 1px solid #e5dccb;
    border-radius: 20px;
    padding: 22px;
    margin: 26px 0;
}

.check-soft-box p {
    margin: 0;
}

.step-actions {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid #e4eadf;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.hidden {
    display: none !important;
}

.check-alert {
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.check-alert.error {
    background: #fff4f2;
    color: #84251a;
    border-left: 5px solid #b84535;
}

.check-alert.success {
    background: #eef8ec;
    color: #244929;
    border-left: 5px solid #2f5d34;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.result-card {
    background: #f7faf5;
    border: 1px solid #dfe7d8;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
}

.result-card i {
    color: #2f5d34;
    font-size: 26px;
    margin-bottom: 12px;
}

.result-card strong {
    display: block;
    color: #17351f;
    margin-bottom: 8px;
}

.result-card span {
    display: block;
    color: #5d675f;
    font-size: 14px;
    line-height: 1.5;
}

.success-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons im Check */
.garden-check-card .btn {
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.garden-check-card .btn.light {
    border: 2px solid #2f5d34;
}

.garden-check-card .btn:disabled {
    background: #a6ada5;
    color: #ffffff;
    border-color: #a6ada5;
    cursor: not-allowed;
    transform: none;
    opacity: .75;
}

.garden-check-card .btn:disabled:hover {
    background: #a6ada5;
    color: #ffffff;
    transform: none;
}

/* Responsive */
@media (max-width: 1000px) {
    .garden-check-card {
        padding: 34px 24px;
    }

    .garden-check-card h1 {
        font-size: 36px;
    }

    .options,
    .options.two,
    .options.multi,
    .form-grid,
    .garden-map,
    .result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .garden-check-page {
        padding: 42px 16px;
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .garden-check-card .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .garden-check-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .garden-check-card h1 {
        font-size: 31px;
    }

    .garden-check-card h2 {
        font-size: 25px;
    }

    .garden-check-card p {
        font-size: 16px;
    }
}