:root{
    --bg:#0e1c2a;
    --bg2:#13283d;
    --card:#17324c;
    --card2:#1c3c5a;
    --accent:#ff8c1a;
    --accent2:#ff6f00;
    --text:#ffffff;
    --muted:rgba(255,255,255,0.78);
    --line:rgba(255,255,255,0.10);
    --shadow:0 10px 28px rgba(0,0,0,0.22);
    --radius:16px;
    --radius-sm:12px;
    --success:#1f9d55;
    --warning:#d97706;
    --danger:#dc2626;
    --max:1280px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(180deg,var(--bg),var(--bg2));
    color:var(--text);
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:100%;
    max-width:var(--max);
    margin:0 auto;
    padding:0 16px;
}

.topbar{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(14,28,42,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
}

.topbar-inner{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:10px 0;
}

.brand{
    font-size:28px;
    font-weight:bold;
    line-height:1.1;
}

.brand span{
    color:var(--accent);
}

.nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.nav a{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,0.06);
    font-weight:bold;
    font-size:14px;
}

.nav a:hover,
.nav a.active{
    background:var(--accent);
}

.hero{
    padding:28px 0 18px;
}

.hero-box{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:24px;
    align-items:start;
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:24px;
}

.hero-right{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.hero h1{
    margin:0 0 12px 0;
    font-size:42px;
    line-height:1.08;
}

.hero p{
    margin:0;
    color:var(--muted);
    font-size:17px;
    line-height:1.55;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.logo-box{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:240px;
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    padding:12px;
}

.logo-box img{
    max-width:100%;
    max-height:220px;
    object-fit:contain;
    display:block;
}

.logo-fallback{
    color:var(--muted);
    text-align:center;
    padding:20px;
}

.prize-card{
    background:rgba(255,140,26,0.10);
    border:1px solid rgba(255,140,26,0.35);
    border-radius:16px;
    padding:16px 18px;
}

.prize-card small{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-bottom:6px;
}

.prize-card strong{
    font-size:32px;
    line-height:1;
    color:#fff;
}

.menu-tiles{
    display:grid;
    grid-template-columns:repeat(5, minmax(0,1fr));
    gap:16px;
    margin-top:22px;
}

.tile,
.section-link{
    display:block;
    padding:18px;
    border-radius:18px;
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    transition:0.2s;
}

.tile:hover,
.section-link:hover{
    transform:translateY(-2px);
    border-color:rgba(255,140,26,0.45);
}

.tile-title{
    font-size:20px;
    font-weight:bold;
    margin-bottom:6px;
}

.tile-text{
    color:var(--muted);
    font-size:14px;
    line-height:1.45;
}

.section{
    padding:22px 0 8px;
}

.section-title{
    margin:0 0 8px 0;
    font-size:30px;
    line-height:1.15;
}

.section-subtitle{
    margin:0 0 18px 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.5;
}

.grid{
    display:grid;
    gap:18px;
}

.grid-2{
    grid-template-columns:repeat(2, minmax(0,1fr));
}

.grid-3{
    grid-template-columns:repeat(3, minmax(0,1fr));
}

.grid-4{
    grid-template-columns:repeat(4, minmax(0,1fr));
}

.card{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:20px;
}

.card h2,
.card h3{
    margin-top:0;
}

.stat-card{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-left:5px solid var(--accent);
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:18px;
}

.stat-label{
    color:var(--muted);
    font-size:13px;
    margin-bottom:8px;
}

.stat-value{
    font-size:30px;
    font-weight:bold;
    line-height:1.1;
}

.event-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:12px 0 18px;
}

.pill,
.badge{
    display:inline-block;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,0.07);
    font-size:12px;
    font-weight:bold;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:12px 16px;
    border-radius:12px;
    background:var(--accent);
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:bold;
    font-size:15px;
    text-align:center;
}

.btn:hover{
    background:var(--accent2);
}

.btn-secondary{
    background:rgba(255,255,255,0.08);
}

.btn-secondary:hover{
    background:rgba(255,255,255,0.14);
}

.flash{
    margin:18px 0;
    padding:14px 16px;
    border-radius:14px;
    font-weight:bold;
}

.flash-success{
    background:rgba(31,157,85,0.18);
    border:1px solid rgba(31,157,85,0.40);
}

.flash-warning{
    background:rgba(217,119,6,0.18);
    border:1px solid rgba(217,119,6,0.40);
}

.flash-danger{
    background:rgba(220,38,38,0.18);
    border:1px solid rgba(220,38,38,0.40);
}

.table-wrap{
    overflow:auto;
    border-radius:12px;
    -webkit-overflow-scrolling:touch;
}

table{
    width:100%;
    min-width:720px;
    border-collapse:collapse;
}

th{
    background:var(--accent);
    color:#fff;
    text-align:left;
    padding:12px;
    font-size:14px;
    position:sticky;
    top:0;
}

td{
    padding:12px;
    background:rgba(255,255,255,0.04);
    border-bottom:1px solid var(--line);
    font-size:14px;
    vertical-align:top;
}

tr:nth-child(even) td{
    background:rgba(255,255,255,0.06);
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.field.full{
    grid-column:1 / -1;
}

label{
    font-size:14px;
    font-weight:bold;
}

input,
select,
textarea{
    width:100%;
    min-height:46px;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(255,255,255,0.06);
    color:#fff;
    border-radius:12px;
    padding:12px 14px;
    font-size:15px;
}

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

input::placeholder,
textarea::placeholder{
    color:rgba(255,255,255,0.48);
}

.help,
.empty-state,
.slot-meta{
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}

.slot-list,
.request-list{
    display:grid;
    gap:14px;
}

.slot-item,
.request-card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.10);
    border-left:5px solid var(--accent);
    border-radius:14px;
    padding:16px;
}

.request-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.contact-box{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,0.10);
}

.rank-1{
    background:#ffd700 !important;
    color:#000;
    font-weight:bold;
}

.rank-2{
    background:#c0c0c0 !important;
    color:#000;
    font-weight:bold;
}

.rank-3{
    background:#cd7f32 !important;
    color:#000;
    font-weight:bold;
}

.rank-top16{
    background:rgba(255,140,26,0.15);
}

.rank-top24{
    background:rgba(31,157,85,0.15);
}

.impressum,
.footer{
    margin:28px 0 40px;
    padding-top:22px;
    border-top:1px solid var(--line);
    color:var(--muted);
    line-height:1.7;
    font-size:14px;
}

.impressum strong{
    color:#fff;
}

@media (max-width: 1100px){
    .menu-tiles{
        grid-template-columns:repeat(3, minmax(0,1fr));
    }

    .grid-4{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }

    .grid-3{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 900px){
    .hero-box,
    .grid-2,
    .form-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:34px;
    }

    .section-title{
        font-size:26px;
    }

    .brand{
        font-size:24px;
    }
}

@media (max-width: 700px){
    .topbar-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .nav{
        width:100%;
        justify-content:flex-start;
    }

    .menu-tiles,
    .grid-3,
    .grid-4{
        grid-template-columns:1fr;
    }

    .hero{
        padding-top:22px;
    }

    .hero-box,
    .card,
    .stat-card,
    .tile,
    .section-link{
        padding:16px;
    }

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:16px;
    }

    .stat-value{
        font-size:26px;
    }

    .btn{
        width:100%;
    }

    .hero-actions{
        flex-direction:column;
    }

    .event-meta{
        gap:8px;
    }

    table{
        min-width:620px;
    }
}

@media (max-width: 480px){
    .container{
        padding:0 12px;
    }

    .brand{
        font-size:22px;
    }

    .nav a{
        font-size:13px;
        padding:9px 12px;
    }

    .hero h1{
        font-size:27px;
    }

    .section-title{
        font-size:24px;
    }

    .tile-title{
        font-size:18px;
    }

    .prize-card strong{
        font-size:28px;
    }

    input,
    select,
    textarea,
    .btn{
        font-size:16px;
    }
}
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: #ffffff;
    color: #1b1f24;
    font-size: 16px;
    line-height: 1.3;
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

select:focus {
    outline: none;
    border-color: rgba(255,140,26,0.85);
    box-shadow: 0 0 0 3px rgba(255,140,26,0.18);
}

select option {
    background: #ffffff;
    color: #1b1f24;
}

select optgroup {
    background: #ffffff;
    color: #1b1f24;
    font-style: normal;
    font-weight: 700;
}