/* Schriften (2026-11-02): IBM Plex Sans für alles, auch Zahlen in Tabellen (.lx-zahl, tabular-nums).
   Lizenz: SIL OFL 1.1 (font/OFL-IBMPlex.txt). Quelle: npm @ibm/plex-sans 1.1.0 */
@font-face {
    font-family: "IBM Plex Sans";
    font-weight: 400;
    src: url("../font/IBMPlexSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-weight: 600;
    src: url("../font/IBMPlexSans-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-weight: 700;
    src: url("../font/IBMPlexSans-Bold.woff2") format("woff2");
}

:root {
    --color-lox: #ff8700;
    --color-lox-light: #ffb866;
    --body-bg: #515151;
    --menu-bg: #313131;
    --content: #f4f4f4;
    --content-dark: #d9d9d9;
    --font-dark: #212121;
    --font-light: #ebebeb;
    --card-dark: #ebebeb;   /* bis 2026-11-02: #d9d9d9 */
    --card-light: #ffffff;  /* bis 2026-11-02: #f2f2f2 */
    --blue-light: #80a4ff;
    --blue-light2: #bbceff;
    --button-col: #0d6efd;
    --button-col-hover: #0248b1;

    /*--menu-bg: #001959; !* IKB Yves Klein https://www.colorhexa.com/002fa7 *!*/
    /*--content: #e2eaff;*/
    /*--font-dark: #000e31;*/
    /*--font-light: #f5f8ff;*/
    /*--blue-light: #80a4ff;*/
    /*--color-lox: #ff8700;*/
    /*--body-bg: #515151;*/

}

.nav-link:hover {
    color: var(--font-light);
}

body {
    background-color: var(--body-bg) !important;
    color: var(--font-dark);
    font-family: "IBM Plex Sans", sans-serif;
}

.text-bg-button {
    color: var(--font-light);
    background-color: var(--button-col);
}

.text-bg-button:hover,
.text-bg-button:focus {
    color: var(--font-light);
    background-color: var(--button-col-hover);
}

.text-bg-button:active,
.text-bg-button.active {
    color: var(--font-dark);
    background-color: var(--button-col-hover);
}

.btn-amazon {
    background-color: var(--content);
    display: flex;
    align-items: center;
    height: 35px;
    max-height: 100%;
    padding: 6px 10px;
}

.btn-amazon:hover,
.btn-amazon:focus {
    background-color: var(--button-col);
}

.btn-amazon:active,
.btn-amazon.active {
    background-color: var(--content-dark);
}

.bg-line {
    background-color: var(--color-lox);
}

.bg-header-counter {
    background-color: var(--color-lox) !important;
}

.bg-menu {
    background-color: var(--menu-bg);
}

.bg-content-container {
    background-color: var(--content);
}

.border-red {
    /*border: solid 1px red;*/
}

.border-green {
    /*border: solid 1px #13653f;*/
}

.fnt-t3 {
    color: var(--font-dark);
}

.fnt-menu-item {
    color: var(--font-light);
}

.fnt-SourceSansPro {
    font-family: "IBM Plex Sans", sans-serif;
}

.fnt-footer {
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--font-light);
}

.card-lox:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.card-img-bg {
    background-color: var(--card-dark) !important;
}

/* Karten einer Reihe gleich hoch, Datum/Preise/Amazon unten bündig (2026-11-02) */
.card-lox {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-lox .card-body-lox {
    flex: 1 1 auto;
}

/* Lupe auf dem Cover: oranger runder Button unten links (2026-11-02, ersetzt color_magnifier) */
.card-img-bg > .position-absolute {
    width: auto !important;
    padding: 0 !important;
    left: 8px !important;
    bottom: 8px !important;
}

.card-img-bg .mousepointer {
    padding: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 135, 0, .75);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
    transition: background-color .15s;
}

.card-img-bg .mousepointer:hover {
    background-color: var(--color-lox);
}

/* Info-Button (Buchbeschreibung) auf den Karten: zurückhaltend mit Rahmen statt blau (2026-11-02) */
.card-body-lox .text-bg-button {
    color: #6c757d;
    background-color: #fff;
    border-color: #adb5bd !important;
    box-shadow: none !important;
}

.card-body-lox .text-bg-button:hover,
.card-body-lox .text-bg-button:focus {
    color: var(--color-lox);
    background-color: #fff;
    border-color: var(--color-lox) !important;
}

.card-img-bg .bi-zoom-in {
    font-size: 20px !important;
    line-height: 1;
    color: #fff !important;
}

@media (max-width: 575.98px) {
    .card-img-bg .mousepointer {
        width: 34px;
        height: 34px;
    }

    .card-img-bg .bi-zoom-in {
        font-size: 17px !important;
    }
}

.card-body-lox {
    background-color: var(--card-light) !important;
}

.card-header-lox {
    padding-top: 10px !important;
    font-size: 1.0rem !important;
    background-color: var(--card-dark) !important;
}

.card-description-lox {
    font-size: 0.8rem !important;
}

.card-footer-lox {
    background-color: var(--card-dark) !important;
}

.popover {
    max-width: 90% !important;
    /*margin: 5px;*/
}

@media (min-width: 768px) {
    .popover {
        max-width: 40% !important;
    }
}

.custom-popover {
    --bs-popover-bg: rgba(255, 193, 7, 1);
    --bs-popover-color: Black;
}

.custom-popover-info {
    --bs-popover-color: Black;
    --bs-popover-border-color: Black;
    --bs-popover-header-bg: #ffcc66;
    --bs-popover-bg: #ffeecc;
}

.custom-popover-page {
    --bs-popover-max-width: 500px;
    --bs-popover-color: Black;
    --bs-popover-border-color: Black;
    --bs-popover-header-bg: #6699ff;
    --bs-popover-bg: #ccddff;
}

.container-width {
    width: 100%;
}

@media (min-width: 768px) {
    .container-width {
        width: 48%;
    }
}

.content {
    display: block;
    background-color: var(--content);
}

.content-columns {
    column-count: 1;
    column-gap: 50px;
    column-rule-width: 1px;
    column-rule-style: dotted;
}

@media (min-width: 768px) {
    .content-columns {
        column-count: 2;
    }
}

/*---------------------------------------------------------------------------------------------------*/
/* Message */
/*---------------------------------------------------------------------------------------------------*/
#popMessage {
    position: absolute;
    box-sizing: border-box;
    height: 500px;
    overflow-y: auto;
    display: none;
    border-radius: 10px;
    border: solid 1px var(--font-dark);
    background-color: var(--blue-light2);
    z-index: 300;
}

@media only screen and (min-width: 1200px) {
    #popMessage {
        width: 550px;
        height: 470px;
    }
}

.msg-container {
    width: 100%;
    padding: 15px 30px;
    text-align: left;
    background-color: var(--blue-light2);
    color: var(--font-dark);
    font-size: 1rem;
    line-height: 150%;
}

#msg-btn-close {
    font-size: 1.5rem;
}

/* Buchbeschreibung im Dialog #lxBuch (templates/blog/index.html.twig, 2026-11-02 statt Popover) */
.lx-buch .modal-content {
    border: 0;
    border-top: 4px solid var(--color-lox);
    border-radius: 10px;
}

.lx-buch .modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.lx-buch .modal-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

.lx-buch .modal-body {
    padding: 20px;
}

.lx-buch-grid {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: start;
}

.lx-buch-cover img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.lx-buch-text {
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--font-dark);
}

.lx-buch-text h4,
.lx-buch-text h5 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 .8rem;
}

.lx-buch-text h4 strong,
.lx-buch-text h5 strong {
    font-weight: 600;
}

.lx-buch-text p {
    margin: 0 0 .8rem;
}

.lx-buch-text ul {
    margin: 0 0 .8rem;
    padding-left: 1.2rem;
}

.lx-buch-text li {
    margin-bottom: .3rem;
}

.lx-buch-text li::marker {
    color: var(--color-lox);
}

.lx-buch .modal-footer {
    justify-content: space-between;
    padding: 12px 20px;
    background-color: var(--content);
    border-top: 1px solid #e5e5e5;
}

.lx-buch-fakten {
    font-size: .9rem;
    line-height: 1.5;
    color: #444;
}

.lx-buch-fakten span:not(:first-child)::before {
    content: "·";
    margin: 0 .5em;
    color: #999;
}

@media (max-width: 575.98px) {
    .lx-buch-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lx-buch-cover img {
        width: 120px;
    }

    .lx-buch-fakten span {
        display: block;
    }

    .lx-buch-fakten span:not(:first-child)::before {
        content: none;
    }
}

/* Hilfe zur Suche (public/msg/msg_book_search.html, 2026-11-02): weiß, Bedienelemente links nachgebildet */
#popMessage:has(.lx-hilfe) {
    height: auto;
    max-height: calc(100vh - 20px);
    background-color: #fff;
    border: 1px solid #adb5bd;
    border-top: 4px solid var(--color-lox);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}

.msg-container.lx-hilfe {
    background-color: #fff;
    padding: 16px 20px;
}

.lx-hilfe h2 {
    font-size: 1.4rem;
    margin: 0 0 14px;
}

.lx-hilfe dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 12px 14px;
    margin: 0;
    align-items: start;
}

.lx-hilfe dt {
    font-weight: normal;
    text-align: center;
}

.lx-hilfe dd {
    margin: 0;
    font-size: .95rem;
    line-height: 1.45;
}

.lx-hilfe-feld {
    display: inline-block;
    min-width: 9.5em;
    padding: 2px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    font-size: .85rem;
    text-align: left;
    white-space: nowrap;
}

.lx-hilfe-feld--leer {
    color: #6c757d;
}

.lx-hilfe dt .bi {
    font-size: 1.15rem;
}

.lx-hilfe-haken {
    color: var(--bs-primary);
}

.lx-hilfe-zahl {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #e9ecef;
    font-size: .85rem;
}

.lx-hilfe-kuerzel {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .lx-hilfe dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .lx-hilfe dt {
        text-align: left;
        margin-top: 8px;
    }
}

.msg-check {
    font-size: 20px;
}

/*---------------------------------------------------------------------------------------------------*/
#pic-header-container {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    width: 100%;
}

#pic-header {
    margin: 0px;
    width: 100%;
    height: auto;
}

/* PC/Tablet: Kopfbild als Streifen von 170 px (2026-11-02), Handy bleibt proportional */
@media (min-width: 768px) {
    #pic-header {
        display: block;
        height: 170px;
        object-fit: cover;
        object-position: center;
    }
}

#pic-header-logo-div {
    position: absolute;
    margin: 30px;
    top: 0;
    width: 5%;
    max-width: 100%;
}

#pic-header-logo {
    position: relative;
    width: 100%;
    height: auto;
}

.content-px {
    max-width: 100%;
    width: 100%;
    padding: 0 5% 0 5%;
}

@media (min-width: 768px) {
    .content-px {
        padding: 0 15% 0 15%;
    }
}

.sticky-div {
    position: sticky;
    top: 0;
    z-index: 200;
}

.shadow {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4) !important;
}

.mousepointer {
    cursor: pointer
}

.nav-logo {
    height: 40px;
}

.nav-icon {
    height: 30px;
}

.btn-pressed {
    transition: transform 0.1s ease; /* Sanfte Animation */
}

.btn-pressed:active {
    transform: translateY(2px); /* Button wird optisch nach unten gedrückt */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Schatten wird reduziert */
}

/*.unselectable {*/
/*    -webkit-user-select: none;*/
/*    -moz-user-select: none;*/
/*    -ms-user-select: none;*/
/*    user-select: none;*/
/*}*/

/*Bild nicht auswählbar*/
.image-embed-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*honeypot*/
.newStyle {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    border: none;
    background: none;
    margin: 0;
    clear: both;
    font-size: 0px;
    line-height: 0px;
}

.table-fit-content td,
.table-fit-content th {
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    width: 1%; /* Eine kleine initiale Breite, damit der Browser die tatsächliche Breite anhand des Inhalts berechnet */
    /* Optional: max-width, wenn Sie eine Obergrenze festlegen möchten */
    max-width: 50px;
    /* overflow: hidden; */ /* Wenn Inhalte abgeschnitten werden sollen */
    text-overflow: ellipsis; /* Wenn abgeschnittene Inhalte mit ... angezeigt werden sollen */
}

.table-auto {
    width: auto !important;
}

.table-cozy td,
.table-cozy th {
    padding-left: .8rem;
    padding-right: .8rem;
}

/*********************************************************************************/
/* LunaLink */
/*********************************************************************************/
.imgHelp {
    width: 100px;
    text-align: center;
    float: left;
    margin: 0px 10px 10px 0px;
}

.img-geoloction {
    width: 27px;
    height: 27px;
}

.img_Wolken {
    width: 50px;
    height: 50px;
}

.div_Wolken {
    width: 80px;
    text-align: center;
    float: left;
    background-color: #ffcf33;
    padding: 5px;
    margin: 5px 5px 10px 0px;
}

.air-pressure-weather {
    text-align: center;
    /*background-color: #0D6EFD;*/
}

.air-pressure-weather-hlp {
    text-align: center;
    background-color: #41464D;
    border-top: solid 1px #fff3cd;
    border-bottom: solid 1px #fff3cd;
}

.air-pressure-icon {
    height: 18px;
}

a.a_help:active {
    color: #F8F8F8;
    text-decoration: none;
}

a.a_help:link {
    color: #0D6EFD;
    text-decoration: none;
}

a.a_help:visited {
    color: #0D6EFD;
    text-decoration: none;
}

a.a_help:hover {
    color: #272a2d;
    text-decoration: none;
}

/*********************************************************************************/

/*---------------------------------------------------------------------------------------------------*/
/* Fußzeile (2026-11-01, Aufbau wie LunaLink): zwei Button-Spalten und Zählerzeile, mittig in einer Reihe; Buttons mit Rahmen, nur E-Mail blau */
/*---------------------------------------------------------------------------------------------------*/
/* seitliche Ränder aus .content-px (bündig mit dem Inhalt) */
.lx-fuss {
    padding-top: 18px;
    padding-bottom: 18px;
    background-color: var(--menu-bg);
    color: var(--font-light);
}

.lx-fuss-innen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px clamp(28px, 4vw, 64px);
}

/* Button-Spalten links an der Inhaltskante, Zähler rechts */
.lx-fuss-links {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
}

.lx-fuss-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lx-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
    border-radius: 6px;
    background-color: transparent;
    color: inherit;
    font-size: .95em;
    text-decoration: none;
    white-space: nowrap;
}

.lx-button:hover,
.lx-button:focus {
    border-color: var(--color-lox);
    color: var(--color-lox);
}

/* Blauer Button (Bootstrap primary) nur für E-Mail */
.lx-button--blau {
    background-color: var(--button-col);
    border-color: var(--button-col);
    color: #ffffff;
}

.lx-button--blau:hover,
.lx-button--blau:focus {
    background-color: var(--button-col-hover);
    border-color: var(--button-col-hover);
    color: #ffffff;
}

.lx-button:focus-visible {
    outline: 2px solid var(--color-lox);
    outline-offset: 2px;
}

/* Besucher: Zahl groß, Bezeichnung darunter (templates/zaehler/_zeile.html.twig) */
.lx-zaehler-titel {
    margin-bottom: 6px;
    font-size: .78em;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-lox);
}

.lx-zaehler-werte {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 6px 26px;
    font-variant-numeric: tabular-nums;
}

.lx-zaehler-werte div {
    display: flex;
    flex-direction: column;
}

.lx-zaehler-werte b {
    font-size: 1.2em;
    line-height: 1.15;
}

.lx-zaehler-werte span {
    font-size: .8em;
    color: #9a9a9a;
}

@media (max-width: 1100px) {
    .lx-zaehler-werte {
        grid-template-columns: repeat(3, auto);
    }
}

@media (max-width: 480px) {
    /* Platz für den Button „Seitenanfang“ (page_top.css) */
    .lx-fuss {
        padding-bottom: 70px;
    }
}

/* Zweispaltige Textseiten (Impressum, Datenschutz): Abschnitt nicht über zwei Spalten teilen */
.content-columns section {
    break-inside: avoid;
}

/* Spaltenblock steht in d-flex: volle Breite und schmaler als sein Inhalt erlaubt, sonst war das Impressum
   bei 768–900 px zu breit (2 × Anschriftsbild 270 px); Bilder höchstens spaltenbreit (2026-11-02) */
.content-columns {
    width: 100%;
    min-width: 0;
}

.content-columns img {
    max-width: 100%;
    height: auto;
}

/* Bündige Zahlen in Tabellen (Manager: Verkaufstabellen) – Plex Sans mit gleich breiten Ziffern
   (2026-11-02 statt Intel One Mono: gleich bündig, Tabelle schmaler) */
.lx-zahl {
    font-variant-numeric: tabular-nums;
}
