/* ==========================================================================
   Eumer's Wheels — Main Stylesheet
   Motorcycle & Scooter Repair — Amsterdam
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    --color-primary:    #CC0000;
    --color-secondary:  #1A1A1A;
    --color-accent:     #E60000;
    --color-bg-light:   #F5F5F5;
    --color-text:       #2D2D2D;
    --color-text-light: #6B7280;
    --color-white:      #ffffff;
    --color-footer:     #1A1A1A;

    --font-heading: 'Oswald', sans-serif;
    --font-body:    'Inter', sans-serif;

    --container-max:    1200px;
    --section-padding:  80px 0;
    --border-radius:    12px;
    --transition:       all 0.3s ease;
    --transition-fast:  all 0.2s ease;

    --header-height:    80px;
}

/* ==========================================================================
   2. CSS Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

ul,
ol {
    list-style: none;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

/* ==========================================================================
   3. Base Styles
   ========================================================================== */

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.4rem, 1.35rem); }

p {
    margin-bottom: 1rem;
}

a:hover {
    color: var(--color-primary);
}

strong {
    font-weight: 600;
}

::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   4. Utility Classes
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Native CSS scroll-driven animations (modern browsers) */
@supports (animation-timeline: view()) {
    .reveal {
        animation: fadeUp linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 25%;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   5. Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section--content {
    padding: 60px 0;
}

.section--dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section--light {
    background-color: var(--color-bg-light);
}

.split-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.split-layout--reverse {
    grid-template-columns: 7fr 5fr;
}

/* ==========================================================================
   6. Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Homepage: header transparant totdat je scrollt */
.header--transparent {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header--transparent .header__logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Bij scrollen: header wordt weer zichtbaar met achtergrond + logo */
.header.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled .header__logo {
    opacity: 1;
    pointer-events: auto;
}

.header__inner,
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header__logo {
    flex-shrink: 0;
    z-index: 1001;
}

.header__logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: block;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-primary);
}

.nav__link--active {
    position: relative;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--color-primary);
}

/* Dropdown */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-secondary);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    padding: 0.5rem 0;
    z-index: 1002;
}

.nav__item:hover .nav__dropdown,
.nav__item--open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.nav__dropdown-link:hover {
    color: var(--color-white);
    background-color: rgba(204, 0, 0, 0.15);
    padding-left: 1.5rem;
}

/* Header CTA */
.header__cta {
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger__line {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger__line + .hamburger__line {
    margin-top: 6px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   7. Hero Sections
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero__title {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero__logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero — small (inner pages) */
.hero--small {
    min-height: 50vh;
    padding-top: var(--header-height);
}

/* Page hero (alternative class) */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: var(--header-height);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem;
}

.page-hero__title {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-hero__subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-top: 0.75rem;
}

/* ==========================================================================
   8. Content Sections
   ========================================================================== */

/* --- Welcome Section --- */

.welcome-section {
    padding: var(--section-padding);
    overflow: hidden;
}

.welcome-section__inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.welcome-section__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.welcome-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    transition: transform 0.6s ease;
}

.welcome-section__image:hover img {
    transform: scale(1.03);
}

.welcome-section__image::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--color-primary);
    border-radius: var(--border-radius);
    z-index: -1;
}

.welcome-section__text h2 {
    margin-bottom: 1.5rem;
}

.welcome-section__text h2 span {
    color: var(--color-primary);
}

.welcome-section__text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.welcome-section__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.welcome-section__stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.welcome-section__stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* --- Services Grid --- */

.services-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

.services-section__title {
    text-align: center;
    margin-bottom: 3rem;
}

.services-section__title span {
    color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(204, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.service-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.service-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.service-card__link:hover {
    letter-spacing: 0.1em;
}

.service-card__link i {
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.service-card__link:hover i {
    transform: translateX(4px);
}

/* --- Testimonials Section --- */

.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--color-secondary);
    color: var(--color-white);
    overflow: hidden;
}

.testimonials-section h2 {
    color: var(--color-white);
    margin-bottom: 3rem;
}

.testimonials-section h2 span {
    color: var(--color-primary);
}

.testimonial-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-badge i {
    font-size: 1.3rem;
    color: #4285F4;
}

.testimonial-badge__stars {
    color: #FBBF24;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.testimonial-badge__score {
    font-weight: 700;
    color: var(--color-white);
}

.testimonial-badge__count {
    opacity: 0.65;
}

.testimonial-slider {
    max-width: 900px;
    margin: 2.5rem auto 0;
    position: relative;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem 3.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 2;
}

.testimonial-slide__quote,
.testimonial__text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.testimonial-slide__author,
.testimonial__author {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.testimonial-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.is-active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* --- Quote Section --- */

.quote-section {
    padding: 100px 0;
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20rem;
    font-family: var(--font-heading);
    color: rgba(204, 0, 0, 0.08);
    line-height: 1;
    pointer-events: none;
}

.quote-section__text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.quote-section__author {
    text-align: center;
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

/* --- Section Variants --- */

.section--services {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.section--alt {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

/* --- CTA Section --- */

.section--cta {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
    text-align: center;
}

.section--cta h2 {
    margin-bottom: 1rem;
}

.section--cta p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section--cta .cta__actions,
.section--cta .cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero buttons */
.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Welcome grid (alternate class) */
.welcome-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.welcome-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.welcome-text h2 {
    margin-bottom: 1.5rem;
}

.welcome-text p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.welcome-text .btn {
    margin-top: 1rem;
}

/* Service card as <a> tag */
a.service-card {
    text-decoration: none;
    color: inherit;
}

/* Contact info cards */
.contact-info-grid,
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-info-card,
.contact-card {
    background: var(--color-bg-light);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

a.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-info-card i,
.contact-card__icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-info-card h3,
.contact-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-info-card a,
.contact-card__text,
.contact-card__text a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   9. Content Blocks
   ========================================================================== */

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 60px 0;
}

.content-block + .content-block {
    padding-top: 0;
}

.content-block--image-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-block--reverse .content-block__image {
    order: 2;
}

.content-block--reverse .content-block__text {
    order: 1;
}

.content-block--text {
    max-width: 800px;
    margin: 0 auto;
}

.content-block__image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.content-block__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.content-block__text h2,
.content-block__text h3 {
    margin-bottom: 1rem;
}

.content-block__text p {
    color: var(--color-text-light);
}

.content-block__text ul {
    margin: 1rem 0;
    padding-left: 0;
}

.content-block__text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.content-block__text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* ==========================================================================
   10. Forms
   ========================================================================== */

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group--honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-group--error input,
.form-group--error textarea {
    border-color: #ef4444;
}

.form-group__error-text {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.35rem;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.footer {
    background-color: var(--color-footer);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-fast);
}

.footer a:hover {
    color: var(--color-white);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

.footer__grid--3col {
    grid-template-columns: 1.5fr 1.5fr 1.2fr;
}

.footer__title--spaced {
    margin-top: 1.5rem;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer__about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__contact-list {
    font-size: 0.9rem;
}

.footer__contact-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer__contact-list li i {
    color: var(--color-primary);
    width: 18px;
    text-align: center;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.footer__links a:hover {
    padding-left: 6px;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer__bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.footer__legal span {
    color: rgba(255, 255, 255, 0.25);
}

.footer-credit--logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.35);
    transition: opacity 0.3s ease;
}

.footer-credit--logo img {
    height: 16px;
    width: auto;
    border-radius: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-credit--logo:hover,
.footer-credit--logo:hover img {
    opacity: 1;
}

/* Footer class aliases (HTML uses these names) */
.footer__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer__text {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer__socials a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer__nav li {
    margin-bottom: 0.5rem;
}

.footer__nav a {
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.footer__nav a:hover {
    padding-left: 6px;
}

/* Footer opening hours */
.footer__hours {
    font-size: 0.9rem;
    width: 100%;
    border-collapse: collapse;
}

.footer__hours td {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__hours tr:last-child td {
    border-bottom: none;
}

.footer__hours td:first-child {
    color: rgba(255, 255, 255, 0.6);
    padding-right: 1.5rem;
}

.footer__hours td:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: right;
}

/* ==========================================================================
   12. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}

.btn i {
    font-size: 0.9em;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
}

/* Hero: outline button = white filled, hover = transparent */
.hero .btn--outline {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.hero .btn--outline:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    box-shadow: none;
}

/* CTA section (light bg): outline button visible in primary color */
.section--cta .btn--outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.section--cta .btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--secondary {
    background-color: var(--color-bg-light);
    color: var(--color-text);
    border-color: #e5e7eb;
}

.btn--secondary:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
    color: var(--color-text);
}

.btn--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn--danger {
    background-color: #dc3545;
    color: var(--color-white);
    border-color: #dc3545;
}

.btn--danger:hover {
    background-color: #b02a37;
    border-color: #b02a37;
    color: var(--color-white);
}

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

/* ==========================================================================
   13. Error Pages
   ========================================================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg-light);
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
    opacity: 0.15;
}

.error-page__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    margin-top: -1rem;
}

.error-page__message {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin-bottom: 2rem;
}

.error-page__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   14. SchoutenAI Credit
   ========================================================================== */

.schoutenai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.schoutenai:hover {
    opacity: 1;
}

.schoutenai__label {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.schoutenai img {
    height: 18px;
    width: auto;
}

/* ==========================================================================
   15. Flash Messages
   ========================================================================== */

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.flash-message--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.flash-message--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ==========================================================================
   16. Animations (@keyframes)
   ========================================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* ==========================================================================
   17. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .welcome-section__image:hover img {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   18. Media Queries
   ========================================================================== */

/* --- Tablet / Mobile (900px) --- */

@media (max-width: 900px) {

    /* Header & Nav */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.35s ease;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.is-open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav__link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        width: 100%;
    }

    .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0 0 0 1rem;
        display: none;
    }

    .nav__item--open .nav__dropdown {
        display: block;
    }

    .nav__dropdown-link {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    .header__cta {
        display: none;
    }

    /* Mobile overlay background */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.is-visible {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        background-attachment: scroll;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    /* Welcome */
    .welcome-section__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .welcome-section__image {
        max-width: 400px;
        margin: 0 auto;
    }

    .welcome-section__image::after {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Content blocks */
    .content-block,
    .content-block--image-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-block--reverse .content-block__image,
    .content-block--reverse .content-block__text {
        order: initial;
    }

    /* Contact cards */
    .contact-cards,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Split layout */
    .split-layout,
    .split-layout--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Welcome grid */
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section--cta {
        padding: 50px 0;
    }
}

/* --- Small screens (768px) --- */

@media (max-width: 768px) {

    :root {
        --section-padding: 40px 0;
    }

    /* Mobiele hero afbeelding (48KB kleiner dan desktop) */
    .hero[style*="hero-home.webp"] {
        background-image: url('/assets/img/hero-home_mobile.webp') !important;
    }

    .container {
        padding: 0 1rem;
    }

    /* Services: single column on small phones */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    /* Contact cards: single column */
    .contact-cards,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: single column */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials */
    .testimonial-slide__quote {
        font-size: 1rem;
    }

    /* Quote section */
    .quote-section {
        padding: 60px 0;
    }

    .quote-section__text {
        font-size: 1.15rem;
    }

    /* Welcome stats */
    .welcome-section__stats {
        flex-direction: column;
        gap: 1.25rem;
    }

    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }

    /* Hero actions */
    .hero__actions,
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn,
    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Welcome grid */
    .welcome-grid {
        grid-template-columns: 1fr;
    }

    /* Contact info */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* Page hero */
    .page-hero {
        min-height: 30vh;
    }

    .hero--small {
        min-height: 40vh;
    }

    /* Error page */
    .error-page__code {
        font-size: 6rem;
    }
}
