@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;700&display=swap');

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

:root {
    --yellow: #F5C518;
    --black: #1a1a1a;
    --red: #c0392b;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
}

/* ===== HEADER ===== */
header {
    background: var(--black);
    border-bottom: 3px solid var(--yellow);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: var(--yellow);
    letter-spacing: 3px;
    text-decoration: none;
}

nav { display: flex; gap: 0.5rem; align-items: center; }

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

nav a:hover { background: var(--yellow); color: var(--black); }
nav a.active { background: var(--yellow); color: var(--black); }

.nav-user {
    color: var(--yellow);
    font-size: 13px;
    margin-left: 1rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 85vh;
    background-image: url('../uploads/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--yellow);
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: 3px 3px 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    margin-top: 1rem;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9);
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: var(--yellow);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.5rem;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
}

.card-body { padding: 1.5rem; }
.card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-text { color: #aaa; font-size: 0.9rem; line-height: 1.6; }
.card-meta { color: #666; font-size: 0.8rem; margin-top: 1rem; }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FUNNY ===== */
.funny-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.funny-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--red);
    transition: transform 0.3s;
}

.funny-card:hover { transform: translateY(-5px); }
.funny-card .emoji { font-size: 2rem; margin-bottom: 0.5rem; }

/* ===== FORMS ===== */
.form-wrap {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #333;
}

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

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, textarea, select {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--yellow);
}

textarea { min-height: 120px; resize: vertical; }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: #e6b800; transform: translateY(-2px); }
.btn-danger { background: var(--red); color: var(--white); }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--black);
    border-top: 3px solid var(--yellow);
    text-align: center;
    padding: 1.5rem;
    color: var(--yellow);
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
}

/* ===== ALERT ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
}
.alert-success { background: #1a3a1a; border: 1px solid #2d6a2d; color: #6fcf6f; }
.alert-error { background: #3a1a1a; border: 1px solid #6a2d2d; color: #cf6f6f; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header { padding: 0 1rem; }
    .logo { font-size: 20px; }
    nav a { padding: 0.3rem 0.6rem; font-size: 12px; }
    .hero h1 { font-size: 3rem; }
    section { padding: 2rem 1rem; }
}
/* ===== BIER SÄULEN ===== */
.bier-säule-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bier-säule-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bier-schaum {
    width: 100%;
    height: 20px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    position: relative;
    animation: schaum 2s ease-in-out infinite alternate;
}

.bier-schaum::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 10%;
    width: 30%;
    height: 16px;
    background: #fff;
    border-radius: 50%;
}

.bier-schaum::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 45%;
    width: 40%;
    height: 20px;
    background: #fff;
    border-radius: 50%;
}

.bier-flüssigkeit {
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    animation: wachsen 1.5s ease-out;
}

@keyframes schaum {
    0% { transform: scaleX(1) translateY(0); }
    100% { transform: scaleX(1.05) translateY(-3px); }
}

@keyframes wachsen {
    from { height: 0 !important; }
    to { }
}

.bier-blasen {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: blase 2s ease-in infinite;
}

@keyframes blase {
    0% { bottom: 0; opacity: 0.6; }
    100% { bottom: 100%; opacity: 0; }
}
/* Schaum Fix */
.bier-schaum {
    background: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    box-shadow: 0 -4px 8px rgba(255,255,255,0.6) !important;
}

.bier-schaum::before {
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255,255,255,0.8) !important;
}

.bier-schaum::after {
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255,255,255,0.8) !important;
}
