html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --color-background: #faf8f5;
    --color-text: #20201e;
    --color-muted: #68635d;
    --color-accent: #82705a;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: "Segoe UI", Arial, sans-serif;
}


/* Diensten */
.services {
    max-width: 1280px;
    margin-inline: auto;
    padding: 64px 24px 80px;
}

.services h2 {
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    min-width: 0;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e7e1d9;
    border-radius: 16px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.approach {
    max-width: 1280px;
    margin-inline: auto;
    padding: 40px 24px 80px;
}

.approach h2 {
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.approach-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 32px;
    padding-left: 24px;
}

.approach-list li {
    padding-left: 8px;
}

.approach-list li::marker {
    color: var(--color-accent);
    font-weight: 600;
}

.approach-list h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.approach-list p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

/* Organisations and individuals */
.audiences {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.audiences h2 {
    margin-bottom: 32px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.audience-card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #e7e1d9;
    border-radius: 24px;
    background: #ffffff;
}

.audience-card:last-child {
    background: #f1ece5;
}

.audience-label {
    margin-bottom: 24px;
    color: #68635d;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.audience-card h3 {
    margin-bottom: 20px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.audience-card > p:last-child {
    margin-bottom: 0;
    color: #68635d;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .audiences-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact */
.contact {
    max-width: 1032px;
    margin: 0 auto 80px;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid #e7e1d9;
    border-radius: 24px;
    background: #f1ece5;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.contact > p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: #68635d;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-actions .btn {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
}

.contact-actions .btn:focus-visible {
    outline: 3px solid #82705a;
    outline-offset: 4px;
}

@media (max-width: 575px) {
    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Language selector in the navigation */
.navbar form {
    flex-wrap: wrap;
}

.navbar form label {
    margin-bottom: 0;
}

.navbar form select {
    width: auto;
    min-width: 130px;
}


/* Openingsbeeld */
.intro {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    min-height: 640px;
    aspect-ratio: 2.2 / 1;
    padding: 72px clamp(24px, 5vw, 80px);
    overflow: hidden;
    background: #e5e1da;

}

.intro-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

/* Subtiele ondersteuning voor de leesbaarheid */
.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(250, 248, 245, 0.65),
        rgba(250, 248, 245, 0.15) 55%,
        transparent 75%
    );
}

.intro-content {
    width: 55%;
    max-width: 650px;
    text-align: left;
}

.intro-label {
    margin-bottom: 24px;
    color: #57514a;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.intro h1 {
    margin: 0 0 24px;
    color: #171817;
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.intro-description {
    max-width: 440px;
    margin-bottom: 32px;
    color: #252623;
    font-size: 1rem;
    line-height: 1.65;
}

.intro-button {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 15px 26px;
    border-radius: 999px;
    background: #171817;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.intro-button:hover {
    background: #393831;
    color: #fff;
}

.intro-button:focus-visible {
    outline: 3px solid #82705a;
    outline-offset: 5px;
}

@media (max-width: 767px) {
    .intro {
        align-items: flex-start;
        min-height: 760px;
        aspect-ratio: auto;
        padding: 48px 24px;
    }

    .intro-content {
        width: 100%;
        max-width: 480px;
    }
    .intro-image {
        object-position: 70% center;
    }

    .intro::before {
        background: linear-gradient(
            180deg,
            rgba(250, 248, 245, 0.95),
            rgba(250, 248, 245, 0.8) 40%,
            transparent 75%
        );
    }
}

/* Tekstaccenten op het openingsbeeld */
.intro-focus,
.intro-vision {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    margin: 0;
    max-width: 180px;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.intro-focus {
    top: 48px;
    padding-top: 16px;
    color: #34332f;
    white-space: pre-line;
}

.intro-focus::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: currentColor;
}

.intro-vision {
    bottom: 48px;
    padding-left: 20px;
    border-left: 1px solid currentColor;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Op kleinere schermen blijft de hoofdtekst centraal */
@media (max-width: 991px) {
    .intro {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        aspect-ratio: auto;
        min-height: 820px;
    }

    .intro-content {
        width: 100%;
        max-width: 560px;
    }

    .intro-focus,
    .intro-vision {
        position: static;
        display: block;
        width: 100%;
        max-width: 440px;
        color: #fff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }

    .intro-focus {
        margin-top: auto;
        padding-top: 72px;
        white-space: pre-line;
        font-size: 0.75rem;
        line-height: 1.8;
        letter-spacing: 0.14em;
    }

    .intro-focus::before {
        display: none;
    }

    .intro-vision {
        margin-top: 20px;
        padding: 0 0 0 16px;
        border-left: 1px solid rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        line-height: 1.6;
        letter-spacing: 0.02em;
        text-transform: none;
    }
}

/* Logo in de navigatie */
.brand-logo {
    display: block;
    width: 160px;
    height: auto;
}

@media (max-width: 767px) {
    .brand-logo {
        width: 125px;
    }
}

/* Navigatie uitlijnen met de intro */
.navigation-inner {
    padding-inline: clamp(24px, 5vw, 80px);
}

.navbar-brand {
    margin-right: 32px;
}

.navbar .nav-link {
    padding-inline: 12px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .navigation-inner {
        padding-inline: 32px;
    }

    .navbar-brand {
        margin-right: 24px;
    }
}

@media (min-width: 1200px) {
    #main-navigation > .navbar-nav {
        column-gap: clamp(0.5rem, 0.8vw, 1rem);
        white-space: nowrap;
    }
}

.services-label {
    margin-bottom: 12px;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #f1ece5;
    color: var(--color-text);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

/* Over Stravium */
.about {
    max-width: 1080px;
    margin-inline: auto;
    padding: 64px 24px 80px;
}

.about-content {
    max-width: 760px;
}

.about-label {
    margin-bottom: 16px;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about h2 {
    max-width: 620px;
    margin-bottom: 28px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.about-description,
.about-commitment {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-description {
    margin-bottom: 24px;
}

.about-commitment {
    margin-bottom: 0;
    padding-left: 20px;
    border-left: 2px solid #c9bdad;
}

@media (max-width: 767px) {
    .about {
        padding: 48px 24px;
    }
}

/* Tekst en afbeelding naast elkaar */
.about {
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
}

.about-content {
    min-width: 0;
}

.about-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .about {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Contactbanner */
.contact {
    max-width: none;
    margin: 32px 0 0;
    padding: 72px clamp(24px, 5vw, 80px);
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(
            rgba(15, 19, 22, 0.85),
            rgba(15, 19, 22, 0.85)
        ),
        url("/images/stravium-hero.jpeg") center 65% / cover;
    color: #fff;
}

.contact > p {
    color: #e3e3df;
}

.contact-actions .btn {
    border-radius: 999px;
}

.contact-actions .btn-dark {
    background: #fff;
    border-color: #fff;
    color: #171817;
}

.contact-actions .btn-dark:hover {
    background: #e8e4dd;
    border-color: #e8e4dd;
}

.contact-actions .btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.contact-actions .btn-outline-dark:hover {
    background: #fff;
    border-color: #fff;
    color: #171817;
}

/* Contactformulier */
.contact-form {
    max-width: 720px;
    margin: 0 auto 40px;
    display: grid;
    gap: 20px;
    text-align: left;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form .form-control {
    padding: 12px 16px;
    border: 1px solid #d8d2c9;
    border-radius: 12px;
    background: #faf8f5;
    color: #20201e;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form-privacy {
    margin: 0;
    color: #e3e3df;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form-privacy a {
    color: #fff;
    text-underline-offset: 3px;
}

.contact-form button {
    justify-self: start;
    border: 0;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-honeypot {
    display: none;
}

.contact-form .text-danger {
    color: #ffb4ab !important;
}

@media (max-width: 575px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

   .contact-form button {
        width: 100%;
        justify-content: center;
    }
}

/* Bevestiging contactformulier */
.contact-feedback {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: left;
}

/* Privacyverklaring */
.privacy-page {
    max-width: 960px;
    margin: 48px auto 80px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid #e7e1d9;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(32, 32, 30, 0.04);
    overflow-wrap: anywhere;
}

.privacy-page h1 {
    margin: 0 0 20px;
    color: var(--color-text);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.privacy-page > p {
    max-width: 680px;
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.privacy-page section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e7e1d9;
}

.privacy-page section:first-of-type {
    padding: 28px;
    border: 0;
    border-radius: 16px;
    background: #f1ece5;
}

.privacy-page h2 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.privacy-page p,
.privacy-page address {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.privacy-page section p:last-child,
.privacy-page address {
    margin-bottom: 0;
}

.privacy-page address {
    font-style: normal;
}

.privacy-page address strong {
    color: var(--color-text);
}

.privacy-page a {
    color: var(--color-text);
    text-decoration-color: #b5a48e;
    text-underline-offset: 4px;
}

.privacy-page a:hover {
    text-decoration-color: currentColor;
}

.privacy-page a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

@media (max-width: 575px) {
    .privacy-page {
        margin: 24px auto 48px;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .privacy-page section:first-of-type {
        padding: 20px;
    }

    /* Subtiele diepte in de openingsfoto op desktop. */
@media (min-width: 64rem) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: --stravium-intro) and (animation-range: exit 0% exit 100%) {
        .intro {
            overflow: clip;
            view-timeline-name: --stravium-intro;
        }

        .intro-image {
            animation: stravium-intro-depth 1ms linear both;
            animation-timeline: --stravium-intro;
            animation-range: exit 0% exit 100%;
        }

        @keyframes stravium-intro-depth {
            from { scale: 1; }
            to   { scale: 1.05; }
        }
    }
}
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        z-index: 10;
    }

    .navbar-brand {
        margin-right: 0;
        padding-block: 0;
    }

    .brand-logo {
        width: 104px;
    }

    .navbar-toggler {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        color: #252422;
    }

    .navigation-toggle-icon {
        position: relative;
        width: 22px;
        height: 16px;
    }

    .navigation-toggle-icon::before,
    .navigation-toggle-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 1px;
        background: currentColor;
    }

    .navigation-toggle-icon::before { top: 3px; }
    .navigation-toggle-icon::after { bottom: 3px; }

    .navbar-toggler[aria-expanded="true"] .navigation-toggle-icon::before {
        transform: translateY(4px) rotate(45deg);
    }

    .navbar-toggler[aria-expanded="true"] .navigation-toggle-icon::after {
        transform: translateY(-4px) rotate(-45deg);
    }

    #main-navigation {
        position: absolute;
        inset: 100% 0 auto;
        background: #fff;
        border-bottom: 1px solid #e2dfda;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    }

    #main-navigation.show {
        max-height: calc(100vh - 6rem);
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
    }

    #main-navigation > .navbar-nav {
        padding: 8px clamp(24px, 5vw, 80px);
    }

    .navbar .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-inline: 0;
    }

    .navbar .navigation-language {
        justify-content: space-between;
        margin-inline: clamp(24px, 5vw, 80px);
        padding-block: 8px 12px;
        border-top: 1px solid #e2dfda;
    }

    .navbar .navigation-language select {
        min-height: 44px;
        font-size: 1rem;
    }

    .navigation-language.is-enhanced .language-apply {
        display: none;
    }
}
