/* ============================= */
/* ===== bewerben.css       ===== */
/* ===== OnlyFamily Design  ===== */
/* ============================= */

/* ===== GLOBAL STYLES & ANIMATION ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    background: linear-gradient(-45deg, #030007, #08001a, #1a0033, #0a0015);
    background-size: 400% 400%;
    animation: gradientBG 30s ease infinite;
    color: #fff;
    line-height: 1.6;
    flex: 1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    flex: 1;
}

/* ===== SITE NAVIGATION ===== */
.site-nav {
    background: rgba(8, 4, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(145, 70, 255, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c084fc;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.2s ease;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9146ff;
    transition: width 0.3s ease;
}

.nav-logo:hover {
    color: #9146ff;
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9146ff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #c084fc;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
    background: #9146ff;
}

/* ===== HEADER ===== */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 2rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.subhead {
    color: #b9c7e6;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    border-left: 4px solid #9146ff;
    padding-left: 1.2rem;
    background: rgba(145, 70, 255, 0.08);
    border-radius: 0 12px 12px 0;
    line-height: 1.5;
}

/* ===== FREIWILLIG-BANNER ===== */
.volunteer-banner {
    width: 100%;
    max-width: 1100px;
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.volunteer-banner:hover {
    background: rgba(145, 70, 255, 0.15);
    border-color: rgba(145, 70, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(145, 70, 255, 0.2);
}

.volunteer-banner .banner-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.volunteer-banner .banner-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.volunteer-banner .banner-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.volunteer-banner .banner-text strong {
    color: #c084fc;
    font-weight: 600;
}

/* ===== JOB-GRID ===== */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    width: 100%;
    max-width: 1100px;
    margin: 2rem 0 3rem;
}

/* ===== JOB-KARTE ===== */
.job-card {
    background: rgba(8, 4, 16, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.8rem 1.8rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-solid);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px var(--glow);
    border-color: var(--accent-border);
    background: rgba(16, 8, 24, 0.7);
}

.job-card:hover::before {
    height: 4px;
    opacity: 1;
}

.job-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.job-card:hover .job-icon {
    transform: scale(1.1);
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--accent-text);
    letter-spacing: -0.01em;
}

.job-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--accent-badge-bg, rgba(145, 70, 255, 0.2));
    border: 1px solid var(--accent-badge-border, rgba(145, 70, 255, 0.4));
    color: var(--accent-text, #c084fc);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    backdrop-filter: blur(4px);
}

.job-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.button-group {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.job-btn {
    display: block;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent-border);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.job-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow);
}

.req-btn {
    display: block;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.req-btn:hover {
    background: var(--accent-badge-bg, rgba(145, 70, 255, 0.2));
    border-color: var(--accent-border, rgba(145, 70, 255, 0.65));
    transform: translateY(-2px);
}

/* ===== KARTEN-FARBEN ===== */
.card-purple {
    --accent: rgba(145, 70, 255, 0.4);
    --accent-solid: rgba(145, 70, 255, 1);
    --accent-border: rgba(145, 70, 255, 0.6);
    --accent-text: #c084fc;
    --glow: rgba(145, 70, 255, 0.35);
    --accent-badge-bg: rgba(145, 70, 255, 0.18);
    --accent-badge-border: rgba(145, 70, 255, 0.35);
}

.card-blue {
    --accent: rgba(0, 140, 255, 0.4);
    --accent-solid: rgba(0, 140, 255, 1);
    --accent-border: rgba(0, 140, 255, 0.6);
    --accent-text: #60c8ff;
    --glow: rgba(0, 140, 255, 0.35);
    --accent-badge-bg: rgba(0, 140, 255, 0.18);
    --accent-badge-border: rgba(0, 140, 255, 0.35);
}

.card-green {
    --accent: rgba(0, 210, 100, 0.4);
    --accent-solid: rgba(0, 210, 100, 1);
    --accent-border: rgba(0, 210, 100, 0.6);
    --accent-text: #4ade80;
    --glow: rgba(0, 210, 100, 0.35);
    --accent-badge-bg: rgba(0, 210, 100, 0.18);
    --accent-badge-border: rgba(0, 210, 100, 0.35);
}

.card-red {
    --accent: rgba(255, 60, 60, 0.4);
    --accent-solid: rgba(255, 60, 60, 1);
    --accent-border: rgba(255, 60, 60, 0.6);
    --accent-text: #f87171;
    --glow: rgba(255, 60, 60, 0.35);
    --accent-badge-bg: rgba(255, 60, 60, 0.18);
    --accent-badge-border: rgba(255, 60, 60, 0.35);
}

.card-cyan {
    --accent: rgba(0, 220, 210, 0.4);
    --accent-solid: rgba(0, 220, 210, 1);
    --accent-border: rgba(0, 220, 210, 0.6);
    --accent-text: #67e8f9;
    --glow: rgba(0, 220, 210, 0.35);
    --accent-badge-bg: rgba(0, 220, 210, 0.18);
    --accent-badge-border: rgba(0, 220, 210, 0.35);
}

/* ===== FOOTER ===== */
.site-footer {
    background: rgba(8, 4, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(145, 70, 255, 0.25);
    margin-top: auto;
    width: 100%;
    padding: 1.2rem 0;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.3rem 0;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #9146ff;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #c084fc;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(12, 6, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(145, 70, 255, 0.5);
    border-radius: 28px;
    padding: 2.2rem;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-icon {
    font-size: 2.2rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #c084fc;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 60, 60, 0.2);
    transform: rotate(90deg);
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 0.9rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    line-height: 1.5;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li::before {
    content: "•";
    color: #c084fc;
    font-weight: bold;
    font-size: 1.6rem;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav {
        gap: 1.5rem;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-top: 1.5rem;
    }
    
    .job-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .volunteer-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 1.8rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subhead {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 0.6rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .footer-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-nav a {
        font-size: 0.8rem;
    }
    
    .footer-copy {
        font-size: 0.75rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(145, 70, 255, 0.4);
    border-radius: 10px;
    transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(145, 70, 255, 0.7);
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(135deg, #c084fc, #9146ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(8, 4, 16, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(145, 70, 255, 0.2);
}




/* ===== MODAL ERWEITERUNGEN ===== */
.modal-large {
    max-width: 800px !important;
    width: 95%;
}

.modal-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.modal-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    border-left: 3px solid;
}

.modal-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #c084fc;
}

.discord-section {
    border-left-color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
}

.discord-link-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin: 0.8rem 0;
    flex-wrap: wrap;
}

.discord-link {
    color: #5865F2;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    flex: 1;
}

.discord-link:hover {
    text-decoration: underline;
}

.copy-btn {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid #5865F2;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #5865F2;
}

.discord-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.hint-section {
    border-left-color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.hint-list {
    list-style: none;
    padding: 0;
}

.hint-list li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hint-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    color: #f87171;
}

.pros-list li::before {
    content: "✨" !important;
    color: #4ade80 !important;
}

.kontras-list li::before {
    content: "⚠️" !important;
    color: #f87171 !important;
}

.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.bewerben-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #9146ff, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bewerben-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px #9146ff;
}

/* Scrollbar für Modal */
.modal-sections::-webkit-scrollbar {
    width: 5px;
}

.modal-sections::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.modal-sections::-webkit-scrollbar-thumb {
    background: #9146ff;
    border-radius: 10px;
}