#kunstberater  ul {
  list-style-type: none;
}

#kunstberater  li {
  display: inline-block;
}

#kunstberater .checkbox_text_content {
  transition-duration: 0.2s;
}

#kunstberater  input[type="radio"] {
  display: none;
}

/* #kunstberater input[type="checkbox"][id^="cb"] { */
#kunstberater input[type="checkbox"] { 
  display: none;
}

#kunstberater label {
  display: flex;
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#kunstberater .image_element label {
  padding:0.5em;
}

#kunstberater .image_element label:before {
  margin-bottom: 2em;
}

#kunstberater .category_box .label_text {
    font-size: 0.9em;
    padding: 0.5em;
    color: white;
    position: relative;
    bottom: 0px;
    left: 0px;
    color: #fff;
    background-color: rgb(0 0 0 / 50%);
    position: relative;
    bottom: 3.5em;
    border-radius:50px;
    font-weight:bold;
}


#kunstberater .image_element .checkbox_text_content {
    background-color: rgba(0, 0, 0, 0.25);
    transition-duration: 0.2s;
    border-radius: 50px;
    padding: 10px;
    font-size:0.9em;
    font-weight: bold;
    padding-bottom: 10px; 
    color:white;
}

#kunstberater label:before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
  
  text-align: center;
  line-height: 1.3em;
  transition-duration: 0.4s;
  transform: scale(0);
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  padding:0.5em;
}

#kunstberater .tabcontent-box .tab-content{
    width:100%;
    display: flex !important;
    align-content: center;
    align-items: center;
    max-width:unset;
    min-height: unset;
    align-items: stretch;
}

#kunstberater  .kategorie_outer_box {
    grid-template-columns: repeat(2, 2fr);
    column-gap: 1em;
    padding: 20px 50px 40px 50px;
}

#kunstberater  .sizes_outer_box {
    grid-template-columns: repeat(2, 2fr);
    column-gap: 1em;
    padding: 20px 50px 40px 50px;
}

#kunstberater .tab-content .inner_boxes{
    display:grid;
    grid-template-columns: repeat(2, 2fr);
}





/*
#kunstberater label:before {
background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 38%;
    left: 42%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 41px;
    transition-duration: 0.4s;
    transform: scale(0);
}
*/


#kunstberater .category_box{
    width: 100%;
    height: auto;
    display: inline-block;
}

#kunstberater .placeholder{
    background:none;
}


#kunstberater .category_box .placeholder:before{
    content: '';
    display: block;
    padding: 0 0 100% 0 !important;
}


#kunstberater label img {
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
  border-radius: 10px;
  transform: scale(0.9);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.11), 0 2px 2px rgba(0, 0, 0, 0.11), 0 4px 4px rgba(0, 0, 0, 0.011), 0 6px 8px rgba(0, 0, 0, 0.011), 0 8px 16px rgba(0, 0, 0, 0.011);}

#kunstberater label span {
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}


#kunstberater :checked + label {
    /* background-color: rgba(0,184,182,0.3); */
}

:root {
    --checkmark-size: 1em; /* Starte mit 30px, ändere hier für global */
}

#kunstberater :checked + label:before {
    /*color: black;
    font-size: 1.5em;
    content: "✓";
    transform: scale(1.5);
    z-index: 1;
    */
    
    content: url("data:image/svg+xml,<svg width='var(checkmark-size)' height='var(checkmark-size)' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='%234CAF50' stroke='%234CAF50' stroke-width='2'/></svg>");
    display: inline-block;
    transition: transform 0.3s ease;
    width: var(checkmark-size); /* Oder height: 30px; – passt proportional */
    height: var(checkmark-size);
    z-index: 1;
}


/* Lokale Überschreibung: Für .category_box doppelt so groß */
#kunstberater .kategorie_outer_box input[type="checkbox"]:checked + label::before ,
#kunstberater .sizes_outer_box input[type="checkbox"]:checked + label::before {
    --checkmark-size: 50px; /* Doppelt – passt sich automatisch an */
    width: var(--checkmark-size); /* Wiederholt, falls nötig */
    height: var(--checkmark-size);
    margin-bottom: 3em;
}

#kunstberater :checked + label img {
    transform: scale(1);
    z-index: 0;
    border: 3px solid #00aeac;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.09), 0 4px 2px rgba(0, 0, 0, 0.09), 0 8px 4px rgba(0, 0, 0, 0.09), 0 16px 8px rgba(0, 0, 0, 0.09), 0 32px 16px rgba(0, 0, 0, 0.09);
}

#kunstberater .tab-content {
    display:flex;
}




#kunstberater .label_text{
    position: absolute;
	width: 70%;
  	bottom: 15%;
  	left: 50%;
  	transform: translate(-50%, 0%);
}									  	

#kunstberater .element {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    transition: all 0.2s ease;
    -ms-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -o-transition: 0.2s ease;
}



:checked + label img {
  transform: scale(1);
  /* box-shadow: 0 0 0px #333; */
  z-index: -1;
  border: 3px solid #00aeac;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.09), 0 4px 2px rgba(0, 0, 0, 0.09), 0 8px 4px rgba(0, 0, 0, 0.09), 0 16px 8px rgba(0, 0, 0, 0.09), 0 32px 16px rgba(0, 0, 0, 0.09);
}


#kunstberater :checked + label span {
    transform: scale(0.85);
    /* box-shadow: 0 0 0px #333; */
    z-index: 0;
    border-radius: 50% !important;
}

:checked + label .checkbox_text_content {
  transition-duration: 0.2s;
  transform: scale(1.1);
  z-index: 0;
}

#kunstberater .kategorie_outer_box,
#kunstberater  .sizes_outer_box{
    display:grid;
    padding: 0 20px;
}


#kunstberater .tabcontent-box.open .tab-content{
    padding-top: 0px !important;
}

#kunstberater .color_element{
    padding:2em;
    border-radius: 7px !important;
}

#kunstberater :checked + label:before {
    transform: scale(1);
}

#kunstberater :checked + label:hover:before {
    transform: scale(0.9);
}

#kunstberater .color_element_outer{
    display: inline-block;
    margin: 0.5em;
}


#kunstberater .button_white{
    transition:0.3s ease;
    padding:0px !important;
    align-items: center;
}

#kunstberater .button_white label{
    transition:0.3s ease;
    margin:20px;
}


#kunstberater .button_white label:before{
    padding:none;
    font-size: 1.3rem;
    position: relative;
    line-height: 2rem;
    display:none;
    transition:0.3s ease;
}

#kunstberater .button_white :checked + label:before {
    padding:none;
    font-size: 1.3rem;
    position: relative;
    line-height: 1.3em;
    display:block;
}

#kunstberater .button_white label {
    transition:0.3s ease;
    gap: 0em;
}

#kunstberater .button_white :checked + label {
    padding-right: 1em;
    gap: 1.5em;
    font-weight:bold;
    
}

#kunstberater .button_white:has(input[type="radio"]:checked) {
    background-color: black !important;
    color: white !important;
    box-shadow: inset 0px 6px 11px -11px rgba(0, 0, 0, 0.5) !important;
}

#kunstberater .budget_buttons{
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    gap: 1em;
    justify-content: space-evenly;
    justify-items: center;
    padding:20px;
}

#kunstberater .tabcontent-box.open{
    min-height:unset;
}

@media screen and (min-width: 539px) {
    #kunstberater .budget_buttons{
        grid-template-columns: repeat(3, 2fr);
    }
}

@media screen and (min-width: 1024px) {
    #kunstberater .budget_buttons{
        display: flex;
        flex-direction: row;
    }
}


@media screen and (min-width: 740px) and (max-width: 1023px) {
    #kunstberater  .kategorie_outer_box,
    #kunstberater  .sizes_outer_box {
        grid-template-columns: repeat(4, 2fr);
        column-gap: 1em;
    }
    
    
    #kunstberater .tab-content .inner_boxes{
        display:grid;
        grid-template-columns: repeat(3, 2fr);
    }
}


@media screen and (min-width: 1024px) and (max-width: 1300px) {
    #kunstberater  .kategorie_outer_box,
    #kunstberater  .sizes_outer_box {
        grid-template-columns: repeat(4, 2fr);
        column-gap: 1em;
    }
    
    #kunstberater .tab-content .inner_boxes{
        display:grid;
        grid-template-columns: repeat(4, 2fr);
    }
    
}


@media screen and (min-width: 1301px) {
    #kunstberater  .kategorie_outer_box,
    #kunstberater  .sizes_outer_box {
        grid-template-columns: repeat(8, 2fr);
        column-gap: 1em;
    }
    
    #kunstberater  .sizes_outer_box {
        grid-template-columns: repeat(4, 2fr) !important;
    }
    
    #kunstberater .tab-content .inner_boxes{
        display:grid;
        grid-template-columns: repeat(4, 2fr);
    }
    
    
}

#flexbox_main{
    padding-top:0px;
}


