/* ==========================================================================
   Sortiment Tool — design system
   Lp Marktforschung AG

   Signature idea: this is a tool for comparing retail assortments (Aldi /
   Lidl), so the visual language borrows from price tags and shelf labels —
   a notched "tag" corner on cards/tiles, tabular mono numerals for every
   price/quantity/count, and a burgundy "shelf-edge" accent rail on the
   active nav item and section headers.
   ========================================================================== */

:root {
    --ink: #1A1B1E;
    --ink-soft: #55565C;
    --ink-faint: #8B8C92;

    --canvas: #F1F1EE;
    --surface: #FFFFFF;
    --surface-sunken: #F7F7F5;
    --border: #DFDEDA;
    --border-soft: #EAE9E5;

    --brand: #A3003F;
    --brand-strong: #7A0030;
    --brand-tint: #FBE9EF;
    --brand-tint-strong: #F4CBDA;

    --aldi: #B4870A;
    --aldi-tint: rgba(180, 135, 10, 0.10);
    --aldi-tint-strong: rgba(180, 135, 10, 0.22);

    --lidl: #0B3FC7;
    --lidl-tint: rgba(11, 63, 199, 0.08);
    --lidl-tint-strong: rgba(11, 63, 199, 0.20);

    --success: #0F7A5D;
    --success-tint: rgba(15, 122, 93, 0.10);
    --danger: #C1272D;
    --danger-tint: rgba(193, 39, 45, 0.08);

    --font-display: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(26, 27, 30, 0.06), 0 1px 1px rgba(26, 27, 30, 0.04);
    --shadow-md: 0 6px 16px rgba(26, 27, 30, 0.08), 0 2px 6px rgba(26, 27, 30, 0.05);
    --shadow-lg: 0 20px 45px rgba(26, 27, 30, 0.14), 0 4px 12px rgba(26, 27, 30, 0.06);
}

/* ---- base -------------------------------------------------------------- */

html, body {
    height: 100%;
}

/* sticky footer: page form is a full-height column, the content wrap grows
   to fill any leftover space so the footer always sits at the bottom of the
   viewport instead of riding up under short content */
.lp-page-form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lp-page-wrap {
    flex: 1 0 auto;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

a {
    color: var(--brand);
}

    a:hover, a:focus {
        color: var(--brand-strong);
    }

hr {
    border-top: 1px solid var(--border);
}

::selection {
    background: var(--brand-tint-strong);
    color: var(--ink);
}

/* eyebrow / mono utility label, used for section headers & data cells */
.lp-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ---- top navigation ------------------------------------------------------
   getMenu() in master.master.cs still emits the plain Bootstrap 3 structure
   (ul.nav.navbar-nav, li, a, li.dropdown > ul.dropdown-menu, li.active) —
   everything below targets those exact classes.
   ---------------------------------------------------------------------- */

.navbar.navbar-default {
    background: var(--ink);
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    min-height: 62px;
}

.navbar-default .navbar-brand {
    height: 34px;
    width: auto;
    padding: 14px 20px !important;
    margin: 0 !important;
    box-sizing: content-box;
}

.navbar-default .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.25);
    margin-top: 14px;
}

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: rgba(255, 255, 255, 0.08);
    }

.navbar-default .navbar-nav > li > a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.72);
    height: 62px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 2px solid transparent;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.06);
        border-bottom-color: rgba(163, 0, 63, 0.55);
    }

    .navbar-default .navbar-nav > li > a > span[class*="fa-"],
    .navbar-default .navbar-nav > li > a > span[class^="fa "] {
        margin-right: 7px;
        opacity: 0.85;
    }

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.04);
    border-bottom-color: var(--brand);
}

.navbar-default .navbar-nav .dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin-top: 0;
}

    .navbar-default .navbar-nav .dropdown-menu > li > a {
        color: var(--ink-soft);
        font-size: 13.5px;
        font-weight: 500;
        border-radius: var(--radius-sm);
        padding: 9px 12px;
    }

        .navbar-default .navbar-nav .dropdown-menu > li > a:hover,
        .navbar-default .navbar-nav .dropdown-menu > li > a:focus {
            background: var(--brand-tint);
            color: var(--brand-strong);
        }

    .navbar-default .navbar-nav .dropdown-menu > li.active > a {
        background: var(--brand-tint);
        color: var(--brand-strong);
    }

.navbar-default .navbar-nav .caret {
    border-top-color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.navbar-default .navbar-nav .user-dropdown > a {
    font-weight: 600;
}

    .navbar-default .navbar-nav .user-dropdown > a .fa-user {
        margin-right: 6px;
    }

/* footer */

#footer {
    padding-top: var(--space-6);
    color: var(--ink-faint);
    font-size: 12.5px;
}

    #footer hr {
        border-top: 1px solid var(--border);
    }

/* ---- buttons ------------------------------------------------------------ */

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.btn-default {
    color: var(--ink);
    background-color: var(--surface);
    border: 1px solid var(--border);
}

    .btn-default:hover, .btn-default:focus {
        background-color: var(--surface-sunken);
        border-color: #C9C7C1;
        color: var(--ink);
    }

.btn-primary {
    color: #fff;
    background-color: var(--brand);
    border: 1px solid var(--brand);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--brand-strong);
        border-color: var(--brand-strong);
    }

.btn:active {
    transform: translateY(1px);
}

.btn-lg {
    font-size: 15px;
    line-height: 1.4;
    border-radius: var(--radius-md);
    padding: 12px 22px;
}

/* buttons rendered by ASP.NET as plain <input type=button/submit> with the
   legacy `.textbox` class — this class was never defined before, so these
   controls rendered completely unstyled. Give inputs and buttons using it
   the same treatment, differentiated by type. */

.textbox {
    font-family: var(--font-body);
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 8px 12px;
    background: var(--surface);
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

input[type="button"].textbox,
input[type="submit"].textbox,
button.textbox {
    cursor: pointer;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
}

    input[type="button"].textbox:hover,
    input[type="submit"].textbox:hover,
    button.textbox:hover {
        background: var(--surface-sunken);
        border-color: #C9C7C1;
    }

input[type="text"].textbox:focus,
input[type="password"].textbox:focus,
textarea.textbox:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-tint);
}

/* ---- form controls -------------------------------------------------------
   .form-control is what most asp:TextBox / DropDownList already carry via
   CssClass in the markup. ---------------------------------------------- */

.form-control {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--ink);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: none;
    height: 38px;
    padding: 8px 12px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

    .form-control:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--brand-tint);
    }

    .form-control::placeholder {
        color: var(--ink-faint);
    }

label {
    font-weight: 600;
    font-size: 13px;
    color: var(--ink-soft);
}

/* generic label/field grid used for the reworked admin forms */

.lp-form {
    display: block;
}

.lp-field {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: var(--space-2) var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-soft);
}

    .lp-field:last-child {
        border-bottom: 0;
    }

    .lp-field > .lp-field-label {
        font-family: var(--font-mono);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--ink-faint);
        padding-top: 10px;
    }

    .lp-field > .lp-field-input {
        min-width: 0;
    }

@media (max-width: 767px) {
    .lp-field {
        grid-template-columns: 1fr;
    }
}

.lp-form-actions {
    display: flex;
    gap: var(--space-2);
    padding-top: var(--space-4);
}

/* ---- cards / panels ------------------------------------------------------
   Bootstrap panels are used throughout as generic content boxes; give them
   the same "card" treatment used by the new .lp-card utility. ----------- */

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.panel-default > .panel-heading {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--space-4) var(--space-5);
}

.panel-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
}

.panel-body {
    padding: var(--space-5);
}

.lp-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-5);
}

/* signature: a punched "price-tag" notch in the corner of a card */
.lp-card--tag::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -1px;
    width: 10px;
    height: 10px;
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 50%;
    transform: translateX(-50%);
}

.lp-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.lp-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    margin: 0;
}

/* filter / selector panels used on Home, ArtikelSuche etc. reuse
   .modal-header / .modal-body as plain section labels + bodies, outside of
   any real modal — style both usages consistently. */

.modal-header {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    background: transparent;
    border-bottom: 2px solid var(--brand);
    padding: 0 0 var(--space-2) 0;
    margin: var(--space-4) 0 var(--space-3) 0;
}

    .modal-header b, .modal-header strong {
        font-weight: 700;
        color: var(--ink-faint);
    }

.modal-body {
    padding: 0;
}

/* real bootstrap modal dialogs need their own surface + spacing back */
.modal-content {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

    .modal-content .modal-header {
        padding: var(--space-4) var(--space-5);
        margin: 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .modal-content .modal-body {
        padding: var(--space-5);
    }

    .modal-content .modal-footer {
        padding: var(--space-4) var(--space-5);
        border-top: 1px solid var(--border-soft);
    }

.modal-title {
    font-family: var(--font-display);
    text-transform: none;
    letter-spacing: normal;
    color: var(--ink);
    font-size: 18px;
}

/* filter sidebar shell — the grey inline-styled column used on Home /
   ArtikelSuche keeps its inline background-color:lightgray attribute in
   markup; this rule takes priority when the markup is switched to the new
   class instead. */

.lp-filter-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4) var(--space-4) var(--space-5);
}

/* ---- tables ---------------------------------------------------------- */

.table {
    background: var(--surface);
    font-size: 13.5px;
    border-collapse: separate;
    border-spacing: 0;
}

    .table > thead > tr > th {
        font-family: var(--font-mono);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #fff;
        background: var(--ink);
        border: 0;
        padding: 10px 14px;
    }

        .table > thead > tr > th:first-child {
            border-top-left-radius: var(--radius-sm);
        }

        .table > thead > tr > th:last-child {
            border-top-right-radius: var(--radius-sm);
        }

    .table > tbody > tr > td {
        padding: 10px 14px;
        border-top: 1px solid var(--border-soft);
        vertical-align: middle;
        font-variant-numeric: tabular-nums;
    }

    .table > tbody > tr:hover > td {
        background-color: var(--surface-sunken);
    }

.table-hover > tbody > tr:hover > td {
    background-color: var(--surface-sunken);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--surface-sunken);
}

.table td, .table th {
    font-variant-numeric: tabular-nums;
}

.aldi {
    background: var(--aldi-tint) !important;
}

.lidl {
    background: var(--lidl-tint) !important;
}

/* dataTables */

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 5px 10px;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    margin: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button > a,
.dataTables_wrapper .dataTables_paginate .paginate_button > span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-soft);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-left: 4px;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled) > a:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled) > a:focus {
    background-color: var(--brand-tint) !important;
    border-color: var(--brand-tint-strong) !important;
    color: var(--brand-strong) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.active > a,
.dataTables_wrapper .dataTables_paginate .paginate_button.active > a:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.active > a:focus {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled > a {
    color: var(--ink-faint) !important;
    background-color: var(--surface-sunken) !important;
    border-color: var(--border) !important;
    cursor: default;
}

/* ---- misc existing utility classes (kept, restyled) ------------------- */

.style_featured > div:hover > div {
    border: 1px solid var(--brand-tint-strong);
    box-shadow: var(--shadow-md);
    background: var(--brand-tint);
    transition: 0.25s ease;
}

canvas {
    max-width: 100%;
    height: auto !important;
}

.panel-pointer {
    cursor: pointer;
}

.lpColor {
    color: var(--brand);
}

.white {
    color: #fff;
}

.myimg {
    margin-left: 5px;
}

.rblBox input {
    display: none;
    padding: 0;
    width: 0px;
    height: 0px;
    appearance: none;
}

.rblBox label {
    padding: 0px 0px;
    margin: 0px 6px;
}

.rblBox .box > .info {
    text-align: center;
    position: relative;
    background: var(--surface-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 20px 0px 20px;
}

    .rblBox .box > .info:hover {
        cursor: pointer;
    }

.rblBox input:checked + label .box > .info {
    background-color: var(--brand-tint);
    border-color: var(--brand-tint-strong);
}

.rblBox .box > .info > h3.title {
    color: var(--ink);
    font-weight: 600;
}

.rblBox1 input, .rblBox2 input, .rblBox3 input {
    display: none;
    padding: 0;
    width: 0px;
    height: 0px;
    appearance: none;
}

.rblBox1 label {
    margin: 5px 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    text-align: center;
    height: 40px;
    width: 150px;
    white-space: nowrap;
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: border-color 150ms ease, background-color 150ms ease;
}

    .rblBox1 label:hover {
        cursor: pointer;
        border-color: var(--brand-tint-strong);
        background-color: var(--brand-tint);
    }

.rblBox1 input:checked + label {
    border-color: var(--brand);
    background-color: var(--brand-tint);
    color: var(--brand-strong);
    font-size: 15px;
}

.rblBox1 label h4 {
    color: var(--ink);
    font-weight: 700;
}

.rblBox2 label {
    margin: 5px 6px;
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    text-align: left;
    font-size: 13.5px;
    color: var(--ink-soft);
    transition: border-color 150ms ease, background-color 150ms ease;
}

    .rblBox2 label:hover {
        cursor: pointer;
        border-color: var(--brand-tint-strong);
        background-color: var(--brand-tint);
    }

.rblBox2 input:checked + label {
    border-color: var(--brand);
    background-color: var(--brand-tint);
    color: var(--brand-strong);
    font-weight: 600;
}

.rblBox3 label {
    margin: 5px 20px;
    display: block;
    height: 38px;
    width: 38px;
    border: 1px solid var(--brand-tint-strong);
    border-radius: var(--radius-sm);
    padding: 2px 2px;
    background: url(/img/notChecked.jpg) no-repeat center;
}

    .rblBox3 label:hover {
        cursor: pointer;
    }

.rblBox3 input:checked + label {
    background-color: var(--brand-tint);
    background-image: url(/img/Checked.jpg);
}

.rblSprache1 input[type=radio] {
    visibility: hidden;
    display: none;
    padding: 0;
    width: 0px;
    height: 0px;
    appearance: none;
}

.rblSprache1 label {
    margin: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
    line-height: 37px;
    width: 48px;
    cursor: pointer;
    background-size: 100% auto;
}

.rblSprache1 .DE label {
    background: #ffffff url("../../img/DE2.png") no-repeat right top;
    background-size: 100% auto;
}

    .rblSprache1 .DE label:hover {
        background: #ffffff url("../../img/DE3.png") no-repeat right top;
        background-size: 100% auto;
    }

.rblSprache1 .DE input:checked + label {
    border: 1px solid var(--brand);
    background: #ffffff url("../../img/DE1.png") no-repeat right top;
    background-size: 100% auto;
}

.rblSprache1 .FR label {
    background: #ffffff url("../../img/FR2.png") no-repeat right top;
    background-size: 100% auto;
}

    .rblSprache1 .FR label:hover {
        background: #ffffff url("../../img/FR3.png") no-repeat right top;
        background-size: 100% auto;
    }

.rblSprache1 .FR input:checked + label {
    border: 1px solid var(--brand);
    background: #ffffff url("../../img/FR1.png") no-repeat right top;
    background-size: 100% auto;
}

.rblSprache1 .IT label {
    background: #ffffff url("../../img/IT2.png") no-repeat right top;
    background-size: 100% auto;
}

    .rblSprache1 .IT label:hover {
        background: #ffffff url("../../img/IT3.png") no-repeat right top;
        background-size: 100% auto;
    }

.rblSprache1 .IT input:checked + label {
    border: 1px solid var(--brand);
    background: #ffffff url("../../img/IT1.png") no-repeat right top;
    background-size: 100% auto;
}

.rblTyp1 input, .rblTyp2 input, .rblTyp3 input, .rblTyp4 input, .rblTyp5 input, .rblTyp6 input {
    display: none;
    padding: 0;
    width: 0px;
    height: 0px;
    appearance: none;
}

.rblTyp1 label {
    padding: 20px 0px 20px 0px;
    margin: 10px 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: inline-block;
    text-align: center;
    font-size: 0.9em;
    background-color: var(--surface);
    border: 1px solid var(--border);
}

    .rblTyp1 label:hover {
        box-shadow: var(--shadow-md);
        background-color: var(--brand-tint);
    }

.rblTyp1 input:checked + label {
    box-shadow: var(--shadow-md);
    background-color: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.rblTyp2 label {
    padding: 5px 5px;
    margin: 0px 10px 0px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand);
    color: var(--brand);
    display: inline-block;
    font-size: 5em;
}

    .rblTyp2 label:hover {
        background-color: var(--brand-tint);
    }

.rblTyp2 input:checked + label {
    background-color: var(--brand);
    color: #fff;
}

.rblTyp2 .ka {
    text-align: center;
}

    .rblTyp2 .ka label {
        padding: 2px 8px;
        margin: 0px 7px;
        border-radius: var(--radius-md);
        border: 1px solid var(--brand);
        color: var(--brand);
        display: inline-block;
        font-size: 0.9em;
    }

.rblTyp2 .alt label {
    padding: 4px 6px;
    margin: 0px 5px 0px 5px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand);
    color: var(--brand);
    display: inline-block;
    font-size: 16px;
}

.rblTyp3 label, .rblTyp5 label {
    padding: 5px 5px;
    margin: 5px 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: block;
    font-size: 0.9em;
    background-color: var(--surface);
    border: 1px solid var(--border);
}

.rblTyp3 label:hover {
    box-shadow: var(--shadow-md);
    background-color: var(--brand-tint);
}

.rblTyp3 input:checked + label,
.rblTyp5 input:checked + label {
    box-shadow: var(--shadow-md);
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.rblTyp4 label {
    padding: 4px 4px;
    margin: 0px 4px 0px 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand);
    color: var(--brand);
    display: inline-block;
    font-size: 1.4em;
}

.rblTyp4 input:checked + label {
    background-color: var(--brand);
    color: #fff;
}

.rblTyp6 label {
    width: 90px;
    font-size: 11px;
    padding: 5px 5px;
    border-radius: var(--radius-sm);
    margin-right: 4px;
    box-shadow: var(--shadow-sm);
    background-color: var(--surface);
    border: 1px solid var(--border);
}

    .rblTyp6 label:hover {
        box-shadow: var(--shadow-md);
        background-color: var(--surface-sunken);
    }

.rblTyp6 input:checked + label {
    box-shadow: var(--shadow-md);
    background-color: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.labelText {
    padding-left: 10px;
    padding-right: 20px;
    font-weight: 700;
    display: inline-block;
}

.required {
    border: 1px solid var(--danger);
}

.TableFragen {
    border-collapse: collapse;
    background-color: var(--surface);
    padding: 10px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.Titel {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15pt;
    padding: 12px 45px;
    border-collapse: collapse;
    border: 1px solid var(--border);
    background: var(--ink);
    color: #fff;
}

.Number {
    width: 40px;
    vertical-align: top;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12pt;
    text-align: center;
    color: var(--ink-faint);
    border-collapse: collapse;
    border-left: 1px solid var(--border);
    border-top: 0px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.Frage {
    vertical-align: top;
    border-collapse: collapse;
    border-left: 1px solid var(--border);
    border-top: 0px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.FrageText {
    width: 480px;
    padding-left: 10px;
    height: 30px;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
}

.FrageTextGross {
    width: 950px;
    padding-left: 10px;
    height: 30px;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    vertical-align: top;
    border-collapse: collapse;
    border-left: 1px solid var(--border);
    border-top: 0px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.warning {
    padding-left: 10px;
    text-align: left;
    vertical-align: top;
    font-style: italic;
    color: var(--ink-faint);
}

.Antwort {
    width: 470px;
    border-collapse: collapse;
    border-bottom: 1px solid var(--border);
    border-top: 0px;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 5px 5px 10px 5px;
    vertical-align: top;
}

.fbHead {
    background-color: var(--surface);
    width: 950px;
    padding: 8px 45px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand);
}

.visibleFalse {
    display: none;
}

.visibleTrue {
    display: normal;
}

.RotateLinks {
    transform: rotate(270deg);
    vertical-align: top;
}

/* progress tiles */

.tile-progress {
    background: #303641;
    color: #fff;
    border-radius: var(--radius-md);
    background-clip: padding-box;
    overflow: hidden;
}

    .tile-progress .tile-header {
        padding: 15px 20px;
        padding-bottom: 40px;
        font-family: var(--font-display);
    }

    .tile-progress .tile-progressbar {
        height: 3px;
        background: rgba(0, 0, 0, 0.18);
        margin: 0;
    }

        .tile-progress .tile-progressbar span {
            display: block;
            background: #fff;
            width: 0;
            height: 100%;
            transition: all 1.5s cubic-bezier(0.230, 1.000, 0.320, 1.000);
        }

    .tile-progress .tile-footer {
        padding: 20px;
        text-align: right;
        background: rgba(0, 0, 0, 0.12);
        font-family: var(--font-mono);
        font-variant-numeric: tabular-nums;
    }

    .tile-progress.tile-red {
        background-color: var(--danger);
    }

    .tile-progress.tile-blue {
        background-color: #0073b7;
    }

    .tile-progress.tile-gray {
        background-color: var(--ink-faint);
    }

    .tile-progress.tile-green {
        background-color: var(--success);
    }

    .tile-progress.tile-cyan {
        background-color: #00838a;
    }

    .tile-progress.tile-lp {
        background-color: var(--brand);
    }

    .tile-progress.tile-pink {
        background-color: var(--brand-tint-strong);
        color: var(--brand-strong);
    }

/* report */

.MyActive, .NoActive {
    position: relative;
    top: 22px;
    padding: 20px 14px;
    border-bottom: 3px solid var(--brand);
    color: #fff;
    text-decoration: none;
}

.MyActive {
    background-color: rgba(255, 255, 255, 0.12);
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
}

    .MyActive:hover, .MyActive:visited, .MyActive:active, .MyActive:link {
        color: #fff;
        text-decoration: none;
    }

.NoActive:hover {
    position: relative;
    top: 22px;
    padding: 20px 14px;
    text-decoration: none;
    color: var(--brand-tint-strong);
    border-bottom: 3px solid var(--brand);
    background-color: rgba(255, 255, 255, 0.08);
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
}

.wichtigkeit {
    color: var(--ink-faint);
}

.zufriedenheit {
    color: var(--brand);
}

/* end report */

.radio input[type="radio"] {
    display: none;
}

    .radio input[type="radio"] + label {
        position: relative;
        padding-left: 25px;
        padding-right: 15px;
        padding-bottom: 2px;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink-soft);
        cursor: default;
    }

        .radio input[type="radio"] + label:before {
            position: absolute;
            left: 0;
            top: 1px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background-color: var(--surface);
            display: block;
            content: ' ';
        }

        .radio input[type="radio"] + label:after {
            position: absolute;
            top: 5px;
            left: 4px;
            width: 12px;
            height: 12px;
            content: " ";
            background-color: var(--brand);
            border-radius: 50%;
            display: block;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform: scale(0, 0);
            opacity: 0;
        }

    .radio input[type="radio"]:checked + label {
        color: var(--brand);
        font-weight: 600;
    }

        .radio input[type="radio"]:checked + label:after {
            transform: scale(1, 1);
            opacity: 1;
        }

.modalPopup {
    background-color: var(--surface);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modalBackground {
    background-color: #000;
    opacity: 0.55;
}

.product_view .modal-dialog {
    max-width: 800px;
    width: 100%;
}

.pre-cost {
    text-decoration: line-through;
    color: var(--ink-faint);
    font-family: var(--font-mono);
}

.space-ten {
    padding: 10px 0;
}

/* home / report zoom images */

.imgZoom {
    display: inline-block;
    border: 0;
    border-radius: var(--radius-sm);
    width: 196px;
    height: 210px;
    position: relative;
    transition: all 200ms ease-in;
    transform: scale(1);
}

    .imgZoom:hover {
        box-shadow: var(--shadow-lg);
        z-index: 999;
        transition: all 200ms ease-in;
        transform: scale(2.2);
    }

/* ---- login page --------------------------------------------------------
   Split shell: a fixed-width white panel (logo, form, contact footer) next
   to a full-bleed visual panel on the right, showing img/Fotolia_05.jpg
   over a branded gradient wash (kept as a fallback if the photo is ever
   swapped out or fails to load). */

.lp-login-shell {
    min-height: 100vh;
    display: flex;
    background: var(--surface);
}

.lp-login-panel {
    width: 100%;
    max-width: 620px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    padding: var(--space-6) var(--space-7) var(--space-5);
    background: var(--surface);
}

.lp-login-logo {
    display: block;
    width: 280px;
    height: auto;
    margin-bottom: var(--space-6);
}

.lp-login-panel-form {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 380px;
}

.lp-login-field {
    margin-bottom: var(--space-3);
}

.lp-login-error {
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
}

.lp-login-footer {
    margin-top: var(--space-7);
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.7;
}

.lp-login-footer-title {
    color: var(--brand);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

    .lp-login-footer a {
        color: var(--ink-soft);
    }

.lp-login-copyright {
    margin-top: var(--space-4);
    font-size: 11px;
    color: var(--ink-faint);
}

.lp-login-visual {
    display: none;
    position: relative;
    flex: 1 1 auto;
    background-color: var(--ink);
    background-image:
        url('../../img/Fotolia_05.jpg'),
        radial-gradient(circle at 18% 15%, rgba(163, 0, 63, 0.55), transparent 42%),
        radial-gradient(circle at 82% 88%, rgba(11, 63, 199, 0.35), transparent 48%);
    background-size: cover, auto, auto;
    background-position: center, center, center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .lp-login-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 64px);
        pointer-events: none;
    }

@media (min-width: 900px) {
    .lp-login-visual {
        display: block;
    }
}

/* ---- stat tiles (Home dashboard) --------------------------------------- */

.lp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-4);
}

.lp-stat-tile {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4);
}

.lp-stat-tile .lp-stat-value {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.lp-stat-tile .lp-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 4px;
}
