/*
 * BuurtSchakel — statische front-site (vervanger van Leadpages)
 * Losse site met eigen docroot (/var/www/buurtschakel), dus deze CSS is de bron:
 * geen SCSS-build, bewerk dit bestand rechtstreeks.
 */

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto-Italic.ttf);
    font-style: italic;
}

:root {
    --orange: #f1761f;
    --purple: #a09bcc;
    --green: #8fc994;
    --green-light: #cee0ce;
    --blue: #38b6ff;
    --yellow: #fed560;
    --teal: #2bb7b7;
    --text: #4b4949;
    --heading: #222;
    --max: 1100px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Roboto, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    color: var(--heading);
    line-height: 1.25;
    margin: 0 0 0.6em;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1em;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 72px 0;
}

.center {
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    filter: brightness(0.95);
}

.btn--wide {
    min-width: 280px;
}

/* ---------- Header ---------- */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-header__logo img {
    width: 120px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    flex: 1;
}

.site-nav a {
    color: #8c8c8c;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
    color: var(--orange);
}

/* ---------- Hero ---------- */

.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 96px 0;
}

.hero h1 {
    color: #fff;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 16px;
    margin-top: 24px;
}

/* ---------- Kaarten & grids ---------- */

.grid-2,
.grid-3 {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: #fff;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card > :last-child {
    margin-bottom: 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card img {
    margin-bottom: 16px;
}

.blog-card h2 {
    color: var(--orange);
    font-size: 1.2rem;
}

.blog-card .btn {
    margin-top: auto;
    width: 100%;
}

.meta {
    font-style: italic;
    margin: 0;
}

/* Mooie verbindingen: foto + gekleurd tekstvak */
.story img {
    max-width: 220px;
    margin: 0 auto 24px;
}

.story__text {
    padding: 20px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #222;
}

/* Iconen met titel (voor buurtbewoners) */
.icon-item {
    text-align: center;
    font-size: 0.9rem;
}

.icon-item img {
    width: 64px;
    margin: 0 auto 12px;
}

.icon-item h2 {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

/* Stappen met illustratie (hoe werkt het) */
.steps {
    background: #fff;
    padding: 32px 40px;
    max-width: 880px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--green);
    font-size: 0.9rem;
}

.step:last-child {
    border-bottom: 0;
}

.step img {
    width: 90px;
}

/* Persoon-kaart (voorbeelden, team) */
.person-card {
    text-align: center;
}

.person-card img {
    max-width: 200px;
    margin: 0 auto 16px;
}

.person-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3em;
}

/* Routekaart-stap (voor buurtorganisaties) */
.route-step {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px 0;
}

.route-step h2 {
    font-size: 1.6rem;
}

/* Gekleurde tegels (over ons) */
.tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tile {
    padding: 20px;
    min-height: 150px;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
}

/* Contact */
.contact-card {
    background: #fff;
    padding: 28px;
}

.contact-card p {
    margin-bottom: 0.4em;
}

/* Lange tekst (privacy) */
.prose {
    max-width: 900px;
    font-size: 0.95rem;
}

.prose h2 {
    margin-top: 1.6em;
    font-size: 1.35rem;
}

.prose h3 {
    margin-top: 1.2em;
    font-size: 1.05rem;
}

.prose table {
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 1em;
}

.prose td {
    vertical-align: top;
    padding: 8px 12px;
    border-bottom: 1px solid #e3e3e3;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--purple);
    color: #fff;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}

.site-footer h2 {
    color: #fff;
    font-size: 1.15rem;
}

.site-footer a {
    color: #fff;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.site-footer__bottom {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 32px;
}

.social {
    display: flex;
    gap: 8px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-weight: 700;
    text-decoration: none;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badges img {
    height: 44px;
    width: auto;
}

/* ---------- Responsief ---------- */

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

    .route-step {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }

    .site-footer__cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    .site-header .container {
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .site-nav {
        order: 3;
        flex-basis: 100%;
    }

    .site-header .btn {
        margin-left: auto;
    }

    .hero {
        padding: 56px 0;
    }

    .grid-2,
    .tiles,
    .route-step {
        grid-template-columns: 1fr;
    }

    .steps {
        padding: 16px 20px;
    }

    .step {
        grid-template-columns: 70px 1fr;
        gap: 16px;
    }

    .step img {
        width: 64px;
    }

    .btn--wide {
        min-width: 0;
        width: 100%;
    }
}
