.jukupo-dashboard,
.jukupo-login-panel {
    --jukupo-dashboard-bg: #f3f0e8;
    --jukupo-dashboard-ink: #18283A;
    --jukupo-dashboard-yellow: #EFB70E;
    --jukupo-dashboard-border: rgba(12, 38, 58, 0.18);
    --jukupo-dashboard-muted: #63717b;
    --jukupo-dashboard-white: #18283A;
    --jukupo-dashboard-blue:#0c263a;
    color: var(--jukupo-dashboard-ink);
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto 80px;
}

.jukupo-dashboard *,
.jukupo-login-panel * {
    box-sizing: border-box;
}

.jukupo-dashboard a,
.jukupo-login-panel a {
    color: inherit;
}

.jukupo-dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background: var(--jukupo-dashboard-ink);
    color: #fff;
    border-radius: 2px;
}

.jukupo-dashboard__identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.jukupo-dashboard__identity h1,
.jukupo-dashboard__section h2,
.jukupo-panel h2 {
    margin: 0;
}

.jukupo-dashboard__identity p,
.jukupo-dashboard__section-heading p {
    margin: 8px 0 0;
}

.jukupo-dashboard__logo {
    width: 76px;
    height: 76px;
    background: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.jukupo-dashboard__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jukupo-dashboard__header-actions,
.jukupo-content-row__actions,
.jukupo-dashboard__section-heading--actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.jukupo-eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jukupo-dashboard__nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin: 0;
    padding: 0 20px;
    background: var(--jukupo-dashboard-yellow);
}

.jukupo-dashboard__nav a {
    display: block;
    padding: 16px 18px 13px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
}

.jukupo-dashboard__nav a.is-active {
    border-bottom-color: var(--jukupo-dashboard-ink);
}

.jukupo-dashboard__content {
    padding-top: 36px;
}

.jukupo-dashboard__section + .jukupo-dashboard__section {
    margin-top: 52px;
}

.jukupo-dashboard__section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.jukupo-dashboard__cards,
.jukupo-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.jukupo-stat-card,
.jukupo-action-card,
.jukupo-panel,
.jukupo-form-wrap,
.jukupo-content-list,
.jukupo-empty-state {
    background: var(--jukupo-dashboard-white);
    border: 1px solid var(--jukupo-dashboard-border);
}

.jukupo-stat-card,
.jukupo-action-card,
.jukupo-empty-state,
.jukupo-panel {
    padding: 24px;
}

.jukupo-stat-card h3,
.jukupo-action-card strong,
.jukupo-content-row h3 {
    margin: 0;
}

.jukupo-stat-card p,
.jukupo-action-card span,
.jukupo-content-row p {
    color: var(--jukupo-dashboard-muted);
}

.jukupo-stat-card__number {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: .9;
    font-weight: 900;
}

.jukupo-progress {
    height: 7px;
    margin: 18px 0;
    background: #e6e2d9;
    overflow: hidden;
}

.jukupo-progress span {
    display: block;
    height: 100%;
    background: var(--jukupo-dashboard-yellow);
}

.jukupo-action-card {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.jukupo-action-card:hover,
.jukupo-action-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 0 rgba(12, 38, 58, .12);
}

.jukupo-action-card strong {
    font-size: 24px;
}

.jukupo-button,
.jukupo-acf-submit,
.jukupo-login-panel input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px !important;
    border: 2px solid var(--jukupo-dashboard-ink) !important;
    border-radius: 0 !important;
    background: var(--jukupo-dashboard-yellow) !important;
    color: var(--jukupo-dashboard-ink) !important;
    font: inherit !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.jukupo-button--ghost {
    border-color: currentColor !important;
    background: transparent !important;
    color: inherit !important;
}

.jukupo-form-wrap {
    padding: clamp(18px, 4vw, 36px);
}

.jukupo-form-wrap .acf-fields > .acf-field {
    padding-left: 0;
    padding-right: 0;
}

.jukupo-form-wrap .acf-field input[type="text"],
.jukupo-form-wrap .acf-field input[type="email"],
.jukupo-form-wrap .acf-field input[type="url"],
.jukupo-form-wrap .acf-field input[type="number"],
.jukupo-form-wrap .acf-field input[type="password"],
.jukupo-form-wrap .acf-field textarea,
.jukupo-login-panel input[type="text"],
.jukupo-login-panel input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--jukupo-dashboard-border);
    border-radius: 0;
    background: #fff;
}

.jukupo-form-wrap .acf-label label {
    color: var(--jukupo-dashboard-ink);
    font-weight: 800;
}

.jukupo-form-wrap .acf-tab-wrap.-top .acf-tab-group {
    padding-left: 0;
}

.jukupo-form-wrap .acf-tab-group li a {
    font-weight: 700;
}

.jukupo-content-list {
    overflow: hidden;
}

.jukupo-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
}

.jukupo-content-row + .jukupo-content-row {
    border-top: 1px solid var(--jukupo-dashboard-border);
}

.jukupo-content-row__main {
    min-width: 0;
    flex: 1;
}

.jukupo-content-row__titleline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.jukupo-content-row p {
    margin: 5px 0 0;
}

.jukupo-content-row__actions a,
.jukupo-link-button {
    border: 0;
    background: none;
    color: var(--jukupo-dashboard-ink);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.jukupo-inline-form {
    margin: 0;
}

.jukupo-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid currentColor;
}

.jukupo-status--publish {
    color: #0b7b43;
}

.jukupo-status--pending {
    color: #a26500;
}

.jukupo-status--draft {
    color: var(--jukupo-dashboard-muted);
}

.jukupo-notice {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 6px solid var(--jukupo-dashboard-ink);
    background: #fff;
}

.jukupo-notice p {
    margin: 0;
}

.jukupo-notice--success {
    border-left-color: #0b7b43;
}

.jukupo-notice--warning {
    border-left-color: #c27a00;
    background: #fff8df;
}

.jukupo-notice--error {
    border-left-color: #b52b2b;
    background: #fff0f0;
}

.jukupo-panel--narrow,
.jukupo-login-panel .jukupo-panel {
    width: min(620px, 100%);
    margin: 0 auto;
}

.jukupo-login-panel form p {
    margin: 16px 0;
}

.jukupo-login-panel label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
}

.jukupo-login-panel__meta {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .jukupo-dashboard__header,
    .jukupo-dashboard__section-heading,
    .jukupo-content-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .jukupo-dashboard__cards,
    .jukupo-quick-actions {
        grid-template-columns: 1fr;
    }

    .jukupo-dashboard__header-actions,
    .jukupo-content-row__actions {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .jukupo-dashboard,
    .jukupo-login-panel {
        width: min(100% - 20px, 1180px);
        margin-top: 24px;
    }

    .jukupo-dashboard__header {
        padding: 20px;
    }

    .jukupo-dashboard__identity {
        align-items: flex-start;
        flex-direction: column;
    }

    .jukupo-dashboard__nav {
        padding: 0 8px;
    }

    .jukupo-dashboard__nav a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* v0.5 – Registrierung & Onboarding */
.jukupo-register-panel {
    --jukupo-dashboard-bg: #f3f0e8;
    --jukupo-dashboard-ink: #0c263a;
    --jukupo-dashboard-yellow: #f5d315;
    --jukupo-dashboard-border: rgba(12, 38, 58, 0.18);
    --jukupo-dashboard-muted: #63717b;
    --jukupo-dashboard-white: #fff;
    color: var(--jukupo-dashboard-ink);
    width: min(900px, calc(100% - 32px));
    margin: 48px auto 80px;
}

.jukupo-register-panel * {
    box-sizing: border-box;
}

.jukupo-register-panel a {
    color: inherit;
}

.jukupo-panel--register {
    padding: clamp(24px, 4vw, 42px);
}

.jukupo-panel--register > h2 {
    margin: 0 0 10px;
}

.jukupo-panel--register > p {
    max-width: 720px;
}

.jukupo-register-form {
    margin-top: 30px;
}

.jukupo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.jukupo-field {
    margin: 0;
}

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

.jukupo-field label,
.jukupo-checkbox-field label {
    font-weight: 800;
}

.jukupo-field label {
    display: block;
    margin-bottom: 7px;
}

.jukupo-field input,
.jukupo-field select,
.jukupo-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--jukupo-dashboard-border);
    border-radius: 0;
    background: #fff;
    color: var(--jukupo-dashboard-ink);
    font: inherit;
}

.jukupo-field textarea {
    min-height: 112px;
    resize: vertical;
}

.jukupo-field small {
    display: block;
    margin-top: 5px;
    color: var(--jukupo-dashboard-muted);
}

.jukupo-checkbox-field {
    margin: 24px 0;
}

.jukupo-checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.jukupo-checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.jukupo-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
}

.jukupo-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.jukupo-register-panel .jukupo-notice ul {
    margin: 8px 0 0 20px;
}

.jukupo-onboarding-notice a {
    font-weight: 800;
}

.jukupo-profile-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 20px 24px;
    border: 1px solid var(--jukupo-dashboard-border);
    background: #fff8df;
}

.jukupo-profile-submit p {
    margin: 5px 0 0;
    color: var(--jukupo-dashboard-muted);
}

.jukupo-profile-submit button[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 680px) {
    .jukupo-register-panel {
        width: min(100% - 20px, 900px);
        margin-top: 24px;
    }

    .jukupo-form-grid {
        grid-template-columns: 1fr;
    }

    .jukupo-field--full {
        grid-column: auto;
    }

    .jukupo-profile-submit {
        align-items: flex-start;
        flex-direction: column;
    }
}
