* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

main {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: #b0b0b0;
    font-weight: 300;
    letter-spacing: 1px;
}

.project-selection {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.project {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 35px 35px 35px 45px;
    width: 350px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project:hover::before {
    left: 100%;
}

.project:hover {
    transform: translateY(-15px) scale(1.05) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.project h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project:hover img {
    transform: scale(1.1);
}

.project a {
    display: inline-block;
    background: linear-gradient(45deg, #4a4a4a, #666666);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.project a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #666666, #888888);
    transition: left 0.3s;
    z-index: -1;
}

.project a:hover::before {
    left: 0;
}

.project a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    animation: pulse 1.5s infinite;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

header nav a {
    color: #cccccc;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

header nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Override for main header width - very compact layout */
.floating-header {
    max-width: 320px !important;
    justify-content: center !important;
    padding: 8px 16px !important;
}

/* Balance Display Styles */
.floating-balance {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid rgba(39, 174, 96, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.floating-balance:hover {
    background: rgba(39, 174, 96, 0.2);
    transform: scale(1.05);
}

/* Balance display for all components */
.balance-display {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #27ae60;
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}

/* Remove old padding since header starts hidden */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 180px; /* Increased space for fixed footer */
    position: relative;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #444444;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-content a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* News Feed Styles */
.news-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px; /* Additional spacing to avoid footer overlap */
}

.news-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border: 2px solid #444444;
    border-radius: 20px;
    padding: 40px 35px 40px 50px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: #666666;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item .news-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-content {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* News Image Styles */
.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-text-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly in flex container */
}

/* News item without image should span full width */
.news-item:not(:has(.news-image)) .news-text-content {
    width: 100%;
}

/* Adjust spacing for items with images */
.news-item:has(.news-image) {
    padding: 30px 35px 30px 40px;
}

/* Profile Button Styling */
.profile-button-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.profile-button-standalone:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(26, 26, 26, 1);
}

.profile-button-standalone.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-profile:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.profile-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2;
}

.floating-profile .profile-icon {
    width: 20px;
    height: 20px;
}

/* Floating Header - schmaler Balken in der Mitte */
.floating-header {
    position: fixed;
    top: -80px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Sehr abgerundet für einen "Balken" */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    gap: 15px; /* Abstand zwischen Logo und Text */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: auto;
}

.floating-header.visible {
    top: 20px; /* Etwas Abstand vom oberen Rand */
    opacity: 1;
}

.floating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logo behält seine Größe */
}

.floating-logo:hover {
    transform: scale(1.05);
}

.floating-logo-img {
    width: 40px; /* Größeres Logo */
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem; /* Größere Schrift */
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0; /* Text behält seine Größe */
}

/* Responsive Profile Buttons */
@media (max-width: 768px) {
    .floating-profile {
        width: 35px;
        height: 35px;
    }
    
    .floating-profile .profile-icon {
        width: 18px;
        height: 18px;
    }
    
    .profile-button-standalone {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-profile {
        width: 30px;
        height: 30px;
    }
    
    .floating-profile .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-button-standalone {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .profile-button-standalone .profile-icon {
        width: 18px;
        height: 18px;
    }
}
