/* Base Styles */
:root {
    --black: #1d1d1f;
    --dark-gray: #424245;
    --medium-gray: #86868b;
    --light-gray: #f5f5f7;
    --white: #ffffff;
    --accent: #ff8546;
    --accent-hover: #ff9259;
    --text-primary: #1d1d1f;
    --text-secondary: #424245;
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --container-padding: 2.5rem;
    --max-width: 1440px;
    
    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

/* Typography */
body {
    font-family: var(--font-text);
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(180deg, #fdfdff 0%, #f7f7ff 100%);
    transition: background-color 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

h1 {
    font-family: 'Tienne', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    line-height: 1.1;
}

h2 {
    font-family: 'Tienne', serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    letter-spacing: -0.02em; /* Normal letter spacing */
    margin: 0 0 1rem;
    line-height: 1.1;
}

h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-align: center;
}

p {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

p {
    margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-text);
    line-height: 1.4;
    white-space: nowrap;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--accent);
    color: var(--white) !important;
    border: 1px solid var(--accent);
}

.btn-outline:hover,
.nav-links .btn-outline:hover {
    background: transparent;
    color: var(--accent) !important;
    transform: translateY(-2px);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline.form-filled {
    background: var(--accent);
    color: var(--white) !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 133, 70, 0.3);
}

.btn-outline.form-filled:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 133, 70, 0.4);
}

.btn-outline.form-submitted {
    background: #28a745;
    color: var(--white) !important;
    cursor: default;
    transform: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.link {
    color: var(--accent);
    font-size: 1.0625rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.link:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    color: var(--accent-hover);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgb(255, 255, 255);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo-img {
    width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn) {
    border: 1px solid transparent;
    padding: 0.25rem 0.75rem;
    border-radius: 980px;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--accent);
    border-color: var(--accent);
}

.menu-label-link {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.menu-label-link:hover {
    opacity: 0.8;
}

.menu-label {
    width: 80px;
    height: auto;
    display: block;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--black);
    transition: var(--transition);
}

.mobile-menu-btn.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: center;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .nav-links li:nth-child(6) {
        order: 4;
    }
    
    .nav-links .btn-outline {
        width: auto;
        margin: 1rem auto 0;
    }
}

/* Section Styling */
.section-padding {
    padding: 8rem 0;
}

#over-mij.section-padding {
    padding: 0;
    overflow: visible;
    position: relative;
}

@media (max-width: 768px) {
#over-mij.section-padding {
padding: 5rem 0;
}
}

@media (max-width: 480px) {
#over-mij.section-padding {
padding: 4rem 0;
}
}

#werkwijze.section-padding {
padding: 8rem 0;
}

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

.about-text-column h2 {
    text-align: left;
    margin: 0 0 1rem 0;
}

.about-text-column .section-subtitle {
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    margin: 0.5rem 0 1.5rem 0;
    text-transform: uppercase;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12rem 0 0;
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #e8f0ff 100%);
    animation: gradientBG 15s ease infinite;
    background-size: 200% 200%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--container-padding);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    background: linear-gradient(90deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-video {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 4rem 0 0 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 50vh; /* Half viewport height */
    display: block;
    background: white;
    align-self: flex-end; /* Align to bottom of flex container */
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About Section */
.approach {
    position: relative;
    overflow: hidden;
    background-color: #f0f7ff; /* Base color */
    background-image: linear-gradient(135deg, #f5f0ff, #fff0f5, #f0fff9, #ffeacc);
    background-size: 400% 400%;
    background-blend-mode: multiply;
    animation: gradient-animation 15s ease infinite;
    padding: 8rem 0;
}

.approach::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

.approach > .container {
    position: relative;
    z-index: 1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.testimonials {
    background: white;
    padding: 8rem 0;
    position: relative;
}

.testimonials .section-header {
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.testimonial-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.testimonial-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
}

.about {
    padding: 0;
    margin-top: 0;
    background: white;
    position: relative;
    overflow: visible;
    width: 100%;
}

.about-row {
    display: flex;
    height: calc(500px + 16rem);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 8rem 0;
}

.about-text-column {
    width: 50%;
    background: white;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.about-text-column .about-text {
    max-width: 620px;
}

.about-text-column .about-text p {
    margin-bottom: 0;
}


.about-read-more {
    display: inline-block;
    margin-top: 60px;
    position: absolute;
    left: var(--container-padding);
    bottom: 8rem;
}


.about-image-column {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    overflow: visible;
}

.about-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
    border: none;
    outline: none;
}

.about .container {
    position: static;
    height: auto;
    overflow: visible;
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: left;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: -100px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 50px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    max-width: 50%;
    margin: 0;
    flex: 1;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text p:first-of-type {
    margin-top: 0;
    margin-bottom: 0;
}


.about-text p.large {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}



.portrait-container {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: auto;
    height: auto;
    z-index: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}

.portrait-image {
    display: block;
    height: 600px;
    width: auto;
    object-fit: cover;
}

.signature {
    margin-top: 3rem;
}

.signature-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
}

@media (max-width: 1400px) {
    .about-text {
        max-width: 55%;
    }
}

@media (max-width: 1200px) {
    .about-text {
        max-width: 60%;
    }
    
    .portrait-image {
        height: 500px;
    }
}

@media (max-width: 1100px) {
    .about-text {
        max-width: 65%;
    }
    
    .portrait-image {
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .hero-video {
        margin-bottom: -47px;
    }
    
    #over-mij.section-padding {
        padding: 8rem 0;
    }
    
    .about {
        background: white;
    }
    
    .about-row {
        display: block;
        padding: 0;
        height: auto;
    }
    
    .about-text-column {
        width: 100%;
        padding: 0;
    }
    
    .about-text-column h2 {
        text-align: center;
        max-width: 650px;
        margin: 0 auto 1rem;
    }
    
    .about-text-column .section-subtitle {
        text-align: center;
        max-width: 650px;
        margin: 0 auto 2rem;
    }
    
    .about-text-column .about-text {
        text-align: center;
        max-width: 650px;
        margin: 0 auto;
    }
    
    .about-text-column .about-text p {
        text-align: center;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    
    .about-text-column-extra {
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    
    .about-text-column-extra .about-text {
        text-align: center;
        max-width: 650px;
        margin: 0 auto;
        padding-top: 1.5rem;
    }
    
    .about-text-column-extra .about-text p {
        text-align: center;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    
    .about-row.expanded .about-text-column-extra {
        opacity: 1;
        max-height: 3000px;
    }
    
    .about-image-column {
        display: none !important;
    }
    
    .about-read-more {
        display: block;
        margin: 2rem auto 0;
    }
    
    .approach .section-header h2 {
        margin-top: 0;
    }
    
    #over-mij .section-header {
        text-align: center;
        padding: 0;
    }
    
    #over-mij .section-header h2 {
        text-align: center;
    }
    
    #over-mij .section-subtitle {
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-text {
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .portrait-container {
        position: static;
        width: 100%;
        justify-content: center;
        margin: 2rem auto 0;
        display: flex;
    }
    
    .portrait-image {
        height: 400px;
    }
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #eee;
}

.approach-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
}

.approach-card:last-child {
    border-right: none;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 133, 70, 0.1);
    border-radius: 50%;
    color: var(--accent);
}

.approach-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.approach-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.approach-card.expanded .card-text {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: clip;
}

.approach-card.expanded {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 4rem;
}

.read-more-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-text);
    margin-top: 40px;
}

.read-more-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.read-more-btn:active {
    transform: translateY(0);
}


.tarieven-intro {
    text-align: center;
    max-width: 650px;
    margin: 2rem auto 4rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.tarieven-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #eee;
}

.tarieven-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    text-align: center;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.tarieven-card:last-child {
    border-right: none;
}

.tarieven-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tarieven-card .section-subtitle {
    margin-bottom: 1.5rem;
}

.tarieven-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tarieven-card ul li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.tarieven-card ul li:first-child {
    border-top: 1px solid #f0f0f0;
}

.tarieven-card .tarieven-request-btn {
    margin-top: auto;
}

.tarieven-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.tarieven-card .duration {
    font-size: 1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .approach-grid,
    .tarieven-grid {
        grid-template-columns: 1fr;
    }

    .approach-card,
    .tarieven-card {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 2.5rem 1.5rem;
    }

    .approach-card:last-child,
    .tarieven-card:last-child {
        border-bottom: none;
    }
    
    .approach-card h3 {
        font-size: 1.35rem;
    }
    
    .approach-card p {
        font-size: 1rem;
    }
}

/* Clients Section */
.clients-section {
    background: var(--accent);
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    scroll-margin-top: 80px;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.client-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    margin-top: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 133, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.info-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 0.625rem;
    transform: translateY(-50%);
    color: var(--medium-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
    transform-origin: left center;
}

.form-group:has(textarea) label {
    top: 15px;
    transform: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 0.625rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group textarea {
    height: 8rem;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 133, 70, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    opacity: 0;
    visibility: hidden;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    position: absolute;
    bottom: -1.5rem;
    left: 0;
}

/* Footer */
.footer {
    background: var(--accent);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 2rem;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: brightness(0) invert(1) !important;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-left: 0;
}

@media (min-width: 1025px) {
    .footer-links {
        margin-left: 430px;
    }
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.design-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.design-credit .heart {
    color: #ff5f5f;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

/* Animations */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        justify-self: center;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    #over-mij.section-padding {
        padding: 5rem 0;
    }
    
    .about {
        background: white;
    }
    
    .about-row {
        display: block;
        padding: 0 1.5rem;
        height: auto;
    }
    
    .about-text-column {
        width: 100%;
        padding: 0;
    }
    
    .about-text-column h2 {
        text-align: center;
        max-width: 100%;
        margin: 0 auto 1rem;
    }
    
    .about-text-column .section-subtitle {
        text-align: center;
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    .about-text-column .about-text {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .about-text-column .about-text p {
        text-align: center;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    
    .about-text-column-extra {
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    
    .about-text-column-extra .about-text {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 1.5rem;
    }
    
    .about-text-column-extra .about-text p {
        text-align: center;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    
    .about-row.expanded .about-text-column-extra {
        opacity: 1;
        max-height: 3000px;
    }
    
    .about-image-column {
        display: none !important;
    }
    
    .about-read-more {
        display: block;
        margin: 2rem auto 0;
    }
    
    .approach .section-header h2 {
        margin-top: 0;
    }
    
    #over-mij .section-header {
        text-align: center;
        padding: 0;
    }
    
    #over-mij .section-header h2 {
        text-align: center;
    }
    
    #over-mij .section-subtitle {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 4rem 0;
    }

    .nav-links {
        gap: 1rem;
    }

    .about-row {
        padding-top: calc(5rem - 50px);
    }

    .about-image-column {
        height: 300px;
        margin-bottom: -100px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    #over-mij .about-text-column,
    #over-mij .about-text-column-extra {
        padding: 0 1rem !important;
    }
    
    #over-mij .about-text-column .about-text,
    #over-mij .about-text-column-extra .about-text {
        padding: 0 0.5rem !important;
    }
    
    .approach-card,
    .tarieven-card {
        padding: 2rem 1rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}


.about-text-column {
    width: 50%;
    align-self: flex-start;
}

.about-text {
    max-width: 620px;
}

.about-text-column-extra {
    width: 0;
    opacity: 0;
    overflow: hidden;
    align-self: flex-start;
    transition: width 0.75s ease-in-out 0.5s, opacity 0.75s ease-in-out 0.5s;
}

.about-row.expanded .about-text-column-extra {
    width: 50%;
    opacity: 1;
}

.about-image-column {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.about-row.expanded .about-image-column {
    transform: translateX(75%);
    opacity: 0;
}

/* --- Final, high-specificity overrides for Row 2 (Dia-Loog) on tablet/mobile --- */
@media (max-width: 1024px) {
  #over-mij .about-row { flex-direction: column !important; height: auto !important; min-height: auto !important; }
  #over-mij .about-text-column { width: 100% !important; padding: 0 2.5rem !important; }
  #over-mij .about-text-column h2 { text-align: center !important; max-width: 650px; margin: 0 auto 1rem !important; }
  #over-mij .about-text-column .section-subtitle { text-align: center !important; max-width: 650px; margin: 0 auto 2rem !important; }
  #over-mij .about-text-column .about-text { text-align: center !important; max-width: 650px; margin: 0 auto !important; }
  #over-mij .about-text-column .about-text p { text-align: center !important; word-wrap: break-word; overflow-wrap: break-word; }
  #over-mij .about-text-column-extra { display: block !important; width: 100% !important; margin: 0 auto !important; padding: 0 2.5rem !important; align-self: center !important; opacity: 0 !important; max-height: 0 !important; overflow: hidden !important; transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out !important; }
  #over-mij .about-text-column-extra .about-text { text-align: center !important; max-width: 650px; margin: 1.5rem auto 0 !important; }
  #over-mij .about-text-column-extra .about-text p { text-align: center !important; word-wrap: break-word; overflow-wrap: break-word; }
  #over-mij .about-row.expanded .about-text-column-extra { opacity: 1 !important; max-height: 5000px !important; overflow: visible !important; }
  #over-mij .about-image-column { display: none !important; }
  #over-mij .about-read-more { position: static !important; display: block !important; margin: 2rem auto 0 !important; left: auto !important; bottom: auto !important; }
}

@media (max-width: 768px) {
  #over-mij .about-row { flex-direction: column !important; height: auto !important; min-height: auto !important; }
  #over-mij .about-text-column { width: 100% !important; padding: 0 1.5rem !important; }
  #over-mij .about-text-column h2 { text-align: center !important; max-width: 100%; margin: 0 auto 1rem !important; padding: 0 1rem; }
  #over-mij .about-text-column .section-subtitle { text-align: center !important; max-width: 100%; margin: 0 auto 2rem !important; padding: 0 1rem; }
  #over-mij .about-text-column .about-text { text-align: center !important; max-width: 100%; margin: 0 auto !important; padding: 0 1rem; }
  #over-mij .about-text-column .about-text p { text-align: center !important; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
  #over-mij .about-text-column-extra { display: block !important; width: 100% !important; margin: 0 auto !important; padding: 0 1.5rem !important; align-self: center !important; opacity: 0 !important; max-height: 0 !important; overflow: hidden !important; transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out !important; }
  #over-mij .about-text-column-extra .about-text { text-align: center !important; max-width: 100%; margin: 1.5rem auto 0 !important; padding: 0 1rem; }
  #over-mij .about-text-column-extra .about-text p { text-align: center !important; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
  #over-mij .about-row.expanded .about-text-column-extra { opacity: 1 !important; max-height: 5000px !important; overflow: visible !important; }
  #over-mij .about-image-column { display: none !important; }
  #over-mij .about-read-more { position: static !important; display: block !important; margin: 2rem auto 0 !important; left: auto !important; bottom: auto !important; }
}

