/**Menu**/
  .offcanvas.show {
    background-color: #00aae2;
  
  }
  @media (min-width: 992px) {
    .offcanvas-start {
      width: 100%;
    }
  }
  @media (max-width: 991.98px) {
    .offcanvas .metismenu.mod-menu .metismenu-item > ul {
      position: relative;
      width: 100%;
      margin-top: 1rem;
    }
    .offcanvas .metismenu.mod-menu .mm-collapse {
      background-color: transparent;
    }
    .offcanvas .metismenu.mod-menu .metismenu-item > a {
      color: #fff;
    }
  }
  .offcanvas-header > *:only-child {
    margin-left: auto;
  }
.metismenu.mod-menu { z-index: 1; mix-blend-mode: none;}

.footer .mod-menu {
  display: flex;
  flex: 1 1 0%;
  flex-direction: row;
  text-align: center;
  justify-content: center;
  }
.container-header .navbar-brand {
  width: 40% !important;
  min-width: 12%;
   }
.container-header nav {
  margin-top: 40px;
  margin: 0 auto;
  max-width: 600px;
  } 

@media (max-width: 668px){
  .container-header nav  {
margin: -20px 0 0 auto !important;
}
.footer .mod-menu {display: inline-flex;}}

.container-header .navbar-brand {
    width: 75%;
    min-width: 12%;
    }
    
/**Text**/
@import url(https://use.typekit.net/urf1jdw.css);
.text1 {
font-family: Arial;
font-weight: 250;
font-stretch: normal;
color: #444;
font-size: 16px;
text-align: left;
padding: 0 20%;
}

h1 {
font-size: 42px;
line-height: 155%;
margin: 0px 0px 0px 0px;
color: #00aae2;
padding: 5px 20%;}

.bh1 {
  color:#00aae2;
  font: arial;
}

.list-title {
  display: block;          /* eigene Zeile */
  font-weight: 700;        /* fett */
  font-size: 1.1rem;       /* etwas größer */
  margin-top: 1.5rem;      /* Abstand nach oben */
  margin-bottom: 0.5rem;   /* kleiner Abstand zur Liste */
  color: #00aae2;          /* Beispiel: deine Akzentfarbe */
}
@media (max-width: 550px) { h1{ padding: 0 5%; font-size: 30px;} .text1{ padding: 0 5%;}}
/* kleine Abschnitts-Headlines über den Listen */
.text1 .hmini {
  display: block;
  margin: 1.1rem 0 0.4rem;  /* etwas Luft oben, wenig unten */
  font-weight: 700;         /* klar erkennbar, aber nicht übertrieben */
  font-size: 1.08em;        /* minimal größer als Fließtext */
  letter-spacing: 0.01em;   /* leicht ruhiger */
  color: #222;              /* etwas dunkler als #444-Text */
}

/* optional: Listen näher an der Überschrift, unten mehr Luft */
.text1 ul {
  margin: 0 0 1rem 1.2em;
  padding: 0;
}

/* wenn du es NOCH dezenter willst, nimm 1.04em und margin 1rem/0.3rem */

.container-header .mod-menu { color:#00aae2 !important}



/**Gallery*/
.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Start: 3 Spalten */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.galerie img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* optional */
}

/* Smartphone: ab max 550px nur eine Spalte */
@media (max-width: 550px) {
  .galerie {
    grid-template-columns: 1fr;
  }
}

.fotodet, .gradet, .ardet, .kudet{ display: block;
  position: relative;}

.fotodet:before, .gradet:before, .ardet:before, .kudet:before{ 
  position: absolute;
  top: 0;
  left: 0;
  height:100%;
  width: 100%;
  transition: all 0.8s;
  opacity: 0;
  background: #00aae2;
  background-size: 100% 100%;
  text-align: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 450;
  line-height: 300px;
border-radius: 6px;}
.fotodet:before {
  content: 'Grundpflege';
}
.gradet:before {
  content: 'Medizinische Versorgung';
}
.fotodet:hover:before, .gradet:hover:before,.ardet:hover:before, .kudet:hover:before {
  opacity: 0.9; color: #fff;
}
.ardet:before {
  content: 'Alltagsbegleitung';
}

.kudet:before {
  content: 'KUNST';
  mix-blend-mode: multiply;
}



 @media (max-width:650px) {.ardet:before, .gradet:before, .fotodet:before, .kudet:before{
  font-size: 18px;
font-weight: 600;
line-height: 90px;
 }}



.css-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.css-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fadeCycle 21s infinite;
}

.css-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Für 3 Bilder: Delay staffeln */
.css-slide:nth-child(1) { animation-delay: 0s; }
.css-slide:nth-child(2) { animation-delay: 7s; }
.css-slide:nth-child(3) { animation-delay: 14s; }

/* Keyframes: weich überblenden */
@keyframes fadeCycle {
  0%   { opacity: 0; }
  5%   { opacity: 1; }   /* einblenden */
  30%  { opacity: 1; }   /* sichtbar bleiben */
  35%  { opacity: 0; }   /* ausblenden */
  100% { opacity: 0; }
}

/* Fallback für reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .css-slide { animation: none; }
  .css-slide:first-child { opacity: 1; }
}

/* mobile kleinere Höhe */
@media (max-width: 480px) {
  .css-slider { height: 350px; }
}
