/* ── BLÄK Font (Pfad anpassen) ────────────────────────────────────────────── */
@font-face {
  font-family: 'GuteMedizin';
  src: url('https://www.blaek.de/assets/fonts/GuteMed.woff2') format('woff2'),
       url('https://www.blaek.de/assets/fonts/GuteMed.woff')  format('woff');
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'GuteMedizin', 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: #1A1A1A;
  background: #fff;
}

/* ── Header — CSS Grid für saubere Zentrierung ───────────────────────────── */
.blaek-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  height: 64px;
  padding: 0 24px 10px;
  border-bottom: 2px solid #BFCFDF;
  background: #fff;
}

.blaek-header__left {
  justify-self: start;
  font-size: 0.9rem;
  font-weight: 600;
  color: #003A78;
  white-space: nowrap;
  line-height: 1;
}

.blaek-header__center {
  justify-self: center;
}

.blaek-header__center img {
  height: 29px; /* 57px ÷ 2 für @2x */
  width: auto;
  display: block;
}

.blaek-header__right {
  justify-self: end;
}

.blaek-header__right img {
  height: 29px; /* 61px ÷ 2 für @2x, visuell gleiche Höhe wie Wortmarke */
  width: auto;
  display: block;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.blaek-nav {
  display: flex;
  gap: 24px;
  padding: 10px 24px;
  border-bottom: 1px solid #BFCFDF;
  background: #F4F6F9;
}
.blaek-nav a {
  color: #003A78;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.blaek-nav a:hover { text-decoration: underline; }

/* ── Content ─────────────────────────────────────────────────────────────── */
.blaek-content {
  min-height: 400px;
  padding: 32px 24px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.blaek-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-top: 2px solid #BFCFDF;
  background: #fff;
}

.blaek-footer__hoheitsform img {
  height: 36px;
  width: auto;
  display: block;
}

.blaek-footer__links {
  display: flex;
  gap: 24px;
}

.blaek-footer__links a {
  color: #003A78;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blaek-footer__links a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 576px) {
  .blaek-header__right { display: none; }
  .blaek-header,
  .blaek-footer { padding-left: 16px; padding-right: 16px; }
  .blaek-content { padding: 20px 16px; }
  .blaek-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
