:root {
  --navy: #10243f;
  --cream: #f4f1ea;
  --line: rgba(16, 36, 63, 0.12);
  --card: #12161c;
  --card-text: #f2efe8;
  --muted: #9aa3b2;
  --gold: #e8a856;
  --dhbw: #c8102e;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Syne", "Segoe UI", system-ui, sans-serif;
  --topbar: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--navy);
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, #e7f3f1 0%, transparent 55%),
    var(--cream);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--topbar);
  padding: 0 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  display: inline-flex;
  text-decoration: none;
}

.brand {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(16, 36, 63, 0.08);
  outline: none;
}

.page {
  width: min(560px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Anker unter der sticky Bar ausrichten */
.section {
  scroll-margin-top: calc(var(--topbar) + 1rem);
}

h1 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.offer {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  text-decoration: none;
  color: var(--card-text);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, #243042 0%, transparent 60%),
    var(--card);
  border: 1px solid rgba(232, 168, 86, 0.28);
  border-radius: 8px 22px 8px 22px;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.offer-dhbw {
  border-color: rgba(200, 16, 46, 0.35);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, #2a2030 0%, transparent 60%),
    var(--card);
}

.offer:hover,
.offer:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  outline: none;
}

.offer-dhbw:hover,
.offer-dhbw:focus-visible {
  border-color: var(--dhbw);
}

.info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 2.2rem 1.5rem 1.4rem;
  text-align: center;
}

.mark {
  width: 72px;
  height: 72px;
}

.title {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.slogan {
  max-width: 22rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}

.open {
  display: block;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1208;
  background: var(--gold);
}

.offer-dhbw .open {
  color: #fff;
  background: var(--dhbw);
}

@media (max-width: 640px) {
  .title {
    font-size: 2rem;
  }

  .nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.9rem;
  }
}
