* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ── LOGO BAR ── */
.logo-bar {
    background: #fff;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.logo {
    height: 40px;
    width: auto;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 55vh;
    min-height: 350px;
    background: url('../img/silvester.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-small { height: 35vh; min-height: 250px; }
.hero-mini { height: 25vh; min-height: 180px; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}
.hero-overline {
    display: block;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 14px;
}
.hero h1 {
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 600px;
    margin: 0 auto;
}
.hero h1 em { font-style: italic; color: #ddc06a; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.6); margin-top: 10px; }
.hero-divider {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #c9a84c;
    margin-top: 18px;
}

/* ── CONTENT ── */
.content { padding: 40px 20px; }
.container { max-width: 600px; margin: 0 auto; }

/* ── INVITATION CARD ── */
.invitation-card {
    background: #fff;
    border: 1px solid #e8e5dd;
    border-radius: 8px;
    padding: 35px 30px;
    margin-bottom: 28px;
    text-align: center;
    line-height: 1.7;
    font-size: 15px;
    color: #555;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    position: relative;
}
.invitation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 30px; right: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    border-radius: 0 0 3px 3px;
}
.invitation-card p { margin-bottom: 12px; }
.greeting {
    font-size: 16px;
    color: #1c1e23;
    font-weight: 500;
    margin-bottom: 16px !important;
}
.highlight {
    font-size: 18px;
    font-weight: 600;
    color: #c9a84c;
    margin: 16px 0 !important;
}
.card-divider {
    width: 40px;
    height: 1px;
    background: #c9a84c;
    margin: 24px auto;
}
.invitation-card h2 {
    color: #1c1e23;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.gold-italic {
    color: #c9a84c;
    font-size: 17px;
    font-style: italic;
    margin-bottom: 6px !important;
}
.team {
    color: #888;
    font-size: 14px;
    margin-bottom: 0 !important;
}

/* ── ALERT ── */
.alert {
    background: #fff3f3;
    border: 1px solid #f5c1c1;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
    color: #c00;
    font-size: 14px;
}
.alert p { margin: 0; }

/* ── RADIO CARDS ── */
.radio-group { margin-bottom: 16px; }
.radio-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e0dcd4;
    border-radius: 6px;
    padding: 15px 18px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.radio-card:hover { border-color: #c9a84c; }
.radio-card.active {
    border-color: #c9a84c;
    box-shadow: 0 0 0 1px #c9a84c, 0 4px 16px rgba(201,168,76,0.08);
    background: linear-gradient(180deg, #fff, #fdfcf8);
}
.radio-card input[type="radio"] {
    margin-right: 12px;
    accent-color: #2a2d34;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.radio-card span { font-size: 15px; color: #3a3a3a; }

/* ── FIELDS ── */
.fields {
    background: #fff;
    border: 1.5px solid #e0dcd4;
    border-radius: 6px;
    padding: 22px;
}
.row { display: flex; gap: 12px; margin-bottom: 14px; }
.row:last-child { margin-bottom: 0; }
.field { flex: 1; }
.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}
.input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}
.input:focus {
    outline: none;
    border-color: #c9a84c;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
}
.input::placeholder { color: #bbb; }
.input-sm { padding: 6px 8px; font-size: 13px; }

/* ── BUTTONS ── */
.submit-wrap { text-align: center; margin-top: 24px; }
.btn {
    display: inline-block;
    background: #2a2d34;
    color: #fff;
    border: none;
    padding: 14px 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #1c1e23; transform: translateY(-1px); }
.btn-sm { padding: 8px 20px; font-size: 12px; }
.btn-outline {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
}
.btn-outline:hover { background: #f5f5f5; transform: none; }
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: border-color 0.2s;
}
.btn-icon:hover { border-color: #c9a84c; color: #c9a84c; }
.btn-danger { color: #c00; }
.btn-danger:hover { border-color: #c00; background: #fff3f3; }

/* ── CHECK ICON ── */
.check-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #4caf50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

/* ── ADMIN STATS ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.stat-card {
    background: #fff;
    border: 1.5px solid #e0dcd4;
    border-radius: 6px;
    padding: 18px;
    text-align: center;
}
.stat-ja { border-color: #4caf50; background: #f0f8e8; }
.stat-nein { border-color: #e57373; background: #fff3f3; }
.stat-vielleicht { border-color: #de9e53; background: #fdf6ec; }
.stat-number { font-size: 1.8rem; font-weight: 700; color: #1c1e23; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #888; }

/* ── ADMIN TOOLBAR ── */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-group { display: flex; gap: 4px; }
.filter-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-btn:hover { border-color: #c9a84c; color: #c9a84c; }
.filter-btn.active { background: #2a2d34; color: #fff; border-color: #2a2d34; }

/* ── ADMIN TABLE ── */
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    background: #f7f6f3;
    padding: 10px;
    text-align: left;
    white-space: nowrap;
}
.admin-table td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-table tr:hover td { background: #fafaf8; }

/* ── BADGES ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
.badge-ja { background: #e8f5e9; color: #2e7d32; }
.badge-nein { background: #ffebee; color: #c62828; }
.badge-vielleicht { background: #fdf6ec; color: #b8860b; }

/* ── FOOTER ── */
.footer {
    border-top: 1px solid #eee;
    padding: 25px 20px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}
.footer a { color: #c9a84c; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p + p { margin-top: 5px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero { height: 40vh; min-height: 280px; }
    .hero h1 { font-size: 1.6rem; }
    .row { flex-direction: column; gap: 10px; }
    .fields { padding: 16px; }
    .invitation-card { padding: 25px 20px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .toolbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
