@font-face {
    font-family: 'Troika';
    src: url('/fonts/Troika.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(22, 36, 43, 0.7), rgba(22, 36, 43, 0.7)), url('/img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f4ede6;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.lfdw-font {
    font-family: 'Troika', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- HEADER --- */
header {
    background: rgba(22, 36, 43, 0.9);
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(224, 82, 91, 0.3);
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    justify-self: end;
    padding-right: 30px; 
    padding-top: 6px;    
    transform: translateY(6px); 
}

.header-center {
    text-align: center;
}

.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.amount-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 15px rgba(224, 82, 91, 0.5);
    line-height: 1;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

/* NEU: Hover-Effekt, da der Spendenstand jetzt anklickbar ist */
.header-amount:hover {
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(224, 82, 91, 0.8);
}

.amount-glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 50px rgba(224, 82, 91, 0.6) !important;
}

/* --- BUTTONS --- */
.btn-donate {
    display: inline-block;
    background: linear-gradient(135deg, #ff4b2b, #e0525b);
    color: white;
    padding: 0rem 1.3rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px; 
    font-size: 1.8em; 
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(224, 82, 91, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-donate:hover {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 82, 91, 0.6);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-social:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: scale(1.1);
    border-color: transparent;
}

/* --- CONTENT BOXEN --- */
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }

.box-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden; 
}

.box-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #e0525b;
    z-index: 3; 
}

.box-section h2 { 
    margin-top: 0; 
    color: #e0525b; 
    font-size: 2.4rem; 
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3; 
}

/* --- NEUES TEXT LAYOUT (About Section) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
    position: relative;
    z-index: 3; 
}

.about-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-highlight-box {
    background: rgba(224, 82, 91, 0.1);
    border: 1px solid rgba(224, 82, 91, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: 100%; 
}

.about-highlight-box h4 {
    margin: 0 0 10px 0;
    color: #e0525b;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.about-fact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.fact-icon {
    font-size: 1.5rem;
    color: #e0525b;
}

/* --- GRAFIK-DESIGNELEMENT (XXL) --- */
.schedule-deco-img {
    position: absolute; 
    z-index: 1; 
    bottom: -350px; 
    right: -300px; 
    width: 1175px; 
    height: auto;
    opacity: 0.12; 
    filter: invert(1); 
    pointer-events: none; 
    user-select: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 80%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 80%);
}

/* --- STREAM LINKS --- */
.stream-links-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
    position: relative;
    z-index: 3;
}

.stream-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.stream-btn svg { width: 24px; height: 24px; fill: currentColor; }

.twitch-btn { background: rgba(145, 70, 255, 0.2); border: 1px solid rgba(145, 70, 255, 0.5); }
.twitch-btn:hover { background: rgba(145, 70, 255, 0.8); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(145, 70, 255, 0.4); }

.yt-btn { background: rgba(255, 0, 0, 0.2); border: 1px solid rgba(255, 0, 0, 0.5); }
.yt-btn:hover { background: rgba(255, 0, 0, 0.8); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); }

/* --- PROGRAMMPUNKTE (TIMELINE) --- */
.schedule-container {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
    z-index: 3; 
}
.schedule-container::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: rgba(224, 82, 91, 0.3);
}
.schedule-item {
    position: relative;
    margin-bottom: 25px;
}
.schedule-item:last-child { margin-bottom: 0; }
.schedule-item::before {
    content: '';
    position: absolute;
    left: -35px; top: 5px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #e0525b;
    box-shadow: 0 0 10px rgba(224,82,91,0.6);
}
.schedule-time {
    color: #e0525b;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.schedule-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.schedule-desc {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 1rem;
}

/* --- Milestones --- */
.milestones-list { list-style: none; padding: 0; }
.milestone-item { display: flex; align-items: center; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 1.2rem; margin-bottom: 1rem; transition: 0.3s; }
.milestone-item.achieved { border-color: #e0525b; background: rgba(224, 82, 91, 0.05); opacity: 0.8; }
.milestone-checkbox { width: 22px; height: 22px; border: 2px solid #444; border-radius: 5px; margin-right: 20px; flex-shrink: 0; }
.milestone-item.achieved .milestone-checkbox { background: #e0525b; border-color: #e0525b; position: relative; }
.milestone-item.achieved .milestone-checkbox::after { content: '✔'; color: white; position: absolute; left: 4px; top: -2px; font-size: 14px; }
.milestone-amount { font-size: 1.4rem; font-weight: bold; margin-right: 20px; min-width: 130px; text-align: right; }

#about-images-rotation { margin-top: 2rem; height: 350px; border-radius: 10px; overflow: hidden; position: relative; }
.about-slide { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; opacity: 0; transition: 1s; }
.about-slide.active { opacity: 1; }

/* --- Spendenempfänger Kacheln --- */
.charities-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem; 
    margin-top: 2rem;
}
.charity-card-link { text-decoration: none; color: inherit; display: flex; height: 100%; }
.charity-card { 
    background: rgba(0, 0, 0, 0.6); border-radius: 8px; border-top: 4px solid #e0525b; 
    transition: transform 0.2s, box-shadow 0.2s; overflow: hidden; display: flex; flex-direction: column; width: 100%;
}
.charity-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.charity-img-header { height: 150px; background-size: cover; background-position: center; opacity: 0.8; border-bottom: 1px solid rgba(255,255,255,0.1); }
.charity-content { padding: 1.5rem; }
.charity-content h3 { margin-top: 0; color: #e0525b; }

/* --- FOOTER --- */
footer {
    background: rgba(15, 25, 30, 0.95); border-top: 1px solid rgba(224, 82, 91, 0.3); padding: 1.5rem 2rem; text-align: center; margin-top: 4rem;
}
.footer-content { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 5px; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
.footer-title { font-size: 1.2rem; color: #fff; margin-bottom: 0; }
.footer-links { margin-top: 5px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; margin: 0 15px; transition: color 0.3s; font-weight: bold; }
.footer-links a:hover { color: #e0525b; }