/* Panel-Navigation-Pfeile */
.panel-nav-left, .panel-nav-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 2.2rem;
    color: #fff;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.18s, filter 0.18s, box-shadow 0.18s;
    z-index: 10;
    pointer-events: auto;
    box-shadow: 0 0 0 2px #fff2;
}

.panel-nav-left {
    left: -42px;
    box-shadow: none;
}


.panel-nav-right {
    right: -42px;
    box-shadow: none;
}

.panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    position: relative;
    background: transparent;
    border: 2.5px solid #fff8;
    border-radius: 18px;
    box-shadow: 0 0 0 2px #fff2;
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 350px;
    width: 100%;
    margin: 1.5rem auto;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s;
    backdrop-filter: blur(2px) brightness(1.1);
    -webkit-backdrop-filter: blur(2px) brightness(1.1);
    color: #fff;
}

.panel:hover .panel-nav-left,
.panel:hover .panel-nav-right {
    opacity: 1;
    pointer-events: auto;
}
/* Panel Styles für universelle Wiederverwendung */
.panel {
    background: rgba(40,40,40,0.95);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 350px;
    width: 100%;
    margin: 1.5rem auto;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.panel:hover {
    transform: scale(1.08);
    border-color: #fff;
    box-shadow: 0 0 0 4px #fff4;
}

    /* Panel bekommt Box-Shadow auf jeweiliger Seite beim Pfeil-Hover */
    .panel:has(.panel-nav-left:hover) {
    box-shadow: -8px 0 24px -16px #fff6, 0 0 0 2px #fff2;
    }
    .panel:has(.panel-nav-right:hover) {
    box-shadow: 8px 0 24px -16px #fff6, 0 0 0 2px #fff2;
    }
.tab-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
