/* HUB CENTER */

.hex-wrap {box-sizing: border-box;width: 90%}
.hex-grid {
  --w: 140px;
  --h: calc(var(--w) * 1.1547);
  --gap: 8px;
  --row-step: calc(var(--h) * 0.75 + var(--gap) * 0.65);
  display: grid;
  grid-template-columns: repeat(4, var(--w));
  grid-auto-rows: var(--row-step);
  gap: 0 var(--gap);
  width: calc(var(--w) * 4 + var(--gap) * 3);
  margin: 0 auto;
  padding-bottom: calc(var(--h) * 0.28);
}
.hex-item {
  position: relative;
  width: var(--w);
  height: var(--h);
  cursor: pointer;
  align-self: start;
}
.hex-item:nth-child(5),
.hex-item:nth-child(6),
.hex-item:nth-child(7) {
  grid-row: 2;
  margin-left: calc(var(--w)/2 + var(--gap)/2);
}
.hex-item:nth-child(5) { grid-column: 1; }
.hex-item:nth-child(6) { grid-column: 2; }
.hex-item:nth-child(7) { grid-column: 3; }
.hex-inner {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  overflow: hidden;
}
.hex-item:hover .hex-inner { background: rgba(255,106,0,0.2); }
.hex-border {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(255,106,0,0.3);
  transition: border-color 0.4s;
  pointer-events: none;
  box-sizing: border-box;
}
.hex-item:hover .hex-border { border-color: rgba(255,106,0,1); }
.hex-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(255,106,0,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hex-item:hover .hex-glow { opacity: 1; }
.hex-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hex-label {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 18px;
  line-height: 1.3;
  transition: transform 0.35s ease;
}
.hex-item:hover .hex-label { transform: translateY(-4px); }
.hex-accent-line {
  width: 0;
  height: 2px;
  background: #ff6a00;
  margin-top: 8px;
  transition: width 0.35s ease 0.05s;
  border-radius: 1px;
  flex-shrink: 0;
}
.hex-item:hover .hex-accent-line { width: 28px; }
.hex-hover-text {
  color: rgba(255,255,255,0.82);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  padding: 0 16px;
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease 0.05s, opacity 0.3s ease 0.1s;
}
.hex-item:hover .hex-hover-text {
  max-height: 60px;
  opacity: 1;
}
@media (max-width: 750px) {
  .hex-grid {
    --w: 130px;
    grid-template-columns: repeat(3, var(--w));
    width: calc(var(--w) * 3 + var(--gap) * 2);
  }
  .hex-item:nth-child(1) { grid-column:1; grid-row:1; margin-left:0; }
  .hex-item:nth-child(2) { grid-column:2; grid-row:1; margin-left:0; }
  .hex-item:nth-child(3) { grid-column:3; grid-row:1; margin-left:0; }
  .hex-item:nth-child(4) { grid-column:1; grid-row:2; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-item:nth-child(5) { grid-column:2; grid-row:2; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-item:nth-child(6) { grid-column:3; grid-row:2; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-item:nth-child(7) { grid-column:1; grid-row:3; margin-left:0; }
}
@media (max-width: 480px) {
  .hex-grid {
    --w: 120px;
    grid-template-columns: repeat(2, var(--w));
    width: calc(var(--w) * 2 + var(--gap));
  }
  .hex-item:nth-child(1) { grid-column:1; grid-row:1; margin-left:0; }
  .hex-item:nth-child(2) { grid-column:2; grid-row:1; margin-left:0; }
  .hex-item:nth-child(3) { grid-column:1; grid-row:2; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-item:nth-child(4) { grid-column:2; grid-row:2; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-item:nth-child(5) { grid-column:1; grid-row:3; margin-left:0; }
  .hex-item:nth-child(6) { grid-column:2; grid-row:3; margin-left:0; }
  .hex-item:nth-child(7) { grid-column:1; grid-row:4; margin-left: calc(var(--w)/2 + var(--gap)/2); }
  .hex-label { font-size: 12px; }
  .hex-hover-text { font-size: 9px; }
}

/* Referenzen*/
.hex-net{
  position:relative;
  width:100%;
  min-height:500px;
}

.hex-node{
  position:absolute;
  width:80px;
  height:70px;
  background:#111;
  clip-path:polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0 50%);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.6;
  transition:.25s;
}

.hex-node span{
  opacity:0;
  font-size:11px;
  color:#fff;
  transform:translateY(8px);
  transition:.2s;
  text-align:center;
  padding:0 6px;
}

.hex-node:hover{
  opacity:1;
  transform:translateZ(25px);
}

.hex-node:hover span{
  opacity:1;
  transform:translateY(0);
}