/*
Theme Name: Ontmossen Daken NL
Theme URI: https://ontmossen-daken.nl
Description: Professioneel WordPress thema voor dakontmossing en dakreiniging diensten in Nederland.
Version: 2.0
Author: Ontmossen Daken
Text Domain: ontmossen-daken-nl
*/

:root {
    --slate: #12161a;
    --charcoal: #1b2027;
    --terra: #b94a2f;
    --terra-dark: #983d27;
    --terra-pale: #f5e8e3;
    --earth: #7a6548;
    --sage: #3f6650;
    --sage-light: #e4ece6;
    --stone: #e4ded4;
    --cream: #f4f1eb;
    --bone: #faf8f4;
    --white: #ffffff;
    --text: #252830;
    --text-mid: #4a4f5a;
    --text-muted: #7b8290;
    --border: #d1cbc1;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--terra);
    outline-offset: 2px;
}
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
}
h2 {
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 2rem 0 1rem;
}
h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}
p { margin-bottom: 1rem; line-height: 1.7; }

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta {
    background-color: var(--terra);
    color: var(--white);
    box-shadow: 4px 4px 0 rgba(185,74,47,0.25);
}
.btn-cta:hover {
    background-color: var(--terra-dark);
    color: var(--white);
    box-shadow: 6px 6px 0 rgba(185,74,47,0.2);
}
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 2px;
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--slate);
    border-color: var(--white);
}

.section { padding: 88px 0; }
.section--cream { background-color: var(--cream); }
.section--bone { background-color: var(--bone); }
.section--dark {
    background-color: var(--charcoal);
    color: rgba(255,255,255,0.85);
}
.section--dark h2,
.section--dark h3,
.section--dark strong { color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 { margin: 0 0 1rem; }
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.section--dark .section-header p { color: rgba(255,255,255,0.55); }

.hero {
    background-color: var(--slate);
    background-image: url('images/hero-daken.webp');
    background-size: cover;
    background-position: center top;
    color: var(--white);
    padding: 56px 0 80px;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(18, 22, 26, 0.88);
    z-index: 0;
}
.hero > .container {
    position: relative;
    z-index: 1;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 56px;
    align-items: start;
}
.hero-content { padding-top: 10px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terra);
    margin-bottom: 22px;
    padding: 0;
    background: none;
    border-radius: 0;
}
.hero-badge svg { display: none; }
.hero-badge::before {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background-color: var(--terra);
    flex-shrink: 0;
}
.hero h1 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.hero h1 span { color: var(--terra); }
.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}
.hero-feature svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--terra);
}
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.01em;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 4px;
}
.hero-phone svg { color: var(--terra); width: 20px; height: 20px; }

.hero-form-card {
    background-color: var(--white);
    border-top: 5px solid var(--terra);
    padding: 36px 30px 32px;
    color: var(--text);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.25);
    border-radius: 0;
}
.hero-form-card .form-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
    text-align: left;
}
.hero-form-card .form-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--stone);
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-family: var(--font);
    border: 2px solid var(--stone);
    border-radius: 0;
    background-color: var(--bone);
    color: var(--text);
    transition: border-color 0.2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra);
    background-color: var(--white);
    outline: none;
}
.form-group textarea { resize: vertical; min-height: 68px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--terra);
    color: var(--white);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.form-submit:hover {
    background-color: var(--terra-dark);
    transform: translateY(-1px);
}
.form-privacy {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.trust-bar {
    background-color: var(--terra);
    padding: 0;
    border-bottom: none;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 16px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--white);
    margin-bottom: 4px;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-number {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}
.trust-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-card {
    background-color: var(--white);
    border: none;
    border-top: 4px solid var(--terra);
    border-radius: 0;
    padding: 32px 28px 28px;
    text-align: left;
    position: relative;
    box-shadow: 5px 5px 0 var(--stone);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--stone);
}
.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--slate);
    color: var(--terra);
    border-radius: 0;
    margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.1rem;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.waarom-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.waarom-image {
    border-radius: 0;
    overflow: hidden;
    background-color: var(--charcoal);
    aspect-ratio: 4/3;
    position: relative;
    box-shadow: 8px 8px 0 var(--stone);
}
.waarom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.waarom-content h2 {
    margin-bottom: 18px;
}
.waarom-content > p {
    color: var(--text-mid);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.75;
}
.waarom-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}
.waarom-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.waarom-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--terra);
    color: var(--white);
    border-radius: 0;
}
.waarom-item-icon svg { width: 16px; height: 16px; }
.waarom-item-text strong {
    display: block;
    color: var(--text);
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.waarom-item-text span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: var(--terra);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 0;
    box-shadow: 4px 4px 0 rgba(185,74,47,0.3);
}
.section--dark .process-step h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.section--dark .process-step p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}
.process-connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background-color: rgba(255,255,255,0.1);
}
.process-step:last-child .process-connector { display: none; }

.styled-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0;
    overflow: hidden;
    margin: 24px 0;
    box-shadow: 4px 4px 0 var(--stone);
}
.styled-table thead th {
    background-color: var(--slate);
    color: var(--white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
}
.styled-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--stone);
    font-size: 0.9rem;
    background-color: var(--white);
}
.styled-table tbody tr:nth-child(even) td { background-color: var(--bone); }

.cta-section {
    background-color: var(--slate);
    color: var(--white);
    padding: 72px 0;
    text-align: center;
    position: relative;
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 14px;
}
.cta-section p {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border-bottom: none;
    border-left: 4px solid var(--terra);
    padding: 22px 28px;
    background-color: var(--white);
    box-shadow: 3px 3px 0 var(--stone);
}
.faq-item:first-child { border-top: none; }
.faq-item h3 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.02rem;
}
.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.site-footer {
    background-color: var(--slate);
    color: rgba(255,255,255,0.6);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-col p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.footer-col strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}
.footer-contact-line svg { flex-shrink: 0; color: var(--terra); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.form-message {
    padding: 14px 18px;
    border-radius: 0;
    font-size: 0.88rem;
    margin-bottom: 18px;
    font-weight: 700;
    border-left: 4px solid;
}
.form-message-success {
    background-color: var(--sage-light);
    color: var(--sage);
    border-left-color: var(--sage);
}
.form-message-error {
    background-color: var(--terra-pale);
    color: var(--terra-dark);
    border-left-color: var(--terra);
}

.gnl-content-block { padding: 64px 0; }
.gnl-entry-content {
    max-width: 820px;
    margin: 0 auto;
}
.gnl-entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 2rem 0 1rem;
}
.gnl-entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.5rem 0 0.75rem;
}
.gnl-entry-content p {
    margin-bottom: 1rem;
    color: var(--text-mid);
    line-height: 1.7;
}
.gnl-entry-content strong { font-weight: 700; color: var(--text); }
.gnl-entry-content ul,
.gnl-entry-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-mid);
}
.gnl-entry-content li { margin-bottom: 0.5rem; line-height: 1.6; list-style: disc; }

.gnl-maillage-section {
    background-color: var(--cream);
    padding: 56px 0;
    border-top: 1px solid var(--stone);
}
.gnl-maillage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.gnl-maillage-col {}
.gnl-maillage-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--terra);
}
.gnl-plaats-list,
.gnl-provincie-list,
.gnl-gemeente-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gnl-plaats-list li,
.gnl-provincie-list li,
.gnl-gemeente-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.gnl-plaats-list li a,
.gnl-provincie-list li a,
.gnl-gemeente-list li a {
    color: var(--text-mid);
    font-weight: 500;
    transition: color 0.2s ease;
}
.gnl-plaats-list li a:hover,
.gnl-provincie-list li a:hover,
.gnl-gemeente-list li a:hover {
    color: var(--terra);
}

@media (max-width: 768px) {
    .gnl-maillage-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-form-card { max-width: 500px; }
    h1 { font-size: 1.6rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process-connector { display: none; }
    .waarom-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    .section { padding: 64px 0; }
    .hero { padding: 40px 0 56px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .trust-item:nth-child(2) { border-right: none; }
    .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .faq-item { padding: 18px 20px; }
    .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.2rem; }
    .container { padding: 0 18px; }
    .hero { padding: 28px 0 44px; }
    .hero-form-card { padding: 28px 20px 24px; box-shadow: 6px 6px 0 rgba(0,0,0,0.2); }
    .form-row { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-number { font-size: 1.4rem; }
    .process-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
    .styled-table { font-size: 0.85rem; }
    .styled-table thead th,
    .styled-table tbody td { padding: 10px 14px; }
}
