* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --gold-light: #FFD700;
    --gold: #FFB300;
    --gold-dark: #FF8C00;
    --amber: #FF8F00;
    --brown-light: #8D6E63;
    --brown: #5D4037;
    --brown-dark: #3E2723;
    --white: #FFF8E1;
    --black: #212121;
}

body {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
    color: var(--white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Bier-Schaum Dekoration */
.beer-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 110%;
        transform: translateX(-100px);
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn {
    background: var(--gold);
    color: var(--brown-dark);
    font-weight: 700;
}

.nav-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(to right, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--white);
    line-height: 1.6;
}

.search-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    color: var(--white);
    outline: none;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: var(--gold);
    color: var(--brown-dark);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}

/* Features Section */
.features {
    position: relative;
    z-index: 5;
    padding: 5rem 5%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(62, 39, 35, 0.7);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 179, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(93, 64, 55, 0.8);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.feature-card p {
    color: var(--white);
    line-height: 1.6;
}

/* Events Section */
.events {
    position: relative;
    z-index: 5;
    padding: 5rem 5%;
}

.events-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.event-img {
    height: 200px;
    background: linear-gradient(45deg, var(--brown-light), var(--gold));
    position: relative;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--brown-dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.event-desc {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.event-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--brown-dark);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.event-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    position: relative;
    z-index: 5;
    background: rgba(33, 33, 33, 0.8);
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 179, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--brown-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-container {
        flex-direction: column;
        background: transparent;
        gap: 1rem;
    }
    
    .search-container input,
    .search-btn {
        border-radius: 30px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Beer Mug Animation */
.beer-mug {
    position: absolute;
    bottom: -50px;
    right: 10%;
    width: 200px;
    height: 200px;
    z-index: 2;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Alle Feste Section */
.all-fests {
    position: relative;
    z-index: 5;
    padding: 5rem 5%;
    background: rgba(255, 255, 255, 0.03);
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold);
    color: var(--brown-dark);
}

.fests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fest-card {
    background: rgba(62, 39, 35, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
}

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

.fest-img {
    height: 180px;
    background: linear-gradient(45deg, var(--brown-light), var(--gold));
    position: relative;
}

.fest-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--brown-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.fest-content {
    padding: 1.5rem;
}

.fest-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.fest-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.fest-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
}

.fest-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
}

.fest-desc {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.fest-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--brown-dark);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.fest-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

/* Post Fest Section */
.post-fest {
    position: relative;
    z-index: 5;
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(rgba(62, 39, 35, 0.9), rgba(62, 39, 35, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%235D4037"/><path d="M20,20 Q40,5 60,20 T100,20 Q85,40 100,60 T100,100 Q60,85 20,100 T0,100 Q5,60 0,20 T20,20" fill="%233E2723" opacity="0.3"/></svg>');
    background-size: cover;
}

.post-fest-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-fest h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.post-fest p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.post-btn {
    background: var(--gold);
    color: var(--brown-dark);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.post-btn:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}







/* only for login.html */
.login-section {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.login-container {
    background: rgba(35, 35, 35, 0.95);
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    background: #fff;
}

.input-group i {
    margin-right: 0.5rem;
    color: #888;
}

.input-group input {
    border: none;
    flex: 1;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.login-btn {
    padding: 0.75rem;
    background-color: #f4b400;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #e09b00;
}

.login-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-links a {
    color: #f4b400;
    text-decoration: none;
    margin: 0 0.5rem;
}

.login-links a:hover {
    text-decoration: underline;
}


/* Nur für den Uploader */
.uploader-container {
    max-width: 900px;
    width: 100%;
    text-align: left;
    padding: 2rem 3rem;
    background: rgba(35, 35, 35, 0.95);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.uploader-container h1,
.uploader-container p {
    text-align: center;
}

.uploader-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
  }
  
  .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .input-wrapper label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
  }
  
  .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    background: #fff;
  }
  
  .input-group i {
    margin-right: 0.5rem;
    color: #888;
    min-width: 20px;
    text-align: center;
  }
  
  .input-group input,
  .input-group textarea {
    border: none;
    flex: 1;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #000;
  }
  
  .input-group input[type="file"] {
    padding: 0;
  }
  
  .uploader-btn {
    grid-column: 1 / -1;
    padding: 0.75rem;
    background-color: #f4b400;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .uploader-btn:hover {
    background-color: #e09b00;
  }
  

  .quick-upload {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--gold);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
  }
  
  .quick-upload:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-dark);
  }
  
  .quick-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 600;
    cursor: pointer;
  }
  
  .quick-upload-label i {
    font-size: 2.5rem;
  }
  
  .quick-upload-hint {
    font-size: 0.9rem;
    color: var(--gold-light);
  }
  
  .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .dashboard-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 179, 0, 0.3);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  
  .dashboard-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
  }
  
  .dashboard-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--gold-light);
  }
  
  .dashboard-card p {
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.85;
  }
  
  .dashboard-card:hover {
    transform: translateY(-5px);
    background: rgba(93, 64, 55, 0.9);
    border-color: var(--gold);
  }
  

  .discord-verify-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    color: var(--white);
  }
  
  .discord-verify-banner i {
    font-size: 2rem;
    color: #7289DA;
  }
  
  .discord-verify-banner h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--gold-light);
  }
  
  .discord-verify-banner p {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
  }
  
  .discord-join-btn {
    background: #7289DA;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
  }
  
  .discord-join-btn:hover {
    background: #5b6eae;
  }

  .feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.7);
    color: var(--white);
  }
  
  .feedback.success {
    background-color: #4CAF50;
    color: white;
  }
  
  .feedback.error {
    background-color: #f44336;
    color: white;
  }


  .share-btn.copied {
    background-color: #4CAF50;
    color: white;
  }
  
  .share-btn.copied::after {
    content: 'Link kopiert!';
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
  }
  

  .search-suggestions {
    display: none;
    position: absolute;
    background: #1c1c1c;
    border: 1px solid #444;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    border-radius: 5px;
  }
  


  /* suchvorschläge */

  .search-container {
    position: relative;
    margin-bottom: 10rem;
  }
  
  .search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1c1c1c;
    border: 1px solid #444;
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 5px;
    margin-top: 5px;
  }
  
  .suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    color: #eee;
  }
  
  .suggestion-item:hover {
    background-color: #333;
  }
  
  