:root {
  --background: #050816;
  --text: #f5f7ff;
  --muted: #b7bfd7;
  --accent: #7c8cff;
  --accent-light: #9cecff;
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(5, 8, 22, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      135deg,
      rgba(5, 8, 22, 0.21),
      rgba(5, 8, 22, 0.01)
    ),
    url("./gfx/digital-gfx-bg4_ok.jpg") center center / cover no-repeat;
  user-select: none;
  -webkit-user-select: none;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 50% 45%,
      transparent 0,
      rgba(5, 8, 22, 0.44) 22%,
      rgba(5, 8, 22, 0.77) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 8, 22, 0.66),
      rgba(5, 8, 22, 0.22)
    );
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  width: min(100% - 48px, 900px);
  min-height: 100svh;

  padding: 48px 0 34px;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  color: var(--accent-light);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  color: var(--accent-light);
  border: 1px solid rgba(156, 236, 255, 0.65);
  border-radius: 9px;

  font-size: 0.85rem;
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(124, 140, 255, 0.5);
}

.logo-mark::first-letter {
  transform: rotate(-45deg);
}

.claim {
  max-width: 760px;
  margin-top: -4rem;
}

.eyebrow {
  margin: 0 0 18px;

  color: var(--accent-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;

 /* font-size: clamp(2.4rem, 8vw, 6.8rem);*/
  font-size: clamp(3.1rem, 8vw, 4.8rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.98;

  overflow-wrap: anywhere;
}

h1 span {
  display: inline-block;
  max-width: 100%;

  color: transparent;
  background: linear-gradient(
    100deg,
    var(--accent-light),
    var(--accent)
  );
  background-clip: text;
  -webkit-background-clip: text;
}


.intro {
  max-width: 580px;
  margin: 30px auto 0;

  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.main-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.main-navigation a {
  color: rgba(245, 247, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}






.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--accent-light);
}

/* Unterseiten */

.legal-page {
  min-height: 100vh;
  align-items: flex-start;
  overflow-y: auto;
}

.legal-page .content {
  min-height: 100vh;
}

.legal-content {
  width: min(100%, 760px);
  margin: 60px auto;

  padding: 38px;

  text-align: left;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--panel);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-content h1 {
  margin-bottom: 42px;
 /* font-size: clamp(2.5rem, 7vw, 5rem);*/
 font-size: clamp(2.1rem, 7vw, 4rem);
}

.legal-content h2 {
  margin: 32px 0 10px;

  color: var(--accent-light);
  font-size: 1rem;
  line-height: 1.4;
}

.legal-content p {
  margin: 0 0 16px;

  color: var(--muted);
  line-height: 1.7;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--accent-light);
}



.mobile-break {
  display: none;
}


@media (max-width: 600px) {
  .content {
    width: calc(100% - 32px);
    padding-top: 32px;
    padding-bottom: 26px;
  }

  .claim {
    width: 100%;
    margin-top: -2rem;
  }

  .mobile-break {
    display: inline;
  }
  
  h1 {
    font-size: clamp(2.25rem, 11vw, 4rem);
    letter-spacing: -0.065em;
  }

  h1 span {
    white-space: normal;
  }

  .logo {
    font-size: 0.76rem;
    letter-spacing: 0.13em;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .legal-content {
    margin: 24px auto;
    padding: 24px;
    border-radius: 18px;
  }

  .legal-content h1 {
    margin-bottom: 32px;
  }
}
