*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow: hidden;
}

html {
  height: auto;
  scroll-behavior: smooth;
  overflow-y: auto;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system,
    /* Firefox supports this but not yet `system-ui` */
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.3;
  color: var(--color-7);
  background: var(--color-4);
}

/* ---------- Reset ---------- */
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
}

button {
  padding: 0;
  background-color: unset;
  border: 0;
  cursor: pointer;
}

.c-popup_bn {
  left: auto !important;
  right: 1rem !important;
  bottom: 1rem !important;
}


/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden,
[hidden] {
  display: none !important;
}


/* ---------- Layout ---------- */
.hero {
  min-height: 100vh;
  display: flex;
}

.container {
  flex: 1;
  position: relative;
  isolation: isolate;
  padding: var(--c-padding);
  margin-bottom: var(--footer-height);
}

.bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bg-wrapper>img {
  min-width: 100%;
  min-height: 100%;
}

.bg-desktop {
  display: none;
}

@media (min-width: 768px) {
  .bg-desktop {
    display: block;
  }

  .bg-mobile {
    display: none;
  }
}

.grid {
  display: grid;
  justify-items: center;
  gap: var(--grid-gap);
  align-content: center;
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}


@media (min-width: 1024px) {
  .grid {
    grid-template-columns: 1fr 460px;
  }
}


/* ---------- Text Section ---------- */
.type-1 :is(.headline-1, .headline-2, .subline) {
  display: block;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-5);
}

.type-1 :is(.headline-1, .headline-2) {
  line-height: 1;
}

.type-1 .headline-1 {
  font-size: 32px;
  transform: translateY(1.25em);
}

.type-1 .headline-2 {
  font-size: 130px;
  font-style: italic;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--color-5);
}

.type-1 .subline {
  font-size: 22px;
}

.type-1 .bottom-text-container {
  position: relative;
  padding-block: 2em;
  margin-top: 0.5rem;
}

.type-1 .text-list span {
  line-height: 2.5;
  padding: 0.25em 0.5em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-6);
  background-color: var(--color-5);
}


/* --- Price badge --- */
.type-1 .price-container {
  --size-base: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  right: -0.75rem;
  transform: rotate(5deg);
  width: calc(var(--size-base) * 12);
  aspect-ratio: 1;
  border-radius: var(--br-full);
  border: calc(var(--size-base) / 3) solid var(--color-5);
  background-color: var(--color-13);
  color: var(--color-5);
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.type-1 .old-price-wrapper {
  font-size: calc(var(--size-base) * 1.8);
  margin-top: calc(var(--size-base) * 0.6);
}

.type-1 .for {
  font-size: calc(var(--size-base) * 1);
}

.type-1 .old-price {
  position: relative;
  display: inline-block;
}

.type-1 .old-price::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -0.1em;
  width: 1.6666em;
  height: 0.1em;
  transform: rotate(-25deg);
  background-color: hsl(0, 90%, 50%);
}

.type-1 .new-price-wrapper {
  display: flex;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-top: calc(var(--size-base) * -0.3);
}

.type-1 .new-price {
  font-size: calc(var(--size-base) * 3.6);
}

.type-1 .new-price-wrapper>div {
  display: grid;
  justify-items: start;
}

.type-1 .euro {
  font-size: calc(var(--size-base) * 2);
}

.type-1 .interval {
  font-size: calc(var(--size-base) * 1);
  transform: translateY(-0.2em);
}

.type-1 .devider {
  width: 80%;
  margin-block: calc(var(--size-base) * 0.3);
  height: calc(var(--size-base) * 0.2);
  background-color: var(--color-5);
}

.type-1 .cancellation-text {
  color: var(--color-3);
  font-size: calc(var(--size-base) * 1.4);
  line-height: 1.05;
  margin-top: calc(var(--size-base) * 0.3);
}



@media (min-width: 1280px) {
  .type-1 .text-container {
    position: relative;
    width: 100%;
  }

  .type-1 .headline-1 {
    font-size: 75px;
    transform: translateY(.7em);
  }

  .type-1 .headline-2 {
    font-size: 280px;
    line-height: 0.9;
    -webkit-text-stroke-width: 3px;
  }

  .type-1 .subline {
    font-size: 48px;
  }

  .type-1 .bottom-text-container {
    margin-top: 1rem;
  }

  .type-1 .text-list {
    width: max-content;
    margin-inline: auto;
  }

  .type-1 .text-list span {
    font-size: 48px;
    line-height: 2.25;
  }

  .type-1 .bottom-text-container {
    position: static;
    padding-block: 1.5rem;
  }

  .type-1 .price-container {
    --size-base: 15px;
    top: -40px;
    right: calc(-400px + 25vw);
  }
}

@media (min-width: 1536px) {
  .type-1 {
    --grid-gap: 6rem;
  }

  .type-1 .price-container {
    right: 0px;
  }
}

/* --- Form --- */
.form-container {
  width: 100%;
}

.form-container form {
  padding: var(--inner-padding);
  background-color: var(--color-2);
  border-radius: var(--br);
}

.form-container :is(form, .state-1, .state-2) {
  display: grid;
  gap: var(--inner-gap);
  justify-items: center;
}

.form-container :is(.state-1, .state-2)[hidden] {
  display: none;
}

.logo {
  max-width: 250px;
}

.form-container h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-16);
}

.form-fields-wrapper {
  --gap: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.form-field {
  display: flex;
  flex: 0 0 100%;
}

.form-field.w-50 {
  flex: 0 0 calc(50% - var(--gap) / 2);
}

.form-field input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: var(--br-full);
  border: 1px solid var(--color-7);
  color: var(--color-16);
  transition: border-color var(--transition);
}

.form-field input::placeholder {
  color: var(--color-7);
}

.form-field input:focus-within {
  color: var(--color-16);
  border-color: var(--color-16);
  outline: 0;
}

.form-container .legals {
  font-size: 14px;
  color: var(--color-7);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--br-full);
  color: var(--color-8);
  background-color: var(--color-1);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: scale var(--transition);
}

.btn:hover {
  scale: 0.95;
}

.form-container .btn {
  width: 100%;
}


/* --- Loader --- */
.loader {
  display: grid;
  place-items: center;
  height: 150px;
}

.loader svg {
  width: 3.25em;
  transform-origin: center;
  animation: rotate 2s linear infinite;
}

.loader circle {
  fill: none;
  stroke: var(--color-6);
  stroke-width: 2;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dashoffset: -125px;
  }
}


/* --- Footer --- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: var(--footer-height);
  padding-inline: var(--c-padding);
  font-size: 14px;
  line-height: 1;
  background-color: var(--color-11);
  color: var(--color-12);
}

.footer p {
  display: none;
}

@media (min-width: 768px) {
  .footer p {
    display: flex;
  }
}

.footer :is(span) {
  opacity: 0.5;
}

.footer a {
  text-decoration: none;
}

.legal-links-wrapper,
.fitmotion-wrapper {
  display: flex;
  gap: 0.25em;
}


/* -------------------- Seite 2 -------------------- */
/* ---------- Layout ---------- */
.type-2 .overlay {
  position: absolute;
  inset: 50% 0 0 0;
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
  background-color: var(--color-3);
  opacity: 0.85;
}

@media (min-width: 768px) {
  .type-2 .overlay {
    position: absolute;
    inset: 0 0 0 65%;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  }
}


/* ---------- Text Section ---------- */
.type-2 .text-container {
  --fs-base: 10px;
  padding-top: 175px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 768px) {
  .type-2 .text-container {
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  .type-2 .text-container {
    --fs-base: 14px;
  }
}

@media (min-width: 1280px) {
  .type-2 .text-container {
    --fs-base: 18px;
  }
}

@media (min-width: 1536px) {
  .type-2 .text-container {
    --fs-base: 20px;
  }
}

.type-2 .headline {
  padding: 0.25em;
  color: var(--color-5);
  background-color: var(--color-14);
  border-radius: 0.25em;
  font-size: calc(var(--fs-base) * 2.2);
}

.type-2 .subline {
  color: var(--color-6);
  font-size: calc(var(--fs-base) * 6);
  line-height: 1.15;
}

.type-2 .price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: calc(var(--fs-base) * 1);
  color: var(--color-6);
}

.type-2 .price span:first-of-type {
  font-size: calc(var(--fs-base) * 3);
}

.type-2 .price span:last-of-type {
  font-size: calc(var(--fs-base) * 4);
  padding: 0.25em;
  background-color: var(--color-3);
  border-radius: 0.25em;
}


/* -------------------- Seite 3 -------------------- */
.type-3 {
  --br: 0.5rem;
}

/* ---------- Layout ---------- */
.type-3 .overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-3);
  opacity: 0.75;
}

.type-3 .overlay2 {
  position: absolute;
  inset: 0;
  background-color: black;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

@media (min-width: 1024px) {
  .type-3 .grid {
    grid-template-columns: 1fr 460px;
    gap: 4rem;
  }
}

@media (min-width: 1280px) {
  .type-3 .grid {
    gap: 5rem;
  }
}

@media (min-width: 1536px) {
  .type-3 .grid {
    gap: 6rem;
  }
}

/* ---------- Text Section ---------- */
.type-3 .text-container {
  --fs-base: 10px;
  position: relative;
  display: grid;
  gap: var(--inner-gap);
  margin-top: 25px;
  text-align: center;
}

@media (min-width: 768px) {
  .type-3 .text-container {
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  .type-3 .text-container {
    --fs-base: 12px;
  }
}

@media (min-width: 1280px) {
  .type-3 .text-container {
    --fs-base: 16px;
  }
}

@media (min-width: 1536px) {
  .type-3 .text-container {
    --fs-base: 20px;
  }
}

.type-3 .heart {
  position: absolute;
  top: -40px;
  left: 0;
  width: 60px;
}

@media (min-width: 1024px) {
  .type-3 .heart {
    top: -50px;
    left: -20px;
    width: 80px;
  }
}

@media (min-width: 1024px) {
  .type-3 .heart {
    top: -50px;
    left: 20px;
    width: 100px;
  }
}

@media (min-width: 1536px) {
  .type-3 .heart {
    top: -60px;
    left: 30px;
    width: 120px;
  }
}

.type-3 .headline {
  padding: 0.5em 0.25em;
  font-size: calc(var(--fs-base) * 2);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-5);
  background-color: var(--color-14);
  border-radius: var(--br);
}

.type-3 .text-bg {
  padding: var(--inner-padding);
  color: var(--color-6);
  background-color: var(--color-15);
  border-radius: var(--br);
}

.type-3 .subline {
  position: relative;
  isolation: isolate;
  padding: var(--inner-padding);
  font-size: calc(var(--fs-base) * 1.8);
}

.type-3 .subline>h3 {
  font-size: calc(var(--fs-base) * 2);
  font-weight: 700;
}

.type-3 .text {
  font-size: calc(var(--fs-base) * 1.6);
  font-weight: 700;
}

.type-3 .bulletlist {
  margin-top: var(--inner-gap);
  text-align: left;
  display: grid;
  gap: 0.75em;
  font-size: calc(var(--fs-base) * 1.6);
  font-weight: 700;
  color: var(--color-5);
}

.type-3 .bulletlist>li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1280px) {
  .type-3 .bulletlist>li {
    gap: 1rem;
  }

}

.type-3 .bulletlist svg {
  width: calc(var(--fs-base) * 2);
  height: calc(var(--fs-base) * 2);
  color: var(--color-13);
}



/* ---------- Homepage---------- */
.header {
  position: absolute;
  top: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--header-height);
  padding-block: 0.5rem;
  background-color: var(--color-9);
}

.header .logo {
  max-width: 200px;
  max-height: 40px;
}

.homepage .container {
  display: flex;
  margin-top: var(--header-height);
}

.homepage .overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-2);
  opacity: var(--overlay-opacity, 0.7);
}

.homepage .content {
  flex: 1;
  display: grid;
  gap: calc(var(--inner-gap) * 2);
  align-content: center;
  justify-items: center;
  max-width: 1700px;
  margin-inline: auto;
  margin-block: 2rem;
}

.homepage .content h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .homepage .content h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .homepage .content h1 {
    font-size: 3rem;
  }
}

.campaings-grid {
  --gap: 1rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: 100%;
}

.campaings-grid .card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform var(--transition);
}

.campaings-grid .card:hover {
  transform: scale(1.03);
}

.campaings-grid .card img {
  min-width: 100%;
}

@media (min-width: 640px) {
  .campaings-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .campaings-grid .card {
    flex: 0 0 calc(50% - var(--gap) / 2);
  }
}

@media (min-width: 1024px) {
  .campaings-grid .card {
    flex: 0 0 calc(33.3333% - var(--gap) * (2/3));
  }
}

.homepage .content .btn svg {
  width: 18px;
  height: 18px;
  margin-left: -0.5rem;
}