/* =========================
   RESET & BASIS
========================= */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
    color: #111;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: #ffffff;
    border-bottom: 4px solid #d71920;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.nav-links a:hover {
    color: #d71920;
}

/* =========================
   LAYOUT
========================= */
.container {
    padding: 60px 100px;
}

/* =========================
   HEADLINES
========================= */
.page-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
    background: #d71920;
    color: white;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #b9151a;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* =========================
   KPI (Dashboard Stats)
========================= */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.kpi-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.kpi-label {
    color: #6b7280;
    font-size: 14px;
}

.kpi-number {
    font-size: 36px;
    font-weight: 800;
    color: #d71920;
    margin-top: 10px;
}

/* =========================
   DASHBOARD MODULES
========================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.dashboard-card {
    display: block;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-left: 5px solid #d71920;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-sub {
    font-size: 14px;
    color: #6b7280;
}

/* =========================
   FORMULAR
========================= */
.form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    max-width: 900px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d71920;
    outline: none;
}

/* =========================
   TABELLEN
========================= */
.table-container {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f9fafb;
}

thead th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

tbody tr:hover {
    background: #f9fafb;
}

/* =========================
   BADGES / STATUS
========================= */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-active {
    background: #e6f4ea;
    color: #1a7f37;
}

.badge-archived {
    background: #f3f4f6;
    color: #6b7280;
}

/* =========================
   ALERTS
========================= */
.alert-success {
    background: #e6f4ea;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 1px solid #b7dfc4;
}

.alert-error {
    background: #fde8e8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 1px solid #f5c2c2;
}

/* =========================
   LINKS / ACTIONS
========================= */
.action-link {
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
    text-decoration: none;
}

.action-edit { color: #111; }
.action-archive { color: #d71920; }
.action-restore { color: #1a7f37; }
/* DISABLED CARDS */

.dashboard-card.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    border-left: none;
}

.dashboard-card.disabled:hover {
    transform: none;
    box-shadow: none;
}
/* kleine Buttons */
.btn-small {
    display: inline-block;
    padding: 6px 10px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 5px;
    font-size: 14px;
}

.btn-small:hover {
    background: #ddd;
}

/* löschen */
.btn-small.danger {
    background: #ff4d4d;
    color: white;
}

.btn-small.danger:hover {
    background: #cc0000;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
}

/* Logo klein & sauber */
.logo-img {
    height: 50px;
    width: auto;
}
/* ===================== */
/* DRUCKANSICHT */
/* ===================== */
@media print {

     .print-header {
        margin-bottom: 30px;
    }

     .print-footer {
        margin-top: 30px;
        text-align: center;
        font-size: 12px;
        color: #666;
    }
    /* alles außer Inhalt ausblenden */
    .navbar,
    .btn-primary,
    .kpi-grid {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        border: 1px solid #000;
        padding: 8px;
        font-size: 14px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .page-subtitle {
        margin-bottom: 20px;
    }
}
.welcome-screen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-text {
    font-size: 70px;
    font-weight: bold;
    line-height: 1.4;
}

.welcome-sub {
    font-size: 40px;
    margin-top: 20px;
    color: #ccc;
}
.link-primary {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.link-primary:hover {
    text-decoration: underline;
}
/* Zentrierung */
.center-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Card etwas schmaler */
.login-card {
    width: 100%;
    max-width: 400px;
}

/* Button volle Breite */
.btn-primary.full,
.btn-secondary.full {
    width: 100%;
    display: block;
    text-align: center;
}

/* Abstand zwischen Login & Register */
.divider {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}
.btn-small {
    padding: 6px 10px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 5px;
    font-size: 14px;
}

.btn-small:hover {
    background: #ddd;
}

.btn-small.danger {
    background: #ff4d4d;
    color: white;
}
.logout {
    color: #ff4d4d;
    font-weight: bold;
}
/* Pending User rot markieren */
.row-pending {
    background-color: #ffe5e5;
    color: #c40000;
    font-weight: bold;
}

/* Optional: aktive User leicht grün */
.row-active {
    background-color: #eaffea;
}
.logo-login {
    text-align: center;
    margin-bottom: 15px;
}

.logo-login img {
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}
.footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #666;
    margin-top: 40px;
}

.footer a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    color: #d71920;
}
.turnier-dropdown select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-left: 20px;
}
.user-info {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
    margin-left: 15px;
    font-size: 13px;
}
.nav-links .btn-primary {
    margin-left: 15px;
}

.nav-links .btn-secondary {
    margin-left: 10px;
}
/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero-logo {
    width: 80px;
    opacity: 0.95;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
}

.hero-buttons a {
    margin: 0 10px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* HOW */
.how {
    margin-top: 80px;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.step {
    max-width: 250px;
}

/* CTA */
.cta {
    margin-top: 80px;
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 10px;
}
table th {
    background: #f3f4f6;
    font-weight: 700;
}

table td {
    text-align: center;
}

table td:nth-child(3) {
    text-align: left;
    font-weight: 600;
}

tbody tr:nth-child(1) {
    background: #fff7cc;
}

tbody tr:nth-child(2) {
    background: #f1f5f9;
}

tbody tr:nth-child(3) {
    background: #fdf2e9;
}
html {
    scroll-behavior: smooth;
}
.fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid #555;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 9999;
}

.fullscreen-btn:hover {
    background: rgba(255,255,255,0.2);
}
.nav-links select {
    margin-left: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: white;
}
.turnier-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
}

.turnier-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-small {
    padding: 6px 8px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.btn-small:hover {
    background: #ddd;
}
.turnier-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
}
.screens {
    margin-top: 80px;
    text-align: center;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 25px;
    margin-top: 30px;
}

.screen-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.screen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.screen-card img {
    width: 100%;
    border-radius: 8px;
}

.screen-card p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}
/* HERO */
.hero {
    height: 15vh; /* kleiner */
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border-bottom: 3px solid #d71920; /* dezenter Akzent */
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color:#111;
}

.hero p {
    font-size: 18px;
    color:#6b7280;
    margin-bottom: 25px;
}

/* FEATURES */
.feature-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap:30px;
}

.feature-card {
    background:white;
    padding:30px;
    border-radius:12px;
    text-align:center;
    transition:0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size:40px;
    margin-bottom:10px;
}

.feature-title {
    font-weight:bold;
    margin-bottom:8px;
}

/* HOW */
.how-section {
    background:#f9fafb;
    padding:60px 20px;
    text-align:center;
}

.steps {
    display:flex;
    justify-content:center;
    gap:40px;
    margin-top:30px;
    flex-wrap:wrap;
}

.step {
    display:flex;
    gap:15px;
    align-items:center;
    background:white;
    padding:20px;
    border-radius:10px;
}

.step-number {
    width:40px;
    height:40px;
    background:#d71920;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-weight:bold;
}
.hero-logo {
    height: 80px;   /* sauber & nicht übertrieben */
    margin-bottom: 15px;
    opacity: 0.95;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 30px;
    text-align:center;
}

.screenshot-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
    gap:30px;
}

.shot {
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.shot:hover {
    transform: translateY(-5px);
}

.shot img {
    width:100%;
    display:block;
}

.shot-title {
    padding:15px;
    text-align:center;
    font-weight:600;
    color:#374151;
}
/* Manual Layout */
.manual-layout {
    display: flex;
    gap: 40px;
    padding: 40px;
}

/* Sidebar */
.manual-sidebar {
    width: 220px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.manual-sidebar h3 {
    margin-bottom: 15px;
}

.manual-sidebar a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

.manual-sidebar a:hover {
    color: #d71920;
}

/* Content */
.manual-content {
    flex: 1;
    max-width: 900px;
}

.manual-content h1 {
    margin-bottom: 30px;
}

.manual-content section {
    margin-bottom: 50px;
}

.manual-content h2 {
    margin-bottom: 10px;
}

.manual-content p {
    color: #6b7280;
    margin-bottom: 15px;
}

/* Screenshots */
.manual-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
/* Layout */
.manual-layout {
    display: flex;
    gap: 40px;
    padding: 40px;
}

/* Sidebar */
.manual-sidebar {
    width: 220px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.manual-sidebar h3 {
    margin-bottom: 15px;
}

.manual-sidebar a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

.manual-sidebar a:hover {
    color: #d71920;
}

/* Content */
.manual-content {
    flex: 1;
    max-width: 900px;
}

.manual-content h1 {
    margin-bottom: 30px;
}

.manual-content section {
    margin-bottom: 50px;
}

.manual-content h2 {
    margin-bottom: 10px;
}

.manual-content p {
    color: #6b7280;
    margin-bottom: 15px;
}

/* Screenshots */
.manual-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
