header {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 100px 20px 20px 20px;
    gap: 60px;
}

header h1 {
    display: none;
}

.header-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.header-image {
    width: 100%;
    height: 280px;
    background: var(--dark-blue) url('./../assets/img/bgr.png') no-repeat center;
    position: relative;
    border-radius: 12px;
}

.header-image img {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.header-image .info-text {
    display: none;
}

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

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

.header-text {
  opacity: 0; /* Start unsichtbar */
  animation: slideInLeft 0.8s ease-out forwards;
  animation-delay: 0.2s; /* leicht verzögert */
}

.header-text h1 {
  animation-delay: 0.1s;
}

.header-text h3 {
  animation-delay: 0.25s;
}

.header-text h2 {
  animation-delay: 0.4s;
}

.header-text p {
  animation-delay: 0.55s;
}

.header-text .primary-button {
  animation-delay: 0.7s;
}

.header-text > * {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

.header-image {
  opacity: 0;
  animation: slideInRight 0.9s ease-out forwards;
  animation-delay: 0.35s; /* leicht nach dem Textstart */
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0 60px 0;
}

.intro-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
}

.intro-item img {
    height: 14px;
}

.probleme .article-inner {
    background-color: var(--light-grey);
    border-radius: 12px;
}

.probleme h4 {
    max-width: 500px;
}

.probleme h4 span {
    display: block;
}

.probleme .primary-button {
    margin-top: 0;
}

.card-wrap {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.probleme .card-wrap .card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 12px;
    background-color: white;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.probleme .card-wrap .card img {
    width: 32px;
}

.probleme .card-wrap .card .card-text .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.probleme .card-wrap .card .card-text .description {
    font-size: 14px;
    font-weight: 400;
}

.zielgruppen .article-inner {
    background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0)), linear-gradient(to right bottom, var(--light-blue), var(--light-green));
    border-radius: 12px;
}

.zielgruppen p {
    margin: 40px 0 20px 0;
}

.zielgruppen .card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    text-align: left;
    border-radius: 12px;
    padding: 30px 20px;
    gap: 120px;
    color: white;
    overflow: hidden;
}

.zielgruppen .card .title {
    font-size: 20px;
    font-weight: 300;
}

.zielgruppen .card .title .bigger {
    font-size: 36px;
    font-weight: 500;
    display: block;
}

.zielgruppen .card#card1 {
    background:
        linear-gradient(to right bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url('./../assets/img/arzt.png') no-repeat center;
    background-size: cover;
}

.zielgruppen .card#card2 {
    background:
        linear-gradient(to right bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url('./../assets/img/zahnarzt.png') no-repeat center;
    background-size: cover;
}

.zielgruppen .card#card3 {
    background:
        linear-gradient(to right bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url('./../assets/img/tierarzt.png') no-repeat center;
    background-size: cover;
}

.zielgruppen .card#card4 {
    background:
        linear-gradient(to right bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url('./../assets/img/physio.png') no-repeat center;
    background-size: cover;
}

.leistungen .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    gap: 60px;
    text-align: left;
}

.leistungen .card .card-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background-color: var(--light-grey);
    padding: 4px;
}

.leistungen .card .card-image img {
    width: 100%;
}

.leistungen .card .card-text .title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.leistungen .card .card-text .description {
    font-size: 16px;
    font-weight: 300;
}

.pakete .article-inner,
.kontakt .article-inner {
    background: linear-gradient(to right bottom, var(--light-blue), var(--light-green));
    border-radius: 12px;
}

.pakete .card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pakete .card .banner {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-radius: 12px 12px 0 0;
    background-color: var(--interaction);
    color: white;
    font-size: 16px;
    font-weight: 300;
}

.pakete .card .content {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0 0 12px 12px;
    background-color: white;
}

.pakete .card .content .bullets {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.pakete .card .content .bullets .bullet {
    font-size: 16px;
    font-weight: 300;
    padding: 16px 0;
}

.pakete .card .content .bullets .line {
    width: 80%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.pakete .card .content .title {
    font-size: 32px;
    font-weight: 500;
    color: var(--interaction);
}

.pakete .card .content .price {
    font-size: 28px;
    font-weight: 500;
}

.pakete .card .content .price span.detail {
    font-size: 16px;
    font-weight: 400;
    color: var(--interaction);
    display: block;
}

.pakete .card.dark-blue .banner {
    background-color: var(--dark-blue);
}

.pakete .card.dark-blue .title,
.pakete .card.dark-blue .price span.detail {
    color: var(--dark-blue);
}

.pakete p {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 16px;
    margin: 10px 0 30px 0;
}





article#faq .faq-list {
    margin: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
    width: 100%;
}

article#faq .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    text-align: left;
    color: black;
}

article#faq .faq-icon {
    font-size: 26px;
    transition: transform 0.2s ease;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 100px;
    padding-bottom: 4px;
}

article#faq .faq-answer {
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

article#faq .faq-answer p {
    margin: 10px 0 0;
    line-height: 1.6;
    color: #444;
    margin-right: 50px;
}

/* aktiv */
article#faq .faq-item.active .faq-answer {
    max-height: 300px;
}

article#faq .faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* + wird optisch zu - */
    color: white;
    background-color: #00686C;
}

article#faq .line {
    width: 100%;
    height: 1.5px;
    border-radius: 30px;
    background-color: #D9D9D9;
}



.kontakt .img {
    width: 260px;
    height: 260px;
    background: url('./../assets/img/portrait.png') no-repeat center;
    background-size: cover;
    border-radius: 300px;
    margin: 50px 0 30px 0;
}

.kontakt .name {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 14px;
}

.kontakt .name .smaller {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 300;
    display: block;
    margin-bottom: 50px;
}

.kontakt .kontakt-daten a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-blue);
    display: block;
    margin: 14px 0;
}

.kontakt-form {
    width: 100%;
    margin-top: 60px;
}

.kontakt-form h5 {
    margin-bottom: 20px;
}

.kontakt form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kontakt .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kontakt .form-group label {
    font-size: 14px;
    text-align: left;
    margin-left: 20px;
    color: rgba(0, 0, 0, 0.5);
}

.kontakt input {
    border: none;
    width: 100%;
    border-radius: 30px;
    padding: 12px 20px;
    margin: 6px 0;
}

.kontakt textarea {
    border: none;
    width: 100%;
    border-radius: 12px;
    padding: 12px 20px;
    margin: 6px 0;
}


footer {
    padding: 10px;
    margin-top: 40px;
}

.footer-inner {
    width: 100%;
    background: var(--dark-blue) url('./../assets/img/bgr.png') no-repeat center;
    border-radius: 12px;
    padding: 30px 10px;
    background-size: cover;
}

.footer-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
}

.footer-header img {
    height: 24px;
    object-fit: contain;
}

.footer-header .line {
    width: 100%;
    height: 1.5px;
    background-color: white;
    border-radius: 12px;
}

footer .link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer-links .link-group {
    margin: 80px 0;
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 14px;
}

footer .link-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
}

footer .bottom-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: flex-end;
    gap: 20px;
}

footer .copyright {
    width: 100%;
    text-align: right;
    font-size: 14px;
    color: white;
    font-weight: 300;
}

@media screen and (min-width: 400px) {
    header {
        justify-content: flex-end;
    }

    .header-image {
        height: 320px;
    }

    .intro-item {
        font-size: 16px;
    }

    .intro-item img {
        height: 16px;
    }
}

@media screen and (min-width: 600px) {
    header {
        justify-content: flex-end;
        gap: 100px;

    }

    .header-text {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        padding: 30px;
    }

    .header-image {
        height: 400px;
    }

    .header-image img {
        width: 75%;
        right: 30px;
    }

    .header-image .info-text {
        display: unset;
        color: white;
        font-size: 15px;
        position: relative;
        top: 30px;
        left: 30px;
        font-weight: 300;
        line-height: 26px;
    }

    .footer-inner {
        padding: 30px 40px;
    }
}

@media screen and (min-width: 800px) {

    .header-image {
        height: 500px;
    }

    .header-image img {
        width: 75%;
        right: 30px;
    }

    .card-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: stretch;
    }

    .card-wrap .card {
        flex-direction: column;
    }

    .probleme h4 span {
        display: inline;
    }

    .pakete .card-wrap {
        display: grid;
        gap: 20px;
        grid-auto-rows: 1fr;
        align-items: stretch;
    }

    .pakete .card-wrap .card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .pakete .card-wrap .card .title {
        font-size: 26px;
    }

    .pakete .card-wrap .card .bullets .bullet {
        font-size: 14px;
    }

    .pakete .card-wrap .card .bullets {
        margin: 20px 0;
    }

    .pakete .card-wrap .content {
        display: flex;
        flex-direction: column;
        height: 100%;
        flex: 1;
    }

    .pakete .card-wrap .price {
        margin-top: auto;
    }

    .kontakt .article-inner {
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
        gap: 50px;
    }

    .kontakt .article-inner .kontakt-form {
        margin: 0;
        text-align: left;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .kontakt .article-inner .kontakt-form h5 br {
        display: none;
    }

    .kontakt .kontakt-infos {
        min-width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .kontakt .kontakt-infos h5 {
        font-size: 22px;
        font-weight: 400;
    }

    .kontakt .kontakt-infos .img {
        width: 200px;
        height: 200px;
        margin: 30px 0;
    }
}

@media screen and (min-width: 900px) {
    header {
        gap: 200px;
    }

    .intro {
        flex-direction: row;
        gap: 60px;
    }

    .intro-item {
        font-size: 14px;
    }

    .intro-item img {
        height: 14px;
    }

    .card-wrap {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .probleme h4 {
        max-width: unset;
    }

    .probleme .card-wrap .card {
        flex-direction: column;
    }

    .zielgruppen .card-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .zielgruppen .card .title .bigger {
        font-size: 32px;
    }

    .leistungen .card-wrap {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-inner {
        padding: 30px 90px;
    }
}

@media screen and (min-width: 1024px) {
    header {
        gap: 160px;
    }

    .header-text {
        padding: 30px 80px;
    }

    .header-image .info-text {
        top: 30px;
        left: 80px;
    }

    .kontakt .article-inner {
        gap: 80px;
    }
}

@media screen and (min-width: 1024px) and (orientation: landscape) {

    .header-outer,
    article,
    footer {
        display: flex;
        justify-content: center;
    }

    .article-inner {
        max-width: 900px;
        margin: 0 auto;
        padding: 60px 50px;
    }

    .footer-inner {
        padding: 30px 120px;
        background-size: cover;
    }

    header {
        max-width: 900px;
        margin: 0 auto;
        padding: 120px 0 50px 0;
    }

    header {
        flex-direction: row;
        gap: 50px;
        align-items: stretch;
    }

    .header-text,
    .header-image {
        width: 50%;
        padding: 0;
        flex: 1;
        display: flex;
    }

    .header-text> {
        max-width: 500px;
    }

    .header-image {
        height: unset;
        justify-content: flex-end;
        background-size: cover;
        position: relative;
    }

    .header-image img {
        width: 110%;
        object-fit: contain;
        right: 0;
    }

    .header-image .info-text {
        top: 30px;
        right: 30px;
        left: unset;
        text-align: right;
    }
}

@media screen and (min-width: 1200px) and (orientation: landscape) {

    header,
    .article-inner {
        max-width: 1100px;
    }
}

@media screen and (min-width: 1300px) and (orientation: landscape) {

    header,
    .article-inner {
        max-width: 1200px;
    }
}