/* ==========================================================================
   Blocks: range band, stat row, offer blocks, contact wink, data foot, text links
   ========================================================================== */

/* ---------- Range band: running marquee under the hero ---------- */
.range-band {
  padding-block: 1rem;
  border-block: 1px solid var(--tinte-hair);
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  gap: 0;
  animation: marquee 70s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1rem;  /* (27.10.) bigger, easier to read */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--petrol-text);
}

/* (27.10.) Pauses while the mouse is on it, so it can be read. Touch screens have no hover, so only for a mouse */
@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
/* Phones (31.10.): a tap stops it, the next tap starts it again (js/marquee.js) */
.marquee.is-paused .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Stat row (The Data): numbers without boxes ---------- */
.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 0 clamp(2rem, 3.5vw, 2.75rem);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-item .stat-number { margin: 0; }
.stat-item .stat-label { margin: 0; }

@media (min-width: 760px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .stat-item + .stat-item {
    padding-left: 3rem;
    margin-left: -1.5rem;
    border-left: 1px solid var(--tinte-hair);
  }
}

/* ---------- Offer text blocks ---------- */
.offer-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.offer-block h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}
.offer-block p { max-width: 42rem; }

/* Asterisk instead of a bullet */
.star-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.star-list li {
  display: grid;
  grid-template-columns: 0.85rem 1fr;
  gap: 0.3rem;
  align-items: baseline;
}
.star-list li::before {
  content: "*";
  color: var(--magenta);
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1;
}

@media (min-width: 860px) {
  .offer-blocks { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact wink ---------- */
.contact-wink {
  margin-bottom: 1rem;
  font-style: italic;
  font-size: var(--fs-lead);
}

/* Shared: box with a shift gradient frame, no fill */
.framed {
  padding: 1.5rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--porzellan), var(--porzellan)) padding-box,
    var(--shift-gradient) border-box;
}


/* ---------- The Data foot: testimonials link ---------- */
.data-foot { display: flex; flex-direction: column; gap: 2rem; }

/* ---------- Teaser links to the subpages ---------- */
.teaser-link { margin-top: 1.5rem; }
.section-head + .teaser-link { margin-top: 0; }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 500;
  font-size: var(--fs-body);
  text-decoration: none;
  padding-bottom: 0.15rem;
  background: var(--shift-gradient) left bottom / 100% 2px no-repeat;
  transition: gap 0.2s ease;
}
.text-link:hover { gap: 0.7rem; }


/* ---------- Homepage ending: one statement, one CTA (no second frame) ---------- */
.offer-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  max-width: 44rem;
  text-align: center;
}
.offer-closing {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.stat-number { font-variant-numeric: tabular-nums; }

/* ---------- My Offer: quiet text link to the Culture Check (muted Tinte, Petrol on hover, small Magenta asterisk) ---------- */
.check-teaser {
  font-size: var(--fs-small);
  color: var(--tinte-soft);
}
.check-teaser a {
  text-decoration: none;
  transition: color 0.15s ease;
}
.check-teaser a:hover { color: var(--petrol); }
.check-star { color: var(--magenta); }
