/*
 * Paleco – Kunden-Theme (Nachbau der bisherigen Website paleco.ch).
 * Schwarz/Weiß/Rot, Systemschrift, Fotos mit dunklem Verlauf und roter Kante, dunkles Kontakt-Band.
 * Wird nach dem Grundaussehen (site.css) geladen und verfeinert es nur.
 */

:root {
  --paleco-red: #cc0202;
  --paleco-red-dark: #a30101;
  --paleco-red-light: #ff0000;
  --paleco-alt: #f9f9f9;
  --paleco-black: #191919;
  --paleco-card: #262a2b;
  --line: #dddddd;
  --header-h: 96px;
  --space: 72px;
}

html {
  font-size: 17px;
}

body {
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 960px) {
  :root {
    --space: 119px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.btn--primary:hover {
  background: var(--paleco-red-dark);
}

/* ---------- Kopfbereich: durchsichtig über dem Foto, beim Scrollen dunkel ---------- */
.site-header__inner {
  min-height: var(--header-h);
  padding-block: 0.85rem;
}

img.site-logo__image {
  max-width: none;
  max-height: 65px;
}

.jx-header--transparent .site-header.is-scrolled,
.jx-header--transparent .site-header.is-open,
.jx-header--top .site-header {
  background: rgba(17, 17, 17, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.site-header .nav-toggle,
.site-header .site-logo {
  color: #fff;
}

.site-header__call {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--paleco-red);
  color: #fff;
}

.site-header__call svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  background: rgba(17, 17, 17, 0.98);
}

.site-nav a {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .site-nav {
    background: none;
  }

  .site-nav ul {
    align-items: center;
    gap: 34px;
  }

  .site-nav a,
  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"],
  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav a:hover {
    border-bottom-color: var(--paleco-red);
    color: #fff;
  }

  .site-nav__phone {
    margin-left: 12px;
  }

  .site-nav .site-nav__phone a.btn,
  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav .site-nav__phone a.btn {
    padding: 0.9rem 1.8rem;
    border: 0;
    background: var(--paleco-red);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .site-nav .site-nav__phone a.btn:hover {
    background: var(--paleco-red-dark);
  }
}

/* Handy-Menü: Telefon-Knopf mit Abstand nach oben und innen, Text mittig */
@media (max-width: 899px) {
  .site-nav .site-nav__phone .btn {
    display: flex;
    justify-content: center;
    margin: 18px 0 6px;
    padding: 1rem 1.5rem;
    border: 0;
    background: var(--paleco-red);
    color: #fff;
    font-size: 0.9rem;
  }
}

/* ---------- Großes Foto oben (Bild-Banner): dunkler Verlauf von links, rote Kante unten ---------- */
.jx-s--banner.jx-bg--image {
  display: flex;
  align-items: center;
  min-height: 560px;
  background: var(--paleco-black);
}

main > .jx-s--banner:first-child {
  min-height: max(560px, 62vh);
}

.jx-s--banner.jx-bg--image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 6px;
  background: var(--paleco-red);
}

.jx-s--banner .jx-s__bg img {
  object-position: 70% 50%;
}

/* Verlauf links dunkel; dazu die Einstellung „Abdunkeln“ des Abschnitts
   und oben ein dunkler Streifen, damit Logo und Menü lesbar bleiben */
.jx-s--banner .jx-s__bg::after {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, calc(var(--overlay, 0) + 0.2)) 0, rgba(17, 17, 17, 0) 200px),
    linear-gradient(rgba(17, 17, 17, var(--overlay, 0)), rgba(17, 17, 17, var(--overlay, 0))),
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.75) 42%, rgba(17, 17, 17, 0.15) 100%);
  opacity: 1;
}
.jx-s--banner > .jx-s__inner {
  width: 100%;
}

.jx-s--banner .banner {
  max-width: var(--container);
}

.jx-s--banner .banner > * {
  max-width: 640px;
}

.jx-s--banner .breadcrumb ol {
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #bbb;
  font-size: 0.85rem;
  font-weight: 500;
}

.jx-s--banner .breadcrumb li + li::before {
  margin-right: 0.5rem;
  color: var(--paleco-red-light);
  opacity: 1;
}

.jx-s--banner .breadcrumb a {
  color: #bbb;
  opacity: 1;
  text-decoration: none;
}

.jx-s--banner .breadcrumb a:hover {
  color: #fff;
}

.jx-s--banner .breadcrumb [aria-current] {
  color: #fff;
  font-weight: 500;
}

.jx-s--banner .section-eyebrow {
  margin-bottom: 1rem;
  color: var(--paleco-red-light);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.jx-v--left .banner__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

/* Startseite: leichter Titel mit fettem Firmennamen und rotem Schlüsselwort */
.jx-s--banner .banner__title:has(.section-eyebrow) {
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.banner__title b {
  font-weight: 900;
}

.banner__title strong {
  color: var(--paleco-red-light);
  font-weight: 700;
}

.jx-s--banner .banner__text {
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  opacity: 1;
}

.jx-s--banner .banner__actions {
  gap: 1rem;
  margin-top: 3rem;
}

.jx-s--banner .banner__actions .btn {
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.jx-s--banner .banner__actions .btn:first-child {
  border: 0;
  background: var(--paleco-red);
  color: #fff;
}

.jx-s--banner .banner__actions .btn:first-child:hover {
  background: var(--paleco-red-dark);
}

.jx-s--banner .banner__button2 {
  border: 1px solid #fff;
}

@media (max-width: 860px) {
  .jx-s--banner.jx-bg--image,
  main > .jx-s--banner:first-child {
    min-height: 0;
  }

  .jx-s--banner .jx-s__bg::after {
    /* plus die Einstellung „Abdunkeln“ des Abschnitts – am Handy kräftiger, weil der Text über die ganze Breite steht */
    background:
      linear-gradient(rgba(17, 17, 17, calc(var(--overlay, 0) * 1.5)), rgba(17, 17, 17, calc(var(--overlay, 0) * 1.5))),
      linear-gradient(180deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.5) 28%, rgba(17, 17, 17, 0.75) 55%, rgba(17, 17, 17, 0.97) 80%);
  }

  .jx-s--banner .banner__actions {
    flex-direction: column;
  }

  .jx-s--banner .banner__actions .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Kleine rote Zeile über Überschriften ---------- */
.section-eyebrow,
.card__eyebrow {
  color: var(--paleco-red);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.section-title b {
  font-weight: 900;
}

/* ---------- Über uns (Text mit Bild, Namensschild) ---------- */
.jx-s--text_image .split {
  align-items: center;
}

@media (min-width: 900px) {
  .jx-s--text_image .split {
    grid-template-columns: 7fr 5fr;
    gap: 76px;
  }
}

.jx-s--text_image .split__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.name-tag {
  right: -1rem;
  bottom: 1.5rem;
  padding: 1rem 1.4rem;
  border-radius: 4px;
  background: var(--paleco-black);
}

.name-tag strong {
  font-size: 1.05rem;
}

.name-tag span {
  color: #aaa;
  opacity: 1;
}

.jx-s--text_image .section-title {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  font-weight: 900;
}

.jx-s--text_image .prose {
  color: var(--color-muted);
}

@media (max-width: 899px) {
  .jx-s--text_image .split__media {
    order: 2;
    margin-inline: calc(-1 * var(--gutter));
  }

  .jx-s--text_image .split__media img {
    border-radius: 0;
  }

  .name-tag {
    right: 1rem;
  }
}

/* ---------- Sortiment (großes Bild + Kacheln) ---------- */
.jx-v--bento,
.jx-s--cards.jx-v--plain {
  background: var(--paleco-alt);
}

.jx-v--bento .section-head,
.jx-s--cards .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
  margin-bottom: 3rem;
  text-align: left;
}

.jx-v--bento .section-title,
.jx-s--cards .section-title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: left;
}

.jx-v--bento .section-intro {
  max-width: 440px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.jx-v--bento .cards {
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .jx-v--bento .cards {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .jx-v--bento .card:first-child {
    grid-column: span 1;
    min-height: 480px;
  }
}

.jx-v--bento .card,
.jx-s--cards.jx-v--standard .card {
  position: relative;
  border-radius: 8px;
  background: #fff;
}

/* Ganze Karte klickbar (der Button ist nur noch der unsichtbare Link darüber) */
.jx-v--bento .card__button,
.jx-s--cards.jx-v--standard .card__button {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  background-color: transparent;
  font-size: 0;
}

.jx-v--bento .card__button::after,
.jx-s--cards.jx-v--standard .card__button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.jx-v--bento .card__media img {
  aspect-ratio: 3 / 2;
}

.jx-v--bento .card__body {
  padding: 1rem 1.5rem 1.5rem;
}

.jx-v--bento .card__title {
  order: 1;
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
}

.jx-v--bento .card__text {
  order: 2;
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.jx-v--bento .card__eyebrow {
  order: 3;
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Erste Karte: Foto füllt die Karte, roter Balken unten */
.jx-v--bento .card:first-child {
  background: var(--paleco-black);
}

.jx-v--bento .card:first-child .card__media {
  position: absolute;
  inset: 0;
}

.jx-v--bento .card:first-child .card__media :is(picture, img) {
  height: 100%;
}

.jx-v--bento .card:first-child .card__media img {
  aspect-ratio: auto;
}

.jx-v--bento .card:first-child .card__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
  margin-top: auto;
  padding: 1rem 1.5rem;
  background: var(--paleco-red);
  color: #fff;
}

.jx-v--bento .card:first-child .card__title {
  grid-column: 1;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.jx-v--bento .card:first-child .card__text {
  grid-column: 1;
  color: #fff;
}

.jx-v--bento .card:first-child .card__eyebrow {
  grid-column: 1;
  margin: 1rem 0 0;
  color: #fff;
  font-size: 0.8rem;
  text-align: left;
}

/* Kasten „Und mehr“ (Karte ohne Bild) */
.jx-v--bento .card--no-image {
  background: var(--paleco-black);
}

.jx-v--bento .card--no-image .card__body {
  padding: 1.5rem;
}

.jx-v--bento .card--no-image .card__eyebrow {
  order: 0;
  margin: 0 0 0.5rem;
  color: var(--paleco-red);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jx-v--bento .card--no-image .card__title {
  color: #fff;
}

.jx-v--bento .card--no-image .card__text {
  color: #bbb;
}

.jx-v--bento .card--no-image .card__button {
  order: 4;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--paleco-red-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

@media (max-width: 559px) {
  .jx-v--bento .card:first-child .card__media {
    position: static;
  }

  .jx-v--bento .card:first-child .card__body {
    grid-template-columns: 1fr;
  }

  .jx-v--bento .card:first-child .card__eyebrow {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.5rem;
    text-align: left;
  }
}

/* ---------- Dienstleistungen (Überschrift links, Liste rechts) ---------- */
@media (min-width: 960px) {
  .features-split {
    grid-template-columns: 1fr 1.6fr;
    gap: 76px;
  }
}

.features-split .section-title {
  color: var(--color-text);
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
}

.jx-v--split .features {
  gap: 0 3rem;
}

.jx-v--split .feature {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.jx-v--split .feature__title {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
}

.jx-v--split .feature:last-child {
  grid-column: 1 / -1;
}

.jx-v--split .feature:last-child .feature__title {
  color: var(--paleco-red);
  font-weight: 600;
}

/* ---------- Kontakt-Band (dunkel, Formular rechts) ---------- */
.jx-s--contact.jx-bg--dark {
  background: var(--paleco-black);
}

.contact-split .section-eyebrow {
  color: var(--paleco-red-light);
}

.contact-split .section-title {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.contact-split .section-title strong {
  color: var(--paleco-red-light);
  font-weight: 900;
}

.contact-split__phone {
  margin: 0 0 3rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
}

.contact-split__phone a {
  color: #fff;
}

.contact-split__details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-split__details .contact__label {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-split__details a {
  color: #bbb;
  text-decoration: none;
}

.contact-split__form {
  padding: 3rem;
  border-radius: 8px;
  background: var(--paleco-card);
}

.contact-split__form-heading {
  color: #fff;
  font-size: 0.78rem;
}

/* Formular im Kontakt-Band: kompakt, nur Platzhalter, Telefon und E-Mail nebeneinander */
.contact-split__form .jx-form {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: none;
}

.contact-split__form .jx-form > * {
  grid-column: 1 / -1;
}

.contact-split__form .jx-form__field--phone,
.contact-split__form .jx-form__field--email {
  grid-column: auto;
}

.contact-split__form .jx-form__field:not(.jx-form__field--consent) .jx-form__label,
.contact-split__form .jx-form__note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-split__form .jx-form input[type="text"],
.contact-split__form .jx-form input[type="email"],
.contact-split__form .jx-form input[type="tel"],
.contact-split__form .jx-form textarea,
.form-block .jx-form input[type="text"],
.form-block .jx-form input[type="email"],
.form-block .jx-form input[type="tel"],
.form-block .jx-form textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
}

.contact-split__form .jx-form textarea {
  min-height: 110px;
}

.contact-split__form .jx-form__check {
  color: #fff;
  font-size: 0.82rem;
}

.contact-split__form .jx-form__check a {
  color: #fff;
}

.contact-split__form .jx-form__submit,
.form-block .jx-form__submit {
  justify-content: center;
  width: 100%;
  padding: 0.9rem;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .contact-split__details {
    grid-template-columns: 1fr 1fr;
  }

  .contact-split__form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-split__details,
  .contact-split__form .jx-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Produktseiten: Eckdaten ---------- */
.jx-s--facts .section-head {
  max-width: none;
  margin: 0 0 1.5rem;
  text-align: left;
}

.jx-s--facts .section-title {
  margin: 0;
  text-align: left;
}

.jx-v--lines .facts {
  gap: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.jx-v--lines .fact {
  padding: 1rem 1.5rem 0.25rem 0;
}

.jx-v--lines .fact:nth-child(even) {
  border-left: 0;
}

@media (min-width: 760px) {
  .jx-v--lines .fact + .fact {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 759px) {
  .jx-v--lines .fact {
    border-bottom: 1px solid var(--line);
  }
}

.fact__value {
  margin: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.fact__text {
  margin: 0.4rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* ---------- Produktseiten: Beschreibung + Ausführungen ---------- */
.jx-v--plain .cards {
  gap: 4.5rem;
}

.jx-v--plain .card {
  background: none;
}

.jx-v--plain .card__body {
  padding: 0;
}

.jx-v--plain .card__title:empty {
  display: none;
}

.jx-v--plain .card__eyebrow {
  margin-bottom: 1.5rem;
}

.jx-v--plain .card__text {
  width: 100%;
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.jx-v--plain .card__text ul {
  margin: 0;
}

.jx-v--plain .card__text ul li {
  margin: 0;
  padding: 0.75rem 0 0.75rem 2rem;
  border-top: 1px solid var(--line);
}

.jx-v--plain .card__text ul li::before {
  top: 0.75rem;
}

.jx-v--plain .card__text ol {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ausf;
}

.jx-v--plain .card__text ol li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--paleco-red);
  background: #fff;
  font-weight: 500;
  counter-increment: ausf;
}

.jx-v--plain .card__text ol li::before {
  content: counter(ausf, decimal-leading-zero);
  position: static;
  color: var(--paleco-red);
  font-size: 0.85rem;
  font-weight: 900;
}

/* ---------- Produktseiten: passende Artikel ---------- */
.jx-s--cards.jx-v--standard .section-head {
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.section-more {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.section-more:hover {
  color: var(--paleco-red);
}

.jx-s--cards.jx-v--standard .card {
  border-radius: 0;
  background: var(--paleco-alt);
}

.jx-s--cards.jx-v--standard .card__media img {
  aspect-ratio: 3 / 2;
}

.jx-s--cards.jx-v--standard .card__body {
  position: static;
  padding: 1rem 3.5rem 1.5rem 1.5rem;
}

.jx-s--cards.jx-v--standard .card__body::after {
  content: "→";
  position: absolute;
  right: 1.5rem;
  bottom: 2rem;
  color: var(--paleco-red);
  font-size: 1.2rem;
  font-weight: 700;
  pointer-events: none;
}

.jx-s--cards.jx-v--standard .card:hover .card__title {
  color: var(--paleco-red);
}

.jx-s--cards.jx-v--standard .card__title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
}

.jx-s--cards.jx-v--standard .card__text {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 759px) {
  .jx-s--cards.jx-v--standard .card {
    flex-direction: row;
  }

  .jx-s--cards.jx-v--standard .card__media {
    flex: 0 0 120px;
  }

  .jx-s--cards.jx-v--standard .card__media img {
    height: 100%;
    aspect-ratio: 1 / 1;
  }
}

/* ---------- Kontaktseite: Formular neben dem Bild ---------- */
.jx-s--form .form-block {
  padding: 3rem;
  border-radius: 8px;
  background: #e8e8e8;
}

.jx-s--form .form-aside {
  align-items: start;
}

.jx-s--form .form-aside__media img {
  max-width: 420px;
  border-radius: 0;
}

.form-aside__caption strong {
  font-size: 1rem;
}

.jx-s--form .section-head {
  max-width: none;
  margin: 0 0 1.5rem;
  text-align: left;
}

.jx-s--form .section-intro {
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .jx-s--form .form-block {
    padding: 1.5rem;
  }
}

/* Karte: grauer Hintergrund, Karte mittig */
.jx-s--map {
  background: var(--paleco-alt);
}

/* Ausschnitt auf das Paleco-Kreuz ausrichten */
.jx-s--map .map__image img {
  object-position: 64% 45%;
}

@media (max-width: 759px) {
  /* Am Handy höher, damit die Karte größer erscheint (ohne eigenes Handy-Bild) */
  /* Kasten auf der Handy-Karte: Abstand zur schrägen roten Kante */
  .jx-s--map .map--mobile .map__overlay {
    padding-bottom: 64px;
  }

  .jx-s--map .map__image:not(.map__image--mobile) img {
    height: 360px;
  }
}

/* Infoband in Rot mit schräger Kante */
.jx-s--features.jx-bg--accent {
  background: var(--paleco-red);
}

.jx-s--features.jx-v--list .feature__title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}

.jx-s--features.jx-v--list .feature__icon {
  color: #fff;
}

.jx-s--features.jx-v--list .feature__text {
  color: #fff;
  font-size: 0.95rem;
}

.jx-s--features.jx-v--list .feature__text a {
  color: #fff;
}

/* ---------- Rechtliches ---------- */
.jx-s--text .text-block--wide {
  max-width: 900px;
  margin-inline: 0;
}

.jx-s--text .prose h3 {
  margin-top: 2em;
  font-size: 1.5rem;
  font-weight: 700;
}

.jx-s--text .prose h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ---------- Fußbereich: schwarz, Logo links, Links rechts ---------- */
.site-footer {
  padding-block: 1.5rem;
  background: #000;
  color: #888;
}

.site-footer__inner {
  flex-direction: column;
  justify-content: center;
}

.site-footer__links {
  justify-content: center;
  row-gap: 0.6rem;
}

@media (min-width: 760px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__logo img.site-logo__image {
  max-height: 45px;
}

.site-footer__links {
  column-gap: 1.5rem;
}

.site-footer a {
  color: #ccc;
  font-size: 0.85rem;
}

.site-footer a:hover {
  color: #fff;
}

/* ---------- Hinweis „keine Cookies“: weiße Karte unten rechts ---------- */
.jx-notice {
  right: 16px;
  left: auto;
  flex-direction: column;
  align-items: stretch;
  max-width: 340px;
  padding: 1rem;
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.jx-notice a {
  color: var(--paleco-red);
}

.jx-notice__close {
  border: 0;
  background: var(--paleco-red);
  color: #fff;
  text-transform: uppercase;
}

.jx-notice__close:hover {
  background: var(--paleco-red-dark);
}

/* ---------- Feinschliff nach Bildschirmfoto-Abgleich ---------- */
.jx-s--cards .card {
  border: 0;
  box-shadow: none;
}

.jx-s--text .prose > h3:first-child {
  margin-top: 0;
}

/* Formular auf der Kontaktseite: wie im Kontakt-Band Telefon und E-Mail nebeneinander */
.jx-s--form .jx-form {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: none;
}

.jx-s--form .jx-form > * {
  grid-column: 1 / -1;
}

.jx-s--form .jx-form__field--phone,
.jx-s--form .jx-form__field--email {
  grid-column: auto;
}

@media (max-width: 480px) {
  .jx-s--form .jx-form {
    grid-template-columns: 1fr;
  }
}

/* Infoband: drei Spalten */
@media (min-width: 960px) {
  .jx-s--features.jx-v--list .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Kasten „Und mehr“: Telefon-Aufruf als roter Knopf mit weißer Schrift */
.jx-v--bento .card--no-image .card__button.btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.75em 1.2em;
  border-radius: 4px;
  background-color: var(--paleco-red);
  color: #fff;
  font-size: 0.85rem;
}

.jx-v--bento .card--no-image .card__body {
  gap: 0;
}

.jx-v--bento .card--no-image .card__text {
  margin-bottom: 1.2rem;
}

/* Handy: Sortiment-Kacheln mit kleinem Bild links */
@media (max-width: 559px) {
  .jx-v--bento .card:not(:first-child):not(.card--no-image) {
    flex-direction: row;
  }

  .jx-v--bento .card:not(:first-child):not(.card--no-image) .card__media {
    flex: 0 0 140px;
  }

  .jx-v--bento .card:not(:first-child):not(.card--no-image) .card__media :is(picture, img) {
    height: 100%;
  }

  .jx-v--bento .card:not(:first-child):not(.card--no-image) .card__media img {
    aspect-ratio: 1 / 1;
  }
}

/* Tablet: große Europaletten-Kachel über die ganze Breite, Foto sichtbar, Beschriftung darunter */
@media (min-width: 560px) and (max-width: 959px) {
  .jx-v--bento .card:first-child {
    grid-column: 1 / -1;
  }

  .jx-v--bento .card:first-child .card__media {
    position: static;
  }

  .jx-v--bento .card:first-child .card__media img {
    aspect-ratio: 16 / 7;
  }
}

/* Europaletten-Kachel: Zeile mit den Ausführungen umbricht am Punkt */
.jx-v--bento .card:first-child .card__eyebrow {
  max-width: 26em;
}
/* Europaletten-Kachel: Ausführungen fett unter dem Text */
.jx-v--bento .card:first-child .card__text p + p {
  margin-top: 1rem;
}

.jx-v--bento .card:first-child .card__text strong {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Icons in den Knöpfen oben (Telefon, E-Mail): echte Icons, passend zur Schrift ---------- */
.banner .btn[href^="tel:"]::before,
.banner .btn[data-mail]::before {
  content: "";
  flex: none;
  width: 1.7em;
  height: 1.7em;
  background: currentColor;
  -webkit-mask: var(--paleco-btn-icon) center / contain no-repeat;
  mask: var(--paleco-btn-icon) center / contain no-repeat;
}

.banner .btn[href^="tel:"] {
  --paleco-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
}

.banner .btn[data-mail] {
  --paleco-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v.3l-10 6.4L2 7.3V7a2 2 0 0 1 2-2zm-2 4.6l9.5 6.1c.3.2.7.2 1 0L22 9.6V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.6z'/%3E%3C/svg%3E");
}
