/* Modern CSS Variables - Neon & Dark Theme */
:root {
    /* Neon Colors */
    --neon-cyan: #00ffff;
    --neon-pink: #ff006e;
    --neon-purple: #8338ec;
    --neon-green: #3ddc84;
    --neon-orange: #ff8500;
    --neon-blue: #0099ff;
    
    /* MOBILE-OPTIMIERTE GRADIENTEN */
    --gradient-main: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #11998e 100%);
    --gradient-main-mobile: linear-gradient(180deg, #1a1a1a 0%, #2d1b69 50%, #11998e 100%);
    --gradient-neon: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Effects */
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --glow-pink: 0 0 20px rgba(255, 0, 110, 0.5);
    --glow-purple: 0 0 20px rgba(131, 56, 236, 0.5);
    
    /* Animation */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Courier New', monospace;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-main);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    /* MOBILE-FIX: Kein fixed attachment auf Mobile */
    background-attachment: scroll;
}

/* MOBILE-SPEZIFISCHE GRADIENT-OPTIMIERUNG */
@media (max-width: 768px) {
    body {
        background: var(--gradient-main-mobile);
        background-size: 100% 200vh; /* Größerer Gradient für Mobile */
        background-repeat: no-repeat;
    }
}

/* iOS-SPEZIFISCHE FIXES */
@supports (-webkit-touch-callout: none) {
    body {
        background: var(--gradient-main-mobile);
        background-attachment: scroll;
        background-size: 100% 150vh;
    }
}

/* Animated Background - MOBILE-OPTIMIERT */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(131, 56, 236, 0.15) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* MOBILE: Weniger Animation für bessere Performance */
@media (max-width: 768px) {
    body::before {
        background: 
            radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.2) 0%, transparent 60%),
            radial-gradient(circle at 70% 70%, rgba(255, 0, 110, 0.2) 0%, transparent 60%);
        animation: none; /* Keine Animation auf Mobile für bessere Performance */
    }
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, 10px) rotate(-1deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

/* MOBILE: Weniger intensive Animation */
@media (max-width: 768px) {
    h1 {
        animation: none;
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    }
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.8)); }
}

/* ===========================================
   MOBILE HEADER OPTIMIERUNG
   =========================================== */

/* Header & Navigation - MOBILE-OPTIMIERT */
.header,
.main-header {
    background: rgba(26, 26, 26, 0.9); /* Mehr Deckkraft auf Mobile */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* MOBILE: Stärkerer Header-Hintergrund */
@media (max-width: 768px) {
    .header,
    .main-header {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 2px solid rgba(0, 255, 255, 0.4);
    }
}

.nav {
    padding: 1.2rem 0;  /* Etwas mehr Padding */
}

.nav-container,
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;  /* Etwas mehr Padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 160px;  /* Etwas größer */
    max-height: 180px;  /* Etwas größere Obergrenze */
}

/* MOBILE HEADER-CONTAINER ANPASSUNGEN */
@media (max-width: 768px) {
    .header-container {
        padding: 20px 15px;  /* Mehr Padding für größeres Logo */
        flex-direction: column;
        gap: 20px;
        min-height: auto;
        max-height: none;
    }
    
    /* Logo zentrieren auf Mobile */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        order: 1;
        padding: 15px 0;  /* Mehr Padding um das Logo */
    }
    
    /* Navigation Container */
    .nav-container {
        order: 2;
        width: 100%;
        justify-content: center;
        min-height: auto;
        padding: 0;
    }
    
    /* Such-Container */
    .search-container {
        order: 3;
        width: 100%;
        margin: 0;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-img-responsive,
.logo {
    width: 450px;   /* Desktop: Wieder groß wie vorher! */
    height: 450px;  
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(var(--glow-cyan));
}

/* MOBILE: Logo VIEL größer und gut lesbar */
@media (max-width: 768px) {
    .logo-img-responsive,
    .logo {
        width: 320px;    /* Viel größer für Mobile! */
        height: 120px;   /* Höher für bessere Lesbarkeit */
        max-height: 120px;
        object-fit: contain;
    }
}

.logo-img-responsive:hover,
.logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(var(--glow-pink));
}

.nav-menu,
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

/* MOBILE: Navigation anpassen */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* MOBILE: Navigation Links kleiner */
@media (max-width: 768px) {
    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Home-Button auf Mobile ausblenden */
@media (max-width: 768px) {
    .nav-home-btn {
        display: none !important;
    }
}

/* Drink vorschlagen Button aus Header entfernen auf Mobile */
@media (max-width: 768px) {
    .header-suggest-btn {
        display: none !important;
    }
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-neon);
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
    color: #000000;
}

/* ===========================================
   NEUER CTA-BUTTON ZWISCHEN SUCHE UND TOP 3
   =========================================== */

.suggest-drink-cta,
.cta-section a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    margin: 30px auto;
    display: block;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.suggest-drink-cta:hover,
.cta-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.suggest-drink-cta:active,
.cta-section a:active {
    transform: translateY(0);
}

/* Mobile Anpassung für CTA Button */
@media (max-width: 768px) {
    .suggest-drink-cta,
    .cta-section a {
        margin: 20px 15px;
        padding: 12px 25px;
        font-size: 15px;
        max-width: none;
    }
}

/* ===========================================
   ABSCHNITT-TRENNER STYLING
   =========================================== */

.section-divider {
    margin: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .section-divider {
        margin: 25px 0;
    }
}

/* Hero Section - MOBILE-OPTIMIERT */
.hero,
.hero-section {
    background: transparent;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* MOBILE: Einfachere Hero-Section */
@media (max-width: 768px) {
    .hero,
    .hero-section {
        padding: 4rem 0;
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(10px);
        border-radius: 0 0 30px 30px;
        margin-bottom: 2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 0, 110, 0.05) 50%, transparent 52%);
    animation: gridMove 10s linear infinite;
}

/* MOBILE: Kein Grid-Movement */
@media (max-width: 768px) {
    .hero::before {
        animation: none;
        background: 
            linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.08) 50%, transparent 52%);
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.hero h1,
.hero-title {
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* MOBILE: Bessere Lesbarkeit */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* MOBILE: Stärkere Search-Form */
@media (max-width: 768px) {
    .search-form {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(0, 255, 255, 0.5);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input-group {
        display: flex;
        gap: 1rem;
    }
}

.search-input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

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

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.search-btn {
    background: var(--gradient-neon);
    color: #000000;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-bottom: 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

/* MOBILE: Weniger Padding */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(0, 255, 255, 0.3));
}

/* Top Drinks Section - MOBILE-OPTIMIERT */
.top-drinks,
.top-drinks-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    margin: 4rem 0;
    padding: 4rem 0;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* MOBILE: Stärkerer Kontrast */
@media (max-width: 768px) {
    .top-drinks,
    .top-drinks-section {
        background: rgba(255, 255, 255, 0.12);
        border: 2px solid rgba(0, 255, 255, 0.4);
        margin: 2rem 0;
        padding: 3rem 0;
    }
}

.top-drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));  /* Breiter für Monster-Dosen */
    gap: 3rem;
    margin-top: 3rem;
}

/* ===========================================
   MONSTER ENERGY DOSEN-GRÖSSEN (KORRIGIERT!)
   =========================================== */

/* INDEX.PHP - Breitere Monster Energy Dosen für Karten-Ansicht */
.drink-image,
.drink-img {
    width: 200px;           /* Breiter für bessere Sichtbarkeit */
    height: 450px;          /* Höhe beibehalten */
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: var(--transition-smooth);
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1); /* Fallback-Hintergrund */
}

.drink-card:hover .drink-image,
.drink-card:hover .drink-img {
    transform: scale(1.05);
    filter: brightness(1.2) saturate(1.3);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

/* DETAIL.PHP - Breitere Monster Energy Dose */
.detail-image {
    width: 280px;           /* Deutlich breiter für Detail-Ansicht */
    height: 600px;          /* Höhe beibehalten (1:2.14 Verhältnis) */
    object-fit: cover;      /* Behält Proportionen bei */
    object-position: center;
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 255, 255, 0.3);
    transition: var(--transition-smooth);
    border: 2px solid rgba(0, 255, 255, 0.4);
    margin: 0 auto;
    display: block;
}

.detail-image:hover {
    transform: scale(1.02) rotateY(5deg);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        var(--glow-cyan);
}

/* TOP 3 DRINKS: Breitere Featured Drinks */
.top-drinks .drink-image,
.top-drinks .drink-img {
    height: 480px;                    /* Etwas höher für Top 3 */
    width: 200px;                     /* Gleiche Breite wie normale Drinks */
    border: 2px solid rgba(255, 215, 0, 0.3); /* Goldener Rahmen */
}

.top-drinks .drink-card:hover .drink-image,
.top-drinks .drink-card:hover .drink-img {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* MOBILE ANPASSUNGEN FÜR BREITERE MONSTER DOSEN */
@media (max-width: 768px) {
    .drink-image,
    .drink-img {
        width: 180px;       /* Mobile: breiter */
        height: 420px;      /* Proportional angepasst */
    }
    
    .detail-image {
        width: 240px;       /* Mobile: breiter */
        height: 540px;      /* Proportional angepasst */
        margin: 0 auto;
    }
    
    .top-drinks .drink-image,
    .top-drinks .drink-img {
        height: 450px;      /* Top 3 auf Mobile */
    }
}

/* SEHR KLEINE MOBILE GERÄTE - BREITER */
@media (max-width: 480px) {
    .drink-image,
    .drink-img {
        width: 160px;
        height: 360px;
    }
    
    .detail-image {
        width: 220px;
        height: 480px;
    }
    
    .top-drinks .drink-image,
    .top-drinks .drink-img {
        height: 380px;
    }
}

/* ALTERNATIVE GRÖSSEN für verschiedene Bildformate */

/* Für quadratische Bilder */
.drink-image.square-format {
    width: 280px;
    height: 280px;
}

.detail-image.square-format {
    width: 380px;
    height: 380px;
}

/* Für Landscape-Bilder */
.drink-image.landscape-format {
    width: 300px;
    height: 200px;
}

.detail-image.landscape-format {
    width: 400px;
    height: 280px;
}

/* CONTAINER-ANPASSUNGEN für die neuen Größen */
.detail-container {
    margin-bottom: 4rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: auto 1fr;  /* Bildbreite automatisch, Rest flexibel */
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* NO-IMAGE PLACEHOLDER: Breitere Platzhalter für fehlende Bilder */
.no-image {
    width: 200px;                     /* Gleiche Breite wie echte Monster-Dosen */
    height: 450px;                    /* Gleiche Höhe wie Monster-Dosen */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    margin: 0 auto;
}

.drink-card:hover .no-image {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(0, 255, 255, 0.05) 100%);
    border-color: rgba(0, 255, 255, 0.5);
    color: rgba(0, 255, 255, 0.6);
}

/* Drink Cards - BREITER FÜR MONSTER ENERGY OPTIMIERT */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));  /* Etwas breiter für die breiteren Dosen */
    gap: 3rem;
    margin-bottom: 4rem;
}

.drink-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* MONSTER ENERGY ANPASSUNGEN */
    min-height: 650px;      /* Mindesthöhe für Monster-Dosen-Format */
    display: flex;
    flex-direction: column;
}

/* MOBILE: Stärkere Card-Hintergründe */
@media (max-width: 768px) {
    .drink-card {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(0, 255, 255, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        min-height: 550px;  /* Etwas kleiner auf Mobile */
    }
    
    .drinks-grid,
    .top-drinks-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.drink-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.1) 0%,    /* Monster Green */
        rgba(0, 0, 0, 0.1) 50%,     /* Monster Black */
        rgba(0, 255, 255, 0.1) 100% /* Cyber Cyan */
    );
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.drink-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        var(--glow-cyan);
}

.drink-card:hover::before {
    opacity: 1;
}

.drink-content,
.drink-info {
    padding: 2rem;
    flex: 1;                /* Nimmt verfügbaren Platz ein */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.drink-name {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.drink-brand {
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

.drink-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.drink-caffeine {
    background: var(--gradient-neon);
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--glow-cyan);
    animation: pulse 2s infinite;
}

/* MOBILE: Weniger Animation */
@media (max-width: 768px) {
    .drink-caffeine {
        animation: none;
        box-shadow: 0 4px 15px rgba(0, 255, 255, 0.6);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.drink-rating,
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 3px;
}

.star,
.fas.fa-star,
.fas.fa-star-half-alt,
.far.fa-star {
    color: var(--neon-orange);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px rgba(255, 133, 0, 0.8));
}

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.rating-count,
.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.no-rating {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.drink-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Buttons - MOBILE-OPTIMIERT */
.btn,
.details-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-neon);
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-bounce);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    width: 100%;
}

.btn::before,
.details-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-smooth);
    transform: translate(-50%, -50%);
}

.btn:hover::before,
.details-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
.details-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--glow-cyan);
    text-decoration: none;
    color: #000000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: #000000;
    box-shadow: var(--glow-cyan);
}

/* Rank Badge - MONSTER ENERGY STYLE */
.rank-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-neon);
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: var(--glow-cyan);
    z-index: 10;            /* Über dem Bild */
    animation: rankPulse 3s ease-in-out infinite;
}

/* MOBILE: Weniger Animation */
@media (max-width: 768px) {
    .rank-badge {
        animation: none;
        box-shadow: 0 4px 15px rgba(0, 255, 255, 0.8);
    }
}

@keyframes rankPulse {
    0%, 100% { transform: scale(1); box-shadow: var(--glow-cyan); }
    50% { transform: scale(1.1); box-shadow: var(--glow-pink); }
}

/* Action Cards */
.actions-section {
    margin: 4rem 0;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 2rem;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition-smooth);
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glow-cyan);
    text-decoration: none;
    color: #ffffff;
}

.action-card i {
    font-size: 3rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.action-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Pagination - MOBILE-OPTIMIERT */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.pagination a:hover {
    background: var(--gradient-neon);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.pagination .current {
    background: var(--gradient-neon);
    color: #000000;
    box-shadow: var(--glow-cyan);
}

/* Messages - MOBILE-OPTIMIERT */
.message {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-success {
    background: rgba(61, 220, 132, 0.25);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(61, 220, 132, 0.4);
}

.message-error {
    background: rgba(255, 0, 110, 0.25);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.message-info {
    background: rgba(0, 255, 255, 0.25);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Footer - MOBILE-OPTIMIERT */
.footer {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
}

/* MOBILE: Stärkerer Footer */
@media (max-width: 768px) {
    .footer {
        background: rgba(255, 255, 255, 0.12);
        border-top: 2px solid rgba(0, 255, 255, 0.4);
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-neon);
    animation: footerGlow 3s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
    font-family: var(--font-display);
    text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-smooth);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-section a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Navigation */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 1rem;
}

.nav-mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Responsive Design */

/* DESKTOP/PC: Logo groß wie gewünscht (KORRIGIERT!) */
@media (min-width: 1025px) {
    .logo-img-responsive,
    .logo {
        width: 450px;        /* Desktop: Richtig groß! */
        height: 450px;       
        object-fit: contain;
    }
    
    .nav-container,
    .header-container {
        min-height: 120px;   
        padding: 0.5rem 2rem; 
    }
    
    .nav {
        padding: 0.5rem 0;   
    }
}

@media (max-width: 1024px) {
    .logo-img-responsive,
    .logo {
        /* Wird durch die spezifischeren Tablet und Mobile Regeln überschrieben */
    }
    
    .nav-container,
    .header-container {
        min-height: 100px;
    }
    
    .drinks-grid,
    .top-drinks-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* Tablet Breakpoint - Kompromiss */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .logo,
    .logo-img-responsive {
        width: 300px;    /* Tablet: Zwischen Desktop und Mobile */
        height: 300px;
        max-height: 120px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    /* Home-Button auf Tablet noch anzeigen, aber kleiner */
    .nav-home-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Very Small Mobile - Logo immer noch groß und lesbar */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .drink-card {
        margin: 0 0.5rem;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* Logo auch auf sehr kleinen Screens groß und lesbar */
    .logo-img-responsive,
    .logo {
        width: 280px;    /* Immer noch groß auf kleinen Handys */
        height: 100px;
        max-height: 100px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero,
    .hero-section {
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .drinks-grid,
    .top-drinks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .drink-card {
        margin: 0 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-btn {
        padding: 1rem 2rem;
    }
}

/* Admin-Thumbnail Styling */
.admin-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.image-cell {
    text-align: center;
    padding: 0.5rem;
}

.no-image.admin-thumb {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 8px;
}

/* PRINT STYLES: Bilder für Druck optimieren */
@media print {
    .drink-image,
    .drink-img,
    .detail-image {
        break-inside: avoid;
        max-height: 300px;
        border: 1px solid #ccc;
    }
}

.section-title small {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}