/* Styles for the legal pages. They share the column, colours and type of the home page. */

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

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --blue: #1670b8;
  --blue-dark: #115a95;
  --sky: #8fd0f5;
  --paper: #fdfdfc;
  --white: #ffffff;
  --ink: #13233a;
  --muted: #4c5f75;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--sky);
  color: var(--navy);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 3px;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Fußzeile */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  max-width: 644px;
  margin: 0 auto;
  padding: 8px 24px 32px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  gap: 8px 24px;
}

.foot a {
  display: inline-block;
  padding: 11px 0;
}

/* Impressum und Datenschutz */

.skip {
  position: absolute;
  top: 8px;
  left: 24px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.legal-head {
  max-width: 644px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.legal-head img {
  width: 240px;
}

.legal {
  max-width: 644px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 24px;
  overflow-wrap: anywhere;
}

.legal h1 {
  margin: 0 0 32px;
  color: var(--navy);
  font-size: clamp(2rem, 1.6rem + 1.7vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.legal h2 {
  margin: 40px 0 8px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.legal h3 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: 8px;
}

.legal__date {
  margin-top: 40px;
  color: var(--muted);
}
