:root {
  --theme-color: #e94d1a;
  --font-size: 1rem;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var (--font-size);
  font-weight: 400;
  background-color: white;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

a {
  color: whitesmoke;
  /*text-decoration: none; */
  --webkit-transition: all 0.3s ease-in-out;
  --moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
  /* text-decoration: none;
  outline: none; */
}

h3 {
  text-align: justify;
}

ul li {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
}

.navbar-nav,
.navbar-nav .nav-item {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
}

li.headliner {
  font-weight: bold;
  color: #faf7f7;
  list-style: none;
}

section {
  padding: 80px;
}

.subline {
  color: #efefef;
}

.img-border {
  border: 2px solid #d13a07;
  border-radius: 8px;
  max-height: 400px;
}

#meet,
#team,
#story {
  background: #e94d1a;
  padding-bottom: 10px !important;
}

.footer-bg {
    background-image: url('../assets/images/footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1600 / 230;
    color: white;
}

.footer-content {
    /* Kein Schatten mehr */
    text-shadow: none; 
    color: #333;

    /* Verschiebung: Je negativer der Wert, desto weiter HOCH und LINKS */
    margin-top: -100px;   /* Höher schieben */
    margin-left: -500px; /* Weiter nach links */
    
    line-height: 1.4;
    font-family: sans-serif;
}

/* Auf mobilen Geräten zurücksetzen, damit nichts abgeschnitten wird */
@media (max-width: 768px) {
    .footer-content {
        margin-top: 0;
        margin-left: 0;
    }
}



/* Optional: Auf sehr kleinen Bildschirmen (Handy) 
   kannst du die Höhe erzwingen, damit Text Platz hat */
@media (max-width: 600px) {
    footer {
        aspect-ratio: auto;
        min-height: 120px;
        background-size: cover; /* Hier lieber 'cover', damit keine Lücken entstehen */
    }
}

ul li {
  list-style: square;
  margin-bottom: 10px;
}

ul li a {
  color: #333;
  text-decoration: underline;
}
.candidate img {
  border: 8px solid #d13a07;
  border-radius: 50%;
  padding: 0px;
}

.candidate .name {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
}
.candidate .name a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  opacity: 0.53;
  forced-color-adjust: none;
}

.preamble {
  position: relative;
  background-image: url("images/opverlay-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.preamble::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.5); /* Overlay color + transparency */
}

.preamble .content {
  position: relative; /* brings text above overlay */
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.slider {
  margin: auto;
  background: #1ba3d6;
  color: #fff;
  width: 100%;
  font-size: 1.25rem;
  padding: 30px 30px;
  min-height: 350px;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 575.98px) {
  section {
    padding: 80px 20px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1rem;
    text-align: start;
  }

  /* li.headliner {
    font-size: 1.75rem;
  } */

  .carousel-item {
    width: 100% !important;
    font-size: 0.5rem;
  }

  .slider {
    width: 100%;
    padding: 20px !important;
    font-size: 0.9rem;
    min-height: 370px;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1rem;
  }

  .text-md-justify {
    text-align: justify !important;
    hyphens: auto; /* Trennt Wörter am Zeilenende */
    word-break: break-word;
  }
}

@media (max-width: 991.98px) {
  /* .headliner {
    font-size: 1.25rem;
  } */
}

@media (max-width: 1199.98px) {
  h1 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    max-width: 1140px;
  }

  .slider {
    padding: 40px;
    width: 90% !important;
  }
}

@media (min-width: 1399.98px) {
  .container {
    max-width: 1320px;
  }

  .slider {
    padding: 40px;
    width: 75% !important;
  }
}
