* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  margin: 0;
  padding: 0;
} */

/* Typo */
body {
  font-family: "Oswald", sans-serif;
  font-size: 16px; /* Standardgröße */
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: 60px;
  font-weight: 700; /* Fett */
  letter-spacing: 5px;
}

.hero h2 {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 700; /* Fett */
  letter-spacing: 2px;
}

p {
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 100; /* Normal */
}

.container h2 {
  font-family: "Oswald", sans-serif;
}

.ueber-uns-heading,
.container-leistung h2 {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #661414;
  margin-bottom: 3rem;
}

.header-custom {
  background-color: #661414;
  padding: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.navbar-custom {
  padding: 0;
  /* margin-right: 3rem; */
}

.navbar-brand {
  margin-left: 3rem;
  animation: slideDown 0.5s ease-out;
}

.navbar-nav {
  animation: slideDown 0.8s ease-out 0.2s backwards;
}

.hero h1 {
  animation: slideDown 0.5s ease-out 0.4s backwards;
}

.hero h2 {
  animation: slideDown 0.6s ease-out 0.5s backwards;
  /* display: inline-block; */
  /* animation: stretchText 2s forwards; */
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .navbar-nav {
  gap: 0.25rem;
}

/* Menüpunkte im Burger-Menü rechtsbündig (Mobile First) */
.navbar-custom .navbar-collapse {
  text-align: right;
  padding-right: 2rem;
}

.navbar-custom .nav-link {
  color: white;
  padding: 0;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.navbar-custom .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #b8e986;
  text-decoration: underline;
  transform: scale(1.1);
}

.navbar-custom .nav-link:focus {
  color: white;
}

.hero {
  /* Set the image as the background */
  background-image: url("img/Dach/istockphoto-1341872413-612x612.jpg");
  background-size: cover; /* Ensures the image covers the area */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;

  /* Give the hero section a defined height */
  min-height: 600px; /* Adjust as needed */

  /* Style your text for visibility (e.g., white color) */
  color: rgb(255, 255, 255);
  /* Add padding to the text */
  padding-top: 3rem;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .navbar-custom .navbar-nav {
    padding-top: 1rem;
  }

  .navbar-custom {
    margin-right: 3rem;
  }

  .navbar-custom .nav-link {
    padding: 0.75rem 1rem;
  }

  .hero h1 {
    font-family: "Oswald", sans-serif;
    font-size: 80px;
    font-weight: 700; /* Fett */
    letter-spacing: 5px;
    padding-top: 12rem;
  }
}
/* ===========================
   ÜBER UNS
=========================== */
#ueber-uns {
  background-color: white;
  padding: 4rem 1rem;
}

.container-ueber-uns {
  max-width: 1200px;
  margin: 0 auto;
}

.ueber-uns-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #661414;
  margin-bottom: 3rem;
  animation: slideDown 1s ease-out 0.6s backwards;
}

/* Wrapper mit Bild & Text */
.ueber-uns-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Bild */
.ueber-uns-bild img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Text */
.ueber-uns-text {
  max-width: 600px;
  text-align: justify;
}

.ueber-uns-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Desktop-Layout: Bild links, Text rechts */
@media (min-width: 992px) {
  .ueber-uns-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .navbar-custom {
    margin-right: 3rem;
  }

  .ueber-uns-bild {
    flex: 1;
    max-width: 50%;
  }

  .ueber-uns-text {
    flex: 1;
    padding-left: 3rem;
  }
}

/* ---------- Desktop-Layout ---------- */
@media (min-width: 992px) {
  .ueber-uns-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .ueber-uns-bild {
    flex: 1;
    max-width: 50%;
  }

  .ueber-uns-text {
    flex: 1;
    padding-left: 3rem;
  }

  .ueber-uns-text h2 {
    text-align: left;
  }
}

/* Leistungen */

.bg-light .container-leistung {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #661414;
  margin-bottom: 3rem;
  margin: 3rem;
  padding: 3rem;
  /* border: 2px solid; */
}

.service-item {
  text-align: center;
  margin-bottom: 1rem;
  /* margin: 0 2.5rem 0; */
  gap: 1rem;
  /* margin-left: 3rem;
  margin-right: 3rem; */
}

/* .service-caption {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0;
} */

/* @media (min-width: 768px) {
  .service-caption {
    font-size: 1.1rem;
  }
} */

.service-item img {
  width: 80%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease; /* Animationseffekt */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.service-item img:hover {
  transform: scale(1.1); /* Vergrößert das Bild um 10% */
}

section {
  padding: 3rem 0;
}

section h2,
section h4 {
  margin-bottom: 1.5rem;
}
footer {
  font-size: 13px;
}

footer a {
  transition: color 0.2s ease, transform 0.1s ease;
}

footer a:hover {
  color: #00aaff !important;
  transform: translateY(-1px);
}

footer i {
  font-size: 15px;
  transition: color 0.2s ease, transform 0.1s ease;
}

footer i:hover {
  color: #00aaff;
  transform: scale(1.2);
}

@media (max-width: 576px) {
  footer .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kontakt formular */

.container {
  animation: slideDown 0.4s ease-out 0.7s backwards;
}

.form-control:focus,
.form-select:focus {
  border-color: #661414; /* Ändert die Umrandungsfarbe zu einem bestimmten Farbwert */
  box-shadow: 0 0 0 0.2rem rgba(102, 20, 20, 0.25); /* Ändert den Schatten der Umrandung */
  outline: none;
}

.custom-button {
  background-color: #661414;
  border-color: #4d1010;
  color: white;
}

.custom-button:hover {
  background-color: #4d1010;
  color: white;
}

.custom-button:active {
  background-color: #4d1010 !important;
  color: white;
}

section {
  color: #661414;
}

@keyframes stretchText {
  0% {
    letter-spacing: 0; /* Startpunkt: Buchstaben sind zusammen */
  }
  100% {
    letter-spacing: 5px; /* Endpunkt: Buchstaben haben mehr Abstand */
  }
}

.animated-text {
  display: inline-block; /* Wichtig für Animationen */
  animation: stretchText 2s infinite alternate; /* 2 Sekunden, unendlich, abwechselnd */
}
