/* Schriften (lokal eingebunden, keine externen Anfragen) */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-v17-latin-regular.woff2") format("woff2"),
       url("../fonts/lato-v17-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-v17-latin-700.woff2") format("woff2"),
       url("../fonts/lato-v17-latin-700.woff") format("woff");
}
@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cardo-v13-latin-regular.woff2") format("woff2"),
       url("../fonts/cardo-v13-latin-regular.woff") format("woff");
}

:root {
  --text: #000;
  --bg: #fff;
  --muted: #555;
  --line: #e2e2e2;
  --link: #34497f;
  --link-hover: #1f2d55;
  --measure: 40rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: calc(var(--measure) + 2.5rem);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* Kopf mit Logo */
/* Kopfzeile: Logo linksbündig, bündig mit der Textspalte */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 60px;
  padding: 0 max(1.25rem, (100% - var(--measure)) / 2);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.site-header .logo { display: block; }
.site-header img {
  display: block;
  height: 44px;
  width: auto;
}
.site-header .back { font-size: 0.9375rem; }

/* Typografie */
h1, h2, h3 {
  font-family: "Cardo", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}
h1 {
  font-size: 2rem;
  margin-top: 0.5rem;
}
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; margin-top: 1.75rem; }
h4 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }

p, ul, address { margin: 0 0 1rem; }

.lead {
  font-weight: 700;
  font-size: 1.125rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
a:hover,
a:focus-visible { color: var(--link-hover); }
a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

/* Bild */
figure { margin: 2rem 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Presseliste */
.press {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.press li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.press strong { display: block; }

/* Kontakt */
address { font-style: normal; }
.contact-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

/* Rechtstexte */
.legal h2 { font-size: 1.4rem; }
.legal ul { padding-left: 1.25rem; }

/* Fuß */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
  font-size: 0.9375rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
  .site-header { height: 100px; }
  .site-header img { height: 80px; }
  h1 { font-size: 2.6rem; }
}
