/* =========================================================
   JJ INDUSTRIES (Einsatzgebiete) – Overview + Detail
   ========================================================= */

.jj-industry{
  --jj-bg: #2f3236;
  --jj-panel: rgba(255,255,255,.06);
  --jj-border: rgba(255,255,255,.12);

  --jj-ink: #fff;
  --jj-muted: rgba(255,255,255,.72);

  --jj-blue: #2f5f78;
  --jj-radius: 16px;

  --jj-pad: clamp(32px, 5vw, 74px);

  color: var(--jj-ink);
}

/* -------------------------
   Shared container spacing
   ------------------------- */
.jj-industry__wrap{
  padding: var(--jj-pad);
}

/* Head */
.jj-industry__head{
  max-width: 980px;
  margin: 0 auto 22px;
}

.jj-industry__kicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,.62);
  margin: 0 0 10px;
}

.jj-industry__title{
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 1.4vw + 1.4rem, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
}

 .jj-industry__intro{
  margin: 0;
  color: var(--jj-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 80ch;
}

/* =========================================================
   OVERVIEW (Grid)
   ========================================================= */

 .jj-industry__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.jj-industry__card{
  grid-column: span 4;
  background: var(--jj-panel);
  border: 1px solid var(--jj-border);
  border-radius: var(--jj-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;

  text-decoration: none;
  color: var(--jj-ink);

  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform 220ms ease;
}
 .jj-industry__card:hover{
  transform: translateY(-2px);
}

/* Image */
.jj-industry__media{
  height: 170px;
  background: radial-gradient(circle at top, #1f2933 0%, #0f172a 70%);
  position: relative;
  overflow: hidden;
}
 .jj-industry__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 260ms ease;
}
 .jj-industry__card:hover .jj-industry__media img{
  transform: scale(1.07);
}

/* Body */
.jj-industry__body{
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jj-industry__cardtitle{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

 .jj-industry__excerpt{
  margin: 0;
  color: var(--jj-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* CTA */
 .jj-industry__more{
  margin-top: auto;
  padding: 0 16px 16px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(47,95,120,.95);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}

/* =========================================================
   DETAIL (Subpages)
   ========================================================= */

 .jj-industry__hero{
  position: relative;
  background: var(--jj-bg);
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.jj-industry__heroMedia{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.jj-industry__heroMedia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .9;
}
.jj-industry__hero::after{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 25% 45%, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.12) 100%),
    linear-gradient(90deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.34) 42%, rgba(0,0,0,.20) 100%);
}

.jj-industry__heroInner{
  position: relative;
  z-index: 2;
  padding: var(--jj-pad);
  min-height: clamp(300px, 40vh, 460px);

  display: grid;
  align-items: center;
}

.jj-industry__heroTitle{
  margin: 0 0 10px;
  font-size: clamp(2rem, 2.2vw + 1.4rem, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
}
 .jj-industry__heroText{
  margin: 0;
  max-width: 70ch;
  color: var(--jj-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Content layout */
 .jj-industry__layout{
  padding: var(--jj-pad);
  display: grid;
  grid-template-columns: 1.55fr .85fr;
  gap: 22px;
  align-items: start;
}

/* Main article */
.jj-industry__article{
  background: rgba(0,0,0,.10);
  border: 1px solid var(--jj-border);
  border-radius: var(--jj-radius);
  padding: 20px 20px;
}

.jj-industry__article h2,
 .jj-industry__article h3{
  margin: 18px 0 10px;
  font-weight: 900;
}
.jj-industry__article p{
  margin: 0 0 12px;
  color: var(--jj-muted);
  line-height: 1.75;
  font-size: 15px;
}

/* Sidebar */
 .jj-industry__side{
  position: sticky;
  top: 18px;
}

.jj-industry__cardSide{
  background: rgba(0,0,0,.18);
  border: 1px solid var(--jj-border);
  border-radius: var(--jj-radius);
  padding: 16px;
}

.jj-industry__sideTitle{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

 .jj-industry__sideText{
  margin: 0 0 12px;
  color: var(--jj-muted);
  font-size: 14px;
  line-height: 1.6;
}

 .jj-industry__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;

  background: rgba(47,95,120,.22);
  border: 1px solid rgba(47,95,120,.45);

  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
}
.jj-industry__cta:hover{ background: rgba(47,95,120,.32); }

/* Small list (optional) */
.jj-industry__list{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
 .jj-industry__list a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.jj-industry__list a:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px){
.jj-industry__card{ grid-column: span 6; }
}
@media (max-width: 780px){
 .jj-industry__wrap{ padding: 22px; }
 .jj-industry__grid{ gap: 14px; }
 .jj-industry__card{ grid-column: span 12; }

 .jj-industry__layout{
    grid-template-columns: 1fr;
    gap: 14px;
  }
 .jj-industry__side{ position: static; }
}

.jj-industry__downloadGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Mobile */
@media (max-width: 780px){
  .jj-industry__downloadGrid{
    grid-template-columns: 1fr;
  }
}

/* Grid-Overflow Fix: erlaubt Shrinking innerhalb der Grid-Spalten */
.jj-industry__layout > * { min-width: 0; }

/* Optional, falls irgendwo ein horizontaler Overflow bleibt */
.jj-industry__article { overflow-x: hidden; }

.jj-industry__article img,
.jj-industry__article table {
  max-width: 100%;
}