/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #cc7b4b 100%);
    min-height: 100vh;

    background:none;
    background-color: #444;
}

a {
    color: #ccc;
}


.logo IMG{
    width:100%;
    height:auto;
    max-width:180px;
    margin-top:7px;
    border:3px solid #222;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    _position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.99);
    border-bottom: 1px solid #777;
}

@media screen and (min-width:768px) {
    header {
        position: sticky;
    }
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #cc7b4b;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #333;
    color: #f2f2f2;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #cc7b4b;
    background: #686868;
    color: white;
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    background-color:#000;
}

.hero h2 {
    color: #cc7b4b;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;

    color: #fa802b;
}

.main-image {
    margin: 2rem 0;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 2rem;

    color: #ccc;
    color: #eee;
}

/* Page Content (für die neuen Seiten) */
.page-content {
    background: white;
    background: #000;
    background: #2d2d2d;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content h2 {
    color: #cc7b4b;
    color: #ff8c47;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight:500;
}

.page-image {
    margin: 2rem 0;
    text-align: center;
}

.page-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-content .content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    color: #ccc;
    color: #eee;
}

.page-content .content-text h3 {
    color: #cc7b4b;
    color: #ff8c47;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content .content-text h4 {
    color: #555;
    color: #ffcaac;
    color: #f7b38d;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-content .content-text ul,
.page-content .content-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.page-content .content-text li {
    margin-bottom: 0.5rem;
}

/* Event Styles für Termine */
.event-list {
    margin: 2rem 0;
}

.event {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #cc7b4b;
}

.event h4 {
    color: #cc7b4b;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    background: #000;
}

.features h3 {
    color: #cc7b4b;
    color: #cc7b4b;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;

    background: #2b435c;
    color:#ccc;
    color:#ddd;
    color:#eee;
}

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

.feature-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #cc7b4b;
    margin-bottom: 0rem;
}

.feature-card img{
    width:100%;
    height:auto;
    max-width:400px;
}




/* Demo Section */
.demo-section {
    background: white;
    background: #333;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-section h2 {
    color: #ff8c47;
    font-weight:500;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.demo-section > p {
    text-align: center;
    color: #666;
    color: #ccc;
    color: #eee;
    margin-bottom: 2rem;
}

/* Global Player Controls */
.global-player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    background: #4f4f4f;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.control-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.control-btn.primary {
    background: #cc7b4b;
    font-size: 1.1rem;
    /*padding: 1rem 2rem;*/

    font-size: 1rem;
    /*padding: 1rem 2rem;*/
}

.control-btn.primary:hover {
    background: #517397;
}

/* Audio Player */
.audio-player-container {
    margin: 2rem 0;
}

.playlist {
    background: #f8f9fa;
    background: #4f4f4f;
    border-radius: 10px;
    padding: 1rem;
}

.track {
    display: flex;
    align-items: center;
    padding: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: white;
    background: #d2bfb1;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.track:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.track.current-track {
    border-color: #cc7b4b;
    background: #f8f9fa;
}

.track-number {
    font-size: 1.2rem;
    color: #cc7b4b;
    margin-right: 1.5rem;
    font-weight: bold;
    min-width: 30px;
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    background: #cc7b4b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;

    min-width: 38px;
}

.play-btn:hover {
    background: #517397;
}

.progress-bar {
    width: 200px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: #cc7b4b;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}

.time {
    font-size: 0.9rem;
    color: #666;
    min-width: 80px;
    min-width: 60px;
    text-align: right;
}

.no-demos {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.demo-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    background: #4f4f4f;
    border-radius: 10px;

    color:#ccc;
    color:#eee;
}

.demo-info h3 {
    color: #cc7b4b;
    color: #ff8c47;
    margin-bottom: 1rem;
}

/* Admin Section */
.admin-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.admin-header h2 {
    color: #cc7b4b;
    font-size: 2rem;
}

/* Login Form */
.login-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-section h2 {
    color: #cc7b4b;
    text-align: center;
    margin-bottom: 2rem;
}

.login-form {
    max-width: 100%;
}

/* Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.tab-btn.active {
    color: #cc7b4b;
    border-bottom-color: #cc7b4b;
    font-weight: 600;
}

.tab-btn:hover {
    color: #cc7b4b;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Forms */
.admin-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 200px;
}

.form-group input[type="file"] {
    padding: 0.5rem;
}

.form-group small {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* CKEditor Styles */
.ck-editor__editable {
    min-height: 300px !important;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: #cc7b4b;
    color: white;
}

.btn-primary:hover {
    background: #517397;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-delete {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

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

/* Image Preview */
.image-preview {
    margin-top: 1rem;
}

.image-preview img {
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Uploaded Files */
.uploaded-files {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.uploaded-files h4 {
    color: #cc7b4b;
    margin-bottom: 1rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

/* Messages */
.save-message,
#upload-message,
.error-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid transparent;
}

.save-message.success,
#upload-message.success,
.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.save-message.error,
#upload-message.error,
.error-message,
.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;

    background: rgba(0,0,0, 0.5);
}

footer a,
footer p {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .admin-tabs {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}


@media screen and (min-width:460px) and (max-width:768px){
    .nav-menu {
        flex-direction: row !important;
        gap: 0.25rem;
        width: auto !important;
        margin-top: 1rem;
    }
}



@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    nav .container {
        flex-direction: column;
        text-align: center;
    }
    
    .track {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .track-controls {
        width: 100%;
        margin-top: 1rem;
    }
    
    .progress-bar {
        flex: 1;
        min-width: 100px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .global-player-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .control-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .control-btn.primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero h2,
    .page-content h2,
    .demo-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-content,
    .demo-section,
    .admin-section {
        padding: 2rem 1.5rem;
        padding: 1rem 1rem;
    }
    
    .time {
        min-width: 70px;
        font-size: 0.8rem;
    }
    
    .track-number {
        min-width: 25px;
        font-size: 1rem;
    }

    .demo-info {
        margin-top: 1.5rem;
        padding: 1rem;
    }


}