/*Titel - Span titel - section*/
/* Container sectie */
.titel-span-tekst-section {
    padding: 160px 0px 0px;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    background: transparent;
}

@media (max-width:  786px) {
    .titel-span-tekst-section {
        padding: 80px 0px 0px;
    }
}



/* Flex container: twee kolommen */
.titel-span-tekst-container {
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .titel-span-tekst-container {
        align-items: center;
}
}

.titel-span-tekst-left {
    flex: 1;
    line-height: 50px;
}

.titel-span-tekst-left h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: 'Josefin Sans', sans-serif;
}

.titel-span-tekst-left h2 .titel-span {
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    display: block;
    font-family: 'Josefin Sans', sans-serif;
}

/* Rechterkant: tekst + knop */
.titel-span-tekst-right {
    flex: 1;
    max-width: 42%;
    display: flex;
    flex-direction: column;
}

.titel-span-tekst-right p {
    padding-top: 7px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    font-family: 'Josefin Sans', sans-serif;
}

/* Knop */
.titel-knop {
    padding-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.titel-span-tekst-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SVG styling */
.titel-knop-pijl {
    display: block;
    width: 30px;
    height: 30px;
    fill: currentColor;
    flex-shrink: 0;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: transform 0.55s cubic-bezier(.2,.9,.3,1);
}

.titel-knop:hover .titel-knop-pijl,
.titel-knop:focus .titel-knop-pijl {
    transform: rotate(0deg);
}

.titel-knop-pijl.dikker {
    transform: rotate(-45deg) scale(1.15);
}
.titel-knop:hover .titel-knop-pijl.dikker { transform: rotate(0deg) scale(1.2); }


/* Responsive */
@media (max-width: 900px) {
    .titel-span-tekst-container {
        flex-direction: column;
        gap: 30px;
        max-width: 100%px;
    }
    
    .titel-span-tekst-left {
        width: 100%;
    }

    .titel-span-tekst-right {
        max-width: 100%;
        text-align: start;
    }

    .titel-span-tekst-left h2 {
        text-align: start;
        font-size: 32px;
    }
	
	.titel-span-tekst-left h2 .titel-span {
		text-align: start;
		font-size: 32px
	}

    .titel-span-tekst-right a {
        align-self: start;
    }
}

@media (max-width: 620px) {
    .titel-span-tekst-left h2 {
        font-size: 32px;
    }

    .titel-span-tekst-left h2 .titel-span {
        font-size: 28px;
    }
}

@media (max-width: 1375px) {
        br {
    display: none;
  } 
}