/* fira-sans-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/fira-sans-v17-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fira-sans-v17-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/fira-sans-v17-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ------------------------------------------------------------------------------------
Allgemein
------------------------------------------------------------------------------------ */
* {
  font-family: "Fira Sans";
  font-size: 18px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  background: #324c74;
  margin: 0;
  padding: 0;
}
p {
  color: #333333;
  line-height: 28px;
  font-weight: 300;
  padding: 7px 0;
}
h1 {
  font-size: 22px;
  color: #324c74;
  padding: 25px 0;
}
h2 {
  color: #324c74;
  padding: 15px 0;
}
h3 {
  padding: 15px 0;
}
.container {
  width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto;
  background: #ffffff;
}
.wrapperFluid {
  width: 100%;
}
.wrapperBlock {
  width: 100%;
  margin: 0 auto;
}
.contentLogo {
  text-align: center;
  padding: 20px 0;
}
.contentLogo img {
  max-width: 300px;
}
.contentLogoBorder {
  border-bottom: 2px solid #324c74;
}
.containerContent {
  padding: 50px 40px;
}
.contentText {
  font-weight: 300;
  margin: 30px 0 80px 0;
}
.contentText li {
  list-style-type: square;
  margin: 0 0 0 30px;
  color: #333333;
  line-height: 28px;
  font-weight: 300;
}
.textBlau {
  color: #324c74 !important;
  font-weight: 600;
}
nav {
  background: #324c74;
}
.nav-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  width: 100%;
  justify-content: space-evenly;
}
.nav-menu li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.8rem 0;
  transition: background 0.3s ease;
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: white;
  transition: transform 0.3s ease;
}
.nav-menu li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
/* Checkbox für Toggle (versteckt) */
#nav-toggle {
  display: none;
}
/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}
/* Hamburger Animation */
#nav-toggle:checked ~ .nav-container .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
#nav-toggle:checked ~ .nav-container .hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked ~ .nav-container .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.partnerFirma {
  height: 160px;
  margin: 0 0 30px 0;
  display: flex;
  align-items: center;
}
.partnerFirmaText {
  width: 60%;
}
.partnerFirmaText h4 {
  margin: 5px 0;
  line-height: 28px;
  color: #324c74;
  font-weight: 500;
}
.partnerFirmaText p {
  margin: 5px 0;
  line-height: 28px;
}
.partnerFirmaText a {
  color: #E08D96;
  text-decoration: none;
}
.partnerFirmaLogo {
  width: 30%;
}
.kontakt {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
}
.kontaktPerson {
  width: 48%;
  height: 200px;
  margin: 0 0 50px 0;
  display: flex;
  justify-content: space-between;
}
.kontaktPersonBild {
  width: 30%;
}
.kontaktPersonBild img {
  max-width: 100%;
}
.kontaktPersonText {
  width: 68%;
}
.kontaktPersonText h4 {
  margin: 0 0 5px 0;
  line-height: 28px;
  color: #324c74;
  font-weight: 500;
}
.kontaktPersonText p {
  margin: 10px 0;
  line-height: 24px;
}
.kontaktPersonText p b {
  font-weight: 400;
}
.contentFooter {
  border-top: 2px solid #324c74;
  padding: 20px 0;
  text-align: center;
}
.contentFooter p {
  font-size: 20px;
}
.contentFooter a {
  color: #324c74;
  text-decoration: none;
  font-size: 20px;
  padding: 0 20px;
}
.formatTextpage h3 {
  margin: 5px 0;
  font-size: 22px;
  line-height: 28px;
  color: #324c74;
  font-weight: 400;
}
.formatTextpage ul {
  padding: 10px 20px;
}
.formatTextpage li {
  font-size: 20px;
  line-height: 34px;
  color: #333333;
}
.formatTextpage p {
  margin: 5px 0;
  padding: 5px 0;
  font-size: 20px;
  line-height: 28px;
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0px;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/9;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1120px) {
  .container {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .kontaktPerson {
    width: 100%;
  }
  .kontaktPersonBild {
    width: 40%;
  }
  .kontaktPersonText {
    width: 60%;
  }
  .partnerFirmaLogo img {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .containerContent {
    padding: 30px 20px;
  }
  p {
    font-size: 20px;
  }
  p .textBlau {
    font-size: 20px;
  }
  .kontaktPerson {
    flex-wrap: wrap;
    height: auto;
    text-align: center;
  }
  .kontaktPersonBild {
    width: 100%;
  }
  .kontaktPersonText {
    width: 100%;
  }
  .partnerFirma {
    height: auto;
    margin: 0 0 30px 0;
    flex-wrap: wrap;
    text-align: center;
  }
  .partnerFirmaText {
    width: 100%;
  }
  .partnerFirmaText a {
    font-size: 20px;
  }
  .partnerFirmaLogo {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #E08D96;
  }
  .partnerFirmaLogo img {
    max-width: 100%;
  }
  .partner .partnerFirma:last-child .partnerFirmaLogo {
    border-bottom: 0;
  }
  .formatTextpage h3 {
    font-size: 20px;
    line-height: 28px;
    text-align: left;
  }
  .formatTextpage li {
    font-size: 16px;
    line-height: 28px;
  }
  .formatTextpage p {
    font-size: 16px;
    line-height: 28px;
  }
  .contentFooter p {
    font-size: 16px;
  }
  .contentFooter a {
    font-size: 16px;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .slide {
    aspect-ratio: 4/3;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #cccccc 0%, #324c74 100%);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu {
    max-height: 400px;
  }
  .nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li {
    opacity: 1;
    transform: translateY(0);
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li:nth-child(2) {
    transition-delay: 0.15s;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li:nth-child(3) {
    transition-delay: 0.2s;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li:nth-child(4) {
    transition-delay: 0.25s;
  }
  #nav-toggle:checked ~ .nav-container .nav-menu li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .nav-menu li a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu li a::after {
    display: none;
  }
  nav {
    position: relative;
  }
}
/* Add touch hint for mobile */
@media (max-width: 768px) {
  .touch-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
  }
  .touch-hint.show {
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .slide {
    aspect-ratio: 2/1;
  }
}
