/* ============================
   Dashboard Container
============================ */
.dashboard {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

/* ============================
   Standard Card
============================ */
.card {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* ============================
   Willkommen Card
============================ */
.welcome-card {
    max-width: 100%;
    text-align: center;
}

.welcome-card h1 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
}

/* ============================
   Slider Card
============================ */
.slider-card {
    max-width: 650px;
    margin: 0 auto 4rem auto;
    padding: 1.2rem;
}

/* ============================
   Card Grid
============================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

/* ============================
   Slider
============================ */
.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    max-width: 100%;
    margin: 0 auto;
}

.slide { display: none; }

.slide img {
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.fade {
    animation: fade 1s ease;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
    text-align: center;
    margin-top: 12px;
}

.dot {
    height: 12px;
    width: 12px;
    background: rgba(119,119,119,0.8);
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
}

.dot.active {
    background: rgba(255,255,255,1);
}

/* ============================
   Dashboard Row
============================ */
.dashboard-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.dashboard-row .slider-card { flex: 2 1 65%; }
.dashboard-row .profile-box { flex: 1 1 30%; }

@media (max-width: 768px) {
    .dashboard-row { flex-direction: column; }
    .dashboard-row .slider-card,
    .dashboard-row .profile-box { flex: 1 1 100%; }
}

/* ============================
   Modern Dashboard Footer
============================ */
.dashboard-footer {
    background: rgba(30, 30, 30, 0.9);
    color: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    margin-top: 2rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.5);
    font-size: 0.85rem;
}

/* Footer Container mit flex für Cards */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* ============================
   Footer Cards
============================ */
.footer-card {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0.5rem;
    flex: 1 1 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.footer-card h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: rgba(200,200,255,0.9);
}

.footer-card a {
    color: rgba(160,160,255,0.9);
    text-decoration: none;
    margin: 0 0.3rem;
    transition: 0.2s;
}

.footer-card a:hover {
    color: rgba(255,255,255,1);
    text-shadow: 0 0 5px rgba(255,255,255,0.7);
}

/* Footer Logo */
.footer-logo {
    height: 40px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 6px rgba(255,255,255,.3));
}

/* Social Links */
.footer-right .social-link i {
    font-size: 1.4rem;
    margin-right: 0.5rem;
    color: rgba(160,160,255,0.9);
    transition: transform 0.2s, color 0.2s;
}

.footer-right .social-link:hover i {
    transform: scale(1.2);
    color: rgba(255,255,255,1);
}

/* =========================
   Besucher-Zähler Footer Card
========================= */
.visitor-card {
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0.5rem;
    flex: 1 1 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    text-align: center;
}

.visitor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

.visitor-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.visitor-card p {
    font-size: 1rem;
    margin: 0.2rem 0;
}

.visitor-card .visitor-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffdd57;
    animation: bounce 2s infinite;
}

/* kleine Bounce-Animation für Icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* ============================
   Sticky Radio Player – fixed
============================ */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(17,17,17,1), rgba(34,34,34,1));
    color: rgba(255,255,255,1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.6);
    border-top: 2px solid rgba(68,68,68,1);
    padding: 0.6rem 1.2rem;
    z-index: 9999;
}

.player-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.player-meta span {
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(51,51,51,1);
}

.player-controls button {
    background: rgba(51,51,51,1);
    color: rgba(255,255,255,1);
    border: none;
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    margin-right: 4px;
    font-size: 1rem;
}

.player-controls button:hover {
    background: rgba(85,85,85,1);
}
/* ============================
   Mobile Player & Footer
============================ */
@media (max-width: 768px) {
    .sticky-player {
        height: 110px;
        padding: 0.5rem;
    }
    .player-inner {
        flex-direction: column;
        text-align: center;
    }
    .player-meta {
        margin-bottom: 0.4rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}
/* ============================
   Layout Fix – Footer sichtbar
============================ */
body {
    padding-bottom: 50px; /* >= Playerhöhe */
}

/* ============================
   Equalizer Bars
============================ */
.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin: 8px 0;
}
.equalizer .bar {
  width: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 3px;
  height: 10px;
  transition: height 0.05s linear;
}

/* Live Indicator */
.live-indicator {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: red;
  animation: pulse 1.2s infinite;
}

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

/* ============================
   DSGVO externes Link Modal
============================ */
.leave-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.leave-modal-content {
    background: linear-gradient(135deg, rgba(17,17,17,1), rgba(28,28,40,1));
    border-radius: 16px;
    padding: 25px;
    max-width: 420px;
    color: rgba(255,255,255,1);
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    text-align: center;
}

.leave-modal-content a {
    color: rgba(160,160,255,0.9);
    text-decoration: underline;
}

.leave-modal-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}

.leave-modal-buttons button,
.leave-modal-buttons a {
    background: rgba(43,43,60,1);
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,1);
    text-decoration: none;
    cursor: pointer;
}

.leave-modal-buttons button:hover,
.leave-modal-buttons a:hover {
    background: rgba(61,61,85,1);
}

/* ============================
   community anzeige 
============================ */
.community-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.community-list li {
    margin-bottom: .6rem;
}

.community-list a {
    font-weight: bold;
    text-decoration: none;
}

.community-more {
    margin-top: .8rem;
    text-align: right;
}

.hint {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.error {
    color: #ff6b6b;
    font-weight: 500;
}
