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

html, body {
    height: 100%;
}

/* ── Mobile: height follows content ── */
@media (max-width: 640px) {
    html, body {
        height: auto;
    }
}

body {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #d0cfca;
    color: #003769;
}


/* ── Page shell ── */
.page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0 3.5rem;
}

/* ── Header ── */
.header {
    padding-top: 2.2rem;
    padding-bottom: 1.5rem;
    margin: 0 auto;
    width:1300px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-name {
    font-size: 1.9rem;
    font-weight: 700;
    color: #003769;
    letter-spacing: -0.01em;
    line-height: 1;
}
.logo-name svg {
    width: 310px;
}
.logo-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #003769;
    line-height: 1.2;
    padding-left: 0.5rem;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}



/* ── Main ── */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    width: 1300px;
    margin: 0 auto;
    gap: 2rem;
}

.main-wrapper {
    width: 100%;
    display: flex;
    gap: 3rem;
}

.content {
    max-width: 60%;
}

.headline {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    line-height: 1.05;
    margin-bottom: 2.5rem;
}

.headline-primary {
    font-size: clamp(2.8rem, 5vw, 5rem);
    color: #003769;
    font-weight: 400;
}

.headline-secondary {
    font-size: clamp(2.8rem, 5vw, 5rem);
    color: #ffffff;
    font-weight: 400;
}

.btn-contact {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    border: 1px solid #003769;
    color: #003769;
    border-radius: 6px;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background-color 0.2s, color 0.2s;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.btn-contact:hover {
    background-color: #003769;
    color: #d0cfca;
}

/* ── Badge ── */
.badge-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: -2rem;
    flex-shrink: 0;
}

.badge {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #003769;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #d0cfca;
    font-size: 1rem;
    line-height: 1.2;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
/* ── Footer ── */
.footer {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    font-size: 1.2rem;
    color: #003769;
    line-height: 1.4;
    margin:0 auto;
    width: 1300px;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

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


/* ── Responsive ── */
@media (max-width: 640px) {
    .page {
        height: auto;
        min-height: 100vh;
        padding: 0 1.5rem;
    }

    .header {
        padding-top: 1.8rem;
        padding-bottom: 1.2rem;
        width: 100%;
    }

    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .logo-tagline {
        border-left: none;
        border-top: none;
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .main {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem 0;
        gap: 2rem;
        width: 100%;
    }
    .main-wrapper {
    
    flex-direction: column;
    }

    .content {
        max-width: 100%;
    }

    .headline-primary,
    .headline-secondary {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .badge-wrap {
        align-self: flex-end;
        padding-top: 0;
    }

    .badge {
        width: 7.5rem;
        height: 7.5rem;
        font-size: 0.82rem;
    }

    .footer {
        flex-direction: column;
        gap: 15px !important;
        padding-bottom: 2rem;
        width: 100%;
    }
}

