:root {
  --black: #101010;
  --white: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.72);
  --line: rgba(245, 240, 232, 0.45);
  --hero-dim: 0.42;
  --header-height: 126px;
  --footer-height: 210px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  padding-top: var(--header-height);
  background: var(--black);
  color: var(--white);
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--black);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 141px;
  height: auto;
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
}

.main-nav-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0.35rem 0;
  font: inherit;
  cursor: pointer;
}

.main-nav-link::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: -0.35rem;
  height: 1px;
  background: transparent;
}

.main-nav-link:hover,
.main-nav-link:focus-visible,
.main-nav-link.is-active {
  color: var(--white);
}

.main-nav-link:hover::after,
.main-nav-link:focus-visible::after,
.main-nav-link.is-active::after {
  background: var(--line);
}

.nav-dropdown {
  position: relative;
}

.dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-arrow {
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.8;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 190px;
  padding: 0.45rem;
  background: var(--black);
  border: 1px solid rgba(245, 240, 232, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  height: 900px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #151515;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/Webseite_BG.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: contrast(85%) saturate(110%) brightness(125%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.46)),
    rgba(0, 0, 0, var(--hero-dim));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  margin-top: -10px;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  margin: 0 0 0.15rem;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 2.4rem);
  line-height: 1;
  font-weight: 300;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.45rem, 3.3vw, 3.35rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-text {
  width: min(340px, 100%);
  margin: 1.55rem auto 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.18;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0px;
  padding: 0.50rem 0.80rem;
  border: 0.75px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.1);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-footer {
  min-height: 210px;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: 2rem 1rem 2.4rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.footer-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 0.55rem;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  bottom: 0;
  height: 2px;
  background: transparent;
  border-radius: 999px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a.is-active {
  color: var(--white);
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-nav a.is-active::after {
  background: var(--line);
}

.copyright {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  color: var(--white);
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.footer-icons a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
}

.footer-icons img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-icons a:hover,
.footer-icons a:focus-visible {
  opacity: 0.78;
}

@media (max-width: 760px) {
  :root {
    --header-height: 105px;
    --footer-height: 210px;
  }

  .header-inner {
    width: min(100%, calc(100% - 32px));
    justify-content: space-between;
  }

  .brand-logo {
    width: 128px;
  }

  .hero {
    height: 620px;
    background-position: center center;
  }

  .hero-content {
    margin-top: -10px;
  }

  .hero-text {
    margin-top: 1.55rem;
  }

  .footer-nav {
    gap: 1.35rem;
  }
}

@media (max-width: 460px) {
  .hero {
    height: 590px;
  }

  .button {
    width: 100%;
    max-width: 270px;
  }
}

.legal-page {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  background: #1a1a1a;
  padding: 4.5rem 1.5rem;
}

.legal-content {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.legal-content h1 {
  margin: 0 0 2rem;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  white-space: normal;
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-content p {
  margin: 0;
  color: rgba(245, 240, 232, 0.86);
}

.legal-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.download-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: contrast(88%) saturate(90%) brightness(86%);
  z-index: 0;
}

.download-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.50)),
    rgba(0, 0, 0, 0.20);
  z-index: 1;
}

.download-hero-heldenbogen::after {
  background-image: url("../img/heldenbogenmockup.png");
}

.download-card {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 40px));
  padding: 2.2rem 2.4rem 2.35rem;
  background: rgba(21, 21, 21, 0.78);
  border: 1px solid rgba(245, 240, 232, 0.20);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  text-align: center;
  color: var(--white);
  text-shadow: none;
}

.download-kicker {
  margin: 0 0 0.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.72);
}

.download-card p {
  width: min(420px, 100%);
  margin: 1rem auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.86);
}

.download-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.download-hero-heldengenerator::after {
  background-image: url("../img/heldengeneratormockup.png");
  background-position: center -320px;
}