:root {
  color-scheme: light;
  --ink: #11233a;
  --muted: #526478;
  --accent: #eb3150;
  --paper: #f7f4ed;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", sans-serif;
  color: var(--ink);
}

a {
  color: inherit;
}

/* Startseite */

.home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;

  background-color: #131d29;
  background-image: url("bewegungswelten.png");
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;

  color: #fff;
}

.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 29% 84%,
      rgba(255, 220, 180, 0.18) 0%,
      rgba(255, 220, 180, 0.10) 12%,
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(9, 18, 29, 0.91) 0%,
      rgba(9, 18, 29, 0.76) 34%,
      rgba(9, 18, 29, 0.24) 63%,
      rgba(9, 18, 29, 0.14) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 18, 29, 0.54),
      transparent 42%
    );
}


.site-header,
.hero,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding:
    clamp(1.25rem, 3vw, 2.4rem)
    clamp(1.4rem, 6vw, 6rem);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 800 1.1rem/1 Georgia, serif;
}

.hero {
  display: flex;
  align-items: center;
  padding:
    2rem
    clamp(1.4rem, 6vw, 6rem)
    5rem;
}

.hero-content {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #ffc6ce;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.lead {
  max-width: 35rem;
  margin: 1.8rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hint {
  max-width: 32rem;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding:
    1.3rem
    clamp(1.4rem, 6vw, 6rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  gap: 1.4rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* Rechtliche Seiten */

.legal-page {
  min-height: 100svh;
  background: var(--paper);
}

.legal-header {
  padding:
    1.4rem
    clamp(1.2rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(17, 35, 58, 0.12);
}

.legal-card {
  width: min(52rem, calc(100% - 2.4rem));
  margin: clamp(2rem, 6vw, 5rem) auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 1.5rem 4rem rgba(17, 35, 58, 0.09);
}

.legal-card .back {
  color: var(--muted);
  text-decoration: none;
}

.legal-card h1 {
  margin: 1.4rem 0 2.5rem;
  font:
    500 clamp(2.5rem, 7vw, 4.8rem) / 1
    Georgia,
    serif;
  letter-spacing: -0.045em;
}

.legal-card h2 {
  margin: 2.2rem 0 0.55rem;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card address {
  color: #384b5e;
  line-height: 1.7;
  font-style: normal;
}

.legal-card .intro {
  font-size: 1.12rem;
}

.legal-card a:not(.back) {
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

.legal-footer {
  width: min(52rem, calc(100% - 2.4rem));
  margin: 0 auto 2.5rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Mobile Darstellung */

@media (max-width: 720px) {
  .home {
    background-position: 62% center;
  }

  .home::before {
    background:
      linear-gradient(
        90deg,
        rgba(9, 18, 29, 0.93),
        rgba(9, 18, 29, 0.58)
      ),
      linear-gradient(
        0deg,
        rgba(9, 18, 29, 0.66),
        transparent 50%
      );
  }

  .hero {
    align-items: end;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}