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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--nd);
  color: var(--w);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  left: 0.75rem;
  clip-path: none;
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
}

body {
  font-family: var(--f);
  color: var(--tx);
  background: var(--w);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

/* Logo-Kachel (Header & Footer – gleiche Optik) */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: calc(var(--logo-radius, 12px) + 6px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 24px rgba(0, 0, 0, 0.45);
}

.brand-mark img {
  height: clamp(44px, 5.5vw, 56px);
  width: auto;
  max-width: none;
  object-fit: contain;
  aspect-ratio: 1;
  opacity: 1;
  display: block;
  border-radius: var(--logo-radius);
}

/* Gleiche Kachel-Idee wie im Footer, für helle Hintergründe (z. B. Projektkarten) */
.brand-mark--light {
  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 22px rgba(31, 55, 84, 0.1);
}

/* Logo: weitere Vorkommen ohne Kachel */
.cta-logo,
.roadmap-page .roadmap-campus-logo {
  border-radius: var(--logo-radius);
}
