/* =========================================
   PROPERĀ Austria — AGB
   ========================================= */

.ps-agb {
    width: 100%;
    padding: 72px 24px 96px;
    color: #063F63;
    background: #fff;
    box-sizing: border-box;
}

.ps-agb *,
.ps-agb *::before,
.ps-agb *::after {
    box-sizing: border-box;
}

.ps-agb__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */

.ps-agb__header {
    max-width: 900px;
    margin: 0 auto 42px;
}

.ps-agb__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #8F2A91;
    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ps-agb__title {
    margin: 0 !important;
    color: #063F63 !important;
    font-family: "MULTIROUND", "Nunito", sans-serif !important;
    font-size: 46px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.ps-agb__accent {
    width: 64px;
    height: 4px;
    margin-top: 24px;
    border-radius: 4px;
    background: #8F2A91;
}

/* Legal text */

.ps-agb__article {
    max-width: 900px;
    margin: 0 auto;
    color: #385A70;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.ps-agb__article h2 {
    margin: 44px 0 18px;
    color: #063F63;
    font-family: "MULTIROUND", "Nunito", sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.35;
}

.ps-agb__article h3 {
    margin: 30px 0 12px;
    color: #063F63;
    font-family: "Nunito", sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.45;
}

.ps-agb__article p {
    margin: 0 0 20px;
}

.ps-agb__article ul,
.ps-agb__article ol {
    margin: 0 0 24px;
    padding-left: 26px;
}

.ps-agb__article li {
    margin-bottom: 8px;
}

.ps-agb__article a {
    color: #8F2A91;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ps-agb__article a:hover {
    color: #762078;
}

/* PDF download */

.ps-agb__download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 28px 32px;
    border: 1px solid #DCE6EC;
    border-radius: 12px;
    background: #F7F9FA;
}

.ps-agb__download-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ps-agb__download-title {
    color: #063F63;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.ps-agb__download-description {
    color: #55738A;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ps-agb__download-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 14px 22px;
    border: 0;
    border-radius: 6px;
    background: #8F2A91;
    color: #fff !important;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.ps-agb__download-button:hover {
    background: #762078;
    color: #fff !important;
}

.ps-agb__download-button:focus-visible {
    outline: 2px solid #063F63;
    outline-offset: 4px;
}

.ps-agb__download-icon {
    font-size: 20px;
    line-height: 1;
}

/* Tablet */

@media (max-width: 900px) {
    .ps-agb {
        padding: 56px 24px 76px;
    }

    .ps-agb__title {
        font-size: 40px !important;
    }

    .ps-agb__article {
        font-size: 15px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .ps-agb {
        padding: 40px 18px 56px;
    }

    .ps-agb__header {
        margin-bottom: 28px;
    }

    .ps-agb__eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .ps-agb__title {
        font-size: 32px !important;
        line-height: 1.25 !important;
    }

    .ps-agb__accent {
        margin-top: 20px;
    }

    .ps-agb__article {
        font-size: 14px;
        line-height: 1.8;
    }

    .ps-agb__article h2 {
        margin-top: 32px;
        font-size: 23px;
    }

    .ps-agb__article h3 {
        margin-top: 24px;
        font-size: 17px;
    }

    .ps-agb__article p {
        margin-bottom: 16px;
    }

    .ps-agb__download {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-top: 32px;
        padding: 22px 18px;
    }

    .ps-agb__download-title {
        font-size: 16px;
    }

    .ps-agb__download-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-agb__download-button {
        transition: none;
    }
}