/* =========================================================
   HBS Garage · Hilfe suchen
   ========================================================= */

.help-create-page {
    width: min(820px, 100%);
    margin-inline: auto;
}


/* ---------- Kopf ---------- */

.help-create-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1.25rem;
}

.help-create-header > div {
    min-width: 0;
}

.help-create-header .eyebrow {
    display: inline-block;

    margin-bottom: .3rem;

    color: var(--color-primary);

    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.help-create-header h1 {
    margin: 0;

    max-width: 620px;

    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.help-create-header p {
    max-width: 570px;

    margin: .55rem 0 0;

    color: var(--color-text-muted);

    font-size: .82rem;
    line-height: 1.55;
}

.help-create-header .btn {
    flex: 0 0 auto;

    min-height: 42px;

    padding-inline: .9rem;

    border-radius: 11px;
}


/* ---------- Formular ---------- */

.help-create-form {
    display: block;
}

.help-create-card {
    padding: clamp(1.1rem, 3vw, 1.55rem);

    border: 1px solid var(--color-border);
    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 8px 28px
        rgba(31, 48, 35, .055);
}


/* ---------- Bereiche ---------- */

.help-create-section {
    display: grid;
    gap: 1rem;
}

.help-create-heading {
    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr);

    gap: .7rem;

    align-items: start;
}

.help-create-number {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--color-primary-light);
    color: var(--color-primary-dark);

    font-size: .67rem;
    font-weight: 900;
}

.help-create-heading h2 {
    margin: 0;

    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.help-create-heading p {
    max-width: 620px;

    margin: .28rem 0 0;

    color: var(--color-text-muted);

    font-size: .72rem;
    line-height: 1.5;
}

.help-create-divider {
    height: 1px;

    margin: 1.3rem 0;

    background: var(--color-border);
}


/* ---------- Felder ---------- */

.help-create-fields {
    display: grid;
    grid-template-columns: 1fr;

    gap: .9rem;
}

.help-create-date-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: .9rem;
}

.help-create-page .field {
    min-width: 0;
    margin: 0;
}

.help-create-page .field > label {
    display: block;

    margin: 0 0 .38rem;

    color: var(--color-text);

    font-size: .72rem;
    font-weight: 850;
}

.help-create-page .input {
    width: 100%;
    min-height: 48px;

    padding: .7rem .8rem;

    border: 1px solid var(--color-border-strong);
    border-radius: 12px;

    background: #fff;
    color: var(--color-text);

    font: inherit;
    font-size: .82rem;
}

.help-create-page .input:focus {
    outline: none;

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(76, 110, 68, .12);
}

.help-create-description {
    min-height: 130px;

    resize: vertical;
}

.help-create-page .field-help {
    display: block;

    margin-top: .3rem;

    color: var(--color-text-muted);

    font-size: .64rem;
    line-height: 1.4;
}


/* ---------- Nachbarschaftshinweis ---------- */

.help-create-location-note {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    gap: .7rem;

    margin-top: 1.2rem;
    padding: .8rem;

    border: 1px solid #dce6d8;
    border-radius: 12px;

    background: #f6f9f4;
}

.help-create-location-note > span {
    font-size: 1rem;
}

.help-create-location-note strong {
    display: block;

    font-size: .75rem;
}

.help-create-location-note p {
    margin: .15rem 0 0;

    color: var(--color-text-muted);

    font-size: .67rem;
    line-height: 1.45;
}


/* ---------- Aktionen ---------- */

.help-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;

    margin-top: .8rem;
}

.help-create-actions .btn {
    min-width: 150px;

    border-radius: 11px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

    .help-create-page {
        width: 100%;
    }

    .help-create-header {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: .7rem;

        margin-bottom: 1rem;
    }

    .help-create-header h1 {
        font-size: 1.85rem;
    }

    .help-create-header p {
        font-size: .76rem;
    }

    .help-create-header .btn {
        min-height: 38px;

        padding: .5rem .65rem;

        font-size: .68rem;
    }

    .help-create-card {
        padding: 1rem .9rem;

        border-radius: 15px;
    }

    .help-create-heading {
        grid-template-columns:
            34px
            minmax(0, 1fr);

        gap: .6rem;
    }

    .help-create-number {
        width: 34px;
        height: 34px;
    }

    .help-create-heading h2 {
        font-size: 1.15rem;
    }

    .help-create-heading p {
        font-size: .68rem;
        line-height: 1.45;
    }

    .help-create-date-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    /*
     * Verhindert automatisches Zoomen
     * von iOS Safari beim Fokus.
     */
    .help-create-page .input {
        min-height: 47px;

        font-size: 16px;
    }

    .help-create-description {
        min-height: 120px;
    }

    .help-create-actions {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .help-create-actions .btn {
        width: 100%;
        min-width: 0;
    }
}


@media (max-width: 430px) {

    .help-create-header {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .help-create-header .btn {
        width: 100%;
    }

    .help-create-actions {
        grid-template-columns:
            minmax(0, 1fr);
    }
}
