/* Grid-overlay */

.overlay-grid {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: var(--grid-width);
    height: 100vh;
    pointer-events: none; /* Prevent interaction */
    z-index: 1001; /* On top of everything */
    background-image: repeating-linear-gradient(
        to right,
        rgba(255, 0, 0, 0.1) 0px,
        /* Red column */ rgba(255, 0, 0, 0.1) var(--grid-col),
        /* Column width */ transparent var(--grid-col),
        /* Start of gap */ transparent calc(var(--grid-col) + var(--grid-gap)) /* End of cycle (column + gap) */
    );
}

.overlay-grid.is_hidden {
    display: none !important;
}

.search-engines-blocked-notice {
    text-align: center;
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: 300;
    background-color: #f00;
    color: #fff;
    font-size: 14px;
}

.search-engine-block-icn {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #f00;
    background-color: #f00;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8px !important;
    line-height: 8px !important;
    transition: all 0.2s ease-in;
    z-index: 1;
    font-weight: 700;
}
.search-engine-block-icn.is_fine {
    background-color: #22ff22;
    border-color: #22ff22;
}
.dev-grp {
    position: fixed;
    bottom: -10px;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #000;
    padding: 10px 20px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translateY(85px);
    transition: all 0.48s cubic-bezier(0.85, 0.01, 0.15, 1.44);
    font-size: 14px;
    line-height: 18px;
    z-index: 1000;
}
.dev-grp p {
    margin-bottom: 0 !important;
    font-size: 12px !important;
}
@media screen and (min-width: 768px) {
    .dev-grp p {
        margin-bottom: 2px !important;
        font-size: 14px !important;
    }
}
.dev_is_in .dev-grp {
    transform: translateY(0) !important;
}

.toggle-dev-grp-container {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    transition: all 0.35s cubic-bezier(0.85, 0.01, 0.15, 1.44) 0.09s;
    z-index: 1000;
    display: flex;
    gap: 20px;
}

.toggle-dev-grp {
    font-family: monospace !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #000;
    border: 2px solid #aaa;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px !important;
    line-height: 16px !important;
    transition: all 0.55s cubic-bezier(0.85, 0.01, 0.15, 1.44) 0.05s;
}

.dev_is_in .toggle-dev-grp {
    transform: rotate(45deg);
}

.dev_is_in .toggle-dev-grp-container {
    bottom: 85px;
}

button.cta.toggle_grid {
    border-radius: 5px;
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    box-shadow: 0 0 7px rgba(0, 0, 0, -0.8);
    font-size: 13px;
    padding: 6px 20px;
}

.debug-state-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f00;
}
.debug-state-circle-red {
    background-color: #f00;
}

.debug-state-circle-blue {
    background-color: #00aaff;
}

.search-engine-bg-green {
    background-color: #28ce50;
    color: #000;
}

.search-engine-block-icn.checkmark-icon {
    background-color: #28ce50;
    border-color: #28ce50;
}

.dev-hl {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding-bottom: 10px !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    border-bottom: 2px solid !important;
    padding-top: 50px !important;
}
.dev-section-label {
    position: relative !important;
    padding-top: 110px !important;
    padding-bottom: 25px !important;
    background: repeating-linear-gradient(120deg, #dddddd, #dddddd 4px, #ffffff 0px, #ffffff 5px) !important;

    &::before,
    &::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        width: 100% !important;
        height: 10px !important; /* Höhe des Schattens */
        pointer-events: none !important;
    }

    &::before {
        top: 0 !important;
        box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.35) !important;
    }

    &::after {
        bottom: 0 !important;
        box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.35) !important;
    }
    /* .dev-section-label:not(:first-child):before {
    content: "END OF MODULE" !important;
    position: absolute !important;
    top: 5px !important;
    font-size: 12px !important;
    font-family: "Courier New", Courier, monospace !important;
    color: #000 !important;
} */
    & p {
        font-family: "Courier New", Courier, monospace !important;
        display: inline-block !important;
        position: relative !important;
        background-color: #fff !important;
        font-size: 18px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: #dafdff !important;
        line-height: 1 !important;
        margin-bottom: 15px !important;
        padding: 8px !important;
        border-radius: 8px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        background-color: #000000 !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7) !important;
        text-shadow: -1px 1px 2px #fff0cf !important;
        border-top: 1px solid #ddd !important;
        border-left: 1px solid #ccc !important;
        min-width: 240px;
    }
    /* & .dev-label::after {
        content: " ✕ Korrekturen" !important;
        font-size: 15px !important;
        word-break: keep-all;
        -webkit-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
        white-space: nowrap;
        line-height: 1 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 25px !important;
        height: 25px !important;
        border-radius: 50% !important;
        color: #000 !important;
        background-color: #f00 !important;
        position: absolute !important;
        top: -15px !important;
        right: -15px !important;
        font-weight: 700;
        text-shadow: none;
        padding-left: 7px;
    } */
    & .dev-label::after {
        content: "✓ Korrigiert" !important;
        background-color: #1aa53c !important;
        font-size: 13px !important;
        word-break: keep-all;
        -webkit-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
        white-space: nowrap;
        line-height: 1 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 15px !important;
        height: 15px !important;
        border-radius: 50% !important;
        color: #fff !important;
        top: -32px !important;
        font-weight: 700;
        text-shadow: none;
        padding-top: 0px;
        padding-left: 3.5px;
        margin-top: 8px;
    }
    & .dev-label.korrekturen::after {
        content: " ✕ laufende Korrekturen" !important;
        background-color: #f00 !important;
    }
    & .specs {
        display: block !important;
    }
    & .specs-content {
        display: inline-block !important;
        padding: 10px !important;
        background-color: #fff !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45) !important;
        border-radius: 8px !important;
    }

    & h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        font-family: "Courier New", Courier, monospace !important;
        margin-bottom: 10px !important;
    }
    & li {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-bottom: 5px !important;
    }
    & ul > ul {
        list-style: none !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-left: 2px;
    }
    ul > ul li::before {
        content: "\2192";
        padding-right: 5px;
    }
}

.dev-sub-hl {
    font-family: "Courier New", Courier, monospace;
    font-size: 23px;
    font-weight: 400;
    padding-top: 55px;
    padding-bottom: 3px;
    margin-bottom: 35px;
    border-bottom: 1px solid #000;
}

.section-frameshow {
    padding-top: 100px;
}

.style-info {
    display: block;
    font-family: monospace;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    margin-bottom: 10px;
}

.color-grp {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--grid-gap);
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.color-square {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
}
@media screen and (min-width: 768px) {
    .color-square {
        display: block;
        position: relative;
        width: 100px;
        height: 100px;
    }
}
/* Ausgabe des HEX-Werts */
.color-square::after {
    content: attr(data-hex); /* wird per JS gesetzt */
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.4em;
    font-size: calc(12 / var(--rootfactor) * 1rem);
    text-align: center;
    white-space: nowrap;
    color: #000;
}

@media screen and (min-width: 768px) {
    .color-square::after {
        content: attr(data-hex); /* wird per JS gesetzt */
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1.4em;
        font-size: calc(17 / var(--rootfactor) * 1rem);
        text-align: center;
        white-space: nowrap;
    }
}

.layout-styleguide .styleguide-txt h1:after,
.layout-styleguide .styleguide-txt h2:after,
.layout-styleguide .styleguide-txt h3:after,
.layout-styleguide .styleguide-txt h4:after,
.layout-styleguide .styleguide-txt h5:after,
.layout-styleguide .styleguide-txt h6:after,
.layout-styleguide .styleguide-txt ul:after,
.layout-styleguide .styleguide-txt ol:after {
    content: "Absatz";
    font-family: "Courier New", Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-align: right;
    padding-right: 10px;
    position: absolute;
    height: 20px;
    width: 100%;
    top: 100%;
    background-color: rgba(255, 0, 0, 0.2);
}
.layout-styleguide .styleguide-txt li:after {
    content: "";
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    top: 100%;
    background-color: rgba(255, 0, 0, 0.2);
}
.layout-styleguide .styleguide-txt p {
    position: relative;
}
.layout-styleguide .styleguide-txt p:after {
    font-family: "Courier New", Courier, monospace !important;
    content: "Absatz";
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-align: right;
    padding-right: 10px;
    position: absolute;
    height: 20px;
    width: 100%;
    top: 100%;
    color: #000 !important;
    background-color: rgba(255, 0, 0, 0.2);
}

.dev-typotag {
    display: inline-block;
    font-size: 11px !important;
    font-family: "Courier New", Courier, monospace !important;
    color: #0033ff !important;
}
@media screen and (min-width: 768px) {
    .dev-typotag {
        font-size: 14px;
    }
}
