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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #efe4d9;
  color: #2f2c29;
  font-family: Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 120vh;
  overflow: visible;
  background: #efe4d9;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("porsche.jpg");
  background-size: cover;
  background-position: 50% 38%;
  background-repeat: no-repeat;
  z-index: 0;
  filter: contrast(1.02) brightness(1.01);
}

.hero-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40vh;
  background: linear-gradient(
    to bottom,
    rgba(239, 228, 217, 1) 0%,
    rgba(239, 228, 217, 0.9) 35%,
    rgba(239, 228, 217, 0.35) 70%,
    rgba(239, 228, 217, 0) 100%
  );
  z-index: 1;
}

.hero-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34vh;
  background: linear-gradient(
    to top,
    rgba(239, 228, 217, 1) 0%,
    rgba(239, 228, 217, 0.92) 32%,
    rgba(239, 228, 217, 0.55) 58%,
    rgba(239, 228, 217, 0.12) 82%,
    rgba(239, 228, 217, 0) 100%
  );
  z-index: 1;
}

.hero-top {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  text-align: center;
  z-index: 3;
}

.logo {
  text-align: center;
  color: #000;
}

.logo-top {
  font-size: 20px;
  letter-spacing: 6px;
  line-height: 1.05;
}

.logo-main {
  font-size: 66px;
  letter-spacing: 3px;
  line-height: 0.95;
  margin-top: -4px;
}

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: -95px;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 40px));
  text-align: center;
  z-index: 3;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  min-width: 220px;
  padding: 16px 34px;
  border: 1px solid rgba(47, 44, 41, 0.45);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
  color: #2f2c29;
  text-decoration: none;
  font-size: 17px;
  text-align: center;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #2f2c29;
  color: #fff;
  border-color: #2f2c29;
}

.hero-headline {
  margin-top: 0;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: #4e4a46;
  text-align: center;
}

.legal {
  margin-top: 38px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.78;
}

.legal p {
  margin: 0;
}

.legal p:not(:last-child) {
  margin-bottom: 4px;
}

.legal .copyright {
  margin-top: 22px;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
  }

  .hero-image {
    background-position: 46% center;
  }

  .hero-top {
    top: 28px;
    width: calc(100% - 28px);
  }

  .logo-top {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .logo-main {
    font-size: 48px;
  }

  .hero-bottom {
    width: calc(100% - 28px);
    bottom: 22px;
  }

  .buttons {
    gap: 14px;
    margin-bottom: 22px;
  }

  .btn {
    min-width: 190px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .hero-headline {
    font-size: 24px;
    line-height: 1.2;
    padding: 0 10px;
  }

  .legal {
    margin-top: 30px;
    font-size: 12px;
    line-height: 1.5;
  }

  .legal .copyright {
    margin-top: 18px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero {
    min-height: 118svh;
  }

  .hero-image {
    background-position: 45% center;
  }

  .hero-top {
    top: 22px;
  }

  .logo-top {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .logo-main {
    font-size: 38px;
    line-height: 1;
  }

  .hero-bottom {
    width: calc(100% - 24px);
    bottom: -150px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .btn {
    min-width: 0;
    width: 100%;
    max-width: 300px;
    padding: 14px 18px;
    font-size: 16px;
  }

  .hero-headline {
    font-size: 21px;
    line-height: 1.2;
    padding: 0 8px;
  }

  .legal {
    margin-top: 24px;
    font-size: 11px;
    line-height: 1.45;
    padding: 0 8px;
  }

  .legal .copyright {
    margin-top: 16px;
  }
}

