/* ==========================================================================
   die Zechpreller - Official Punkrock Style System
   ========================================================================== */

/* 1. Core Variables & Setup */
:root {
    --bg-dark: #0c0b10;
    --bg-card: #16141c;
    --primary: #ff1e1e; /* Punk Red */
    --primary-hover: #d60000;
    --text-light: #ffffff;
    --text-muted: #a6a3b0;
    --accent: #ffae00; /* Neon Orange-Yellow */
    
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(22, 20, 28, 0.75);
    --glass-border: rgba(255, 30, 30, 0.15);
    --glow-shadow: 0 0 15px rgba(255, 30, 30, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 2. Utility & Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header.align-left {
    text-align: left;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 0.9;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px var(--primary);
}

/* Distorted line effect under section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 6px;
    background: var(--primary);
    transform: skewX(-15deg);
}

.section-header.align-left .section-title::after {
    left: 0;
    width: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 15px auto 0;
    font-weight: 300;
}

.text-light { color: var(--text-light); }
.text-light-muted { color: rgba(255,255,255,0.7); }

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* 3. Buttons (Punk style: skewed, high contrast) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    transform: skewX(-8deg);
    position: relative;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--primary);
    box-shadow: 4px 4px 0px var(--text-light);
}

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
    box-shadow: 4px 4px 0px var(--primary);
    transform: skewX(-8deg) translate(-2px, -2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    box-shadow: 4px 4px 0px var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 4px 4px 0px var(--text-light);
    transform: skewX(-8deg) translate(-2px, -2px);
}

.btn-ticket {
    background-color: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 6px 20px;
    font-size: 1.1rem;
}

.btn-ticket:hover {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: var(--glow-shadow);
}

.btn-soldout {
    background-color: #2b2b2b;
    border: 2px solid #444;
    color: #888;
    padding: 6px 20px;
    font-size: 1.1rem;
    transform: skewX(-8deg);
    display: inline-block;
    cursor: not-allowed;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #bd2130;
}

.btn-success {
    background-color: #28a745;
    color: white;
}
.btn-success:hover:not(:disabled) {
    background-color: #218838;
}
.btn-success:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}
.btn-info:hover {
    background-color: #138496;
}

/* 4. Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
}

.nav-logo {
    height: 48px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 30, 30, 0.5));
    transition: var(--transition-fast);
}

.logo-area:hover .nav-logo {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav ul li {
    margin-left: 20px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-light);
    padding: 5px 10px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Lock/Admin button in navbar */
.nav-admin-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-admin-btn:hover,
.nav-admin-btn.logged-in {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 8px rgba(255, 30, 30, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* 5. Hero Section (Parallax & Distorted Overlay) */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12,11,16,0.5) 0%, rgba(12,11,16,0.95) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary);
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 25px;
    text-shadow: 4px 4px 0px var(--primary), -2px -2px 0px #000;
    animation: glitch-skew 1s infinite alternate;
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas .btn {
    margin: 0 10px 15px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse-icon {
    display: block;
    width: 26px;
    height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

/* 6. Musik Sektion */
.musik-section {
    background-color: var(--bg-dark);
}

.musik-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.spotify-container {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-spotify-edit {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--primary);
}

.admin-spotify-edit label {
    font-family: var(--font-heading);
    display: block;
    margin-bottom: 5px;
}

.admin-input {
    width: 100%;
    background: #25232d;
    border: 1px solid #444;
    color: white;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.albums-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.album-card {
    display: flex;
    background-color: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.album-cover-wrapper {
    position: relative;
    width: 180px;
    min-width: 180px;
    height: 180px;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.spotify-play-link {
    color: #1db954;
    font-size: 3rem;
    transition: var(--transition-fast);
}

.spotify-play-link:hover {
    transform: scale(1.1) rotate(5deg);
}

.album-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.album-year {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
}

.album-name {
    font-size: 1.8rem;
    margin: 5px 0 10px;
    line-height: 1.1;
}

.album-tracks {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.album-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    color: #1db954;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.album-btn i {
    margin-right: 6px;
    font-size: 1.2rem;
}

.album-btn:hover {
    color: white;
    transform: translateX(3px);
}

/* 7. Tour Sektion */
.tour-section {
    background: url('assets/live-show.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.tour-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 11, 16, 0.88);
    z-index: 1;
}

.tour-section .container {
    position: relative;
    z-index: 2;
}

.tour-table-container {
    background: rgba(22, 20, 28, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    padding: 30px;
    overflow-x: auto;
}

.tour-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tour-table th {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--primary);
    padding: 15px 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tour-table td {
    padding: 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
}

.tour-table tbody tr {
    transition: var(--transition-fast);
}

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

.tour-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.2rem;
}

.tour-city {
    font-weight: 600;
    color: var(--accent);
}

.tour-venue {
    color: var(--text-muted);
}

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

.btn-delete-row {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: var(--transition-fast);
}

.btn-delete-row:hover {
    color: #ff5c6c;
    transform: scale(1.2);
}

/* Admin Tour Date Form */
.admin-add-tour-container {
    background: rgba(22, 20, 28, 0.9);
    border: 2px dashed var(--primary);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.admin-add-tour-container h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.admin-tour-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 15px;
    align-items: center;
}

.admin-tour-form input,
.admin-tour-form select {
    background: #25232d;
    border: 1px solid #444;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
}

/* 8. Über Uns Sektion */
.about-section {
    background-color: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.about-image-side {
    position: relative;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12,11,16,0.97);
    border: 2px solid var(--primary);
    min-width: 160px;
    z-index: 200;
    list-style: none;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.nav-dropdown-link:hover {
    background: rgba(255,30,30,0.15);
    color: var(--primary);
}

/* Spotify fullwidth */
.spotify-fullwidth-container {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
}

/* Punk Frame styling - rough edges */
.frame-decor {
    position: relative;
    border: 3px solid var(--text-light);
    box-shadow: 10px 10px 0px var(--primary);
    transform: rotate(-2deg);
    transition: var(--transition-normal);
}

.frame-decor:hover {
    transform: rotate(0deg);
    box-shadow: 15px 15px 0px var(--accent);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.about-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-full-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.band-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.member-badge {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-left: 4px solid var(--primary);
    transform: skewX(-5deg);
}

.member-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.member-name {
    font-size: 1.6rem;
    margin-top: 2px;
}

/* Admin Social / Legal Editors */
.admin-social-editor,
.admin-legal-editor {
    margin-top: 20px;
    padding: 20px;
    background: rgba(22,20,28,0.9);
    border: 2px dashed var(--primary);
    border-radius: 6px;
}

.admin-social-editor h5,
.admin-legal-editor h5 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.admin-social-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.admin-social-form label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.admin-social-form button {
    grid-column: 1 / -1;
    margin-top: 10px;
    justify-self: start;
}

.admin-legal-editor {
    margin-top: 20px;
    border-color: var(--accent);
}

.admin-legal-editor h5 {
    color: var(--accent);
}
.member-badge--highlight {
    border-left-color: var(--accent);
    grid-column: 2;
}

.member-badge--highlight .member-role {
    color: var(--accent);
}

/* 9. Galerie Sektion */
.gallery-section {
    background-color: #08070b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08) rotate(1deg);
}

.gallery-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 20px 15px 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
    bottom: 0;
}

.center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--primary);
}

.gallery-img-logo {
    height: 80%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid var(--text-light);
    box-shadow: 0 0 30px rgba(255, 30, 30, 0.4);
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

/* 10. Kontakt Sektion & Form */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-item i {
    font-size: 1.8rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewX(-5deg);
}

.contact-method-item h4 {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-method-item p a {
    color: var(--accent);
    text-decoration: none;
}

.contact-method-item p a:hover {
    color: white;
    text-decoration: underline;
}

.social-links-container h4 {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transform: skewX(-8deg);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: skewX(-8deg) scale(1.1);
    box-shadow: var(--glow-shadow);
}

.punk-form {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 40px;
    transform: rotate(0.5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(12, 11, 16, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 30, 30, 0.2);
}

.form-response-msg {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    display: none;
    font-weight: 700;
}

.form-response-msg.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
    display: block;
}

/* 11. Footer */
.main-footer {
    background-color: #060508;
    padding: 40px 0;
    border-top: 2px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary);
}

.made-by {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

/* 12. Modals (Login) */
.modal {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 15% auto;
    padding: 30px;
    border: 3px solid var(--primary);
    width: 90%;
    max-width: 400px;
    transform: skewX(-3deg);
    position: relative;
    box-shadow: 0 0 30px rgba(255, 30, 30, 0.3);
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.error-msg {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    display: none;
}

/* 13. Admin Interface - Floating Toolbar & Editable Styles */
/* ============================================================
   13. Admin Control Center Sidebar & Floating Toggle
   ============================================================ */

/* Floating Toggle Button */
.admin-sidebar-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 30, 30, 0.4);
    cursor: pointer;
    z-index: 1800;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid white;
    transition: var(--transition-normal);
}

.admin-sidebar-toggle:hover {
    background: var(--accent);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.5);
    transform: scale(1.05) translateY(-3px);
}

/* Sidebar Container */
.admin-sidebar {
    position: fixed;
    top: 0;
    right: -420px; /* Hidden by default */
    width: 400px;
    height: 100vh;
    background: rgba(12, 11, 16, 0.98);
    border-left: 3px solid var(--primary);
    box-shadow: -10px 0 35px rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    backdrop-filter: blur(15px);
    visibility: hidden;
}

.admin-sidebar.open {
    right: 0;
    visibility: visible;
}

/* Sidebar Header */
.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 2px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.admin-sidebar-close:hover {
    color: var(--primary);
}

/* Sidebar Tabs Navigation */
.admin-sidebar-tabs {
    display: flex;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 15px 5px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sidebar-tab i {
    font-size: 1.1rem;
}

.sidebar-tab.active,
.sidebar-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(255,30,30,0.04);
}

/* Sidebar Body & Forms */
.admin-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
}

.sidebar-tab-content {
    display: none;
}

.sidebar-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.sidebar-tab-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.tab-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.admin-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-sidebar-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-sidebar-form label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-action-box {
    margin-bottom: 20px;
}

/* Changed Elements List */
.changed-elements-box h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.changed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
}

.changed-list li {
    padding: 10px 14px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.changed-list li:last-child {
    border-bottom: none;
}

.changed-list li .element-tag {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.changed-list li .element-desc {
    color: var(--text-light);
}

.empty-changed-list {
    color: var(--text-muted) !important;
    text-align: center;
    padding: 20px 0 !important;
    font-style: italic;
}

/* Sidebar Footer */
.admin-sidebar-footer {
    padding: 20px;
    border-top: 2px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-sidebar-footer .btn {
    padding: 12px;
    font-size: 1rem;
    font-weight: 700;
}

/* Active Inline Edit Elements Highlight */
body.admin-edit-active [data-editable="true"] {
    outline: 2px dashed rgba(255, 30, 30, 0.6) !important;
    outline-offset: 4px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

body.admin-edit-active [data-editable="true"]:hover {
    outline-color: var(--primary) !important;
    outline-style: solid !important;
    background: rgba(255, 30, 30, 0.08) !important;
}

/* Changed elements glowing effect */
body.admin-edit-active [data-editable="true"].element-changed {
    outline-color: var(--accent) !important;
    outline-style: solid !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3) !important;
}

body.admin-edit-active [data-editable="true"]::before {
    content: "\f044";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100;
    opacity: 0.6;
    pointer-events: none;
    border: 1px solid white;
}

body.admin-edit-active [data-editable="true"].element-changed::before {
    content: "\f0c7"; /* floppy icon */
    background: var(--accent);
    opacity: 1;
}

body.admin-edit-active [data-editable="true"]:hover::before {
    opacity: 1;
}

/* 14. Responsive Breakpoints */
@media (max-width: 992px) {
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .musik-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .admin-tour-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(12, 11, 16, 0.98);
        backdrop-filter: blur(15px);
        transition: var(--transition-normal);
        border-bottom: 2px solid var(--glass-border);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding-top: 40px;
    }
    
    .main-nav ul li {
        margin: 20px 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .album-card {
        flex-direction: column;
    }
    
    .album-cover-wrapper {
        width: 100%;
        height: 250px;
    }
    
    .toolbar-content {
        flex-direction: column;
        gap: 15px;
    }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-1deg); }
    20% { transform: skew(1deg); }
    30% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

@keyframes scroll-wheel {
    0% { opacity: 0; top: 5px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

/* ============================================================
   GÄSTEBUCH SECTION
   ============================================================ */
.gaestebuch-section {
    background: linear-gradient(180deg, #0c0b10 0%, #100d18 100%);
    padding: 100px 0;
    position: relative;
}

.gb-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

/* Auth + Write Panel */
.gb-auth-panel,
.gb-write-panel {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 30px;
    border-radius: 6px;
}

.gb-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--glass-border);
}

.gb-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
    margin-bottom: -2px;
}

.gb-tab.active,
.gb-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* User bar when logged in */
.gb-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,30,30,0.1);
    border: 1px solid var(--primary);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.gb-user-bar strong {
    color: var(--primary);
}

/* Entries container */
.gb-entries-container {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 30px;
    border-radius: 6px;
    min-height: 300px;
}

.gb-entries-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.gb-entry-card {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid var(--primary);
    padding: 18px 20px;
    margin-bottom: 16px;
    border-radius: 0 4px 4px 0;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.gb-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gb-entry-author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
}

.gb-entry-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gb-entry-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.gb-entry-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.gb-entry-delete:hover {
    background: var(--primary);
    color: white;
}

.gb-no-entries {
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
    font-style: italic;
}

/* ============================================================
   DANKE SECTION
   ============================================================ */
.danke-section {
    background: linear-gradient(180deg, #100d18 0%, #0a0812 100%);
    padding: 100px 0;
}

.danke-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.danke-card {
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    padding: 30px;
    border-radius: 6px;
    position: relative;
    transition: var(--transition-normal);
    animation: fadeInUp 0.3s ease;
}

.danke-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255,30,30,0.2);
}

.danke-card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.danke-card-person {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.danke-card-message {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.danke-card-delete {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.danke-card-delete:hover {
    background: var(--primary);
    color: white;
}

.admin-danke-editor {
    background: rgba(22,20,28,0.9);
    border: 2px dashed var(--primary);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.admin-danke-editor h5 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.admin-danke-form .form-group {
    margin-bottom: 15px;
}

/* Band Member Editor and Biography styles */
.admin-member-edit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}
.admin-member-edit-card h5 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}
.member-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* ==========================================================================
   15. Global Password Login Wall (Sperrbildschirm)
   ========================================================================== */
.site-login-wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 8, 12, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-login-wall.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-wall-card {
    background: rgba(25, 20, 30, 0.85);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 40px rgba(255, 30, 30, 0.25);
    text-align: center;
    animation: punkSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes punkSlideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-wall-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 30, 30, 0.5));
}

.login-wall-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.login-wall-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.login-wall-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-wall-form label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

/* System Tab Styling inside Admin Sidebar */
.system-status-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
}

.toggle-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--glass-border);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: #28a745;
}

.user-management-box h5 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.admin-users-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-user-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.user-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-card-name {
    font-weight: 700;
    color: var(--text-light);
}

.user-card-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-delete-user {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    transition: var(--transition-fast);
}

.btn-delete-user:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .gb-layout {
        grid-template-columns: 1fr;
    }
}
