/* =========================================================
   Kneipen-CMS – Master Stylesheet
   Alle Farben werden über den Admin-Bereich gesteuert!
   ========================================================= */

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { color: var(--heading-color); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 20px; }

/* HEADER & NAVIGATION */
header { display: flex; flex-direction: column; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo img { width: 100%; max-width: 300px; height: auto; display: block; }

nav ul { list-style: none; display: flex; gap: 15px; padding: 0; margin: 20px 0 0 0; flex-wrap: wrap; justify-content: center; }
nav a { display: inline-block; background-color: var(--primary-color); color: white !important; padding: 10px 25px; font-weight: bold; border-radius: 50px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); transition: all 0.2s ease-in-out; }
nav a:hover { transform: translateY(-2px); opacity: 0.9; }

/* HERO BEREICH & POSTER */
.hero { text-align: center; padding: 40px 0; }
.intro-text h1 { border-left: 5px solid var(--primary-color); padding-left: 15px; font-size: 2.2rem; margin-bottom: 15px; text-transform: uppercase; }
.intro-text p { font-size: 1.15rem; color: #ccc; line-height: 1.8; }
.poster-img { max-width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: 0 4px 20px rgba(0,0,0,0.6); }

/* ALLGEMEINE SECTIONS */
section { padding: 40px 0; }
h2 { border-left: 5px solid var(--primary-color); padding-left: 15px; margin-bottom: 20px; font-size: 1.8rem; }

/* AKTIONS-BANNER */
.action-banner { border: 3px solid var(--primary-color); background-color: rgba(0,0,0,0.8); padding: 25px; border-radius: var(--border-radius); text-align: center; margin-bottom: 30px; animation: softPulse 4s infinite; }
@keyframes softPulse { 0%, 100% { border-color: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); } 50% { border-color: rgba(255, 69, 0, 0.2); box-shadow: none; } }
.action-banner h3 { color: #fff; margin-top: 0; margin-bottom: 15px; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.action-banner p { color: #ccc; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
.action-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.action-btn { display: inline-block; padding: 12px 25px; border-radius: 50px; font-weight: bold; font-size: 0.9rem; transition: all 0.3s ease; text-decoration: none; }
.action-btn:hover { transform: scale(1.05); opacity: 0.9; }

/* EVENT BUTTON */
.event-button { background-color: var(--cta-yellow); color: #000 !important; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 800; display: inline-block; text-transform: uppercase; box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2); transition: all 0.2s ease-in-out; text-align: center; }
.event-button:hover { background-color: #fff; transform: scale(1.05); }

/* TABELLEN */
.table-container { background-color: var(--card-bg); padding: 30px; border-radius: var(--border-radius); overflow-x: auto; }
.event-table { width: 100%; border-collapse: collapse; }
.event-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top; }
.date-col { font-weight: bold; color: var(--primary-color); width: 100px; }
.time-col { color: #aaa; font-size: 0.9rem; }
.name-col { font-weight: bold; font-size: 1.1rem; color: var(--heading-color) !important; }
.desc-text { display: block; font-weight: normal; font-size: 0.85rem; color: #ccc; margin-top: 4px; }

/* FUSSBALL */
.football-section h2 { border-color: var(--werder-green); }
.football-section .date-col { color: var(--werder-green); }

/* SPEZIELLE EVENT ELEMENTE */
.cal-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #888; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); padding: 4px 8px; border-radius: 4px; transition: all 0.2s ease; background: rgba(0,0,0,0.2); white-space: nowrap; margin-top: 8px; }
.cal-btn:hover { border-color: var(--primary-color); color: #fff; background: rgba(255, 69, 0, 0.1); }
.action-wrapper { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fast-voll-badge { background-color: #ff3333; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; animation: blink 2s infinite; font-weight: bold; text-align: center; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.5; } }

/* NEWSLETTER */
.newsletter-section { text-align: center; background: var(--card-bg); padding: 40px; border-radius: var(--border-radius); }
.newsletter-form { margin-top: 20px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 12px 20px; border-radius: 50px; border: none; width: 280px; color: #333; }
.newsletter-form button { padding: 12px 30px; background: var(--primary-color); border: none; color: white; border-radius: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.newsletter-form button:hover { opacity: 0.9; transform: scale(1.05); }

/* SCROLL TO TOP */
#scrollToTopBtn { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 99; background: var(--primary-color); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: 0.3s; }
#scrollToTopBtn:hover { transform: translateY(-3px); }

/* RECHTLICHES */
.back-btn { display: inline-block; margin: 20px 0; padding: 10px 20px; background-color: var(--card-bg); color: var(--text-color); text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.back-btn:hover { background-color: var(--primary-color); color: #fff; }
.legal-content { background-color: var(--card-bg); padding: 30px; border-radius: var(--border-radius); line-height: 1.8; color: var(--text-color); }
.legal-content h2, .legal-content h3 { color: var(--primary-color); margin-top: 30px; border: none; padding-left: 0; }
.legal-link { color: var(--primary-color); text-decoration: none; font-weight: bold; }
.legal-link:hover { text-decoration: underline; }

/* GETRÄNKEKARTE */
.drinks-container { max-width: 900px; margin: 0 auto; padding: 20px 0; }
.dom-box { background: rgba(219, 169, 0, 0.05); border: 2px dashed var(--cta-yellow); padding: 25px; border-radius: var(--border-radius); text-align: center; margin-bottom: 50px; }
.dom-name { font-size: 1.8rem; font-weight: bold; color: var(--heading-color); margin-bottom: 5px; }
.dom-name .additives { font-size: 0.35em; top: -1.5em; position: relative; color: var(--cta-yellow); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 50px 40px; }
.category-title { font-size: 1.5rem; color: var(--primary-color); border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 20px; text-transform: uppercase; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; }
.menu-name { font-weight: bold; color: var(--heading-color); font-size: 1.1rem; flex-shrink: 0; }
.menu-desc-inline { font-size: 0.9rem; color: #999; font-weight: normal; margin-left: 6px; }
.menu-dots { flex-grow: 1; border-bottom: 2px dotted #444; margin: 0 10px; opacity: 0.4; }
.menu-price { font-weight: bold; color: var(--heading-color); font-size: 1.1rem; }
.menu-info { font-size: 0.85rem; color: var(--primary-color); font-style: italic; margin-top: 2px; margin-bottom: 15px; }
.additives { font-size: 0.65em; color: var(--primary-color); vertical-align: super; margin-left: 2px; }
.menu-legend { margin-top: 60px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.2); font-size: 0.8rem; color: #777; line-height: 1.6; }
.legend-columns { column-count: 2; column-gap: 40px; margin-top: 10px; }
@media (max-width: 600px) { .legend-columns { column-count: 1; } }

/* ARCHIV / HALL OF FAME */
.year-header { border-bottom: 2px solid var(--primary-color); color: var(--heading-color); font-size: 2.2rem; text-transform: uppercase; margin: 60px 0 30px 0; padding-left: 10px; letter-spacing: 3px; }
.band-count { font-size: 1.2rem; color: #888; font-weight: normal; letter-spacing: 1px; margin-left: 15px; text-transform: none; }
.archive-table { width: 100%; border-collapse: separate; border-spacing: 0 5px; }
.archive-table tr { background-color: rgba(255,255,255,0.03); transition: background-color 0.2s; }
.archive-table tr:hover { background-color: rgba(255,255,255,0.08); }
.archive-table td { padding: 12px 15px; vertical-align: middle; border: none; }
.archive-table .date-col { width: 120px; color: #888; font-family: monospace; font-size: 1.1rem; white-space: nowrap; padding-top: 15px; }
.band-name { font-size: 1.2rem; font-weight: bold; color: var(--heading-color); margin-right: 15px; vertical-align: middle; }
.genre-text { display: block; font-size: 0.85rem; color: #666; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.inline-link { display: inline-block; vertical-align: middle; text-decoration: none; color: #aaa; font-size: 0.75rem; border: 1px solid #555; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s ease; }
.inline-link:hover { color: #fff; border-color: var(--primary-color); background-color: var(--primary-color); }

/* FOOTER */
.eisen-footer { margin-top: 60px; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.1); color: #888; font-size: 0.95rem; background-color: transparent; }
.eisen-footer-bottom { text-align: center; max-width: 900px; margin: 0 auto; }
.eisen-links { margin-bottom: 25px; }
@media (max-width: 768px) {
    .event-table tr { display: block; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
    .event-table td { display: block; padding: 4px 0; border: none; text-align: left !important; }
    .archive-table td { display: block; padding: 5px 15px; }
    .archive-table .date-col { color: var(--primary-color); padding-top: 15px; font-size: 0.9rem; width: auto; }
    .archive-table .name-col { padding-bottom: 15px; border-bottom: 1px solid #333; }
    .genre-text { font-size: 0.8rem; color: #555; }
}

/* CONTENT BLOCKS SYSTEM */
.content-text { margin-bottom: 20px; line-height: 1.8; }
.content-text p { margin-bottom: 15px; }
.content-image { margin: 30px auto; text-align: center; }
.content-image img { max-width: 100%; height: auto; border-radius: var(--border-radius); }
.content-divider { border: none; border-top: 2px solid rgba(255,255,255,0.1); margin: 30px 0; }
.content-divider-dashed { border-top-style: dashed; }
.content-divider-dotted { border-top-style: dotted; }
.content-faq { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--border-radius); margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 15px 20px; font-weight: bold; cursor: pointer; background: rgba(0,0,0,0.2); list-style: none; position: relative; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; position: absolute; right: 20px; font-size: 1.5rem; color: var(--primary-color); }
.content-faq[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 20px; line-height: 1.6; }
.content-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 30px 0; }
@media (max-width: 768px) { .content-two-column { grid-template-columns: 1fr; } }

/* GALERIE GRID */
.eisen-gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 40px 0; }
.eisen-gal-card { position: relative; background: var(--card-bg-color, #1e1e1e); border-radius: var(--border-radius); overflow: hidden; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.eisen-gal-card img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.eisen-gal-card:hover img { transform: scale(1.08); }
.eisen-album-badge { position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 12px; border-radius: 50px; font-size: 0.85rem; font-weight: bold; z-index: 2; }
.eisen-hover-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); background: rgba(0,0,0,0.6); color: var(--primary-color); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; opacity: 0; transition: all 0.4s ease; z-index: 2; }
.eisen-gal-card:hover .eisen-hover-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.eisen-gal-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 20px 20px 20px; background: linear-gradient(to top, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0) 100%); pointer-events: none; }
.eisen-gal-caption { color: #fff; font-weight: bold; font-size: 1.1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.8); margin: 0; }

/* LIGHTBOX */
.lb-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,10,10,0.95); backdrop-filter: blur(8px); z-index: 99999; align-items: center; justify-content: center; flex-direction: column; opacity: 0; transition: opacity 0.3s ease; }
.lb-overlay.show { opacity: 1; }
.lb-content { max-width: 95%; max-height: 90vh; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.lb-content img { max-width: 100%; max-height: 75vh; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.05); }
.lb-text { color: #fff; margin-top: 20px; padding: 0 20px; max-width: 800px; }
.lb-title { color: var(--primary-color); margin: 0 0 8px 0; font-size: 1.8rem; }
.lb-desc { margin: 0; font-size: 1.1rem; color: #bbb; line-height: 1.6; }
.lb-btn { position: absolute; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: rgba(255,255,255,0.7); cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { color: #fff; background: rgba(255,255,255,0.15); border-color: var(--primary-color); }
.lb-close { top: -50px; right: 0; width: 40px; height: 40px; font-size: 24px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 60px; height: 60px; font-size: 30px; }
.lb-prev { left: -80px; } .lb-next { right: -80px; }
@media (max-width: 900px) { .lb-nav { display: none; } .lb-close { top: -45px; right: 10px; } }
@media (max-width: 600px) {
    .eisen-gal-grid { grid-template-columns: 1fr; }
    .eisen-gal-card img { height: 180px; }
    .eisen-gal-caption { font-size: 0.95rem; }
}