.energiecheck-page {
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: 34px;
}

.energiecheck-title {
  max-width: 960px;
  margin: 0 auto 24px;
  text-align: left;
}

.energiecheck-card {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto 36px;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, #004080, #0b5ca8);
  box-shadow: 0 16px 38px rgba(0, 64, 128, 0.14);
}

.energiecheck-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 21px;
  background: #fff;
}

.energiecheck-card__copy,
.energiecheck-card__action,
.counter-meta {
  min-width: 0;
}

.energiecheck-card__content h2 {
  margin: 7px 0 14px;
  color: #12304d;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.energiecheck-card__copy > p:not(.energiecheck-eyebrow) {
  max-width: 620px;
  margin: 0;
  line-height: 1.65;
}

.energiecheck-eyebrow {
  margin: 0;
  color: #c40000;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.energiecheck-card__action {
  padding: 18px;
  border: 1px solid #d8e6f3;
  border-radius: 16px;
  background: #f3f8fc;
}

.energiecheck-button {
  display: inline-flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #004080;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.energiecheck-button:visited {
  color: #fff;
}

.energiecheck-button:hover {
  background: #0066cc;
  box-shadow: 0 8px 18px rgba(0, 64, 128, 0.2);
  transform: translateY(-1px);
}

.energiecheck-button:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 3px;
}

.energiecheck-button__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.energiecheck-external-note {
  margin: 13px 2px 0;
  color: #526476;
  font-size: 0.84rem;
  line-height: 1.5;
}

.counter-wrap {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e1e7ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 48, 72, 0.09);
}

.counter-topbar {
  height: 8px;
  background: linear-gradient(90deg, #c40000, #ff3b3b);
}

.counter-head {
  padding: 20px 20px 8px;
}

.counter-head-title {
  color: #12304d;
  font-size: 1.2rem;
  font-weight: 800;
}

.counter-head-sub {
  margin-top: 4px;
  color: #555;
  font-size: 0.95rem;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 18px 20px;
}

.counter-card {
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  padding: 16px 15px 13px;
  border: 1px solid #e9edf1;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(196, 0, 0, 0.045), rgba(255, 255, 255, 0));
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-icon {
  display: flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(196, 0, 0, 0.1);
}

.counter-icon svg {
  width: 22px;
  height: 22px;
  stroke: #c40000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.counter-meta {
  flex: 1;
}

.counter-label {
  color: #465668;
  font-size: 0.92rem;
  line-height: 1.25;
}

.counter-value {
  margin-top: 4px;
  color: #111;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.counter-value .unit {
  margin-left: 2px;
  color: #c40000;
  font-size: 1.2rem;
  font-weight: 800;
}

.progress {
  height: 10px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 999px;
  background: #efefef;
}

.progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c40000, #ff3b3b);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1000ms ease;
}

.progress-bar--70 {
  --progress-scale: 0.7;
}

.progress-bar--100 {
  --progress-scale: 1;
}

.counter-wrap.is-visible .progress-bar {
  transform: scaleX(var(--progress-scale));
}

.counter-foot {
  margin-top: 8px;
  color: #526476;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .energiecheck-page {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .energiecheck-title {
    margin-bottom: 22px;
  }

  .energiecheck-card__content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
  }

  .energiecheck-card__action {
    padding: 16px;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .counter-value {
    font-size: 2.1rem;
  }
}

@media (max-width: 420px) {
  .energiecheck-page {
    padding-top: 26px;
  }

  .energiecheck-title {
    margin-bottom: 20px;
  }

  .energiecheck-card {
    margin-bottom: 30px;
    border-radius: 18px;
  }

  .energiecheck-card__content {
    gap: 18px;
    padding: 22px 18px;
    border-radius: 17px;
  }

  .energiecheck-card__content h2 {
    font-size: 1.5rem;
  }

  .energiecheck-card__action {
    padding: 14px;
  }

  .energiecheck-button {
    padding: 13px 14px;
    font-size: 0.98rem;
  }

  .counter-head {
    padding: 18px 18px 7px;
  }

  .counter-grid {
    gap: 12px;
    padding: 14px 14px 17px;
  }

  .counter-card {
    min-height: 126px;
    padding: 15px 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energiecheck-button,
  .progress-bar {
    transition: none;
  }
}
