/*
    GPT-Optimierte Fassung von main_oc.css
    Erstellt auf Basis der Version vom 17.06.2026
    Author: Dieter Kahl
*/

/* Schriften ----------------------------------------------------------------------------- */
@font-face {
    font-family: 'Myriad Pro Regular';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Regular'), url('../fonts/MYRIADPRO-REGULAR.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Condensed';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Condensed'), url('../fonts/MYRIADPRO-COND.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Semibold';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Semibold'), url('../fonts/MYRIADPRO-SEMIBOLD.woff') format('woff');
}

@font-face {
    font-family: 'Myriad Pro Bold Condensed';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Bold Condensed'), url('../fonts/MYRIADPRO-BOLDCOND.woff') format('woff');
}

/* Variablen ----------------------------------------------------------------------------- */
:root {
    --oc-white: rgb(255, 255, 255);
    --oc-white-bg: rgba(255, 255, 255, 0.90);
    --oc-black: rgb(0, 0, 0);
    --oc-yellow: rgb(249, 176, 0);
    --oc-font-grey: rgb(124, 122, 123);
    --oc-input-grey: rgb(224, 224, 223);
    --oc-background: rgb(248, 248, 249);

    /* Rückwärtskompatibilität zu bestehenden Variablen */
    --oc_white: var(--oc-white);
    --oc_white_bg: var(--oc-white-bg);
    --oc_black: var(--oc-black);
    --oc_yellow: var(--oc-yellow);
    --oc_font_grey: var(--oc-font-grey);
    --oc_input_grey: var(--oc-input-grey);
    --oc_background: var(--oc-background);

    --font-regular: 'Myriad Pro Regular', sans-serif;
    --font-condensed: 'Myriad Pro Condensed', sans-serif;
    --font-semibold: 'Myriad Pro Semibold', sans-serif;
    --font-bold-condensed: 'Myriad Pro Bold Condensed', sans-serif;

    --space-xs: 0.3rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --container-x: 15px;
}

/* Basis --------------------------------------------------------------------------------- */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    color: var(--oc-font-grey);
    background-color: var(--oc-white);
    font-family: var(--font-condensed);
    font-weight: 400;
}

a {
    color: inherit;
}

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

ul {
    margin: 0;
    padding: 0;
}

.container {
    padding-left: var(--container-x);
    padding-right: var(--container-x);
}

p strong,
strong {
    font-family: var(--font-condensed);
    font-weight: 600;
}

/* Links und Überschriften --------------------------------------------------------------- */
.footer_navigation a,
h1,
h2,
h3,
h1 a,
h2 a,
th,
.number {
    color: var(--oc-font-grey) !important;
    font-family: var(--font-regular);
    font-weight: 600;
}

.footer_navigation a,
.menu_1 li a,
.container_main .table a,
h1 a,
h2 a,
footer a {
    text-decoration: none;
}

.menu_1 li a {
    font-family: var(--font-regular);
    font-weight: 400;
    color: var(--oc-font-grey);
}

.container_main .table a {
    font-family: var(--font-regular);
    font-weight: 400;
    color: var(--oc-black);
}

.table a:hover,
#page_17 a:hover,
footer a:hover {
    text-decoration: underline;
}

h1,
h2 {
    margin-bottom: 0;
}

/* Header und Navigation ----------------------------------------------------------------- */
.container_header,
.header_mobile_fixed {
    width: 100%;
    background-color: var(--oc-white);
    z-index: 9999;
}

.container_header {
    position: fixed;
}

.container_header .container {
    margin-bottom: 12px;
}

.oc_logo {
    background-color: var(--oc-white);
    padding-top: 12px;
}

.oc_logo img {
    max-width: 90%;
}

.oc_navigation .nav-container {
    position: absolute;
    width: 100%;
}

.menu_1 li {
    display: inline;
    padding-right: 12px;
}

/* Bilder -------------------------------------------------------------------------------- */
.ce-image img,
.container_headerpic img,
#security_mob img,
.col_2 img {
    max-width: 100%;
    height: auto;
}

.container_headerpic,
.container_headerpic img {
    padding-left: 0;
    padding-right: 0;
}

.container_headerpic img {
    width: 100%;
}

.container_headerpic_mob {
    position: relative;
    z-index: 1;
    margin-top: 4.5vw;
    margin-bottom: var(--space-lg);
}

.container_headerpic_mob .ce-image img {
    width: 100% !important;
}

/* Textbox im Bild ----------------------------------------------------------------------- */
#security,
.text_in_pic {
    position: absolute;
    z-index: 99;
}

.text_in_pic {
    background-color: var(--oc-white);
    opacity: 0.85;
}

.text_in_pic:empty {
    display: none;
}

.text_in_pic h1,
.text_under_pic h1 {
    font-family: var(--font-regular);
    color: var(--oc-black) !important;
    opacity: 0.6;
}

.text_in_pic p,
.text_under_pic p {
    font-family: var(--font-regular);
}

/* Layout -------------------------------------------------------------------------------- */
.row_3_cols,
.row_2_cols {
    display: flex;
    flex-wrap: wrap;
}

.row_3_cols {
    gap: 0.9rem;
    margin-bottom: var(--space-lg);
}

.row_3_cols img {
    width: 100%;
}

.row_3_cols .col_3,
.row_2_cols .col_2 {
    flex: 1 1 0;
    min-width: 0;
}

.row_2_cols {
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
}

.row_2_cols .col_2 {
    display: flex;
    flex-direction: column;
}

.row_2_cols .col_2 .frame-layout-2 {
    flex: 1;
}

.container_opa {
    opacity: 0.6;
    filter: blur(3px);
    transition: opacity 0.8s ease, filter 0.8s ease;
    background-color: var(--oc-background);
}

.number {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: var(--space-xs);
}

.number .yellow {
    display: inline-block;
    color: var(--oc-yellow);
    line-height: 1;
}

/* Footer und Formular ------------------------------------------------------------------- */
footer .container {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.footer_pic,
.footer_container,
#c11 {
    position: relative;
}

.contact_pic {
    position: absolute;
    top: 0;
    z-index: -1;
}

.footer_form {
    background-color: var(--oc-white-bg);
    padding: var(--space-md);
}

.actions {
    position: absolute;
    right: 0;
    bottom: var(--space-md);
    width: fit-content;
}

input,
textarea {
    background-color: var(--oc-input-grey) !important;
    border-radius: 0 !important;
}

.form-label {
    margin-bottom: -0.9rem !important;
}

.mb-3 {
    margin-bottom: 0.4rem !important;
}

#kontaktformularimFooter-11-checkbox-1 {
    float: left;
}

label.form-check-label[for="kontaktformularimFooter-11-checkbox-1"] {
    float: left;
    width: 80%;
    padding-left: 12px;
}

button[name="tx_form_formframework[kontaktformularimFooter-11][__currentPage]"] {
    width: 50px;
    height: 50px;
    padding: 0;
    color: transparent;
    font-size: 0;
    background: url('../pics/system/submit_btn.png') no-repeat center center / contain;
    border: none;
    cursor: pointer;
}

button[name="tx_form_formframework[kontaktformularimFooter-11][__currentPage]"]:hover {
    color: var(--oc-white);
    background-color: var(--oc-yellow);
    border-color: var(--oc-yellow);
}

/* Tabellen ------------------------------------------------------------------------------ */
table,
.table,
.table > :not(caption) > * > * {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    color: var(--oc-font-grey) !important;
    background-color: transparent;
    border-style: none;
}

.container_main ul {
    padding-left: 1.2em;
}

ul li {
    position: relative;
}

table ul li,
.frame-layout-2 ul li{
    list-style: none;
}

table ul li::before,
.frame-layout-2 ul li::before{
    content: '•';
    position: absolute;
    left: -0.6em;
    top: 0.25rem;
    font-size: 1.8rem;
    line-height: 1rem;
}

table tr td:nth-child(1) {
    width: 240px !important;
}

/* Graue Flächen ------------------------------------------------------------------------- */
.frame-layout-2,
.frame-layout-3 {
    background-color: var(--oc-input-grey);
}

.frame-layout-2 table td,
.frame-layout-3 table td {
    vertical-align: top;
}

.frame-layout-2 ul {
    list-style: disc;
}

/* Mobile und Tablet bis 992px ----------------------------------------------------------- */
@media (max-width: 992px) {
    .nav_mobile,
    .mobile {
        display: block;
    }

    .nav_pc,
    .pc {
        display: none;
    }

    .header_mobile_fixed {
        position: fixed;
        top: 0;
    }

    .nav_container_mob {
        max-height: 0;
        overflow: hidden;
        background-color: var(--oc-white);
        border-top: 1px solid var(--oc-white);
        transition: max-height 0.3s ease;
    }

    .nav_container_mob.open {
        max-height: fit-content;
    }

    .nav_container_mob .menu_1 {
        padding-left: 2rem;
    }

    .nav_container_mob .menu_1 li {
        display: block;
        width: 90%;
    }

    .row_3_cols,
    .row_2_cols {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .row_3_cols {
        align-content: flex-end;
        margin-bottom: 0;
    }

    .col_3 {
        padding-bottom: 0.65rem;
    }

    .col_2 img {
        width: 100%;
    }

    .col-6,
    .col-sm-6,
    .col-md-10,
    .col-lg-10,
    .col-xl-6,
    .col-xxl-6 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav-item.dropdown {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-item.dropdown > a {
        flex: 1;
    }

    .dropdown-toggle {
        cursor: pointer;
        padding: 10px;
        font-size: 18px;
        line-height: 1;
        user-select: none;
    }

    .dropdown-menu {
        display: none;
        width: 100%;
        border: none;
        padding-left: 2rem;
    }

    .nav-item.dropdown.open > .dropdown-menu,
    .nav_container_mob .nav-item.dropdown.open > .dropdown-menu {
        display: block;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        float: right;
        cursor: pointer;
        vertical-align: middle;
    }

    .submenu-toggle::before {
        content: none !important;
    }

    .submenu-toggle::after {
        content: '';
        display: block;
        width: 14px;
        height: 14px;
        border-right: 3px solid var(--oc-font-grey);
        border-bottom: 3px solid var(--oc-font-grey);
        transform: rotate(45deg);
        transform-origin: center center;
        transition: transform 0.2s ease;
    }

    .nav-item.dropdown.open > .submenu-toggle::after {
        transform: rotate(-135deg);
    }

    .dropdown-menu .nav-item {
        font-size: 1.1rem !important;
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }

    .nav_container_mob .dropdown-menu {
        position: static !important;
        float: none !important;
        display: none;
        width: 100%;
        margin: 0.5rem 0 0.5rem 2rem;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}

/* Smartphones bis 768px ----------------------------------------------------------------- */
@media (max-width: 768px) {
    .bis_768 {
        display: block;
    }

    body p,
    .table,
    h2,
    h3,
    .number {
        font-size: 1.3rem !important;
        line-height: 1.9rem !important;
    }

    .number .yellow {
        font-size: 2.3rem;
    }

    #security_mob {
        position: absolute;
        right: 7vw;
        bottom: -7vw;
        z-index: 10000;
        width: 27vw;
        pointer-events: auto;
    }

    #security_mob a,
    #security_mob img {
        display: block;
        pointer-events: auto;
    }

    .logo_mob {
        padding: 12px;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    .header_mobile_fixed img {
        max-width: 100%;
    }

    .col_2_2,
    .frame-space-before-small {
        margin-top: var(--space-md);
    }

    .container_main .ce-textpic {
        display: flex;
        flex-direction: column;
    }

    .container_main .ce-bodytext {
        width: 100%;
        order: -1;
    }

    .form-check-label {
        float: right;
        width: 90%;
        margin-bottom: var(--space-md);
    }

    .frame-layout-2,
    .frame-layout-3 {
        padding: 0.5rem 0.5rem 0.3rem 0.3rem !important;
    }

    .frame-layout-3 table {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    footer {
        margin-bottom: 3rem;
    }

    .footer_form {
        padding: 0 1.5rem;
    }

    .footer_form p,
    .footer_form label {
        font-size: 1rem !important;
        margin-bottom: -0.3rem;
    }

    .actions {
        right: var(--space-md);
    }

    .text_under_pic br {
        display: none;
    }
}

/* Tablet 768px bis 992px ---------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 992px) {
    .bis_768 {
        display: none;
    }

    .header_768_bis_992 {
        display: block !important;
        margin-top: 160px !important;
    }

    .container {
        max-width: 992px;
    }

    .container_headerpic {
        margin-top: 130px;
        margin-bottom: 45px;
        padding-left: 0;
    }

    body p,
    .table,
    .number,
    ul,
    ul li {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    h2,
    h3,
    .number {
        font-size: 1.5rem !important;
        line-height: 1.9rem !important;
    }

    .number .yellow {
        font-size: 2.8rem;
    }

    .col_2_2 {
        margin-top: var(--space-md);
    }

    .header_mobile_fixed {
        height: 135px;
    }

    .header_mobile_fixed img {
        max-width: 75%;
        padding-top: 12px;
        padding-left: 12px;
    }

    #security_mob {
        position: absolute;
        right: 7vw;
        bottom: -3vw;
        z-index: 9;
        width: 27vw;
    }

    #oc_logo_mob {
        width: 90px;
        height: auto;
        padding: 12px;
    }

    .frame-layout-2,
    .frame-layout-3 {
        padding: 0.5rem 0.5rem 0.3rem 0.3rem !important;
    }

    .frame-layout-2 h1,
    .frame-layout-2 h2 {
        font-size: 1.8rem;
    }

    .nav_container_mob .menu_1 li {
        font-size: 2rem;
        padding-bottom: var(--space-md);
    }

    .dropdown-menu .nav-item {
        font-size: 1.5rem !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }

    .nav_container_mob.open {
        padding-top: 1rem;
    }

    footer h2 {
        padding-top: 1.2rem;
        padding-bottom: 0;
        margin-bottom: -6px;
    }

    .footer_form {
        padding: 0 1.5rem;
    }
}

/* Desktop ab 992px ---------------------------------------------------------------------- */
@media (min-width: 992px) {
    .nav_mobile,
    .mobile {
        display: none;
    }

    .nav_pc {
        display: block;
    }

    .oc_navigation .nav-container {
        bottom: 7px;
    }

    .menu_1 li {
        padding-right: 12px !important;
        font-size: 0.85rem !important;
    }

    .container_headerpic {
        position: relative;
        padding-top: 95px;
    }

    #security {
        right: 0;
        top: 26.3vw;
        width: 160px;
    }

    .text_in_pic {
        right: 0;
        top: 10vw;
        width: fit-content;
        padding: 0.9rem 1rem 0.2rem;
    }

    .text_in_pic h1 {
        font-size: 1.3rem !important;
        letter-spacing: 2px;
        line-height: 2.1rem;
    }

    .text_in_pic p {
        font-size: 1.2rem !important;
        letter-spacing: 1px;
        line-height: 1.9rem !important;
    }

    .container_main {
        padding: 3rem 1rem 0.5rem 0;
    }

    body p,
    .table,
    .number,
    ul {
        font-size: 1.1rem !important;
        line-height: 1.4rem !important;
    }

    h1 {
        margin-bottom: 0.5rem;
        font-size: 1.3rem !important;
        line-height: 1.9rem !important;
    }

    h2,
    h3 {
        font-size: 1rem !important;
        line-height: 1.3rem !important;
    }

    .number .yellow {
        font-size: 2.9rem;
    }

    input[type='checkbox'] {
        margin-left: 4px;
        border: 0;
        transform: scale(1.5);
    }

    .form-navigation {
        margin-top: 0.5rem;
    }

    .dropdown {
        position: relative;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        display: block;
    }

    .dropdown-menu {
        margin-top: -5px;
        border: none;
        border-radius: 0;
    }

    .dropdown-menu li {
        padding-left: 12px;
        font-size: 0.9rem !important;
        white-space: nowrap;
    }

    .footer_navigation {
        padding-top: 0.6rem;
        padding-left: var(--space-md);
        font-size: 0.9rem !important;
    }

    .footer_navigation a {
        font-size: 1.1rem !important;
    }

    .footer_form {
        position: relative;
        margin-top: 2rem;
    }

    .footer_form p,
    .footer_form label {
        font-size: 0.5rem !important;
        margin-bottom: -0.3rem;
    }

    .frame-layout-2,
    .frame-layout-3 {
        padding: 0.9rem 1rem 0.5rem !important;
    }

    table ul {
        padding-left: var(--space-md);
    }

    /* Die Container au der Security-Seite ------------------------------------------------*/
    #page_7 .col_2_1 {
        width: 32% !important;
        flex: 1 1 1;
    }

    #page_7 .col_2_2 {
        width: 64%  !important;
        flex: none;
    }
}

/* Desktop ab 1200px --------------------------------------------------------------------- */
@media (min-width: 1200px) {
    .menu_1 li {
        padding-right: 14px !important;
        font-size: 1.05rem !important;
    }

    #security {
        top: 25vw;
        width: 190px;
    }

    .text_in_pic {
        padding: 1rem 1.1rem 0.2rem;
    }

    .text_in_pic h1 {
        font-size: 1.6rem !important;
        line-height: 2.5rem;
    }

    .text_in_pic p {
        font-size: 1.5rem !important;
        line-height: 2.2rem !important;
    }

    body p,
    .table,
    ul {
        font-size: 1.3rem !important;
        line-height: 1.6rem !important;
    }

    h1 {
        font-size: 1.5rem !important;
        line-height: 2.1rem !important;
    }

    h2,
    h3 {
        font-size: 1.2rem !important;
        line-height: 1.6rem !important;
    }

    .number .yellow {
        font-size: 3rem;
    }

    .dropdown-menu li {
        padding-left: 14px;
        font-size: 1rem !important;
    }

    .footer_form p,
    .footer_form label {
        font-size: 0.9rem !important;
    }

    table tr td:nth-child(1) {
        width: 250px !important;
    }
}

/* Desktop ab 1400px --------------------------------------------------------------------- */
@media (min-width: 1400px) {
    .container_headerpic {
        padding-top: 108px;
    }

    .menu_1 li {
        padding-right: 14px !important;
        font-size: 1.2rem !important;
    }

    #security {
        top: 24vw;
        width: 240px;
    }

    .text_in_pic h1 {
        font-size: 1.9rem !important;
        letter-spacing: 2px !important;
        line-height: 2.7rem !important;
    }

    .text_in_pic p {
        font-size: 1.8rem !important;
        line-height: 2.4rem !important;
    }

    .container_main {
        padding: 3.5rem 1rem 0.5rem 0;
    }

    body p,
    .table,
    ul {
        font-size: 1.45rem !important;
        line-height: 1.9rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
        line-height: 2.5rem !important;
    }

    h2,
    h3,
    .number {
        font-size: 1.6rem !important;
        line-height: 1.9rem !important;
    }

    .number .yellow {
        font-size: 3.5rem;
    }

    body .frame-layout-1 p,
    .frame-layout-1 .table {
        font-family: var(--font-regular);
        font-size: 1.55rem !important;
        line-height: 1.9rem !important;
    }

    .frame-layout-1 h2,
    .frame-layout-1 h3 {
        font-family: var(--font-regular);
        font-size: 1.65rem !important;
        line-height: 2rem !important;
    }

    .dropdown-menu li {
        padding-top: 0;
        padding-left: 14px;
        margin: 0;
        font-size: 1.15rem !important;
    }

    .footer .container {
        top: 2rem !important;
    }

    .footer_form p,
    .footer_form label {
        font-size: 1rem !important;
    }

    table tr td:nth-child(1) {
        width: 300px !important;
    }
}
