/* === VISIBILITY === */

@media screen and (max-width: 1023px) {
    .hide-on-mobile {
       display: none !important;
    }
}

/* === ATTRIBUTES === */

/* == RADII == */

.radius-small {
    border-radius: var(--radius-small) !important;
}

.radius-medium {
    border-radius: var(--radius-medium) !important;
}

.radius-large {
    border-radius: var(--radius-large) !important;
}

/* == GAPS == */

.gap-smallest {
    gap: var(--grid__smallest) !important;
}

.gap-small {
    gap: var(--grid__x-small) !important;
}

.gap-medium {
    gap: var(--grid__medium) !important;
}

.gap-large {
    gap: var(--grid__large) !important;
}

/* === SECTIONS === */

.sec-general {
    display: flex;
    flex-flow: column;
    justify-content: start;
    align-items: center;
    gap: var(--grid__large);
    padding-left: var(--grid__x-small);
    padding-right: var(--grid__x-small);
}

.sec-fullwidth {
    display: flex;
    flex-flow: column;
    justify-content: start;
    align-items: center;
    gap: var(--grid__large);
}

.sec-hero {
    padding-bottom: var(--grid__x-small);
}

.sec-padding-top {
    padding-top: var(--grid__large);
}

.sec-padding-bottom {
    padding-bottom: var(--grid__large);
}

.sec-dark {
    background-color: var(--main-dark);
}

.sec-dark * {
    color: var(--main-light);
}

.sec-medium {
    background-color: var(--main-medium);
}

.sec-light {
    background-color: var(--main-light);
    color: var(--main-dark);
}

.sec-hero__start {
    height: 900px;
    max-height: 75vh;
}

/* === BACKGROUND STYLING === */

.bckgrnd__dots-dark {
    position: relative;
}

.bckgrnd__dots-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;          /* statt inset bottom:0 — folgt der echten Boxhöhe */
  transform: translateX(-50%);
  pointer-events: none;
  background-color: var(--main-dark);
  background-image: radial-gradient(var(--main-light) 1px, transparent 0px);
  background-size: 32px 32px;
}


/* === CONTAINER === */

/* == GENERAL == */

.cntnr-pagesize {
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
    max-width: 1600px;
    gap: var(--grid__medium);  
}

.cntnr-pagesize__full{
    width: 100%;
    max-width: 100vw;   
}

.cntnr-pagesize__small {
    width: 100%;
    max-width: 900px;
}

.cntnr-content {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: var(--grid__x-small);
    align-items: flex-start;
}

.cntnr-content__cols {
    width: 100%;
    display: flex;
    flex-flow: row;
    gap: var(--grid__small);
}

@media screen and (max-width: 1023px) {
    .cntnr-content__cols {
        flex-flow: column;
    }
}

.cntnr-content__cols-inline {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: var(--grid__small);
}

.cntnr-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid__medium);
}

.cntnr-padding {
    padding: var(--grid__small) !important;
}

.cntnr-padding__small {
    padding: var(--grid__x-small) !important;
}

/* == ALIGNMENT == */

.top-center {
    justify-content: start;
    align-items: center;
}

.top-right {
    justify-content: start;
    align-items: end;
}

.top-left {
    justify-content: start;
    align-items: flex-start;
}

.center-left {
    justify-content: center;
    align-items: left;
}

.center-right {
    justify-content: end;
    align-items: center;
}

.center-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* = MOBILE = */

@media (max-width:1023px) {
    .left__on-mobile {
        justify-content: start !important;
        align-items: start !important;
        text-align: start !important;
    }
}

/* == SIZES == */

.w50 {
    width: 50% !important;
}

.w75 {
    width: 75% !important;
}

.w100 {
    width: 100% !important;
}

@media screen and (max-width: 1023px) {
    .w100__on-mobile {
        width: 100% !important;
    }
}

.h100 {
    height: 100% !important;
}

.min-h100vh {
    min-height: 100vh !important;
}

/* == STYLING == */

.gradient-border__sec {
    position: relative;
}

.gradient-border__sec::after {
    content: '';
    position: absolute;
    top: -1px;        /* exakt über die fehlende border-top */
    left: 0px;       /* border-width ausgleichen */
    right: 0px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, var(--card-glow-main-off) 50%, transparent 100%);
}

/* == OPACITY == */

.subtile-50 {
    opacity: 0.5 !important;
}

.subtile-70 {
    opacity: 0.7 !important;
}

/* == FORM == */

.cntnr-form {
    width:100%;
    border-radius: var(--radius-medium) !important;
    backdrop-filter: blur(4px) !important;
    border: 0.5px solid #ffffff33;
    box-shadow: inset 0.5px 0.5px #ffffff66;
    transition: all 200ms ease-in-out;
    padding: var(--grid__small) !important;
}

.breakdance-form-stepper__step.is-active > * {
    font-weight: var(--font-weight__bold) !important;
    color: var(--brand-color-sec) !important;
}

.cntnr-content-cases img{
    width: 100%;
}

.postloop__cases-branding .bde-loop .bde-loop-item:first-child {
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
}

@media screen and (min-width: 1024px) {
    .postloop__cases-branding .bde-loop .bde-loop-item:first-child,
    .postloop__cases-branding .bde-loop .bde-loop-item:first-child img {
        max-height: 750px;
        height:750px;
        aspect-ratio: unset !important;
    }
}
/*
.oxy-container-link {
    max-height: 550px;
}
*/
.postloop__cases-branding .bde-loop .bde-loop-item:first-child img {
    /* aspect-ratio: 1; */

    object-fit: cover;
    width: 100%;
}

/* == HERO == */

.cntnr-hero {
    padding-top: var(--grid__medium);
    padding-bottom: var(--grid__medium);
}

.cntnr-hero__start {
    background-color: var(--main-dark);
}

/* === TILES === */

.tile-light {
    background: radial-gradient(circle at 20% 80%,var(--brand-color-sec)-100%, var(--main-lightest)50%);
    border-radius: var(--radius-small);
    border: 1px solid var(--main-dark-subtile);
}

.tile-medium {
    background: radial-gradient(circle at 20% 80%,var(--main-lightest)-0%, var(--main-dark-subtile)200%);
    border-radius: var(--radius-small);
    border: 1px solid var(--main-dark-subtile);
}

.tile-dark {
    background: radial-gradient(circle at 20% 80%,var(--main-dark)20%, var(--main-medium)160%);
    border-radius: var(--radius-small);
}