.gemeinde-hero {
  background:
    radial-gradient(circle at 87% 14%, rgba(34, 169, 86, .12), transparent 23%),
    radial-gradient(circle at 72% 72%, rgba(239, 63, 67, .08), transparent 27%),
    linear-gradient(115deg, #fff 0%, #f9fbfe 58%, #f0f6f4 100%);
}

.gemeinde-visual {
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  padding: 55px 38px 92px;
}

.gemeinde-visual-main {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
}

.gemeinde-crest {
  width: min(34%, 125px);
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(16, 24, 40, .14));
}

.gemeinde-place {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gemeinde-place span {
  color: #78879a;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 750;
  letter-spacing: .08em;
}

.gemeinde-place strong {
  max-width: 270px;
  color: var(--canton-ink);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.gemeinde-offer-section {
  padding-top: 54px;
}

.gemeinde-offer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid #cce9d6;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 169, 86, .18), transparent 28%),
    linear-gradient(120deg, #f4fcf7, #fff 58%);
  box-shadow: 0 18px 44px rgba(28, 44, 69, .08);
}

.gemeinde-offer-copy {
  max-width: 760px;
}

.gemeinde-offer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #168343;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gemeinde-offer-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.035em;
}

.gemeinde-offer-panel p {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--canton-muted);
  line-height: 1.65;
}

.gemeinde-offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 18px;
  color: #405064;
  font-size: 13px;
  font-weight: 700;
}

.gemeinde-offer-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gemeinde-offer-points i {
  color: var(--canton-success);
  font-size: 15px;
}

.gemeinde-offer-button {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--canton-success);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(34, 169, 86, .2);
  transition: background .18s ease, transform .18s ease;
}

.gemeinde-offer-button:hover {
  background: #198f47;
  color: #fff;
  transform: translateY(-1px);
}

.gemeinde-tax-return {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  padding: clamp(27px, 4vw, 42px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(239, 63, 67, .22), transparent 25%),
    linear-gradient(120deg, #172033, #29364f);
  color: #fff;
  box-shadow: 0 20px 45px rgba(16, 24, 40, .14);
}

.gemeinde-tax-return-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 28px;
}

.gemeinde-tax-return span {
  display: block;
  margin-bottom: 4px;
  color: #9ee3b8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gemeinde-tax-return h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -.035em;
}

.gemeinde-tax-return p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #d8deea;
  line-height: 1.6;
}

.gemeinde-tax-return .btn {
  white-space: nowrap;
  font-weight: 800;
}

.gemeinde-copy-card {
  max-width: 1050px;
  margin: 0 auto;
}

.gemeinde-copy-card > h2:first-child {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .gemeinde-offer-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .gemeinde-tax-return {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gemeinde-tax-return .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .gemeinde-visual {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 16px;
  }

  .gemeinde-visual .canton-visual-label {
    display: none;
  }

  .gemeinde-visual-main {
    grid-column: 1;
    grid-row: 1;
    gap: 12px;
  }

  .gemeinde-crest {
    width: 40px;
    max-height: 48px;
    filter: drop-shadow(0 6px 8px rgba(16, 24, 40, .12));
  }

  .gemeinde-place span {
    font-size: 11px;
  }

  .gemeinde-place strong {
    font-size: 20px;
  }

  .gemeinde-visual .canton-count-card {
    position: static;
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
  }

  .gemeinde-visual .canton-count-card strong {
    display: inline;
    margin-right: 4px;
    font-size: 18px;
  }

  .gemeinde-offer-section {
    padding-top: 34px;
  }

  .gemeinde-offer-panel {
    padding: 24px 20px;
  }

  .gemeinde-offer-points {
    align-items: flex-start;
    flex-direction: column;
  }

  .gemeinde-offer-button {
    width: 100%;
    padding-inline: 14px;
    text-align: center;
  }

  .gemeinde-tax-return {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .gemeinde-tax-return-icon {
    width: 50px;
    height: 50px;
    font-size: 23px;
  }

  .gemeinde-tax-return .btn {
    grid-column: 1;
    width: 100%;
    white-space: normal;
  }
}
