/* cyrillic-ext */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngRUXNadjH0qYEzV7ab-oWlsbCLwR2oefDofMY.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngRUXNadjH0qYEzV7ab-oWlsbCCwR2oefDofMY.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngRUXNadjH0qYEzV7ab-oWlsbCIwR2oefDofMY.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngRUXNadjH0qYEzV7ab-oWlsbCGwR2oefDo.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngSUXNadjH0qYEzV7ab-oWlsbg95AiIW_3CRs-2UEU.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngSUXNadjH0qYEzV7ab-oWlsbg95AiBW_3CRs-2UEU.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngSUXNadjH0qYEzV7ab-oWlsbg95AiLW_3CRs-2UEU.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsansnarrow/v19/BngSUXNadjH0qYEzV7ab-oWlsbg95AiFW_3CRs-2.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
iframe {
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  margin-bottom: 2.5rem;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  text-align: center;
}

h2 {
  font-size: 3.5rem;
}

p:last-child {
  margin-bottom: 0;
}
:root {
  --default-text-color: #414141;
  --default-margin: 1.5rem;
  --card-padding-mobile: 1.25rem;
  --animation-speed: 25s;
  --grey-border: rgba(65, 65, 65, 0.2);
  --one-columns: calc((100% - (2 * 24px)) / 12);
  --one-columns-mobile: calc((100% - (2 * 16px)) / 12);
  --button-background-color: #c03f3f;
  --button-background-color-hover: #a50506;
}
/**
* 50px = 3.125rem
* 40px = 2.5rem;
* 24px = 1.5rem;
* 20px = 1.25rem;
* 16px = 1rem;
*/

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.o-1 {
  /* order: 1; */
  justify-self: flex-start;
}
.o-2 {
  /* order: 2; */
  /* flex: 1; */
  flex-shrink: 0;
  margin: 0 auto;
}
.o-3 {
  /* order: 3; */
  justify-self: flex-end;
}
body {
  font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
  color: var(--default-text-color);
  /* hyphens: auto; */
  font-size: 1.125rem;
}
a:focus {
  outline-color: var(--default-text-color);
}
main {
  gap: 6.25rem;
  align-items: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
}
.logo__link {
  display: inline;
}
.close {
  display: none;
}
footer {
  height: 100px;
  padding: 0;
  margin: 0 auto;
  max-width: calc(var(--one-columns) * 10);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer div {
  flex: 1;
}
.impressum {
  text-align: right;
}
footer a {
  color: var(--default-text-color);
  text-decoration: none;
  text-transform: uppercase;
  margin-left: auto;
}
nav {
  border-bottom: 1px solid var(--grey-border);
  font-size: 1rem;
  padding-inline: 1.5rem;
}
nav ul {
  min-height: 75px;
  padding: 0;
  list-style-type: none;
  gap: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 792px;
  margin: 0 auto;
}

nav ul li a {
  color: inherit;
  min-width: 100px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}
nav ul li a:hover,
nav ul li a:focus {
  font-weight: bold;
}

.flex {
  display: flex;
  flex-direction: column;
}
.text-center {
  text-align: center;
}
.hero {
  width: 100%;
  height: auto;
}
.btn_wrapper {
  gap: 24px;
  flex-direction: row;
}
.icon_wrapper {
  gap: 20px;
  flex-direction: row;
}
.btn {
  text-transform: uppercase;
  gap: 0.5em;
  text-decoration: none;
  display: inline-flex;
  padding: 1em;
  color: var(--default-text-color);
  background-color: #fff;
  border: 1px solid #fff;
  align-self: center;
  min-width: 170px;
  align-items: center;
  justify-content: center;
}
.btn:hover,
.btn:active,
.btn:focus {
  color: #fff;
  background-color: var(--default-text-color);
}
.pdf::before {
  content: url(img/pdf_grey.svg);
  width: 25px;
  height: 25px;
}
.pdf:hover::before,
.pdf:active::before,
.pdf:focus::before {
  content: url(img/pdf_white.svg);
}
.btn-red {
  background-color: var(--button-background-color);
  color: #fff;
}
.btn-red:hover,
.btn-red:active,
.btn-red:focus {
  background-color: var(--button-background-color-hover);
}
.card__wrapper {
  display: flex;
  padding: 0 1.5rem;
  gap: 1.5rem;
}
.card {
  align-items: center;
  justify-content: space-between;
  background-color: var(--default-text-color);
  padding: 2.5rem;
  color: #fff;
  flex: 1 1 50%;
}

table {
  text-align: left;
}

caption {
  text-align: left;
}

td[colspan] {
  padding-bottom: 1.25rem;
}

td,
th {
  padding-bottom: 1rem;
  max-width: 200px;
}

th {
  vertical-align: top;
  text-transform: uppercase;
  padding-right: 0.5rem;
  width: 50%;
}
td:not([colspan]) {
  padding-left: 0.5rem;
}
.margin-bottom-m {
  margin-bottom: 50px;
}
.btn-mobile {
  display: none;
}
.maps {
  display: flex;
  background-image: url("img/BG_Maps_optimized.webp");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px;
  gap: var(--default-margin);
  flex-direction: row-reverse;
}
.maps_info {
  flex: 0 0 auto;
  align-self: flex-end;
  padding: 2.5rem;
}
.wide {
  width: 100%;
}
.carousel {
  overflow: hidden;
  display: flex;
  margin: 0 auto;
  max-width: 100%;
}
.carousel > * {
  flex: 0 0 100%;
}
.carousel__card {
  color: white;
  justify-content: center;
  align-items: center;
  background-color: grey;
  aspect-ratio: 1;
}
.carousel__card img {
  max-width: 188px;
  height: auto;
}

/* Group the cards for better structure. */
.carousel__group {
  display: flex;
  gap: 24px;
  /* Add padding to the right to create a gap between the last and first card. */
  padding-right: 24px;
  will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
  animation: scrolling var(--animation-speed, 10s) linear infinite;
}
.carousel:hover .carousel__group {
  animation-play-state: paused;
}

.faq {
  max-width: calc(var(--one-columns) * 10);
  margin: 0 auto;
}
.faq a {
  color: var(--default-text-color);
}
details {
  flex: 1;
  margin-bottom: 1.25rem;
  border: 1px solid var(--default-text-color);
}

summary {
  padding: 1.25rem;
  position: relative;
  font-weight: bold;
}

summary::-webkit-details-marker,
summary::marker {
  color: transparent;
  font-size: 0;
  content: none;
}
summary::after {
  content: "+";
  position: absolute;
  font-size: 2.5rem;
  height: 20px;
  width: 20px;
  right: 1.25rem;
  top: 3px;
}

details[open] > summary::after {
  content: "-";
  right: 18px;
  top: 1px;
}
.details__content {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.contact {
  background-image: url("img/BG_Contact_Desktop.png");
  background-repeat: no-repeat;
  background-color: var(--default-text-color);
  background-position: center;

  color: #fff;
  padding: 120px 0;
  margin: 0 auto;
  display: flex;
}
.contact h2 {
  text-align: left;
}
.contact > div {
  max-width: calc(var(--one-columns) * 10);
  margin: 0 auto;
  width: 100%;
}
.contact a {
  color: #fff;
}
.hidden-mobile {
  display: block;
}
.hidden-desktop {
  display: none;
}
@media only screen and (max-width: 769px) {
  html {
    scroll-padding-top: 70px;
  }
  .mobile-nav {
    position: fixed;
    inset: 0;
    background: #000;
    isolation: isolate;
    z-index: 1;
  }
  .mobile-nav .open {
    display: none;
  }
  .mobile-nav .close {
    color: #fff;
    display: block;
  }
  .hidden-mobile {
    display: none;
  }
  .hidden-desktop {
    display: block;
  }
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 1.25rem;
  }
  h2 {
    font-size: 1.875rem;
  }
  footer {
    height: 70px;
    padding: 1.25rem;
    max-width: 100%;
  }
  footer img {
    width: auto;
    height: 40px;
  }
  .btn-mobile {
    display: block;
    background-color: transparent;
    border: 0;
    margin: 0;
    padding: 16px;

    position: absolute;
    top: 0;
    left: 0;
  }
  body {
    /* background-color: yellow; */
    font-size: 1rem;
  }
  main {
    gap: 3.125rem;
  }
  .btn_wrapper {
    gap: 20px;
    flex-direction: column;
  }
  .icon_wrapper {
    justify-content: center;
  }
  .icon_wrapper img {
    width: 40px;
    height: 40px;
  }
  .carousel {
    padding-inline: 16px;
  }
  .carousel__group {
    gap: 16px;
  }
  .carousel__card img {
    max-width: 136px;
  }
  .card__wrapper {
    flex-direction: column;
    padding: 0 1rem;
    gap: 0;
  }
  nav {
    display: flex;
    padding: 0;
  }
  nav ul {
    min-height: 50px;
    flex: 1;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: white;
  }
  .o-2 {
    order: -1;
  }
  header:not(.mobile-nav) li:not(:nth-child(4)) {
    display: none;
  }
  header:not(.mobile-nav) .logo {
    width: auto;
    height: 30px;
  }
  .card__wrapper .first {
    margin-bottom: 50px;
  }
  .card {
    padding: var(--card-padding-mobile);
    gap: 0;
  }
  .faq {
    max-width: 100%;
    padding-inline: 16px;
  }
  .maps {
    flex-direction: column;
    padding: 75px 1rem 1rem 1rem;
  }
  .maps_info {
    flex: 1 1 auto;
    align-self: center;
    width: 320px;

    max-width: 100%;
  }
  .contact {
    background: var(--default-text-color);
    text-align: center;
    padding: 20px;
  }
  .contact h2 {
    text-align: center;
  }
}
