/* ========================================
   CSS Reset & Variables
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 40px;
  --font-size-4xl: 48px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 50px;

  --container-max: 1200px;
  --section-padding: 80px 0;
  --header-height: 110px;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: #333333;
  background: #F4F0DC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   Utilities
   ======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-pill);
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background:#CCFEB6; 
  color: #1C3312;
  padding: 12px 28px;
}

.btn--primary:hover {
  background: #a8cc4e;
}

.btn--large {
  padding: 16px 36px;
  font-size: var(--font-size-base);
}

.btn--outline {
  color: #F4F0DC;
  padding: 11.5px 22px;
  background: #1C3312;
}

.btn--outline:hover {
  background: #1A1A1A;
  color: #F4F0DC;
}

/* ========================================
   Header
   ======================================== */

.header {
  background: #ffffff;
  padding-bottom: 22px;
}

.header__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 34px;
  gap: 21px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  padding: 20px 0;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  color: #333333;
  transition: color 0.2s;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: #1A1A1A;
}


/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
}

/* Dark overlay on hero image */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1.3;
  color: #F4F0DC;
  margin-bottom: 24px;
}

.hero__subline {
  font-size: 16px;
  line-height: 1.6;
  color: #F4F0DC;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero__benefits {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #F4F0DC;
}

.hero__check {
  flex-shrink: 0;
}

/* ========================================
   Partners
   ======================================== */

.partners {
  background: #F4F0DC;
  padding-top: 112px;
  padding-bottom: 112px;
}

.partners__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.partners__title {
  font-size: 25px;
  font-weight: 500;
  color: #1C3312;
}

.partners__subtitle {
  font-size: 16px;
  color: #5A5C5A;
  margin-top: 12px;
}

.partners__logos {
  overflow: hidden;
  width: 100%;
}

.partners__logos-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
}

.partners__logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 80px;
  padding: 16px 24px;
  background: #FBF9EE;
  border-radius: 20px;
}

.partners__logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========================================
   How It Works
   ======================================== */

.how-it-works {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.how-it-works__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.how-it-works__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.how-it-works__content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
}

.how-it-works__title {
  font-size: 45px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  color: #F4F0DC;
  margin-bottom: 16px;
}

.how-it-works__text {
  font-size: var(--font-size-lg);
  color: #F4F0DC;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ========================================
   Steps
   ======================================== */

.steps {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #F6F2D3 0%, #CDFCB9 100%);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 40px 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps__grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1C3312;
  transform: translateX(-50%);
}

.steps__item--left {
  grid-column: 1;
  text-align: right;
  justify-self: end;
  padding-right: 40px;
}

.steps__item--right {
  grid-column: 2;
  text-align: left;
  justify-self: start;
  padding-left: 40px;
  margin-top: 0;
}

.steps__number {
  font-size: 60px;
  font-family: 'Anton';
  line-height: 60px;
  color: #1C3312;
  margin-bottom: 25px;
}

.steps__desc {
  font-family: 'Archivo', sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0px;
  color: #1C3312;
}

.steps__item--left .steps__desc {
  margin-left: auto;
}

.steps__cta {
  text-align: center;
  margin-top: 40px;
}

.steps .btn--primary {
  background: #1C3312;
  color: #CCFEB6;
  font-size: 16px;
  font-weight: 500;
}

.steps .btn--primary:hover {
  background: #333;
}

/* ========================================
   Reviews
   ======================================== */

.reviews {
  padding: var(--section-padding);
  background: #FFFFFF;
}

.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.reviews__title {
  font-family: 'Archivo', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 35px;
  letter-spacing: 0px;
  color: #1A1A1A;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews__rating-text {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0px;
  color: #5A5C5A;
}

.reviews__trustpilot {
  display: flex;
  gap: 2px;
}

.reviews__carousel {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.reviews__card {
  scroll-snap-align: center;
}

.reviews__carousel::-webkit-scrollbar {
  display: none;
}

.reviews__track {
  display: inline-flex;
  gap: 24px;
}

.reviews__card:first-child {
  margin-left: 32px;
}

.reviews__card:last-child {
  margin-right: 32px;
}

.reviews__card {
  flex: 0 0 413px;
  width: 413px;
  min-width: 413px;
  min-height: 372px;
  background: #CCFEB6;
  border-radius: var(--radius-md);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
}

.reviews__stars {
  color: #000000;
  font-size: 16px;
  letter-spacing: 2px;
}

.reviews__card-title {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1C3312;
  margin-bottom: 24px;
}

.reviews__card-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #1C3312;
  line-height: 20px;
  flex: 1;
  margin-bottom: 16px;
}

.reviews__card-author {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #1A1A1A;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews__arrow {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.reviews__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.reviews__dot.active {
  width: 12px;
  height: 12px;
  background: #1A1A1A;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
  padding: 39px 0 80px;
  background: #FFFFFF;
}

.faq__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 40px;
}

.faq__item {
  border-bottom: 1px solid #E0E0E0;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: 0px;
  color: #1A1A1A;
}

.faq__question:hover {
  color: inherit;
}

.faq__icon {
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq__item.open .faq__icon circle {
  fill: #80E655;
  stroke: #80E655;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq__answer p {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0px;
  color: #5A5C5A;
}

/* ========================================
   Newsletter
   ======================================== */

.newsletter {
  position: relative;
  height: 545px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
}

.newsletter__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #2a2a2a;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}

.newsletter__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.newsletter__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.newsletter .btn--primary {
  background: #CCFEB6;
  color: #1C3312;
}

.newsletter__title {
  font-family: 'Archivo', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #CCFEB6;
  margin-bottom: 24px;
  line-height: 1.4;
  padding-bottom: 24px;
  display: inline-block;
  border-bottom: 5px solid #CCFEB6;
}

/* ========================================
   Indikationen
   ======================================== */

.indications {
  padding: 64px 0;
  background: #F4F0DC;
}

.indications__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #1C3312;
  margin-bottom: 12px;
  text-align: center;
}

.indications__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #1C3312;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.indications__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.indications__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  background: #fff;
  border: 1.5px solid #1C3312;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  min-width: 180px;
}

.indications__tile:hover {
  background: #1C3312;
}

.indications__tile:hover .indications__tile-name {
  color: #CCFEB6;
}

.indications__tile-name {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1C3312;
  text-align: center;
}

/* ========================================
   Disclaimer
   ======================================== */

.disclaimer {
  background: #1C3312;
  padding: 24px 0;
}

.disclaimer__text {
  font-size: 13px;
  line-height: 1.7;
  color: #CCFEB6;
  opacity: 0.85;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: #CCFEB6;
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #1C3312;
}


.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .btn--primary {
  background: #1C3312;
  color: #CCFEB6;
  justify-self: end;
}

.footer__legal {
  text-align: center;
  padding-top: 24px;
}

.footer__legal-title {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1C3312;
  margin-bottom: 12px;
}

.footer__legal-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__legal-links a {
  font-size: var(--font-size-sm);
  color: #1C3312;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer__legal-links a:hover {
  color: #1A1A1A;
}

/* ========================================
   Responsive – Tablet (768px)
   ======================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .header__nav {
    max-width: 100vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
    scrollbar-width: none;
  }

  .header__nav::-webkit-scrollbar {
    display: none;
  }

  .header__nav-list {
    width: max-content;
  }

  .hero {
    min-height: 500px;
    align-items: flex-end;
  }

  .hero__title {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .hero__benefits {
    margin-bottom: 24px;
  }

  .partners {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .partners__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .how-it-works__title {
    font-size: 35px;
  }

  .steps__number {
    font-size: 45px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
  }

  .steps__grid::before {
    display: none;
  }

  .steps__item--left,
  .steps__item--right {
    grid-column: 1;
    text-align: left;
    justify-self: start;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }

  .steps__item--left .steps__desc {
    margin-left: 0;
  }

  .steps__desc {
    font-size: 18px;
  }

  .reviews__card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
  }

  .reviews__nav {
    display: none;
  }

  .newsletter {
    height: 400px;
  }

  .newsletter__title {
    font-size: 20px;
  }

  .newsletter__content {
    padding: 40px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer__logo {
    order: -1;
  }

  .footer .btn--primary {
    justify-self: center;
  }
}

/* ========================================
   Responsive – Mobile (480px)
   ======================================== */

@media (max-width: 480px) {
  :root {
    --section-padding: 48px 0;
  }

  .hero {
    min-height: 500px;
  }

  .hero__content {
    padding: 60px 24px;
  }

  .hero__title {
    font-size: 23px;
    line-height: 1.3;
  }

  .hero__benefits li {
    font-size: 14px;
  }

  .partners__title {
    font-size: 22px;
  }

  .partners__subtitle {
    font-size: 14px;
  }

  .how-it-works__title {
    font-size: 35px;
  }

  .steps__number {
    font-size: 45px;
    line-height: 1;
    margin-bottom: 16px;
  }

  .reviews__card {
    flex: 0 0 calc(100vw - 64px);
    width: calc(100vw - 64px);
    min-width: calc(100vw - 64px);
  }

  .reviews__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq__title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-bottom: 16px;
  }

  .faq__question {
    font-size: 16px;
    line-height: 20px;
  }
}
