/* =========================================================
   LimeSurvey fruity_twentythree – WCAG 2.1 AA + CD Berlin
   ========================================================= */

/* ---------- 1. Calibri überall erzwingen ---------- */
html, body,
h1, h2, h3, h4, h5, h6,
p, span, div, label, legend,
a, li, ul, ol,
button, input, select, textarea,
.form-control, .btn, .navbar, .dropdown-menu,
.alert, .progress, .progress-bar {
    font-family: Calibri, Arial, Helvetica, sans-serif !important;
}

/* ---------- 2. Corporate Design Variablen ---------- */
:root{
    --cd-darkgray: #4C5959;
    --cd-darkblue: #003A7A;
    --cd-lightgray: #D0D4D8;
    --cd-green: #598210;
    --cd-white: #FFFFFF;

    --cd-darkblue-2: #002044;
    --cd-darkgreen-2: #004F1C;
    --cd-lightblue: #00A7E0;
    --cd-lightblue-2: #A2D9F2;
    --cd-yellow: #FFCC00;
    --cd-yellow-2: #FFEEA4;
    --cd-lightgreen: #D2E5BB;

    --cd-red: #CF1F07;
    --cd-pink: #E6007E;
}

/* ---------- 3. Seitenbasis ---------- */
body{
    background-color: var(--cd-white);
    color: var(--cd-darkgray);
    line-height: 1.6;
    font-size: 18px;
}

/* ---------- 4. Überschriften ---------- */
h1, h2, h3, h4 {
    color: var(--cd-darkblue);
    font-weight: 700;
}

/* ---------- 5. Links klar erkennbar ---------- */
a{
    color: var(--cd-darkblue);
    text-decoration: underline;
}
a:hover{
    color: var(--cd-lightblue);
}

/* ---------- 6. Deutlicher Fokus (WCAG Pflicht) ---------- */
:focus{
    outline: 4px solid var(--cd-yellow) !important;
    outline-offset: 3px;
}

/* ---------- 7. Navbar ---------- */
.navbar{
    background-color: var(--cd-darkblue) !important;
}
.navbar .nav-link,
.navbar a{
    color: var(--cd-white) !important;
}

/* ---------- 8. Buttons Bootstrap überschreiben ---------- */
.btn-primary{
    background-color: var(--cd-darkblue) !important;
    border-color: var(--cd-darkblue) !important;
    color: var(--cd-white) !important;
}
.btn-primary:hover{
    background-color: var(--cd-darkblue-2) !important;
    border-color: var(--cd-darkblue-2) !important;
}

.btn-outline-secondary{
    border: 2px solid var(--cd-darkgray) !important;
    color: var(--cd-darkgray) !important;
}
.btn-outline-secondary:hover{
    background-color: var(--cd-lightgray) !important;
}

/* ---------- 9. Formularelemente ---------- */
.form-control{
    border: 2px solid var(--cd-darkgray);
    font-size: 18px;
}
.form-control:focus{
    border-color: var(--cd-darkblue);
    box-shadow: 0 0 0 3px var(--cd-lightblue-2);
}

/* ---------- 10. Alerts ---------- */
.alert-danger{
    background-color: var(--cd-red) !important;
    color: var(--cd-white) !important;
    border: none;
}
.alert-warning{
    background-color: var(--cd-yellow) !important;
    color: #000 !important;
}

/* ---------- 11. Progressbar ---------- */
.progress-bar{
    background-color: var(--cd-green) !important;
}

/* ---------- 12. Fragecontainer ruhiger ---------- */
.question-container{
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid var(--cd-lightgray);
    border-radius: 6px;
    background: #fff;
}

/* ---------- 13. Footer ---------- */
.survey-footer{
    border-top: 3px solid var(--cd-darkblue);
    padding-top: 20px;
    margin-top: 40px;
}

/* ---------- 14. Dropdown-Menüs ---------- */
.dropdown-menu{
    border: 2px solid var(--cd-darkblue);
}

/* ---------- 15. Tabellen / Matrixfragen besser lesbar ---------- */
table{
    border-collapse: collapse;
}
th, td{
    border: 1px solid var(--cd-lightgray);
    padding: 8px;
}

/* ---------- 16. Reduced Motion respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
    *{
        animation: none !important;
        transition: none !important;
    }
}

/* Dezente Compliance-Hinweise */

.compliance-hint {
    font-size: 0.875rem;
    color: var(--cd-darkblue);
    line-height: 1.4;
}

.compliance-hint .hint-mandatory {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.compliance-hint .hint-dsgvo {
    font-style: italic;
}


/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
