/*
 * Theme „Kräftig“ – Feinschliff. Grundaussehen kommt aus dem Kern (site.css) und theme.json.
 * Schriften liegen im Theme (Oswald, Inter – SIL Open Font License, siehe schriften/*-OFL.txt).
 */
@font-face {
  font-family: "Oswald";
  src: url("schriften/oswald-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("schriften/oswald-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("schriften/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("schriften/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Überschriften: schmal, groß, Hervorhebung in Rot ---------- */
h1,
h2,
h3 {
  line-height: 1.08;
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

.hero__title,
.banner__title {
  line-height: 1;
}

:is(.section-title, .hero__title, .banner__title, .cta__title) strong {
  color: var(--color-primary);
}

:is(.jx-bg--accent, .form-block--box, .jx-v--card .cta) :is(.section-title, .cta__title, .banner__title) strong {
  color: var(--color-dark);
}

/* Kurzer roter Balken statt der feinen Linie unter Überschriften */
.section-head::after,
.jx-bg--dark .section-head::after,
.jx-bg--image .section-head::after {
  width: 64px;
  height: 4px;
  margin-top: 22px;
  background: var(--color-primary);
}

.jx-bg--accent .section-head::after {
  background: var(--color-dark);
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  margin-right: 0.6em;
  background: currentColor;
  vertical-align: middle;
}

/* ---------- Buttons: kantig mit hartem Schatten ---------- */
.btn {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.btn--primary {
  box-shadow: 4px 4px 0 var(--color-dark);
  transition: background-color 0.2s, box-shadow 0.15s, transform 0.15s;
}

.btn--primary:hover {
  box-shadow: 2px 2px 0 var(--color-dark);
  transform: translate(2px, 2px);
}

:is(.jx-bg--dark, .jx-bg--image, .hero) .btn--primary {
  box-shadow: 4px 4px 0 var(--color-accent);
}

:is(.jx-bg--dark, .jx-bg--image, .hero) .btn--primary:hover {
  box-shadow: 2px 2px 0 var(--color-accent);
}

.jx-bg--accent .btn--primary {
  box-shadow: 4px 4px 0 var(--color-dark);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary,
  .btn--primary:hover {
    transform: none;
    transition: none;
  }
}

/* ---------- Kopf- und Fußbereich ---------- */
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-logo__mark {
  color: var(--color-primary);
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .site-nav a {
    font-size: 0.92rem;
  }
}

.site-topbar {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.site-footer {
  border-top: 5px solid var(--color-primary);
}

/* ---------- Abschnitte ---------- */
.fact__value,
.price__value,
.step__title,
.card__title,
.feature__title,
.team__name {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fact__value {
  font-weight: 700;
}

.card__eyebrow {
  color: var(--color-accent);
}

/* Gelbe Kacheln: dunkle Schrift, damit sie gut lesbar bleibt */
.jx-v--tiles :is(.feature, .fact):nth-child(even) {
  --heading-color: var(--color-dark);
  color: var(--color-dark);
}

/* Demo-Website von Jupix: Hinweis ganz unten im Fuß */
.site-footer::after {
  content: "Demo-Website von Jupix · Betrieb, Angaben und Preise sind erfunden · Formulare senden nichts";
  display: block;
  padding: 14px var(--gutter) 0;
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.75;
}
