:root {
    --primary: #72A1A6;
    --primary-hover: #598185;
    --lightgrey: #BABCBF;
    --lightbrown: #8C7B6C;
    --lightbrown: #6c6056;
    --black: #0D0D0D;
    --white: #f6f6f6;
    --bg: #3A3740;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/LeagueSpartan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/LeagueSpartan-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/LeagueSpartan-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/LeagueSpartan-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "League Spartan", sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.3;
    font-size: 18px;
    position: relative;
}

a {
    color: var(--white);
}

p {
    margin: 10px 0;
}
header {
    position: relative;
}

header .container{
    padding: 150px 40px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100vh;
}

.hero-svg-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0) ;
    z-index: -1;
    width: 100vw;
}

.hero-svg-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    position: relative;
    padding: 40px 0;
}

.section-intro .container {
    display: flex;
    gap: 80px;
}

.section-intro .container-col-1 {
    flex: 0 0 calc(75% - 80px);
    width: calc(75% - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-intro .container-col-2 {
    flex: 0 0 25%;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.section-systemische-psychotherapie .col-svg-bg { 
    position: absolute;
    right: 0;
    bottom: -160px;
    z-index: -1;
    width: calc(100vw - 750px);
    min-width: 260px;
}

.section-systemische-psychotherapie .col-svg-bg svg{ 
    width: 100%;
    height: 100%;
}

.content-margin-default {
    margin: 40px 0;
}

.content-flex-auto {
    display: flex;
    gap: 80px;
}

.content-col-expand {
    flex: 1 1 auto;
    width: auto;
}

.content-col-auto {
    flex: 0 0 fit-content;
    width: fit-content;
}

.profile-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.text-sub-img {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: var(--lightbrown);
}

h1 {
    font-size: 48px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.subtitle {
    display: block;
    color: var(--white);
    font-size: 20px;
    line-height: 24px;
}

.lead-text {
    margin-top: 20px;
    font-size: 18px;    
    color: var(--white);
}

.quote {
    font-size: 64px;
    line-height: 1.2;
    color: var(--primary);
    text-align: left;
    font-weight: 800;
    width: 800px;
    max-width: 100%;
}

.quote-subtitle {
    color: var(--white);
    margin-top: 8px;
    font-size: 20px;
}

.text-block {
    max-width: 750px;
    margin-bottom: 20px;
    color: var(--white);
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 80px;
}

.card-grid-item {
    flex: 1 1 calc(25% - 10px);
    background: var(--white);
    color: var(--black);
    padding: 20px 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-text-small {
    font-size: 14px;
}

.card-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo-grid {
    display: flex;
    gap: 80px;
    margin-top: 40px;
}

.logo-grid-item {
    flex: 1 1 auto
}

.logo-grid-item img {
    filter: grayscale(1) brightness(1);
    width: 200px;
    max-width: 100%;
    height: 64px;
    object-fit: contain;
}

.btn {
    display: inline-block;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-default {
    border: 1px solid var(--white);
    color: var(--white);
    height: 32px;
    padding: 6px 20px;
}

.btn-default:hover {
    background-color: var(--white);
    color: var(--bg);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    height: 48px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--lightbrown);
    color: var(--white);
    padding: 14px 24px;
    height: 48px;
}

.btn-secondary:hover {
    background: var(--lightbrown-hover);
    transform: translateY(-2px);
}

.content-col-center {
    text-align: center;
    margin-top: 60px;
}

.container-two-col {
    display: flex;
    gap: 80px;
}

.container-two-col .container-col-1 {
    flex: 0 0 calc(50% - 40px);
    width: calc(50% - 40px);
}

.container-two-col .container-col-2 {
    flex: 0 0 calc(50% - 40px);
    width: calc(50% - 40px);
}

.footer-btn-container {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
}

.footer-btn-container a {
    display: block;
}

.footer-svg-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -95%);
    z-index: -1;
    width: 100vw;
    max-width: 100%;
}

.footer-svg-bg svg {
    display: block;
    width: 100%;
    height: auto;
}
.footer-subnav {
    margin-top: 40px;
}

.footer-subnav a {
    font-size: 16px;
    text-underline-offset: 3px;
}

footer {
    position: relative;
    border-top: 1px solid var(--white);
    margin-top: 150px;
    padding: 60px 0;
    color: var(--white);
    background-color: var(--bg);
}

.modal-wrapper {
    position: fixed;
    width: 100%;
    min-height: 100%;
    background: var(--bg);
    color: var(--white);
    top: 0;
    left: 0;
    z-index: 9;
    padding: 20px 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    transform: translateY(20%);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    display: flex;
    font-size: 1rem;
}

.modal-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}
.modal-wrapper.hide {
    transform: translateY(20%);

}

.modal-wrapper.hidden {
  display: none;
}
.modal-wrapper .container {
    margin: 40px 0;
    padding-bottom: 40px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}
.modal-wrapper#datenschutz h2, .modal-wrapper#datenschutz h3 {
  font-size: 26px;
  margin-top: 50px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-height: 80%;
    max-width: 100%;
    padding: 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@media screen and (max-width: 1199px) {
    .card-grid {
        margin: 20px 0 40px;
    }
}
@media screen and (max-width: 959px) {
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 40px;
    }

    header .container {
        padding: 150px 20px;
    }

    .container {
        padding: 0 20px;
    }

    .container-two-col {
        gap: 40px;
    }

    .container-two-col .container-col-1,
    .container-two-col .container-col-2 {
        flex: 0 0 calc(50% - 20px);
        width: calc(50% - 20px);
    }
    .section-intro .container {
        gap: 40px;
    }

    .section-intro .container-col-1 {
        flex: 0 0 calc(100% - 280px);
        width: calc(100% - 280px);
    }

    .section-intro .container-col-2 {
        flex: 0 0 240px;
        width: 240px;
        justify-content: start;
    }

    .quote {
        font-size: 48px;
        width: 560px;
    }

    .logo-grid {
        gap: 40px;
    }
}

@media screen and (max-width: 639px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }
    
    .quote {
        font-size: 36px;
        width: 480px;
    }

    .quote-subtitle {
        font-size: 16px;
    }

    .text-sub-img {
        display: none;
    }

    .hero-svg-bg {
        bottom: 15%;
    }

    .content-margin-default {
        margin: 20px 0;
    }

    .content-flex-auto {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cta {
        text-align: center;
    }

    .content-col-auto,
    .content-col-expand {
        width: 100%;
        flex: 1 1 100%;
    }

    .container-two-col {
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 60px;
    }

    .container-two-col .container-col-1,
    .container-two-col .container-col-2 {
        flex: 0 0 100%;
        width: 100%;
    }

    .content-col-center {
        margin-top: 20px;
    }

    .section-intro {
        padding: 0;
    }

    .section-intro .container-col-1 {
        flex: 0 0 calc(100% - 160px);
        width: calc(100% - 160px);
    }

    .section-intro .container-col-2 {
        flex: 0 0 120px;
        width: 120px;
        justify-content: start;
    }

    .section-intro .container-col-1 .text-block {
        margin-top: 40px;
    }

    .section-intro .container-col-1 .full-width-mobile {
        margin-right: -160px;
    }

    .section-systemische-psychotherapie {
        padding-bottom: 140px;
    }
    .section-systemische-psychotherapie .col-svg-bg { 
        bottom: -45px;
        min-width: 240px;
    }

}

@media screen and (max-width: 479px) {
    h2 {
        font-size: 24px;
    }

    header .container {
        padding: 150px 15px;
    }

    section {
        padding: 20px 0;
    }

    .container {
        padding: 0 15px;
    }

    .quote {
        font-size: 28px;
        width: 320px;
    }

    .card-grid {
        margin: 20px 0 20px;
    }

    .subtitle {   
        font-size: 18px;
        line-height: 20px;
    }

    .section-intro .container-col-1 {
        flex: 0 0 calc(100% - 140px);
        width: calc(100% - 140px);
    }

    .section-intro .container-col-2 {
        flex: 0 0 100px;
        width: 100px;
        justify-content: start;
    }

    .section-intro .container-col-1 .text-block {
        margin-top: 20px;
        margin-right: -140px;
    }

    .modal-wrapper .container {
        margin: 20px 0 40px;
    }

    .logo-grid-item img {
        height: 48px;
    }

    .section-systemische-psychotherapie .col-svg-bg {
        bottom: -15px;
        min-width: 220px;
    }
    .footer-svg-bg {
        left: 50%;
        transform: translate(-50%, -100%);
    }

    footer {
        margin-top: 80px;
    }
}


@media screen and (max-width: 399px) {
    .quote {
        font-size: 26px;
        width: 300px;
    }

    .subtitle {
        font-size: 16px;
        line-height: 18px;
    }
}