/* Ergaenzungen der spanischen Website zum gemeinsamen A4L-Designsystem (site.css).
   Bewusst nur neue Bausteine: Sprachumschalter, Produktkarten, Technik-Band, Sektor-Split. */

/* --- Sprachumschalter im Header ------------------------------------------- */
.lang-switch {
  border: 1px solid var(--line);
  color: #526371;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.lang-switch:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.site-header--open .lang-switch {
  border-color: var(--line-light);
  color: #fff;
}

/* --- Eigene Software: Produktkarten --------------------------------------- */
.product-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}
.product-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  height: 100%;
  padding: 34px;
  transition: background 0.35s, color 0.35s, transform 0.35s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card > span {
  color: var(--pink);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
}
.product-card h3 {
  letter-spacing: -0.045em;
  margin: 58px 0 4px;
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 590;
}
.product-card strong {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 14px;
  display: block;
  transition: color 0.35s;
}
.product-card p {
  max-width: 540px;
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 17px;
  transition: color 0.35s;
}
.product-card ul {
  border-top: 1px solid var(--line);
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 9px;
  transition: border-color 0.35s;
}
.product-card li {
  color: #4a5a66;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  font-size: 11.5px;
  padding-left: 17px;
  position: relative;
  transition: color 0.35s;
}
.product-card li:before {
  content: "";
  background: var(--teal);
  width: 7px;
  height: 1px;
  position: absolute;
  top: 9px;
  left: 0;
}
.product-card:hover {
  z-index: 1;
  background: var(--navy);
  color: #fff;
  transform: translateY(-6px);
}
.product-card:hover strong {
  color: var(--pink-soft);
}
.product-card:hover p,
.product-card:hover li {
  color: #c6d3dc;
}
.product-card:hover ul {
  border-color: var(--line-light);
}

/* --- Technik-Band ---------------------------------------------------------- */
.tech-strip {
  background: var(--navy-2);
  color: #fff;
  padding: 92px 0;
}
.tech-strip h2 {
  letter-spacing: -0.045em;
  margin: 0 0 34px;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 590;
}
.tech-strip h2 em {
  color: var(--pink-soft);
  font-style: normal;
}
.tech-strip__list {
  border-top: 1px solid var(--line-light);
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 30px;
  display: flex;
}
.tech-strip__list span {
  border: 1px solid var(--line-light);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  padding: 9px 13px;
  font-size: 11px;
  text-transform: uppercase;
}

/* --- Sektor-Split ---------------------------------------------------------- */
.sector-split {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  display: grid;
}
.sector-split > div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 36px 46px;
}
.sector-split h3 {
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 590;
}
.sector-split p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 17px;
  max-width: 540px;
}
.sector-split ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #4a5a66;
  font-size: 15px;
  display: grid;
  gap: 7px;
}

/* --- Kleinere Helfer ------------------------------------------------------- */
.lead-note {
  border-left: 2px solid var(--pink);
  color: var(--muted);
  margin: 34px 0 0;
  padding: 4px 0 4px 20px;
  font-size: 16px;
  max-width: 720px;
}
.legal-pending {
  border: 1px dashed var(--pink);
  color: #6b2338;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .product-grid,
  .sector-split {
    grid-template-columns: 1fr;
  }
  .lang-switch {
    display: none;
  }
}

@media (max-width: 760px) {
  .product-card {
    padding: 28px 22px;
  }
  .product-card h3 {
    margin-top: 40px;
  }
  .sector-split > div {
    padding: 30px 22px 34px;
  }
  .tech-strip {
    padding: 70px 0;
  }
}

/* Servicekarten ohne Detailseite: gleiches Aussehen, aber nicht klickbar. */
.service-card--static {
  cursor: default;
}

/* Dekorative Elemente des Designsystems ragen auf schmalen Screens ueber den Rand.
   site.css klammert nur body; auf html fehlt es, dadurch bleiben 4 px Querlauf. */
html {
  overflow-x: hidden;
}
