@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/inter-v20-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/inter-v20-latin-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: italic;
  font-weight: 700;
  src: url("./fonts/inter-v20-latin-700italic.woff2") format("woff2");
}

:root {
  --page-bg: #c4b4cd;
  --overlay: rgba(85, 59, 104, 0.4);
  --overlay-strong: rgba(54, 34, 72, 0.4);
  --text: #fffdf7;
  --shadow: rgba(20, 10, 24, 0.22);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(31, 9, 50, 0.08)),
    url("./berlin-freedom-society.jpg") center center / cover no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 6vw, 8rem);
}

.hero__copy {
  display: grid;
  gap: clamp(2rem, 4vw, 5rem);
  padding-top: min(9vh, 4rem);
}

.hero__text {
  margin: 0;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 10px 30px var(--shadow);
}

.hero__text--de {
  font-weight: 700;
}

.hero__text--en {
  font-weight: 700;
  font-style: italic;
}

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

.hero__brand--mobile {
  display: none;
}

.hero__logo {
  width: min(100%, 33rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 45px rgba(31, 16, 40, 0.16));
}

.hero__footer {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

.hero__footer a {
  color: #ffffff;
  text-decoration: none;
}

.hero__footer a:hover,
.hero__footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: 100vh;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
    padding: 2rem 1.25rem 2.5rem;
  }

  .hero__brand--desktop {
    display: none;
  }

  .hero__brand--mobile {
    display: flex;
    width: 100%;
    padding-top: 0.5rem;
  }

  .hero__logo {
    width: min(100%, 20rem);
  }

  .hero__footer {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .hero__copy {
    width: 100%;
    gap: 1.5rem;
    padding-top: 0;
    text-align: left;
  }

  .hero__text {
    max-width: none;
    font-size: clamp(1.2rem, 0.95rem + 1.8vw, 1.7rem);
    line-height: 1.3;
  }
}

@media (max-width: 560px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(82, 55, 101, 0.4), rgba(73, 49, 92, 0.4)),
      linear-gradient(90deg, rgba(206, 188, 220, 0.4), rgba(31, 9, 50, 0.4));
  }

  .hero__inner {
    align-content: start;
    padding-top: 1.5rem;
  }

  .hero__brand--mobile {
    justify-content: flex-start;
  }

  .hero__logo {
    width: min(88vw, 17rem);
  }
}
