/* ==========================================
   Familienportal â€“ Grunddesign
   ========================================== */

:root {
    --fp-primary: #183153;
    --fp-primary-dark: #10233d;
    --fp-accent: #b91c1c;
    --fp-background: #f3f6fa;
    --fp-surface: #ffffff;
    --fp-text: #253247;
    --fp-muted: #66758a;
    --fp-border: #e1e7ef;
    --fp-radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--fp-background);
    color: var(--fp-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--fp-primary);
}

a:hover {
    color: var(--fp-accent);
}

#header {
    background: var(--fp-primary);
    color: white;
    padding: 20px 24px;
}

#header a {
    color: white;
}

#wrapper {
    min-height: 100vh;
}

#container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 32px 24px;
}

#main {
    min-width: 0;
}

h1, h2, h3 {
    color: var(--fp-primary);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    margin-top: 0;
}

.mod_article {
    background: var(--fp-surface);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(20, 40, 70, 0.05);
}

input, select, textarea, button {
    font: inherit;
}

input, select, textarea {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--fp-border);
    border-radius: 8px;
}

button,
input[type="submit"] {
    background: var(--fp-primary);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 11px 20px;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background: var(--fp-primary-dark);
}

#footer {
    padding: 20px 24px;
    text-align: center;
    color: var(--fp-muted);
}

@media (max-width: 768px) {
    #container {
        padding: 20px 14px;
    }

    .mod_article {
        padding: 20px;
    }

    h1 {
        font-size: 1.6rem;
    }
}

/* ==========================================
   Dashboard â€“ Anwendungskacheln
   ========================================== */

.fp-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.fp-dashboard-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    min-height: 260px;
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    text-decoration: none;
    color: #253247;
    box-shadow: 0 4px 18px rgba(20, 40, 70, 0.05);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.fp-dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 40, 70, 0.12);
}

.fp-card-icon {
    font-size: 46px;
    margin-bottom: 12px;
}

.fp-dashboard-card h2 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #183153;
}

.fp-dashboard-card p {
    margin: 0 0 20px;
    color: #66758a;
}

.fp-card-link {
    margin-top: auto;
    font-weight: bold;
    color: #b91c1c;
}

@media (max-width: 768px) {
    .fp-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-card {
        min-height: 220px;
    }
}

/* ==========================================
   Familienportal – Loginformular
   ========================================== */

.mod_login {
    width: 100%;
    max-width: 460px;
    margin: 32px auto;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #dce9df;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(35, 80, 50, 0.09);
}

.mod_login form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mod_login .widget {
    margin: 0;
}

.mod_login label {
    display: block;
    margin-bottom: 7px;
    color: #304a39;
    font-size: 14px;
    font-weight: 600;
}

.mod_login input[type="text"],
.mod_login input[type="email"],
.mod_login input[type="password"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: #f9fcf9;
    border: 1px solid #cfdfd3;
    border-radius: 10px;
    color: #243b2d;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.mod_login input:focus-visible {
    outline: 2px solid #39865a;
    outline-offset: 2px;
    border-color: #39865a;
}

.mod_login button,
.mod_login input[type="submit"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    background: #a8ddb5;
    color: #173f27;
    border: 1px solid #8bc99b;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.mod_login button:hover,
.mod_login input[type="submit"]:hover {
    background: #91d2a2;
    transform: translateY(-1px);
}

.mod_login button:focus-visible,
.mod_login input[type="submit"]:focus-visible {
    outline: 3px solid #39865a;
    outline-offset: 3px;
}

.mod_login .error {
    padding: 12px 14px;
    background: #fff1f0;
    color: #a12626;
    border: 1px solid #f0c8c4;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .mod_login {
        margin: 16px auto;
        padding: 24px 20px;
    }
}

/* Mehr Abstand vor dem Anmelden-Button */

.mod_login .widget-submit {
    margin-top: 20px;
}

/* Dashboard â€“ Breite an ID.7-Navigation anpassen */
.mod_article.fp-dashboard {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* Contao-Dashboard: Breitenbegrenzung aus charging.css aufheben */
#container #main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}


/* BARF-Navigation im Stil der ID.7-Navigation */
.fp-barf-navigation {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: min(1100px, calc(100% - 24px));
    margin: 20px auto 0;
    padding: 12px;
    background: #e8eef5;
    border-radius: 12px;
}

.fp-barf-navigation a {
    background: #24466d;
    display: inline-block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.fp-barf-navigation a:hover,
.fp-barf-navigation a:focus-visible {
    background: #345a87;
    color: #ffffff;
}

.fp-barf-navigation a.fp-barf-nav-active {
    background: #175cd3;
    color: #ffffff;
}

.fp-barf-navigation a.fp-barf-nav-logout {
    margin-left: auto;
    background: #9f1239;
}

.fp-barf-navigation a.fp-barf-nav-logout:hover,
.fp-barf-navigation a.fp-barf-nav-logout:focus-visible {
    background: #9f1239;
}

@media (max-width: 640px) {
    .fp-barf-navigation {
        width: calc(100% - 24px);
        margin-top: 12px;
        padding: 8px;
        gap: 4px;
    }

    .fp-barf-navigation a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .fp-barf-navigation a.fp-barf-nav-logout {
        margin-left: 0;
    }
}

/* BARF-Rezeptdruck */
@media print {
    body:has(.fp-barf-print) {
        background: #fff !important;
        color: #000 !important;
    }

    body:has(.fp-barf-print) :is(
        #header, #footer, #left, #right,
        .fp-barf-navigation, .fp-barf-print-actions, .cto-toolbar
    ) {
        display: none !important;
    }

    body:has(.fp-barf-print) :is(#wrapper, #container, #main, #main > .inside, .mod_article) {
        width: auto !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .fp-barf-print {
        color: #000;
        font-size: 10pt;
        line-height: 1.4;
    }

    .fp-barf-print h1,
    .fp-barf-print h2 {
        color: #000;
        break-after: avoid;
    }

    .fp-barf-print table {
        width: 100%;
        border-collapse: collapse;
    }

    .fp-barf-print thead {
        display: table-header-group;
    }

    .fp-barf-print tr {
        break-inside: avoid;
    }

    .fp-barf-print th,
    .fp-barf-print td {
        padding: 5pt 4pt;
        border-bottom: 1px solid #bbb;
        background: transparent !important;
        color: #000;
        text-align: left;
    }

    .fp-barf-print th[scope="row"] {
        font-weight: normal;
    }

    .fp-barf-print th[scope="rowgroup"] {
        padding-top: 9pt;
    }

    .fp-barf-print td:last-child,
    .fp-barf-print th[scope="col"]:last-child {
        text-align: right;
        white-space: nowrap;
    }
}

/* BARF-Druckansicht am Bildschirm */
@media screen {
    .fp-barf-print {
        box-sizing: border-box;
        width: 100%;
        max-width: 48rem;
        margin-inline: auto;
        color: #17314e;
        font-size: 1rem;
        line-height: 1.5;
    }

    .fp-barf-print h1 {
        margin: 1.25rem 0 0.4rem;
        font-size: clamp(1.75rem, 4vw, 2.4rem);
        line-height: 1.2;
    }

    .fp-barf-print h2 {
        margin: 1.5rem 0 0.6rem;
        font-size: 1.2rem;
    }

    .fp-barf-print div.fp-barf-print-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .fp-barf-print .fp-barf-print-actions a {
        display: inline-block;
        padding: 0.6rem 0.85rem;
        border-radius: 8px;
        background: #24466d;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

    .fp-barf-print .fp-barf-print-actions a:hover {
        background: #345a87;
    }

    .fp-barf-print .fp-barf-print-actions a:focus-visible {
        outline: 2px solid #175cd3;
        outline-offset: 2px;
    }

    .fp-barf-print .fp-barf-recipe-composition table {
        width: 100%;
        border: 1px solid #d6e0eb;
        border-spacing: 0;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .fp-barf-print .fp-barf-recipe-composition th,
    .fp-barf-print .fp-barf-recipe-composition td {
        padding: 0.65rem clamp(0.5rem, 2vw, 0.9rem);
        border-bottom: 1px solid #e1e8ef;
        color: #17314e;
        text-align: left;
        vertical-align: top;
    }

    .fp-barf-print .fp-barf-recipe-composition th[scope="col"],
    .fp-barf-print .fp-barf-recipe-composition th[scope="rowgroup"] {
        background: #e8eef5;
    }

    .fp-barf-print .fp-barf-recipe-composition th[scope="row"] {
        font-weight: 400;
        overflow-wrap: anywhere;
    }

    .fp-barf-print .fp-barf-recipe-composition td:last-child,
    .fp-barf-print .fp-barf-recipe-composition th[scope="col"]:last-child {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .fp-barf-print .fp-barf-recipe-composition tbody:last-of-type tr:last-child > * {
        border-bottom: 0;
    }
}

/* BARF-Rechner: Eingaben und Ergebnisse */
@media screen {
    .fp-barf-basic-calculation {
        --barf-ink: #183153;
        --barf-text: #253247;
        --barf-line: #e1e7ef;
        --barf-panel: #ffffff;
        --barf-tint: #e8eef5;
        --barf-muted: #66758a;
        --barf-accent: #b91c1c;
        color: var(--barf-text);
    }

    .fp-barf-basic-calculation > h2 {
        margin: 0 0 1.5rem;
        padding-bottom: .65rem;
        border-bottom: 3px solid var(--barf-accent);
        color: var(--barf-ink);
        font-size: clamp(1.65rem, 3vw, 2.25rem);
    }

    .fp-barf-basic-calculation form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.25rem;
        align-items: start;
        margin-bottom: 2rem;
    }

    .fp-barf-basic-calculation form > * {
        grid-column: 1 / -1;
        min-inline-size: 0;
        margin: 0;
    }

    .fp-barf-basic-calculation form > :is(div, p):has(> label):has(> :is(input, select)),
    .fp-barf-basic-calculation form > fieldset:not(:has(table)) {
        grid-column: auto;
    }

    .fp-barf-basic-calculation form > fieldset.fp-barf-basics {
        grid-column: 1 / -1;
    }

    .fp-barf-basic-calculation .fp-barf-basics-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .95rem 1.25rem;
        align-items: start;
    }

    .fp-barf-basic-calculation .fp-barf-basics-grid > * {
        min-width: 0;
        margin: 0;
    }

    .fp-barf-basic-calculation .fp-barf-basics-grid :is(input, select) {
        font-weight: 400;
    }

    .fp-barf-basic-calculation fieldset {
        min-inline-size: 0;
        padding: .85rem 1rem 1rem;
        border: 1px solid var(--barf-line);
        border-radius: 16px;
        background: var(--barf-panel);
        box-shadow: 0 4px 18px rgba(20, 40, 70, 0.05);
    }

    .fp-barf-basic-calculation legend {
        padding: 0 .4rem;
        color: var(--barf-ink);
        font-weight: 700;
    }

    .fp-barf-basic-calculation label {
        display: block;
        margin-bottom: .3rem;
        font-weight: 600;
    }

    .fp-barf-basic-calculation form :is(select, input:not([type]), input[type="text"], input[type="number"]) {
        box-sizing: border-box;
        width: 100%;
        min-height: 2.75rem;
        padding: .45rem .7rem;
        border: 1px solid var(--barf-muted);
        border-radius: .45rem;
        background: #fff;
        color: var(--barf-ink);
        font: inherit;
    }

    .fp-barf-basic-calculation :is(input, select, button, a):focus-visible {
        outline: 3px solid #175cd3;
        outline-offset: 2px;
    }

    .fp-barf-basic-calculation fieldset:has(table) {
        overflow-x: auto;
    }

    .fp-barf-basic-calculation form table {
        width: 100%;
        border-collapse: collapse;
    }

    .fp-barf-basic-calculation form :is(th, td) {
        padding: .45rem .55rem;
        border-bottom: 1px solid var(--barf-line);
        text-align: left;
        vertical-align: middle;
    }

    .fp-barf-basic-calculation form th {
        background: var(--barf-tint);
    }

    .fp-barf-basic-calculation form td :is(input[type="text"], input[type="number"]) {
        min-width: 5.5rem;
    }

    .fp-barf-basic-calculation form > button {
        justify-self: start;
        min-height: 48px;
        padding: 14px 24px;
        border: 1px solid #8bc99b;
        border-radius: 10px;
        background-color: #a8ddb5;
        color: #173f27;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .fp-barf-basic-calculation form > button:hover {
        background-color: #91d2a2;
    }

    .fp-barf-basic-calculation form > button:focus-visible {
        outline: 3px solid #39865a;
        outline-offset: 3px;
    }

    .fp-barf-basic-calculation h3 {
        margin: 1.5rem 0 .5rem;
        color: var(--barf-ink);
    }

    .fp-barf-basic-calculation dl {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(7ch, 35%);
        margin: 0 0 1.25rem;
        border: 1px solid var(--barf-line);
        border-radius: .7rem;
        background: var(--barf-tint);
    }

    .fp-barf-basic-calculation dl > :is(dt, dd) {
        min-width: 0;
        margin: 0;
        padding: .55rem .8rem;
        border-bottom: 1px solid var(--barf-line);
        overflow-wrap: anywhere;
    }

    .fp-barf-basic-calculation dl > dd {
        text-align: right;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

    .fp-barf-basic-calculation dl > :nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media screen and (max-width: 48rem) {
    .fp-barf-basic-calculation form,
    .fp-barf-basic-calculation .fp-barf-basics-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-barf-basic-calculation form > button {
        justify-self: stretch;
    }
}

/* BARF-Fleischauswahl auf schmalen Bildschirmen */
.fp-barf-basic-calculation .fp-barf-meat-amount-label {
    display: none;
}

@media screen and (max-width: 48rem) {
    .fp-barf-basic-calculation fieldset.fp-barf-meat-fields {
        overflow: visible;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields :is(table, tbody) {
        display: block;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .55rem;
        padding: .75rem;
        border: 1px solid var(--barf-line);
        border-radius: .65rem;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields tbody tr + tr {
        margin-top: .65rem;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields tbody :is(th, td) {
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .fp-barf-basic-calculation .fp-barf-meat-fields td:last-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 8rem);
        gap: .65rem;
        align-items: center;
    }

    .fp-barf-basic-calculation .fp-barf-meat-amount-label {
        display: inline;
        font-weight: 600;
    }
}

/* BARF-Katzenprofile: Tabelle */
:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-table-scroll {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-table {
    width: 100%;
    min-width: 37rem;
    border-collapse: collapse;
    text-align: left;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-table :is(th, td) {
    padding: .65rem .8rem;
    border-bottom: 1px solid #e1e7ef;
    vertical-align: middle;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-table thead {
    background: #e8eef5;
    color: #183153;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-table tbody tr:last-child > * {
    border-bottom: 0;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-weight {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-action {
    text-align: center;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-edit,
.fp-barf-saved-recipes .fp-barf-recipe-action {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    background: #e8eef5;
    color: #24466d;
    font-size: 1.4rem;
    text-decoration: none;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) .fp-barf-cat-edit:hover,
.fp-barf-saved-recipes .fp-barf-recipe-action:hover {
    background: #24466d;
    color: #fff;
}

:is(.fp-barf-cat-management, .fp-barf-ingredient-catalog) :is(.fp-barf-cat-edit, .fp-barf-cat-table-scroll):focus-visible {
    outline: 3px solid #175cd3;
    outline-offset: 2px;
}

/* BARF-Katzengruppen: Formular */
.fp-barf-cat-groups form > p > label {
    display: block;
    margin-bottom: .35rem;
}

.fp-barf-cat-groups form > p > br {
    display: none;
}

.fp-barf-cat-groups form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.fp-barf-cat-groups form > fieldset {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: .55rem 1rem .75rem;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
}

.fp-barf-cat-groups form legend {
    padding-inline: .35rem;
    color: #183153;
    font-weight: 700;
}

.fp-barf-cat-groups form fieldset p {
    margin: 0;
}

.fp-barf-cat-groups form fieldset label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.75rem;
    margin: 0;
    cursor: pointer;
}

.fp-barf-cat-groups form fieldset input[type="checkbox"] {
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: #175cd3;
}

.fp-barf-cat-groups form > p:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
    margin: 0;
}

/* BARF-Eigene Zutaten: Formular */
.fp-barf-own-ingredient-form label {
    display: block;
    margin-bottom: .35rem;
}

.fp-barf-own-ingredient-form :is(input:not([type="hidden"]), select) {
    box-sizing: border-box;
    width: 100%;
}

.fp-barf-own-ingredient-form .fp-barf-ingredient-nutrients {
    grid-column: 1 / -1;
    padding: .85rem 1rem;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
}

.fp-barf-ingredient-nutrients summary {
    color: #183153;
    font-weight: 700;
    cursor: pointer;
}

.fp-barf-ingredient-nutrient-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: .75rem 1rem;
}

.fp-barf-ingredient-nutrient-fields p {
    margin: 0;
}

.fp-barf-own-ingredient-form .fp-barf-ingredient-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
}

/* BARF-Zutatenkatalog: Tabelle */
.fp-barf-ingredient-catalog .fp-barf-catalog-table {
    min-width: 0;
}

.fp-barf-ingredient-catalog .fp-barf-catalog-table thead th:first-child {
    width: 32%;
}

.fp-barf-ingredient-catalog .fp-barf-catalog-table :is(th, td) {
    overflow-wrap: anywhere;
}

.fp-barf-ingredient-catalog .fp-barf-catalog-table tbody tr:nth-child(even) {
    background: #f5f7fa;
}

/* BARF-Tagesauswertung: Excel-Tabellen */
.fp-barf-evaluation-page {
    color: #253247;
}

.fp-barf-evaluation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}

.fp-barf-evaluation-actions a {
    display: inline-block;
    padding: .65rem .85rem;
    border-radius: 8px;
    background: #24466d;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.fp-barf-evaluation-actions a:hover {
    background: #345a87;
}

.fp-barf-evaluation-page :is(a, .fp-barf-evaluation-scroll):focus-visible {
    outline: 3px solid #175cd3;
    outline-offset: 2px;
}

.fp-barf-evaluation-page h2,
.fp-barf-evaluation-page h3 {
    color: #183153;
}

.fp-barf-evaluation-page .fp-barf-daily-evaluation h2 {
    padding-bottom: .65rem;
    border-bottom: 3px solid #b91c1c;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.fp-barf-evaluation-page .fp-barf-daily-evaluation h3 {
    font-size: 1.1rem;
    line-height: 1.45;
}

.fp-barf-evaluation-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin: .8rem 0 1.25rem;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
}

.fp-barf-evaluation-page table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.fp-barf-evaluation-page table :is(th, td) {
    padding: .65rem .75rem;
    border-bottom: 1px solid #e1e7ef;
    vertical-align: middle;
}

.fp-barf-evaluation-page table thead th,
.fp-barf-evaluation-page table th[scope="rowgroup"] {
    background: #e8eef5;
    color: #183153;
}

.fp-barf-evaluation-table th:not(:first-child) {
    min-width: 5rem;
}

.fp-barf-evaluation-table tr > :first-child {
    position: sticky;
    left: 0;
    min-width: 8.5rem;
    background: #e8eef5;
    text-align: left;
}

.fp-barf-evaluation-table td {
    text-align: right;
    white-space: nowrap;
}

.fp-barf-evaluation-table tbody tr:last-child td {
    background: #f5f7fa;
    font-weight: 700;
}

.fp-barf-evaluation-page .fp-barf-evaluation-note {
    margin: -.65rem 0 1.25rem;
    color: #465a73;
    font-size: .9rem;
}

.fp-barf-evaluation-page .fp-barf-recipe-composition th {
    text-align: left;
}

.fp-barf-evaluation-page .fp-barf-recipe-composition tr > :last-child:not([colspan]) {
    text-align: right;
}

.fp-barf-evaluation-overview th {
    text-align: left;
}

.fp-barf-evaluation-overview td {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
}

.fp-barf-evaluation-summaries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: 0 1.25rem;
    align-items: start;
}

.fp-barf-evaluation-summaries h2 {
    font-size: 1.2rem;
}

/* BARF-Tagesauswertung: Vergleich mit dem Excel-Tagesbedarf */
.fp-barf-evaluation-color-key {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .85rem;
    font-size: .9rem;
}

.fp-barf-evaluation-page .fp-barf-value-low {
    color: #b91c1c;
    font-weight: 700;
}

.fp-barf-evaluation-page .fp-barf-value-match {
    color: #205b35;
    font-weight: 700;
}

.fp-barf-evaluation-page .fp-barf-value-high {
    color: #175cd3;
    font-weight: 700;
}


.fp-barf-saved-recipes .fp-barf-recipe-actions-heading {
    text-align: center;
}

.fp-barf-saved-recipes .fp-barf-recipe-actions {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

/* ID.7 Tourer pro Ladeerfassung */

body {
    margin: 0;
    padding: 30px 16px;
    background: #20242b;
    color: #26303b;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

main {
    max-width: 780px;
    margin: 30px auto;
    padding: 36px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}

h1 {
    margin: 0 0 12px;
    padding-bottom: 18px;
    border-bottom: 3px solid #bd2434;
    color: #20242b;
    font-size: 28px;
}

main > p {
    color: #626b77;
}

form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin-top: 28px;
}

form p {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #303844;
    font-size: 14px;
    font-weight: 600;
}

input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd2db;
    border-radius: 8px;
    background: #f8fafc;
    color: #20242b;
    font: inherit;
    box-sizing: border-box;
}

input:focus {
    border-color: #bd2434;
    outline: 3px solid rgba(189, 36, 52, 0.12);
}

form p:has(#provider) {
    grid-column: 1 / -1;
}

button {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #bd2434;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

button:disabled {
    background: #aab0b8;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    main {
        margin: 12px auto;
        padding: 22px 18px;
    }

    h1 {
        font-size: 23px;
    }

    form {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Erfolgsmeldung nach dem Speichern */

.charging-success {
    margin: 20px 0;
    padding: 16px 20px;
    background: #e8f7ec;
    color: #205b35;
    border: 1px solid #a8ddb5;
    border-radius: 10px;
    font-weight: 600;
}

/* ID.7 – Speicherbutton in Hellgrün */

button[type="submit"] {
    background-color: #a8ddb5;
    color: #173f27;
    border: 1px solid #8bc99b;
    border-radius: 10px;
    padding: 14px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #91d2a2;
}

button[type="submit"]:focus-visible {
    outline: 3px solid #39865a;
    outline-offset: 3px;
}


/* ID.7 Tourer – Monats- und Jahresauswertung */

.charging-statistics {
    margin-top: 32px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8e4;
    border-radius: 12px;
}

.charging-statistics h2 {
    margin: 0 0 20px;
    color: #24543a;
    font-size: 1.35rem;
}

.charging-statistics p {
    color: #647067;
}

.charging-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.charging-statistics table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.charging-statistics th {
    padding: 12px;
    background: #a8ddb5;
    color: #183c28;
    text-align: left;
    white-space: nowrap;
}

.charging-statistics td {
    padding: 12px;
    border-bottom: 1px solid #e2e8e4;
    white-space: nowrap;
}

.charging-statistics tbody tr:nth-child(even) {
    background: #f5faf6;
}

.charging-statistics tbody tr:hover {
    background: #edf7ef;
}

.charging-statistics th:not(:first-child),
.charging-statistics td:not(:first-child) {
    text-align: right;
}


/* Ladevorgangsübersicht: Farbwechsel pro Kalendermonat */

.charging-statistics .charging-list tbody tr.month-color-0,
.charging-statistics .charging-list tbody tr.month-color-0:nth-child(even) {
    background-color: #EAF6EC;
}

.charging-statistics .charging-list tbody tr.month-color-1,
.charging-statistics .charging-list tbody tr.month-color-1:nth-child(odd) {
    background-color: #CDE8D2;
}

/* Hervorhebung beim Berühren mit der Maus */

.charging-statistics .charging-list tbody tr:hover {
    background-color: #B5DDBD;
}


/* Ladevorgangsübersicht: kompakte Tabellendarstellung */

.charging-list {
    width: 100%;
    table-layout: auto;
    font-size: 0.85rem;
}

.charging-list th,
.charging-list td {
    padding: 8px 6px;
    white-space: normal;
}

.charging-list th {
    overflow-wrap: anywhere;
}

.charging-list td:nth-child(4) {
    overflow-wrap: anywhere;
}

/* Zahlen bleiben zusammen und sind rechtsbündig */

.charging-list td:nth-child(2),
.charging-list td:nth-child(3),
.charging-list td:nth-child(5),
.charging-list td:nth-child(6) {
    white-space: nowrap;
    text-align: right;
}

/* ID.7 Tourer – Verbrauchs- und Kostenkennzahlen */

.charging-key-figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.charging-key-figure {
    padding: 24px 20px;
    background: linear-gradient(135deg, #eaf6ec, #cde8d2);
    border: 1px solid #a8ddb5;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(32, 80, 48, 0.08);
}

.charging-key-figure h3 {
    margin: 0 0 16px;
    color: #24543a;
    font-size: 1rem;
    font-weight: 700;
}

.charging-key-figure .charging-key-figure-value {
    margin: 0;
    color: #173f27;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.charging-key-figure p:not(.charging-key-figure-value) {
    margin: 12px 0 0;
    color: #526b59;
    font-size: 0.85rem;
}

/* Responsive Darstellung auf Smartphones */

@media (max-width: 600px) {
    .charging-key-figures {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .charging-key-figure {
        padding: 22px 16px;
    }
}
	
/* Monats- und Jahresstatistik */

.charging-period {
    margin-top: 24px;
    margin-bottom: 32px;
}

.charging-period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.charging-period-header h3 {
    margin: 0;
}

.charging-period-count {
    background: #e8f3eb;
    color: #245c37;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.charging-period-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.charging-period-card {
    background: #f3f7f4;
    border: 1px solid #dce8df;
    border-radius: 12px;
    padding: 18px;
    min-width: 0;
}

.charging-period-card h4 {
    margin: 0 0 10px;
    color: #52665a;
    font-size: 14px;
    font-weight: 500;
}

.charging-period-value {
    margin: 0;
    color: #1e4d31;
    font-size: 24px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 520px) {
    .charging-period-grid {
        grid-template-columns: 1fr;
    }

    .charging-period-value {
        font-size: 21px;
    }
}

/* Statistikseite: breites Desktop-Layout */

main.charging-statistics-page {
    width: 100%;
    max-width: 1600px;
}

/* Sechs Kennzahlen nebeneinander */

.charging-statistics-page .charging-period-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Mittlere Desktop-Bildschirme */

@media (max-width: 1300px) {
    .charging-statistics-page .charging-period-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablets */

@media (max-width: 850px) {
    .charging-statistics-page .charging-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphones */

@media (max-width: 600px) {
    .charging-statistics-page .charging-period-grid {
        grid-template-columns: 1fr;
    }
}





/* Modern Green â€“ ID.7 Statistikdiagramme */

.charging-chart-section {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
}

.charging-chart {
    width: 100%;
    min-height: 320px;
    overflow-x: auto;
    padding: 16px 8px;
    box-sizing: border-box;
    color: #52685a;
}

.charging-chart svg {
    display: block;
    width: 100%;
    min-width: 560px;
    height: auto;
}

.charging-chart rect {
    transition: fill 0.2s ease;
}

.charging-chart rect:hover {
    fill: #176b3b;
}


/* ID.7 Technical Green â€“ kompakte Diagramme */

.charging-statistics-page {
    display: flow-root;
}

.charging-statistics-page .charging-chart-section {
    width: calc(50% - 10px);
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 18px;
    box-sizing: border-box;
    background: #f8fbf9;
    border: 1px solid #dce8df;
}

.charging-statistics-page .charging-chart-section:nth-of-type(3) {
    margin-right: 20px;
}

.charging-statistics-page .charging-chart-section h2 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.charging-statistics-page .charging-chart {
    min-height: 0;
    padding: 0;
}

.charging-statistics-page .charging-chart svg {
    min-width: 0;
    max-height: 220px;
}

.charging-statistics-page .charging-chart-section + .charging-statistics:not(.charging-chart-section) {
    clear: both;
}

@media (max-width: 850px) {
    .charging-statistics-page .charging-chart-section {
        width: 100%;
        float: none;
        margin-right: 0;
    }
}


/* ID.7 Technical Green â€“ dauerhaftes Diagrammraster */

.charging-statistics-page .charging-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.charging-statistics-page .charging-charts-grid .charging-chart-section {
    float: none;
    clear: none;
    width: 100%;
    margin: 0;
    min-width: 0;
}

.charging-statistics-page .charging-charts-grid .charging-chart-section:nth-of-type(3) {
    margin-right: 0;
}

@media (max-width: 850px) {
    .charging-statistics-page .charging-charts-grid {
        grid-template-columns: 1fr;
    }
}


/* ID.7 Technical Green â€“ Gesamtkennzahlen */

.charging-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 8px;
}

.charging-summary-card {
    min-width: 0;
    padding: 20px;
    background: #f3f8f4;
    border: 1px solid #d8e8dd;
    border-left: 4px solid #299457;
    border-radius: 12px;
}

.charging-summary-label {
    display: block;
    margin-bottom: 12px;
    color: #587363;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.charging-summary-value {
    color: #174d31;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.charging-summary-value small {
    color: #658072;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .charging-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .charging-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   ID.7 Technical Green
   Kompakte Monats- und JahresÃ¼bersichten
   Schritt 557.12.98
   ===================================================== */

.charging-statistics-page .charging-period {
    margin-top: 16px;
    margin-bottom: 20px;
}

.charging-statistics-page .charging-period-header {
    margin-bottom: 12px;
    gap: 10px;
}

.charging-statistics-page .charging-period-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #204d35;
}

.charging-statistics-page .charging-period-count {
    background: #e7f3eb;
    color: #23613d;
    border: 1px solid #d0e6d7;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
}

.charging-statistics-page .charging-period-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.charging-statistics-page .charging-period-card {
    background: #f5f9f6;
    border: 1px solid #dce9df;
    border-left: 3px solid #39975b;
    border-radius: 9px;
    padding: 12px 14px;
    min-width: 0;
}

.charging-statistics-page .charging-period-card h4 {
    margin: 0 0 6px;
    color: #607568;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.charging-statistics-page .charging-period-value {
    margin: 0;
    color: #205b38;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .charging-statistics-page .charging-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .charging-statistics-page .charging-period-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .charging-statistics-page .charging-period-value {
        font-size: 19px;
    }
}


/* ID.7 Technical Green â€“ kompakte Statistik-Tabellen */

.charging-statistics-page .charging-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #dce9df;
    border-radius: 10px;
}

.charging-statistics-page .charging-summary-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.charging-statistics-page .charging-summary-table th,
.charging-statistics-page .charging-summary-table td {
    padding: 11px 12px;
    text-align: right;
    white-space: nowrap;
    border-bottom: 1px solid #e4ede6;
}

.charging-statistics-page .charging-summary-table thead th {
    background: #e7f3eb;
    color: #245c37;
    font-size: 12px;
    font-weight: 700;
}

.charging-statistics-page .charging-summary-table th:first-child,
.charging-statistics-page .charging-summary-table td:first-child {
    text-align: left;
}

.charging-statistics-page .charging-summary-table tbody th {
    color: #205b38;
    font-weight: 700;
}

.charging-statistics-page .charging-summary-table tbody tr:nth-child(even) {
    background: #f5f9f6;
}

.charging-statistics-page .charging-summary-table tbody tr:hover {
    background: #edf6ef;
}

.charging-statistics-page .charging-summary-table tbody tr:last-child th,
.charging-statistics-page .charging-summary-table tbody tr:last-child td {
    border-bottom: none;
}


/* ID.7 Technical Green â€“ Gesamtzeilen */

.charging-statistics-page .charging-summary-table tfoot th,
.charging-statistics-page .charging-summary-table tfoot td {
    background: #dceee2;
    color: #194d30;
    font-weight: 700;
    border-top: 2px solid #39975b;
    border-bottom: none;
    padding-top: 13px;
    padding-bottom: 13px;
}

.charging-statistics-page .charging-summary-table tfoot th {
    text-align: left;
}


/* ID.7 Tourer - Validierungsfehler in Formularen */

.charging-field-error {
    display: block;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
    border-left: 4px solid #be123c;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

input[aria-invalid="true"] {
    border: 2px solid #be123c;
    background: #fffafb;
}

input[aria-invalid="true"]:focus {
    border-color: #be123c;
    outline: 3px solid rgba(190, 18, 60, 0.15);
}


/* ID.7 Tourer - Gemeinsame Navigation */

.charging-navigation {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: min(1100px, calc(100% - 24px));
    margin: 20px auto 0;
    padding: 12px;
    background: #e8eef5;
    border-radius: 12px;
}

.charging-navigation a {
    background: #24466d;
    display: inline-block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.charging-navigation a:hover,
.charging-navigation a:focus-visible {
    background: #345a87;
    color: #ffffff;
}

.charging-navigation a.charging-nav-active {
    background: #175cd3;
    color: #ffffff;
}

.charging-navigation a.charging-nav-logout {
    margin-left: auto;
    background: #9f1239;
}

.charging-navigation a.charging-nav-logout:hover,
.charging-navigation a.charging-nav-logout:focus-visible {
    background: #9f1239;
}

@media (max-width: 640px) {
    .charging-navigation {
        width: calc(100% - 24px);
        margin-top: 12px;
        padding: 8px;
        gap: 4px;
    }

    .charging-navigation a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .charging-navigation a.charging-nav-logout {
        margin-left: 0;
    }
}

/* ID.7 Tourer – Fahrzeugprofil */

.fp-vehicle-profile,
.fp-equipment {
    box-sizing: border-box;
    width: min(1100px, calc(100% - 24px));
    margin: 24px auto;
    color: #24364b;
}

.fp-vehicle-profile {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(30, 58, 95, 0.06);
}

.fp-vehicle-profile h2,
.fp-equipment h2 {
    margin: 0 0 12px;
    color: #24466d;
    font-size: 26px;
}

.fp-vehicle-profile > p {
    line-height: 1.7;
}

.fp-vehicle-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.fp-vehicle-specs > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 12px;
    text-align: center;
    background: #e8eef5;
    border-radius: 12px;
}

.fp-vehicle-specs strong {
    color: #175cd3;
    font-size: 25px;
}

.fp-vehicle-specs span {
    color: #42566d;
    font-size: 13px;
}

/* ID.7 Tourer – Ausstattungsliste */

.fp-equipment > p {
    margin-bottom: 24px;
    color: #526579;
}

.fp-equipment details {
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 12px;
}

.fp-equipment summary {
    padding: 18px 22px;
    background: #e8eef5;
    color: #24466d;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.fp-equipment summary:hover {
    background: #dce7f4;
}

.fp-equipment details[open] summary {
    background: #24466d;
    color: #ffffff;
}

.fp-equipment table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.fp-equipment td {
    padding: 13px 18px;
    border-bottom: 1px solid #e7edf4;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.fp-equipment tr:last-child td {
    border-bottom: none;
}

.fp-equipment tr:nth-child(even) {
    background: #f7f9fc;
}

.fp-equipment td:first-child {
    width: 82%;
}

.fp-equipment td:last-child {
    width: 18%;
    color: #175cd3;
    font-weight: 700;
    text-align: center;
}

/* Responsive Darstellung */

@media (max-width: 700px) {
    .fp-vehicle-profile {
        padding: 20px;
    }

    .fp-vehicle-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-vehicle-profile h2,
    .fp-equipment h2 {
        font-size: 22px;
    }

    .fp-equipment summary {
        padding: 15px;
    }

    .fp-equipment td {
        padding: 11px;
        font-size: 13px;
    }

    .fp-equipment td:first-child {
        width: 72%;
    }

    .fp-equipment td:last-child {
        width: 28%;
    }
}


/* ID.7 Tourer – Fahrzeugbild */

.fp-vehicle-image {
    width: 100%;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 14px;
    background: #e8eef5;
}

.fp-vehicle-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .fp-vehicle-image {
        margin: 18px 0;
        border-radius: 10px;
    }

    .fp-vehicle-image img {
        max-height: 300px;
    }
}

/* ID.7 - Checkbox Preisautomatik */
label[for="automaticPriceCalculation"] {
    display: flex;
    align-items: center;
    gap: 8px;
}

input#automaticPriceCalculation {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
    margin: 0;
}

