:root {
    --sn-bg-signalrot: #ef4854;
    --sn-bg-hellblau: #d5e4f8;
    --sn-bg-perlweiss: #f4eee9;
    --sn-bg-dunkelbraun: #2b231c;
    --sn-bg-pastellorange: #ffc3a6;
    --sn-bg-pastellgruen: #c2efc2;
    --sn-bg-pastellrosa: #fadce4;

    --mobile-side-padding: 30px;
    --mobile-font-size-body: 13px;
}


/* ===================================
   RESPONSIVE BASE STYLES
   =================================== */

/* Ensure images and videos are fluid */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    color: var(--sn-bg-dunkelbraun);
}

/* Make containers fluid */
/*.container, .wrapper, .content-area {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}*/

/* Box-sizing for all elements */
*, *::before, *::after {
    box-sizing: border-box;
}
/* ENDE RESPONSIVE BASE STYLES */

body {
    font-family: "Epilogue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    line-height: 1.5em;
}

select,
select.form-control,
input,
input.form-control,
textarea,
textarea.form-control {
    width: 100%;
    padding: 12px;
    font-size: 100%;
    box-sizing: border-box;
    height: 3.5em;
    background-color: var(--sn-bg-perlweiss) !important;
    color: var(--sn-bg-dunkelbraun) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

p {
    margin: 1em 0;
}

.sn-ul-small-padding {
    padding-left: 15px;
}

.achtung-box, .fehler-box {
    background-color: var(--sn-bg-hellblau);
    color: var(--sn-bg-dunkelbraun);
    padding: 90px 60px 50px 60px;
    background-image: url("../img/alert-circle.svg");
    background-position: left 60px top 50px;
    background-repeat: no-repeat;
}

hr.spacer-line {
    border: none;
    border-top: 1px solid #F4EEE9;
    margin: 50px 0 40px 0;
}

.no-margin, .no-margin figure, li.no-margin p {
    margin: 0 !important;
}

select,
select.form-control {
    padding-left: 12px;
}

ul, ol {
    margin: 1em 0;
}

fieldset.form-group-with-symbol-after {
    padding-right: 40px;
}
fieldset.form-group-with-symbol-after .form-control {
    padding-right: 40px;
}
fieldset.form-group-with-symbol-after div.delete {
    position: absolute;
    top: 18px;
    margin-left: 8px;
}
fieldset.form-group-with-symbol-after div.delete .glyphicon {
    font-size: 18px;
}



form select:focus,
form input[type="text"]:focus,
form input[type="text"]:focus-visible,
form input[type="text"]:focus-within,
form input[type="email"]:focus,
form input[type="date"]:focus,
form input[type="password"]:focus,
form textarea:focus,
form textarea.form-control:focus {
    border: 1px solid #00000040 !important;
    background-color: white !important;
    color: var(--sn-bg-dunkelbraun) !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

form textarea,
form textarea.form-control {
    height: 170px;
}

/* Modern browsers */
/*.form-control::placeholder {
    color: #F4EEE9A6;
    opacity: 1;
}*/

/* Firefox 19+ */
/*.form-control::-moz-placeholder {
    color: #F4EEE9A6;
    opacity: 1;
}*/

/* Firefox 18- */
/*.form-control:-moz-placeholder {
    color: #F4EEE9A6;
    opacity: 1;
}*/

/* Internet Explorer 10+ */
/*.form-control:-ms-input-placeholder {
    color: #F4EEE9A6;
}*/

select.form-control:invalid {
    color: #878584;
    font-weight: 300;
}

select.form-control:invalid:focus {
    color: #878584;
    font-weight: 300;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3,
.col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8,
.col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}



.row {
    margin-left: -5px;
    margin-right: -5px;
}

.error-message { color: red; }

.sn-file-upload, .sn-file-upload-multiple {
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.sn-file-upload, .sn-file-upload-multiple {
    min-height: 120px;
    background-color: #F4EEE9;
    border: 1.5px dashed #000000A6;
    margin-top: -5px;
    width: 100%;
    padding-bottom: 50px;
    padding-top: 25px;
}

.sn-file-upload .sn-file-upload-label,
.sn-file-upload-multiple .sn-file-upload-label {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 50px;
    background-image: url("../img/upload-cloud.svg");
    background-repeat: no-repeat;
    background-position: center bottom 55%;
}

.sn-file-upload p#upload-file-info {
    margin: 0 !important;
}

.file-selector-button {
    /*display: none !important;*/
}

p#upload-file-info {
    display: block !important;
    text-align: center;
    font-size: 0.9em;
}

.action-button-red {
    position: relative;
    overflow: clip;
    z-index: 1;
    cursor: pointer;
    line-height: 1.4em;
    padding-right: 75px;
    padding-left: 25px;
    color: white;
    min-height: 85px;
    max-height: 85px;
    border: none;
    background-color: #ef4854;
    background-image: url("../img/feather-arrow-left-short-white.svg");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center right 35%;
    margin-top: 15px;
    width: 100%;
    /*max-width: 500px;*/
}

button.action-button-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eb2231;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
}

.action-button-red:hover::before {
    transform: scaleX(1);
}


.action-button-red.no-bg {
    background-image: none;
    /*
    background-image: none;
    width: 100%;
    max-width: 100%;

    display: flex;
    column-gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    justify-content: center;*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /*padding: 20px 30px;*/
    padding-left: 20px;
    padding-right: 20px;
    /*background: #e94560;*/
    /*color: white;*/
    text-decoration: none;
    box-sizing: border-box;
}

.action-button-red.no-bg span.arrow-right {
    /*background-color: #ef4854;*/
    background-image: url("../img/feather-arrow-left-short-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    /*background-position: center right 35%;*/
    background-position: center;
    width: 50px;
    display: block;
    height: 15px;
    vertical-align: middle;
    flex-shrink: 0;
    flex-grow: 0;
}

.action-button-red.no-bg .action-button-text {
    display: block;
    width: 100%;
    line-height: 1.4;
    text-align: center;
    flex: 0;
    flex-basis: content;
}

.form_actions_centered {
    text-align: center;
}

.form-group {
    margin-bottom: 10px !important;
}

.c-sn-quiz {
    display: flex;
    margin-top: 10px;
    /*margin: 0 !important;*/
}

.sn-quiz {
    background-color: var(--sn-bg-hellblau);
    color: var(--sn-bg-dunkelbraun);
    padding: 30px 45px;
    font-size: 1.1em;
    align-self: flex-start;
}

.c-sn-submit {
    flex: 1 1 calc(50% - 16px);
    padding-left: 25px;
    padding-top: 7px;
}

.checkbox-label {
    display: inline-block;
    margin-top: 5px;
}

label,
label.checkbox-label {
    font-weight: normal;
}

.labeled label { margin-top: 15px;}
.labeled label.checkbox-label {
    margin-top: 5px;
}

div.c-sn-submit input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 12px;
}
div.c-sn-submit table tr td input[type="checkbox"] {
    /*margin-top: 3px;*/
}
div.c-sn-submit table tr td {
    vertical-align: top;
    padding-bottom: 10px;
}
.checkbox-label input[type="checkbox"],
.checkbox-label label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 12px;
}
a {
    text-decoration: none;
    color: var(--sn-bg-signalrot);
}
a:hover, a:focus {
    text-decoration: none;
    color: var(--sn-bg-signalrot);
    outline: none;
}

div.c-sn-submit input.action-button-red {
    width: 100%;
    cursor: pointer;
}

div.error-message {
    padding-top: 3px;
}

.bodyrow {
    padding: 0;
}

h2 {
    font-weight: bold;
    font-size: 2.0em;
    line-height: 1.3em;
    margin-bottom: 1.2em;
}

div.c_termin {
    padding-left: 5px;
}

div.c_termin div.error {
/*    padding-left: 10px;*/
}

div.checkbox label {
    margin-left: 20px;
}

.sn-full-width {
    width: 100%;
}

div.c-sn-submit.sn-full-width {
    padding-left: 0;
    padding-top: 25px;
}

div.c-sn-submit.sn-full-width .action-button-red {
    width: 100%;
    max-width: 100%;
    padding: 12px 0 12px 0;
    background-image: none;
}

h1.csc-firstHeader.last {
    margin-bottom: 40px;
}

div.c-sn-submit.sn-full-width .action-button-red span.arrow-right {
    background-color: transparent;
    background-image: url("../img/feather-arrow-left-short-white.svg");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center right 35%;
    width: 50px;
    display: inline-block;
    height: 15px;
    vertical-align: middle;
}


.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    margin-top: 4px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    background-color: #2b231c;
    border: none;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    background-color: #2b231c;
    border: none;
}



select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding-right: 30px;
    border: none;
    background-color: var(--sn-bg-perlweiss);
    cursor: pointer;
    outline: none;
}

.select-wrapper{
    position: relative;
    display: inline-block;
    width: 100%;
    padding-right: 5px;
}

.select-wrapper::after,
.sn-formular .wpcf7-form-control-wrap-select::after {
    content: '';
    position: absolute;
    display: inline-block;
    right: 10px;
    width: 20px;
    height: 20px;
    background-image: url("img/feather/feather-arrow-down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    top: 0;
    margin-top: 14px;
    opacity: 0.8;
}
.select-wrapper-with-label::after {
    top: 40px;
}

.sn-alert {
    padding: 30px;
}

.sn-alert-danger {
    background-color: var(--sn-bg-pastellrosa);
    color: var(--sn-bg-dunkelbraun);
    padding: 30px;
}
.sn-alert-warning {
    background-color: var(--sn-bg-pastellorange);
    color: var(--sn-bg-dunkelbraun);
    padding: 30px;
}
.sn-alert-success {
    background-color: var(--sn-bg-pastellgruen);
    color: var(--sn-bg-dunkelbraun);
    padding: 30px;
}
.sn-alert-info {
    background-color: var(--sn-bg-hellblau);
    color: var(--sn-bg-dunkelbraun);
    padding: 30px;
}


/* 1. Hide native checkbox but keep it accessible */
.cb-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* 2. Label container */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 34px; /* Space for custom checkbox */
    cursor: pointer;
    user-select: none;
    padding-top: 5px;
    width: 100%;
}

/* 3. Box background (unchecked state) via ::before */
.custom-checkbox::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px; /* Align with text baseline */
    width: 24px;
    height: 24px;
    background: url("img/chk-gray.svg") center/contain no-repeat;
    pointer-events: none;
    transition: background-image 0.2s ease;
}

/* 4. Check icon via ::after (hidden by default) */
.custom-checkbox::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: url('img/check.svg') center/contain no-repeat;
    background-size: 15px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* ── STATE RULES ── */

/* 1️⃣ Hover + Unchecked → check at 0.5 opacity */
.cb-input:not(:checked) + .cb-label:hover ~ ::after,
.custom-checkbox:has(.cb-input:not(:checked)):hover::after {
    opacity: 0.5;
}

/* 2️⃣ Checked + Not Hovered → full opacity */
.custom-checkbox:has(.cb-input:checked):not(:hover)::after {
    opacity: 1;
}

/* 3️⃣ Checked + Hovered → keep full opacity */
.custom-checkbox:has(.cb-input:checked):hover::after {
    opacity: 1;
}

/* Alternative without :has() for broader support */
.cb-input:checked ~ .cb-label::after,
.cb-input:checked + .cb-label::after {
    opacity: 1;
}

/* Fallback for older browsers: simple checked state */
.cb-input:checked + .cb-label::after {
    opacity: 1 !important;
}







/* 1. Hide native checkbox but keep it accessible */
.cb-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* 2. Label container */
.custom-radio {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 34px;
    cursor: pointer;
    user-select: none;
    padding-top: 5px;
    width: 100%;
}

/* 3. Box background (unchecked state) via ::before */
.custom-radio::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px; /* Align with text baseline */
    width: 24px;
    height: 24px;
    background: url("img/radio-light.svg") center/contain no-repeat;
    pointer-events: none;
    transition: background-image 0.2s ease;
}

/* 4. Check icon via ::after (hidden by default) */
/*.custom-radio::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: url('img/radio-checked.svg') center/contain no-repeat;
    background-size: 15px;
    opacity: 0;
    transition: background-image 0.2s ease;
    pointer-events: none;
}*/

/* ── STATE RULES ── */

/* 1️⃣ Hover + Unchecked */
.cb-radio:not(:checked) + label:hover ~ ::before,
.custom-radio:has(.cb-radio:not(:checked)):hover::before {
    background-image: url('img/radio-light-hover.svg')
}

/* 2️⃣ Checked + Not Hovered → full opacity */
.custom-radio:has(.cb-radio:checked):not(:hover)::before {
    background-image: url('img/radio-light-checked.svg')
}

/* 3️⃣ Checked + Hovered → keep full opacity */
.custom-radio:has(.cb-radio:checked):hover::before {
    background-image: url('img/radio-light-checked.svg')
}

/* Alternative without :has() for broader support */
.cb-radio:checked ~ label::before,
.cb-radio:checked + label::before {
    background-image: url('img/radio-light-checked.svg')
}

/* Fallback for older browsers: simple checked state */
.cb-radio:checked + label::before {
    background-image: url('img/radio-light-checked.svg') !important;
}


#zusammenfassung > h3 {
    font-size: 160%;
    margin-top: 0;
    margin-bottom: 30px;
}
div.position {
    padding: 5px 0;
}
div.positionen-summe,
div.position {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.positionen-summe {
    margin-top: 10px;
}
.positionen-summe * {
    margin-bottom: 0;
    padding-bottom: 0;
}
div.position .position-name {
    /*flex: 1;*/

}
div.position .position-preis {
    min-width: 35px;
    text-align: right;
}
.position-space,
.positionen-summe-space {
    flex: 1;
    padding: 0 7px;
    min-width: 25px;
}
.position-space div,
.positionen-summe-space div {
    width: 100%;
    border-bottom: 1px dotted var(--sn-bg-dunkelbraun);
    margin-top: -5px;
}



/* ===================================
   TABLET STYLES (768px - 1024px)
   =================================== */
@media screen and (max-width: 1024px) {
    /* Adjust container width */
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Stack columns */
    .row, .flex-row {
        flex-direction: column;
    }

    /* Reduce font sizes slightly */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    /* Adjust navigation */
    .main-navigation ul {
        flex-direction: column;
    }
}

/* ===================================
   MOBILE STYLES (481px - 767px)
   =================================== */
@media screen and (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }

    /* Typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    /*p { font-size: 1rem; line-height: 1.6; }*/

    /* Stack all flex containers */
    .flex, .flex-row, .row {
        flex-direction: column !important;
    }

    /* Full width elements */
    .col-1-2, .col-1-3, .col-1-4,
    .span-6, .span-4, .span-3 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Buttons and forms */
    button, .button, input, select, textarea {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }

    /* Navigation - Hamburger Menu */
    .main-navigation ul {
        display: none; /* Hide by default */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .main-navigation.active ul {
        display: flex;
    }

    /* Mobile menu toggle button */
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }

    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;
    }

    /* Adjust spacing */
    section, .section {
        padding: 40px 0;
    }

    /* Hero sections */
    .hero {
        padding: 60px 0;
        text-align: center;
    }
}

/* ===================================
   SMALL MOBILE (up to 480px)
   =================================== */
@media screen and (max-width: 480px) {

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-left: 0;
        padding-right: 0;
    }

    body {
        font-size: var(--mobile-font-size-body);
    }



    div.c-scroll-nav,
    div.scroll-arrow-right,
    div.c-scroll-pfeile {
        max-height: 35px;
        min-height: 35px;
        overflow: clip;
    }

    div.sn-eh-teaser figure img {
        margin-top: 35px;
    }

    div.scroll-arrow-right button,
    div.c-scroll-pfeile button {
        visibility: hidden;
    }

    main.wrap {
        padding-top: 0;
    }
    .content-area {
        padding: 0;
    }
    div#content {
        padding-top: 30px;
    }

    h2,
    div.wp-block-sn-schwarzer-header-block h2, .sn-txt-block-red h3 {
        font-size: 200%;
        margin: 40px 0;
    }

    .lead-text, .sn-schwarzes-motto {
        font-size: 115%;
    }

    div.bildungstraeger {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-align: left;
        margin-top: 50px;
        /*margin-bottom: 40px;*/
        margin-bottom: 80px;
    }

    article.sn-lg div.bildungstraeger {
        margin-top: 50px;
        margin-bottom: 80px;
    }

    p.logos-label {
        font-size: 1.28em;
    }
    div.bildungstraeger > div {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 100px;
        will-change: transform;
        visibility: hidden;
        transform: translateX(0);
    }
    div.bildungstraeger > div.animate-ready {
        visibility: visible;
        animation: steady-scroll var(--animate-duration, 25s) linear infinite;
    }
    div.bildungstraeger > div:hover {
        animation-play-state: paused;
    }
    @keyframes steady-scroll {
        0%   { transform: translateX(0); }
        100% { transform: translateX(var(--animate-distance)); }

    }
    div.bildungstraeger > div > figure {
        flex: 0 0 auto;
        margin: 0;
    }
    div.bildungstraeger > div > figure img {
        display: block;
        width: auto;
        height: auto;
        max-width: none;
    }
    div.bildungstraeger-short > div {
        justify-content: flex-start;
    }

    div.topmenu_action_box {
        margin-left: 0;
        padding: 0 !important;
        margin-top: 10px;
    }

    div.topmenu_action_box a.action-button-dark.card-button.action-button-full-w {
        width: 100%;
        overflow: clip;
        margin-top: 15px;
    }

    div.sn-start-ab-h2 {
        height: 40px;
    }

    .reviews-container,
    .sn-blaue-box {
        /*margin-left: -30px !important;
        margin-right: -30px !important;*/
    }
    .sn-blaue-box {
        padding: var(--mobile-side-padding);
    }

    .sn-sticky div.wp-block-columns {
        margin-bottom: 0;
    }
    div.sn-sticky {
        top: 0;
    }

    #mega-menu-wrap-header-menu .mega-menu-toggle {
        /*background: transparent;*/
    }

    #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu
        /*ul.mega-menu.max-mega-menu.mega-menu-horizontal*/ {
        /*margin-top: 100px;*/
    }
    #mega-menu-wrap-header-menu .mega-menu-toggle.mega-menu-open:after {
        background: transparent !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
        margin-left: var(--mobile-side-padding);
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
        border-bottom: 1px solid #00000029;
        margin-right: var(--mobile-side-padding);
        padding: 10px 0;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item a.mega-menu-link{
        width: 100%;
        display: flow;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
        top: 10px;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item a.mega-menu-link,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:hover a.mega-menu-link {
        border-bottom: 0;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item a.mega-menu-link {
        transition: color 0.5s ease;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:hover a.mega-menu-link,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link:hover {
        color: var(--sn-signalrot) !important;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:hover {
        /*border-bottom: 1px solid rgb(43, 35, 28);*/
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator:after {
        content: "";
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link {
        border-bottom: 1px solid #2b231c;
        color: var(--sn-bg-dunkelbraun) !important;
    }
    div#menu-dim-overlay {
        top: 150px;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu {
        background-color: var(--sn-bg-perlweiss);
        padding-top: 0 !important;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > ul.mega-sub-menu
        /*,
        #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu:first-child*/ {
        /*margin-top: 15px;*/
    }

    /*#mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu:first-child {
        margin-top: 15px;
    }*/

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
        /*padding: 30px !important;*/
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu:not(:first-child) {
        /*padding-top: 40px !important;*/
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-row:first-child {
        display: none;
    }
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-row .mega-menu-column:first-child {

    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column {
        padding: 35px 30px 5px 30px !important;
        /*border-bottom: 1px solid red;*/

    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item:last-child {
        padding-bottom: 30px !important;
        border-bottom: 1px solid #2B231C1A;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column:last-child > ul.mega-sub-menu > li.mega-menu-item:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-toggle-on:first-child > ul.mega-sub-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu.mega-menu-item.mega-toggle-on:first-child > ul.mega-sub-menu {
        margin-top: 15px !important;
        margin-bottom: 5px !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu > .mega-menu-row:nth-child(2) > ul.mega-sub-menu > li.mega-menu-column:first-child {
        padding-top: 25px !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
        padding: 30px 0 0 0 !important;
    }

    h1.main-title, h2.main-title, p.main-subtitle {
        font-size: 350%;
    }

    .main-motto {
        width: 100%;
        margin-bottom: 40px;
    }

    h2.main-title, div.wp-block-sn-schwarzer-header-block h2, .sn-txt-block-red h3 {
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }

    h5 {
        margin: 15px 0;
    }

    h6 {
        font-size: 105%;
        margin: 13px 0;
    }


    img.sn-logo {
        width: 50%;
    }
    .sn-header .sn-header-c-wrapper {
        padding-left: var(--mobile-side-padding);
        padding-right: var(--mobile-side-padding);
    }

    article.sn-lg .wp-block-columns.c-icon-texte-float,
    div.wp-block-columns.c-icon-texte-float {
        /*margin-top: 60px;*/
        margin-top: 30px;
    }

    .wp-block-columns.c-icon-texte-float, .wp-block-columns.c-icon-texte-float-eh-kurse {
        row-gap: 30px;
    }

    div.c-icon-texte-vertical {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        row-gap: 30px;
    }

    div.sn-lg-teaser,
    div.sn-eh-teaser {
        padding: var(--mobile-side-padding);
        margin-left: -30px;
        margin-right: -30px;
        margin-bottom: 123px;
        padding-bottom: 160px;
    }
    div.sn-lg-teaser .main-title,
    div.sn-eh-teaser .main-title {
        margin-top: 0;
    }
    div.sn-lg-teaser div.sn-lg-teaser-text,
    div.sn-eh-teaser div.sn-eh-teaser-text {
        top: 0;
        margin-top: -20px;
        margin-bottom: 0;
    }
    div.sn-lg-teaser figure,
    div.sn-eh-teaser figure {
        margin: 0;
        position: absolute;
    }
    div.sn-eh-teaser figure img,
    div.sn-lg-teaser figure img {
        margin-top: 35px;
    }

    .sn-eh-anmeldung .sn-right-space-30 {
        padding-right: 0;
    }

    .sn-lehrgangstermine .sn-lehrgangstermin {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin span.container,
    .sn-lehrgangstermine .sn-lehrgangstermin span.container:nth-child(1),
    .sn-right-space-30 .sn-lehrgangstermine .sn-lehrgangstermin span.container:nth-child(2),
    .sn-lehrgangstermine .sn-lehrgangstermin span.container:nth-child(2) {
        width: 100%;
        padding: 0;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin span.container {
        padding: 15px 0 !important;
        border-bottom: 1px solid #F4EEE920;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin span.container .val,
    .sn-lehrgangstermine .sn-lehrgangstermin span.container .lbl {
        padding-left: 0;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin span.container:nth-child(3) {
        border-bottom: none !important;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin span.container:first-child,
    .sn-lehrgangstermine .sn-lehrgangstermin span.container:first-child span.val {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin div.action {
        margin-top: 15px;
    }
    .sn-lehrgangstermine .sn-lehrgangstermin div.action,
    .sn-lehrgangstermine .sn-lehrgangstermin span.action a.action-button-dark,
    .sn-lehrgangstermine .sn-lehrgangstermin div.action a.action-button-dark {
        width: 100%;
    }



    .achtung-box, .fehler-box {
        padding: 60px 30px 30px 30px;
        background-position: left 30px top 23px;
    }

    div.sn-header-menu {
        width: unset;
    }

    div#content,
    .main-motto,
    .sn-header .sn-header-c-wrapper {
        min-width: unset;
    }

    /* Reduce padding */
    .container {
        padding: 0 10px;
    }

    section, .section {
        padding: 30px 0;
    }

    /* Stack all grid items */
    .grid-item, .card, .tile {
        width: 100% !important;
    }

    /* Adjust images */
    img {
        max-width: 100%;
    }

    /* Forms */
    input, textarea, select {
        font-size: 16px;
        padding: 10px 12px;
    }

    /* Buttons */
    button, .button {
        padding: 12px 20px;
        font-size: 16px;
    }

    div.c_neuigkeiten {
        padding: var(--mobile-side-padding);
    }
    div.c_neuigkeiten .c_neuigkeit {
        flex-direction: column;
    }
    div.c_neuigkeiten .neuigkeit_bild, div.c_neuigkeiten .neuigkeit_info {
        width: 100%;
    }
    div.c_neuigkeiten .neuigkeit_info {
        padding: 35px 0 0 0;
    }

    div.c_neuigkeiten .neuigkeit_info a.action-button-dark {
        width: 100%;
    }

    a.action-button-dark, div.action-button-dark a, div.lehrgang div.action-button-dark {
        text-align: center;
        overflow: clip;
    }
    /*hr.spacer-line {
        margin: 25px 0 50px 0 !important;
    }*/

    div.reviews-container {
        padding: var(--mobile-side-padding);
        max-width: 100%;
    }

    div.reviews-container div.scroll-arrow-right,
    div.scroll-arrow-right {
        display: none;
    }

    div.reviews-container .rating-summary {
        width: 100%;
    }

    div.reviews-container .wp-block-sn-schwarzer-header-block h2 {
        margin-top: 15px;
    }
    div.reviews-container .star-rating span.sn-star-rating:not(:first-child),
    div.reviews-container .star-rating > span:last-child > span.sn-star-rating,
    div.reviews-container .star-rating div {
        display: none;
    }

    div.sn-txt-block-red {
        padding: 30px;
    }
    .sn-txt-block-red p {
        font-size: 100%;
        line-height: 170%;
    }

    footer {
        font-size: 115%;
    }
    footer > div {
        flex-wrap: wrap !important;
    }
    footer > div > :nth-child(-n+2) {
        flex: 0 0 100%;
    }
    footer > div > :nth-child(1),
    footer > div > :nth-child(2) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }
    footer > div > :nth-child(n+3) {
        flex: 0 0 calc(50% - 4px); /* 4px Haelfte des Gap */
    }
    footer > div > :nth-child(3),
    footer > div > :nth-child(4) {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: 0;
    }
    footer ul {
        padding-left: 0;
        margin-top: 60px;
    }
    footer div.social {
        display: grid;
        gap: 10px;
        justify-items: center;
    }
    footer div.social img {
        margin-right: 0;
    }

    footer > div > div.f_1 {
        display: flex;
        gap: 0;
    }

    footer > div > div.f_1 .footer-left {
        display: flex;
        flex-direction: column;
        gap: 0; /* Spacing between Element 1 & 2 */
        flex: 1;   /* Takes available left space */

        /*flex: 0 0 calc(70% - 10px) !important;
        width: calc(70% - 10px) !important;
        max-width: calc(70% - 10px) !important;*/
        min-width: 0;
    }

    footer > div > div.f_1 .footer-right {
        flex: 0 0 24px;   /* Takes available right space */
        text-align: center;
        /* Element 3 automatically stretches to match the full height
           of the left stack due to flex's default align-items: stretch */
    }

    .sn-vorteile-eh {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .sn-vorteile-eh div.action-button-dark {
        width: 100%;
    }
    .sn-vorteile-eh .c-sn-icon-img {
        margin-bottom: 10px;
    }
    .sn-vorteile-eh  div.wp-block-sn-schwarzer-header-block h2 {
        margin: 20px 0 30px;
    }
    hr.spacer-line {
        margin: 60px 0 60px 0 !important;
    }
    hr.spacer-line-b-h {
        margin-bottom: 40px;
    }

    /*
    spacer-line
        padding: 0 0 60px 0px !important;
    margin: 60px 0 0 0 !important;
     */

    .sn-box-grau {
        padding: var(--mobile-side-padding);
    }

    .sn-box-grau div.wp-block-sn-schwarzer-header-block:first-child h2 {
        margin-top: 0;
    }

    .eh-buchung-kacheln .sn-box-weiss {
        padding: var(--mobile-side-padding);
    }

    .c_leistung {
        flex-direction: column;
    }
    .c_leistung .leistung_bild,
    .c_leistung .leistung_info {
        width: 100%;
    }
    .c_leistung .action-button-light,
    .c_leistung .action-button-light a {
        width: 100%;
    }
    .c_leistung .action-button-light a {
        text-align: center;
    }

    .leistung_info {
        margin-top: 25px;
    }

    .leistung_info_odd {
        padding-left: 0;
    }

    .c_leistung_odd {
        flex-direction: column-reverse;
    }

    .c_leistungen .c_leistung:first-child {
        margin-top: 40px;
    }
    .c_leistungen .c_leistung:not(:first-child) {
        margin-top: 100px;
    }

    .sn-ab-8 {
        height: 40px;
    }

    .copyright-footer {
        font-size: 0.9em;
    }

    div.sn-lg-zielgruppe-c, div.sn-lg-vorteile-c {
        gap: 18px; /* 30 */
    }

    .sn-blaue-box.sn-lg-vorteile {
        margin-top: 40px;
    }
    article.sn-lg div.sn-blaue-box.sn-lg-vorteile {
        margin-top: 17px;
    }
    .sn-blaue-box.sn-lg-vorteile .sn-liste-pfeil-rot li {
        margin-left: 0;
    }
    div.sn-lg-zielgruppe-c div.sn-lg-gray-c,
    div.sn-lg-gray-c {
        padding-left: 0;
    }
    div.c-icon-texte-float {
        flex-direction: column;
    }
    .wp-block-columns.c-icon-texte-float {
        min-width: unset;
    }

    .c-icon-texte-vertical .icon-text,
    .c-icon-texte-vertical .icon-text:not(:first-child) {
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .c-icon-texte-vertical .icon-text p {
        margin: 0;
    }
    /*.c-icon-texte-vertical .icon-text,
    .c-icon-texte-vertical .icon-text:last-child p:last-child {
        margin-bottom: 0;
    }*/

    h2, h2.wp-block-heading {
        line-height: 1.2em;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }
    div.wp-block-column.bg-grau {
        padding-bottom: 30px;
    }
    div.sn-vorteile-registrierung ul li {
        margin-left: 0;
        margin-right: 0;
    }
    div.sn-eh-vorteile figure {
        margin-bottom: 30px;
    }
    div.wp-block-sn-schwarzer-header-block h2, .sn-txt-block-red h3 {
        margin: 20px 0;
    }
    .form-row.one-column p,
    .form-row.two-columns p,
    .form-row.three-columns p {
        flex-direction: column;
        gap: 10px;
    }
    .form-row.one-column p br,
    .form-row.two-columns p br,
    .form-row.three-columns p br {
        display: none;
    }
    .form-row.one-column .wpcf7-form-control-wrap,
    .form-row.two-columns .wpcf7-form-control-wrap,
    .form-row.three-columns .wpcf7-form-control-wrap {
        flex: 1 1 100%;
    }
    .sn-formular {
        margin-top: 40px;
    }
    .select-wrapper::after, .sn-formular .wpcf7-form-control-wrap-select::after {
        margin-top: 18px;
    }
    .c-sn-quiz {
        flex-direction: column;
    }
    .sn-quiz {
        width: 100%;
        padding: 30px;
    }
    .c-sn-submit {
        margin-left: 0;
        padding: 0;
    }
    button, .button {
        font-size: 100%;
    }


    div.sn-flex-umbruch {
        row-gap: 60px;
        overflow-x: hidden;
        justify-content: start;
        width: 100%;
        grid-template-columns: 1fr;
    }

    div.grid-2-mobile {
        display: grid;
        row-gap: 30px;
        overflow-x: hidden;
        justify-content: start;
        width: 100%;
        grid-template-columns: repeat(2, minmax(40%, 1fr));
    }

    div.kachel-blau-in-flex {
        max-width: 100%;
        min-width: unset;
    }

    div.kachel-header {
        padding: var(--mobile-side-padding);
    }

    .btabs .nav > li > a {
        font-size: 100%;
        padding: 0px 0px 12px !important;
        min-height: 25px;
    }
    div.sent-check-ok {
        margin-top: 15px;
        padding-right: 0;
        background-size: 100px;
        background-position: top left;
    }

    div.sent-check-ok .main-title {
        margin-top: 140px;
    }

    div.sent-check-ok .action-button-light {
        width: 100%;
    }

    .eh-buchung-kacheln .sn-box-weiss {
        margin-top: 15px;
    }

    div.g-rezensionen-mobile {
        margin-top: -25px;
        margin-bottom: 50px;
        display: block;
        width: 100%;
        text-align: center;
        border-top: 1px solid #F4EEE9;
        border-bottom: 1px solid #F4EEE9;
        padding: 40px 0;
    }

    div.action-button-dark.action-button-full-w, a.action-button-dark.action-button-full-w {
        margin-top: 5px;
    }

    div.sn-eh-ab-ehkurs {
        height: 30px;
    }
    div.sn-eh-ab-details,
    div.sn-eh-ab-verwandte {
        height: 0;
    }
    .c-sn-icon-img {
        margin-bottom: 10px;
    }

    .sn-eh-zert-ab-btn-anm {
        height: 5px;
    }

    .sn-weg h5 {
        font-size: 140%;
    }

    .c-sn-submit {
        margin-top: 25px;
    }

    .c-sn-submit button {
        margin-top: 30px;
    }

    .c-sn-submit > p {
        margin: 0;
    }

    .sn-file-upload-multiple .sn-file-upload-label {
        background-position: center bottom 65%;
    }

    div.sn-blaue-box-vorteile {
        margin-top: 40px;
    }

    .sn-liste-einrueckung-links li {
        margin-left: 0;
    }

    .kontakt_und_map {
        margin-top: 40px;
        padding: 30px 30px 30px 30px;
    }

    .sn-kontakt-ab-h {
        height: 40px;
    }

    .kontakt_und_map p {
        font-size: 120%;
    }

    .sn-eh-anmeldung .c-kontakt-map {
        height: 180px;
    }

    div.sn-lg-ab-organisation {
        height: 30px;
    }
    div.sn-lg-ab-faq, div.sn-lg-ab-anmeldung {
        height: 60px;
    }
    div.sn-lg-ab-ablauf, div.sn-lg-ab-verwandte {
        height: 0;
    }

    div.tab-content .c-icon-texte-ablauf-float {
        grid-template-columns: 1fr;
    }
    .sn_ablauf_weiter {
        background: none;
    }

    .sn-lehrgangslegende {
        flex-direction: column;
    }

    .form-row.five-columns > div {
        flex-direction: column;
    }

    .sn-filter-reset {
        padding-left: 0;
    }

    div.kommende_lehrgaenge {
        gap: 40px;
    }

    div.kommende_lehrgaenge div.lehrgang {
        flex-direction: column;
        padding-bottom: 30px;
    }
    div.kommende_lehrgaenge div.lehrgang .c-img,
    div.kommende_lehrgaenge div.lehrgang .c_lehrgang_info_gr,
    div.kommende_lehrgaenge div.lehrgang .btn_c_gr {
        flex: 0 0 100%;
    }

    div.kommende_lehrgaenge div.lehrgang .c-img {
        margin-bottom: 30px;
    }

    div.kommende_lehrgaenge div.lehrgang .btn_c_gr {
        width: 100%;
        padding: 0 30px;
    }
    div.kommende_lehrgaenge div.lehrgang .c_lehrgang_info_gr {
        padding: 0 30px;
    }

    div.kommende_lehrgaenge div.lehrgang .lehrgang_details_gr {
        display: flex;
        flex-direction: column;
    }
    div.kommende_lehrgaenge div.lehrgang .lehrgang_details_gr > span {
        width: 100%;
        border-bottom: 1px solid #2B231C20;
        padding-bottom: 15px;
        padding-top: 15px;
    }
    div.kommende_lehrgaenge div.lehrgang .lehrgang_details_gr > span:last-child {
        border-bottom: none;
    }
    div.kommende_lehrgaenge div.lehrgang .lehrgang_details_gr > span p.val {
        margin-top: 0;
    }
    div.kommende_lehrgaenge div.lehrgang .c_lehrgang_bild_gr {
        height: 200px;
    }

    div.lehrgang .val-with-left-space {
        padding-left: 0;
    }

    div.kommende_lehrgaenge div.lehrgang .btn_c_gr div.action-button-dark.card-button {
        width: 100%;
        margin: 30px 0 0 0;
    }

    .c-filter {
        border: 1.5pt solid #2B231C;
        margin-top: 10px;
    }
    .filter-toggler {
        display: block;
        padding: 20px 30px;
    }
    .filter-toggler .filter-toggler-text {
        font-size: 16px;
    }

    .c-filter > .form-row {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        margin: 0;
    }

    .c-filter.active > .form-row {
        max-height: 500px; /* Set to estimated max content height */
        opacity: 1;
    }

    .c-filter .wrap.sn-smaller {
        margin: 0 30px 30px 30px;
    }
    .c-filter .filter-toggler-icon {
        background-image: url("assets/images/phosphor/faders.svg");
        background-repeat: no-repeat;
        background-position: center;
        width: 20px;
        height: 20px;
        display: inline-block;
        float: right;
        cursor: pointer;
    }
    .c-filter.active .filter-toggler-icon {
        background-image: url("assets/images/phosphor/x.svg");
    }

    .action-button-full-w-mob {
        width: 100%;
    }

    .one-on-mob {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .c-icon-texte-grid.one-on-mob {
        margin-top: 45px;
    }

    .c-icon-texte-grid.one-on-mob div.icon-text p {
        margin-top: 5px;
        margin-bottom: 0;
    }

    div.offene_stellen div.offene_stelle {
        padding: 30px;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px
    }

    div.offene_stellen div.offene_stelle .offene_stelle-r,
    div.offene_stellen div.offene_stelle .offene_stelle-r .c-action-button,
    div.offene_stellen div.offene_stelle .offene_stelle-r .c-action-button a {
        width: 100%;
    }

    div.action-button-light a {
        padding: 0 15px 0 15px;
    }

    div.sn-content-sticky-image {
        gap: 40px;
    }
    div.sn-content-sticky-image figure {
        margin: 0;
    }
    div.wp-block-buttons {
        width: 100%;
    }
    div.sn-ab-main-h-form {
        height: 5px;
    }
    div.sn-eh-ab-faq-beh {
        height: 40px;
    }

    .ueber-uns-fakten {
        padding: 0 0 60px 0;
    }

    div.sn-blaue-box.sn-motto {
        padding: 30px;
    }

    div.c-full-width-out {
        margin-left: -30px !important;
        margin-right: -30px !important;
    }

    div.sn-sticky-l-r {
        gap: 0;
    }

    .c-team-abteilungen, .c-sn-tabs {
        display: flex;
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 10px;
    }
    .c-team-abteilungen .team-abteilung, .sn-tab {
        padding: 9px 17px;
        margin: 0;
    }

    .c-team-mitglieder {
        row-gap: 40px;
        column-gap: 30px;
        grid-template-columns: repeat(2, minmax(calc(50% - 30px), 1fr));
    }
    div.sn_team_mitglied-img-wrapper {
        height: unset;
    }
    .sn_team_mitglied h4 {
        margin: 10px 0 3px 0;
    }
    .c-sn-tabs {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .move-up-40 {
        top: 0px;
    }

    .sn-ab-scroller-images {
        height: 10px;
    }

    .sn-ab-lehrgangsliste {
        height: 10px;
    }

    dvi.sn-lg-ab-vor-logos {
        height: 0;
    }
    .single-sn_lehrgang p.logos-label {
        margin-top: 60px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    div.c_termin {
        padding-left: 0;
    }

    select, select.form-control {
        padding-right: 35px;
    }

    div.position .position-name {
        flex: 1;
    }

}

/* ===================================
   UTILITY CLASSES
   =================================== */
.hide-mobile {
    display: none;
}

@media screen and (min-width: 769px) {
    .hide-mobile {
        display: block;
    }
    .hide-desktop {
        display: none !important;
    }
}

/* Touch-friendly elements */
@media screen and (max-width: 768px) {
    a, button, .clickable {
        /*min-height: 44px;*/
        /*min-width: 44px;*/
    }
}

@media (min-width: 481px) {
    .bildungstraeger div figure.clone {
        display: none !important;
    }
}