/* Fakten-Box */
.faktenbox {
    width: 980px;
    top: 0px;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Einzelne Registerkarten */
.fakt1all {
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 7px;
    height: 47px;
    width: 128px;
    background: var(--akte1);
    transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	overflow: hidden
}
.fakt1all:hover {
    transform: scale(1.07);
    background:var(--akte1);
}

/* Icon-Tab */
.fakt1tab {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    background: var(--durchsichtig1);
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 4px 0 0 4px;
    text-align: center;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease-in-out;  
	color: var(--farbe3);
}

/* Icon-Größe in den Tabs */
.fakt1tab i {
    font-size: 16px; /* Größe der Icons */  
    background:  var(--durchsichtig1);
}

/* Hover-Effekt für Icon-Tabs */
.fakt1all:hover .fakt1tab {
    background:  var(--durchsichtig1);
}

/* Inhalt der Registerkarten */
.fakt1inhalt {
    text-align: center;
    padding: 10px;
}

.fakt1inhalt a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    letter-spacing: 0.1em;
    transition: color 0.3s ease-in-out;
}

.fakt1inhalt a:hover {
    color: var(--farbe2);
}

/* Mobile Anpassung */
@media screen and (max-width: 768px) {
    .faktenbox {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
}

.fakt1all {
        width: 45%;
        margin-left: 5px;
}

.fakt1tab {
        left: -10px;
        font-size: 12px;
}


}

@media screen and (max-width: 480px) {
    .fakt1all {
        width: 100%;
        margin-left: 0;
}

.fakt1tab {
        left: -8px;
        font-size: 11px;
}


}

/* Sticky Bereich */
.sticky {
    width: 100%;
    position: sticky;
    top: 0;
    background: var(--stickyhintergrund);
    border-bottom: 3px solid var(--stickyrahmen);
    z-index: 99;
}

.oberteil {
	background: var(--stickyhintergrund);
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    max-width: 1100px;
    margin: 0 auto;
}
.oberteil a{
color: var(--linkcolor2);
}
/* Box-Styling */
.boxxx1 {
	flex: 0.5;
	text-align: center;
	padding: 10px;
}

.boxxx2 {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.boxxx1 g{
	background: var(--durchsichtig1);
    border: var(--durchsichtig2);
	padding: 10px;
}

/* Icon-Styling */
.boxxx1 i {
    margin-right: 5px;
    font-size: 20px;
    padding: 10px;
    border-radius: 3px;
    background: var(--hintergrundboxen);
    border: 1px solid var(--rahmenboxen);
}

/* Avatar-Styling */
.usercp img {
    float: right;
    position: absolute;
    right: 10px;
	top:2px;
    border: 2px solid var(--rahmen);
    width: 70px;
    height: auto;
}

/* Logout Button */
.logout i {
    transition: all 0.3s ease;
    text-decoration: none;      
	position: absolute;
    right: 78px;
    transform: translateY(-50%) rotate(-5deg);
    background: var(--farbe2);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px 0 0 4px;
    text-align: center;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out;
}

.logout i:hover {
    color: var(--highlight);
}

