:root {
  --text-muted: #525252;
  --text-dark: #c7c7c7;
  --font-main: "Inter", sans-serif;
  --section-spacing: 3rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-family: var(--font-main);
  line-height: 1.6;
}

.container {
  /*Container Navbar z.B.*/
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-spacing) 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

a {
  /*All Links*/
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(1px);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 1rem;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  color: var(--text-dark);
}

nav a:hover {
  color: white;
}

/* Hero */
#hero {
  padding-top: 6rem;
  min-height: 100vh;
  display: flex;
  background: linear-gradient(180deg, #000000 46%, #666666 100%);
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* 'left' ist kein valides Flex-Attribut, besser flex-start */
  text-align: left;
}

.hero-text h1 {
  font-size: 3.815rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
}

.typewriter {
  color: #2ecd70;
}

.hero-text p {
  color: var(--text-dark);
  font-size: 1.1rem;
  width: 0;
  min-width: 100%;
  margin-bottom: 2rem;
}

.store {
  height: 60px;
  margin-right: 1rem;
}

.hero-image {
  flex: 0 1 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 70%;
  height: auto;
  display: block;
}

/* Features */
.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 4rem;
}

.feature-block:last-child {
  margin-bottom: 0rem;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-text h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: normal;
}

.feature-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-primary {
  background-image: linear-gradient(180deg, #000000 46%, #666666 100%);
  color: #fff;
  width: fit-content;
  padding: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: medium;
  text-align: center;
}

/* How It Works */
#hiw-steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

.step-single {
  background-color: #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
  padding-bottom: 0;
  border-radius: 20px;
  flex: 1 1 0;
}

.step-single h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.step-single img {
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 12px;
  display: block;
}

/* Pricing */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.pricing-card {
  background-color: #fff;
  color: #000;
  border-radius: 20px;
  border: 1px solid;
  border-color: #e6e6e6;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  width: 350px;
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
  gap: 0.2rem;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 800;
}

.price .period {
  color: var(--text-muted);
  font-size: 1rem;
}

.features-list {
  flex: 1;
  margin-bottom: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
}

.features-list .check {
  display: flex;
  align-items: center;
}

.btn-pricing {
  background-image: linear-gradient(180deg, #000000 46%, #666666 100%);
  color: #fff;
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: medium;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  width: 100%;
  max-width: 924px;
  margin: 0 auto;
}

.faq-question {
  font: var(--font-main);
  width: 100%;
  padding: 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid;
  border-color: #f5f5f5;
}

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .icon {
  transform: rotate(180deg);
}

.faq-item {
  border-radius: 20px;
  overflow: hidden;
}

.faq-item.open {
  background-color: #f5f5f5;
}

.faq-item.open .faq-answer {
  display: block;
  padding: 0 1.2rem 1rem;
}

.icon {
  transition: transform 0.3s;
}

/* Footer */
footer {
  padding: 4rem 0;
  margin-top: 4rem;
  background: linear-gradient(0deg, #000000 46%, #666666 100%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.store-footer {
  height: 50px;
  margin-right: 1rem;
}

.copyright {
  color: var(--text-dark);
  font-size: 0.8rem;
  text-align: left;
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-col h3 {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: white;
}

.link-col ul li {
  margin-bottom: 0.5rem;
}

.link-col a {
  color: var(--text-dark);
  font-size: 0.85rem;
}

.link-col a:hover {
  color: #ffffff;
}

#clearcookie-settings {
  cursor: pointer;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: color 0.3s;
}

#clearcookie-settings:hover {
  color: #ffffff;
}

/*Cookie Banner*/
#clearcookie {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  padding-top: 30px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(1px);
  overflow-y: scroll;
}

.clearcookie-hide {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  right: auto !important;
  bottom: auto !important;
}

#clearcookie .clearcookie-inner {
  background-color: white;
  max-width: 700px;
  padding: 30px;
  border-radius: 10px;
}

.privacy-policy {
  text-decoration: underline;
}

#clearcookie .clearcookie-header {
  padding-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
}

#clearcookie .clearcookie-body-settings {
  display: block;
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
}

#clearcookie .clearcookie-setting-single {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

#clearcookie .clearcookie-setting-single:last-child {
  margin-bottom: 0px;
}

#clearcookie .clearcookie-setting-toggle {
  flex-shrink: 0;
}

#clearcookie .clearcookie-setting-info {
  font-weight: 600;
  font-size: 1rem;
}

#clearcookie .clearcookie-setting-info p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #525252;
  line-height: 1.5;
}

#clearcookie .clearcookie-body-settings--required {
  cursor: default;
}

#clearcookie .clearcookie-body-setting-input-toggle {
  background-color: #c7c7c7;
  width: 45px;
  height: 25px;
  border-radius: 15px;
  position: relative;
}

#clearcookie
  .clearcookie-body-settings--required
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle {
  background-color: #525252;
}

#clearcookie
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle {
  background-color: #2ecd70;
}

#clearcookie
  input[type="checkbox"]:checked
  + .clearcookie-body-setting-input-toggle:after {
  transform: translateX(20px);
}

#clearcookie input[type="checkbox"] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

#clearcookie .clearcookie-body-setting-input-toggle:after {
  content: "";
  position: absolute;
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 13px;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: all 0.2s ease;
}

#clearcookie .clearcookie-body-setting-name {
  font-weight: 500;
  font-size: 1rem;
}

#clearcookie .clearcookie-footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

#clearcookie .clearcookie-button--accept,
#clearcookie .clearcookie-button--save,
#clearcookie .clearcookie-button--reject {
  display: block;
  margin: 10px 0px 0 0;
  background-color: black;
  border: none;
  color: white;
  width: fit-content;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: medium;
  text-align: center;
}

.clearcookie-footer {
  gap: 10px;
}

.clearcookie-button {
  display: block;
  margin: 10px 0px 0 0;
  background-color: white;
  border: 1px solid #c7c7c7;
  width: fit-content;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  font-family: "inter", sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  z-index: 1002;
  margin-right: 1rem;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Responsive */
/* Cookie Banner Responsive */
@media (max-width: 600px) {
  #clearcookie {
    padding-bottom: 50px;
    align-items: start;
  }

  #clearcookie .clearcookie-inner {
    padding: 15px;
  }
}

@media (max-width: 520px) {
  #clearcookie .clearcookie-button--accept {
    width: 100%;
  }

  #clearcookie .clearcookie-button--save {
    width: 100%;
  }

  #clearcookie .clearcookie-button {
    width: 100%;
  }

  .clearcookie-footer {
    gap: 0px;
  }

  #clearcookie .clearcookie-body-settings {
    padding: 15px;
  }
}

/*Page*/
@media (max-width: 1024px) {
  .feature-image img {
    max-width: 400px;
  }

  .hero-content {
    gap: 0rem;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin-bottom: 1.5rem;
  }

  #hero {
    min-height: fit-content;
  }

  .store {
    height: 50px;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  #hero {
    padding-top: 6rem;
    min-height: fit-content;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-image {
    width: 60%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 250px;
    height: auto;
  }

  .hero-text h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-text p {
    margin-bottom: 1.25rem;
  }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }

  .feature-image {
    width: 70%;
    overflow: visible;
    align-self: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-text {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .feature-image img {
    transition: transform 0.3s ease;
    transform: none;
    display: block;
    width: 100%;
  }

  .app-stores {
    order: -1;
    padding-bottom: 0.5rem;
  }

  .feature-block.reverse .feature-image img {
    transform: none;
  }

  #hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .step-single {
    width: 100%;
    max-width: 350px;
  }

  .step-single h3 {
    font-size: 1.5rem;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .pricing-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .price .amount {
    font-size: 1.75rem;
    font-weight: 700;
  }

  .features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 425px) {
  #hero {
    padding-top: 5rem;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-image {
    width: 65%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .feature-image {
    width: 100%;
    overflow: visible;
    align-self: flex-start;
    padding-left: 0px;
    padding-right: 0px;
  }

  .feature-text {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 375px) {
  #hero {
    padding-top: 5rem;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-image {
    width: 60%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  .hero-text h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .pricing-card {
    width: 100%;
    padding: 1.5rem;
  }
}

/*Animationen*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-image {
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.pricing-card,
.step-single {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-card:hover,
.step-single:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/*Cookie Banner*/
@keyframes clearcookie-fade-overlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes clearcookie-fade-inner {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#clearcookie:not(.clearcookie-hide) {
  animation: clearcookie-fade-overlay 300ms ease-out forwards;
}

#clearcookie:not(.clearcookie-hide) .clearcookie-inner {
  animation: clearcookie-fade-inner 360ms cubic-bezier(0.2, 1, 0.2, 1) forwards;
  transform-origin: center top;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  #clearcookie:not(.clearcookie-hide),
  #clearcookie:not(.clearcookie-hide) .clearcookie-inner {
    animation: none !important;
  }
}
