/* =============================================
   Buchkontor Quiz – Stylesheet
   Passend zu buchkontor.com
   ============================================= */

.bkq-wrapper {
    --bkq-bg:         #ffffff;
    --bkq-border:     #e0e0e0;
    --bkq-text:       #333333;
    --bkq-muted:      #777777;
    --bkq-accent:     #2c5282;
    --bkq-answer-bg:  #f7f7f5;
    --bkq-radius:     4px;

    font-family: inherit;
    max-width: 660px;
    margin: 1.5rem 0;
    color: var(--bkq-text);
    font-size: 1.15rem;
    line-height: 1.6;
}

.bkq-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.bkq-counter {
    font-size: 0.9rem;
    color: var(--bkq-muted);
    white-space: nowrap;
    font-family: inherit;
}

.bkq-progress-bar {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    border-radius: 99px;
    overflow: hidden;
}

.bkq-progress-fill {
    height: 100%;
    background: var(--bkq-accent);
    border-radius: 99px;
    transition: width 0.35s ease;
}

.bkq-card-area {
    position: relative;
}

.bkq-card {
    display: none;
}

.bkq-card.bkq-active {
    display: block;
    animation: bkqIn 0.25s ease forwards;
}

@keyframes bkqIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bkq-card-inner {
    border: 1px solid var(--bkq-border);
    border-radius: var(--bkq-radius);
    background: var(--bkq-bg);
    overflow: hidden;
}

.bkq-card-front {
    padding: 1.6rem 1.8rem;
}

.bkq-label {
    font-family: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bkq-muted);
    margin-bottom: 0.6rem;
}

.bkq-label-answer {
    color: var(--bkq-accent);
}

.bkq-text {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--bkq-text);
}

.bkq-card-back {
    display: none;
    padding: 1.4rem 1.8rem;
    background: var(--bkq-answer-bg);
    border-top: 1px solid var(--bkq-border);
    animation: bkqSlide 0.25s ease forwards;
}

.bkq-card.bkq-revealed .bkq-card-back {
    display: block;
}

@keyframes bkqSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bkq-reveal-btn {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 0.45rem 1.1rem;
    background: var(--bkq-bg);
    color: var(--bkq-accent);
    border: 1px solid var(--bkq-accent);
    border-radius: var(--bkq-radius);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.bkq-reveal-btn:hover {
    background: var(--bkq-accent);
    color: #fff;
}

.bkq-card.bkq-revealed .bkq-reveal-btn {
    display: none;
}

.bkq-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 0.75rem;
}

.bkq-btn {
    padding: 0.45rem 1.1rem;
    border: 1px solid #cccccc;
    border-radius: var(--bkq-radius);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    background: #fff;
    color: var(--bkq-text);
    transition: border-color 0.15s, background 0.15s;
}

.bkq-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bkq-btn:hover:not(:disabled) {
    border-color: #999;
    background: #f5f5f5;
}

.bkq-btn-next {
    background: var(--bkq-accent);
    color: #fff;
    border-color: var(--bkq-accent);
    margin-left: auto;
}

.bkq-btn-next:hover:not(:disabled) {
    background: #1a3a6a;
    border-color: #1a3a6a;
    color: #fff;
}

.bkq-finish {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid var(--bkq-border);
    border-radius: var(--bkq-radius);
    background: var(--bkq-bg);
    animation: bkqIn 0.4s ease forwards;
}

.bkq-finish-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.bkq-finish h3 {
    font-family: inherit;
    font-size: 1.4rem;
    color: var(--bkq-text);
    margin: 0 0 0.5rem;
    font-weight: normal;
}

.bkq-finish p {
    color: var(--bkq-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    font-family: inherit;
}

.bkq-btn-restart {
    background: var(--bkq-accent);
    color: #fff;
    border-color: var(--bkq-accent);
}

.bkq-btn-restart:hover {
    background: #1a3a6a;
    border-color: #1a3a6a;
    color: #fff;
}

@media (max-width: 480px) {
    .bkq-card-front,
    .bkq-card-back { padding: 1.2rem; }
    .bkq-text { font-size: 1.15rem; }
}
