:root {
  --weg-ink: #171a22;
  --weg-text: #273043;
  --weg-muted: #4d586d;
  --weg-dark: #1a1b22;
  --weg-bg: #eef1f5;
  --weg-card: #ffffff;
  --weg-line: #d9deea;
  --weg-blue: #3f88d3;
  --weg-red: #e3636f;
  --weg-yellow: #efcb51;
  --weg-green: #5ea885;
  --weg-gray: #8a94a6;
  --weg-radius: 24px;
}

.weg-main {
  background: var(--weg-bg);
  color: var(--weg-ink);
}

.weg-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #1f2028 0%, #1a1b22 100%);
  color: #fff;
}

.weg-hero .container {
  width: min(1080px, calc(100% - 40px));
}

.weg-hero h1 {
  margin: 0;
  font-size: clamp(1.72rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: #f3f5f8;
  max-width: 700px;
}

.weg-hero p {
  margin: 16px 0 0;
  max-width: 760px;
  color: #e6eaf2;
  font-size: clamp(0.97rem, 1.15vw, 1.08rem);
  font-weight: 500;
}

.weg-hero-line {
  margin-top: 22px;
  display: inline-block;
  width: 80px;
  height: 5px;
  border-radius: 999px;
  background: var(--yellow);
}

.weg-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weg-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.08);
}

.weg-btn-ghost:hover,
.weg-btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.weg-flow {
  padding: 36px 0;
}

.weg-flow .container,
.weg-forms .container,
.weg-cta .container {
  width: min(1080px, calc(100% - 40px));
}

.weg-flow-grid {
  display: grid;
  gap: 16px;
}

.weg-overview {
  background: #ffffff;
  border: 1px solid var(--weg-line);
  border-radius: var(--weg-radius);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(17, 25, 40, 0.06);
}

.weg-overview h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}

.weg-overview p {
  margin: 10px 0 0;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.58;
  color: var(--weg-muted);
}

.weg-overview ol {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 7px;
}

.weg-overview li {
  margin: 0;
  color: #313a4f;
}

.weg-overview a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.weg-overview a:hover,
.weg-overview a:focus-visible {
  text-decoration: underline;
}

.weg-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.weg-timeline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #c8cfdf 0%, #d9deea 100%);
}

.weg-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
}

.weg-step-number {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #c9d0df;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #21273a;
}

.weg-step-card {
  background: var(--weg-card);
  border: 1px solid #d7dce8;
  border-left: 5px solid #d7dce8;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 18px rgba(17, 25, 40, 0.05);
}

.weg-step-kicker {
  margin: 0;
  color: #6b7486;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.weg-step-card h3 {
  margin: 5px 0 0;
  color: var(--weg-ink);
  font-size: clamp(1.04rem, 2.4vw, 1.35rem);
}

.weg-step-card p {
  margin: 8px 0 0;
  color: var(--weg-text);
  font-size: clamp(0.93rem, 1.04vw, 1rem);
  line-height: 1.54;
}

.weg-step-card ul {
  margin: 9px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.weg-step-card li {
  font-size: 0.93rem;
  color: #2f3648;
  line-height: 1.5;
}

.weg-chip {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

.weg-chip-blue {
  background: #1a6ec8;
  color: #fff;
}

.weg-chip-red {
  background: #e93f4f;
  color: #fff;
}

.weg-chip-yellow {
  background: #f1ca35;
  color: #222;
}

.weg-chip-gray {
  background: #8d95a5;
  color: #fff;
}

.weg-step-red .weg-step-number {
  border-color: var(--weg-red);
}

.weg-step-red .weg-step-card {
  border-left-color: var(--weg-red);
}

.weg-step-blue .weg-step-number {
  border-color: var(--weg-blue);
}

.weg-step-blue .weg-step-card {
  border-left-color: var(--weg-blue);
}

.weg-step-yellow .weg-step-number {
  border-color: var(--weg-yellow);
}

.weg-step-yellow .weg-step-card {
  border-left-color: var(--weg-yellow);
}

.weg-step-green .weg-step-number {
  border-color: var(--weg-green);
}

.weg-step-green .weg-step-card {
  border-left-color: var(--weg-green);
}

.weg-step-gray .weg-step-number {
  border-color: var(--weg-gray);
}

.weg-step-gray .weg-step-card {
  border-left-color: var(--weg-gray);
}

.weg-forms {
  background: #ffffff;
  border-top: 1px solid #e2e7f0;
  border-bottom: 1px solid #e2e7f0;
  padding: 38px 0;
}

.weg-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.9vw, 2.2rem);
  color: var(--weg-ink);
}

.weg-section-head p {
  margin: 10px 0 0;
  color: var(--weg-muted);
  max-width: 700px;
}

.weg-kanton-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.weg-kanton-card {
  background: #f8faff;
  border: 1px solid #dde4f2;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 11px;
  align-items: center;
}

.weg-kanton-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #dce3f2;
  padding: 5px;
}

.weg-kanton-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.weg-kanton-card a {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  background: #1a6ec8;
  color: #fff;
  padding: 7px 13px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
}

.weg-kanton-card a:hover,
.weg-kanton-card a:focus-visible {
  background: #145aa5;
}

.weg-cta {
  padding-top: 34px;
  padding-bottom: 46px;
}

.weg-cta .container {
  background: #dceaf9;
  border: 1px solid #c4d7ef;
  border-radius: 22px;
  padding: 20px;
}

.weg-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  color: #162035;
}

.weg-cta p {
  margin: 8px 0 0;
  color: #33405a;
}

.weg-cta-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 679px) {
  .weg-hero {
    padding-top: 40px;
  }

  .weg-flow,
  .weg-forms {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .weg-overview {
    padding: 14px;
  }

  .weg-step-card {
    padding: 12px;
  }
}

@media (min-width: 680px) {
  .weg-kanton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .weg-flow-grid {
    grid-template-columns: minmax(280px, 310px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .weg-overview {
    position: sticky;
    top: calc(var(--header-height-desktop) + 20px);
  }

  .weg-step-card {
    padding: 16px 18px;
  }

  .weg-kanton-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
