@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: clip;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
    font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
    background: #fff;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.61;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

a {
    color: #2267e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 669px) {
    .content-wrapper {
        padding: 0 24px;
    }
}

.page-header {
    background: #fff;
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 669px) {
    .page-header {
        padding: 8px 24px;
    }
}

.topnavigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    max-width: 1170px;
    margin: 0 auto;
}

.topnavigation .logo {
    flex-shrink: 0;
    min-width: 0;
}

.topnavigation .logo a {
    display: block;
}

.topnavigation .logo svg {
    display: block;
    height: 36px;
    width: auto;
}

.header-notice {
    display: inline-block;
    padding: 6px 14px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: nowrap;
}

.section-module {
    position: relative;
    width: 100%;
    max-width: 144rem;
    margin: 0 auto 12rem auto;
    padding: 0 1.6rem;
    min-width: 0;
}

.hero-module.section-module {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    padding: 0;
}

.hero-module {
    display: grid;
    position: relative;
    height: calc(100vh - 4.8rem);
    min-height: 500px;
    color: #fff;
    overflow: hidden;
}

.hero-module .hero-image {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background-image: url("../images/1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.hero-module .hero-content {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 144rem;
    padding: 0 1.6rem;
    display: grid;
    align-content: center;
    gap: 1.6rem;
    height: 100%;
    z-index: 1;
    min-width: 0;
}

.hero-module small {
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 144rem;
    padding: 0 1.6rem;
    font-size: 1.2rem;
    opacity: 0.85;
    z-index: 1;
}

.hero-module .hero-title {
    position: relative;
    font-size: 8.4rem;
    line-height: 0.75;
    margin-bottom: 0;
    color: #fff;
    font-weight: 700;
}

.hero-module .hero-title sup {
    font-size: 0.75em;
}

.hero-module .hero-title .teal {
    color: #00ffd0;
}

.hero-module .sub-title {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 1.6rem;
    letter-spacing: 0.1rem;
    color: #fff;
    font-weight: 600;
}

.hero-module .sub-title br {
    display: none;
}

.hero-module p {
    font-size: 1.6rem;
    line-height: 1.5;
}

.hero-module .buttons-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 25%);
    gap: 3.2rem;
    max-width: 80%;
}

.hero-module .campaign-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.8rem;
    padding: 1.2rem 1.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 2.6rem;
    font-family: "Open Sans", sans-serif;
    transition: background 0.2s;
    text-align: left;
    height: 7.5rem;
    width: 100%;
    max-width: 100%;
}

.hero-module .campaign-cta i {
    font-size: 2.6rem;
    color: #00ffd0;
    flex-shrink: 0;
}

.hero-module .campaign-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    color: #fff;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
    margin-bottom: -12rem;
    position: relative;
    z-index: 2;
}

.intro-text {
    position: relative;
    top: -4rem;
    font-family: "Open Sans", sans-serif;
    color: #333;
    min-width: 0;
    max-width: 100%;
}

.intro-text img {
    max-width: 90%;
    height: auto;
}

.intro-text p,
.intro-text .intro-heading {
    position: relative;
    top: -8rem;
    font-size: clamp(1.5rem, 5vw, 6.4rem);
    line-height: 1;
    font-weight: 700;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.intro-text p span,
.intro-text .intro-heading span {
    display: block;
    white-space: nowrap;
}

.products-section.section-module {
    margin-top: 8rem;
}

.benefit-boxes {
    display: grid;
    gap: 3.2rem;
    align-content: start;
    min-width: 0;
    margin-top: 4rem;
}

.benefit-box {
    padding: 3.2rem 2.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 1.6rem;
    background: #fff;
}

.benefit-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.benefit-box p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #555;
}

.products-section .section-title {
    font-size: clamp(1.2rem, 3.5vw, 6rem);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    height: 48rem;
    margin: 3.2rem 0;
    max-width: 72rem;
}

.product-container {
    position: relative;
    border-radius: 0.8rem;
    overflow: hidden;
    min-width: 0;
    height: 100%;
    width: 100%;
    max-width: 72rem;
}

.product-link {
    display: block;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease-out;
}

.product-link:hover {
    transform: scale(1.05);
}

.immoklub-link {
    background-image: url("../images/2.webp");
}

.product-text {
    position: absolute;
    bottom: 3.8rem;
    left: 0;
    padding: 0 clamp(1.5rem, 2.431vw, 3.5rem);
    color: #fff;
    pointer-events: none;
    z-index: 1;
    max-width: 100%;
}

.product-text h3 {
    font-size: clamp(1.5rem, 4.5vw, 6.4rem);
    line-height: 0.775;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.product-text p {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #fff;
}

.products-section small {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-top: 2rem;
    line-height: 1.4;
}

.page-footer {
    background: #f5f5f5;
    font-size: 1.4rem;
    padding: 2rem 0 0;
    margin-top: 4rem;
}

.page-footer .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.page-footer .page-footer-heading {
    font-weight: 800;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.page-footer ul {
    list-style: none;
}

.page-footer ul li {
    margin-bottom: 0.3rem;
}

.page-footer ul li a {
    color: #333;
    font-size: 1.4rem;
}

.page-footer ul li a:hover {
    text-decoration: underline;
}

.footer-button {
    display: inline-block;
    margin-top: 1.6rem;
    padding: 0.55em 1.4em;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    text-decoration: none;
}

.footer-button:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: #333;
}

.page-footer .social-icons a {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    color: #333;
}

.page-footer .app-store-badges img {
    display: inline-block;
    height: 33px;
    width: auto;
    margin-right: 0.5rem;
    max-width: 100%;
}

.page-footer .scout-claim {
    font-weight: 700;
    font-size: 0.95rem;
    margin-left: 0.75rem;
}

.page-footer .footer-copyright {
    background: #fff;
    padding: 1.6rem 0;
    text-align: center;
    font-size: 1.4rem;
    margin-top: 2rem;
}

.page-footer .footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 1.6rem;
    padding: 0;
}

@media (max-width: 640px) {
    .page-footer .footer-legal ul {
        flex-direction: column;
        gap: 8px;
    }

    .page-footer .footer-legal ul li a {
        word-break: break-all;
    }
}

.teal {
    color: #00ffd0;
}

.display-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.gap-s {
    gap: 0.5rem;
}

.margin-top-xl {
    margin-top: 1.5rem;
}

.margin-bottom-xl {
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .header-notice {
        word-break: break-all;
    }

    .logo a {
        flex-direction: column;
    }

    .page-footer .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-module {
        padding: 0 1.2rem;
        margin-bottom: 6rem;
    }

    .hero-module {
        height: calc(100vh - 4rem);
    }

    .hero-module .hero-title {
        font-size: 4.8rem;
    }

    .hero-module .sub-title {
        font-size: 2rem;
        line-height: 1;
    }

    .hero-module .sub-title br {
        display: block;
    }

    .hero-module small {
        display: none;
    }

    .hero-module .buttons-wrapper {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        max-width: 100%;
    }

    .hero-module .campaign-cta,
    .hero-module .campaign-cta i {
        font-size: 2rem;
    }

    .hero-module .campaign-cta {
        height: 5rem;
    }

    .intro {
        grid-template-columns: 1fr;
        top: -10rem;
        gap: 3.2rem;
        margin-bottom: -6rem;
    }

    .intro-text {
        top: 0;
    }

    .intro-text img {
        max-width: 100%;
    }

    .intro-text p,
    .intro-text .intro-heading {
        top: -4rem;
        margin-bottom: -4rem;
    }

    .benefit-boxes {
        margin-top: 0;
    }

    .products-section.section-module {
        margin-top: 4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        height: 56rem;
        max-width: 100%;
    }

    .product-container {
        max-width: 100%;
    }

    .product-text {
        bottom: 1.4rem;
    }
}

.spacer hr {
    border: none;
    border-top: 1px solid #e0e0e0;
}

.margin-top-l {
    margin-top: 2.4rem;
}

.margin-left-l,
.margin-right-l {
    margin-left: 2.4rem;
    margin-right: 2.4rem;
}

.immoklub-form-section {
    margin: 4.8rem auto 6.4rem;
    max-width: 72rem;
    min-width: 0;
}

.immoklub-form__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 3.2rem;
    color: #333;
    text-align: center;
}

.immoklub-form {
    display: grid;
    gap: 2rem;
    min-width: 0;
}

.immoklub-form__field {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

.immoklub-form__field span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.immoklub-form__field input,
.immoklub-form__field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.2rem 1.6rem;
    font-size: 1.6rem;
    font-family: "Open Sans", sans-serif;
    border: 1px solid #ccc;
    border-radius: 0.8rem;
    background: #fff;
    color: #333;
}

.immoklub-form__field textarea {
    min-height: 16rem;
    resize: vertical;
}

.immoklub-form .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0.8rem 3.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    justify-self: start;
    width: auto;
    max-width: 100%;
}

.immoklub-form .button-secondary:hover {
    background: #222;
    color: #fff;
}

.thanks-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.thanks-modal--visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.thanks-modal__overlay {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.thanks-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 48rem;
    min-width: 0;
    padding: 3.2rem 2.4rem 2.4rem;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 1.6rem 4.8rem rgba(0, 0, 0, 0.2);
    text-align: center;
}

.thanks-modal__close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 3.2rem;
    height: 3.2rem;
    border: none;
    background: transparent;
    color: #666;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}

.thanks-modal__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #333;
    margin: 0 0 1.6rem;
    line-height: 1.25;
}

.thanks-modal__text {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #333;
    margin: 0 0 2.4rem;
}

.thanks-modal .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0.8rem 3.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    width: auto;
    max-width: 100%;
    text-decoration: none;
}

.thanks-modal .button-secondary:hover {
    background: #222;
    color: #fff;
}

@media (max-width: 668px) {
    .margin-left-l,
    .margin-right-l {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .content-wrapper,
    .section-module {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-header {
        padding: 8px 1rem;
    }

    .hero-module .hero-content {
        padding: 1.5rem 0;
    }

    .immoklub-form .button-secondary {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .immoklub-form-section {
        margin: 3.2rem auto 4.8rem;
    }

    .thanks-modal .button-secondary {
        width: 100%;
        max-width: 100%;
    }
}
