/*---------------------------------------------------------------------------------- General: */

:root {
    --primary-color: #ffffff;
    --secondary-color: #001f3f;
    --third-color: #ff0053;
    --lightgrey-color: #f1f1f1;
    --lightblue-color: #c2dfff;
    --lightpink-color: #ffdfe7;
    --darker-grey-border: #d9d9d9;
}

/*---------------------------------------------------------------------------------- Hero-Section: */

#hero-section {
  background: linear-gradient(#ffffff, #f1f1f1);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  padding: 50px 0 0;
}

#hero-section h1 {
    color: var(--secondary-color) !important;
}

#hero-section p {
    color: var(--secondary-color) !important;
}

.row-hero {
    display: flex;
    align-items: center;
}

.hero-section-img {
    border-radius: 5px 5px 0 0;
    height: 50vh;
    background-image: url("../images/holding-hands.28fd09e506bb.jpg");
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/*---------------------------------------------------------------------------------- Services-Section: */

#services {
    padding: 100px 0;
}

.service-container {
    padding-top: 30px;
}

.service-container-inner {
    border-radius: 5px;
    background-color: var(--secondary-color);
    transition: .3s;
    padding: 0 0 12px 0;
}

.service-container-inner:hover {
    background-color: var(--third-color);
}

.service-home-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
}

.service-container-inner p {
    padding: 0 12px 0;
    margin: 0 0 10px;
    color: var(--primary-color);
}

.service-container-inner a {
    margin-left: 12px;
}

.info-container {
    margin-top: -180px !important; /* nicht zu viel ziehen */
    position: relative; /* damit .info z-index verwenden kann */
    z-index: 10;
}

.info {
    background-color: var(--third-color);
    border-radius: 100px;
    height: 160px;
    width: 160px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; /* notwendig für z-index */
    z-index: 11;
}

.info p {
    color: var(--primary-color) !important;
    margin: 0 !important;
    font-size: 12px !important;
}

.info i {
    color: var(--primary-color) !important;
    font-size: xx-large;
}

/*---------------------------------------------------------------------------------- Über-Uns-Section: */

#about-us {
    padding: 100px 0 100px;
    background: linear-gradient(#f1f1f1, #ffffff);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
}

.img-about-us {
    background-image: url("../images/senior-couple-consulting.454cf5092868.jpg");
    height: 70vh;
    border-radius: 0 0 100px 100px;
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: -100px 0 30px !important;
}

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

.cta {
    background-image: linear-gradient(to right, rgba(0, 31, 63, 0.95) 0%, rgba(0, 31, 63, 0.75) 33%, rgba(0, 31, 63, 0.5) 66%, rgba(0, 31, 63, 0.25) 100%),
                      url("../images/senior-care-tea.0d9eb846ae3c.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.cta h2 {
    color: var(--primary-color) !important;
    margin-bottom: 16px;
}

.cta p {
    color: var(--primary-color) !important;
}

.cta-1 {
    background-image: linear-gradient(to right, rgba(0, 31, 63, 0.95) 0%, rgba(0, 31, 63, 0.75) 33%, rgba(0, 31, 63, 0.5) 66%, rgba(0, 31, 63, 0.25) 100%),
                      url("../images/grandpa-call.d91c12395528.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.cta-1 h2 {
    color: var(--primary-color) !important;
    margin-bottom: 16px;
}

.cta-1 p {
    color: var(--primary-color) !important;
}

/*---------------------------------------------------------------------------------- Service-Area-Section: */

#service-area {
    padding: 100px 0;
}

#service-area ul {
    list-style: none;
    padding: 0;
}

/*---------------------------------------------------------------------------------- Kosten-Section: */

#kosten {
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    background: linear-gradient(#ffffff, #f1f1f1);
}

#kosten img {
    border-radius: 50px;
    width: 100%;
}

/*---------------------------------------------------------------------------------- Pflegegrad-Section: */

#pflegegrade {
    margin: 100px 0 0;
    padding: 100px 0;
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--darker-grey-border);
    border-radius: 5px;
}

.custom-table thead th {
    background-color: var(--third-color);
    font-weight: bold;
    padding: 12px;
    border-bottom: 1px solid var(--darker-grey-border);
    color: var(--primary-color) !important;
}

.custom-table th:first-child {
    border-top-left-radius: 5px;
}

.custom-table th:last-child {
    border-top-right-radius: 5px;
}

.custom-table td {
    padding: 12px;
    border-bottom: 1px solid var(--darker-grey-border);
    text-align: center;
}


td {
    color: var(--secondary-color) !important;
}

th {
    color: var(--secondary-color) !important;
}

/* Vertikale Linien (Trennstreifen) */
.custom-table th,
.custom-table td {
  border-right: 1px solid var(--darker-grey-border);
}

/* Letzte Spalte OHNE rechte Linie */
.custom-table th:last-child,
.custom-table td:last-child {
  border-right: none;
}

/*---------------------------------------------------------------------------------- ASP-Section: */

.asp {
    padding: 100px 0;
    background-color: var(--lightgrey-color);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
}

.asp-card {
    border-left: 2px solid var(--third-color);
    padding: 20px 0 20px 20px;
}

.asp-name {
    margin: 0;
}

.asp-link-mail {
    margin-bottom: 10px;
}

.asp-link {
    color: var(--secondary-color);
    transition: .2s;
    display: block;
}

.asp-link:hover {
    color: var(--third-color);
}

/*---------------------------------------------------------------------------------- Career: */

#career {
    padding-top: 100px;
}

/*---------------------------------------------------------------------------------- FAQ: */

#faq {
    padding: 100px 0;
}

.accordion {
    width: 75%;
    margin: auto;
}

.accordion-button {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.accordion-body p {
    margin: 0;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Aktiver Button-Hintergrund auf rot ändern */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    /* Damit der Text auf Rot gut lesbar bleibt */
}

/* Optional: Farbe der Pfeil-Icons anpassen (falls du die Standard-Icons nutzt) */
.accordion-button::after {
    filter: var(--third-color);
    /* macht das Icon weiß */
}

/*---------------------------------------------------------------------------------- Mediaquery: */

@media (max-width: 768px) {
    .asp-card-container {
        flex-direction: column;
    }

    .asp-card-container img {
        background-color: var(--lightgrey-color);
        border-radius: 5px 5px 0 0;
        width: 100%;
    }

    .asp-card-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 10px 10px 10px;
    }

    .about-us-content-container {
        padding: 100px 10px;
    }
}

@media only screen and (max-width: 600px) {

    .img-about-us {
        height: 50vh;
    }

}

@media (max-width: 575px) {
    .hero-section-img-container {
        padding: 0 !important;
    }

    .hero-section-img {
        border-radius: 0;
    }
}

@media (max-width: 991px) {
    .accordion {
        width: 100%;
    }
}


@media (min-width: 992px) {
    #hero-section {
        padding: 100px 0 200px;
    }
}

@media (min-width: 992px) {
    .hero-section-img-container {
        position: absolute;
        right: 0;
        top: 130px;
        padding-right: 0 !important;
        height: 100%;
        width: 50vw !important;
    }

    .hero-section-img {
        border-radius: 100px 0 0 0;
        height: 100%;
        background-image: url("../images/holding-hands.28fd09e506bb.jpg");
        background-blend-mode: multiply;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}