/* ========================= */
/* FONTS                     */
/* ========================= */

@font-face {
  font-family: "Open Sans Condensed";
  font-style: normal;
  font-weight: 300;
  src:
    url("../fonts/open-sans-condensed-v14-latin-300.woff2") format("woff2"),
    url("../fonts/open-sans-condensed-v14-latin-300.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Condensed";
  font-style: normal;
  font-weight: 700;
  src:
    url("../fonts/open-sans-condensed-v14-latin-700.woff2") format("woff2"),
    url("../fonts/open-sans-condensed-v14-latin-700.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src:
    url("../fonts/open-sans-v17-latin-regular.woff2") format("woff2"),
    url("../fonts/open-sans-v17-latin-regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.woff?yyav4d") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================= */
/* ICONS                     */
/* ========================= */

[class^="icon-"],
[class*=" icon-"] {
  font-family: "icomoon" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  padding-right: 0.7rem;
}

.icon-phone:before {
  content: "\f095";
}

.icon-envelope:before {
  content: "\f0e0";
}

.icon-location-arrow:before {
  content: "\f124";
}

.icon-fax:before {
  content: "\f1ac";
}

/* ========================= */
/* RESET & BASE              */
/* ========================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  list-style: none;
}

html {
  font-family: "Open Sans", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  background-color: #f9f9f9;
}

address {
  font-style: normal;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #ad0c33;
}

h1,
h2,
h3,
h4 {
  font-family: "Open Sans Condensed", sans-serif;
  text-align: left;
}

/* ========================= */
/* LAYOUT                    */
/* ========================= */

.header,
.nav,
.content,
.find-us,
.footer-links {
  max-width: 100rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========================= */
/* HEADER                    */
/* ========================= */

.header-wrap {
  top: 0;
  background-color: #ad0c33;
  z-index: 1;
  height: 8rem;
}

.header {
  display: flex;
}

.title {
  margin-top: 0.3rem;
}

.title h1 {
  font-size: 3.8rem;
  font-weight: normal;
}

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

.title p {
  color: #fff;
  font-weight: normal;
  font-size: 1.3rem;
  margin-top: -0.4rem;
  font-family: "Open Sans", sans-serif;
}

/* ========================= */
/* NAVIGATION                */
/* ========================= */

.nav-wrap {
  top: 0;
  background-color: #fff;
  z-index: 10;
  border-bottom: 1px solid #e9e9e9;
  position: sticky;
}

.nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-family: "Open Sans Condensed", sans-serif;
  width: 100%;
}

.nav ul li {
  padding: 0.8rem 0;
  font-weight: bold;
  text-transform: uppercase;
}

.nav a {
  padding: 0.8rem 0.9rem;
  color: #333;
  font-size: 1.6rem;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .nav a:hover {
    color: #ad0c33;
  }
  .nav a:hover::after {
    transform: scaleX(1);
  }
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: #ad0c33;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav ul > li:first-child a {
  padding-left: 0;
}

.nav ul > li:first-child a::after {
  left: 0;
}

.nav a[aria-current="page"] {
  color: #ad0c33;
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ========================= */
/* CONTENT                   */
/* ========================= */

.content-wrap {
  background-color: #f9f9f9;
}

.content,
.find-us {
  padding: 1.2rem;
  color: #333;
  font-size: 1.5rem;
  text-align: justify;
}

.content p {
  margin: 1rem auto;
  line-height: 2.2rem;
}

.content div > p {
  margin-top: 0;
}

.content li {
  list-style: disc;
  margin: 1rem auto;
}

.content h2 {
  text-transform: uppercase;
  font-size: 3rem;
}

.content h3,
.contact-heading {
  font-size: 2.2rem;
  text-transform: uppercase;
}

.contact-heading {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* ========================= */
/* FIND US / CONTACT         */
/* ========================= */

.find-us {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.find-us > div {
  padding-bottom: 0.6rem;
  padding-top: 0.6rem;
}

.find-us table td {
  padding-right: 1.5rem;
}

.find-us td,
.find-us p {
  line-height: 2.1rem;
}

.find-us .fas {
  padding-right: 0.7rem;
}

/* ========================= */
/* PULSE ANIMATION           */
/* ========================= */

.pulse {
  animation: pulse 1.5s ease-out;
  border-radius: 0.5rem;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: scale(0.98);
    background: rgba(171, 5, 46, 0.25);
  }
  50% {
    opacity: 1;
    transform: scale(1);
    background: rgba(171, 5, 46, 0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    background: transparent;
  }
}

/* ========================= */
/* PEOPLE / TEAM             */
/* ========================= */

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 3.3rem;
}

.people > div {
  background-color: white;
  flex: 1 1 calc((100% - 6.6rem) / 3);
  min-width: 0;
  border-radius: 0.4rem;
  border-bottom: 1px solid #e7e7e7;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.people > div:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.12);
}

.people img {
  border-radius: 8.5rem;
  height: 15rem;
  width: 15rem;
  display: block;
  margin: 1rem auto;
  padding: 1rem;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.people > div:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.people .name {
  font-family: "Open Sans Condensed", sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.people > div:hover .name {
  color: #ad0c33;
}

.people .role {
  text-align: center;
  font-size: 1.3rem;
  margin-top: -1rem;
  line-height: 1.8rem;
}

/* ========================= */
/* SERVICE & LEGAL PAGES     */
/* ========================= */

.service ul,
.datenschutz ul {
  margin-left: 2.5rem;
}

.impressum h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.impressum h4,
.datenschutz h4,
.datenschutz strong {
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
}

.impressum p,
.datenschutz p {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  line-height: 2rem;
}

/* ========================= */
/* MOBILE.DE BUTTON          */
/* ========================= */

.mobilede_button_wrap {
  text-align: center;
  margin: 1rem 0;
}

.mobilede_button {
  display: inline-block;
  padding: 1rem 1.4rem;
  background-color: #ad0c33;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobilede_button:hover,
.mobilede_button:focus {
  /* background-color: #970b2d; */
  text-decoration: underline;
}

.mobilede_button:link,
.mobilede_button:visited,
.mobilede_button:active {
  color: #fff;
}

.mobilede_button:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}

/* ========================= */
/* NOTICES                   */
/* ========================= */

.notice-fahrzeuge {
  color: #ad0c33;
  /* border: 1px solid #f5c6cb; */
  background-color: #f8d7da;
  padding: 0.7rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

/* ========================= */
/* SLIDESHOW                 */
/* ========================= */

.slideshow-wrap {
  position: relative;
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.5rem;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.slideshow-img-wrap {
  display: flex;
  will-change: transform;
}

.slideshow-img-wrap.slide-animate {
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slideshow-img {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  contain: layout paint;
}

.slideshow-img picture {
  display: block;
  line-height: 0;
}

.slideshow-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 3.5rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding-bottom: 0.7rem;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.slideshow-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slideshow-prev {
  left: 0.8rem;
  padding-right: 0.2rem;
}

.slideshow-next {
  --progress: 0;
  right: 0.8rem;
  padding-left: 0.2rem;
}

.slideshow-next::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(255, 255, 255, 0.85) calc(var(--progress) * 360deg),
    transparent 0deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  pointer-events: none;
}

.slideshow-title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  padding-top: 3rem;
}

.slideshow-title {
  text-transform: uppercase;
  font-size: 3rem;
  color: white;
  padding-left: 1.2rem;
  padding-bottom: 0.4rem;
  text-shadow: 0.5rem 0.5rem 2rem black;
}

/* ========================= */
/* FOOTER                    */
/* ========================= */

.footer-wrap,
.footer {
  border-top: 1px solid #e9e9e9;
}

.contact-wrap {
  background-color: white;
}

.footer-links {
  padding: 1.5rem;
  padding-left: 1.2rem;
}

.footer-links li {
  display: inline-block;
  font-family: "Open Sans Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  padding-right: 1.5rem;
  font-size: 1.3rem;
}

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

/* ========================= */
/* MEDIA QUERIES             */
/* ========================= */

@media (max-width: 1030px) {
  .nav ul > li:first-child a {
    padding-left: 0.8rem;
  }
  .nav ul > li:first-child a::after {
    left: 0.8rem;
  }
  .title {
    padding-left: 0.8rem;
  }
}

@media (max-width: 700px) {
  .people > div {
    flex: 1 1 calc((100% - 3.3rem) / 2);
  }
  .contact-heading {
    margin-top: 1rem;
  }
}

@media (max-width: 525px) {
  .people > div {
    flex: 1 1 100%;
  }
  .people img {
    border-radius: 14rem;
    height: 20rem;
    width: 20rem;
  }
  .header-wrap {
    height: 6.5rem;
  }
  .title h1 {
    margin-top: -0.1rem;
    font-size: 4.3rem;
  }
  .title p {
    display: none;
  }
  .slideshow-title {
    font-size: 2.2rem;
  }
  .content h3,
  .contact-heading {
    font-size: 1.9rem;
  }
}

@media (max-width: 350px) {
  .title h1 {
    font-size: 4rem;
  }
  .title {
    margin-top: 0.6rem;
  }
}

@media (max-width: 330px) {
  .title h1 {
    font-size: 3.6rem;
  }
  .title {
    margin-top: 0.9rem;
  }
}
