body, .kp-body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: #232323;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Headerbar */
.kp-headerbar {
    background: #232323;
    border-bottom: 2px solid #f36c2e;
    padding: 0;
}

.kp-headerbar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.kp-logo img {
    height: 36px;
    vertical-align: middle;
}

.kp-title {
    color: #f36c2e;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.kp-userinfo {
    color: #fff;
    font-size: 1rem;
}

/* Navigation */
.kp-nav {
    background: #232323;
    width: 100%;
    margin: 0;
    box-shadow: 0 4px 18px -6px rgba(243,108,46,0.10);
    border-radius: 0 0 18px 18px;
    position: relative;
    z-index: 10;
}

/* Burger-Button immer sichtbar */
.kp-burger {
    display: flex;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin: 0 8px 0 0;
    z-index: 100;
    height: 48px;
    align-items: center;
    justify-content: center;
}
.kp-burger-bar {
    width: 28px;
    height: 3px;
    background: #f36c2e;
    border-radius: 2px;
    display: block;
    transition: background 0.2s;
}

/* Navigation immer versteckt, nur bei Burger-Klick sichtbar */
.kp-nav-list {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: #232323;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    z-index: 99;
    border-radius: 0 0 18px 18px;
    padding-bottom: 12px;
}
.kp-nav-list.kp-nav-open {
    display: flex;
}
.kp-nav-list li {
    width: 100%;
    list-style-type: none;
}
.kp-nav-list a {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    border-radius: 0;
    border-bottom: 1px solid #333;
    margin: 0;
    color: #f36c2e;
    font-size: 1.08rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    outline: none;
    letter-spacing: 0.5px;
    display: block;
    border: none;
    white-space: nowrap;
}
.kp-nav-list a:focus,
.kp-nav-list a:hover {
    background: rgba(243,108,46,0.12);
    color: #fff;
    box-shadow: 0 2px 8px rgba(243,108,46,0.18);
}
.kp-nav-list a[aria-current="page"] {
    background: #f36c2e;
    color: #232323;
    box-shadow: 0 2px 8px rgba(243,108,46,0.18);
}

/* Hauptcontainer */
.kp-container {
    max-width: 900px;
    margin: 32px auto;
    background: #232323;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 32px 24px 24px 24px;
}

/* Content-Header */
.kp-container h2,
.kp-header {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Buttons */
.kp-btn {
    background: #f36c2e;
    color: #232323;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.98rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    margin-top: 6px;
    display: inline-block;
    text-decoration: none;
    min-width: 40px;
    min-height: 28px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}
.kp-btn:hover,
.kp-btn:focus {
    background: #d35400;
    color: #fff;
    outline: 2px solid #f36c2e;
    outline-offset: 2px;
}

/* Pagination*/
.kp-pagination,
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}
.kp-pagination li,
.pagination li {
    display: inline-block;
}
.kp-pagination a,
.kp-pagination span,
.pagination a {
    /* ... */
}


/* Footer */
.kp-footer {
    background: #232323;
    color: #f36c2e;
    padding: 16px 0 8px 0;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 40px;
    border-top: 2px solid #f36c2e;
    display: flex;
    justify-content: center;
    gap: 24px;
}
.kp-footer-link a {
    color: #f36c2e;
    text-decoration: underline;
}

/* Alerts */
.kp-alert {
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 4px;
    font-weight: bold;
}
.kp-alert-error {
    background: #d9534f;
    color: #fff;
}
.kp-alert-success {
    background: #5cb85c;
    color: #fff;
}

/* Tabellen */
.kp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #232323;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.kp-table th, .kp-table td {
    padding: 12px 16px;
    text-align: left;
}
.kp-table th {
    background: #181818;
    color: #f36c2e;
    font-weight: bold;
    border-bottom: 2px solid #f36c2e;
}
.kp-table tr {
    border-bottom: 1px solid #232323;
}
.kp-table tr:last-child {
    border-bottom: none;
}
.kp-table tr:hover {
    background: #222;
}

/* Formulare */
.kp-form label {
    color: #f36c2e;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}
.kp-form input,
.kp-form select,
.kp-form textarea {
    background: #181818;
    color: #fff;
    border: 1px solid #f36c2e;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 16px;
    width: 100%;
    font-size: 1rem;
}
.kp-form input:focus,
.kp-form select:focus,
.kp-form textarea:focus {
    outline: none;
    border-color: #d35400;
    background: #232323;
}

/* Link-Button */
.kp-btn-link {
    background: none;
    color: #f36c2e;
    border: none;
    padding: 0 8px;
    font-size: 0.98rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    margin-right: 8px;
    margin-bottom: 2px;
    outline: none;
    transition: color 0.15s;
}
.kp-btn-link:hover,
.kp-btn-link:focus {
    color: #d35400;
    text-decoration: underline;
    background: none;
}

/* Pagination für Keilerpunkte */
.kp-pagination,
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}
.kp-pagination li,
.pagination li {
    display: inline-block;
}
.kp-pagination a,
.kp-pagination span,
.pagination a {
    background: #181818;
    color: #f36c2e;
    border: 1px solid #f36c2e;
    border-radius: 6px;
    padding: 6px 14px;
    margin: 0 2px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    min-width: 36px;
    text-align: center;
    transition: background 0.15s, color 0.15s, border 0.15s;
    outline: none;
    box-sizing: border-box;
}
.kp-pagination a:hover,
.kp-pagination a:focus,
.pagination a:hover,
.pagination a:focus {
    background: #f36c2e;
    color: #232323;
    border: 2px solid #f36c2e;
    outline: 2px solid #f36c2e;
}
.kp-pagination .active span,
.pagination .active span,
.kp-pagination .active,
.pagination .active {
    background: #f36c2e;
    color: #232323;
    border: 2px solid #f36c2e;
    font-weight: bold;
    outline: none;
    cursor: default;
}
.kp-pagination .disabled span,
.pagination .disabled span {
    background: #232323;
    color: #888;
    border: 1px solid #444;
    cursor: not-allowed;
}

/* Filter-Formular */
.kp-filter-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.kp-filter-form label {
    color: #f36c2e;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}
.kp-filter-form select {
    background: #181818;
    color: #fff;
    border: 1px solid #f36c2e;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    min-width: 160px;
}
.kp-filter-form button {
    margin-top: 0;
}

/* Sortier-Links in Tabellenköpfen */
.kp-table th a {
    color: #f36c2e;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.kp-table th a:focus,
.kp-table th a:hover {
    background: #f36c2e;
    color: #232323;
    outline: 2px solid #f36c2e;
}
.kp-table th .sort-arrow {
    font-size: 1.1em;
    margin-left: 2px;
    vertical-align: middle;
}
