/* Base Styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 0.5rem 0;
    top: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

.navbar-dark .navbar-brand {
    color: white;
    font-weight: 600;
}

/* Alert Messages */
.alert {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Form Section */
.form-section {
    transition: all 0.3s ease;
}

.progress {
    height: 10px;
}

#signatureCanvas {
    background-color: #fff;
    cursor: crosshair;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Container Optimierung */
.container {
    max-width: 1400px;
    width: 100%;
    padding-right: var(--bs-gutter-x, 1rem);
    padding-left: var(--bs-gutter-x, 1rem);
    margin-right: auto;
    margin-left: auto;
}

/* Mindestabstand für den Content-Bereich, um Überlappung mit Navbar zu vermeiden */
.content-container {
    padding-top: 70px; /* Abstand entsprechend der Navbar-Höhe */
}

/* Forms bleiben schmaler */
.form-container {
    max-width: 800px;
}

.form-label {
    font-weight: 500;
}

.required:after {
    content: "*";
    color: red;
    margin-left: 4px;
}

/* Custom Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
    --font-family-sans-serif: Arial, sans-serif;
}

/* Hero Section - Index Page */
.index-hero {
    background: var(--primary-color) !important;
    position: relative;
    padding: 0;
    padding-top: 6rem;
    margin-bottom: 3rem;
    margin-top: 0;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.index-hero .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: var(--font-family-sans-serif);
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}

.index-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #fff;
    font-family: var(--font-family-sans-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.index-hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.index-hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.index-hero .dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: 1;
}

.index-hero .skew-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #fff;
    transform: skewY(-3deg);
    z-index: 1;
}

.index-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-text);
}

.index-hero .btn-light {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.index-hero .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--light-text);
    padding: 6rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section .mesh-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 50%),
                radial-gradient(circle at bottom left, rgba(129, 140, 248, 0.1), transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 1rem;
    }
}

.event-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #e74c3c;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0.5rem 0;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .event-badge {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
        background: #c0392b;
        border: 2.5px solid white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        margin: 0.7rem 0;
    }
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.meta-card {
    background: rgba(56, 189, 248, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: transform 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-5px);
    background: rgba(56, 189, 248, 0.1);
}

/* Event Cards */
.events-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    position: relative;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.event-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    z-index: 0;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-card > * {
    position: relative;
    z-index: 1;
}

.event-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.event-meta i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

.event-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Event Grid Optimierung */
.events-section .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.events-section .col-lg-4 {
    margin-bottom: var(--bs-gutter-y);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.feature-text {
    color: #666;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Features und Benefits Optimierung */
.features-section .row,
.benefits-section .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/* Benefits Section */
.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.benefit-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefit-card ul li i {
    flex-shrink: 0;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 4rem 0;
}

.cta-section h2 {
    margin-bottom: 0.5rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .benefit-card {
        margin-bottom: 2rem;
    }
    
    .cta-section .text-md-end {
        text-align: center !important;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .hero-section .dots-overlay::before,
    .hero-section .dots-overlay::after {
        transform: scale(8);
    }
    
    .hero-section .skew-overlay {
        height: 50px;
        bottom: -25px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-content .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        margin: 0.5rem;
    }
    
    .type-wrap {
        min-width: 150px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .event-card {
        margin-bottom: 1.5rem;
    }
    
    .event-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-time {
        margin-top: 0.5rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .lead {
        font-size: 1.1rem;
    }
    
    .container {
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
    }
    
    .events-section .row,
    .features-section .row,
    .benefits-section .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 40vh;
    }
    
    .hero-section .dots-overlay::before,
    .hero-section .dots-overlay::after {
        transform: scale(6);
    }
    
    .hero-section .skew-overlay {
        height: 30px;
        bottom: -15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content .btn-lg {
        display: block;
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem;
        padding: 0.75rem 1rem;
    }
    
    .type-wrap {
        min-width: 120px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .btn-lg {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-card h4 {
        font-size: 1.2rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
    }
    
    .container {
        padding-right: var(--bs-gutter-x, 0.5rem);
        padding-left: var(--bs-gutter-x, 0.5rem);
    }
    
    .events-section .row,
    .features-section .row,
    .benefits-section .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    .event-card,
    .feature-card,
    .benefit-card {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        border-radius: 0;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.8);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
        margin-top: 3rem;
    }

    .dashboard-header h1 {
        text-align: center;
    }

    .dashboard-header .btn {
        width: 100%;
    }

    .dashboard-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .table-responsive {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    .table-glass td, 
    .table-glass th {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-group .btn {
        width: 100%;
        margin: 0;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .auth-section .container {
        padding-top: 5rem;
    }

    .glass-card {
        margin: 1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .dashboard-section .container {
        padding-top: 4rem;
    }

    .table-glass td, 
    .table-glass th {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .badge {
        padding: 0.35em 0.5em;
        font-size: 0.75em;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

/* Verbesserte Table Responsiveness */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-glass {
        min-width: 600px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-bg);
    border-radius: 15px;
    margin: 2rem 0;
}

.empty-state-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.empty-state {
    background: #fff;
    border-radius: 10px;
    padding: 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header .lead {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Fehlerbehebung für CSS-Lint-Fehler */
.card-custom {
    border-radius: 10px;
    padding: 3rem;
}

/* Typed.js cursor customization */
.typed-cursor {
    color: #38bdf8;
    font-weight: 300;
}

/* Event Page Buttons */
.hero-section .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.hero-section .btn-light {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-section .btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Keep original button styles for index page */
.index-hero .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.index-hero .btn-light {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.index-hero .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

/* Glass Buttons */
.glass-btn {
    position: relative;
    color: #fff;
    background: rgba(0, 0, 0, 0.1); /* Dunklerer Hintergrund */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Dunklerer Rand */
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    z-index: -1;
    transition: all 0.3s ease;
    transform: translateX(-100%);
}

.glass-btn:hover::before {
    transform: translateX(0);
}

.glass-btn.primary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
    color: white;
}

.glass-btn.secondary {
    background: linear-gradient(135deg, #757575, #616161);
    box-shadow: 0 4px 10px rgba(117, 117, 117, 0.3);
    color: white;
}

.glass-btn.success {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    color: white;
}

.glass-btn.info {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
    color: white;
}

.glass-btn.danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    color: white;
}

.glass-btn.dark {
    background: linear-gradient(135deg, #424242, #212121);
    box-shadow: 0 4px 10px rgba(33, 33, 33, 0.3);
    color: white;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.glass-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .glass-btn {
        display: block;
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem;
        text-align: center;
        font-weight: 600;
    }
}

/* Login Pages */
.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-container .card-header {
    background: rgba(44, 62, 80, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-container h4, 
.auth-container h5, 
.auth-container label,
.auth-container p {
    color: #2c3e50;
    font-weight: 600;
}

.auth-container .form-control {
    background: white;
    border: 1px solid rgba(44, 62, 80, 0.2);
    color: #2c3e50;
}

.auth-container .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

.auth-container .btn-primary {
    background: #3498db;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-container .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.auth-container .alert {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(44, 62, 80, 0.2);
    color: #2c3e50;
    font-weight: 500;
}

.auth-container .alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.auth-container .alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.2);
    color: #27ae60;
}

.auth-container a {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
}

.auth-container a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Auth Section Styles */
.auth-section {
    position: relative;
    min-height: calc(100vh - 56px); /* Höhe abzüglich der Navbar-Höhe */
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.auth-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-container .card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .auth-section .row {
        min-height: auto !important;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .auth-section {
        min-height: auto;
        padding-top: 0;
    }
}

/* Modernes Auth Design */
.modern-auth-section {
    position: relative;
    min-height: calc(100vh - 56px); /* Höhe abzüglich der Navbar-Höhe */
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    margin-top: -1px; /* Entfernt den weißen Balken unter der Navbar */
    padding-bottom: 50px; /* Zusätzlicher Abstand nach unten */
}

body:has(.modern-auth-section) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.auth-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
}

.modern-auth-container {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.modern-auth-form .form-floating {
    position: relative;
}

.modern-auth-form .form-floating label {
    color: rgba(0, 0, 0, 0.6);
}

.modern-input {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 1rem 0.75rem !important;
    height: auto !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.modern-btn {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.modern-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 1rem;
}

.modern-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.modern-link:hover {
    color: white;
    border-bottom-color: white;
}

/* Mobile Anpassungen für Auth */
@media (max-width: 768px) {
    .modern-auth-section {
        padding-top: 0;
        align-items: flex-start;
    }
    
    .modern-auth-container {
        margin-top: 5rem;
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
    }
}

/* Kleinere Mobilgeräte */
@media (max-width: 576px) {
    .modern-auth-container {
        margin-top: 4rem;
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* Dashboard */
.dashboard-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 0;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    color: white;
}

.dashboard-section .mesh-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 1;
}

.dashboard-section .container {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem;
}

.dashboard-header {
    margin-bottom: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.table-glass {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.8);
}

.table-glass th {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.table-glass td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-glass tbody tr:last-child td {
    border-bottom: none;
}

.table-glass tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.badge.bg-success {
    background-color: #90EE90;
    color: #006400;
}

.badge.bg-warning {
    background-color: #FFC107;
    color: #212529;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: white;
}

/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section */
.index-hero {
    position: relative;
    min-height: 60vh;
    width: 100%;
    margin: 0;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

.skew-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #fff;
    transform: skewY(-3deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Globale Einstellungen für Benachrichtigungen */
.alert {
    z-index: 1050 !important;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    font-weight: 500;
}

/* Erhöhte Auffälligkeit für bestimmte Benachrichtigungen */
.alert-elevated {
    z-index: 1060 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Spezielle Tabellen-Benachrichtigung */
.table-responsive + .alert,
.dashboard-card .alert {
    margin-top: 20px;
    position: relative;
    z-index: 1060 !important;
}

/* Alert-Inhalte besser lesbar */
.alert .container {
    padding: 15px;
}

/* Hintergrundfarben für Benachrichtigungen mit Glassmorphismus */
.alert-success {
    background-color: rgba(25, 135, 84, 0.55) !important;
    border-color: rgba(25, 135, 84, 0.8) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.55) !important;
    border-color: rgba(220, 53, 69, 0.8) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.55) !important;
    border-color: rgba(255, 193, 7, 0.8) !important;
    color: #212529 !important;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.55) !important;
    border-color: rgba(13, 202, 240, 0.8) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Quick Access mit Animationen */
.quick-access-animated {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Glassmorphismus für Alerts */
/* Entfernt */

/* Glass Buttons */
.glass-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: white;
    margin: 0 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glass-btn.primary {
    background: rgba(52, 152, 219, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-btn.secondary {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.glass-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.glass-btn.primary:hover {
    background: rgba(52, 152, 219, 1);
}

.glass-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .glass-btn {
        display: block;
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem;
        text-align: center;
        font-weight: 600;
    }

    .glass-btn.primary {
        background: rgba(52, 152, 219, 0.95);
    }

    .glass-btn.secondary {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .glass-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

/* Profile Page */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: none;
    padding: 1.5rem;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
}

.card-header h4 {
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 2rem;
    background: white;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(44, 62, 80, 0.2);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

.form-check-input {
    background-color: white;
    border: 2px solid rgba(44, 62, 80, 0.3);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: #2c3e50;
    font-weight: 500;
}

.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #3498db;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Section Headings */
h5.border-bottom {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(44, 62, 80, 0.1) !important;
    padding-bottom: 0.75rem;
}

/* Profile Background */
.profile-container {
    position: relative;
    min-height: 100vh;
    margin-top: -76px;
    padding-top: 76px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
}

.profile-container > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
    }
    
    .profile-container {
        padding-top: 76px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding-top: 76px;
    }
}

.dashboard-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 100%;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.8);
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

.dashboard-table th {
    background: rgba(0, 0, 0, 0.05);
    font-weight: bold;
}

.dashboard-table tr:hover {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .dashboard-container {
        margin: 10px;
        padding: 10px;
    }

    .dashboard-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 8px;
        font-size: 14px;
    }

    /* Optional: Stack the table on very small screens */
    @media (max-width: 480px) {
        .dashboard-table thead {
            display: none;
        }

        .dashboard-table tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.95);
        }

        .dashboard-table td {
            display: block;
            text-align: right;
            padding: 8px;
            position: relative;
            padding-left: 50%;
            white-space: normal;
        }

        .dashboard-table td::before {
            content: attr(data-label);
            position: absolute;
            left: 8px;
            width: 45%;
            text-align: left;
            font-weight: bold;
        }
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background-color: #ffd700;
    color: #000;
}

.status-approved {
    background-color: #90EE90;
    color: #006400;
}

.status-rejected {
    background-color: #FFB6C1;
    color: #8B0000;
}

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    color: white;
    background: #007bff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-action:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-edit {
    background: #28a745;
}

.btn-edit:hover {
    background: #218838;
}

/* Neuer Space Button */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

.btn strong {
  z-index: 2;
  font-family: "Avalors Personal Use", sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.7);
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Moderne UI-Elemente und Verbesserungen */
.modern-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.welcome-card {
    border-radius: 12px;
    border-left: 4px solid #2196F3;
    background: linear-gradient(to right, rgba(33, 150, 243, 0.05), rgba(255, 255, 255, 0));
    transition: all 0.3s ease;
}

.welcome-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.welcome-subtitle {
    color: #666;
    font-weight: 400;
}

/* Moderne Buttons */
.glass-btn {
    position: relative;
    color: #fff;
    background: rgba(0, 0, 0, 0.1); /* Dunklerer Hintergrund */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Dunklerer Rand */
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    z-index: -1;
    transition: all 0.3s ease;
    transform: translateX(-100%);
}

.glass-btn:hover::before {
    transform: translateX(0);
}

.glass-btn.primary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
    color: white;
}

.glass-btn.secondary {
    background: linear-gradient(135deg, #757575, #616161);
    box-shadow: 0 4px 10px rgba(117, 117, 117, 0.3);
    color: white;
}

.glass-btn.success {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    color: white;
}

.glass-btn.info {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
    color: white;
}

.glass-btn.danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    color: white;
}

.glass-btn.dark {
    background: linear-gradient(135deg, #424242, #212121);
    box-shadow: 0 4px 10px rgba(33, 33, 33, 0.3);
    color: white;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.glass-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Moderne Karten für Schnellzugriff */
.quick-access-card {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.quick-access-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2196F3;
}

.quick-access-card.primary i { color: #2196F3; }
.quick-access-card.success i { color: #4CAF50; }
.quick-access-card.info i { color: #00BCD4; }
.quick-access-card.secondary i { color: #757575; }

.quick-access-card h5 {
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
}

/* Statistik-Karten */
.stat-card {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.stat-card.primary { border-top: 4px solid #2196F3; }
.stat-card.success { border-top: 4px solid #4CAF50; }
.stat-card.warning { border-top: 4px solid #FFC107; }

/* Verbesserte Listen */
.modern-list-item {
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.modern-list-item:hover {
    background-color: rgba(33, 150, 243, 0.05);
    transform: translateX(5px);
}

.modern-list-item:last-child {
    margin-bottom: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .welcome-card {
        padding: 1rem !important;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
}

/* Login Pages */
.auth-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}
