* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    overflow-x:hidden;
}

*{
    transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 100%;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #286436;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.hamburger-btn{
    display:none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: #286436;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px;
    transition: all 0.3s ease;
}

.hamburger-btn span{
    width: 16px;
    height: 2px;
    background:white ;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

/* Hamburger Animation wenn offen */
.hamburger-btn.open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2){
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-btn{
        display: flex;
    }

    .nav-links{
        display: none;
        position: fixed;
        top:70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        gap:0;
        z-index: 999;
    }

    .nav-links.open{
        display: flex;
    }

    .nav-links li{
        border-bottom:1px solid #f0f0f0;
    }

    .nav-links a{
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-btn{
    background: #286436;
    color:white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width:40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
}

.language-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.language-btn:hover {
    background: #1e4a2a;
    transform: scale(1.05);
}
/* Dark Mode Button */
.dark-mode-btn {
    background: #286436;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    padding: 0;
}

.dark-mode-btn:hover {
    background: #1e4a2a;
    transform: scale(1.05);
}

/* Dark Mode Styles */
body.dark {
    background: #121212;
    color: #ffffff;
}

body.dark nav {
    background: #1e1e1e !important;
}

body.dark h2,
body.dark h3,
body.dark p,
body.dark li {
    color: #ffffff;
}

body.dark .nav-links a {
    color: #ffffff !important;
}

body.dark .about {
    background: #1a1a1a;
}

body.dark .schedule {
    background: #1a1a1a;
}

body.dark .dances {
    background: #121212;
}

body.dark .dance-card {
    background: #2a2a2a;
    color: #ffffff;
    border-top-color: #1a4d24;
}

body.dark .dance-card h3 {
    color: #1a4d24;
}

body.dark .schedule-item {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark .schedule-item h3 {
    color: #1a4d24;
}

body.dark .calendar-container {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark .calendar-day {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark .event-item {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark .contact {
    background: #121212;
}

body.dark .contact-info {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark .contact-form input,
body.dark .contact-form select,
body.dark .contact-form textarea {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #444;
}

body.dark .gallery {
    background: #1a1a1a;
}

body.dark .placeholder-image {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark footer {
    background: #0a0a0a;
}

body.dark .member-dropdown {
    background: #2a2a2a;
}

body.dark .dropdown-item {
    color: #ffffff;
}

body.dark .nav-links {
    background: #1e1e1e;
}

body.dark .hero{
    background: linear-gradient(135deg, #0d2b14 0%, #1a4d24 100%);
}

body.dark folklore {
    background: #0d2b14;
}

body.dark .club{
    color: #0d2b14;
}

body.dark .calendar{
    background: #474545;
}

body.dark .calendar::before {
    opacity: 0.02 !important;
}

body.dark .nav-links{
    background: #1e1e1e !important;
}

body.dark .nav-links a{
    color: #ffffff;
    border-bottom-color: #333;
}

body.dark .nav-links li{
    border-bottom-color: #333;
}

/* ===== SANFTER DARK MODE ÜBERGANG ===== */
body, body.dark {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark .dance-card,
body.dark .schedule-item,
body.dark .culture-card,
body.dark .calendar-container,
body.dark .contact-info,
body.dark .event-item,
body.dark .member-dropdown {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links a:hover {
    color: #286436;
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-menu-container{
    position: relative;
}

.member-menu-btn {
    width: 34px;
    height: 34px;
    background: #286436;
    border:none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0,3s;
}

.member-menu-btn span{
    width:20px;
    height: 2px;
    background: white;
    transition:all 0.3s;
}

.member-menu-btn:hover{
    background:#1e4a2a;
    transform: scale(1.05);
}

.member-dropdown{
    position:absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    margin-top: 10px;
}

.member-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding:0.5rem;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    border:none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    font-size: 0.95rem;
    color: #333;
}

.dropdown-item:hover {
background: #F5F1E8;
color: #286436;
}

/* Login Modal */
.login-modal{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.login-modal.open{
    display: flex;
}

.login-modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.login-modal-content{
    position: relative;
    background:white ;
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1;
    animation: qr-pop 0.3s ease;
}

.login-modal-close{
    position:absolute;
    top: 1rem;
    right: 1rem;
    background: none ;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.login-modal-content h3{
    color: #286436;
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.login-form{
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.login-form input{
    padding:0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100px;
}

.login-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.login-form input:focus {
    outline: none;
    border-color: #286436;
}

.login-btn {
    background: #286436;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #1e4a2a;
}

.login-error {
    color: red;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2rem;
}

.login-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: #286436;
    font-weight: bold;
}

.login-success.show {
    display: flex;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #b02a37;
}

/* Dark Mode Login */
body.dark .login-modal-content {
    background: #1e1e1e;
    color: white;
}

body.dark .login-form input {
    background: #2a2a2a;
    color: white;
    border-color: #444;
}

body.dark .login-subtitle {
    color: #aaa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #286436 0%, #4CAF50 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.hero-logo {
    height: 120px;
    width: auto;
    border-radius: 10px;
}

.hero-logo-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-tagline {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    justify-content: center;
}

.folklore {
    color: #ffffff;
    background: #286436;
    padding: 10px 20px;
    border-radius: 5px;
}

.club {
    color: #286436;
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 5px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.cta-button {
    background: #D4AF37;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    background: #b8962f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Über uns Section */
.about {
    background: #F5F1E8;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Tänze Section */
.dance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.dance-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #286436;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2,0.9, 0.4,1.1), box-shadow 0.3 ease;
    border-top: 4px solid #286436;
}

.dance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.12);
    border-color: #1e4a2a;
    background: #f9f9f9;
}

.dance-card h3 {
    color: #286436;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/*veränderung hier der absatz */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-card{
    background: white;
    padding: 0;
    border-radius: 12px;
    border: 2px solid #286436;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.culture-card-header{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, #286436,#4CAF50);
    color: white;
    transition: background 0.3s; 
}

.culture-card-header:hover{
    background: linear-gradient(135deg, #1e4a1e, #386e38);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border-color: #1e4a2a;
}

.culture-icon{
    font-size: 1.5rem;
}

.culture-title{
    flex:1;
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

.culture-arrow{
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.culture-arrow.open{
    transform: rotate(180deg);
}

.culture-card-body{
    padding: 2rem;
    white-space: pre-line;
    line-height: 2;
    color: #333;
    font-size: 1rem;
}

.culture-hidden{
    display:none;
}

/* Culture Card Modal */
.culture-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.culture-modal.open {
    display: flex;
}

.culture-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.culture-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modal-pop 0.3s ease;
    z-index: 1;
}

.culture-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.5rem;
    background: linear-gradient(135deg, #286436, #4CAF50);
    border-radius: 20px 20px 0 0;
    color: white;
}

.culture-modal-icon {
    font-size: 1.8rem;
}

.culture-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}

.culture-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.culture-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Topic Header Styles */
.topic-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #286436;
}

.topic-header h4 {
    color: #286436;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.topic-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.topic-category {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #286436;
    font-weight: 500;
}

.topic-date {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

.topic-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.topic-text p {
    margin-bottom: 1rem;
}

/* Dark Mode für Topic Header */
body.dark .topic-header {
    border-bottom-color: #4CAF50;
}

body.dark .topic-header h4 {
    color: #4CAF50;
}

body.dark .topic-category {
    background: #2a2a2a;
    color: #4CAF50;
}

body.dark .topic-date {
    color: #aaa;
}

body.dark .topic-text {
    color: #e0e0e0;
}

/* Internes Menü im Modal */
.culture-modal-menu {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

body.dark .culture-modal-menu {
    background: #2a2a2a;
    border-bottom-color: #444;
}

.menu-topic {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.menu-topic span {
    font-size: 1.2rem;
}

.menu-topic:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.menu-topic.active {
    background: #286436;
    color: white;
}

body.dark .menu-topic {
    color: #ccc;
}

body.dark .menu-topic:hover {
    background: #3a3a3a;
}

body.dark .menu-topic.active {
    background: #286436;
    color: white;
}

/* Topic Content */
.topic-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.topic-content.active {
    display: block;
}

.topic-content h4 {
    color: #286436;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

body.dark .topic-content h4 {
    color: #4CAF50;
}

.culture-modal-body {
    padding: 2rem;
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
    white-space: pre-line;
}

/* Dark Mode für Modal */
body.dark .culture-modal-content {
    background: #1e1e1e;
}

body.dark .culture-modal-body {
    color: #e0e0e0;
}

/* Animationen */
@keyframes modal-pop {
    0%{
        opacity: 0;
        transform: scale(0.95) translateY(-20);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode für Culture Card */
body.dark .culture-card{
    background: #2a2a2a;
}

body.dark .culture-card-body{
    color: #ffffff;
}

/* Probenzeiten Section */
.schedule {
    background: #F5F1E8;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.schedule-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #286436;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, cubic-bezier(0.2,0.9,0.4,1.1), box-shadow 0.3s;
}

.schedule-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border-color: #1e4a2a;
}

.schedule-item h3 {
    color: #286436;
    margin-bottom: 1rem;
    padding-bottom:8px;
    border-bottom: 2px solid #286436;
}

/* Kalender Section */
.calendar {
    background: #F5F1E8;
    position: relative;
}

.calendar::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(BGFlageKarte.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0
}

.calendar .container {
    position: relative;
    z-index: 1;
}

.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.calendar-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.calendar-nav {
    background: #286436;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: #1e4a2a;
    transform: scale(1.1);
}

/* Kalender Grid */
.calendar-grid {
    margin-bottom: 2rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    color: #286436;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F1E8;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.calendar-day:hover {
    background: #e9ecef;
    border-color: #286436;
}

.calendar-day.other-month {
    color: #adb5bd;
    background: #f1f3f4;
}

.calendar-day.today {
    background: #286436;
    color: white;
    font-weight: bold;
}

.calendar-day.has-event {
    border-color: #4CAF50;
    background: #f0f9f6;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
}

/* Veranstaltungen Liste */
/* Events Toggle */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.events-header:hover {
    background: #f0f0f0;
}

.events-arrow {
    font-size: 1.2rem;
    color: #286436;
    transition: transform 0.3s ease;
}

.events-arrow.open {
    transform: rotate(180deg);
}

.events-hidden {
    display: none;
}

.events-container.open {
    display: flex !important;
}

.events-list h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    background: white;
    border-left: 4px solid #286436;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
    font-weight: bold;
    color: #286436;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.event-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-location {
    color: #888;
    font-size: 0.9rem;
}

.event-type-probe {
    border-left-color: #286436;
}

.event-type-auftritt {
    border-left-color: #4CAF50;
}

.event-type-workshop {
    border-left-color: #FF9800;
}

/* Modal für Event Details */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #286436;
}

/* Galerie Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #ddd;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.gallery-item img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.placeholder-image {
    color: #666;
    font-style: italic;
}

/* Kontakt Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-info {
    background: #F5F1E8;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: #286436;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a{
    color:#286436;
    text-decoration: underline;
    font-weight: bold;
}

.contact-info a:hover{
    color: #1e4a2a
}

/* Google Maps */
.map-contaniner {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.map-contaniner iframe{
    display: block;
    width: 100%;
    height: 150px;
    border:none;
}

.map-item {
    margin-bottom: 1rem;
}

.map-label{
    color: #286436;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    color: #286436;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background: #286436;
    color: #F5F1E8;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #1e4a2a;
}

.form-success{
    display: none;
    background: #d4edda;
    color: #286436;
    border:2px solid #286436;
    padding:15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: qr-pop 0.3s ease;
}

.form-success.show{
    display:block;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #286436;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover{
    background: #1e4a2a;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.footer-content {
    position: relative;
    margin-top: 1.5rem;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* QR Code in rechter Ecke */
.qr-corner {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.qr-corner-container {
    text-align: center;
}

.qr-code {
    position: relative;
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.qr-image {
    width: 130px;
    height: 150px;
    display: block;
    border-radius: 6px;
}

/* Tooltip für QR Code */
.qr-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 20;
    font-weight: 500;
}

.qr-code:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Responsive Design */ 
 @media(max-width: 768px){
        .logo-container span.hero-logo-text{
            display: block;
            font-size: 0.75rem;
            line-height: 1.2;
        }
    }
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-logo-container {
        flex-direction: column;
        text-align: center;
    }

  
    
    .hero-logo-text h1 {
        font-size: 2rem;
    }
    
    .logo-tagline {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        height: 100px;
    }
    
    .dance-grid{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .schedule-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-day {
        height: 45px;
        font-size: 0.9rem;
    }
    
    .calendar-header h3 {
        font-size: 1.2rem;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .event-item {
        padding: 0.8rem;
    }



}

.no-events {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}



/*Social Media Styles*/
    .social-media {
        margin-top: 1.5rem;
        text-align: center; 
    }

    .social-media p{
        margin-bottom: 15;
        font-size: 1.1rem;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 10px;
    }

    .social-icons {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 65px;
        height: 65px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.3)
    }

    .social-icon:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        border-color: transparent;
    }

    /*SWG icon - Heller und besser sichtbar */

    .social-icon .icon{
        width: 36px;
        height: 36px;
        transition: transform 0.3s;
        filter:brightness(1.2);
        fill: white;
    }


    .social-icon:hover .icon{
        transform: scale(1.2);
    }

       .social-icon .icon{
        position: relative;
    }


/* Tooltip */
    .social-icon {
        position: relative;
    }

    .social-icon::after{
        content:attr(title);
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        color: white;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 0.85rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 10;
        font-weight: 500;
    }

    .social-icon:hover::after{
        opacity: 1;
        visibility: visible;
        bottom: -45px;
    }

    /*responsive für social media*/
    @media(max-width: 768px)  {
        .social-icon{
            gap: 25px;
        }

        .social-icon{
            width: 50px;
            height: 50px;
            border-radius: 12px;
        }

        .social-icon .icon{
            width: 24px;
            height: 24px;
        }

        .footer-content{
            min-height: 100px;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .social-media{
            text-align: center;
            padding-bottom: 20px;
        }

        .social-media p {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .social-icons{
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 5px;
        }

        .qr-image {
            width: 110px;
            height: 0px;
        }

}



/* Social Media Icons Styles (wie vorher) */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: transparent;
}

.social-icon .icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s;
    fill: white;
}

.social-icon:hover .icon {
    transform: scale(1.2);
}

.social-icon.facebook:hover {
    background: #1877F2;
}

.social-icon.instagram:hover {
    background: #E4405F;
}

.social-icon.tiktok:hover {
    background: #000000;
}

/* Social Media Tooltip */
.social-icon {
    position: relative;
}

.social-icon::after {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
    font-weight: 500;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

/* Responsive Design */
/* Responsive Design für QR Code */
@media (max-width: 768px) {
    .social-icons {
        gap: 20px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon .icon {
        width: 24px;
        height: 24px;
    }
    
    /* QR Code auf Mobile etwas größer, aber noch in der Ecke */
    .qr-corner {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        }
    
    .qr-code {
        padding: 6px;
    }
    
    .qr-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    /* QR Code auf sehr kleinen Screens */
   .qr-corner {
        position: static;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
        }
    
    .qr-image {
        width: 80px;
        height: 80px;
    }
}

/* QR Code Lightbox */
.qr-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.qr-lightbox.open {
    display: flex;
}
.qr-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.qr-lightbox-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 1;
    animation: qr-pop 0.3s ease;
}
.qr-lightbox-content img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}
.qr-lightbox-content p {
    margin-top: 1rem;
    color: #286436;
    font-weight: bold;
    font-size: 1.1rem;
}
.qr-lightbox-close {
    margin-top: 1rem;
    background: #286436;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.qr-lightbox-close:hover {
    background: #1e4a2a;
}
@keyframes qr-pop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.qr-scan-hint {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    justify-content: center;
}
.qr-scan-arrow {
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}
.qr-scan-text {
    color: #286436;
    font-size: 0.85rem;
    font-weight: bold;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}