/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 78px) 0 clamp(52px, 7vw, 96px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(55% 50% at 14% 26%, rgba(250, 247, 242, 0.55), transparent 62%),
        linear-gradient(165deg, rgba(249, 245, 239, 0.24) 0%, rgba(235, 229, 219, 0.40) 100%),
        url("../images/home/background.webp") center / cover no-repeat;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

h1 {
    font-size: clamp(2.7rem, 5.6vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

h1 strong {
    display: block;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3.9vw, 3.2rem);
    line-height: 1.1;
}

h3 {
    font-size: 1.35rem;
}

.lede {
    max-width: 52ch;
    color: var(--ink-2);
    font-size: clamp(1rem, 1.3vw, 1.09rem);
    line-height: 1.72;
}

.hero .lede {
    margin-top: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.checks i {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    font-style: normal;
    font-size: 10px;
    color: var(--ink);
}

.shot {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 6;
    border-radius: var(--radius-arch) var(--radius-large) var(--radius-large) var(--radius-large);
    background: linear-gradient(165deg, #fbf9f5 0%, #f0ebe2 100%);
    box-shadow: var(--shadow-card-hover);
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shot-cap {
    position: absolute;
    right: 26px;
    bottom: 26px;
    padding: 12px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: var(--shadow-card);
}

.shot-cap b {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shot-cap span {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ===== Secties ===== */
.sec {
    padding: clamp(68px, 9vw, 132px) 0;
}

.sec--paper {
    background: var(--paper);
}

.sec--cream2 {
    background: var(--cream-2);
}

.sec-head {
    max-width: 660px;
}

.sec-head .tag {
    margin-bottom: 26px;
}

.sec-head h2 {
    margin-bottom: 0;
}

.sec-head .lede {
    margin-top: 22px;
}

.sec-head + .grid,
.sec-head + .steps,
.sec-head + .areas {
    margin-top: clamp(42px, 5vw, 66px);
}

/* Techniekkaarten */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 32px 30px 34px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-large);
    background: var(--paper);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--beige);
    color: var(--ink);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.65;
}

/* Methode-stappen */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.step {
    padding: 32px 30px 38px;
    border-right: 1px solid var(--line);
}

.steps .step:last-child {
    border-right: 0;
}

.step .n {
    display: block;
    margin-bottom: 26px;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--line);
}

.step h3 {
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.step p {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.62;
}

/* Behandelgebieden */
.areas {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pills li {
    padding: 10px 19px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    background: var(--paper);
    font-size: 14.5px;
    color: var(--ink-2);
}

.panel {
    padding: clamp(28px, 3.4vw, 40px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-large);
    background: var(--paper);
    box-shadow: var(--shadow-card);
}

.panel h3 {
    margin-bottom: 10px;
}

.panel p {
    margin-bottom: 24px;
    color: var(--ink-2);
    font-size: 15px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
}

.row span:last-child {
    color: var(--muted);
    font-size: 13.5px;
}

.panel .btn {
    margin-top: 28px;
}

/* FAQ */
.faq {
    max-width: 840px;
    margin-inline: auto;
}

.faq .sec-head {
    max-width: none;
    margin-bottom: clamp(36px, 5vw, 56px);
    text-align: center;
}

.qa {
    border-bottom: 1px solid var(--line);
}

.qa summary {
    position: relative;
    padding: 26px 48px 26px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-size: 1.28rem;
    letter-spacing: -0.01em;
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 34px;
    width: 11px;
    height: 11px;
    border-right: 1.3px solid var(--ink);
    border-bottom: 1.3px solid var(--ink);
    transform: rotate(45deg);
    transition: transform 0.3s ease, top 0.3s ease;
}

.qa[open] summary::after {
    transform: rotate(-135deg);
    top: 38px;
}

.qa p {
    max-width: 64ch;
    padding-bottom: 28px;
    color: var(--ink-2);
    font-size: 15.5px;
}

/* CTA-band */
.band {
    padding: clamp(44px, 6.5vw, 86px);
    border-radius: var(--radius-arch) var(--radius-large) var(--radius-large) var(--radius-large);
    background: var(--ink);
    color: #efe9df;
    text-align: center;
}

.band .tag {
    margin-bottom: 26px;
    border-color: rgba(239, 233, 223, 0.3);
    color: #efe9df;
}

.band h2 {
    max-width: 17ch;
    margin-inline: auto;
    color: #fbf9f5;
}

.band p {
    max-width: 44ch;
    margin: 22px auto 34px;
    color: #b9afa3;
    font-size: 16px;
}

.band .btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.band .btn--outline {
    border-color: rgba(239, 233, 223, 0.32);
    color: #efe9df;
}

.band .btn--outline:hover {
    border-color: #efe9df;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .step {
        border-bottom: 1px solid var(--line);
    }

    .steps .step:nth-child(2n) {
        border-right: 0;
    }

    .areas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .shot {
        padding: 22px;
        border-radius: 56px 18px 18px 18px;
    }

    .shot-cap {
        right: 16px;
        bottom: 16px;
        padding: 10px 14px;
    }

    .band {
        border-radius: 56px 18px 18px 18px;
    }
}

/* ===== Welkomstbericht (popup, instelbaar via /Admin/Settings) ===== */
.home-welcome {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: rgba(23, 19, 16, 0.45);
    backdrop-filter: blur(3px);
}

body.home-welcome-open {
    overflow: hidden;
}

.home-welcome__card {
    position: relative;
    width: min(100%, 480px);
    padding: var(--space-6) var(--space-5) var(--space-5);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-arch) var(--radius-large) var(--radius-large) var(--radius-large);
    background: var(--paper);
    box-shadow: var(--shadow-card-hover);
    text-align: center;
    animation: home-welcome-in 0.28s ease-out;
}

@keyframes home-welcome-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-welcome__close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.home-welcome__close:hover {
    background: var(--cream);
}

.home-welcome__title {
    margin: 0 0 var(--space-3);
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.home-welcome__text {
    margin: 0 0 var(--space-5);
    color: var(--ink-2);
    line-height: 1.7;
    white-space: pre-line;
}
