/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@600;700&family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #0f0f0f;
  --bg-light: #595d52;
  --text: #e8e4d8;
  --text-light: #f1f5f9;
  --yellow: #d4a017;
  --green: #8ba7a2;
  --accent: #e5e042;
  --font-head: 'Grenze Gotisch', serif;
  --font-body: 'Inter', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

html {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

html.menu-lock,
html.menu-lock body { overflow: hidden; }

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

body {
  margin: 0;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  background: radial-gradient(ellipse closest-side at 50% 50%, var(--bg-light) 0%, var(--bg) 100%);
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }
button { font: inherit; color: inherit; cursor: pointer; }

main { display: block; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 3.6rem 8rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background: var(--bg);
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.4);
}
html.menu-lock .header {
  background: transparent;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--yellow);
}

.nav-link { color: var(--text); white-space: nowrap; }
.nav-link:hover { color: var(--yellow); }

.burger-btn {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 0 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}
.burger-btn span {
  position: absolute;
  left: 0.6rem;
  width: 3.6rem;
  height: 0.2rem;
  background: var(--green);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.burger-btn span:nth-child(1) { top: 1.2rem; }
.burger-btn span:nth-child(2) { top: 2.3rem; }
.burger-btn span:nth-child(3) { top: 3.4rem; }
.burger-btn:hover span { background: var(--yellow); }
.burger-btn.act span {
  height: 0.3rem;
  background: var(--yellow);
}
.burger-btn.act span:nth-child(1) { top: 2.3rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 2.3rem; transform: rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.6rem;
  background: radial-gradient(ellipse closest-side at 50% 50%, var(--bg-light) 0%, var(--bg) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 1.2;
  color: var(--yellow);
  text-align: center;
}

.item-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--green);
}

@media (max-width: 1024px) {
  .header { padding: 3.6rem 4rem 0; }
  .section-title { font-size: 4.8rem; }
}

@media (max-width: 640px) {
  .header { padding: 4.2rem 4.2rem 0.6rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
  .section-title { font-size: 3.2rem; }
}
/* /stp:base */
/* stp:home */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11.4rem;
  padding: 20.1rem 8rem 4.6rem;
  background: url(../img/hero.webp) center / cover no-repeat;
}
.hero-title {
  align-self: flex-start;
  width: 63rem;
}
.hero-title img { width: 100%; height: auto; }
.hero-text {
  width: 63rem;
  font-weight: 600;
  font-size: clamp(14px, 1.6rem, 1.6rem);
}

@media (max-width: 1024px) {
  .hero {
    gap: 6rem;
    padding: 14rem 4rem 4rem;
  }
  .hero-title { width: 50rem; }
  .hero-text { width: 50rem; }
}

@media (max-width: 640px) {
  .hero {
    display: block;
    min-height: 80rem;
    padding: 11.2rem 2rem 0;
    background-image: url(../img/hero-m.webp);
  }
  .hero-title { width: 33.5rem; }
  .hero-text { display: none; }
}
/* /stp:home */
/* stp:features */
.features {
  position: relative;
  isolation: isolate;
  margin-top: 15rem;
  padding: 0 16.8rem;
}
.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1344 / 201;
  background: url(../img/wave.webp) center / 100% 100% no-repeat;
  pointer-events: none;
}
.features-inner {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.features-content {
  display: flex;
  align-items: center;
  gap: 12.8rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  flex: 0 0 54.2rem;
  width: 54.2rem;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-left: 0.8rem;
  border-left: 0.3rem solid var(--yellow);
}
.features-img {
  flex: 0 0 auto;
  width: 28.6rem;
  height: auto;
}

@media (max-width: 1024px) {
  .features { padding: 0 4rem; }
  .features-content { gap: 4rem; }
  .features-list { flex: 1 1 0; width: auto; min-width: 0; }
  .features-img { width: 24rem; }
}

@media (max-width: 640px) {
  .features {
    margin-top: 8rem;
    padding: 0 2rem;
  }
  .features::before { top: 6.7rem; }
  .features-inner { gap: 2.4rem; }
  .features-content {
    flex-direction: column;
    gap: 1.2rem;
  }
  .features-list {
    flex: 0 0 auto;
    width: 100%;
    gap: 2.2rem;
  }
  .features-img {
    order: -1;
    width: 18.5rem;
  }
}
/* /stp:features */
/* stp:how-it-works */
.how {
  margin-top: 15rem;
  padding: 0 8.1rem 0 8rem;
}
.how-inner {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.steps {
  display: flex;
  gap: 2rem;
}
.step {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.6rem;
  border-top: 2px solid var(--yellow);
  border-right: 2px solid var(--yellow);
}
.step-box {
  padding: 0.6rem;
  border: 1px solid var(--yellow);
}
.step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  border-bottom: 2px solid var(--yellow);
  border-left: 2px solid var(--yellow);
}
.step-body img {
  width: 100%;
  height: auto;
  aspect-ratio: 1344 / 768;
}
.step-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 34.4rem;
  max-width: 100%;
  text-align: center;
}
.step-text p {
  min-height: 7.2rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
}

@media (max-width: 1024px) {
  .how { padding: 0 4rem; }
  .steps {
    flex-wrap: wrap;
    justify-content: center;
  }
  .step { flex: 0 0 calc(50% - 1rem); }
  .step-text p { min-height: 0; }
}

@media (max-width: 640px) {
  .how {
    margin-top: 8rem;
    padding: 0 2rem;
  }
  .how-inner { gap: 2.4rem; }
  .steps { flex-direction: column; flex-wrap: nowrap; }
  .step { flex: 0 0 auto; }
}
/* /stp:how-it-works */
/* stp:reviews */
.reviews {
  margin-top: 15rem;
  padding: 5.6rem 8.1rem 5.7rem 8rem;
  background: url(../img/reviews-bg.webp) center / cover no-repeat;
}
.reviews-inner {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  min-height: 25.6rem;
  padding: 2.2rem 3.6rem;
  border: 1px solid var(--accent);
}
.rating {
  display: flex;
  gap: 0.5rem;
}
.rating img {
  width: 1.6rem;
  height: 1.6rem;
}
.review-text {
  height: 8.9rem;
  color: var(--text-light);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-top: 0.2rem;
}
.review-avatar {
  flex: 0 0 auto;
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  object-fit: cover;
}
.review-name {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .reviews { padding: 5.6rem 4rem; }
  .review-list { grid-template-columns: repeat(2, 1fr); }
  .review-text {
    height: auto;
    min-height: 9.6rem;
  }
}

@media (max-width: 640px) {
  .reviews {
    margin-top: 8rem;
    padding: 0;
    background: none;
  }
  .reviews-inner { gap: 2.4rem; }
  .review-list {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2rem;
    scrollbar-width: none;
  }
  .review-list::-webkit-scrollbar { display: none; }
  .review {
    flex: 0 0 33.5rem;
    min-height: 28rem;
    scroll-snap-align: start;
  }
  .review:nth-child(1) { order: 1; }
  .review:nth-child(2) { order: 4; }
  .review:nth-child(3) { order: 2; }
  .review:nth-child(4) { order: 5; }
  .review:nth-child(5) { order: 3; }
  .review:nth-child(6) { order: 6; }
  .review-text { min-height: 0; }
}
/* /stp:reviews */
/* stp:faq */
.faq {
  margin-top: 15rem;
  padding: 0 8rem 0 16.8rem;
}
.faq-inner {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.faq-content {
  display: flex;
  align-items: flex-start;
  gap: 12.8rem;
}
.faq-img {
  flex: 0 0 auto;
  width: 43.3rem;
  height: auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  flex: 1 1 0;
  min-width: 0;
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 1.6rem 1.4rem;
  border-bottom: 2px solid var(--yellow);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.faq-question {
  font-weight: 700;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  color: var(--green);
}
.faq-arrow {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  transition: transform 0.3s ease-in-out;
}
.faq-item.closed .faq-arrow { transform: rotate(-90deg); }
.faq-a { padding: 0 1.4rem; }
.faq-a p { width: 60rem; }

@media (max-width: 1024px) {
  .faq { padding: 0 4rem; }
  .faq-content { gap: 3rem; }
  .faq-img { width: 28rem; }
  .faq-a p { width: auto; }
}

@media (max-width: 640px) {
  .faq {
    margin-top: 8rem;
    padding: 0;
  }
  .faq-inner { gap: 2.4rem; }
  .faq-content {
    flex-direction: column;
    align-items: stretch;
    gap: 2.2rem;
  }
  .faq-img { width: 100%; }
  .faq-list {
    flex: 0 0 auto;
    gap: 1.8rem;
    padding: 0 2rem;
  }
  .faq-item { padding-bottom: 0.4rem; }
  .faq-q { gap: 0; }
  .faq-arrow { margin-left: -0.9rem; }
  .faq-a { padding: 0; }
  .faq-a p {
    width: 31rem;
    margin-left: -0.2rem;
  }
}
/* /stp:faq */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 15rem;
  padding: 4.6rem 18rem;
  background: var(--green);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-link,
.footer-copy {
  background: radial-gradient(ellipse closest-side at 50% 50%, #595d52 0%, #474a41 25%, #343631 50%, #222320 75%, #0f0f0f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.footer-link {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
}
.footer-link:hover {
  background: radial-gradient(ellipse closest-side at 50% 50%, #d4a017 0%, #a67c12 35%, #6b5000 70%, #2b2000 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.footer-copy {
  height: 1.4rem;
  padding: 0 17.4rem 0 12.8rem;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  text-align: center;
}

@media (max-width: 1024px) {
  .footer { padding: 4.6rem 4rem; }
  .footer-copy { padding: 0; }
}

@media (max-width: 640px) {
  .footer {
    justify-content: center;
    gap: 3.6rem;
    min-height: 21rem;
    margin-top: 8rem;
    padding: 3.2rem 2rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-copy {
    height: auto;
    text-align: left;
  }
}
/* /stp:footer */
/* stp:legal */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-main { flex: 1 0 auto; padding-top: 11.1rem; }
.legal-body .header { padding: 3.2rem 18rem 0; }
.legal-body .footer { margin-top: 0; }

.legal-page { padding: 0 18rem 10rem; }
.legal-content h1 {
  margin-bottom: 2.8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 1.2;
  color: var(--yellow);
  text-align: center;
}
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content strong { font-weight: 700; }
.legal-content h2,
.legal-content h3,
.legal-content h4 { font-size: inherit; }
.legal-content ul,
.legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content a {
  color: var(--green);
  text-decoration: underline;
}
.legal-content a:hover { color: var(--yellow); }

@media (max-width: 1024px) {
  .legal-body .header { padding: 3.2rem 4rem 0; }
  .legal-page { padding: 0 4rem 8rem; }
  .legal-content h1 { font-size: 4.8rem; }
}

@media (max-width: 640px) {
  .legal-body .header { padding: 4.2rem 4.2rem 0.6rem; }
  .legal-body .burger-btn span { background: var(--yellow); }
  .legal-main { padding-top: 11.6rem; }
  .legal-page { padding: 0 2rem 8rem; }
  .legal-content h1 {
    margin-bottom: 2.4rem;
    font-size: 3.2rem;
  }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title { position: relative; }
.anim-on .hero-title::before,
.anim-on .hero-title::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.anim-on .hero-title::before {
  background: url(../img/title.webp) center / 100% 100% no-repeat;
  filter: brightness(0.3) grayscale(0.6) blur(0.1rem);
  animation: ta-ghost 2.8s ease-in-out 0.9s both;
}
.anim-on .hero-title::after {
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(232, 228, 216, 0.3) 0, rgba(212, 160, 23, 0.14) 4%, rgba(212, 160, 23, 0) 9%) no-repeat;
  background-size: 300% 300%;
  mix-blend-mode: screen;
  animation: ta-torch-glow 2.8s linear 0.9s both;
}
.anim-on .hero-title img {
  position: relative;
  animation: ta-torch 2.8s linear 0.9s both, ta-sputter 8s ease-in-out 5s infinite;
}

@keyframes ta-torch {
  0% { clip-path: circle(10% at -12% 26%); filter: brightness(1.35) sepia(0.25); animation-timing-function: cubic-bezier(0.4, 0, 0.3, 1); }
  18% { clip-path: circle(10% at 20% 28%); animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1); }
  38% { clip-path: circle(11% at 72% 22%); animation-timing-function: ease-out; }
  50% { clip-path: circle(11% at 64% 30%); animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1); }
  66% { clip-path: circle(11% at 24% 64%); animation-timing-function: ease-out; }
  78% { clip-path: circle(12% at 37% 70%); filter: brightness(1.35) sepia(0.25); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  100% { clip-path: circle(150% at 37% 70%); filter: brightness(1) sepia(0); }
}
@keyframes ta-torch-glow {
  0% { opacity: 0; background-position: 81% 62%; animation-timing-function: cubic-bezier(0.4, 0, 0.3, 1); }
  10% { opacity: 1; }
  18% { background-position: 65% 61%; animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1); }
  38% { background-position: 39% 64%; animation-timing-function: ease-out; }
  50% { background-position: 43% 60%; animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1); }
  66% { background-position: 63% 43%; animation-timing-function: ease-out; }
  78% { opacity: 1; background-position: 56.5% 40%; }
  100% { opacity: 0; background-position: 56.5% 40%; }
}
@keyframes ta-ghost {
  0% { opacity: 0; }
  12%, 78% { opacity: 0.35; }
  100% { opacity: 0; }
}
@keyframes ta-sputter {
  0%, 88%, 100% { filter: brightness(1); }
  89.5% { filter: brightness(0.55); }
  91% { filter: brightness(1); }
  92.5% { filter: brightness(0.7); }
  94.5% { filter: brightness(1); }
}

.ta-row {
  position: relative;
  display: inline-block;
}
.ta-word {
  display: inline-block;
  white-space: nowrap;
}
.ta-ch { display: inline-block; }
.ta-beam {
  position: absolute;
  inset: -40% -30%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 22% 50% at 50% 50%, rgba(232, 228, 216, 0.22) 0, rgba(212, 160, 23, 0.12) 40%, rgba(212, 160, 23, 0) 100%);
  mix-blend-mode: screen;
}
.anim-on .section-title { overflow-x: clip; }
.anim-on .section-title .ta-ch {
  opacity: 0.06;
  color: var(--bg-light);
  filter: blur(0.2rem);
}
.anim-on .section-title.is-in .ta-ch {
  opacity: 1;
  color: var(--yellow);
  filter: none;
  animation: ta-surface 1s cubic-bezier(0.25, 0.6, 0.3, 1) calc(var(--i) / var(--n) * 0.86s) both;
}
.anim-on .section-title.is-in .ta-beam { animation: ta-pass 1.2s linear 0.25s both; }

@keyframes ta-surface {
  0% { opacity: 0.06; color: var(--bg-light); filter: blur(0.2rem) brightness(0.7) drop-shadow(0 0 0 rgba(212, 160, 23, 0)); transform: scale(0.96); }
  45% { opacity: 1; color: var(--text); filter: blur(0) brightness(1.25) drop-shadow(0 0 0.8rem rgba(212, 160, 23, 0.85)); transform: scale(1.03); }
  100% { opacity: 1; color: var(--yellow); filter: none; transform: none; }
}
@keyframes ta-pass {
  0% { opacity: 0; transform: translateX(-44%); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(44%); }
}

@media (max-width: 640px) {
  .anim-on .hero-title::before { animation-duration: 2.2s; }
  .anim-on .hero-title::after { animation-duration: 2.2s; }
  .anim-on .hero-title img { animation: ta-torch 2.2s linear 0.9s both, ta-sputter 8s ease-in-out 4.5s infinite; }
  .anim-on .section-title .ta-ch { filter: blur(0.15rem); }
  .anim-on .section-title.is-in .ta-ch { animation-duration: 0.8s; animation-delay: calc(var(--i) / var(--n) * 0.72s); }
  .anim-on .section-title.is-in .ta-beam { animation-duration: 1s; animation-delay: 0.2s; }
}
/* /stp:title-anim */
