/* Page Style */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/css/Roboto-Light.woff2") format("woff2"),
    url("/css/Roboto-Light.woff") format("woff");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/css/Roboto-Regular.woff2") format("woff2"),
    url("/css/Roboto-Regular.woff") format("woff");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/css/Roboto-Bold.woff2") format("woff2"),
    url("/css/Roboto-Bold.woff") format("woff");
}

:root {
  --bg: #ffffff;
  --lightblue: #5ab7f3;
  --gold: #a98b4a;
  --blue: #195e9c;
  --black: #141414;
  --white: #fff;
  --headline-font: "Roboto", sans-serif;
  --text-font: "Roboto", sans-serif;
}

/* Helper-Klassen */
.rg-1 {
  row-gap: 0.5rem;
}
.rg-2 {
  row-gap: 1rem;
}
.rg-3 {
  row-gap: 1.5rem;
}
.rg-4 {
  row-gap: 2rem;
}
.rg-5 {
  row-gap: 2.5rem;
}
.rg-6 {
  row-gap: 3rem;
}
.rg-7 {
  row-gap: 3.5rem;
}
.rg-8 {
  row-gap: 4rem;
}
.rg-9 {
  row-gap: 4.5rem;
}
.rg-10 {
  row-gap: 5rem;
}

.row-space-evenly {
  justify-content: space-evenly;
}

.dp-none {
  display: none !important;
}

/* Helper-Klassen Ende */

body {
  font-family: var(--text-font);
  background: var(--bg);
  color: var(--black);
  font-size: 1rem;
}

h1 {
  color: var(--black);
  font-family: var(--headline-font);
  font-size: 2.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h2 {
  color: var(--black);
  font-family: var(--headline-font);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

h3 {
  color: var(--black);
  font-family: var(--headline-font);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h4 {
  color: var(--black);
  font-family: var(--text-font);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

a {
  color: var(--black);
  transition: 0.6 all ease-in-out;
  text-decoration: none;
}

a:hover {
  color: var(--black);
  text-decoration: underline;
}

.navbar .logo {
  width: 160px;
  transition: all 0.5s ease-in-out;
      filter: brightness(0.5);
}

.navbar.nav-bg .logo {
  width: 145px;
}
.navbar .navbar-nav .nav-item .icon-home {
  margin: 0 1rem;
}

.navbar .navbar-nav .nav-link {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 1px;
  padding: .6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar .navbar-nav .nav-link span {
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  top: -10px;
}

.navbar .navbar-nav .nav-link:hover {
  text-decoration: none;
}

.navbar .navbar-nav .nav-link::after {
  content: "";
  height: 2px;
  background: var(--bs-nav-link-color);
  width: 0;
  transition: all 0.5s ease-in-out;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.navbar .navbar-nav .nav-link.nav-active::after {
  width: 100%;
}

.navbar .navbar-nav .nav-link:hover::after {
  width: 0;
  color: var(--black);
}

.navbar .navbar-nav .nav-link:hover .menue-icon {
  filter: brightness(0.3);
}

.navbar button.navbar-toggler {
  border: 0;
  font-size: 2rem;
  color: var(--black);
  outline: none !important;
}

.wrapper {
  overflow: hidden;
}

.sidenav {
  position: fixed;
  background: #f8f3ec;
  z-index: 1100;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  height: 100dvh;
  transition: all 0.5s ease-in-out;
}

.sidenav.open {
  right: 0;
}

.sidenav .sidenav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
}

.sidenav .sidebar-logo {
  /* filter: brightness(0) invert(1); */
  display: none;
}

.sidenav .sidebar-logo img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.sidenav .sidenav img.logo {
  width: 100%;
  max-width: 300px;
  margin-bottom: 4rem;
}

.sidenav button.sidenav-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: var(--blue);
  font-size: 2rem;
}

.sidenav li.nav-item {
  display: flex;
  justify-content: center;
}

.sidenav .nav-link {
  color: var(--blue);
  text-decoration: none !important;
  position: relative;
  font-size: 1.5rem;
}

.sidenav .nav-link:hover {
  text-decoration: none;
}

.sidenav .navbar-nav {
  margin-left: auto;
  margin-right: auto;
}

.sidenav .nav-link::after {
  content: "";
  height: 2px;
  background: var(--blue);
  width: 0;
  transition: all 0.5s ease-in-out;
  position: absolute;
  bottom: 5px;
  left: 0;
}

.sidenav .nav-link.nav-active::after {
  width: 100%;
}

.sidenav .nav-link:hover::after {
  width: 100%;
  color: var(--white);
}

button.owl-prev {
  position: absolute;
  left: 25px;
  top: 50%;
  font-size: 50px;
  transform: translateY(-50%);
  outline: none !important;
  z-index: 100;
}

button.owl-next {
  position: absolute;
  right: 25px;
  top: 50%;
  font-size: 50px;
  transform: translateY(-50%);
  outline: none !important;
  z-index: 100;
}

button.owl-prev > span,
button.owl-next > span {
  font-size: 80px;
  color: var(--white);
}

@media (min-width: 1500px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1420px;
  }
}

.iq-hr {
  background: black;
  width: 100%;
  height: 5px !important;
  opacity: 1;
}

.iq-hr-small {
  background: black;
  width: 100%;
  height: 2px !important;
  opacity: 1;
}

a.iq-link {
  font-size: 28px;
  font-weight: 600;
  text-decoration: none;
}

a.iq-link i {
  margin-left: 5px;
  transition: all 0.5s ease-in-out;
}

a.iq-link:hover i {
  margin-left: 20px;
}

a.iq-link.iq-link-hover i {
  margin-left: 20px;
}

.breadcrumbs {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  column-gap: 20px;
  row-gap: 10px;
  font-size: 1.5rem;
  color: var(--black);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--black);
}

.breadcrumbs a:last-of-type {
  font-weight: bold;
}

.breadcrumbs i {
  font-size: 1rem;
}
/* Footer */

.footer {
  background-color: var(--blue);
  padding: 4rem;
  color: #fff;
}

.footer h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 300;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer i {
  width: 25px;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.btn.btn-main {
  font-size: 1.125rem;
  letter-spacing: 0px;
  border-radius: 0;
  padding: 0.5rem 2rem;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  transition: all 0.5s ease-in-out;
}

.btn.btn-main:hover {
  background: var(--lightblue);
  color: var(--white);
  text-decoration: none;
}

/* Artikel Style */

img.slider-image {
  width: 100%;
}

section {
  position: relative;
}

section[data-sort="0"]::before {
  display: none !important;
}

section.header {
  overflow: hidden;
  position: relative;
}

section.header .header-image {
  aspect-ratio: 16/6;
  width: 100%;
  position: relative;
}
section.header .header-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--black);
  opacity: 0.35;
  z-index: 1;
}

section.header .header-image .image-header {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.header .header-text {
  width: 80%;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section.header .header-text * {
  color: var(--white);
}

section.std {
  margin: 6rem 0;
}

section.artikel-image-video {
  padding: 3rem 0;
}

section.artikel-image-video.even img.bg-icon {
  position: absolute;
  width: 300px;
  bottom: 63px;
  right: -55px;
  opacity: 0.25;
  transform: translate(50%, 50%);
}

section.artikel-image-video.odd img.bg-icon {
  position: absolute;
  width: 300px;
  bottom: 63px;
  left: -55px;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transform: translate(-50%, 50%);
}

section.artikel-image-video.odd {
  background-color: #f8f3ec;
}

section.artikel-image-video::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 4rem;
  background: var(--black);
  left: 50%;
  top: -2rem;
  transform: translateX(-50%);
}

section.artikel-image-video video.video {
  width: 100%;
  max-height: 75dvh;
}

section.artikel-image-video img.image {
  width: 100%;
  position: relative;
  z-index: 2;
}

section.artikel-image-video .outter-image {
  padding: 3.5rem;
  position: relative;
}

section.artikel-image-video .text {
  padding: 3.5rem;
}

section.artikel-image-video.even .outter-image::after {
  width: 200px;
  height: 2px;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lightblue);
}

section.artikel-image-video.even .outter-image::before {
  width: 2px;
  height: 200px;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--blue);
}

section.artikel-image-video.odd .outter-image::after {
  width: 200px;
  height: 2px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--blue);
}

section.artikel-image-video.odd .outter-image::before {
  width: 2px;
  height: 200px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--lightblue);
}

section.artikel-mehr-color-top.artikel-image-video {
  margin-bottom: 0;
}

section.artikel-mehr-color {
  background-color: var(--blue);
  position: relative;
  padding: 5rem 0;
  text-align: center;
}

blockquote {
  font-size: 8px;
}

section.artikel-mehr-color::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 25px solid var(--white); /* Color of the triangle */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

section.artikel-mehr-color.odd::before {
  border-top: 25px solid #f8f3ec;
}

section.artikel-mehr-color .btn {
  background-color: var(--white);
  color: var(--blue);
}

section.artikel-mehr-color * {
  color: var(--white);
}

img.menue-icon {
  width: 85px;
  transition: all 0.5s ease-in-out;
}

section.shop-text {
  margin-top: 6rem;
  margin-bottom: 3rem;
}
section.shop-info {
  position: relative;
  background-color: #f8f3ec;
  padding: 6rem 0;
}

section.shop-info::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 25px solid var(--white);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
section.shop-info .info-box {
  text-align: center;
  color: var(--blue);
  line-height: 1.25;
}
section.shop-info .info-box i {
  color: var(--lightblue);
  font-size: 3rem;
}

section.shop-info .info-box h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

section.news {
  margin: 6rem 0;
}

section.news .news-icon {
  display: block;
  width: 100%;
  max-width: 275px;
  margin: auto;
}

section.news .card {
  background: #f8f3ec;
  border: 0;
  padding: 0;
  border-radius: 0;
  height: 100%;
}

section.news .card-header {
  padding: 0;
}

section.news .card-body p {
  margin-bottom: 0.5rem;
}

section.news span.headline-3 {
  display: block;
  color: var(--black);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}

section.news span.datum {
  display: block;
  font-style: italic;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

section.kontakt {
  position: relative;
  margin: 5rem 0;
}

section.kontakt .form-group label {
  font-weight: bolder;
  text-transform: uppercase;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
}

section.kontakt .form-control {
  border-radius: 0;
}

.sidenav .menue-icon {
  display: none;
}

.shop-info .row {
  row-gap: 1.6rem;
}

.footer-logos {
  max-height: 100px;
}

.owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 0.6rem;
}

button.owl-dot span {
  width: 13px;
  height: 13px;
  background: var(--blue);
  display: block;
  border-radius: 50%;
  opacity: 0.6;
}

button.owl-dot.active span {
  opacity: 1;
}

section.points{
  margin: 5rem 0;;
}

section.points .row{
  row-gap: 1.6rem;
}

@media (min-width: 1500px) {
  section.shop-info .container {
    max-width: 1320px;
  }
}

@media (max-width: 1500px) {
  .navbar .logo {
    width: 260px;
  }
  .navbar .navbar-nav .nav-link {
    font-size: 1.025rem;
  }
  .navbar .navbar-nav .nav-item {
    padding: 0 1rem;
  }
}

@media (max-width: 1200px) {
  section.news .row {
    row-gap: 1.65rem;
  }
  section.image-collage2 .row {
    row-gap: 1.65rem;
  }

  section.artikel-image-video .outter-image {
    padding-bottom: 0;
  }
  section.artikel-image-video .text {
    padding-top: 2rem;
  }
}

@media (max-width: 991px) {
  #exitModal .modal-title {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.1;
  }
  #exitModal p {
    line-height: 1.1;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  .navbar .logo {
    width: 150px;
  }

  .sidenav {
    width: 100vw;
    right: -100vw;
  }
  .sidenav .sidebar-logo {
    display: block;
  }

  section.header .owl-carousel .owl-item img {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
    object-position: 29% center;
  }
  section.artikel-image-video .outter-image {
    padding: 1.5rem;
    padding-bottom: 0;
  }
  section.artikel-image-video .text {
    padding: 1.5rem;
    padding-top: 2rem;
  }
  .footer-logos {
    max-height: 60px;
  }
  .footer {
    padding: 4rem 0;
  }
  section.header .header-text {
    display: none;
  }
  .breadcrumbs {
    font-size: 1rem;
  }
}

.breadcrumb li a {
  display: inline-block;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

#exitModal .modal-dialog {
  max-width: 900px; /* Larger modal */
  margin: 1.75rem auto;
  width: 100%;
}

/* Styling for modal content */

#exitModal .modal-content {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  flex-direction: row;
  align-items: center;
}

/* Left side image styling */
#exitModal .modal-left {
  width: 40%; /* Set fixed width for the left image */
  height: 100%; /* Make sure it's as tall as the modal */
  background-image: url("/img/Familie Trabos.webp"); /* Add your image URL here */
  background-size: cover;
  background-position: center;
  position: relative;
  aspect-ratio: 3/4;
}

/* Right side content */
#exitModal .modal-body {
  background-color: white;
  padding: 2rem 3rem;
  flex: 1; /* Take up the remaining space */
}

#exitModal .modal-header {
  border-bottom: none; /* Remove default header border */
  padding: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

#exitModal .modal-title {
  font-size: 1.3em;
  font-weight: 600;
}

#exitModal .form-control {
  border-radius: 8px;
}

#exitModal .btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 8px;
}

#exitModal .btn-close {
  border-radius: 50%;
  background-color: #ddd;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 10px;
  z-index: 2;
}

@media (max-width: 767px) {
  #exitModal .modal-left {
    width: 100%;
    background-position: center 58%;
    aspect-ratio: 16 / 6;
  }
  #exitModal .modal-content {
    flex-direction: column;
  }
}

.footer .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.footer .social-links a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-links a:hover {
  transform: scale(1.2);
}

section.downlaod {
  margin: 5rem 0;
}

.pdf-list {
  margin: 30px auto;
  padding: 0;
  list-style: none;
  font-family: "Segoe UI", sans-serif;
}

.pdf-list a:hover {
  text-decoration: none;
}

.pdf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
  transition: box-shadow 0.2s ease;
}

.pdf-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

.pdf-left {
  display: flex;
  align-items: center;
}

.pdf-icon {
  width: 24px;
  margin-right: 12px;
}

.pdf-name {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
}

.pdf-name:hover {
  text-decoration: underline;
}

.pdf-size {
  font-size: 0.9rem;
  color: #777;
}
