/*! Place your custom styles here */

.menu-horizontal > li > a.active {
    color: #2275d7;
    opacity: 1;
}

.bar .logo  {
    height: 65px;
}

ul.link-list li > a {
    font-weight: 700;
    font-size: 12px;
}

ul.link-list li > a:hover {
    text-decoration: underline;
}
.top-hdl {
    font-size: 62px;
    line-height: 62px;
    font-weight: 400;
}

.prospekte {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 10px!important;
}

.bar-1 .menu-horizontal > li > .nav-color-opacity {
    color: #2275d7 !important;
    opacity: 1 !important;
}

hr.thin {
    border-color: #ECECEC;
    margin: 0;
}

.down {
    display: inline-block;
    font-size: 12px;
}

.down li a {
    display: inline-block;
    opacity: 0.6;
    color: #252525;
}

.down li.active .item-download {
    opacity: 1;
    color: #2275d7;
}

.down li:hover {
    opacity: 1;
    color: #2275d7;
}

.down a:hover {
    opacity: 1;
    color: #252525;
}

.down ul li,
.down li {
    transition: all .3s ease;
    display: inline-block;
}

.list-item-download {
    display: inline-block;
}

.list-item-download:not(:last-child) {
    margin-right: 0.3rem;
}


[data-overlay]::before {
    /*background: #2275d7 !important;*/
}

[data-overlay].hover-element__reveal:before {
    background: #2275d7 !important;
}

.jobtitle {
    z-index: 3;
    position: absolute;
    top: 0;
    color: #fff;
    display: block;
    padding: 1.85714286em;
}

.jobtitle h2, .jobtitle p {
    padding: 0;
    margin-bottom: 0px;
    color: #fff;
}


.articletitle {
    z-index: 3;
    position: absolute;
    top: 0;
    color: #252525;
    display: block;
    padding: 1.85714286em;
}

.articletitle h2, .articletitle p {
    padding: 0;
    margin-bottom: 0px;
    color: #252525;
}

.border-top-none {
    border-top: none;
}

.border-top-subnav {

    border-top: 1px solid #ebebeb !important;
}

.image-element {
    position: relative;
    margin-bottom: 30px;
}

.project-thumb.image-element {
    margin: 0;
    height: 35em;
}

.feature h4 + p {
    max-width: none !important;
}

.oltable {
    text-align: left;
    display: inline-table;
}
.oljobrow {
    cursor:pointer;
}
.oljobrow:hover{
    background-color: #86beff40 !important;
}
.olIBContainer{
    padding: 0.75em 0;
    text-align: left;
}
.olIBTitle {
    color: #2275d7;
    font-weight: bolder;
    font-size: 1.25em;
    margin-bottom: 0.5em;
}


.olIBContent {
    font-weight: normal;
    font-size: 1.1em;
}
.olIBContent > a {
    font-weight: bolder;
}
.bgimg {
    background: url(../img/img-lehmann-topslider-1600x1067.jpg);
}
@media only screen and (max-width: 600px) {
    .oltable {
    }
    .noMobile {
        display:none;
    }
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Standard: 2 Spalten */
    gap: 20px;
    width: 100%;
    margin: 0 auto; /* Zentrierung */
}
/* Stil für die Kacheln */
.tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    width: 100%; /* Automatische Breite */
    min-height: 240px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover-Effekt mit 3D-Animation */
.tile:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 12px 30px rgba(0, 87, 160, 0.7);
}

/* Content innerhalb der Kachel */
.tile-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Header innerhalb der Kachel */
.tile-header {
    text-align: left;
}

.tile-header h4 {
    margin: 0;
    font-weight: bold;
    text-align: left;
    font-size: 100%;
}

.tile-header .subtitle {
    font-size: 16px;
    color: #d1d1d1;
}

/* Stil für das Icon */
.tile-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
}

.table-wrapper {
    width: 95%;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.title-section {
    background: rgb(0,87,160);
    background: linear-gradient(49deg, rgba(0,87,160,1) 0%, rgba(0,53,97,1) 50%, rgba(0,0,0,1) 100%);
    color: white;
    padding: 35px 20px;
    font-size: 34px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    border-radius: 10px 10px 0 0;
}
.column-titles {
    background: rgb(0,87,160);
    background: linear-gradient(49deg, rgba(0,87,160,1) 0%, rgba(0,53,97,1) 50%, rgba(0,0,0,1) 100%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
}

.data-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.data-cell-headline {
    font-size: 18px;
    flex: 1;
    padding: 20px;
    position: relative;
}

.data-cell-headline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(168,171,173,0.9) 25%, rgba(168,171,173,0.9) 75%, rgba(255,255,255,0) 100%);
}
.data-cell-headline:last-child {
    border-right: none;
}

.data-cell {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 18px
}

.data-cell:last-child {
    border-right: none;
}
.data-row:last-child {
    border-bottom: none;
}
.highlight {
    font-weight: bold;
}

.liFormat {
    display: flex;
    align-items: flex-start;
}

.liFormat::before {
    content: "•";
    margin-right: 8px;
}

.profile-pic {
    max-width: 200px;
    border-radius: 25%;
    float: right;
    padding: 0;
    margin: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.lkw-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px){
    h1{
        font-size: 2.5em;
    }
    .tile-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1% !important;
    }
    .tile {
        font-size: 14px;
        padding: 15px;
        min-height: 10em;
        max-width:400px;
    }
    .tile-header .subtitle {
        font-size: 13px;
    }
    .htvpad{
        padding-top: 5%;
    }
}

@media (max-width: 1024px) {
    .tile-grid {
        grid-template-columns: 1fr;
        gap: 1% !important;
    }
    .tile {
        font-size: 16px;
        min-height: 12em;
    }
    .tile-header .subtitle {
        font-size: 14px;
    }
    h3,h4 {
        line-height: 1.5;
    }
}


.kopf {
    color:white;
    font-weight:bold;
    width:100%;
    font-size:18px;
    text-align:center;
}
.kopf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(168,171,173,0.9) 25%, rgba(168,171,173,0.9) 75%, rgba(255,255,255,0) 100%);
}
.detail {
    background-color:white;
    font-size:16px;
    text-align:center;
    color:#666;
    height:175px;
    border-right:1px solid #999;
    padding:10px!important;
}
.title-section2 {
    background: rgb(0,87,160);
    background: linear-gradient(49deg, rgba(0,87,160,1) 0%, rgba(0,53,97,1) 50%, rgba(0,0,0,1) 100%);
}

@media (max-width: 991.98px) {
    #drei-spalten-row {
        justify-content: center;
    }
    .detail {
        height:80px;
    }
}

@media (max-width: 1000px) {
    .detail {
        height:130px;
    }
}

.modal {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .modal.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    box-sizing: border-box;
    overflow: hidden; /* Verhindert, dass der Inhalt überläuft */
  }
  
  .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
  }
  
  .modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: white;
    background: #0077ba;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
  }
  
  .close-btn:hover {
    background-color: red;
    color: white;
    transform: scale(1.05);
  }
  
  .modal-content p {
    margin-bottom: 1rem;
  }
  
  .modal-content h2,
  .modal-content h3 {
    margin-bottom: 1rem;
  }
  
  @media (max-width: 600px) {
    .modal-content-wrapper {
      max-width: 90%;  /* Höhere Breite für kleinere Bildschirme */
      padding: 0.5rem;
      overflow: visible;  /* Sicherstellen, dass der Inhalt nicht abgeschnitten wird */
    }
  
    .modal-content {
      padding: 1rem;
      font-size: 0.95rem;
      max-height: 75vh;  /* Höhe weiter anpassen, damit der Close-Button sichtbar bleibt */
      overflow-y: auto;
    }
  
    .modal-content h2 {
      font-size: 1.4rem;
    }
  
    .modal-content h3 {
      font-size: 1.2rem;
    }
  
    /* Den Close-Button anpassen, damit er immer sichtbar bleibt */
    .close-btn {
      font-size: 1.25rem;  /* Kleinere Schriftgröße */
      width: 30px;  /* Kleineren Button für kleinere Bildschirme */
      height: 30px;
    }
  }