body {
   background-color: white;
}
/*=============== HERO SECTION ===============*/
.hero {
    position: relative;
    margin-top: 3.5rem;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero__slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero__slide {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    max-width: 800px;
    width: 90%;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero__text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero__button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #592131;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero__button:hover {
    background-color: #a80000;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
}

.hero__arrow--left {
    left: 1rem;
}

.hero__arrow--right {
    right: 1rem;
}

.hero__dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero__dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero__dot.active {
    background-color: #fff;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
   .hero__arrow {
       display: none;
   }
   
   .hero__dots {
       bottom: 1.5rem; /* Statt 20rem jetzt knapp über dem unteren Rand */
       left: 50%;
       transform: translateX(-50%);
       display: flex;
       gap: 0.5rem;
       z-index: 10;
   }

   .hero__title {
       font-size: 2rem;
   }

   .hero__text {
       font-size: 1rem;
       margin-bottom: 1rem;
   }

   .hero__content {
       width: 95%;
   }
}



 /*=============== MEDIA TEXT SECTION ===============*/
.media-text {
   padding: 4rem 0;
   background-color: white;
}

.media-text__container {
   display: flex;
   align-items: center;
   justify-content: center; /* Inhalte horizontal zentrieren */
   max-width: 1120px;
   margin: 0 auto; /* Zentriert den gesamten Container */
}
.media-text__content {
   text-align: center;
}

.media-text__title {
   font-size: 2rem;
   font-weight: var(--font-semi-bold);
   margin-bottom: 1rem;
   color: var(--black-color);
}

.media-text__description {
   font-size: 1rem;
   line-height: 1.6;
   color: var(--black-color-lighten);
   margin-bottom: 1rem;
}

.media-text__button {
   display: inline-block;
   margin-top: 1rem;
   padding: 0.75rem 1.5rem;
   font-size: 1rem;
   font-weight: var(--font-semi-bold);
   color: var(--white-color);
   background-color: var(--black-color-light);
   border: none;
   border-radius: 5px;
   text-align: center;
   text-decoration: none;
   transition: background-color 0.3s ease;
}

.media-text__button:hover {
   background-color: var(--black-color);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
   .media-text__container {
      width: 80%;
   }
   .media-text__content {
      flex: 1 1 100%;
      text-align: center; /* Text zentriert */
   }
   .media-text__title {
      font-size: 1.5rem;
   }
   .media-text__description {
      font-size: 0.875rem;
   }
   .media-text__button {
      font-size: 0.875rem;
   }
}

/*=============== SERVICE SECTION ===============*/
.service-section {
   padding: 4rem 2rem;
   background-color: #fff;
   text-align: center;
}

.service-section__title {
   font-size: 2.5rem;
   margin-bottom: 2rem;
   color: #333;
   font-weight: bold;
   text-align: center; /* Text zentrieren */
   margin-left: auto; /* Zentrierung sichern */
   margin-right: auto; /* Zentrierung sichern */
}

.service-section__grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 2rem;
   align-items: stretch; /* Sorgt dafür, dass alle Karten gleich hoch sind */
}

.service-card {
   background-color: #fff;
   border: 1px solid #ddd;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   display: flex;
   flex-direction: column; /* Vertikale Anordnung von Inhalt */
   justify-content: space-between; /* Abstand zwischen Beschreibung und Button */
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-card__image {
   width: 100%;
   height: 200px; /* Einheitliche Höhe für Bilder */
   object-fit: cover;
}

.service-card__title {
   font-size: 1.5rem;
   margin: 1rem;
   color: #333;
}

.service-card__description {
   flex-grow: 1; /* Dehnt die Beschreibung aus */
   font-size: 1rem;
   margin: 0 1rem 1rem;
   color: #666;
   line-height: 1.6;
}

.service-card__button {
   display: inline-block;
   margin: 1rem;
   padding: 0.5rem 1rem;
   font-size: 1rem;
   color: #fff;
   background-color: #592131;
   border-radius: 4px;
   text-decoration: none;
   transition: background-color 0.3s ease;
}

.service-card__button:hover {
   background-color: #a80000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
   .service-section__title {
      font-size: 2rem; /* Kleinere Schriftgröße auf kleinen Geräten */
   }
}

@media screen and (max-width: 1024px) {
   .service-section__grid {
      grid-template-columns: repeat(2, 1fr); /* 2 Karten nebeneinander */
   }
}

@media screen and (max-width: 768px) {
   .service-section__grid {
      grid-template-columns: 1fr; /* Eine Karte pro Zeile */
   }
}

/*=============== ADDITIONAL SERVICES SECTION ===============*/
.additional-services {
   padding: 4rem 2rem;
   background-color: #fff;
   text-align: center;
}

.additional-services__title {
   font-size: 2rem;
   font-weight: bold;
   color: #333;
   margin-bottom: 1rem;
}

.additional-services__description {
   font-size: 1rem;
   color: #666;
   margin-bottom: 2rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.additional-services__grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1.5rem;
}

.additional-services__card {
   text-decoration: none;
   background-color: #fff;
   border: 1px solid #ddd;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.additional-services__card:hover {
   transform: translateY(-5px);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.additional-services__image {
   width: 100%;
   height: 200px;
   object-fit: cover;
}

.additional-services__name {
   font-size: 1.25rem;
   color: #333;
   margin: 1rem;
   text-transform: capitalize;
   transition: color 0.3s ease;
}

.additional-services__card:hover .additional-services__name {
   color: #592131;
}

.additional-services__button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #592131;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
 }
 
 .additional-services__button:hover {
    background-color: #a80000;
 }
 

/* Responsive Design */
@media screen and (max-width: 1024px) {
   .additional-services__grid {
      grid-template-columns: repeat(2, 1fr); /* 2 Karten nebeneinander */
   }
}

@media screen and (max-width: 768px) {
   .additional-services__grid {
      grid-template-columns: 1fr; /* 1 Karte pro Zeile */
   }
   .additional-services__image {
      height: 180px; /* Kleinere Höhe für mobile Geräte */
   }
}

/*=============== ACUTE GRIEF SECTION ===============*/
.acute-grief {
   padding: 4rem 2rem;
   background-color: #fff;
   text-align: center;
}

.acute-grief__title {
   font-size: 2.5rem;
   color: #333;
   margin-bottom: 1rem;
   font-weight: bold;
}

.acute-grief__intro {
   font-size: 1rem;
   color: #666;
   margin-bottom: 2.5rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.8;
}

.acute-grief__steps {
   display: flex;
   gap: 2rem;
   justify-content: center;
}

.acute-grief__step {
   flex: 1 1 calc(33.333% - 2rem);
   text-align: center;
   background-color: #fff;
   padding: 1.5rem;
   border-radius: 8px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.acute-grief__icon {
   width: 50px;
   height: 50px;
   margin: 0 auto 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   font-weight: bold;
   color: #fff;
   background-color: #592131;
   border-radius: 50%;
}

.acute-grief__step-title {
   font-size: 1.25rem;
   color: #333;
   margin-bottom: 0.5rem;
   font-weight: bold;
}

.acute-grief__step-text {
   font-size: 1rem;
   color: #666;
   line-height: 1.6;
}

.acute-grief__button {
   display: inline-block;
   margin-top: 2rem;
   padding: 0.75rem 1.5rem;
   font-size: 1rem;
   font-weight: bold;
   color: #fff;
   background-color: #592131;
   border-radius: 4px;
   text-decoration: none;
   transition: background-color 0.3s ease;
}

.acute-grief__button:hover {
   background-color: #a80000;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
   .acute-grief__steps {
      flex-direction: column;
      gap: 1.5rem;
   }

   .acute-grief__step {
      flex: 1 1 100%;
   }
}


/*=============== ABOUT PAGE SPECIFIC STYLES ===============*/
/*=============== ABOUT MEDIA SECTION ===============*/
.about-media {
    padding: 4rem 0;
    background-color: #fff;
    margin-top: 3.5rem;
}

.about-media__container {
    display: flex;
    flex-wrap: nowrap; /* Inhalte nebeneinander halten */
    align-items: center;
    justify-content: center; /* Inhalte horizontal zentrieren */
    gap: 3rem; /* Abstand zwischen Video und Text */
    max-width: 1200px; /* Begrenzte maximale Breite */
    margin: 0 auto; /* Container zentrieren */
}

.about-media__media {
    flex: 0 0 20%; /* 60% der Breite für das Video */
}

.about-media__video {
    width: 100%;
    aspect-ratio: 16/9; /* Automatische Skalierung */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-media__content {
    flex: 0 0 40%; /* 40% der Breite für die Adressdaten */
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Abstand zwischen den Daten */
}

.about-media__title {
    font-size: 1.8rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
    color: var(--black-color);
}

.about-media__info {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black-color-lighten);
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Abstand zwischen Icon und Text */
}

.about-media__link {
    color: #592131; /* Rot für die Links */
    text-decoration: none;
    font-weight: var(--font-semi-bold);
}

.about-media__link:hover {
    color: #ff4d4d; /* Hellrot beim Hover */
    text-decoration: underline;
}

.about-media__info i {
    color: #592131; /* Rot für die Icons */
}

/*=============== ABOUT SECTION ===============*/
.about-section {
   padding: 4rem 1rem;
   background: linear-gradient(135deg, #592131, #8b3a4b);
}

.about-container {
   display: flex;
   align-items: center;
   justify-content: center;
   max-width: 1200px;
   margin: 0 auto;
   gap: 3rem;
}

/* Bild passt sich der Größe des Videos an */
.about-image {
   flex: 0 0 60%;
}

.about-image img {
   width: 100%;
   aspect-ratio: 16/9;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
   flex: 0 0 40%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: left;
   padding: 0 2rem; /* Sicherstellen, dass der Text nicht zu weit links sitzt */
}

/* Titel und Text */
.about-title {
   font-size: 1.8rem;
   margin-bottom: 1rem;
   color: white;
}

.about-text {
   line-height: 1.6;
   font-size: 1rem;
   color: #fff;
   margin-bottom: 1rem;
   max-width: 100%;
}

/* Responsive Anpassung für mobile Geräte */
@media screen and (max-width: 768px) {
   .about-container {
       flex-direction: column;
       text-align: center;
       padding: 0 1.5rem; /* Gleicher Abstand links und rechts */
   }

   .about-image {
       max-width: 100%;
   }

   .about-content {
       max-width: 100%;
       padding: 0 1.5rem; /* Symmetrischer Abstand */
       text-align: center;
   }

   .about-title {
       text-align: center;
   }

   .about-text {
       text-align: center;
   }
}


/* TEAM SECTION */
.team-section {
    padding: 3rem 1rem;
    background-color: #fff;
}

.team-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.team-card__image {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
    object-fit: cover; /* Bildfüllung */
    object-position: center; /* Bildzentrierung */
    image-rendering: auto; /* Bildqualität beibehalten */
}

.team-card__name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-card__role {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-media__container {
        flex-wrap: wrap; /* Inhalte untereinander anzeigen */
        max-width: 90%; /* Platzsparend auf kleineren Geräten */
    }
    .about-media__media {
        flex: 1 1 100%;
    }
    .about-media__video {
        width: 100%;
        margin: 0 auto; /* Zentrieren des Videos */
    }
    .about-media__content {
        flex: 1 1 100%;
        text-align: center; /* Zentrierte Adressdaten */
        align-items: center;
    }
    .about-media__title {
        font-size: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

