/* Stui homepage: all overrides are scoped to the homepage. */

.hs-stui-home { max-width: 1600px; padding-top: 36px; }
.hs-stui-home .hs-logo { width: 200px; }
.hs-stui-home .hs-stui-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
    padding-block: 48px 56px;
}
.hs-stui-portrait { position: relative; min-width: 0; margin: 0; }
.hs-stui-character { display: block; width: 100%; height: auto; max-height: 690px; object-fit: contain; }
.hs-stui-note {
    position: absolute; top: 0; left: 0; z-index: 1;
    max-width: 150px; color: var(--hs-green);
    font-family: Georgia, serif; font-style: italic;
    font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2;
    transform: rotate(-9deg);
}
.hs-stui-copy { min-width: 0; }
.hs-stui-eyebrow { margin: 0 0 20px; color: var(--hs-green); font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hs-stui-home .hs-heading { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -.055em; overflow-wrap: normal; hyphens: auto; text-wrap: initial; }
.hs-stui-accent { width: 96px; height: 9px; margin-block: 30px 36px; background: #a8df27; }
.hs-stui-description { max-width: 450px; margin: 0; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.6; }
.hs-stui-values { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 52px 0 0; padding: 0; list-style: none; font-size: clamp(15px, 1.4vw, 19px); font-weight: 650; }
.hs-stui-values li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 18px; border-radius: 50%; background: var(--hs-green); vertical-align: middle; }
.hs-stui-home .hs-footer { border-top-color: #cdd2c5; }

@media (max-width: 1000px) and (min-width: 768px) {
    .hs-stui-home { padding-inline: 32px; }
    .hs-stui-home .hs-heading { font-size: 42px; }
}

@media (max-width: 767px) {
    .hs-stui-home { padding-top: 24px; }
    .hs-stui-home .hs-logo { width: 176px; }
    .hs-stui-home .hs-stui-main { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px; }
    .hs-stui-copy { grid-row: 1; }
    .hs-stui-home .hs-heading { font-size: clamp(36px, 8vw, 58px); }
    .hs-stui-accent { margin-block: 24px; width: 72px; height: 7px; }
    .hs-stui-description { max-width: 540px; font-size: 18px; }
    .hs-stui-values { margin-top: 28px; gap: 8px 12px; font-size: 15px; }
    .hs-stui-values li + li::before { margin-right: 12px; }
    .hs-stui-portrait { width: 100%; max-width: 430px; margin-inline: auto; }
    .hs-stui-character { max-height: 460px; }
    .hs-stui-note { top: 16px; font-size: 23px; max-width: 120px; }
}

@media (max-width: 359px) {
    .hs-stui-home .hs-logo { width: 152px; }
    .hs-stui-home .hs-heading { font-size: 32px; }
}

/* Login: Bootstrap modal */

.hs-login-modal .modal-content {
    padding: 12px;
    border: 1px solid rgba(44, 107, 79, .18);
    border-radius: 22px;
    background: var(--hs-cream);
    color: var(--hs-ink);
}

.hs-login-modal .modal-header {
    border-bottom: 0;
    padding: 20px 20px 8px;
}

.hs-login-modal .modal-title {
    font-weight: 750;
}

.hs-login-modal .modal-body {
    padding: 16px 20px 24px;
}

.hs-login-description {
    margin-bottom: 24px;
    line-height: 1.6;
}

.hs-login-modal .form-label {
    font-size: 14px;
    font-weight: 650;
}

.hs-login-modal .form-control {
    min-height: 50px;
    border: 1px solid rgba(44, 107, 79, .35);
    border-radius: 10px;
    background: #fff;
}

.hs-login-modal .form-control:focus {
    border-color: var(--hs-green);
    box-shadow: 0 0 0 3px rgba(44, 107, 79, .15);
}

.hs-login-submit {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-top: 24px;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--hs-green);
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.hs-login-submit:hover {
    background: var(--hs-ink);
}

.hs-login-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.hs-login-back {
    display: block;
    margin: 16px auto 0;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    color: var(--hs-green);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.hs-login-code-input {
    font-size: 24px;
    font-weight: 650;
    letter-spacing: .2em;
    text-align: center;
}

.hs-login-message {
    margin-top: 20px;
    font-size: 14px;
}

.hs-login-message.is-error {
    color: #b02a37;
}

.hs-login-message.is-success {
    color: var(--hs-green);
}

.hs-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--hs-green);
    border-radius: 12px;
    background: var(--hs-green);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.hs-login-submit:hover {
    background: var(--hs-ink);
    border-color: var(--hs-ink);
    color: #fff;
}

.hs-login-submit {
    display: flex;
    width: 100%;
    margin-top: 24px;
}

.hs-login-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.hs-login-back {
    display: block;
    margin: 16px auto 0;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    color: var(--hs-green);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.hs-login-back:hover {
    color: var(--hs-ink);
    text-decoration: underline;
}

/* HeyStui Startseite: WhatsApp-QR-Kontaktbereich */

.hs-stui-home .hs-stui-qr-mobile { display: none; }
.hs-stui-home .hs-stui-qr {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-top: 1.6rem;
    padding: 1rem;
    border: 1px solid rgba(30, 45, 37, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .75);
}
.hs-stui-home .hs-stui-qr-image {
    display: block;
    flex: 0 0 160px;
    width: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.hs-stui-home .hs-stui-qr-image img {
    display: block;
    width: 100%;
    height: auto;
}
.hs-stui-home .hs-stui-qr-text { min-width: 0; }
.hs-stui-home .hs-stui-qr-text h2 {
    margin: 0 0 .45rem;
    font-size: clamp(1.08rem, 2vw, 1.4rem);
    line-height: 1.2;
}
.hs-stui-home .hs-stui-qr-text p {
    margin: 0 0 .7rem;
    font-size: .94rem;
    line-height: 1.5;
}
.hs-stui-home .hs-stui-qr-action {
    color: inherit;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.hs-stui-home .hs-stui-qr-action:hover { text-decoration-thickness: 2px; }
.hs-stui-home .hs-stui-qr-image:focus-visible,
.hs-stui-home .hs-stui-qr-action:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 768px) {
    .hs-stui-home .hs-stui-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hs-stui-home .hs-stui-portrait,
    .hs-stui-home .hs-stui-copy {
        max-width: 100%;
    }
    .hs-stui-home .hs-stui-qr-desktop { display: none; }
    .hs-stui-home .hs-stui-qr-mobile {
        display: block;
        width: 100%;
        max-width: 460px;
        margin: 0 auto 1.5rem;
    }
    .hs-stui-home .hs-stui-qr-mobile .hs-stui-qr {
        margin-top: 0;
    }
    .hs-stui-home .hs-stui-qr {
        flex-direction: column;
        gap: .7rem;
        text-align: center;
    }
    .hs-stui-home .hs-stui-qr-image {
        flex: none;
        width: 192px;
    }
}

.hs-stui-home .hs-stui-start-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 52px;
    padding: .85rem 1.5rem;
    box-sizing: border-box;
    border-radius: 14px;
    background: var(--hs-ink, #1e2d25);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.hs-stui-home .hs-stui-start-button:hover {
    opacity: .9;
}

.hs-stui-home .hs-stui-start-button:focus-visible {
    outline: 3px solid var(--hs-ink, #1e2d25);
    outline-offset: 4px;
}
