@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1e3b71;
  --veil: rgba(30, 59, 113, 0.9);
  --ink: #1a2333;
  --paper: #f7f6f3;
  --muted: #4d596c;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #07111f;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #07111f url("../img/ RZ_Website_Wartungsseite_1920x1080.webp") center / cover no-repeat;
}

.veil {
  position: absolute;
  inset: 0;
  background: var(--veil);
  clip-path: polygon(7.55% 0, 51.77% 0, 42.4% 100%, 0 100%, 0 80.56%);
}

.copy {
  position: absolute;
  z-index: 1;
  left: 8.3%;
  top: 24.5%;
  color: #fff;
  max-width: 40%;
}

.copy h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.4rem, min(6.15vw, 10.9vh), 7.4rem);
  line-height: 1.16;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.copy h1 span {
  display: block;
}

.copy p {
  margin: 1.15em 0 0;
  font-weight: 400;
  font-size: clamp(1rem, min(1.35vw, 2.4vh), 1.65rem);
  line-height: 1.35;
}

.logo {
  position: absolute;
  z-index: 1;
  right: 1.6%;
  bottom: 1.6%;
  width: min(16.1vw, 308px);
  height: auto;
}

.legal-links {
  position: absolute;
  z-index: 1;
  left: 1.6rem;
  bottom: 1.35rem;
  display: flex;
  gap: 1.1rem;
  font-size: 0.92rem;
  font-weight: 400;
}

.legal-links a {
  color: #fff;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 6vw;
  background: var(--navy);
}

.page-header img {
  width: 148px;
  height: auto;
}

.page-header a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.page-header a:hover {
  text-decoration: underline;
}

.page-header nav {
  display: flex;
  gap: 1.25rem;
}

.page main {
  width: min(44rem, calc(100% - 12vw));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.page h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.page h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
}

.page h3 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.page p,
.page li {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.page ul {
  padding-left: 1.2rem;
}

.page a {
  color: var(--navy);
}

@media (max-width: 900px) {
  .veil {
    clip-path: polygon(0 0, 100% 0, 100% 72%, 0 86%);
  }

  .copy {
    left: 1.35rem;
    right: 1.35rem;
    top: 11%;
    max-width: none;
  }

  .copy h1 {
    font-size: clamp(2.15rem, 11vw, 4.2rem);
  }

  .logo {
    width: min(36vw, 150px);
    right: 1rem;
    bottom: 1.1rem;
  }

  .legal-links {
    left: 1rem;
    bottom: 1rem;
    max-width: 58%;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .page-header {
    padding: 0.9rem 1.1rem;
  }

  .page-header img {
    width: 112px;
  }

  .page main {
    width: min(44rem, calc(100% - 2.2rem));
  }
}
