/*
 Theme Name:   Digital Nativ GmbH Skeleton Theme
 Theme URI:    https://www.digital-nativ.de
 Author:       Digital Nativ GmbH
 Author URI:   https://www.digital-nativ.de
 Description:  Ein minimales Knochen-Gerüst-Theme für WordPress
 Version:      1.0.0
 Text Domain:  digital-nativ
*/
/* 
.grid-parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(120px, auto);
  grid-auto-flow: dense;
  gap: 10px; /* optional für etwas Abstand */
} */

/* .griditem-1 {grid-area: 1 / 1 / 3 / 3;}
.griditem-2 {grid-area: 3 / 1 / 5 / 3;}
.griditem-3 {grid-area: 5 / 1 / 7 / 2;}
.griditem-4 {grid-area: 1 / 3 / 4 / 4;}
.griditem-5 {grid-area: 4 / 3 / 7 / 4;}
.griditem-6 {grid-area: 5 / 2 / 7 / 3;} */

.griditem {
  box-shadow: 0 5px 10px 0 rgba(0, 85, 83, 0.05);
  padding: 32px;
  transition: all 0.3s ease;
}

/* 🔸 Wenn das Grid gehovered wird → alle Items ausgrauen & unscharf */
.grid-parent:hover .griditem {
  filter: blur(2px);
  opacity: 0.6;
}

/* 🔸 Ausnahme: das Item unter der Maus bleibt farbig & scharf */
.grid-parent .griditem:hover {
  filter: none;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.material-pictures img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center center;
    border-radius: 100px;
    border: 2px solid var( --e-global-color-70987cb );
    box-shadow: 15px 15px 30px 0 rgba(3, 33, 33, 0.15);
    transition: all 300ms ease-in;
}

.material-pictures img:hover {
    transform: scale(1.05);
    box-shadow: 15px 15px 30px 0 rgba(3, 33, 33, 0.3);
    cursor: pointer;
}



/* .grid-parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(120px, auto);
  grid-auto-flow: dense;
} */
/* 
.griditem-1 {grid-area: 1 / 1 / 3 / 3;
}

.griditem-2 {grid-area: 3 / 1 / 5 / 3;
}

.griditem-3 {grid-area: 5 / 1 / 7 / 2;
}

.griditem-4 {grid-area: 1 / 3 / 4 / 4;
}

.griditem-5 {grid-area: 4 / 3 / 7 / 4;
}

.griditem-6 {grid-area: 5 / 2 / 7 / 3;
} */

.griditem {
  box-shadow: 0 5px 10px 0 rgba(0, 85, 83, 0.05);
  border: 1px solid #E4E8E8;
  background-color: #fff;
  padding: 32px;
}

.grid-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Buttons (Links) */
.grid-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 15px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 85, 83, 0.15);
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 14px !important;
}

/* Hover-Effekt */
.grid-list li a:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 85, 83, 0.2);
}


/* ===== Globale Table-Resets ===== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 1em;
}

table th,
table td {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  vertical-align: top;
}

table td ul {
  padding-left: 1em;
}

/* Standardmäßig kein Zebra-Striping */
table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
  background-color: transparent;
}

/* Standardmäßig auch kein Hover-Effekt */
table tbody tr:hover>td,
table tbody tr:hover>th {
  background-color: transparent;
}

/* ===== Fertigungsverfahren Technische Daten ===== */

.sup-technische-daten-bezeichnung, .sup-eigenschaften-bezeichnung {
  font-weight: 700;
  width: 30%;
}

.sup-technische-daten-table td {
  padding: .4em 0em;
}

.sup-eigenschaften-wert {

}

.sup-eigenschaften-table td {
  padding: .8em 0em;
}

.sup-eigenschaften-table tr {
  border-bottom: 1px solid var(--e-global-color-21c5ea3); /* Strich zwischen den Zeilen */
}

.sup-eigenschaften-table tr:last-child {
  border-bottom: none; /* Kein Strich nach der letzten Zeile */
}

/* ========== Gemeinsame Basis für Tabs + Taxonomie-Filter ========== */
.sup-tab-nav,
.elementor-widget-taxonomy-filter .e-filter {
  display: flex;
  flex-wrap: nowrap;   /* eine Zeile */
  gap: 12px;
  margin: 0 0 1rem 0;
  border: none;
  width: 100%;
  align-items: stretch; /* alle gleich hoch */
}

/* Buttons: Tabs + Filter */
.sup-tab-nav .sup-tab-btn,
.elementor-widget-taxonomy-filter .e-filter .e-filter-item {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: .75rem; /* etwas Puffer rundum */
  margin: 0;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #032121;
  position: relative;
  cursor: pointer;
  opacity: .8;

  /* Gleichmäßig teilen */
  flex: 1 1 0 !important;
  min-width: 0;
  text-align: center;

  /* Zentrierung innerhalb gleicher Höhe */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Mehrzeilige Labels erlauben */
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;

  /* optional: max. 2 Zeilen */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Standard: grauer Strich oben */
.sup-tab-nav .sup-tab-btn::before,
.elementor-widget-taxonomy-filter .e-filter .e-filter-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 4px;
  background: #B3BEBF;
  transition: background .3s ease;
}

/* Hover + Active: dunkelgrün */
.sup-tab-nav .sup-tab-btn:hover::before,
.sup-tab-nav .sup-tab-btn.is-active::before,
.elementor-widget-taxonomy-filter .e-filter .e-filter-item:hover::before,
.elementor-widget-taxonomy-filter .e-filter .e-filter-item[aria-pressed="true"]::before {
  background: #032121;
  opacity: 1;
}

/* Panels nur für Tabs */
.sup-tab-panel {
  display: block;
}

.sup-tab-panel[hidden] {
  display: none !important;
}

/* Werkstoff-Tabellen */
.sup-werkstoff-table {
  width: 100%;
  border-collapse: collapse;
}

.sup-werkstoff-table thead th {
  background: #032121;
  color: #fff;
  font-weight: 700;
  text-align: left;
}

.sup-werkstoff-table td,
.sup-werkstoff-table th {
  line-height: 1.3em;
  padding: .8em;
  border: 0;
}

.sup-werkstoff-table td {
  vertical-align: top;
}

.sup-werkstoff-table tbody tr:nth-child(odd) td {
  background: #ECF4F5;
}






.counter-numbers .elementor-counter-number-suffix {
  font-size: .7em;
  color: #496061;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.03em;
}

h1 b, h2 b, h3 b, h4 b, h5 b, h6 b, h1 strong, h2 strong, h3 strong, h4 strong, h6 strong, h6 strong {
  color: #496061;
  font-weight: 500;
}

/* Header sichtbar nach Hochscrollen */
.stickyheaders.now-sticky {
  background: #FAFCFD !important;
  box-shadow: 15px 15px 30px 0px rgba(3, 33, 33, 0.05);
}

.navdark.now-sticky a {
  color: var(--e-global-color-bab7531) !important;
}

.navdark.now-sticky svg path, .navlight svg path {
  fill: var(--e-global-color-bab7531) !important
}

.elementor-button-icon svg {
  width: 20px;
}

.elementor-button-icon svg path {
  stroke: #FAFCFD !important;
  stroke-width: 2 !important;
}

.elementor-button:hover .elementor-button-content-wrapper {
  gap: 16px;
}

.elementor-button .elementor-button-content-wrapper {
  gap: 8px;
  transition: gap .3s ease;
}

.elementor-button-info .elementor-button-icon svg path, .elementor-button-info .elementor-button-text, .elementor-button-info .elementor-button {
  stroke: var(--e-global-color-bab7531) !important;
  color: var(--e-global-color-bab7531);
  background-color: #FAFCFD !important;
}

.elementor-button-success .elementor-button {
  background-color: transparent !important;
  border-color: #FAFCFD;
}

.elementor-button-warning .elementor-button {
  background-color: transparent !important;
  color: var(--e-global-color-bab7531);
}

.headline-add {
  padding: 6px 38px 8px 16px;
  border-radius: 50px;
  background: #FFF;
  line-height: 1.15em !important;
}

.headline-add-inverted {
  background: #ECF4F5;
}

.headline-add::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("/wp-content/uploads/supera-signet-1.svg") no-repeat center center;
}

/* Custom CSS */

.zoom-in {
  overflow: hidden;
}

.zoom-in img {
  transition: transform 0.6s ease, filter 0.6s ease;
  transform: scale(1);
  will-change: transform;
  display: block;
}

.zoom-in:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.nomar p:last-of-type {
  margin-block-start: 0;
  margin-block-end: 0;
}

section.elementor-element, header.elementor-element {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  box-sizing: border-box;
}

.svg-color svg path {
  stroke: var(--e-global-color-secondary);
}

.rank-math-breadcrumb .separator {
  margin: 0px 3px;
}

.rank-math-breadcrumb>p:nth-child(1)>a:nth-child(1) {
  font-size: 20px;
  line-height: 0em;
  top: 1px;
}

.rank-math-breadcrumb {
  font-size: 11px !important;
}

p>a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.15em;
}

p>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: .1em;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

p>a:hover::after {
  animation: link-rebuild 0.3s ease forwards;
}

@keyframes link-rebuild {
  0% {
    transform: scaleX(0.0001);
  }

  100% {
    transform: scaleX(1);
  }
}

#menu-hauptmenue>li {
  display: flex;
  align-items: center;
}

#menu-hauptmenue>li>a {
  opacity: 1;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: visible;
}

.ue-menu>li {
  display: flex !important;
}

.elementor-pagination {
  margin-top: 2rem;
}