/* ===================================================================
 * NOVOGRAV - legacy content styles
 * =================================================================== */

.legacy {
    --legacy-accent: #003D4E;
    --legacy-accent-soft: #e6eef1;
    --legacy-accent-deep: #002a37;
    --legacy-text: #333333;
    --legacy-muted: #6a6a6a;
    --legacy-border: #e0e3e6;
    --legacy-alarm: #b53349;
    --legacy-banner-bg: #eef1f3;

    color: var(--legacy-text);
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
}

.legacy h1,
.legacy h2,
.legacy h3,
.legacy h4,
.legacy h5 {
    font-family: "Saira Semi Condensed", sans-serif;
    color: var(--legacy-accent);
    font-weight: 700;
    text-align: left;
    margin: 32px 0 14px;
    padding: 0;
    background: none;
    line-height: 1.2;
}
.legacy h1 { font-size: 36px; margin-top: 0; }
.legacy h2 { font-size: 26px; }
.legacy h3 { font-size: 21px; }
.legacy h4 { font-size: 18px; font-style: normal; }
.legacy > :first-child { margin-top: 0; }

.legacy p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--legacy-text);
}

.legacy a {
    color: var(--legacy-accent);
    font-weight: 600;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.legacy a:hover {
    color: var(--legacy-accent-deep);
}

.legacy ul,
.legacy ol {
    margin: 0 0 18px;
    padding-left: 22px;
}
.legacy li {
    margin: 6px 0;
    line-height: 1.6;
    color: var(--legacy-text);
}

.legacy img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.legacy hr {
    border: 0;
    border-top: 1px solid var(--legacy-border);
    margin: 28px 0;
}

.legacy div.thema1,
.legacy p.Thema,
.legacy div.Thema,
.legacy span.Thema,
.legacy div.Sub_ThemaStrong,
.legacy p.Sub_ThemaStrong {
    display: block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--legacy-accent);
    background: none;
    padding: 0;
    margin: 32px 0 16px;
    text-align: left;
    line-height: 1.2;
}

.legacy h1 .thema1,
.legacy h1 .Thema,
.legacy h1 .Sub_ThemaStrong {
    display: inline;
    font-size: inherit;
    margin: 0;
    padding: 0;
    background: none;
}

.legacy div.thema2,
.legacy p.Sub_Thema,
.legacy div.Sub_Thema,
.legacy span.Sub_Thema {
    display: block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--legacy-accent);
    background: none;
    padding: 0;
    margin: 24px 0 12px;
    text-align: left;
    line-height: 1.3;
}
.legacy h2 .thema2,
.legacy h2 .Sub_Thema {
    display: inline;
    font-size: inherit;
    margin: 0;
    padding: 0;
    background: none;
}

.legacy div.thema3,
.legacy div.thema4,
.legacy p.thema3,
.legacy p.thema4 {
    display: block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--legacy-accent);
    background: none;
    padding: 0;
    margin: 20px 0 10px;
    text-align: left;
}

.legacy .Banner_NEWS {
    display: block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--legacy-accent);
    background: var(--legacy-banner-bg);
    padding: 14px 18px;
    margin: 28px 0 18px;
    border-left: 4px solid var(--legacy-accent);
    text-align: left;
}

.legacy .inhalt_hl1       { font-weight: 400; }
.legacy .inhalt_hl2       { font-weight: 700; color: var(--legacy-accent); }
.legacy .inhalt_hl2_ul    { font-weight: 700; color: var(--legacy-accent); text-decoration: underline; }
.legacy .inhalt_hl2_farbe { font-weight: 700; color: var(--legacy-accent); display: inline-block; padding: 6px 0; }
.legacy .inhalt_hl3       { font-size: 18px; font-weight: 700; font-style: normal; color: var(--legacy-accent); }
.legacy .inhalt_hXL       { font-size: 20px; font-weight: 700; color: var(--legacy-accent); line-height: 1.4; }
.legacy .inhalt_alarm     { font-size: 17px; color: var(--legacy-alarm); font-weight: 700; padding: 6px 0; }
.legacy .inhalt_Text_15pxB { font-size: 17px; font-weight: 700; }
.legacy .inhalt_Text_13pxB { font-size: 16px; font-weight: 700; }

.legacy .inhalt_normal,
.legacy .inhalt_norm_links,
.legacy .inhalt_norm_center {
    font-size: 17px;
    line-height: 1.65;
    color: var(--legacy-text);
    padding: 0;
    margin: 0 0 14px;
}
.legacy .inhalt_norm_center { text-align: center; }
.legacy .inhalt_normal_hervorgehoben {
    font-size: 17px; font-weight: 600; text-align: center;
    line-height: 1.55; padding: 0; font-style: italic; margin: 8px 0;
}

.legacy .inhalt_tab_header {
    font-size: 15px;
    color: var(--legacy-accent);
    font-weight: 700;
    background: var(--legacy-accent-soft);
}

.legacy .inhalt_ul_highlights {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
    text-align: left;
    width: 100%;
    color: var(--legacy-text);
}
.legacy .inhalt_ul_highlights {
}
.legacy ul.inhalt_ul_highlights,
.legacy li.inhalt_ul_highlights {
    line-height: 1.6;
}
.legacy li.inhalt_ul_highlights {
    position: relative;
    padding: 4px 0 4px 22px;
    margin: 4px 0;
    list-style: none;
}
.legacy li.inhalt_ul_highlights::before {
    content: "";
    position: absolute;
    left: 4px; top: 13px;
    width: 6px; height: 6px;
    background: var(--legacy-accent);
    border-radius: 2px;
}

.legacy .inhalt_list_header {
    display: block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 18px;
    text-align: left;
    color: var(--legacy-accent);
    font-weight: 700;
    line-height: 1.4;
    background: var(--legacy-accent-soft);
    width: 100%;
    padding: 10px 14px;
    margin: 24px 0 12px;
    border-left: 3px solid var(--legacy-accent);
}

.legacy .inhalt_cleaner { clear: both; float: none; }

.legacy .Bildbox_fl {
    width: 100% !important;
    max-width: 100%;
    margin: 18px 0;
    background: none;
    padding: 0;
    border-collapse: collapse;
    text-align: center;
}
.legacy div.Bildbox_fl > table,
.legacy .Bildbox_fl table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 0;
}
.legacy .Bildbox_fl table tr th {
    padding: 10px 12px;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--legacy-accent);
    text-align: left;
    border: 0;
}
.legacy .Bildbox_fl table tr td {
    padding: 16px 14px;
    vertical-align: top;
    border: 0;
    background: none;
}
.legacy .Bildbox_fl table tr + tr td {
    border-top: 1px solid var(--legacy-border);
}
.legacy .Bildbox_fl table td img {
    display: inline-block;
    border: none;
    max-width: 100%;
    height: auto;
}
.legacy .Bildbox_fl table td p {
    font-size: 14px;
    font-weight: 600;
    background: none;
    color: var(--legacy-muted);
    padding: 6px 0 0;
    margin: 8px 0 0;
    text-align: center;
}
.legacy .Bildbox_fl table td p a {
    color: var(--legacy-accent);
    background: none;
    font-weight: 600;
    text-decoration: none;
}
.legacy .Bildbox_fl table td p a:hover { color: var(--legacy-accent-deep); }

.legacy .bildbox_shadow {
    display: inline-block;
    border: 1px solid var(--legacy-border);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    margin: 0 0 16px;
    background: #fff;
    border-radius: 4px;
    padding: 4px;
}
.legacy .bildbox_shadow img {
    padding: 0;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.legacy .table_mach_data,
.legacy .table_software {
    display: block;
    width: 100%;
    margin: 18px 0 24px;
    overflow-x: auto;
}
.legacy .table_mach_data table,
.legacy .table_software table,
.legacy .inhalt_tabelle_m_data {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--legacy-border);
    background: #fff;
}
.legacy .table_mach_data table tr th,
.legacy .table_software table tr th,
.legacy .inhalt_tabelle_m_data tr th {
    padding: 12px 14px;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--legacy-accent);
    text-align: left;
    border: 0;
}
.legacy .table_mach_data table tr td,
.legacy .table_software table tr td,
.legacy .inhalt_tabelle_m_data tr td {
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 400;
    color: var(--legacy-text);
    border: 0;
    border-top: 1px solid var(--legacy-border);
    text-align: left;
    vertical-align: top;
}
.legacy .table_mach_data table tr td:first-child,
.legacy .inhalt_tabelle_m_data tr td:first-child {
    font-weight: 600;
    color: var(--legacy-accent);
    width: 38%;
}
.legacy .table_mach_data table tr:nth-child(even) td,
.legacy .inhalt_tabelle_m_data tr:nth-child(even) td {
    background: #f7f8f9;
}

.legacy .table_software table tr td img {
    margin: 0 0 6px;
    max-width: 140px;
    height: auto;
    display: block;
}
.legacy .table_software table tr td p {
    font-size: 14px;
    margin: 6px 0 0;
}

.legacy table { border-collapse: collapse; }
.legacy table[border] { border: 0; }
.legacy table[border] td,
.legacy table[border] th { border: 0; }

.legacy .inhalt_tabelle_newsletter,
.legacy .inhalt_tabelle_bilder {
    font-size: 15px;
    margin: 16px auto;
    text-align: center;
    border: 1px solid var(--legacy-border);
    background: #fff;
    border-radius: 4px;
}
.legacy .inhalt_tabelle_newsletter { max-width: 360px; padding: 14px; }
.legacy .inhalt_tabelle_bilder    { max-width: 100%; }

.legacy .list_normal_center {
    width: 100%; text-align: center; margin: 14px 0;
}
.legacy .list_normal_center p { font-size: 17px; font-weight: 700; margin: 10px 0; color: var(--legacy-accent); }
.legacy .list_normal_center li { font-size: 15px; margin: 6px 0; list-style: none; }

.legacy .inhalt_list_datenschutz {
    font-size: 16px; text-align: left; line-height: 1.6;
    padding: 0; margin: 8px 0 8px 22px; list-style-type: disc;
}
.legacy .inhalt_list_datenschutz h4 { margin: 14px 0 6px; }

.legacy .liste_linksb { text-align: left; }

.legacy .produkt_bilder_standard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "bild1 bild1 bild1"
        "bild2 bild3 bild4"
        "bild5 bild6 bild7";
    width: 100%;
    padding: 0;
    gap: 14px;
    justify-items: center;
    margin: 18px 0;
}
.legacy .produkt_bilder_standard .bild1 { grid-area: bild1; }
.legacy .produkt_bilder_standard .bild2 { grid-area: bild2; }
.legacy .produkt_bilder_standard .bild3 { grid-area: bild3; }
.legacy .produkt_bilder_standard .bild4 { grid-area: bild4; }
.legacy .produkt_bilder_standard .bild5 { grid-area: bild5; }
.legacy .produkt_bilder_standard .bild6 { grid-area: bild6; }
.legacy .produkt_bilder_standard .bild7 { grid-area: bild7; }
.legacy .produkt_bilder_standard img { max-width: 100%; height: auto; border-radius: 4px; }

/* ---------- video ---------- */
.legacy .videobox {
    display: block;
    border: 1px solid var(--legacy-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    margin: 18px 0;
    overflow: hidden;
    background: #000;
}
.legacy .videobox iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---------- Google ---------- */
.legacy .google_maps {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
    border: 1px solid var(--legacy-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    overflow: hidden;
}
.legacy .google_maps iframe { width: 100%; height: 320px; border: 0; display: block; }

.legacy .sitemap { min-width: 0; max-width: 100%; margin: 0; }
.legacy .sitemap ul { padding-left: 18px; margin: 8px 0; }
.legacy .sitemap ul li { margin: 6px 0; list-style: none; }
.legacy .sitemap .htmlpage a { text-decoration: none; }
.legacy .sitemap .htmlpage a:hover { text-decoration: underline; }

.legacy .zertifikate { width: 100%; padding: 0; margin: 18px 0; }
.legacy .Werbebanner {
    display: inline-block;
    font-family: "Saira Semi Condensed", sans-serif;
    font-size: 22px; font-weight: 700; font-style: normal;
    color: var(--legacy-accent);
    background: var(--legacy-accent-soft);
    padding: 8px 14px;
    border-radius: 4px;
}

/* ---------- likno scroller ---------- */
.legacy .scroller_page_content { margin: 18px 0; }
.legacy .liknoscroller_item img { max-width: 100%; height: auto; border-radius: 4px; }

.legacy p br + br + br { display: none; }
