/* UZIN UTZ Farbschema, revision 2026-10-26.
 * Child of fruity_twentythree for LimeSurvey 7.
 * Keep layouts, question rendering and scripts inherited from the installed core.
 * Brand assets and colours follow the supplied brand style guide.
 * GPL-2.0-or-later, following the supplied theme.
 */
:root {
    --brand-on-primary: #FFFFFF;
    --brand-on-hover: #000000;
    --brand-brand: #394147;
    --brand-brand-rgb: 57, 65, 71;
    --brand-link: #394147;
    --brand-hover: #0096AA;
    --brand-ink: #394147;
    --brand-focus: #394147;
    --bs-primary: var(--brand-brand);
    --bs-primary-rgb: var(--brand-brand-rgb);
    --bs-link-color: var(--brand-link);
    --bs-link-hover-color: var(--brand-hover);
}

/* Grey underlined links; lime text on white would have insufficient contrast. */
html body a:not(.btn):not(.dropdown-item):not(.list-group-item):not(.nav-link) {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
html body a:not(.btn):not(.dropdown-item):not(.list-group-item):not(.nav-link):hover {
    color: var(--brand-ink);
    text-decoration: underline;
    text-decoration-color: var(--brand-brand);
    text-decoration-thickness: 2px;
}
html body .text-primary {
    color: var(--brand-link) !important;
}

/* Primary buttons, including LimeSurvey button-style answers. */
html body .btn-primary,
html body .btn-check:checked + .btn-primary,
html body .btn-primary.active,
html body .btn-primary.dropdown-toggle.show {
    --bs-btn-color: var(--brand-on-primary);
    --bs-btn-bg: var(--brand-brand);
    --bs-btn-border-color: var(--brand-brand);
    --bs-btn-hover-color: var(--brand-on-hover);
    --bs-btn-hover-bg: var(--brand-hover);
    --bs-btn-hover-border-color: var(--brand-hover);
    --bs-btn-active-color: var(--brand-on-hover);
    --bs-btn-active-bg: var(--brand-hover);
    --bs-btn-active-border-color: var(--brand-hover);
    --bs-btn-disabled-color: var(--brand-on-primary);
    --bs-btn-disabled-bg: var(--brand-brand);
    --bs-btn-disabled-border-color: var(--brand-brand);
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-brand);
    box-shadow: none;
}
html body .btn-primary:hover,
html body .btn-primary:focus,
html body .btn-primary:active,
html body .btn-primary:active:focus,
html body .btn-primary.active:hover,
html body .btn-primary.active:focus,
html body .btn-primary.dropdown-toggle.show:focus,
html body .btn-check:focus + .btn-primary,
html body .btn-check:active + .btn-primary,
html body .btn-check:checked + .btn-primary:hover,
html body .btn-check:checked + .btn-primary:focus,
html body .show > .btn-primary.dropdown-toggle {
    color: var(--brand-on-hover);
    background-color: var(--brand-hover);
    border-color: var(--brand-hover);
    box-shadow: none;
}
html body .btn-primary:disabled,
html body .btn-primary.disabled,
html body .btn-primary[disabled]:hover,
html body .btn-primary.disabled:hover {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-brand);
    opacity: 0.65;
    box-shadow: none;
}

/* Secondary controls retain the previous white / green treatment. */
html body .btn-default,
html body .btn-outline-primary,
html body .btn-outline-secondary {
    color: var(--brand-link);
    background-color: #ffffff;
    border-color: var(--brand-brand);
    box-shadow: none;
}
html body .btn-default:hover,
html body .btn-outline-primary:hover,
html body .btn-outline-secondary:hover {
    color: var(--brand-on-hover);
    background-color: var(--brand-hover);
    border-color: var(--brand-link);
    box-shadow: none;
}
html body .btn-check:checked + .btn-outline-primary,
html body .btn-check:checked + .btn-outline-secondary,
html body .btn-outline-primary.active,
html body .btn-outline-secondary.active {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-link);
}
html body .btn-check:checked + .btn-outline-primary:focus,
html body .btn-check:checked + .btn-outline-secondary:focus,
html body .btn-outline-primary.active:focus,
html body .btn-outline-secondary.active:focus {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-link);
    box-shadow: none;
}
html body .btn {
    border-radius: 4px;
}

/* Visible focus without replacing the framework's validation behaviour. */
html body a:focus-visible,
html body button:focus-visible,
html body .btn:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible,
html body input:not([type=hidden]):focus-visible,
html body .btn-check:focus-visible + .btn {
    outline: 3px solid var(--brand-focus);
    outline-offset: 3px;
}

/* Progress keeps the original codex brand colour. */
html body .progress-bar {
    background-color: var(--brand-brand);
    color: var(--brand-on-primary);
}

/* Core radio / checkbox markup, with a stronger mark for legibility. */
html body .radio-item input[type=radio]:checked + label,
html body .checkbox-item input[type=checkbox]:checked + label {
    color: var(--brand-link);
}
html body .radio-item input[type=radio]:checked + label::before,
html body .checkbox-item input[type=checkbox]:checked + label::before {
    border-color: var(--brand-link);
}
html body .radio-item input[type=radio]:checked + label::after {
    background-color: var(--brand-link);
}
html body .checkbox-item input[type=checkbox]:checked + label::after {
    color: var(--brand-link);
    background-color: transparent;
}
html body .radio-item input[type=radio]:focus-visible + label::before,
html body .checkbox-item input[type=checkbox]:focus-visible + label::before {
    outline: 3px solid var(--brand-focus);
    outline-offset: 3px;
    box-shadow: none;
}

/* Keep the supplied wide logo in proportion; header sizing stays with core JS. */
html body #survey-nav .logo-container {
    max-width: calc(100% - 64px);
    min-width: 0;
    min-height: 0; /* Kern setzt 60 px; sonst sitzt das Logo bei kleinerer Hoehe nicht mittig im Header. */
}
html body #survey-nav .logo-container > img {
    display: block;
    width: 260px;
    height: auto;
    max-width: 100%;
    max-height: none;
    padding: 0;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    html body #survey-nav .logo-container > img {
        width: 220px;
    }
}

/* Error, warning and success colours intentionally remain controlled by core. */

/* UZIN UTZ survey components — Kapra Neue Pro / IBM Plex Sans. Local assets only. */
@font-face {
    font-family: "UU Kapra";
    src: url('../files/fonts/KapraNeuePro-MediumRounded_Z7_2025.woff2') format('woff2'),
         url('../files/fonts/KapraNeuePro-MediumRounded_Z7_2025.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "UU IBM Plex Sans";
    src: url('../files/fonts/IBMPlexSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "UU IBM Plex Sans";
    src: url('../files/fonts/IBMPlexSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "UU IBM Plex Sans";
    src: url('../files/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "UU IBM Plex Sans";
    src: url('../files/fonts/IBMPlexSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "UU IBM Plex Sans";
    src: url('../files/fonts/IBMPlexSans-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
:root {
    --brand-font-body: "UU IBM Plex Sans", Arial, sans-serif;
    --brand-font-heading: "UU Kapra", "Arial Narrow", sans-serif;
    --brand-line: rgba(57, 65, 71, 0.18);
    --brand-surface: #ffffff;
    --brand-page: #f5f6f5;
}
html body,
html body[class*="font-"],
html body .form-control,
html body .form-select,
html body .btn,
html body label {
    font-family: var(--brand-font-body);
}
html body {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--brand-ink);
    background-color: var(--brand-page);
    -webkit-font-smoothing: antialiased;
}
html body h1,
html body h2,
html body h3,
html body .survey-name,
html body .group-title {
    font-family: var(--brand-font-heading);
    font-weight: 500;
    font-synthesis: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--brand-ink);
    line-height: 1.12;
}
html body h1,
html body .survey-name {
    font-size: clamp(36px, 3.5vw, 44px);
    margin-block: 24px 16px;
}
html body h2,
html body .group-title {
    font-size: clamp(28px, 2.8vw, 32px);
    margin-block: 24px 12px;
}
html body h3 {
    font-size: 26px;
}
/* Inhaltsbreite (ab Theme-Version 4.3.1):
 * --brand-content-max steuert die Gesamtbreite von Header UND Inhalt (Standard 1040 px).
 * Das Kern-Layout von LimeSurvey (outerframe.twig) setzt den Inhalt zusaetzlich in "col-xl-8",
 * also nur 8/12 = 66,7 % der Breite. Zusammen mit der Maximalbreite ergab das nur ca. 675 px.
 * Die col-xl-8-Begrenzung wird deshalb unten aufgehoben. */
:root {
    --brand-content-max: 1040px;
}
html body #outerframeContainer {
    width: 100%;
    max-width: var(--brand-content-max);
    padding-inline: 24px;
    margin-inline: auto;
    hyphens: manual;
}
html body #survey-nav > .container-fluid {
    width: 100%;
    max-width: var(--brand-content-max);
    padding-inline: 24px;
}
@media (min-width: 576px) {
    /* Fragenkarten ragen systembedingt 12 px ueber die Spalte hinaus (negativer Row-Rand);
     * 12 px mehr Innenabstand richten sie buendig am Logo im Header aus. */
    html body #outerframeContainer {
        padding-inline: 36px;
    }
}
@media (min-width: 1200px) {
    html body #outerframeContainer > .row > .col-xl-8 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}
/* Header: mehr Luft ueber und unter dem Logo (ab Theme-Version 4.3.2).
 * Vorher nur 8 px (Bootstrap-Standard), weil das Theme das Logo-Padding des Kerns entfernt.
 * Die Hoehe des fixierten Headers rechnet das Kern-JS selbst in den Seitenabstand ein. */
:root {
    --brand-header-padding: 20px;
}
html body #survey-nav {
    border-bottom: 1px solid var(--brand-line);
    padding-block: var(--brand-header-padding);
}
@media (max-width: 575.98px) {
    html body #survey-nav {
        padding-block: 14px;
    }
}
html body .group-title-container {
    padding: 0;
}
html body .survey-description,
html body .survey-welcome,
html body .group-description {
    font-size: 18px;
    line-height: 1.65;
    color: var(--brand-ink);
    margin-top: 0;
}

/* Question cards. Display/visibility and relevance logic remain controlled by core. */
html body .question-container {
    background: var(--brand-surface);
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(57, 65, 71, 0.035);
    padding: 28px;
    margin-block: 0 24px;
}
html body .question-container .ls-label-question,
html body .question-container .question-text,
html body .question-container .question-text h1,
html body .question-container .question-text h2,
html body .question-container .question-text h3 {
    font-family: var(--brand-font-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    color: var(--brand-ink);
    margin-top: 0;
}
html body .question-title-container {
    margin-bottom: 16px;
}
html body .question-container .question-text p:last-child {
    margin-bottom: 0;
}
html body .question-help-container,
html body .question-valid-container,
html body .question-container .ls-question-message {
    font-size: 15px;
    line-height: 1.5;
}
html body .question-container.input-error,
html body .question-container.missing {
    border-color: var(--bs-danger, #dc3545);
}

/* Inputs retain their own widths: especially important for matrices and number fields. */
html body .form-control,
html body .form-select {
    min-height: 48px;
    font-size: 17px;
    line-height: 1.5;
    padding: 11px 14px;
    border-radius: 8px;
    border-width: 1px;
    box-shadow: none;
}
html body .form-control:not(.is-invalid):not([aria-invalid="true"]),
html body .form-select:not(.is-invalid):not([aria-invalid="true"]) {
    border-color: var(--brand-line);
}
html body .form-control:focus:not(.is-invalid):not([aria-invalid="true"]),
html body .form-select:focus:not(.is-invalid):not([aria-invalid="true"]) {
    border-color: var(--brand-ink);
    box-shadow: 0 0 0 3px rgba(57, 65, 71, 0.2);
}
html body .input-error .form-control:not(.is-invalid):not([aria-invalid="true"]),
html body .missing .form-control:not(.is-invalid):not([aria-invalid="true"]),
html body .input-error .form-select:not(.is-invalid):not([aria-invalid="true"]),
html body .missing .form-select:not(.is-invalid):not([aria-invalid="true"]) {
    border-color: var(--bs-danger, #dc3545);
    box-shadow: none;
}
html body textarea.form-control {
    min-height: 128px;
    resize: vertical;
}
html body .form-control::placeholder {
    color: #62676b;
    opacity: 1;
}
html body .form-control:disabled,
html body .form-control[readonly] {
    background-color: var(--brand-page);
}

/* Larger click targets for ordinary choices; matrix/imageselect markup stays inherited. */
html body .radio-item:not(td):not(.imageselect-listitem),
html body .checkbox-item:not(td):not(.imageselect-listitem) {
    padding-inline: 0;
    margin-inline: 0;
    margin-bottom: 8px;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio] + label:not(.ls-label-xs-visibility),
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox] + label:not(.ls-label-xs-visibility) {
    display: block;
    position: relative;
    min-height: 48px;
    padding: 10px 12px 10px 46px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 18px;
    line-height: 26px;
    color: var(--brand-ink);
    font-weight: 400;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:not(:disabled) + label:not(.ls-label-xs-visibility):hover,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:not(:disabled) + label:not(.ls-label-xs-visibility):hover {
    background-color: var(--brand-page);
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked + label:not(.ls-label-xs-visibility),
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked + label:not(.ls-label-xs-visibility) {
    background-color: rgba(57, 65, 71, 0.1);
    border-color: rgba(57, 65, 71, 0.2);
    font-weight: 500;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio] + label:not(.ls-label-xs-visibility)::before,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox] + label:not(.ls-label-xs-visibility)::before {
    width: 22px;
    height: 22px;
    top: 12px;
    left: 12px;
    margin: 0;
    border: 2px solid #62676b;
    background-color: #ffffff;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked + label:not(.ls-label-xs-visibility)::before,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked + label:not(.ls-label-xs-visibility)::before {
    border-color: var(--brand-ink);
    background-color: var(--brand-brand);
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio] + label:not(.ls-label-xs-visibility)::after {
    width: 10px;
    height: 10px;
    top: 18px;
    left: 18px;
    margin: 0;
    background-color: var(--brand-on-primary);
}
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox] + label:not(.ls-label-xs-visibility)::before {
    border-radius: 5px;
}
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked + label:not(.ls-label-xs-visibility)::after {
    content: "";
    width: 6px;
    height: 11px;
    top: 16px;
    left: 20px;
    margin: 0;
    padding: 0;
    border: solid var(--brand-on-primary);
    border-width: 0 2px 2px 0;
    border-radius: 0;
    transform: rotate(45deg);
    background: transparent;
}
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:indeterminate + label:not(.ls-label-xs-visibility)::after {
    content: "";
    width: 10px;
    height: 2px;
    left: 18px;
    top: 22px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: var(--brand-ink);
    transform: none;
}

/* Consistent buttons: no transform that would move the target under a pointer. */
html body .btn {
    min-height: 48px;
    padding: 11px 24px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
html body .btn-sm,
html body .input-group .btn {
    min-height: 40px;
    padding: 7px 14px;
    font-size: 15px;
}
html body .ls-answers .btn {
    white-space: normal;
}
html body #navigator-container {
    padding-block: 8px 32px;
}
html body .progress,
html body .top-container .progress {
    height: 6px;
    border-radius: 999px;
    background-color: rgba(57, 65, 71, 0.12);
}
html body .progress-bar {
    border-radius: 999px;
}

@media (max-width: 575.98px) {
    html body { font-size: 17px; }
    html body #outerframeContainer,
    html body #survey-nav > .container-fluid { padding-inline: 16px; }
    html body .question-container { padding: 20px 16px; margin-bottom: 16px; }
    html body .question-container .ls-label-question,
    html body .question-container .question-text { font-size: 20px; }
    html body .btn { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html body .btn,
    html body .radio-item label::before,
    html body .radio-item label::after,
    html body .checkbox-item label::before { transition: none; }
}
/* ==== Marken-Interaktionsfarben, Statusfarben und Schatten (ab Theme-Version 4.3.3) ====
 * Der Kern (fruity_twentythree, Farbvariante "Apple") bringt feste Gruen- und Violett-Toene sowie
 * versetzte Schatten mit. Alles, was Hover, Auswahl, Hinweise und Eingabefelder betrifft,
 * wird hier durch die Markenfarben ersetzt; Fehler-/Warnfarben bleiben funktional. */
:root {
    --brand-ink-rgb: 57, 65, 71;
    --bs-info: var(--brand-ink);
    --bs-info-rgb: var(--brand-ink-rgb);
}

/* Ueberschriften immer in der Hauptfarbe der Marke. */
html body h1,
html body h2,
html body h3,
html body .survey-name,
html body .group-title {
    color: var(--brand-brand);
}

/* Auswahl-Buttons (Ja/Nein, Button-Listen): nicht gewaehlt = weiss mit Markenrahmen,
 * Hover = Hover-Farbe, gewaehlt = Hauptfarbe. */
html body .btn-check + .btn-primary,
html body .btn-check:focus + .btn-primary {
    color: var(--brand-ink);
    background-color: #ffffff;
    border: 2px solid var(--brand-brand);
}
html body .btn-check + .btn-primary:hover,
html body .btn-check + .btn-primary:active,
html body .btn-check + .btn-primary.active,
html body .btn-check + .btn-primary:active:focus,
html body .btn-check:active + .btn-primary,
html body .btn-check:focus + .btn-primary:hover {
    color: var(--brand-on-hover);
    background-color: var(--brand-hover);
    border-color: var(--brand-hover);
}
html body .btn-check:checked + .btn-primary,
html body .btn-check:checked + .btn-primary:focus,
html body .btn-check:focus:checked + .btn-primary {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-brand);
}
html body .btn-check:checked + .btn-primary:hover,
html body .btn-check:focus:checked + .btn-primary:hover {
    color: var(--brand-on-hover);
    background-color: var(--brand-hover);
    border-color: var(--brand-hover);
}

/* Keine Schatten auf Buttons und Eingabefeldern (Fokus zeigt der Outline-Ring weiter oben). */
html body .btn,
html body .btn:hover,
html body .btn:focus,
html body .btn:active,
html body .btn.active,
html body .btn:active:focus,
html body .btn-check:focus + .btn,
html body .btn-check:checked + .btn,
html body .btn-check:active + .btn,
html body .form-control,
html body .form-control:focus,
html body .form-select,
html body .form-select:focus,
html body .form-control.ls-important-field,
html body .form-control.ls-important-field:focus,
html body .form-select.ls-important-field,
html body .form-select.ls-important-field:focus,
html body .has-success .form-control,
html body .has-success .form-control:focus,
html body .has-warning .form-control,
html body .has-warning .form-control:focus,
html body .has-error .form-control,
html body .has-error .form-control:focus,
html body .input-error .form-control:not(.em_sq_validation),
html body .input-error .form-control:not(.em_sq_validation):focus,
html body .input-error .form-control.has-warning,
html body .input-error .form-control.has-warning:focus {
    box-shadow: none !important;
}
/* Login-/Speichern-/Registrierungsfelder (ls-important-field) wie alle anderen Felder: 1 px Rand, bei Fokus Schriftfarbe. */
html body .form-control.ls-important-field,
html body .form-select.ls-important-field {
    border: 1px solid var(--brand-line) !important;
}
html body .form-control.ls-important-field:focus,
html body .form-select.ls-important-field:focus {
    border-color: var(--brand-ink) !important;
}
html body .input-error .form-control.ls-important-field,
html body .has-error .form-control.ls-important-field,
html body .form-control.ls-important-field.is-invalid,
html body .form-control.ls-important-field[aria-invalid="true"] {
    border-color: var(--bs-danger, #dc3545) !important;
}
/* Fokus bei Eingabefeldern: Ring direkt am Feldrand (ohne Abstand) statt doppeltem Ring.
 * Ueberstimmt die Tastatur-Fokusregel des Kerns (2 px, 2 px Abstand, !important). Bleibt gut sichtbar. */
html body .form-control:focus-visible,
html body .form-select:focus-visible,
html body textarea:focus-visible,
html body input:not([type=hidden]):not([type=radio]):not([type=checkbox]):focus-visible {
    outline: 2px solid var(--brand-ink) !important;
    outline-offset: 0 !important;
}
html body .has-error .form-control,
html body .input-error .form-control:not(.em_sq_validation),
html body .input-error .form-control.has-warning {
    border-color: var(--bs-danger, #dc3545);
}

/* Radio-Buttons und Checkboxen: Hauptfarbe als Fuellung, ohne zweiten Ring, Punkt/Haken in der Schriftfarbe auf Hauptfarbe. */
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked + label:not(.ls-label-xs-visibility)::before,
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked:hover + label:not(.ls-label-xs-visibility)::before,
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked:focus + label:not(.ls-label-xs-visibility)::before,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked + label:not(.ls-label-xs-visibility)::before,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked:hover + label:not(.ls-label-xs-visibility)::before,
html body .checkbox-item:not(td):not(.imageselect-listitem) > input[type=checkbox]:checked:focus + label:not(.ls-label-xs-visibility)::before {
    background-color: var(--brand-brand) !important;
    border-color: var(--brand-brand) !important;
    box-shadow: none;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked + label:not(.ls-label-xs-visibility)::after,
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked:hover + label:not(.ls-label-xs-visibility)::after,
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:checked:focus + label:not(.ls-label-xs-visibility)::after {
    background-color: var(--brand-on-primary) !important;
    box-shadow: none;
}
html body .radio-item:not(td):not(.imageselect-listitem) > input[type=radio]:not(:checked) + label:not(.ls-label-xs-visibility)::after {
    background-color: transparent;
}

/* Menue (drei Punkte) und andere Dropdowns: Hover/Fokus in der Hover-Farbe der Marke. */
html body #survey-nav .dropdown-menu > li > a:hover,
html body #survey-nav .dropdown-menu > li > a:focus,
html body #survey-nav .dropdown-menu > li > a:active,
html body #survey-nav .dropdown-menu > li > a.active,
html body #survey-nav .dropdown-menu > .active > a,
html body .dropdown-menu:not(.inner) > li > a:hover,
html body .dropdown-menu:not(.inner) > li > a:focus,
html body .dropdown-menu:not(.inner) > .active > a,
html body .dropdown-menu:not(.inner) > .active > a:hover,
html body .dropdown-menu:not(.inner) > .active > a:focus {
    color: var(--brand-on-hover);
    background-color: var(--brand-hover) !important;
}
html body .answer-container .bootstrap-select li.selected > .dropdown-item,
html body .answer-container .bootstrap-select li.selected > .dropdown-item:hover,
html body .answer-container .bootstrap-select li.selected > .dropdown-item:focus,
html body .answer-container .bootstrap-select li.selected > .dropdown-item.active {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
}

/* Menue-Symbol (drei Punkte) in der Schriftfarbe statt Violett-Grau. */
html body #survey-nav .navbar-toggler .ri-more-fill {
    color: var(--brand-ink);
}

/* Sprachauswahl auf der Startseite: gleiche Optik wie die uebrigen Auswahlfelder. */
html body .form-change-lang .language-icon,
html body .form-change-lang .control-label {
    color: var(--brand-ink);
}
html body .form-change-lang #lang-select {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
}
html body .form-change-lang #language-changer-select,
html body .form-change-lang #language-changer-select:focus,
html body .form-change-lang #language-changer-select:focus-visible {
    color: var(--brand-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 26px;
    padding: 10px 44px 10px 14px;
    border: none;
    border-radius: 8px;
    outline: none;
    background-color: transparent;
}
html body .form-change-lang #lang-select::after {
    color: var(--brand-ink);
}
html body .form-change-lang #lang-select:focus-within {
    outline: 2px solid var(--brand-ink);
    outline-offset: 0;
}

/* Datumsauswahl, Schieberegler, Bildauswahl, Summenanzeige: Markenfarbe statt Apple-Gruen. */
html body .tempus-dominus-widget .date-container-decades div:not(.no-highlight).active,
html body .tempus-dominus-widget .date-container-years div:not(.no-highlight).active,
html body .tempus-dominus-widget .date-container-months div:not(.no-highlight).active,
html body .tempus-dominus-widget .date-container-days div:not(.no-highlight).active,
html body .tempus-dominus-widget .time-container-clock div:not(.no-highlight).active,
html body .tempus-dominus-widget .time-container-hour div:not(.no-highlight).active,
html body .tempus-dominus-widget .time-container-minute div:not(.no-highlight).active,
html body .tempus-dominus-widget .time-container-second div:not(.no-highlight).active,
html body .tempus-dominus-widget button {
    color: var(--brand-on-primary);
    background-color: var(--brand-brand);
    border-color: var(--brand-brand);
}
html body .tempus-dominus-widget div:not(.no-highlight).today:before {
    border-bottom-color: var(--brand-brand);
}
html body .slider-list .slider .slider-selection {
    background-color: var(--brand-brand);
}
html body .slider-list .slider .slider-handle.custom::before,
html body .slider-tick.custom::before {
    color: var(--brand-brand);
}
html body li.imageselect-listitem .imageselect-container input.imageselect-checkbox:checked + label {
    border: 2px solid var(--brand-brand) !important;
}
html body li.imageselect-listitem .imageselect-container input.imageselect-checkbox:checked + label + .imageselect-radiobutton:before,
html body input.imageselect-checkbox:checked ~ .imageselect-select::before {
    border-color: var(--brand-brand);
}
html body li.imageselect-listitem .imageselect-container input.imageselect-checkbox:checked + label + .imageselect-radiobutton:after {
    background-color: var(--brand-brand);
}
html body input.imageselect-checkbox:checked ~ .imageselect-select::after {
    color: var(--brand-brand);
}
html body .numeric-multi .ls-group-total-separator hr {
    border-color: var(--brand-brand);
}
html body .numeric-multi .ls-group-total .control-label {
    color: var(--brand-ink);
}
html body .btn-link,
html body .link-primary {
    color: var(--brand-link) !important;
}
html body .border-primary {
    border-color: var(--brand-brand) !important;
}

@media print {
    html body { background: #ffffff; }
    html body .question-container { box-shadow: none; break-inside: avoid; }
}
