@import url("//hello.myfonts.net/count/3fc7b6");

@font-face {
  font-family: "CocoSharp";
  src:
    url("../fonts/cocosharp_s_regular_new.woff2") format("woff2"),
    url("../fonts/cocosharp_s_regular_new.woff") format("woff");
  font-weight: normal;
  font-display: swap;
  unicode-range: U+000-5FF;
}
@font-face {
  font-family: "CocoSharp";
  src:
    url("../fonts/cocosharp_l_extrabold_new.woff2") format("woff2"),
    url("../fonts/cocosharp_l_extrabold_new.woff") format("woff");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+000-5FF;
}
@font-face {
  font-family: "CocoSharp";
  src:
    url("../fonts/cocosharp_s_bold_new.woff2") format("woff2"),
    url("../fonts/cocosharp_s_bold_new.woff") format("woff");
  font-weight: bold;
  font-display: swap;
  unicode-range: U+000-5FF;
}

body {
  font-family: "CocoSharp", sans-serif;
  padding: 0;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/**
 * Container
 */

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--small {
  max-width: 800px;
}

.container--medium {
  max-width: 1200px;
}

/**
 * CMS Page
 */

.cms-page {
  padding: 2rem 0;
  min-height: 40vh;

  p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1rem;

    @media (min-width: 750px) {
      font-size: 18px;
    }
  }

  li {
    font-size: 16px;
    line-height: 1.5;

    @media (min-width: 750px) {
      font-size: 18px;
    }
  }

  li + li {
    margin-top: 0.5rem;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;

    th,
    td {
      padding: 0.5rem;
      border: 1px solid #000;
      text-align: left;
      font-size: 16px;
      line-height: 1.5;

      @media (min-width: 750px) {
        font-size: 18px;
      }

      vertical-align: top;
    }
  }
}

.cms-page h1 {
  margin-bottom: 2rem;
}

/**
 * Buttons
 */

.button {
  border-radius: 3px;
  padding: 1rem 3rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  background-color: #000;
  border: none;
  text-decoration: none;
  display: inline-flex;
  outline: 2px solid #000;
  outline-offset: -2px;

  &:hover {
    outline-offset: -1px;
  }

  &:focus {
    outline-color: #000;
    outline-offset: 2px;
  }
}

.button--secondary {
  background-color: #ffffff;
  color: #000;
  outline: 2px solid #fff;

  &:hover {
  }
}

/**
 * Header
 */

.header {
  padding: 1rem 0;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e7e7e9;
}

.header .container {
  text-align: center;
}

.header img {
  height: auto;
  width: 100%;
  display: block;
  margin: 0 auto;
  max-width: 160px;

  @media (min-width: 1200px) {
    max-width: 190px;
  }
}

/**
 * Links
 */

a {
  color: #000;
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

/**
 * Typography
 */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}
/**
 * Headlines
 */

.h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 2rem;
  hyphens: auto;
}

.h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 2rem;
  hyphens: auto;
}

/**
 * Frontpage highlights
 */

.frontpage-highlights {
  display: none;

  @media (min-width: 750px) {
    display: block;
  }
}

.frontpage-highlights-wrapper {
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
  gap: 4rem;

  @media (min-width: 750px) {
    flex-direction: row;
  }
}

.frontpage-highlights-item {
  flex-basis: 100%;

  @media (min-width: 750px) {
    flex-basis: calc(50% - 2rem);
  }
}

.frontpage-highlights-item img {
  width: 100%;
  height: auto;
}

.frontpage-highlights-item img.cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.frontpage-highlights-item__content {
  padding-top: 1rem;
}

.frontpage-highlights-item__content h3 {
  margin: 0 0 0.5rem;
  font-size: 22px;
  text-transform: uppercase;
}

.frontpage-highlights-item__content p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.frontpage-highlights-wrapper--left .frontpage-highlights-item:first-child {
  @media (min-width: 750px) {
    flex-basis: calc(65% - 2rem);
  }
}

.frontpage-highlights-wrapper--left .frontpage-highlights-item:last-child {
  @media (min-width: 750px) {
    flex-basis: calc(35% - 2rem);
  }
}

.frontpage-highlights-wrapper--right .frontpage-highlights-item:first-child {
  @media (min-width: 750px) {
    flex-basis: calc(35% - 2rem);
  }
}

.frontpage-highlights-wrapper--right .frontpage-highlights-item:last-child {
  @media (min-width: 750px) {
    flex-basis: calc(65% - 2rem);
  }
}

.frontpage-highlights-item__image--mobile {
  @media (min-width: 750px) {
    display: none;
  }
}
.frontpage-highlights-item__image--desktop {
  display: none;
  @media (min-width: 750px) {
    display: block;
  }
}

.frontpage-highlights-mobile {
  display: block;

  @media (min-width: 750px) {
    display: none;
  }
}

.frontpage-highlights-mobile .swiper {
  width: 100%;
}

.frontpage-highlights-mobile .swiper-pagination {
  position: static;
  margin-top: 3rem;
}

/**
 * Hero Banner
 */

.vesta-hero-banner {
  margin: 0 0 4rem;
}

.vesta-hero-banner .swiper {
  width: 100%;
}

.vesta-hero-banner-item {
  display: flex;
  min-height: 75vh;
  height: auto;
  position: relative;

  @media (min-width: 750px) {
    min-height: auto;
  }
}

.vesta-hero-banner-item__left {
  flex-basis: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  @media (min-width: 750px) {
    flex-basis: 70%;
  }
}

.vesta-hero-banner-item__left__content {
  padding: 5rem 3rem;
  text-align: center;
  height: calc(100% - 12rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media (min-width: 750px) {
    height: auto;
    text-align: left;
    max-width: 35vw;
    padding: 3rem 5rem;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
  }

  @media (min-width: 1024px) {
    max-width: 30vw;
  }

  @media (min-width: 1540px) {
    transform: translate(-130%, -50%);
    left: 50%;
    padding: 0;
    max-width: 550px;
  }

  @media (min-width: 1920px) {
    max-width: 550px;
  }
}

.vesta-hero-banner-item__left__content h2 {
  font-size: 12vw;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  margin: 0;

  @media (min-width: 750px) {
    text-align: left;
    font-size: clamp(3.75rem, 1.3462rem + 5.1282vw, 7.5rem);
  }

  @media (min-width: 1920px) {
    font-size: clamp(7.5rem, 1.875rem + 4.6875vw, 9.375rem);
  }
}

.vesta-hero-banner-item__left__content p {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.125;
  font-weight: bold;
  text-align: center;
  color: #000;
  display: none;

  @media (min-width: 750px) {
    display: block;
    text-align: left;
    font-size: clamp(1.375rem, 0.9744rem + 0.8547vw, 2rem);
  }
}

.vesta-hero-banner-item__left__content__actions {
  display: none;

  @media (min-width: 750px) {
    display: block;
  }
}

.vesta-hero-banner-item__right {
  display: flex;
  @media (max-width: 749.9px) {
    display: block;
    background-color: transparent !important;
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 4rem;
  }
  @media (min-width: 750px) {
    flex-basis: 30%;
    display: flex;
    justify-content: flex-end;
  }

  .rating-widget {
    margin-bottom: 1.5rem;
  }
}

.vesta-hero-banner-item__right__product {
  padding-bottom: 2rem;

  @media (min-width: 750px) {
    padding-bottom: 5rem;
  }
}

.vesta-hero-banner-item__right__product .amazon-score {
  margin-bottom: 2rem;
}

.vesta-hero-banner-item__right__product__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;

  .loox-rating {
    margin-bottom: 1rem;
  }
}

.vesta-hero-banner-item__right__product__content h3 {
  margin: 0 0 0.5rem;
  font-size: 18px;
  line-height: 18px;
  text-align: center;

  @media (min-width: 992px) {
    font-size: 20px;
    line-height: 20px;
  }

  @media (min-width: 1280px) {
    font-size: 22px;
    line-height: 22px;
  }
}

.vesta-hero-banner-item__right__product__content p {
  display: none;

  @media (min-width: 750px) {
    display: block;
  }
}

.vesta-hero-banner-item__right__product__image {
  display: none;
  justify-content: end;
  padding: 4rem 0 1rem 6rem;
  transition: padding 300ms ease;

  @media (min-width: 750px) {
    display: flex;
    padding: 4rem 0 0 5rem;
  }

  @media (min-width: 992px) {
    padding: 5rem 0 0 2.5rem;
  }

  @media (min-width: 1500px) {
    padding: 5rem 0 0 5rem;
  }
}

.vesta-hero-banner-item__right__product__image img {
  max-width: 100%;
  height: auto;
}

.vesta-hero-banner .swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 0);
  z-index: 1;
}

/**
 * Rating Widget
 */

.rating-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rating-widget__stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.rating-widget__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.rating-widget__star svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Vollständiger Stern */
.rating-widget__star--full svg {
  fill: #ffa500;
  color: #ffa500;
}

/* Halber Stern - wird über SVG clip-path gehandhabt */
.rating-widget__star--half svg {
  width: 100%;
  height: 100%;
}

/* Leerer Stern */
.rating-widget__star--empty svg {
  fill: #d3d3d3;
  color: #d3d3d3;
}

.rating-widget__raters {
  font-size: 14px;
  color: #666;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 750px) {
  .rating-widget__star {
    width: 20px;
    height: 20px;
  }

  .rating-widget__raters {
    font-size: 16px;
  }
}

/**
 * App Buttons
 */

.app-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: center;

  @media (min-width: 750px) {
    flex-direction: row;
    margin-bottom: 4rem;
  }

  .app-buttons-item {
    text-align: center;

    &:hover {
      img {
        transform: scale(1.025);
      }
    }
  }

  a {
    display: block;
  }

  img {
    display: block;
    max-width: 200px;
    transform: scale(1);
    transition: transform 200ms ease-out;
  }
}

/**
 * Image with Text
 */

.image-with-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;

  @media (min-width: 750px) {
    flex-direction: row;
    align-items: center;
    margin: 4rem 0;
    gap: 3rem;
  }

  @media (min-width: 1200px) {
    gap: 4rem;
  }

  img {
    width: 100%;
    height: auto;
    object-fit: cover;

    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  }

  .h2 {
    font-weight: 700;
    font-size: 3.5rem;
  }
}

.image-with-text__left {
  flex-basis: 100%;
}

.image-with-text__right {
  flex-basis: 100%;
}

/**
 * Features
 */

.features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 0 6rem;

  @media (min-width: 750px) {
    flex-direction: row;
  }
}

.features-item {
  flex-basis: 100%;
  background-color: #f0f0f0;
  padding: 2rem;
}

.features-item h3 {
  margin: 0 0 0.5rem;
  font-size: 22px;
  text-transform: uppercase;
}

.features-item p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

/**
 * Teaser Grid
 */

.teaser-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;

  @media (min-width: 750px) {
    flex-direction: row;
    gap: 3rem;
  }
}

.teaser-item {
  flex-basis: 100%;
  background-color: #f0f0f0;
  padding: 2rem;
  display: flex;
  flex-direction: column;

  @media (min-width: 750px) {
    flex-basis: calc(50% - 1.5rem);
  }
}

.teaser-item__image {
  margin-bottom: 1rem;

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.teaser-item h2 {
  margin: 0 0 1rem;
  font-size: 22px;
  text-transform: uppercase;
}

.teaser-item p {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.teaser-item .button {
  align-self: flex-start;
  margin-top: auto;
}

/**
 * Stats Grid
 */

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;

  @media (min-width: 750px) {
    flex-direction: row;
    gap: 3rem;
  }
}

.stats-item {
  flex-basis: 100%;
  background-color: #f0f0f0;
  padding: 2rem;
  text-align: center;

  @media (min-width: 750px) {
    flex-basis: calc(50% - 1.5rem);
  }
}

.stats-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #000;

  @media (min-width: 750px) {
    font-size: 4rem;
  }
}

.stats-label {
  font-size: 18px;
  line-height: 1.5;
  color: #666;
  text-transform: uppercase;
  font-weight: bold;
}

/**
 * Footer
 */

.footer {
  padding: 2rem 0;
  background-color: rgb(15, 15, 15);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e7e7e9;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  color: #ffffff;

  @media (min-width: 750px) {
    align-items: center;
  }
}

.footer__logo {
  margin-bottom: 2rem;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;

  @media (min-width: 750px) {
    flex-direction: row;
    gap: 2rem;
    width: auto;
  }

  li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;

    a {
      color: rgb(229, 229, 229);
      text-decoration: none;
      font-size: 16px;

      &:hover {
        color: #ffffff;
        text-decoration: underline;
      }
    }
  }
}

.footer__copyright {
  margin-top: 2rem;
  text-align: center;
  font-size: 14px;
  color: rgb(190, 190, 190);
}

/**
 * Accordion
 */

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid #e7e7e9;
  margin-bottom: 0;
}

.accordion-item:first-child {
  border-top: 1px solid #e7e7e9;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: "CocoSharp", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: #666;
}

.accordion-trigger:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.accordion-icon {
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item--open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 0 1.5rem 0;
  display: none;
}

.accordion-item--open .accordion-content {
  display: block;
}

.accordion-content p,
.accordion-content ul {
  margin-bottom: 1rem;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}
