/* Schriften liegen lokal auf dem Server – keine Verbindung zu Google. */
@font-face {
  font-family: "Newsreader";
  src: url("newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* Farben und Schriften der neuen Website (globals.css). */
:root {
  --ink: #10151d;
  --navy: #0c2440;
  --navy-deep: #081729;
  --blue: #1d5fa6;
  --blue-bright: #3b7dc4;
  --mist: #eef1f5;
  --line: #e0e4ea;
  --slate: #5b6672;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

/* ---------- Kopfzeile ---------- */
.masthead {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  min-height: 5.25rem;
}
.masthead img {
  width: 230px;
  max-width: 70vw;
  height: auto;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(59,125,196,0.25) 0%, transparent 55%);
}
.hero .wrap {
  position: relative;
  padding-block: clamp(4rem, 12vw, 8rem);
}

h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.lead {
  margin: 1.5rem 0 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-block;
  padding: 1rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: var(--mist); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Fußzeile ---------- */
footer {
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--slate);
}
footer .wrap {
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}
footer p { margin: 0; }
footer a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer a:hover { color: var(--navy); border-color: var(--line); }

/* ---------- Unterseiten für die Rechtstexte ---------- */
.page {
  flex: 1;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page .back {
  display: inline-block;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--slate);
  text-decoration: none;
}
.page .back:hover { color: var(--navy); }

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.rule {
  height: 1px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 45%, transparent 100%);
}

.legal {
  font-size: 0.9rem;
  color: var(--slate);
  max-width: 44rem;
}
.legal h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.75rem 0 0.4rem;
}
.legal h3:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 0.5rem; }
.legal ul { margin: 0 0 0.5rem; padding-left: 1.1rem; }
.legal li { margin-bottom: 0.25rem; }
.legal a { color: var(--blue); }
