@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-margin-top: 75px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: black;
}

::-webkit-scrollbar-thumb {
  background: #987965;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ---------- BODY ---------- */
body {
  color: #221e1f;
  overflow-x: hidden;
}

img {
  width: 100%;
}

/* ---------- CONTAINERS ---------- */
.container {
  width: 1030px;
  margin: 0 auto;
  padding: 0 15px;
}
.container.text-centered {
  text-align: center;
}
.container.text-centered p {
  max-width: 850px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.container-full {
  padding: 20px 0;
}
.container-full.bg-color {
  background: linear-gradient(to bottom, white 50%, #434748 0%);
  color: white;
}
.container-full.bg-dark {
  background-color: #434748;
  color: white;
}
.container-full p:last-child {
  margin-bottom: 0;
}

/* ---------- TITLES ---------- */
.title {
  margin-bottom: 30px;
}
.title h2 {
  font-size: 50px;
  text-align: center;
}
.title h2 span {
  color: #987965;
}
.title h4 {
  font-size: 25px;
  text-align: center;
  font-style: italic;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
nav a {
  font-weight: 500;
  letter-spacing: 5px;
}

p {
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 15px;
  line-height: 23px;
}

/* ---------- HEADER ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 10px 30px;
  background-color: #2a2d30;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 35px;
  margin-left: auto;
}
header nav a {
  font-size: 15px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: 0.3s color;
  font-family: 'Roboto', Arial, sans-serif;
}
header nav a:hover {
  color: #987965;
}
header nav #search {
  width: 30px;
  margin-left: 60px;
  transition: 0.3s;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

header a {
  display: inline-block;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
}

#menu-btn,
#close-btn {
  display: none;
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
}

/* ----------  HERO ---------- */
.hero {
  position: relative;
  height: calc(100dvh - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.hero .hero-logo {
  max-width: 700px;
  width: 90%;
  z-index: 10;
  max-height: 70%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* ---------- UNTERNEHMEN ---------- */
.unternehmen {
  position: relative;
  padding-top: 150px;
  padding-bottom: 10px;
}
.unternehmen img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.unternehmen .unternehmen-text {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  width: 48%;
  text-align: start;
  margin-left: auto;
}

/* ---------- BG-COLOR ---------- */
.bg-color img {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
  margin: 30px 0;
}

/* ---------- LEISTUNGEN ---------- */
#leistungen .container {
  width: 1130px;
}

.leistungen {
  display: grid;
  grid-template-columns: 50px auto 50px;
  width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.leistungen .leistung {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.leistungen .leistung img {
  aspect-ratio: 16/11;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.leistungen .leistung h3 {
  font-size: 13px;
  color: #987965;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 0 12px;
}
.leistungen .leistung p {
  font-size: 12px;
  line-height: 15px;
  padding: 0 12px;
}

.swiper-wrapper {
  width: 100%;
}

.swiper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.swiper-arrow {
  position: relative;
}

/* ---------- UNSER ARBEIT ---------- */
.unser-arbeit {
  position: relative;
  height: 500px;
  color: white;
  padding-top: 30px;
}
.unser-arbeit h2 {
  font-size: 40px;
}
.unser-arbeit img {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.unser-arbeit-float {
  margin: 0 auto;
  margin-top: -15%;
  width: 75%;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.unser-arbeit-text {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px 30px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-top: -25px;
  border-bottom: 6px solid #987965;
}
.unser-arbeit-text p {
  font-size: 18px;
  font-weight: 500;
}

/* ---------- BEWERBUNG ---------- */
.bewerbung {
  background-color: #f1f0ef;
  padding-top: 90px;
  padding-bottom: 40px;
}
.bewerbung img {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}
.bewerbung .title {
  padding: 30px 0;
  margin-bottom: 0;
}

.jobs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 5px;
}
.jobs .job-item {
  position: relative;
  cursor: pointer;
}
.jobs .job-item {
  padding: 8px 10px;
  color: white;
  font-weight: 500;
  background-color: #5d6162;
  margin: 0;
}
.jobs .job-item .job-toggle-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  vertical-align: middle;
  background: url('../assets/icons/arrow_drop_down.svg') center center no-repeat;
  background-size: 26px 26px;
  transition: transform 0.3s;
}
.jobs .job-item.open .job-toggle-icon {
  transform: rotate(180deg); /* Pfeil zeigt nach unten beim Öffnen */
}
.jobs .job-item .job-details {
  display: none;
  padding: 0.5em 1em;
  background: #e9e6e3; /* etwas dunkler als vorher */
  border-radius: 4px;
  margin-top: 0.5em;
  font-size: 0.95em;
  color: #221e1f; /* dunkle Schriftfarbe */
}
.jobs .job-item.open .job-details {
  display: block;
}
.jobs .job-item .job-details ul {
  padding-left: 20px;
  margin-top: 0.2em; /* Abstand nach oben verkleinern */
}
.jobs .job-item .job-details p {
  margin-bottom: 0.3em; /* Weniger Abstand unten */
}
.jobs .job-item .job-details p + ul {
  margin-top: 0.1em; /* Weniger Abstand oben */
}
.jobs .job-item .job-details ul {
  margin-bottom: 1em; /* Abstand nach unten */
}

/* Optional: Nur das erste ul nach einem p in job-details */
.jobs .job-item .job-details p + ul {
  margin-top: 0.2em;
}

.jobs .job-item .job-details ul {
  padding-left: 20px; /* oder margin-left: 20px; */
}
.jobs .job-item {
  user-select: none;
  outline: none;
}

/* ---------- KONTAKT ---------- */
#kontakt a {
  text-decoration: none;
  color: white;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: #2a2d30;
  padding: 20px 0;
  text-align: center;
  display: block;
}
footer nav {
  display: inline-flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  font-size: 15px; /* gleiche Größe wie Hauptmenü */
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  user-select: none;
  transition: 0.3s color;
}
footer nav a:hover {
  color: #987965;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, footer {
  font-family: 'Roboto', Arial, sans-serif;
}

@media only screen and (max-width: 1200px) {
  .container {
    width: 992px !important;
  }
}
@media only screen and (max-width: 992px) {
  .container {
    width: 768px !important;
  }
  header nav {
    gap: 20px;
  }
  header nav a {
    font-size: 11px;
  }
  header nav #search {
    margin-left: 0;
  }
  .title h2 {
    font-size: 35px;
  }
}
@media only screen and (max-width: 768px) {
  .container {
    width: 100% !important;
  }
  .hero {
    position: relative;
    height: calc(100dvh - 65px);
  }
  header {
    height: 65px;
  }
  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 100%;
    display: flex;
    background-color: #2a2d30;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    transition: 0.3s right;
    gap: 20px;
  }
  header nav a {
    font-size: 17px;
  }
  header #search {
    margin: 0;
    margin-top: 20px;
  }
  #menu-btn,
  #close-btn {
    display: block;
    width: 35px;
    filter: brightness(0) saturate(100%) invert(97%) sepia(2%) saturate(78%) hue-rotate(134deg) brightness(117%) contrast(100%);
  }
  #close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .title {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  .title h2 {
    font-size: 30px;
  }
  .unternehmen {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
  }
  .unternehmen img {
    width: 100%;
    position: relative;
  }
  .unternehmen .unternehmen-text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
    width: 100%;
    text-align: center;
  }
  .bewerbung {
    background-color: #f1f0ef;
    padding-top: 70px;
    padding-bottom: 30px;
  }
}
@media only screen and (max-width: 600px) {
  .title h2 {
    font-size: 25px;
  }
  .title h4 {
    font-size: 20px;
    text-align: center;
  }
  .bewerbung {
    background-color: #f1f0ef;
    padding-top: 50px;
    padding-bottom: 20px;
  }
  .unser-arbeit-text {
    padding: 15px 20px;
    padding-bottom: 10px;
  }
  .unser-arbeit-text p {
    font-size: 12px;
  }
  .unser-arbeit {
    height: 400px;
  }
  .unser-arbeit-float {
    width: 90%;
  }
  footer .footer-items {
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
  footer .footer-items p,
  footer .footer-items a {
    font-size: 17px;
  }
  footer .footer-items p span,
  footer .footer-items a span {
    display: none;
  }
}

/* Mehr Abstand nach oben für H1 */
.container h1 {
  margin-top: 2em;
}

/* Weniger Buchstabenabstand für H2 und H3 */
.container h2,
.container h3,
.conatiner h4 {
  letter-spacing: normal;
}

.container ul {
  padding-left: 20px;
}