/* Schriften: selbst gehostet, variable woff2 (SIL OFL 1.1, Lizenzen in fonts/) */
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-Variable-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Farben: blaue Variante (Farbalternative 3) – Arbeitsannahme, hier zentral austauschbar */
:root {
  --blue: #022347;    /* Tiefblau: Text, Wortmarke, dunkle Flächen */
  --chalk: #F5F6F2;   /* Kreide: Hintergrund */
  --silver: #D4DDE1;  /* Silbergrau: Sekundärflächen, Akzente auf Blau */
  --ink: var(--blue);
  --ink-2: #44566B;   /* Sekundärtext, Tiefblau aufgehellt (7:1 auf Kreide) */
  --rule: var(--blue);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  /* Textgrößen; Sekundärtext wie boost.oktopods.com */
  --text-body: 1.125rem;       /* 18px */
  --text-lead: 1.25rem;        /* 20px / 1.625 */
  --text-secondary: 1rem;      /* 16px / 1.5 */
  --text-small: 0.875rem;      /* 14px / 20px */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

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

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

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--blue);
  color: var(--chalk);
  padding: 8px 14px;
  font-size: var(--text-small);
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.label {
  font-size: var(--text-small);
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin: 0;
}

/* Platzhalter für fehlende Angaben – keine funktionierenden Links */
.placeholder {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px dashed var(--ink-2);
  border-radius: 2px;
  color: var(--ink-2);
  font-style: normal;
  line-height: 1.5;
}
.placeholder::before { content: "["; }
.placeholder::after { content: "]"; }
.placeholder--block {
  display: block;
  padding: 0.6em 0.8em;
  font-size: var(--text-secondary);
}
.placeholder--block::before, .placeholder--block::after { content: none; }

/* Angaben, deren Formulierung noch bestätigt werden muss */
.tbc {
  text-decoration: underline dotted var(--ink-2);
  text-underline-offset: 0.25em;
}

/* Kopfbereich */
.site-header__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: 20px;
}
/* Linie auf Satzspiegelbreite, nicht über den Innenabstand */
.site-header__inner::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--rule);
}

.logo { display: block; color: var(--blue); line-height: 0; }
.logo svg { width: clamp(140px, 14vw, 196px); height: auto; }

.site-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: var(--text-secondary);
  text-align: right;
}

/* Einleitung */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "main" "contact" "person";
  gap: 48px;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 120px);
}
.intro__main { grid-area: main; }
.contact { grid-area: contact; }
.intro__person { grid-area: person; }

.intro__main .label { margin-bottom: 20px; }

h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 13em;
  margin-bottom: clamp(28px, 3vw, 40px);
  hyphens: manual;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.625;
  max-width: 34em;
}

.intro__main > p:not(.label):not(.lead) {
  color: var(--ink-2);
  max-width: 36em;
}

.audiences {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 64px);
}
.audience {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.audience h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 8px;
}
.audience p {
  font-size: var(--text-secondary);
  line-height: 1.5;
  color: var(--ink-2);
}

/* Kontakt */
.contact {
  background: var(--silver);
  padding: clamp(24px, 3vw, 36px);
  align-self: start;
}
.contact__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.contact__phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.contact__phone a { text-decoration: none; }
.contact__phone a:hover { text-decoration: underline; }
.contact__phone .placeholder { font-size: 1.125rem; font-family: var(--font-body); }
.contact__mail {
  font-size: var(--text-secondary);
  line-height: 1.5;
}

/* Zur Person */
.intro__person {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.intro__person .label { margin-bottom: 12px; }
.intro__person h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.intro__person p:not(.label) { max-width: 34em; }

/* Fußbereich */
.site-footer {
  background: var(--blue);
  color: var(--chalk);
}
.site-footer :focus-visible { outline-color: var(--chalk); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.site-footer__mark { color: var(--chalk); line-height: 0; }
.site-footer__mark svg { width: min(100%, 360px); height: auto; }

.site-footer__info {
  display: grid;
  gap: 24px;
  font-size: var(--text-secondary);
  line-height: 1.5;
  align-content: end;
}
.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
}
.site-footer__contact {
  display: grid;
  grid-template-columns: 1.5em 1fr;
  gap: 6px 8px;
  margin: 0;
}
.site-footer__contact dt { color: var(--silver); }
.site-footer__contact dd { margin: 0; }
.site-footer .placeholder { color: var(--silver); border-color: var(--silver); }

.site-footer__legal {
  display: flex;
  gap: 24px;
  font-size: var(--text-small);
  line-height: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--silver);
}

/* Tablet */
@media (min-width: 640px) {
  .audiences { grid-template-columns: 1fr 1fr; gap: 32px clamp(24px, 3vw, 48px); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* Desktop: Einleitung und Person nebeneinander */
@media (min-width: 1024px) {
  .intro {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    grid-template-areas: "main contact" "main person";
    grid-template-rows: auto 1fr;
    column-gap: clamp(56px, 8vw, 128px);
    row-gap: 48px;
  }
  .site-footer__inner { grid-template-columns: 7fr 4fr; column-gap: clamp(56px, 8vw, 128px); }
}


/* Rechtliche Seiten */
.legal {
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 120px);
}
.legal > * { max-width: 48rem; }
.legal .label { margin-bottom: 20px; }
.legal h1 { margin-bottom: 32px; }
