/* Max 1680 PX  small desktops*/

@media (max-width: 105em) {
  .hero-inhalt-inner {
    max-width: 69%;
  }
}

/* Max 1456 PX  Tablet landscape*/

@media (max-width: 91em) {
  .review-section-inhalt {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    row-gap: 4.6rem;
  }

  .review-card:nth-child(1) {
    justify-self: end;
  }
  .review-card:nth-child(3) {
    justify-self: start;
  }
  .review-card:nth-child(4) {
    justify-self: end;
  }
  .review-card:nth-child(6) {
    justify-self: start;
  }

  html {
    font-size: 56.25%;
  }

  .main-nav-link {
    font-size: 2rem;
  }
}

/* Max 1168 PX  small tabletz  landscape*/

@media (max-width: 73em) {
  .hero-inhalt-inner {
    max-width: 80%;
  }

  html {
    font-size: 50%;
  }
}

/* Max 992 PX  phone landscape*/

@media (max-width: 62em) {
  .hero-inhalt-inner {
    max-width: 100%;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 1000;
  }

  .header-hidden .header {
    display: block;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.836);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    gap: 5vh;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateX(100%);
    z-index: 1;
    font-size: 2.4rem;
    padding-bottom: 10vh;
    backdrop-filter: blur(10px);
  }

  .mobile-nav-logo {
    display: block;
    max-width: 20rem;
  }

  .main-nav-list {
    flex-direction: column;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3.2rem;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }
  .icon-inner {
    position: relative;
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    position: fixed;
    top: 1.1rem;
    right: 3.2rem;
  }

  .header-hidden .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .angebot-boy-box p {
    font-size: 1.8rem;
  }
  .angebot-section.grid--3-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mietangebote.grid--2-cols {
    row-gap: 8rem;
  }

  .container.segel-usp {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
  .schiff-details-icon {
    font-size: 5.4rem;
  }

  .team-mitglieder.grid--3-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .teammitglied {
    max-width: 400px;
  }
}

.booking-kit-table {
  font-size: 1.6rem;
}

/* Max 816 PX  */

@media (max-width: 51em) {
  .angebote {
    grid-template-columns: 1fr;
  }

  .angebot {
    max-width: 50rem;
  }

  .review-section-inhalt {
    grid-template-columns: 1fr 1fr;
  }

  .review-card:nth-child(1) {
    justify-self: center;
  }
  .review-card:nth-child(3) {
    justify-self: center;
  }
  .review-card:nth-child(4) {
    justify-self: center;
  }
  .review-card:nth-child(6) {
    justify-self: center;
  }

  .accordion-content.grid--2-cols {
    grid-template-columns: 1fr 1fr;
  }

  .grid--4-cols {
    grid-template-columns: 1fr 1fr;
  }

  .img-and-text-inhalt {
    flex-direction: column-reverse;
  }

  .footer .container {
    padding: 3.2rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .logo-col {
    grid-row: 1 / 3;
  }

  .mietangebote.standort.grid--2-cols {
    grid-template-columns: 1fr;
  }
  .iframe {
    margin-bottom: 4rem;
  }

  .booking-kit-table {
    font-size: 2rem;
  }

  .mietangebot-heading {
    margin-bottom: 2rem;
  }

  .mietangebot-text {
    margin-bottom: 3rem;
  }
}

/* Max 608 PX  */

@media (max-width: 38em) {
  .hero-inhalt {
    width: 100%;
    padding: 0 3.2rem;
  }

  .usp-section-inhalt {
    flex-direction: column;
  }

  .img-and-text-img {
    width: 80%;
  }

  .testimonial {
    padding: 0 3.2rem;
  }

  .container {
    padding: 2rem 3.2rem;
  }

  .accordion {
    padding: 0 3.2rem;
  }

  .accordion-img {
    width: 33%;
  }

  .form {
    gap: 2rem;
  }
  .accordion-content.grid--2-cols {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    justify-content: center;
  }

  .accordion-img {
    width: 80%;
    justify-self: center;
    grid-row: 1;
  }
  .accordion-element {
    height: 90rem;
  }

  .container.page-header-inhalt {
    padding: 2rem 3.2rem;
  }

  .usp-section.grid--3-cols {
    grid-template-columns: 1fr;
  }
  .mietangebote.grid--2-cols {
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
  }
  .mietangebot-img:nth-child(2) {
    grid-row: 1;
  }

  .mietangebot-img:nth-child(6) {
    grid-row: 5;
  }

  .mietangebot-img:nth-child(10) {
    grid-row: 9;
  }

  .mietangebot-img {
    max-width: 100%;
  }
  .mietangebot-text-content {
    margin-bottom: 4.4rem;
  }

  .team-mitglieder.grid--3-cols {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .teammitglied {
    max-width: 300px;
  }

  .mietangebot-heading {
    font-size: 3.6rem;
  }
  .booking-kit-table {
    font-size: 1.6rem;
  }
}

/* Max 512 PX  */

@media (max-width: 32em) {
  .accordion-img {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1.6rem;
  }

  .accordion-element {
    height: 85rem;
  }

  .review-section-inhalt {
    padding: 6.4rem 3.2rem;
  }

  .accordion {
    padding-left: 0;
    padding-right: 0;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position-x: 58%;
  }

  .grid--4-cols {
    grid-template-columns: 1fr;
  }

  .img-and-text-img {
    width: 100%;
  }

  .main-nav-list {
    gap: 1.78rem;
  }

  .heading-primary {
    font-size: 3.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
  .logo-col {
    justify-self: center;
    display: grid;
    justify-items: center;
    grid-row: 5;
  }
  .iframe {
    min-width: 300px;
    min-height: 300px;
    max-width: 100%;
    max-height: 100%;
  }
  .accordion-header .heading-secondary {
    font-size: 2rem;
  }
  .booking-kit-table {
    font-size: 1.4rem;
  }
  .booking-kit-td,
  .booking-kit-thead th {
    padding: 0.5rem 1rem;
  }
}
