/* Winterdienst-Auftragszaehler: eigene, bewusst begrenzte Gestaltung. */
.winter-counter {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(215px, .8fr) minmax(0, 1.3fr) minmax(220px, .8fr);
  align-items: stretch;
  width: min(1500px, calc(100% - 2rem));
  margin: 1rem auto clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(166, 209, 249, .24);
  border-radius: clamp(1.4rem, 3vw, 2.75rem);
  background: #071c35;
  color: #f5faff;
  box-shadow: 0 24px 70px rgba(4, 43, 96, .18);
  font-family: Poppins, "Segoe UI", sans-serif;
}
.winter-counter::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 9% 0%, rgba(48, 129, 196, .38), transparent 58%), linear-gradient(125deg, #0d3459 0%, #081d36 68%);
}
.winter-counter__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 3rem);
}
.winter-counter__stat::after {
  content: "";
  position: absolute;
  top: 16%;
  right: 0;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(transparent, rgba(182, 218, 250, .3), transparent);
}
.winter-counter__crystal {
  position: absolute;
  z-index: -1;
  left: -2.6rem;
  top: 7%;
  width: clamp(200px, 24vw, 360px);
  height: auto;
  color: rgba(181, 222, 255, .085);
  transform: rotate(12deg);
  pointer-events: none;
}
.winter-counter__eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .7rem;
  color: #c5e0f7;
  font-size: .7rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}
.winter-counter__eyebrow > span {
  width: .5rem;
  height: .5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a8dcff;
  box-shadow: 0 0 0 5px rgba(168, 220, 255, .1), 0 0 16px rgba(168, 220, 255, .4);
}
.winter-counter__number {
  display: block;
  max-width: 100%;
  margin: 0 0 .3rem -.045em;
  color: #c8e8ff;
  font-size: clamp(6rem, 9.6vw, 10.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.085em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(64, 160, 233, .2);
  overflow-wrap: normal;
}
.winter-counter__label {
  margin: 0;
  color: #e5f2fd;
  font-size: clamp(.85rem, 1.05vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
}
.winter-counter__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.7rem, 3vw, 3.25rem);
}
.winter-counter .winter-counter__kicker {
  margin: 0 0 .8rem;
  color: #a9ceef;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.6;
  text-transform: uppercase;
}
.winter-counter .winter-counter__copy h2 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.winter-counter__copy > p:not([class]) {
  max-width: 47ch;
  margin: 0;
  color: #c6d6e7;
  font-size: .9rem;
  line-height: 1.75;
}
.winter-counter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin: 1.35rem 0 0;
}
.winter-counter__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .8rem 1rem;
  border: 1px solid #c1e4ff;
  border-radius: .85rem;
  background: #c1e4ff;
  color: #071c35;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.winter-counter__button > span {
  font-size: 1.35rem;
  line-height: 1;
}
.winter-counter__button:hover {
  transform: translateY(-2px);
  background: #e0f3ff;
  box-shadow: 0 8px 24px rgba(100, 180, 244, .16);
}
.winter-counter__details {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .35rem 0;
  color: #e1f1ff;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.winter-counter__button:focus-visible,
.winter-counter__details:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
.winter-counter .winter-counter__note {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: #a8bed4;
  font-size: .65rem;
  line-height: 1.7;
}
.winter-counter__photo {
  position: relative;
  min-width: 0;
  min-height: 355px;
  margin: 0;
  overflow: hidden;
  background: #244059;
}
.winter-counter__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 24, 47, .92), transparent 60%), linear-gradient(90deg, rgba(7, 28, 53, .3), transparent 30%);
}
.winter-counter__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}
.winter-counter__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.4rem;
  bottom: 1.5rem;
  left: 1.4rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.5;
}
.winter-counter__photo figcaption svg {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  padding: .3rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}
.winter-counter__number[data-counter-width] {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
}
.winter-counter__number[data-counter-width]::before,
.winter-counter__digits {
  grid-area: 1 / 1;
}
.winter-counter__number[data-counter-width]::before {
  content: attr(data-counter-width);
  visibility: hidden;
  pointer-events: none;
}
.winter-counter__digits {
  position: relative;
  z-index: 1;
}
.winter-counter__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.winter-counter__snow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.winter-counter__flake {
  position: absolute;
  top: 55%;
  left: 50%;
  display: block;
  width: var(--snow-size);
  height: var(--snow-size);
  color: #a8dcff;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(168, 220, 255, .22));
  animation: winter-counter-snow var(--snow-duration) cubic-bezier(.15, .6, .4, 1) var(--snow-delay) both;
}
.winter-counter__flake svg { display: block; width: 100%; height: 100%; }
@keyframes winter-counter-snow {
  0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.35) rotate(0); }
  18% { opacity: .65; }
  68% { opacity: .35; }
  100% { opacity: 0; transform: translate3d(var(--snow-x), var(--snow-y), 0) scale(.9) rotate(var(--snow-turn)); }
}
@media (max-width: 1150px) {
  .winter-counter { grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); }
  .winter-counter__photo { display: none; }
  .winter-counter__stat { padding: 2.2rem; }
  .winter-counter__copy { padding: 2.2rem; }
  .winter-counter__number { font-size: clamp(6.5rem, 13vw, 9.5rem); }
  .winter-counter .winter-counter__copy h2 { font-size: clamp(1.6rem, 3.3vw, 2.5rem); }
}
@media (max-width: 650px) {
  .winter-counter {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 1.2rem);
    margin-top: .6rem;
    border-radius: 1.5rem;
  }
  .winter-counter__stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    justify-content: initial;
    gap: .25rem 1.2rem;
    padding: 1.6rem 1.4rem 1.3rem;
  }
  .winter-counter__stat::after {
    top: auto;
    right: 1.4rem;
    bottom: 0;
    left: 1.4rem;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(182, 218, 250, .3), transparent);
  }
  .winter-counter__eyebrow { grid-column: 1 / -1; margin-bottom: .45rem; font-size: .66rem; }
  .winter-counter__number { align-self: end; margin-bottom: -.06em; font-size: clamp(5.7rem, 24vw, 8rem); }
  .winter-counter__label { padding-bottom: .3rem; font-size: clamp(.72rem, 2.8vw, .93rem); line-height: 1.6; }
  .winter-counter--large .winter-counter__stat { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .winter-counter--large .winter-counter__number { margin-bottom: 0; }
  .winter-counter--large .winter-counter__label { padding-bottom: 0; font-size: .84rem; }
  .winter-counter__crystal { top: -2.5rem; left: auto; right: -2rem; width: 240px; }
  .winter-counter__copy { padding: 1.3rem 1.4rem 1.6rem; }
  .winter-counter .winter-counter__kicker { font-size: .59rem; margin-bottom: .6rem; }
  .winter-counter .winter-counter__copy h2 { font-size: clamp(1.28rem, 5.6vw, 2rem); }
  .winter-counter__copy > p:not([class]) { font-size: .82rem; }
  .winter-counter__actions { gap: .3rem 1rem; margin-top: 1.1rem; }
  .winter-counter__button { font-size: .77rem; }
  .winter-counter__details { font-size: .72rem; }
  .winter-counter .winter-counter__note { font-size: .61rem; }
}
@media (prefers-reduced-motion: reduce) {
  .winter-counter__button { transition: none; }
  .winter-counter__button:hover { transform: none; }
  .winter-counter__snow { display: none; }
  .winter-counter__flake { animation: none; }
}
