@import url("./tokens.css");

/* Rechtstexte der Microsite. Eigene Datei, weil hier Lesbarkeit im Fließtext
   zählt und nicht die Bühnenlogik der Startseite. */

@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Book.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Heavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 20px 64px;
  background:
    radial-gradient(90% 40% at 50% 0%, var(--zcg-violet-700) 0%, rgba(42, 19, 86, 0) 70%),
    var(--zcg-violet);
  color: var(--zcg-page);
  font-family: var(--font-nexa);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 660px;
  margin: 0 auto;
}

header.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--zcg-page);
  text-decoration: none;
}

.back {
  font-weight: 350;
  font-size: 14px;
  color: var(--zcg-lav-l);
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 232, 245, 0.35);
}

h1 {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 40px;
  font-weight: 200;
  font-size: 14px;
  color: rgba(245, 244, 242, 0.62);
}

h2 {
  margin: 38px 0 10px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 6px;
  font-weight: 700;
  font-size: 15px;
  color: rgba(245, 244, 242, 0.88);
}

p {
  margin: 0 0 14px;
  color: rgba(245, 244, 242, 0.86);
}

ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: rgba(245, 244, 242, 0.86);
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--zcg-lav-l);
  text-underline-offset: 2px;
}

a:focus-visible,
.brand:focus-visible,
.back:focus-visible {
  outline: 2px solid var(--zcg-lavender);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.box {
  margin: 0 0 14px;
  padding: 16px 18px;
  background: rgba(245, 244, 242, 0.06);
  border: 1px solid rgba(245, 244, 242, 0.14);
  border-radius: var(--radius-md);
}

.box p:last-child {
  margin-bottom: 0;
}

footer.bottom {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 244, 242, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-weight: 200;
  font-size: 12px;
  color: rgba(245, 244, 242, 0.55);
}

footer.bottom a {
  color: rgba(245, 244, 242, 0.75);
}
